/*
Theme Name: quiz
Author URI: https://paradigma.website
Author: FCS-DEV
*/
/* body .header__whatsapp {
    display: none !important;
} */

.suggestions-promo {display:none !important;}

/* menu */
nav ul li ul {
    display: none;
    position: absolute; /* Position the dropdown */
    background-color: #fff; /* Dropdown background color */
    padding: 0 10px;
    z-index: 100; /* Ensure the dropdown is above other content */
    transition: 1s;
    opacity: 0;
}

/* Reveal the sub-menu on hover over the parent item */

nav ul li:hover > ul {
    display: block; /* Show dropdown */
    box-shadow: 0 0 10px #ccc8c8;
    /* list-style: circle; */
    opacity: 1;
    transition: 1s;
}

/* Style individual dropdown items */

nav ul li ul li {
    display: block; /* Dropdown items should be block level */
    padding: 10px 2px;
    list-style: inside;
}
/* new styles */
#quiz_content .quiz__answers--img {
    align-content: center;
    justify-content: space-around;
    gap: 1.58rem;
    height: 32.5rem;
    max-height: 32.5rem;
}
#quiz_content .quiz__answer-img {
    margin-bottom: 0;
}
.quiz__answers__img img {
    display: none;
}
.footer_quiz.main__subtitle {
    margin: 50px auto 0;
}
body .main__subtitle--skew {
    transform: none;
}
body .main__subtitle {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: unset;
}
.wpcf7 p {
    color: #282828 !important;
    font-weight: 400 !important;
}
.wpcf7 input, .wpcf7 textarea {
    border: 1px solid #a9a9a9;
    padding: 10px;
    border-radius: 5px;
    margin: 5px auto 15px !important;
    width: 90%;
}
.wpcf7 textarea {
    height: 5em;
}

.main-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.main-cities h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}
.main-cities .city {
    border: 1px solid var(--accent-color);
    padding: 10px;
    aspect-ratio: 3 / 2;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 5px;
    flex-basis: 205px;
    color: #fff;
    background-color: var(--accent-color);
    text-decoration: unset;
    text-align: center;
}
.main-cities .city:hover, .main-cities .current.city {
    box-shadow: 0 0 6px -1px var(--accent-color);
    transition: .3s;
    background-color: #fff;
    color: var(--accent-color);
}
.main-cities .citi-name {
    font-weight: 600;
    font-size: 1.5em;
}

section.footer {
    display: block;
    padding: 50px 0;
    font-weight: 200;
}

body .ays-pb-modal {
    padding-top: 50px !important;
    height: fit-content !important;
}

.modal-title, .top-bar {
    color: #212221;
}
#tab_container_1004 .wpsm_nav-tabs > li {
    font-weight: 600;
    font-family: 'PTRootUIWebBold';
}
body #tab_container_1004 .wpsm_nav-tabs > li {
    font-weight: 600;
    font-family: 'PTRootUIWebBold';
}

body #tab_container_1004 .wpsm_nav-tabs > li.active > a, 
#tab_container_1004 .wpsm_nav-tabs > li.active > a:hover, 
body #tab_container_1004 .wpsm_nav-tabs > li.active > a:focus {
    color: #fff !important;
    background-color: #FA4907 !important;
    border: 1px solid #FA4907 !important;
}

body #tab_container_1004 .wpsm_nav-tabs > li > a, 
body #tab_container_1004 .wpsm_nav-tabs > li > a:hover, 
body #tab_container_1004 .wpsm_nav-tabs > li > a:active {
    border: 1px solid #FA4907 !important;
    color: #212221 !important;
}
.tarif-spec {
    display: flex;
    justify-content: space-between;
    padding: 30px 0 15px;
    width: calc(100% - 250px);
    flex-wrap: wrap;
}

.tarif-price {
    position: absolute;
    right: 230px;
    font-size: 2em;
    flex-direction: column !important;
    font-weight: 600;
    font-family: 'PTRootUIWebBold';
    top: 40%;
    margin-top: -30px;
}

.tarif-price s {
    color: #999;
    font-size: 0.6em;
    margin-top: -15px;
    position: absolute;
    margin-left: -10px;
    display: flex;
    align-items: center;
}

/* .tarif-price s:after {
    content: '';
    background-image: url(/wp-content/uploads/2023/06/discount2m.png);
    width: 50px;
    height: 25px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-left: 2px;
    margin-top: -14px;
} */

.button, button.tarif-connect {
    padding: 15px 30px;
    box-shadow: 0px 19px 49px 0 #fe585119, 0px 4px 0 0 var(--darker-color-rgb);
    /* background-image: linear-gradient(to top, var(--grad-from), var(--grad-to)); */
    border-radius: 5px;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 600;
    font-family: 'PTRootUIWebBold';
    background: #FA4907;
}

button.tarif-connect {
    position: absolute;
    right: 32px;
    margin-top: -20px;
    top: 40%;
    background: #FA4907;
}

.tarif.hit :where(button.tarif-connect, .tarif-price) {
    top: 50%;
}

