/*general*/
a, p, input {
    font-family: 'Assistant', 'Rubik', 'sans-serif';
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Almoni Tzar', 'Assistant', 'sans-serif';
}

#main {
    margin-bottom: 200px;
    padding-top: 30px;
}

@media (min-width: 1260px) {
    .blog .container {
        max-width: 1230px;
    }
}

/*end of general*/

/*header*/
#headerNew {
    border: none;
}
#headerNew .page_details {
    margin-bottom: 0;
}
.header-wrapper {
    border-bottom: 1px solid #000;
}
.header-wrapper .navbar {
    margin-bottom: 12px;
    margin-top: 8px;
}
#navbarSupportedContent > .navbar-nav .nav-item:hover .dropdown-menu {
    display: block;
    right: 0;
    left: auto;
    text-align: right;
}
#navbarSupportedContent > .navbar-nav .nav-item:hover .dropdown-menu:before {
    content: "";
    display: block;
    width: 100%;
    height: 30px;
    position: absolute;
    top: -20px;
}
.navbar-light .navbar-nav .nav-item .nav-link {
    position: relative;
}
.navbar-light .navbar-nav .nav-item:hover  .nav-link{
    color: #000;
}
.navbar-light .navbar-nav > .nav-item:last-child > .nav-link {
    border: 1px solid #000;
    border-radius: 15px;
    padding: 3px 14px;
    margin-right: 18px;
    margin-top: 2px;
}
.navbar-light .navbar-nav > .nav-item >.nav-link:after {
    content: "";
    display: none;
    width: 100%;
    height: 4px;
    background: #000;
    position: absolute;
    bottom: 0;
    right: 0;
}
.navbar-light .navbar-nav > .nav-item:hover  > .nav-link:after {
    display: block;
}
.navbar-light .navbar-nav > .nav-item:last-child:hover  > .nav-link:after {
    display: none;
}
.navbar-light .navbar-nav > .nav-item:last-child:hover > .nav-link {
    color: #4643e4;
    border-color: #4643e4;
}
.navbar-expand-lg .navbar-nav .dropdown-menu .nav-item:hover a {
    color: #4643e4;
}
#header .page_details {
    margin-bottom: 0;
}
@media (min-width: 1260px) {
    #header .container {
        max-width: 1230px;
    }
}

@media (max-width: 992px) {
    #navbarSupportedContent {
        height: auto;
        padding-bottom: 20px;
        border-bottom: 1px solid #929cb1;
    }

    #header .logo {
        height: 38px;
    }
    #navbarSupportedContent {
        display: none;
    }
    #navbarSupportedContent.show {
        display: block;
        border: none;
        top: 50px;
    }
    #navbarSupportedContent > .navbar-nav .nav-item:hover .dropdown-menu{
        display: none;
    }
    #navbarSupportedContent > .navbar-nav .nav-item:hover .dropdown-menu.show {
        display: block;
    }
    .menu-list {
        position: relative;
    }
    .menu-list + .menu-list {
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    #header .page_details .main-title {
        text-align: left;
    }
}

/*end of header*/


/*page_details*/
.page_details {
    margin-bottom: 25px;
}

.page_details .main-title {
    text-align: center;
    font-size: 20px;
    line-height: 42px;
    color: #4543e4;
}

.top_tags .title-wrapper .title {
    text-align: center;
}

.top_tags .tags_wrapper {
    text-align: center;
    overflow: hidden;
}

.tags_wrapper .tag_item {
    display: inline-block;
    border-radius: 3px;
    border: solid 1px #929cb1;
    background-color: #ffffff;
    font-size: 14px;
    line-height: 1;
    padding: 5px 15px;
    color: #000;
    margin-left: 1px;
    margin-bottom: 8px;
}
.tags_wrapper .tag_item:hover {
    color: #4643e4;
    border-color: #4643e4;
}
/*end of page_details*/

/*top-articles*/
.top-articles {
    margin-bottom: 30px;
}
.owl-carousel .article_item {
    margin: 1px;
}
.article_item {
    max-width: 3901px;
    margin: 0 auto;
    text-align: center;
}

.article_item a {
    color: #000;
}

.article_item .image-wrapper {
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.article_item .image-wrapper img {
    width: 100%;
    height: 100%;
}

.article_item:hover .image-wrapper img {
    transform: scale(1.2);
    transition: transform 1.5s;
}

.article_item .category-wrapper {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 5px;
}

.article_item .category-wrapper:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #929cb1;
    position: absolute;
    top: 17px;
}

.article_item .related-category {
    display: inline-block;
    position: relative;
    color: #929cb1;
    font-size: 14px;
    text-align: center;
    padding: 0 10px;
    background: #fff;
}

