.text-content {
    max-width: 100%;
    line-height: 1.65;
}
.text-content > *:first-child {
    margin-top: 0;
}
.text-content > *:last-child {
    margin-bottom: 0;
}
.text-content h1, .text-content h2, .text-content h3, .text-content h4, .text-content h5, .text-content h6 {
    margin-bottom: 0.7em;
    font-weight: 400;
    line-height: 1.2;
}
.text-content h1, h1 {
    font-size: 6rem;
    line-height: 1.1;
    font-weight: 400;
    font-family: var(--font2);
}
h2 {
    font-family: var(--font2);
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.06rem;
    line-height: 1;
    margin-bottom: .5em;
}
.text-content h2 {
    font-family: var(--font2);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.06rem;
    line-height: 1;
    margin-bottom: .5em;
}
.text-content h3, h3 {
    font-size: 2em;
    font-weight: 600;    
}
.text-content h4, h4 {
    font-size: 1.5em;
    font-weight: 500;
}
.text-content h5, h5 {
    font-size: 1.3em;
}
.text-content h6, h6 {
    font-size: 1.1em;
}
/*.text-content h2, .text-content h3, .text-content h4 {
    margin-top: 1em;
}
.text-content h2:not(:first-child), .text-content h3:not(:first-child), .text-content h4:not(:first-child) {
    margin-top: 1.3em;
}*/
.text-content hr {
    display: block;
    height: 2px;
    margin: 1.5rem 0;
    border: none;
    background: var(--clr-gray);
}
.text-content p, .text-content > ul, .text-content > ol, .text-content q, .text-content blockquote, .text-content table, .text-content img, .text-content iframe {
    margin-bottom: 1.2rem;
}
.text-content p img, .text-content p iframe {
    margin-bottom: 0 !important;
}
.text-content ol, .text-content ul {
    margin-left: 1.5rem;
}
.text-content ul ul, .text-content ul ol, .text-content ol ul, .text-content ol ol {
    margin-top: 0.8em;
}
.text-content ul {
    list-style: disc;
    margin-bottom: 1.2rem;
}
.text-content ul ul {
    list-style-type: circle;
}
.text-content ol {
    list-style-type: decimal;
}
.text-content li {
    margin-bottom: 0.8rem;
}
.text-content li::marker {
    color: var(--clr-accent);
}
.text-content li + li {
    margin-top: 0.2em;
}
.text-content blockquote {
    position: relative;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    padding: 1em 0 1em 2em;
    border-left: solid 3px var(--clr-accent);
    font-style: italic;
}
.text-content blockquote > *:last-child {
    margin-bottom: 0 !important;
}
.text-content table {
    width: 100% !important;
    border-radius: var(--border-radius);
    overflow: hidden;
    border-spacing: 0;
    border-collapse: collapse;
}
.text-content table.price td:last-child {
    white-space: nowrap;
}
.text-content td, .text-content th {
    width: auto !important;
    height: auto !important;
    padding: 0.8em 1.2em;
    border: 0 !important;
    vertical-align: top;
}
.text-content th {
    color: #fff;
    font-weight: 600;
    background: var(--clr-accent);
}
.text-content tr {
    height: auto !important;
    transition: background-color 0.3s;
}
.text-content tr:nth-child(2n+1) {
    background: #fafafa;
}
.text-content tr:nth-child(2n+2):hover {
    background: #f7f7f7;
}
.text-content tr:nth-child(2n+3):hover {
    background: #f7f7f7;
}
.text-content img, .text-content iframe {
    max-width: 100%;
}
.text-content .fl {
    float: left;
    margin-right: 2rem;
}
.text-content .fr {
    float: right;
    margin-left: 2rem;
}
.text-content a {
    color: var(--cl2);
    transition: filter 0.3s;
}
.text-content a:hover {
    color: var(--cl1);
    filter: brightness(var(--hover-brightness));
}
.text-content a:active {
    filter: brightness(var(--active-brightness));
}
.modal {
    display: none;
    width: 30rem;
    max-width: 98%;
    padding: 2rem;
    border-radius: var(--border-radius);
    cursor: default !important;
    background: #fff;
}
.modal__title {
    font-size: 2rem;
    margin: 0 0 0.8rem;
}
.agree {
    font-size: 0.63rem;
    margin: 0.8rem 0 0;
}
.form {
    position: relative;
}
.form.success .form__content {
    opacity: 0;
    visibility: hidden;
}
.form__content {
    position: relative;
    transition: opacity 0.3s;
}
.form__success {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    width: 100% !important;
    height: 100% !important;
}
#popup-thanks {
    display: none;
}
.success {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    grid-gap: 1.25em;
    border-radius: 1rem;
}
.success_horizontal {
    flex-direction: row;
    text-align: left;
}
.success_horizontal .checkmark {
    width: 5em;
    height: 5em;
}
.success__title {
    margin-bottom: 0.2em;
    font-weight: 700;
    font-size: 1.4em;
}
.success__description {
    font-size: 0.9em;
}
.checkmark {
    display: block;
    width: 6em;
    height: 6em;
    border-radius: 50%;
    animation: checkmark_fill 0.4s ease-in-out 0.4s forwards, checkmark_scale 0.3s ease-in-out 0.9s both;
    stroke-width: 3;
    stroke: #fff;
    stroke-miterlimit: 10;
}
.checkmark__circle {
    animation: checkmark_stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--clr-accent);
    fill: none;
}
.checkmark__check {
    animation: checkmark_stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}
