.jet-smart-tiles__terms-link, .jet-smart-listing__terms-link {
    background-color: #000000;
    padding: 0px 3px;
}

.jet-smart-tiles__terms-link:hover, .jet-smart-listing__terms-link:hover {
    background-color: #808080;
}

a.jet-smart-listing__terms-link, a.jet-smart-listing__terms-link:hover {
    color: #ffffff;
}


/* Post Thumbnails */
.jet-smart-listing__post-thumbnail a {
    padding-top: 75%;
}


.jet-smart-listing__post-thumbnail a img {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    object-position: center top;
    object-fit: cover;
}



.jet-smart-listing__post.has-thumb-postion- {
    display: block;
}

.jet-smart-listing__terms a {
    white-space: nowrap !important;
}

/* Fix all post at same size */
.jet-smart-listing__post {
    height: 100%;
}

/* JET TABS  */
.jet-tabs__control-wrapper {
    width: 100%;
    border: 1px solid #404040 !important;
}

.jet-tabs__control-wrapper .jet-tabs__control-inner {
    padding: 5px 10px;
}

.jet-tabs__control-wrapper .active-tab, .jet-tabs__control-wrapper .active-tab .jet-tabs__label-text {
    background: #000;
    color: #fff;
}

.jet-tabs__control-wrapper .jet-tabs-icon {
    display: none;
}



/* Breadcrumbs */
.rank-math-breadcrumb {
    max-width: 1200px;
    padding-top: 0px;
    padding-bottom: 20px;
    border-bottom: 1px solid;
}

.rank-math-breadcrumb p {
    margin-bottom: 0px;
}

.rank-math-breadcrumb .separator {
    padding: 0px 10px;
}

/* Archive */
.navigation.pagination .nav-links a.page-numbers {
    color: var( --e-global-color-text ) !important;
}

.navigation.pagination .nav-links .current {
    color: var( --e-global-color-text ) !important;
    font-weight: bold;
}


/* Text image*/
/* POST image */
img.main-thumb-text {
    max-height: unset !important;
}

@media (min-width: 768px) {


    img.main-thumb-text.left {
        width: 50%;
        margin-right: 20px;
        float: left;
    }

    img.main-thumb-text.right {
        width: 50%;
        margin-left: 20px;
        float: right;
    }

    img.main-thumb-text.center {
        width: 100%;
    }
}

/* POST CONTENT */
.elementor-widget-theme-post-content .elementor-shortcode {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}
.elementor-widget-theme-post-content .elementor-shortcode p {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 18px;
}

.elementor-widget-theme-post-content .elementor-shortcode span {
    font-weight: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
}

/* Jet ticker */
@media (max-width: 768px) {
    .jet-text-ticker__posts {
        margin-right: 10px !important;
    }
}

@media (min-width: 768px) {
    .jet-text-ticker__post-date {
        min-width: 90px !important;
    }
}


/* header MENU */
@media (min-width: 768px) {
    .header_menu .elementor-nav-menu li:first-child a {
        padding-left: 0px !important;
    }
}

.elementor-nav-menu--dropdown {
    padding: 0 30px;
    background-color: rgb(255, 255, 255, 0);
}

.elementor-nav-menu--dropdown ul {
    border: 1px solid #C4C4C4;
    border-top: 2px solid var( --e-global-color-text );
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 20%);
}

/* archive two columns */
.archive_two .has-post-thumb .jet-smart-listing__terms a {
    margin-top: 10px !important;
}

@media (min-width: 768px) {
    .archive_two .has-post-thumb .jet-smart-listing__terms a {
        margin: 10px 0px 0px 10px;
    }

    .archive_two .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(2n+1) div.jet-smart-listing__post {
        padding-left: 0px;
    }

    .archive_two .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(2n+1) .has-post-thumb .jet-smart-listing__terms a {
        margin-left: 0px;
    }

    .archive_two .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(1) .has-post-thumb .jet-smart-listing__terms a,
    .archive_two .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(2) .has-post-thumb .jet-smart-listing__terms a {
        margin-top: 0px;
    }

    .archive_two .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-last-child(1) div.jet-smart-listing__post,
    .archive_two .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-last-child(2) div.jet-smart-listing__post {
        border-bottom: 0px;
    }

    .archive_two .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(1) div.jet-smart-listing__post,
    .archive_two .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(2) div.jet-smart-listing__post {
        padding-top: 0px;
    }

    .archive_two .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(2n+2) div.jet-smart-listing__post {
        border-right: 0px;
        padding-right: 0px;
    }
}