.article_item .post_title {
    font-size: 24px;
    line-height: 22px;
    padding: 0 15px;
    height: 44px;
    margin-bottom: 4px;
    overflow: hidden;
}

.article_item:hover .post_title {
    text-decoration: underline;
    color: #4643e4;
}

.article_item .post_date {
    display: block;
    font-size: 12px;
}

/*end of top-articles*/


/*posts_list*/
.posts_list {
    max-width: 795px;
}

.posts_list .article_item {
    margin-bottom: 28px;
}

.article_item.big_post {
    max-width: 100%;
    margin-bottom: 28px;
}

.article_item.big_post .image-wrapper {
    height: 340px;
}

.article_item.big_post .category-wrapper:before {
    display: none;
}

.article_item.big_post .category-wrapper {
    text-align: right;
    padding-top: 11px;
}

.article_item.big_post .related-category {
    padding: 0;
}

.article_item.big_post .post_title {
    font-size: 40px;
    line-height: 40px;
    text-align: right;
    padding: 0;
    margin-top: 0;
    margin-bottom: 7px;
    height: auto;
}

.article_item.big_post .post_date {
    text-align: right;
}

.pagination .page-numbers {
    display: block;
    width: 100%;
    padding: 0;
    text-align: center;
    list-style: none;
}

.pagination .page-numbers li {
    display: inline-block;
    vertical-align: top;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    border: solid 1px transparent;
}

.pagination .page-numbers.current {
    border-color: #707070;
    background-color: #1a1a1a;
}

.pagination .page-numbers li a, .pagination .page-numbers li span {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 43px;
    color: #090909;
    font-size: 16px;
    font-weight: 500;
}

.pagination .page-numbers li span.current {
    color: #fff;
}

.pagination .page-numbers li a.next, .pagination .page-numbers li a.prev {
    font-size: 0;
    background: url('../img/left-arrow.svg') no-repeat right center;
}

.pagination .page-numbers li a.prev {
    transform: rotate(180deg);
}
@media (max-width: 767px) {
    .article_item.big_post .image-wrapper, .article_item .image-wrapper {
        height: auto;
    }
    .pagination {
        margin-bottom: 30px;
    }
}
/*end of posts_list*/

/*side-bar*/
.side-bar {
    max-width: 321px;
    margin-right: auto;
}

.side-bar-title {
    font-size: 20px;
    line-height: 30px;
}

/*end of side-bar*/

/*search_in_blog*/
.search_in_blog {
    margin-bottom: 19px;
}

.blog_search_form {
    position: relative;
}

.search_in_blog .blog_search_form button {
    position: absolute;
    left: 0;
    border: 0;
    background: none;
    padding: 8px 12px;
    height: 50px;
}

.search_in_blog .blog_search_form button img {
    max-width: 20px;
}

.blog_search_form #search {
    color: #929cb1;
    font-size: 16px;
    font-family: 'Assistant', 'Rubik', 'sans-serif';
    border-color: #3d3d3d;
    height: 50px;
}

.blog_search_form #search::placeholder {
    color: #929cb1;
}

/*end of search_in_blog*/


/*blog_categories*/
.blog_categories {
    margin-bottom: 39px;
}

.blog_categories .categories_title {
    margin-bottom: 2px;
}

.categories-list {
    padding-right: 0;
    max-height: 222px;
    overflow: hidden;
    transition: max-height 1s ease;
}
.categories-list.open {
    max-height: 1000px;
}
.categories-list li {
    display: block;
    width: 100%;
}

.categories-list li a {
    display: block;
    color: #000;
    overflow: hidden;
    line-height: 36px;
    font-size: 14px;
    padding-right: 11px;
    padding-left: 16px;
}

.categories-list li a:hover {
    background: #000;
    color: #fff;
}

.categories-list li span {
    display: inline-block;
    float: right;
}

.categories-list li span.num_of_posts {
    float: left;
}
.all_categories {
    display: block;
    color: #4543e4;
    overflow: hidden;
    line-height: 36px;
    font-size: 14px;
    font-weight: bold;
    font-family: assistant,rubik,'sans-serif';
    padding-right: 11px;
    padding-left: 16px;
    cursor: pointer;
}
/*end of blog_categories*/


/*promoted_article*/
.promoted_article {
    margin-bottom: 27px;
}

.promoted_article .article_item {
    background-size: cover;
    height: 320px;
    overflow: hidden;
    position: relative;
    color: #fff;
}

.promoted_article .article_item:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.75;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}

.promoted_article .article_item .item_wrapper {
    position: relative;
    z-index: 1;
}

.promoted_article .article_item .related-category {
    background: none;
    width: 50%;
}

