/*
Theme Name: quiz
Author URI: https://paradigma.website
Author: FCS-DEV
*/

/* body .header__whatsapp {
    display: none !important;
} */

/* new styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

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

#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: #f7931e;
    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;
}
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: #7d2a90;
}
#tab_container_1004 .wpsm_nav-tabs > li {
    font-weight: 400;
}
body #tab_container_1004 .wpsm_nav-tabs > li {
    font-weight: 400;
}

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: #f7931e !important;
    border: 1px solid #f7931e !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 #f7931e !important;
    color: #7d2a90 !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: 500;
    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: 1em;
    font-weight: 500;
    background: #f38b18;
}

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

.tarif-price .valuta {
    font-size: 0.55em !important;
    border-top: 2px solid #ffca0e;
    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: #7d2a90;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    font-size: 2em;
    align-items: center;
    margin-right: 15px;
    color:  #ffffff;
}

.tarif-name {
    padding-top: 15px;
}

.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: 400;
    white-space: nowrap;
}

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

.tarif-more {
    border-top: 1px solid rgb(254, 234, 140);
}

/*.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 #f7931e;
    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: #f7931e;
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    border-radius: 0 0 25px 25px;
    bottom: 0;
    font-weight: 100;
    font-size: 0.8em;
    padding: 5px;
    text-transform: uppercase;
    font-weight: 500;
}

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

.more-akcii {
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    max-width: calc(100% - 320px);
}

.dop-opcii, .dop-opcii .opcion-pricing {
    display: flex;
    justify-content: space-between;
    font-weight: 400;
    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: 400;
    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;
}

@media (max-width: 800px){
    .more-akcii {
        max-width: unset;
    }
    /* .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;
    } */
    
    .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;
   } */
    .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: 17px;
    line-height: 25px;
    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: 400;
}

.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 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0000007d;
    font-size: 2em;
    padding: 0;
    height: 100vh !important;
    width: 100vw !important;
    padding: 5%;
    z-index: 9;
    line-height: 2em;
    text-transform: uppercase;
    display: none;
}

.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;
    border: 1px solid #f89406;
}

.city-list .close-city-list {
    transform: translate(-25px, 55px);
    cursor: pointer;
    text-align: right;
}

.city-list .container:first-child li:first-child {
        color: #f7931e;
    }

.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}

@media (max-width: 699px) {
	.post .entry {
		flex-direction: column;
	}
	.post .postmetadata {
		font-size: 0.8em;
	}
	#quiz_content .quiz__answers--img {
	    margin-top: 0;
	}
}