/* Archive news */
.news_archive .elementor-post {
    border-bottom: 1px dotted var( --e-global-color-886b6fe );
    padding: 10px 0px;
}

.news_archive .elementor-post:first-child {
    padding-top: 0px;
}

.news_archive .elementor-post:last-child {
    border-bottom: 0px;
}

.news_archive .elementor-post .elementor-post__meta-data span.elementor-post-avatar {
    padding-left: 15px;
}

.news_archive .elementor-post .elementor-post__read-more {
    text-align: right;
    display: block;
}


/* MAIN blocks */
.main_news_block .elementor-widget-container, .main_top_block .elementor-widget-container {
    border-top: 2px solid var( --e-global-color-text ) !important;
}


.main_first_block .jet-smart-listing__posts .jet-smart-listing__post-wrapper:last-child div.jet-smart-listing__post,
.main_news_block .jet-smart-listing__posts .jet-smart-listing__post-wrapper:last-child div.jet-smart-listing__post {
    border-bottom: 0px;
}

.main_second_block .jet-smart-listing__posts .jet-smart-listing__post-wrapper:last-child div.jet-smart-listing__post,
.main_forth_block .jet-smart-listing__posts .jet-smart-listing__post-wrapper:last-child div.jet-smart-listing__post,
.main_art_block .jet-smart-listing__posts .jet-smart-listing__post-wrapper:last-child div.jet-smart-listing__post
{
    border-right: 0px;
}

.main_third_block .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(3n+3) div.jet-smart-listing__post {
    border-right: 0px;
    padding-right: 0px;
    margin-right: 10px;
}

.main_third_block .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(3n+1) div.jet-smart-listing__post {
    padding-left: 0px;
    margin-left: 10px;
}

.main_third_block .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(3n+1) div.jet-smart-listing__post {
    padding-left: 0px;
    margin-left: 10px;
}

.main_third_block .jet-smart-listing__posts .jet-smart-listing__post-wrapper:nth-child(n+4) div.jet-smart-listing__post {
    border-bottom: 0px;
}

.main_top_block h5 {
    font: 18px "Open Sans";
    font-weight: 900;
    margin-top: 0px;
    margin-bottom: 13px;
}

.main_top_block .cherry-trend-post h5, .main_top_block .cherry-trend-post .cherry-trend-post__header {
    font-size: 16px;
    margin-bottom: 0px;
}

.main_top_block .cherry-trend-post {
    padding: 10px 0px;
    border-style: dotted;
    border-width: 0px 0px 1px 0px;
    border-color: var( --e-global-color-886b6fe );
}

.main_top_block .cherry-trend-post:last-child {
    border-width: 0px;
}

.main_top_block .cherry-trend-post p {
    margin-bottom: 0px;
}

.main_top_block .cherry-trend-post .cherry-trend-post__content {
    margin-bottom: 0px;
}

/* Widget POSTS fix_images */
.posts_fix_images .jet-posts .post-thumbnail {
    position: relative;
    padding-top: 80%;
}

.posts_fix_images .jet-posts .post-thumbnail img {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    object-position: center top;
    object-fit: cover;
}

/* Comments */
.nav-links {
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav-links a {
        font-size: 13px;
        font-weight: 500;
    }
}

.nav-links .nav-previous {
    /*width: 50%;*/
}

.nav-links .nav-next {
    /*width: 50%;*/
    text-align: right;
}

.comment-meta .comment-author b, .comment-meta .comment-metadata time  {
    font-weight: 500;
}
.comment-body .comment-content {
    word-break: break-word;
    font-size: 15px;
}

.comment-body .reply {
    padding-top: 5px;
    font-size: 12px !important;
}

.comment-body .comment-content p {
    margin-bottom: 10px;
}