.tarif-price .valuta {
    font-size: 0.55em !important;
    border-top: 2px solid #FA4907;
    font-weight: normal;
}
/*.tarif-spec>*:before {
            content: '';
            width: 50px;
            height: 50px;
            background-color: #feea8c;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 5px;
        }*/

.tarif i {
    background-color: #FA4907;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    font-size: 2em;
    align-items: center;
    margin-right: 15px;
    color:  #ffffff;
}

.tarif-spec>* {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    flex: 50%;
    margin-bottom: 15px;
}

.tarif-spec>*>div {
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
    font-weight: 600;
    font-family: 'PTRootUIWebBold';
    white-space: nowrap;
}

.tarif .label {
    font-size: 1.2em;
    opacity: 0.65;
}

.line {
    border-top: 1px solid rgb(254, 234, 140);
    width: calc(100% - 300px);
    padding-bottom: 15px;
}

.tarif.hit :where(.tarif-more-button) {
    filter: grayscale(1);
}
.tarif.hit .tarif-name {
    z-index: 9999;
    position: relative;
    color: #fff;
    margin-left: 40px;
}
.tarif.hit {
    border-color:gray
}
.tarif.hit .tarif-akcii {
    top: -1px;
}
.tarif.hit::before {
    content: url(/wp-content/themes/quiz/assets/img/hit.svg);
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: gray;
    color: rgb(255, 255, 255);
    font-size: 1.5em;
    border-radius: 28px 28px 0 0px;
    padding: 0px 30px;
    width: 100%;
    box-sizing: border-box;
    margin-top: -1px;
}

/*.tarif-more-button .arrow {
    transition: .5s;
    display: block;
    -webkit-transform: rotateX(180deg);
    margin-top: -7px;
}*/

/* .tarif-more-button .arrow.animate-down {
    -webkit-transform: rotateX(270deg);
    opacity: 0;
} */

section.container_tarifs {
    /* padding-bottom: 100px; */
    max-width: 89.375rem; margin: auto;
}
section.last_button {
    padding-bottom: 70px;
}

.tarifs_container_cat {
    display: flex;
    justify-content: center;
}

.tarif_category {
    flex: 3;
    text-align: center;
}

#tab_container_1004 .wpsm_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 30px;
}

.container_tarifs #tab_container_1004 .tab-content {
    padding-left: 0;
    padding-right: 0;
}

.tarif {
    background-color: #ffffff;
    border: 1px solid #FA4907;
    padding: 15px 30px 30px;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 30px;
    position: relative;
}

button.tarif-more-button {
    width: 100%;
    text-align: center;
    font-size: inherit;
    background-color: #FA4907;
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    border-radius: 0 0 25px 25px;
    bottom: 0;
    font-size: 0.8em;
    padding: 5px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'PTRootUIWebBold';
}

.tarif-akcii {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #FA4907;
    color: #fff;
    padding: 5px 30px;
    border-radius: 0 25px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'PTRootUIWebBold';
    font-size: 0.8em;
    text-transform: uppercase;
}

.tarif-akcii-description {
    font-size: 0.8em;
    margin-top: 0.2em;
}

.more-akcii {
    display: flex;
    flex-direction: column;
}

.dop-opcii, .dop-opcii .opcion-pricing {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-family: 'PTRootUIWebBold';
    flex-wrap: wrap;
}

.dop-opcii .dop-opcia {
    flex: 2;
    border: 1px solid #feea8c;
    padding: 15px;
    margin: 15px;
    font-size: 0.85em;
}

.dop-opcia .opcion-name {
    font-weight: 600;
    font-family: 'PTRootUIWebBold';
    font-size: 1.2em;
}

.dop-opcia .opcion-description {
    font-weight: 200;
    padding: 10px 0;
}
/* .main-banner{
    -webkit-transform: translateY(-100px);
} */

.footer_buttons {
    display: flex;
    justify-content: center;
}
#slider_1078 .owl-dots {
    display: none !important;
}

.footer_buttons>* {
    margin: 10px;
}
.main__advantages {
    justify-content: center;
}
@media (max-width: 800px){
    /* .tarif-spec {
        width: 100%;
    }
    .tarif>.tarif-spec {
        padding-bottom: 90px;
    }
    .tarif-price, .tarif-connect {
        top: 175px !important;
    }
    .tarif-price {
        left: 30px;
        right: unset;
    }
    .dop-opcii, .dop-opcii .opcion-pricing {
        flex-wrap:  wrap;
    }
    .dop-opcii .dop-opcia {
        margin: 15px 0 !important;
        flex: 100% !important;
    }
    .portfolio__title.text-center {
        padding: 0 10px;
    }
    
    #tab_container_1004 .wpsm_nav {
        padding: 30px 10px 0;
    }
    
    #tab_container_1004 .wpsm_nav-tabs > li > a {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    } */
    .line {
        width: 100%;
    }
    .container_tarifs #tab_container_1004 .wpsm_nav-tabs > li {
        margin-right: 2px !important;
        margin-left: 2px !important;
        margin-bottom: 4px !important;
    }
    
    .tarif-spec {
        width: 100%;
    }
    .tarif-price, .tarif-connect {
        position: relative !important;
        margin-top: 0;
        margin-bottom: 20px;
        left: unset !important;
        right: unset !important;
    }
   /*  .tarif-price {
       align-items: flex-start;
   } */
   .tarif-akcii-description {
       margin-top: 0;
   }
    .btn.tarif-connect {
        align-items: flex-end;
        margin: auto !important;
        display: block;
    }
    .dop-opcii, .dop-opcii .opcion-pricing {
        flex-wrap:  wrap;
    }
    .dop-opcii .dop-opcia {
        margin: 15px 0 !important;
        flex: 100% !important;
    }
    .portfolio__title.text-center {
        padding: 0 10px;
    }

    #tab_container_1004 .wpsm_nav {
        padding: 30px 10px 0;
    }

    #tab_container_1004 .wpsm_nav-tabs > li > a {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}