.selector {
    display: block;
    position: relative;
    z-index: 1;
}
.selector select {
    display: none;
}
.selector_mobile select {
    display: block !important;
    opacity: 0 !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1;
}
.selector_mobile .selector__list {
    display: none !important;
}
.selector.is-active .selector__list {
    opacity: 1;
    visibility: visible;
}
.selector__label {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 0;
    cursor: pointer;
}
.selector__title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.selector__title.is-disabled {
    opacity: 0.7;
}
.selector__btn {
    display: flex;
    align-items: center;
    justify-content: center;
}
.selector__list {
    top: 100%;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
}
.selector__option {
    cursor: pointer;
}
.selector__option.is-disabled {
    display: none;
}
.btn {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    color: #fff;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    vertical-align: middle;
    align-items: center;
    /*white-space: nowrap;*/
    cursor: pointer;
    box-shadow: none;
    background-color: var(--clr-accent);
    border: solid 1px var(--clr-accent);
    border-radius: .5rem;
    padding: .95rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: none;
    transition: all .3s;
}
.btn:hover {
    filter: brightness(var(--hover-brightness));
}
.btn.btn_tr {
    background: transparent;
    color: #fff !important;    
    box-shadow: none;
}
.btn.btn_tr:hover {
    /*background: var(--cl1);*/
    color: #fff !important;
    box-shadow: 0 0 17px -5px #fff;
}
.btn.small_btn {
    padding: 1.25rem 1.875rem;
    font-size: 1rem;
}
.btn.dark_btn {
    color: var(--dark) !important;
}
.btn.dark_btn:hover {
    color: var(--cl2) !important;
}
.btn svg {
    height: 15px;
    margin-left: .7rem;
}
.btn > span {
    display: flex;
    z-index: 1;
    position: relative;
    justify-content: center;
    align-items: center;
}
.btn_full {
    width: 100%;
}
.btn:disabled {
    opacity: 0.7;
    cursor: default;
}
.w100 {
    width: 100%;
}
section {
    padding: 10rem 0;
}
::-webkit-input-placeholder {    
    opacity: 1;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 1em;
}
::-moz-placeholder {    
    opacity: 1;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 1em;
}
:-moz-placeholder {    
    opacity: 1;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 1em;
}
:-ms-input-placeholder {    
    opacity: 1;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 1em;
}
:focus::-webkit-input-placeholder {
    opacity: 0.4;
}
:focus::-moz-placeholder {
    opacity: 0.4;
}
:focus:-moz-placeholder {
    opacity: 0.4;
}
:focus:-ms-input-placeholder {
    opacity: 0.4;
}
.form input:not([type="submit"]), .form textarea {
    padding: 1.5rem 2.3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--clr-gray);
    background: #fff;
}
.pdt0 {
    padding-top: 0;
}
.pdb0 {
    padding-bottom: 0;
}
.modal_intro {
    font-size: 1.1rem;
    margin-top: 0.3rem;
}
.modal form {
    margin-top: 1.5rem;
}
.modal .form_police {
    font-size: .87rem;
    margin-top: .5rem;
}
.modal .form_police a {
    text-decoration: underline;
    color: var(--cl2);
}

.text-content ul {
    list-style: none;
    margin-left: 0;
}
.text-content ol {
    list-style-type: decimal;
}
.text-content li {
    margin-bottom: 0.8rem;
    padding-left: 1.6rem;
    position: relative;
    line-height: 1.2;
}
.text-content li:last-child {
    margin-bottom: 0;
}
.text-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .5em;
    width: 1rem;
    height: 2px;
    background: #b7b1b1;
    /*background: var(--clr-red);*/
}
.sec_title {
    margin-bottom: 1.5rem;
}
.form input:not([type="submit"]), .form textarea {
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius-500);
    border: none;
    width: 100%;
    font-variant-numeric: lining-nums proportional-nums;
}
html.with-fancybox header {
    margin-right: calc(var(--fancybox-body-margin,0px) + var(--fancybox-scrollbar-compensate,0px));
}
.relative {
    position: relative;
}

.wrapper {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
}
main {
    overflow-x: hidden;
}

/* Для swiperjs */

.swiper_opacity .swiper-slide {
    opacity: 0;
    transition: opacity 0.3s;
}
/* Установка прозрачности только для слайдов без класса swiper-slide-visible */
.swiper_opacity .swiper-slide:not(.swiper-slide-visible) {
    opacity: 0;
}
/* Установка прозрачности для видимых слайдов */
.swiper_opacity .swiper-slide.swiper-slide-visible {
    opacity: 1;
}
fieldset {
    border: none;
    margin-bottom: 0;
    padding: 0;
}
.santa_hat {
    position: absolute;
    right: 29px;
    bottom: 43px;
    width: 36px;
    transform: rotate(16deg);
}
.link_icon .img svg {
    fill: #ffffff;
    transition: all .3s;
}
.link_icon:hover .img svg {
    fill: var(--clr-red);
}