article.comment-body {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}


.comment-body .reply a {
    font-weight: 500;
}

#comments ol.comment-list .children:before {
    font-size: 2em;
    top: 35px;
}

.comment-list li:first-child article {
    border-top: 1px dotted var( --e-global-color-886b6fe );
}
#comments .comment .comment-body, #comments .pingback .comment-body {
    border-bottom: 1px dotted var( --e-global-color-886b6fe );
}


/*section.comments-area h3 {*/
    /*margin: 8px 0px;*/
/*}*/

section.comments-area .nav-links {
    margin: 8px 0px;
}

.comment-author.vcard {
    font-size: 14px;
}


/* TEXT social shares */
@media (max-width: 768px) {
    .social_shares .elementor-grid .elementor-grid-item {
        width: 30%;
    }
}

/* POST author */
.post_author {
    font-weight: bold;
}

@media (max-width: 768px) {
    .post_author .elementor-shortcode {
        text-align: right;
    }
}


/* Комментарии форма */
.comment-form p {
    margin-bottom: 16px;
}

.comment-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.comment-form > * {
    width: 100%;
}

.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url, .comment-form-cookies-consent {
    position: relative;
    margin: 0 0 10px 0 !important;
}

.comment-respond .comment-form .comment-form-email,
.comment-respond .comment-form .comment-form-url,
.comment-form-cookies-consent {
    display: none;
}

@media (min-width: 1024px) {
    .comment-form-author, .comment-form-email {
        /*width: 50%;*/
        padding: 0px;
        margin: 0px;
    }

    /*.comment-form-email {*/
        /*padding-left: 15px;*/
    /*}*/
}



.comment-respond .form-submit input.submit {
    border: 0px;
    font-size: 16px;
    padding: 8px 16px;
}

.wp-social-login-widget, .comment-respond .wp-social-login-widget, .comment-form .wp-social-login-widget + .comment-notes {
    text-align: center;
}


.wp-social-login-widget .wp-social-login-connect-with, .comment-respond .wp-social-login-connect-with {
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: normal;
}

.wp-social-login-widget .wp-social-login-provider-list, .comment-respond .wp-social-login-provider-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0;
    margin-left: -10px;
    margin-right: -10px;
}


.wp-social-login-widget .wp-social-login-provider, .comment-respond .wp-social-login-provider {
    position: relative;
    display: inline-block;
    padding: 8px 15px;
    margin: 0 10px 10px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
    border-radius: 0px;
    color: #ffffff;
    background-color: #000000;
    min-width: 130px;
}

.wp-social-login-widget .wp-social-login-provider-list a, .comment-respond .wp-social-login-widget .wp-social-login-provider-list a {
    background-color: #000000;
}

.wp-social-login-widget .wp-social-login-provider-list a:hover, .comment-respond .wp-social-login-widget .wp-social-login-provider-list a:hover {
    background-color: #808080;
    color: #ffffff;
}

.wp-social-login-widget .wp-social-login-provider:before, .comment-respond .wp-social-login-provider:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wp-social-login-widget .wp-social-login-provider:before, .comment-respond .wp-social-login-provider:before {
    position: relative;
    z-index: 2;
    width: 36px;
    margin-left: -15px;
    margin-right: 10px;
    font-size: 16px;
    line-height: 21px;
    vertical-align: middle;
}

.wp-social-login-widget .wp-social-login-provider-facebook:before, .comment-respond .wp-social-login-provider-facebook:before {
    content: '\f09a';
}

.wp-social-login-widget .wp-social-login-provider-google:before, .comment-respond .wp-social-login-provider-google:before {
    content: '\f1a0';
}

.wp-social-login-widget .wp-social-login-provider:after, .ccomment-respond .wp-social-login-provider:after {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 36px;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.1);*/
    /*border-top-left-radius: 3px;*/
    /*border-bottom-left-radius: 3px;*/
}

.wp-social-login-widget .wp-social-login-provider-facebook:after, .comment-respond .wp-social-login-provider-facebook:after {
    content: '';
}

/* POST FORM */
.post_form button, .post_form input[type="button"] {
    background-color: rgb(240, 240, 241);
}