.promoted_article .article_item .category-wrapper:before, .promoted_article .article_item .category-wrapper:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    position: static;
    width: 19%;
    height: 1px;
    background: #929cb1;
}

.promoted_article .article_item .post_title {
    color: #fff;
    font-size: 35px;
    line-height: 30px;
    max-height: 123px;
    height: auto;
}

.promoted_article .article_item:hover .post_title {
    text-decoration: none;
}

.promoted_article .article_item .post_date {
    margin-bottom: 60px;
}

.promoted_article .article_item .read-more {
    color: #fff;
}

.promoted_article .article_item .read-more:hover {
    text-decoration: underline;
}

/*end of promoted_article*/

/*blog_newsletter*/
.blog_newsletter {
    border-radius: 3px;
    border: solid 2px #3d3d3d;
    background-color: #ffffff;
    padding: 9px 20px 22px;
    margin-bottom: 24px;
}

.blog_newsletter .side-bar-title {
    margin-top: 0;
    margin-bottom: 5px;
}

.blog_newsletter .form_wrapper .wpcf7-form {
    position: relative;
}

.blog_newsletter .form_wrapper .your-email {
    overflow: hidden;
}

.blog_newsletter .form_wrapper .your-email input {
    display: block;
    height: 40px;
    border: solid 1px #929cb1;
    border-radius: 0;
    color: #929cb1;
    direction: rtl;
}

.blog_newsletter .form_wrapper .submit-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
}

.blog_newsletter .form_wrapper .submit-button input {
    display: block;
    border: none;
    font-size: 0;
    width: 100%;
    height: 100%;
    background: url('../img/nl-btn.svg') no-repeat center #4543e4;
    padding: 0;
}

/*end of blog_newsletter*/

/*facebook-element*/
.facebook-element {
    margin-bottom: 38px;
}

/*end of facebook-element*/


/*popular_tags*/
.popular_tags .side-bar-title {
    font-size: 16px;
    margin-bottom: 0;
}

.popular_tags a.tag_item {
    margin-bottom: 5px;
}

/*end of popular_tags*/


/*footer*/
@media (min-width: 1260px) {
    footer .container {
        max-width: 1230px;
    }
}

/*end of footer*/


/*blog-search-results*/
.search-query {
    margin-bottom: 50px;
}

.search-results .posts_list {
    margin-bottom: 100px;
    max-width: 100%;
}

/*end of blog-search-results*/


/* -----------------------------------------------------------------------------------

Blog Post Page
___________

----------------------------------------------------------------------------------- */
#main.blog-post {
    padding-top: 95px;
    margin-bottom: 100px;
}
.blog-post .breadcrumbs span, .blog-post #breadcrumbs li a {
    font-size: 14px;
}
.blog-post .side-bar {
    padding-top: 12px;
}
.blog-post .page_details {
    margin-bottom: 8px;
}
.blog-post .page_details .main-title {
    font-size: 40px;
    text-align: right;
    color: #000000;
}
.blog-post .page-title .post_date {
    font-size: 12px;
    font-weight: 500;
}
.blog-post .simple-content-block p, .blog-post .simple-content-block li, .blog-post p, .blog-post li {
    font-size:  18px;
    line-height: 26px;
}
.blog-post .related_articles .page-title-big {
    font-size: 40px;
    font-weight: 600;
}
.blog-post .related_articles .article_carousel {
    margin: 0 5px;
}
.articles-details {
    display: flex;
    align-items: center;
}
.details_content .author_profile_image {
    display: inline-flex;
    align-items: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin-left: 10px;
}
.details_content .more_details {
    display: inline-flex;
    flex-flow: column;
    overflow: hidden;
}
.author_details {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.author_details .name {
    display: inline-flex;
    align-items: center;
    color: #12171F;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-decoration-line: underline;
}
.author_details .name:hover {
    color: #4543ff;
}

.author_details .name:after {
    content: "";
    display: inline-flex;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background: #12171F;
    margin: 0 4px;
}
.author_details .desc {
    color: #828EA4;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}
@media (max-width: 992px){
    .share_icons {
        margin-top: 0;
        margin-bottom: 7px;
    }
    .author_details {
        flex-flow: column;
        text-align: right;
        align-items: start;
    }
    .author_details  .review_date {
        width: 100%;
        margin-bottom: 5px;
    }
    .author_details .name:after {
        display: none;
    }
}


/* -----------------------------------------------------------------------------------

Blog Tag Page
___________

----------------------------------------------------------------------------------- */
.blog_tag_page .main-title {
    font-size: 40px;
    color: #000;
    text-align: right;
    margin-top: 10px;
}
.blog_tag_page #breadcrumbs li a, .blog_tag_page #breadcrumbs li a span, .blog_tag_page #breadcrumbs li span {
    font-size: 14px;
}