/* posts */
.post .entry {
    display: flex;
    flex-direction: row;
    font-size: 18px;
    line-height: 23px;
    gap: 25px;
}

.post .post_thumnbail {
    /* width: 100vw; */
    flex: 33%;
}

.post .post_thumnbail img {
    aspect-ratio: 16/9;
    object-fit: cover;
    max-width: 100%;
    height: auto !important;
    width: auto !important;
}
.post.single .post_thumnbail img {
    float: left;
    margin: 0 30px 30px 0;
}

.post .post-title {
    padding: 20px 30px;
    color: #333;
    margin: 0 -25px 25px;
    border-radius: 20px 20px 0 0;
    font-size: 1.2em;
}

.post {border-radius: 25px;border: 1px solid #f89406;padding: 0 25px 25px;margin-bottom: 25px; position: relative;font-weight: 300;padding-bottom: 50px;}

.post .postmetadata {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #7d2a90;
    color: #fff;
    padding: 5px 30px;
    border-radius: 0 22px;
    cursor: pointer;
    text-transform: uppercase;
		font-weight: 600;
}

.post .post-link {
    width: 100%;
    text-align: center;
    background-color: var(--accent-color);
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    border-radius: 0 0 25px 25px;
    bottom: 0;
    padding: 5px;
    text-transform: uppercase;
    font-weight: 400;
		font-size: 1.2em;
}

.post .post_content {
    flex: 67%;
    max-width: 100%;
}

.post_content :where(p, li) {
    padding-bottom: 1em;
}
.post_content  li {
    list-style-type: decimal;
}
.post_content  ol {
    margin: 0;
}

.post_content a {
    color: var(--accent-color);
}

.post_content a:hover {
    text-decoration: underline;
}

.post .title-line {
    border-bottom: 1px solid #f89406;
    margin: 20px 0 -20px;
}

.post.single {
    border: unset;
    padding-bottom: 0;
    margin-bottom: -30px;
}

.post.single .postmetadata {
    border-radius: unset;
		background-color: #f89406;
		font-size: .6em;
		right: auto;
		left: -20px;
		top: 10px;
}

.post.single .post-title {
    font-size: 1.3em;
    text-align: center;
    padding-top: 50px;
    text-transform: uppercase;
}
.post.single .post_thumnbail {
    position: relative;
}

/* city select */
.city-list {
    /* height: calc(100% - 7.125em); */
    /* height: calc(100% - 135px) !important; */
    height: 100%;
    text-align: center;
    align-content: center;
    justify-content: center;
    align-items: center;
    /* top: 7.125em; */
    top: 30px;
    font-size: 2em;
    overflow: auto;
}

.city-list .row {
    background-color: white;
    border-radius: 30px;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: auto !important;
    justify-content: center;
}

.hidden-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ограничиваем 2 строками */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.show-more {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
    display: inline-block;
    margin-top: 5px;
}

.show-less {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
    display: none;
    margin-top: 5px;
}
.wpcf7-acceptance {
    font-size: 0.75em;
}
.wpcf7-acceptance input[type="checkbox"] {
    width: initial;
}
.agreement a {
    color: var(--accent-color);
}
.policy .main_text {
    width: auto;
}
.ays-pb-modals {
    z-index: 9 !important;
}

.main_text :where(h1, h2, h3) {text-align: center; margin: 5px 0;}
.main_text :where(span, p) {display: inline-block; padding-bottom: 5px;}
.main_text li {list-style: disc;margin-left: 15px}
#wt-list-locations .location_child {
    line-height: 1em;
    display: inline-flex;
}

@media (max-width: 499px) {
   .tarif.hit .tarif-name {
       margin-top: -11px;
   }
   .main-cities .city {
       flex-basis: 45%;
   }
}

@media (max-width: 699px) {
	.post .entry {
		flex-direction: column;
	}
	.post .postmetadata {
		font-size: 0.8em;
	}
	.tarif.hit::before {
	    padding-bottom: 15px;
	}
	#quiz_content .quiz__answers--img {
	    margin-top: 0;
	}
	.main__info .main__subtitle {
	    margin: 50px auto 0px;
	}
}