.post_form input[type="file"] {
    border: 0px !important;
    padding: 0px !important;
}

.post_form input.button {
    color: #2271b1;
}

.post_form .wp-switch-editor {
    color: #646970;
}

.post_form div.line {
    display: flex;
    margin: 10px 0px;
}

.post_form div.line.submit {
    text-align: right;
    display: block;
}

.post_form div.line span.title {
    width: 150px;
    text-align:right;
    padding-right: 10px;
    vertical-align: middle;
}

.post_form div.line span.value {
    width: 100%;
}

.post_form input[type="submit"] {
    border: 0px;
    font-size: 16px;
    padding: 8px 32px;

}

.post_form div.line.message, .post_form div.line.error {
    display: block;
    text-align:center;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 15px;
}

.post_form div.line.message a {
    font-weight: bold;
}


/* POPUP auth */
.popup-type-signup .cherry-popup-register__sign-up, .popup-type-login .cherry-popup-login__login-in {
    background-color: #000000;
    border-radius: unset;
}

.popup-type-signup .cherry-popup-register__sign-up:hover, .popup-type-login .cherry-popup-login__login-in:hover {
    background-color: #808080;
}

.cherry-popup-wrapper .cherry-popup-check .marker {
    border: 1px solid #808080;
    background: #ffffff;
    border-radius: unset;
}

.cherry-popup-wrapper .cherry-popup-check.checked .marker {
    background-color: #808080;
}

.cherry-popup-wrapper input[type='text'], .cherry-popup-wrapper input[type='email'], .cherry-popup-wrapper input[type='url'], .cherry-popup-wrapper input[type='password'], .cherry-popup-wrapper input[type='search'], .cherry-popup-wrapper input[type='number'], .cherry-popup-wrapper input[type='tel'], .cherry-popup-wrapper input[type='range'], .cherry-popup-wrapper input[type='date'], .cherry-popup-wrapper input[type='month'], .cherry-popup-wrapper input[type='week'], .cherry-popup-wrapper input[type='time'], .cherry-popup-wrapper input[type='datetime'], .cherry-popup-wrapper input[type='datetime-local'], .cherry-popup-wrapper input[type='color'] {
    padding: 10px 20px;
    background-color: white;
    border-color: #808080;
    border-radius: unset;
    color: #000000;
}

.cherry-popup-wrapper .cherry-popup-title h4 {
    color: #000000;
    font-weight: bold;
}

.popup-type-login .cherry-popup-login .cherry-popup-login__signup-message, .popup-type-signup .cherry-popup-register .cherry-popup-signup__login-user {
    display: block;
    text-align: center;
}

.popup-type-login .cherry-popup-login .cherry-popup-login__signup-message a, .popup-type-signup .cherry-popup-register .cherry-popup-signup__login-user a {
    font-weight: bold;
}

.add_post_button .elementor-size-lg {
    font-size: 15px;
    font-weight: bold;
    padding: 10px 20px;
}

/* Old version banner */
.old_version_banner {
    text-align: right;
}

@media (max-width: 767px) {
    .old_version_banner {
        text-align: center;
    }
}

