:root, [data-bs-theme=light] {
    --bs-alt-bg-color: #f0f0f0;
    --bs-li-nav-color: #222;
}

[data-bs-theme=dark] {
    --bs-alt-bg-color: #666;
    --bs-li-nav-color: var(--accent_color);
    .main_catalog .card, .main_popular .img {
        border: none;
    }
}

.btn-pink {
    border: 2px solid var(--bs-btn-border-color);
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--accent_color);
    --bs-btn-border-color: var(--accent_color);
    --bs-btn-hover-color: var(--accent_color);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: var(--accent_color);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: var(--accent_color);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: var(--accent_color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--accent_color);
    --bs-btn-disabled-border-color: var(--accent_color);
}

.btn-black {
    border: 2px solid var(--bs-btn-border-color);
    --bs-btn-color: #fff;
    --bs-btn-bg: #000;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #000;
    --bs-btn-hover-border-color: #000;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #000;
    --bs-btn-active-border-color: #000;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #000;
    --bs-btn-disabled-border-color: #000;
}

.btn-pink-trans {
    border: 2px solid var(--bs-btn-border-color);
    --bs-btn-color: var( --accent_color);
    --bs-btn-bg: none;
    --bs-btn-border-color: var( --accent_color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: none;
    --bs-btn-hover-border-color: var( --accent_color);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: var( --accent_color);
    --bs-btn-active-bg: none;
    --bs-btn-active-border-color: var( --accent_color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: none;
    --bs-btn-disabled-bg: none;
    --bs-btn-disabled-border-color: none;
}

.btn-pink-white {
    border: 2px solid var(--bs-btn-border-color);
    --bs-btn-color: var( --accent_color);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var( --accent_color);
    --bs-btn-hover-color: var( --accent_color);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: var( --accent_color);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: var( --accent_color);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: var( --accent_color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #fff;
    --bs-btn-disabled-border-color: #fff;
}

.btn-hover-white {
    --bs-btn-hover-color: var(--bs-body-color);
    --bs-btn-hover-bg: var(--bs-btn-active-bg);
    --bs-btn-hover-border-color: var(--bs-body-color);
}

.btn-no-hover {
	--bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--accent_color);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--accent_color);
}

.btn-wa {
    --bs-btn-active-bg: #fff;
    --bs-btn-color: #fff;
    --bs-btn-wa-color: #4bb22e;
    border: 2px solid var(--bs-btn-wa-color);
    --bs-btn-bg: var(--bs-btn-wa-color);
    --bs-btn-border-color: var(--bs-btn-wa-color);
    --bs-btn-hover-color: var(--bs-body-color);
    --bs-btn-hover-bg: var(--bs-btn-active-bg);
    --bs-btn-hover-border-color: var(--bs-body-color);
    padding: 11px 0px;
}

.btn-tg {
    --bs-btn-active-bg: #fff;
    --bs-btn-color: #fff;
    --bs-btn-tg-color: #4e9ed5;
    border: 2px solid var(--bs-btn-tg-color);
    --bs-btn-bg: var(--bs-btn-tg-color);
    --bs-btn-border-color: var(--bs-btn-tg-color);
    --bs-btn-hover-color: var(--bs-body-color);
    --bs-btn-hover-bg: var(--bs-btn-active-bg);
    --bs-btn-hover-border-color: var(--bs-body-color);
    padding: 11px 0px;
}

.btn-max {
    --bs-btn-active-bg: #fff;
    --bs-btn-color: #fff;
    --bs-btn-max-color: linear-gradient(135deg, #203AF8, #7438D7);
	background-image: var(--bs-btn-max-color);
    border: 2px solid var(--bs-btn-tg-color);
    --bs-btn-bg: var(--bs-btn-max-color);
    --bs-btn-border-color: var(--bs-btn-max-color);
    --bs-btn-hover-color: var(--bs-body-color);
    --bs-btn-hover-bg: var(--bs-btn-active-bg);
    --bs-btn-hover-border-color: var(--bs-body-color);
    padding: 13px 0px;
}

.btn-max:hover {
	background-image: none;
}

.btn-trans {
    border: 2px solid var(--bs-btn-border-color);
    --bs-btn-color: none;
    --bs-btn-bg: none;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: var( --accent_color);
    --bs-btn-hover-bg: none;
    --bs-btn-hover-border-color: var( --accent_color);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: var( --accent_color);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: var( --accent_color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

.input-control > input:not([type=checkbox], [type=radio]), .input-control > .input {
    margin: 0;
    height: 60px;
    padding: 0 20px;
    line-height: 1.33;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    -webkit-appearance: none;
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
}

.input-control > .input-right {
    top: 13px;
    position: absolute;
    right: 20px;
}

.input-control.big-digit > input {
	border: none !important;
	background: transparent;
	font-size: 28px;
	padding: 0;
	height: auto;
	color: rgba(var(--bs-color-rgb),var(--bs-link-opacity,1));
}

.select-control, .input-control {
    position: relative;
    padding: 0;
}

.select-control > select, .select-control > .select {
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    height: 60px;
    padding: 0 45px 0 20px;
    font-size: 16px;
    line-height: 1.33;
    outline: 0;
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: none;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    font-weight: 400;
}

.select-control:after {
    content: ' ';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #000 transparent transparent transparent;
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    pointer-events: none;
}

.select-control.border-gray > select, .input-control.border-gray > input, .select-control.border-gray > .select, .input-control.border-gray > .input {
    border: 1px solid #d6d6d6;
}

.select-control.border-gray:after {
    border-color: #d6d6d6 transparent transparent transparent;
}
.form-check-input {
    border-color: #999;
    border-width: 1px;
    width: 20px;
    height: 20px;
    margin-top: 0.125em;
    background-color: var(--bs-alt-bg-color);
}

.form-check-input:focus {
    outline: none;
    border-color: #999;
    box-shadow: none;
}

.form-check-input:checked {
    border-color: #999;
    border-width: 1px;
    background-color: var(--accent_color);
}

.form-check-input[type=radio]{
	border-width: 2px;
}

.form-check-input:checked[type=radio] {
	background-color: var(--bs-alt-bg-color);
	border-width: 2px;
	--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-3 -3 6 6'%3e%3ccircle r='2' fill='%23999'/%3e%3c/svg%3e");
}

:focus-visible {
    outline: none;
}

.inner_more .form-check-label {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    color: #000000;
}

.bg-gray {
    background: var(--bs-alt-bg-color);
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 400;
    color: rgba(var(--bs-color-rgb),var(--bs-link-opacity,1));
}

body a {
    color: rgba(var(--bs-color-rgb),var(--bs-link-opacity,1));
}

header {
    /* padding: 18px 0; */
    /* width: 100%; */
    /* background: var(--bs-body-bg); */
    /* height: 90px; */
    /* overflow: hidden; 
    /* top: -150px!important; */
	visibility: hidden;
    transition: top 0.3s ease;
}

header.show-header{
	top: 0px!important;
}

header > div > * {
   /* padding: 0 15px; */
   /* margin: auto 0; */
}

.logo svg {
    width: 48px;
}

.title .main_title {
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
    margin: 0;
}

.title .main_link {
    color: rgba(var(--bs-color-rgb),var(--bs-link-opacity,1));
    text-decoration: none;
}

.title .sub_title {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 16px;
}

.top_phone {
    font-size: 20px;
    font-family: "Roboto", Arial, sans-serif;
    outline: none;
    text-decoration: none;
    line-height: 25px;
}

.top_phone_text {
    font-size: 15px;
    font-family: "Roboto", Arial, sans-serif;
    text-decoration: none;
    font-weight: 300;
    line-height: 15px;
}

.button > a {
    font-size: 16px;
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.55;
    font-weight: 400;
}

header + section {
    margin-top: 90px;
}

main > div {
	background-position: center center;
	background-attachment: scroll;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 0;
	min-height: calc(100vh - 3rem);
	min-height: calc(var(--vh, 100vh) - 3rem);
}

main .background {
	min-height: calc(100vh - 3rem);          /* для новых браузеров */
    min-height: calc(var(--vh, 100vh) - 3rem);  /* JS-решение */
    /*background-image: -webkit-gradient( linear, left top, left bottom, from(rgba(0,0,0,0.8)), to(rgba(0,0,0,0.4)) );
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4)); */
    background-image: linear-gradient(0.183turn,rgba(0,0,0,1) 0%,rgba(0,0,0,0.78) 22%,rgba(0,0,0,0.16) 55%,rgba(0,0,0,1) 100%);
    will-change: transform;
}

main h1, main strong b {
    color: #ffffff;
    font-size: 62px;
    font-family: 'Montserrat',Arial,sans-serif;
    line-height: 78px;
    font-weight: 700;
    text-transform: uppercase;
    background-position: center center;
}

main h1 span {
    display: block;
}

main strong {
    color: #ffffff;
    font-size: 64px;
    font-family: 'Montserrat',Arial,sans-serif;
    line-height: 1.2;
    font-weight: 300;
    background-position: center center;
    margin-bottom: 50px;
}

main > p, main > div {
    color: #ffffff;
    font-size: 20px; 
    font-family: 'Roboto',Arial,sans-serif; 
    line-height: 31px; 
    font-weight: 400; 
    background-position: center center;
}

main select, main input:not([type=checkbox], [type=radio]), main .select, main .input {
    width: 100%;
}

main .arrow-down {
    background: url('../../the_first/images/arrow-down.gif') center center no-repeat;
    background-size: contain;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: block;
}

section {
    padding: 45px 0 0;
    position: relative;
}

section .big_title {
    font-size: 32px;
    line-height: 42px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin: 65px 0 30px;
}

section .small_title {
    font-size: 24px;
    line-height: 1.55;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

section .small_desc {
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 400;
    text-align: center;
    margin-bottom: 28px;
}

.main_popular a {
    text-decoration: none;
    position: relative;
}

.main_popular .title-box {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
}

.main_popular .title {
    color: #333333;
    font-size: 32px;
    line-height: 50px;
    font-weight: 700;
    text-transform: uppercase;
    background: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-block;
}

.main_popular .img {
    border-radius: 20px;
    min-height: 500px;
    max-height: 570px;
    border: 1px solid #ccc;
}

.main_popular .info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: calc(100% - 80px);
}

.main_popular .info span {
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    color: #000000;
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 31px;
    font-weight: 400;
}

.main_popular .info span.special {
    color: #fff;
    background: #333333;
}

.main_pool {
    padding: 90px 0;
}

.main_pool .big_title {
    margin: 0 0 16px;
}

.main_pool .small_title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 24px;
    font-weight: 300;
    text-transform: none;
    margin-bottom: 28px;
}

.main_pool .pool_border {
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 60px 100px;
    background: #fff;
    color: #000;
}

.main_pool .form-group > label {
    font-family: 'Roboto',Arial,sans-serif;
    font-size: 28px;
    font-weight: 300;
}

.main_interest {
    padding: 140px 0 100px;
    font-family: 'Roboto',Arial,sans-serif;
    font-weight: 400;
}

.small-control > select, .small-control > input:not([type=checkbox], [type=radio]), .small-control > button, .small-control > .select, .small-control > .input, .small-control > .button {
    height: 50px!important;
}

.main_interest span.interest_title:not(.small) {
    font-size: 36px;
    font-family: 'Montserrat',Arial,sans-serif;
    line-height: 47px;
    font-weight: 700;
    text-transform: uppercase;
}

.main_interest p {
    font-size: 22px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 34px;
    font-weight: 400;
}

.main_interest span:not(.small) {
    font-family: 'Roboto',Arial,sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.main_catalog {
    margin: 45px 0;
}

.main_catalog .card {
    background: #fff;
}

.main_catalog .card .img-frame {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_catalog .card .img-frame img {
    min-height: 300px;
}

.main_catalog i.position-icon {
    display: inline-block;
    width: 18px;
}

.main_catalog i.position-icon * {
    fill: var(--accent_color);
}

.main_catalog .card-position {
    color: #666666;
    font-size: 18px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 400;
}

.main_catalog .card-title {
	font-size: 1.25rem;
    color: #000;
}

.main_catalog .card-text {
    color: #000000;
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 400;
}

.main_catalog .card-price {
    color: #000000;
    font-size: 28px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 500;
}

/** inner **/
.inner_product {
    background: var(--bs-alt-bg-color);
    padding: 150px 0 0;
    font-family: 'Montserrat',Arial,sans-serif;
    font-weight: 400;
}

.inner_product .inner_title {
    font-size: 24px;
    font-family: 'Montserrat',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 700;
    text-transform: uppercase;
}

.inner_product .position {
    color: var(--bs-light-text-emphasis);
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 400;
}

.inner_product i.position-icon {
    display: inline-block;
    width: 20px;
}

.inner_product .price {
    /* color: #000000; */
    font-size: 24px;
    font-family: 'Montserrat',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 700;
}

.inner_product .info {
    color: var(--bs-light-text-emphasis);
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 1.55;
    font-weight: 400;
}

.inner_product .inner_images {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
}

.inner_product .slider {
    overflow: hidden;
    border-radius: 8px;
}

.inner_product .slider ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

.inner_product .bx-wrapper {
    position: relative;
}

.inner_product .slider .bx-controls-direction {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.inner_product .slider .bx-controls-direction a:hover {
    filter: brightness(90%);
}

.inner_product .slider .bx-prev {
    background: url(../images/prev.png) 0 0 no-repeat;
    display: inline-block;
    width: 30px;
    height: 30px;
    position: absolute;
    margin-top: -15px;
    top: 50%;
    left: 30px;
    overflow: hidden;
    text-indent: 999px;
    z-index: 1000;
}

.inner_product .slider .bx-next {
    background: url(../images/next.png) 0 0 no-repeat;
    display: inline-block;
    width: 30px;
    height: 30px;
    position: absolute;
    margin-top: -15px;
    top: 50%;
    right: 30px;
    overflow: hidden;
    text-indent: 999px;
    z-index: 1000;
}

.inner_product .slider img {
    border-radius: 8px;
    display: block;
    max-height: 550px;
    height: auto;
    margin: 0 auto;
}

.inner_product .slider_pager {
    padding-top: 20px;
}

.inner_product .slider_pager ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

.inner_product .slider_pager li {
    margin: 0 1px 10px 0;
    display: inline-block;
    width: 125px;
}

.inner_product .slider_pager li a img {
    border: 3px solid #ddd;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.inner_product .slider_pager .active img {
    border: 3px solid var(--accent_color);
}

.inner_product svg, .inner_info svg {
    fill: var(--accent_color);
}

.inner_info, .inner_more {
    padding: 20px 0 0;
}

.inner_connect {
    padding-bottom: 30px;
}

.inner_info .inner_body {
    padding: 50px;
    border-radius: 25px;
}

.inner_info .info_title {
    color: #000000;
    font-size: 24px;
    font-family: 'Montserrat',Arial,sans-serif;
    line-height: 37px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    padding-right: 32px;
    border-bottom: 5px solid var(--accent_color);
    margin-bottom: 36px;
}

.inner_info p {
    color: #000000;
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 31px;
    font-weight: 400;
}

.inner_info .characters p {
    color: #000000;
    font-size: 28px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 37px;
    font-weight: 700;
    margin: 0;
}

.inner_info .characters span {
    color: #666666;
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 28px;
    font-weight: 400;
}

.inner_info .comfort {
    padding: 0;
}

.inner_info .comfort li {
    color: #000000;
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 31px;
    font-weight: 400;
    list-style: none;
}

.inner_info .comfort li i {
    width: 26px;
    height: 26px;
    display: inline-block;
    margin-right: 4px;
}

.inner_more .inner_more_wrapper {
    background: #fff;
    border: 3px solid var(--accent_color);
    padding: 60px 110px 80px;
    border-radius: 25px;
    margin-bottom: 32px;
    color: #000;
}

.inner_more .inner_more_wrapper span:not(.small) {
    font-family: 'Roboto',Arial,sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: 18px;
}

.clearfix + .primary-main {
    padding-top: 90px;
}

.primary-main {
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0;
    min-height: calc(100vh - 3rem);
    min-height: calc(var(--vh, 100vh) - 3rem);
}

.primary-main .btn-hover-white {
    --bs-btn-hover-border-color: var(--bs-btn-active-bg);
}

.primary-main .background {
    min-height: calc(100vh - 3rem);
                 /* fallback */
                /* для новых браузеров */
    min-height: calc(var(--vh, 100vh) - 3rem);  /* JS-решение */
    /*background-image: -webkit-gradient( linear, left top, left bottom, from(rgba(0,0,0,0.8)), to(rgba(0,0,0,0.4)) );
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4)); */
    background-image: linear-gradient(0.183turn,rgba(0,0,0,1) 0%,rgba(0,0,0,0.78) 22%,rgba(0,0,0,0.16) 55%,rgba(0,0,0,1) 100%);
    will-change: transform;
}

.primary-main .up-title {
    color: #cccccc;
    font-size: 18px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 28px;
    font-weight: 400;
    color: var(--accent_color);
}

.primary-main h1 {
	color: #fff;
    /* color: transparent; */
    /* background-image: linear-gradient(0turn, rgba(255, 255, 255, 0) 2%, rgba(255, 255, 255, 1) 53%, rgba(255, 255, 255, 1) 100%); */
    -webkit-background-clip: text;
    will-change: transform;
    font-size: 64px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 77px;
    font-weight: 700;
    text-transform: uppercase;
}

.primary-main .sub-title {
    color: #ffffff;
    font-size: 24px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 37px;
    font-weight: 100;
}

.primary-main p {
    color: #ffffff;
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 31px;
    font-weight: 400;
}

.primary-main span {
    color: #ffffff;
    font-size: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 24px;
    font-weight: 400;
}


.primary-main .characters p {
    color: #ffffff;
    font-size: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 26px;
    margin: 0;
    text-wrap: nowrap;
}

.primary-main .characters span {
    font-size: 16px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 24px;
    font-weight: 100;
    text-transform: none;
}

.primary-text {
    padding: 80px;
}

.primary-text p {
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 31px;
    font-weight: 400;
}

.glide__track {
    position: relative;
}

.primary-slider .glide__slide .img {
    opacity: 0.3;
    width: auto;
    height: 550px;
    margin: 0 50px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    align-items: center;
}

.primary-slider .glide__slide .img img {
	height: 100%;
    display: block;
    border-radius: 20px;
}

.primary-slider .glide__slide--active .img {
    opacity: 1;
}

.inner_images .glide__slide .img {
    width: auto;
    height: 50vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

.secondary_plans .glide__slide .img {
    width: auto;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}


.inner_images .glide__bullets {
    display: flex;
    flex-direction: row;
    margin: 0px -6px;
    flex-wrap: wrap;
}

.inner_images .glide__bullet {
    width: 120px !important;
    height: 90px;
    margin: 6px;
    border: 3px solid #fff;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.inner_images .glide__bullet--active  {
    border: 3px solid var(--accent_color);
}

.slider__controls {
    position: absolute;
    top: calc(50% - 21px);
    width: 100%;
    display: flex;
    justify-content: center;
    height: 0;
}

.slider__arrows {
    width: 100%;
    max-width: 960px;
    display: flex;
    justify-content: space-between;
    margin: 0 18px;
}

.always-white {
    color: #000;
    background: #fff;
}

.primary-plans.always-white .nav li.nav-item .nav-link.active {
    color: #000;
}

.primary-plans.always-white .nav li.nav-item .nav-link {
    color: #000;
    border-bottom: 3px solid #eee;
}

.primary-plans.always-white .btn:hover {
    color: #000;
    border-color: #000;
}

.primary-plans {
    padding-bottom: 120px;
}

.primary-plans .nav li.nav-item .nav-link {
    color: var(--bs-body-color);
    border-bottom: 3px solid #eee;
}

.primary-plans .nav li.nav-item .nav-link.active {
    color: var(--bs-li-nav-color);
    border-bottom: 3px solid var(--bs-li-nav-color);
    font-weight: 600!important;
}

.primary-plans select {
	border: 1px solid #000;
	color: #000;
	background-color: #fff;
	font-size: 1rem;
	font-weight: 500;
	padding: 8px;
	min-height: 40px;
}

.f-thumbs__slide__img, .fancybox-image {
    background-color: #fff;
}

.primary-plan-slider {
    position: relative;
}

.primary-plan-slider ul {
    align-items: center;
}

.primary-plan-slider img {
    /*height: auto;*/
    /*width: auto;*/
    max-width: 100%;
    width: 100%;
    background-color: #fff;
}

.primary-plans .tab-content span:not(.small) {
    font-size: 24px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 37px;
    font-weight: 700;
}

.primary-plans .tab-content .prices {
    font-size: 22px;
    line-height: 34px;
}

.primary-plans .tab-content .text {
    font-size: 20px;
    line-height: 31px;
}

.primary-plans .tab-content .form-w-imgs {
    width: 50%;
}

.primary-plans .tab-content .form-wo-imgs {
    width: 75%;
    margin: 0 auto;
}

.primary-plans .tab-content p {
    font-family: 'Roboto',Arial,sans-serif;
    font-weight: 400;
    margin: 0;
}

.primary-characters li {
    list-style: none;
    display: flex;
}

.primary-characters li svg {
    fill: var(--accent_color);
}

.primary-characters li label, .primary-characters .preem-text label {
    font-family: 'Montserrat',Arial,sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 14px;
}

.primary-characters li p, .primary-characters .preem-text p {
    font-family: 'Roboto',Arial,sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.55;
}

.primary-characters .preem-img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.primary-characters .preem-text {
    background-color: var(--bs-body-bg);
    border-radius: 10px;
    padding: 36px 50px;
    top: 15%;
    position: relative;
    left: -25%;
}

.primary-characters .c-reverse .preem-text {
    left: auto!important;
    right: -25%;
}

.primary-characters .preem-text p {
    margin-bottom: 0;
}

.ymaps-2-1-79-ground-pane {
    filter: grayscale(1);
    -ms-filter: grayscale(1);
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(1);
    -o-filter: grayscale(1);
}

.ymaps-2-1-79-gototech {display: none!important;}

.primary-map {
	height: 65vh;
}

.primary-map-card {
    background: #fff;
    min-height: 300px;
    padding: 60px;
    box-sizing: border-box;
    left: calc(50% - 1300px / 2);
    z-index: 100;
}

.primary-map-title {
    color: #333333;
    margin-bottom: 30px;
    font-size: 28px;
    line-height: 1.17;
    font-family: 'Montserrat',Arial,sans-serif;
    font-weight: 700;
}

.primary-map-text {
    font-size: 18px;
    line-height: 1.55;
    font-family: 'Roboto',Arial,sans-serif;
    font-weight: 300;
    color: #000000;
}

.consult-block {
	color: #ffffff;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0;
}

.consult-block .btn-hover-white {
    --bs-btn-hover-border-color: var(--bs-btn-active-bg);
}

.consult-block .background {
    min-height: 600px;
    height: auto;
    background-image: -webkit-gradient( linear, left top, left bottom, from(rgba(0,0,0,0.80)), to(rgba(0,0,0,0.40)) );
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    will-change: transform;
}

.consult-block span {
    color: #ffffff;
    font-size: 36px;
    font-family: 'Montserrat',Arial,sans-serif;
    line-height: 56px;
    font-weight: 700;
    text-transform: uppercase;
}

.consult-block p {
    color: #ffffff;
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 31px;
    font-weight: 400;
}

.primary-actions .action-svg svg {
	width: 80px;
	height: 80px;
}

.primary-mortgage-banner {
	color: #ffffff;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0;
	overflow: hidden;
}

.primary-mortgage-banner .btn-hover-white {
    --bs-btn-hover-border-color: var(--bs-btn-active-bg);
}

.primary-mortgage-banner .btn-pink-trans {
    --bs-btn-color: #fff;
	--bs-btn-active-color: #fff;
}



.range-line {
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
    height: 2px;
    margin: 0;
    outline: none;
    padding: 0;
    width: 100%
}

.range-line::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    border: none;
    height: 2px
}

.range-line::-moz-range-track {
    -webkit-appearance: none;
    border: none;
    height: 2px
}

.range-line::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 8px 0;
    color: transparent;
    height: 2px
}

.range-line::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: var(--accent_color);
    border: none;
    border-radius: 50%;
    height: 20px;
    margin-top: -9px;
    width: 20px
}

.range-line::-moz-range-thumb {
    -webkit-appearance: none;
    background: var(--accent_color);
    border: none;
    border-radius: 50%;
    height: 20px;
    margin-top: -9px;
    width: 20px
}

.range-line::-ms-thumb {
    background: var(--accent_color);
    border: none;
    border-radius: 50%;
    height: 20px;
    margin-top: 0;
    width: 20px
}

.range-line::-moz-focus-outer {
    border: 0
}

.range-line::-ms-tooltip {
    display: none
}

.range-group .input-tooltip {
	display: none;
    background-color: #fff;
	color: var(--bs-dark);
    border-radius: 3px;
    box-shadow: 0 1px 8px 0 rgba(0,0,0,.2);
    font-size: 14px;
    line-height: 1;
    min-width: 20px;
    padding: 8px 10px;
    position: absolute;
    text-align: center;
    top: 14px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

.form-group .dp-percent, .form-group .percent {
	color: var(--bs-dark);
    background: #fff;
	padding: 12px;
}


.primary-mortgage-banner .background {
    min-height: 600px;
    height: 75vh;
    background-image: -webkit-gradient( linear, left top, left bottom, from(rgba(0,0,0,0.80)), to(rgba(0,0,0,0.40)) );
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    will-change: transform;
}

.primary-mortgage-banner span {
    color: #ffffff;
    font-size: 36px;
    font-family: 'Montserrat',Arial,sans-serif;
    line-height: 56px;
    font-weight: 700;
    text-transform: uppercase;
}

.primary-mortgage-banner p {
    color: #ffffff;
    font-size: 20px;
    font-family: 'Roboto',Arial,sans-serif;
    line-height: 31px;
    font-weight: 400;
}

.widgets {
    bottom: 0;
    right: 0;
    z-index: 9999;
}

.call-widget {
    z-index: 9999;
    text-align: right;
    position: relative;
}

.call-widget .widget-icon {
    width: 60px;
    height: 60px;
    background: var(--accent_color);
    border-radius: 50%;
    padding: 14px;
}

@keyframes btn-pulsate {
    0% {
        transform: scale(1,1)
    }

    25% {
        transform: scale(1.1,1.1)
    }

    50% {
        transform: scale(1,1)
    }
}

@keyframes circle__pulsate {
    0% {
        -webkit-transform: scale(.8,.8);
        opacity: 0
    }

    25% {
        opacity: .4
    }

    50% {
        -webkit-transform: scale(1.4,1.4);
        opacity: 0
    }

    100% {
        -webkit-transform: scale(.8,.8);
        opacity: 0
    }
}

.hover_to_top {
	transition: transform 0.3s ease, box-shadow 0.3s ease;	
}

.hover_to_top:hover {
	transform: translateY(-10px);
}

.hover_to_big {
	display: inline-block;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover_to_big:hover {
	transform: scale(1.2);
}


.call-widget .btn-widget {
    width: 60px;
    height: 60px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px -4px #000;
    width: auto;
    height: auto;
    opacity: 1;
    background-color: #fff;
}

.call-widget .btn-widget.collapsed {
    animation: btn-pulsate 2s ease-out;
    animation-iteration-count: infinite;
    -webkit-animation: btn-pulsate 2s ease-out;
    -webkit-animation-iteration-count: infinite;
}

.call-widget .btn-widget i.circle {
    visibility: hidden;
}

.call-widget .btn-widget.collapsed i.circle {
    position: absolute;
    width: 60px;
    height: 60px;
    bottom: 0px;
    border-radius: 50%;
    right: 0px;
    border-radius: 100%;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.2);
    border: 3px solid #000000;
    animation: circle__pulsate 1s ease-out;
    animation-iteration-count: infinite;
    -webkit-animation: circle__pulsate 2s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0;
    visibility: visible;
}

.call-widget .btn-widget img {
    width: 60px;
    height: 60px;
    visibility: hidden;
    border-radius: 50%;
}

.call-widget .btn-widget.collapsed img {
    visibility: visible;
}

.call-widget .widget-collapse {
    list-style: none;
    display: flex;
    flex-flow: column;
    padding: 0;
    align-items: normal;
}

.call-widget .tooltip .tooltip-inner {
    font-size: 16px;
    font-weight: 400;
    padding: 8px 15px;
    max-width: max-content;
    line-height: 16px;
}

.tooltip .tooltip-inner {
    font-size: 14px;
    font-weight: bold;
    padding: 5px 15px;
    max-width: max-content;
}

.call-widget .btn-widget.collapsed + .tooltip {
    opacity: var(--bs-tooltip-opacity);
}

.call-widget .widget-collapse li {
    margin: 6px 0;
}

.call-widget .widget-collapse li a {
    padding: 0px 6px;
}

.call-widget .widget-collapse li svg {
    border: 1px solid #fff;
    border-radius: 50%;
    background: #fff;
}

[data-bs-theme=dark] .btn-close {
    filter: none;
}

.socials svg {
    fill: var(--accent_color);
}

.modal-header {
    font-size: 22px;
}

.modal-body {
    /* padding: 40px 45px; */
}

.modal-title {
    color: rgba(var(--bs-color-rgb),var(--bs-link-opacity,1));
    font-size: 32px;
    margin-bottom: 11px;
    line-height: 1.23;
    font-family: 'Montserrat',Arial,sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.modal-text {
    font-size: 18px;
    line-height: 1.55;
    font-weight: 300;
}

.modal-body.interest {
}

.modal-body .interest_title {
    font-size: 36px;
    font-family: 'Montserrat',Arial,sans-serif;
    line-height: 47px;
    font-weight: 700;
    text-transform: uppercase;
}

.accordion-button:not(.collapsed) {
    background-color: transparent!important;
    box-shadow: none!important;
}

.accordion-button:focus {
    border-color: transparent!important;
    box-shadow: none!important;
}

@media (max-width: 1599.98px) {
    .glide__slide .img {
        height: 500px;
    }

    .slider__arrows {
        max-width: 690px;
    }
}

@media (max-width: 1399.98px) {
    .primary-map-card {
        left: calc(50% - 1120px / 2);
    }
}

@media (max-width: 1299.98px) {
    .glide__slide .img {
        height: 300px;
    }

    .slider__arrows {
        max-width: 570px;
    }
}

@media (max-width: 1199.98px) {
    .primary-map-card {
        left: calc(50% - 940px / 2);
    }

    .primary-characters .preem-text {
        padding: 24px 36px;
        top: 8%;
    }

    .primary-characters .preem-text p {
        font-size: 16px;
    }

    .primary-plans .tab-content .form-w-imgs {
        width: 75%;
    }

    .modal-body .interest_title {
        font-size: 30px;
        line-height: 41px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
	main {
		/* min-height: 950px; */
	}
	
    main h1, main strong b, main strong {
        font-size: 46px;
        line-height: 54px;
    }

    main p {
        font-size: 18px;
        line-height: 28px;
    }

    section .big_title {
        font-size: 28px;
        line-height: 43px;
    }

    section .small_title {
        font-size: 22px;
        line-height: 34px;
    }

    section .small_desc {
        font-size: 18px;
        line-height: 28px;
    }

    .main_popular a {
        text-align: center;
    }

    .main_popular .img {
        min-height: 300px;
    }

    .main_popular .title-box {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
    }

    .main_popular .title {
        font-size: 24px;
        line-height: 37px;
        padding: 17px 26px;
    }

    .main_popular .info {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 24px;
        width: auto;
    }

    .main_popular .info span {
        font-size: 18px;
        line-height: 28px;
        border: 1px solid #ccc;
    }

    .main_popular .info button {
        font-size: 18px;
        line-height: 28px;
    }

    .main_interest .interest_title {
        font-size: 32px;
        line-height: 42px;
        text-align: center;
        display: block;
    }

    .main_interest p {
        font-size: 20px;
        line-height: 31px;
        text-align: center;
    }

    .inner_info .comfort li {
        font-size: 18px;
        line-height: 28px;
    }

    .primary-main h1 {
        font-size: 42px;
        line-height: 50px;
    }

    .primary-main .sub-title {
        font-size: 18px;
        line-height: 28px;
    }

    .primary-main .character p {
        font-size: 18px;
        line-height: 22px;
    }

    .primary-main .character span {
        font-size: 14px;
        line-height: 20px;
    }

    .primary-map-card {
        left: calc(50% - 940px / 2);
    }

    .glide__slide .img {
        height: 200px;
    }

    .slider__arrows {
        max-width: 468px;
    }

    .primary-characters .preem-text {
        width: 90%;
        margin: -8% auto 0;
        left: auto!important;
        right: auto!important;
    }

    .primary-characters .preem-text p {
        font-size: 18px;
    }

    .modal-body .interest_title {
        text-align: center;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    main h1, main strong b, main strong {
        font-size: 46px;
        line-height: 54px;
    }

    main p {
        font-size: 16px;
        line-height: 25px;
    }

    section .big_title {
        font-size: 24px;
        line-height: 37px;
        margin: 20px 0 30px;
    }

    section .small_desc {
        font-size: 16px;
        line-height: 25px;
    }
	
	.primary-main .background, main .background {
		min-height: calc(100vh - 1.5rem);
		min-height: calc(var(--vh, 100vh) - 1.5rem);
	}

    .pool_border {
        padding: 0 36px!important;
    }

    .main_popular .title {
        padding: 12px 18px;
    }

    .main_popular .info span, .main_popular .info button {
        font-size: 16px;
        line-height: 25px;
    }

    .main_interest {
        padding: 90px 0;
    }

    .main_interest .interest_title {
        font-size: 28px;
        line-height: 36px;
    }

    .main_interest p {
        font-size: 18px;
        line-height: 28px;
    }

    .inner_info .inner_body {
        padding: 25px;
    }

    .inner_info .info_title {
        font-size: 22px;
        line-height: 34px;
    }

    .inner_info p {
        font-size: 18px;
        line-height: 28px;
    }

    .inner_info .characters .character {
        margin: 0;
    }

    .inner_info .characters p {
        font-size: 24px;
        line-height: 37px;
    }

    .inner_info .characters span {
        font-size: 18px;
        line-height: 28px;
    }

    .inner_info .comfort li {
        font-size: 16px;
        line-height: 25px;
    }

    .inner_more_wrapper {
        padding: 36px!important;
    }

    .primary-main .up-title {
        font-size: 16px;
        line-height: 25px;
    }

    .primary-main h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .primary-main .sub-title {
        font-size: 18px;
        line-height: 22px;
    }

    .primary-main .characters {
        width: min-content;
        margin: 0 auto;
    }

    .main_popular .img {
        min-height: auto;
    }

    .primary-plans .tab-content .col > span {
        text-align: center;
        display: block;
        margin: 28px 0 0;
    }

    .primary-plans .tab-content .prices {
        text-align: center;
    }

    .primary-plans .tab-content .form-w-imgs {
        text-align: center;
        width: 100%;
    }

    .primary-text p {
        font-size: 18px;
        line-height: 28px;
    }

    .main_pool .form-group > label{
        font-size: 24px;
    }
	
	.mortgage-banner span {
        font-size: 32px;
        line-height: 38px;
    }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    main h1  {
        font-size: 8vw;
        line-height: 10vw;
    }

	main strong b, main strong {
        font-size: 28px;
        line-height: 26px;
    }

    .title .sub_title {
        display: none;
    }

    main p {
        font-size: 14px;
        line-height: 22px;
    }

    section .big_title {
        font-size: 22px;
        line-height: 34px;
    }

    .main_popular .title {
        font-size: 18px;
        line-height: 28px;
        position: relative;
        border: 1px solid #ccc;
        top: auto;
        display: block;
        margin-bottom: 24px;
        padding: 8px 8px;
    }

    .main_popular .info span, .main_popular .info button {
        font-size: 14px;
        line-height: 22px;
    }

    .main_interest {
        padding: 60px 0;
    }

    .main_interest .interest_title {
        font-size: 24px;
        line-height: 31px;
    }

    .main_interest p {
        font-size: 16px;
        line-height: 25px;
    }

    .inner_info .info_title {
        font-size: 20px;
        line-height: 31px;
    }

    .inner_info p {
        font-size: 16px;
        line-height: 25px;
    }

    .inner_info .characters p {
        font-size: 22px;
        line-height: 34px;
    }

    .inner_info .characters span {
        font-size: 16px;
        line-height: 25px;
    }

    .inner_info .comfort li {
        font-size: 16px;
        line-height: 25px;
    }

    .primary-main h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .consult-block span {
        font-size: 32px;
        line-height: 38px;
    }
	
	
	.primary-main .primary-main-phone {
		font-size: 18px;
	}
	
	.primary-mortgage-banner span {
        font-size: 24px;
        line-height: 28px;
    }

    .primary-text {
        padding: 30px 20px;
    }

    .modal-body .interest_title {
        font-size: 24px;
        line-height: 35px;
    }

    .modal-body p {
        font-size: 16px;
        line-height: 26px;
    }

    .main_pool .form-group > label {
        font-size: 18px;
    }

    .toast {
        width: 100%;
        font-size: 0.75rem !important;
    }

    .cookie-widget:not(.d-none) + .call-widget {
        display: none;
    }
}