/* No border on third right bottom line */
/*
@media (max-width: 767px) {
    .jet-smart-listing-wrap_custom_border_footer .columns-3.rows-1.no-featured {
        border: none !important; } }

@media (max-width: 767px) {
    .jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-3.rows-2.no-featured .jet-smart-listing__post {
        border: none !important; } }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-3.rows-2.no-featured .jet-smart-listing__post:nth-child(3n+1) {
    border-left: none; }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-3.rows-2.no-featured .jet-smart-listing__post:nth-child(3n+3) {
    border-right: none; }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-3.rows-2.no-featured .jet-smart-listing__post:nth-child(3n+4), .jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-3.rows-2.no-featured .jet-smart-listing__post:nth-child(3n+5), .jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-3.rows-2.no-featured .jet-smart-listing__post:nth-child(3n+6) {
    border-bottom: none; }

@media (max-width: 767px) {
    .jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-4.rows-1.no-featured .jet-smart-listing__post {
        border: none !important; } }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-4.rows-1.no-featured .jet-smart-listing__post:nth-child(4n+1) {
    border-left: none; }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-4.rows-1.no-featured .jet-smart-listing__post:nth-child(4n+4) {
    border-right: none; }

@media (max-width: 767px) {
    .jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-1.rows-3.has-featured-position-left .jet-smart-listing__post {
        border: none !important; } }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-1.rows-3.has-featured-position-left .jet-smart-listing__post:nth-child(3n+1) {
    border-top: none; }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-1.rows-3.has-featured-position-left .jet-smart-listing__post:nth-child(3n+3) {
    border-bottom: none; }

@media (max-width: 767px) {
    .jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-4.rows-1.has-featured-position-top .jet-smart-listing__post {
        border: none !important; } }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-4.rows-1.has-featured-position-top .jet-smart-listing__post:nth-child(4n+4) {
    border-right: none; }

@media (max-width: 767px) {
    .jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-1.rows-3.no-featured .jet-smart-listing__post {
        border: none !important; } }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-1.rows-3.no-featured .jet-smart-listing__post:last-child {
    border-bottom: none; }

@media (max-width: 767px) {
    .jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-3.rows-1.no-featured .jet-smart-listing__post {
        border: none !important; } }

.jet-smart-listing-wrap_custom_border .jet-smart-listing-wrap .columns-3.rows-1.no-featured .jet-smart-listing__post:last-child {
    border-right: none; }

.jet-smart-listing-wrap_custom_border .jet-posts__item.col-desk-5:last-child .jet-posts__inner-box {
    border-right: none; }
@media (max-width: 767px) {
    .jet-smart-listing-wrap_custom_border .jet-posts__item.col-desk-5:last-child .jet-posts__inner-box {
        border: none !important; } }

*/


/* FORUM */
/*.forum {*/
    /*background: red;*/
/*}*/
.forum .message {
    /*display: flex;*/
    padding-top: 20px;
}

.forum .message .mes_title {
    /*width: 60%;*/
    font-weight: 900;
    font-size: 18px;
}

.forum .message .mes_title .mes_desc {
    font-weight: 400;
    font-size: 14px;
    padding: 5px 0px;
}

.forum .message .mes_title .mes_meta {
    display: flex;
    font-weight: 500;
    font-size: 15px;
}

.forum .message .mes_title .mes_meta .mes_date {
    font-weight: 400;
    padding-right: 20px;
}

.forum .message .ans_title {
    padding: 20px 20px 20px 60px;
    /*width: 40%;*/
}

.forum .message .ans_title .ans_meta {
    padding-top: 5px;
    display: flex;
    font-weight: 500;
    font-size: 15px;
}

.forum .message .ans_title .ans_count {
    padding-top: 10px;
}

.forum .message .ans_title .ans_meta .ans_date {
    font-weight: 400;
    padding-right: 20px;
}

.forum .message .ans_title {
    font-weight: 400;
    font-size: 14px;
}

.forum_pagination {
    text-align: center;
}

.forum_pagination .nav-links {
    display: block;
}


.forum_pagination .nav-links, .forum_pagination .nav-links a {

    font-size: 16px;
}

.forum_pagination .nav-links .page-numbers {
    padding: 10px;
}

.comment-respond .comment-form  .wp-social-login-widget,
.comment-respond .comment-form  .comment-notes #email-notes {
    display: none !important;
}

/*.comment-respond .comment-form  .comment-notes #email-notes {*/


/*}*/

@media (min-width: 768px) {
    .forum .message {
        display: flex;
        padding-bottom: 20px;
    }
    .forum .message .mes_title {
        width: 50%;
        padding-right: 10px;
    }

    .forum .message .ans_title {
        width: 50%;
        padding: 0px;
        padding-left: 10px;
    }

    /*.old_version_banner {*/
        /*text-align: center;*/
    /*}*/
}

.elementor-widget-theme-post-content .elementor-shortcode a {
	color: #2222aa !important;
	text-decoration: underline !important;
}

.elementor-widget-theme-post-content .elementor-shortcode a:hover {
	color: #2222aa !important;
	text-decoration: none !important;
}