body {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 767px;
    padding: 0 1em;
    display: block;
    margin: 0 auto;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('/static/fonts/Montserrat-Regular.woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('/static/fonts/Montserrat-Bold.woff2');
    font-weight: 800;
}

@font-face {
    font-family: 'Montserrat-Light';
    src: url('/static/fonts/Montserrat-Light.woff2');
    font-weight: 200;
}

.preloader {
    position: fixed;
    left: 0; right: 0;
    top: 0; bottom: 0;
    background: #e0e0e09e;
    z-index: 1001;
}

.preloader__row {
    position: relative;
    top: 50%; left: 50%;
    width: 0; height: 0;
    text-align: center;
    animation: preloader-rotate 2s infinite linear;
}

.preloader__item {
    position: absolute;
    display: inline-block;
    top: 0; bottom: 0;
    width: 40px; height: 40px;
    background-color: #337ab7;
    border-radius: 100%;
    animation: preloader-bounce 2s infinite ease-in-out;
}

.preloader__item:last-child {
    top: auto; bottom: 0;
    animation-delay: -1s;
}

@keyframes preloader-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes preloader-bounce {

  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

.loaded_hiding .preloader {
    transition: 0.3s opacity;
    opacity: 0;
}

.loaded .preloader {
    display: none;
}

/* Стили для блока "бутерброд" */
.topnav_background {
    background: orange;
}

.topnav {
    overflow: hidden;
    position: relative;
    margin: 0 auto; /* Центрируем блок по горизонтали */
    background: orange;
    max-width: 400px; /* Устанавливаем максимальную ширину */
}

.button-login {
    color: orange;
    background: #333333;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
    display: none;
    font-family: 'Montserrat-Bold', sans-serif;
}

/* Style navigation menu links */
.topnav a {
    color: #333333;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 16px;
    display: block;
    background: orange;
    position: relative;
    max-width: 100%; /* Устанавливаем максимальную ширину для ссылок */
}

/* Style the hamburger menu */
.topnav a.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    max-width: none; /* Сбрасываем максимальную ширину для иконки */
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
    color: white;
}

.main_block {
    max-width: 767px;
    margin: 0 auto; /* Центрируем блок по горизонтали */
}

/* Style the active link (or home/logo) */
.active {
    background-color: orange;
    position: relative;
    padding-left: 40px; /* Уменьшаем область слева на ширину кнопки влево */
}
.find {
    background-color: orange;
    position: relative;
    padding-left: 40px; /* Уменьшаем область слева на ширину кнопки влево */
}

/* Создаем псевдоэлемент для иконки слева от активной ссылки */
.active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px; /* Располагаем иконку слева */
    transform: translateY(-50%);
    width: 24px; /* Задаем ширину иконки */
    height: 24px; /* Задаем высоту иконки */
}

/*Горизонтальный разделитель*/
hr {
    background-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2), transparent);
    border: 0;
    height: 3px;
    margin: 10px 10px 0 0;
    display: block;
}

.title_block {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 60px 20px;
}

.bold-text {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 60px;
    color: #333333;
}

.title_block_caption{
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 23px;
    text-align: center;
	justify-content: center;
    align-items: center;
    color: #333333;
}

/*Заголовок категории*/
.advantages{
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    display: flex; /* Устанавливаем flex-контейнер */
    justify-content: center;
    align-items: center;
    padding: 20px 0 20px 0;
    background: orange;
    color: white;
    text-shadow: 1px 1px 1px #c08113;
    margin: 0 0 10px 0;
}


.advantages_container {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px 10px 10px 10px;
}

/*image*/
.caption_number{
	font-family: 'Montserrat-Bold', sans-serif;
	font-size: 40px;
	color: orange;
    padding: 10px 0 0 0;
    max-width: 100%;
}

.caption_number img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/*Название заголовок*/
.advantages_main{
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 18px;
    text-align: center;
    line-height: 1.5;
    justify-content: center;
    align-items: center;
    color: #333333;

}

/*Подпись*/
.advantages_caption{
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    text-align: center;
    line-height: 1.5;
	justify-content: center;
    align-items: center;
    padding-bottom: 10px;
    color: #333333;
    display: flex;
    flex-wrap: wrap; /* Разрешить перенос блоков */
}

/*Подпись*/
.advantages_caption_link {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    text-align: center;
    line-height: 1.5;
	justify-content: center;
    align-items: center;
    padding-bottom: 10px;
    color: #333333;
}


@media (max-width: 767px) {
    .advantages_caption {
        flex-direction: column;
        gap: 15px;
        display: block;
    }
    .advantages_container {
        width: 100%;
        margin: 0;
        background-color: transparent;
        border: none;
        border-radius: 0;
    }
}

.select_design {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 20px 0;
    background: orange;
    color: #333333;
    text-shadow: 1px 1px 1px #c08113;
}

.caption{
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 20px 0 20px 0;
    color: #333333;
}

.select_carrier{
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 20px 0;
    border-radius: 20px 20px 0 0;
    background: orange;
    color: white;
    text-shadow: 1px 1px 1px #c08113;
}

.partners_title {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 20px 0;
    background: orange;
    color: #333333;
}

.partners_section {
    padding: 0 120px 0 120px;
    background-color: orange;
    text-align: center;
}

.partners_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.partner_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background-color: white;
    padding: 20px 20px 20px 20px;
    border-radius: 10px;
    border: 4px solid transparent;
    transition: border 0.3s ease, background-color 0.3s ease;
}

.partner_name {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 14px;
    color: #333333;
}

.partner_card:hover {
    border-color: #ff6600;
    background-color: #fff7f0;
}

.partner_card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.partner_card span {
    color: #ff6600;
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .partners_title {
        font-size: 1.5rem;
    }

    .partner_card span {
        font-size: 0.95rem;
    }
    .partner_card {
        padding: 8px;
    }
    .partners_section {
        padding: 0 20px 0 20px;
    }
}

/* Для мобильных устройств — ширина экрана до 600px */
@media (max-width: 600px) {

}


/*Галерея изображений (виды карт)*/
.section {
	margin: 0;
    padding: 64px 0;

}

.section_gallery {
	font-family: 'Montserrat-Regular', sans-serif;
	font-size: 12px;
	text-align: center;
    background: orange;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.section_gallery:last-child {
    margin: 0;
}

.gallery {
    position: relative;
}

.gallery_flex {
    height: 260px;
	display: flex;
}

/* дополнительный класс для вертикального расположения блоков с изображениями */
.gallery_flex_column {
    flex-direction: column;
}

.gallery_item {
    flex: 1; /* изначальное значение для все элементов */
    transition: flex-grow 0.64s ease-in-out; /* для плавного изменения занимаемого пространства */

 /* если блоки изображений отображаются вертикально, им необходимо задать overflow: hidden; или min-height: 0; иначе блоки с изображениями не будут сжиматься и выйдут за границы блока галереи */
    overflow: hidden;
    min-height: 0;
}

.gallery_item:hover {
	flex: 4; /* при наведении меняем значение flex */
}

.gallery_item img {
 /* пропорционально растягиваем изображение на весь блок <div class="gallery__item"></div> */
    width: 100%;
	height: 100%;
	-o-object-fit: cover;
    object-fit: cover;
    display: block;
    margin: 0;

 /* для плавного перехода используем transition */
    transition: transform 1.6s ease-in-out;
 /* изначально изображение немного увеличено */
    transform: scale(1.1);
}

.gallery_item:hover img {
  transform: scale(1.1); /* при наведении убираем масштабирование изображения */
}



/* Стили для div.purchase */
.purchase {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Размещаем элементы в колонку */
    padding: 30px 0; /* Добавляем отступы сверху и снизу */
    background: white;
}

.purchase_footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Размещаем элементы в колонку */
    padding: 30px 0; /* Добавляем отступы сверху и снизу */
    background: orange;
}

.purchase_button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    border-radius: 50px;
    border: none;
    color: white;
    background: #333333;
    outline: none;
    cursor: pointer;
    width: 200px;
    height: 60px;
    margin: 20px 0;
}

.purchase_button:hover {
    color: #333333;
    background: orange;
}

.purchase_text {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 20px;
    text-align: center;
    color: #333333;
    margin: 0;
    padding: 10px 0 0 0;
}

.order_card_button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    border-radius: 50px;
    border: 0 solid #333333;
    color: white;
    background: #333333;
    outline: none;
    cursor: pointer;
    width: 200px;
    height: 60px;
    margin: 0 0 20px 0;
}

.order_card_button:hover {
    color: #333333;
    background: white;
}

/* Стили для текста перед футером */
.footer_form_text {
    color: #333333;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 20px;
    text-align: center; /* Выравниваем текст по центру */
    margin: 0; /* Убираем все внешние отступы */
    padding: 10px;
}

/* Стили для кнопки футера */
.footer_form_button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    border-radius: 50px;
    border: none;
    color: white;
    text-decoration: none;
    user-select: none;
    background: #333333;
    outline: none;
    cursor: pointer;
    width: 200px;
    height: 60px;
    text-align: center;
    margin: 20px 0; /* Добавляем отступ после кнопки */
}

.footer_form_button:hover {
    color: #333333;
    background: white;
}
/* Стили для div.purchase */

/* Футер */
/* Стили для текста внутри футера */
.footer_social {
    background-color: orange;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;

}

.footer_main {
    background-color: orange;
    display: flex;
    justify-content: center;
    height: 40px;
    font-weight: bold;
    font-size: 14px;
}

.footer_text {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    color: #333333;
}

/* Стили для иконок */
.social_icons {
    display: flex;
    gap: 14px;
    margin-right: 20px;
    margin-left: 20px;
}

.social_icons .icon {
    text-decoration: none;
}

.social_icons .icon img {
    width: 38px;
    height: 38px;
}
/* Футер */


/* ЯЗЫКИ */
/* Стили для кнопок смены языка */
#myLinks button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 17px;
    background: transparent;
    color: #333333;
    border: none;
    padding: 10px 0 0 15px;
    cursor: pointer;
    margin-bottom: 10px;
    vertical-align: middle;
}

/* Стили для кнопок при нажатии */
#myLinks button:active {
    background: transparent;
    color: orange; /* Основной цвет текста */
}

/* Стили для активной кнопки (когда кнопка остается нажатой) */
#myLinks button.active {
    background: transparent;
    color: orange; /* Основной цвет текста */
}

/* Стили для контейнера с пунктами меню и кнопками */
#myLinks {
    display: flex;
    align-items: center;
    padding-left: 0;
}

/* Слайдер */
.carousel_1 {
    width: 100%;
    overflow: hidden;
}

.carousel-slides_1 {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide_1 {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0 10px 0;
}

.carousel-slide_1 img {
    max-width: 300px;
    width: auto;
    height: auto;
    margin: 4px;
}

.navigation_1 {
    text-align: center;
    width: 40px;
}

/* Слайдер */
.carousel_3 {
    width: 100%;
    overflow: hidden;
}

.carousel-slides_3 {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide_3 {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0 10px 0;
}

.carousel-slide_3 img {
    max-width: 300px;
    width: auto;
    height: auto;
    margin: 4px;
}

.navigation_3 {
    text-align: center;
    width: 40px;
}

.carousel_2 {
    width: 100%;
    overflow: hidden;
}

.carousel-slides_2 {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide_2 {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0 10px 0;
}

.carousel-slide_2 img {
    max-width: 300px;
    width: auto;
    height: auto;
    margin: 4px;
}

.navigation_2 {
    text-align: center;
    width: 40px;
}

img#prev, img#next {
    width: 50px;
    height: 50px;
    cursor: pointer;
    pointer-events: none;
}

.demo_card_basic_title{
    font-family: Montserrat-Bold, sans-serif;
    font-size: 20px;
    text-align: center;
    margin: 10px;
    color: #333333;
}

.demo_card_pro_title{
    font-family: Montserrat-Bold, sans-serif;
    font-size: 20px;
    text-align: center;
    margin: 10px;
    color: #333333;
}

.demo_card_basic_description{
    font-family: Montserrat-Regular, sans-serif;
    font-size: 14px;
    text-align: center;
    margin: 6px;
    padding: 0 0 20px 0;
    color: #333333;
}

.demo_card_pro_description{
    font-family: Montserrat-Regular, sans-serif;
    font-size: 14px;
    text-align: center;
    margin: 6px;
    padding: 0 0 20px 0;
    color: #333333;
}

.help_block_title{
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0 0 0;
    background: orange;
    color: white;
    text-shadow: rgb(192, 129, 19) 1px 1px 1px;

}

.help_block_description{
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 33px;
    font-weight: bold;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 20px 0 0 0;
    background: orange;
    color: #333333;
    text-decoration: none;
}

.help_block_description_or{
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 0 0;
    background: orange;
    color: white;
    text-decoration: none;
    text-shadow: rgb(192, 129, 19) 1px 1px 1px;
}

.help_block_telegram_button{
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 40px 0;
    background: orange;
    color: #333333;
    text-decoration: none;
}

.telegram_button {
    display: flex;
    font-family: 'Montserrat-Bold', sans-serif;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 50px;
    background-color: #27a7e7;
    color: white;
    font-size: 16px;
    margin: 0 4px 0 -2px;
}

.telegram_button:hover {
    color: #333333;
    background: white;
}

.telegram_icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.whatsapp_button {
    display: flex;
    font-family: 'Montserrat-Bold', sans-serif;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 50px;
    background-color: #128C7E ;
    color: white;
    font-size: 16px;
    margin: 0 -2px 0 4px;
}

.whatsapp_button:hover {
    color: #333333;
    background: white;
}

/* 404 warning */
.over {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1; /* Поднимаем подложку ниже изображения */
}

.error-image {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: 80%;
}

.notfound {
    font-family: 'Montserrat-Bold', sans-serif;
    text-align: center;
    color: #333333;
    font-size: 2em;
    position: relative;
    z-index: 2;
    padding: 50px;
    max-width: 50%;
    margin: auto; /* Для центрирования блока */
    justify-content: center;
    align-items: center;
    display: flex; /* Изменено на flex для центрирования */
    flex-direction: column;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .notfound {
        font-size: 1.5em; /* Уменьшение размера шрифта на мобильных устройствах */
        padding: 20px; /* Уменьшение отступов */
        max-width: 90%; /* Увеличение максимальной ширины на мобильных устройствах */
    }
}

.notfound p {
    margin-bottom: 20px;
}

.notfound a {
    display: inline-block;
    padding: 10px 20px;
    background-color: orange;
    color: white;
    text-decoration: none;
    border-radius: 100px;
}

.notfound a:hover {
    background-color: #333333;
    color: orange;
}
/* End 404 warning */

/* Адаптация под мобильные устройства */
@media screen and (max-width: 767px) {
    .over {
        background-size: 70%;
    }

    .error-image {
        background-size: 70%; /* Также изменяем размер изображения на мобильных устройствах */
    }

    .notfound {
        font-size: 1.5em;
        padding: 20px;
    }

    .notfound a {
        font-size: 1em;
    }
}
/* End 404 warning */

.site_logo {
    fill: #333333;
}

.hamburger_menu {
    fill: #333333;
}



.header {
    display: flex;
    justify-content: space-between; /* Разделяет элементы на противоположные стороны */
    align-items: center; /* Выравнивает элементы по вертикали */
    padding: 0 0 20px 0;
}

.lang_module {
    background: white;
    padding: 0 6px 0 0;
}

.lang_module button {
    margin-right: 10px; /* Расстояние между кнопками */
    font-size: 16px;
}

.login_module a {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 16px;
    text-decoration: none;
    color: #333333;
    border-radius: 10px;
    /*background: #333333;*/
    margin: 0 20px 0 0;
}





.topnav {
  position: relative;
  margin: 0 auto;
  max-width: 400px;
  overflow: hidden;
}

.topnav a.active {
    display: inline-block;
    color: white;
}

.languages {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0;
    z-index: 10;
}

.languages button {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 14px;
    border: none;
    background: transparent;
    color: #fff2c8;
    padding: 10px 10px;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.languages button.active {
    border-radius: 0;
    color: #333333;
    background: #f8cc7f;
}

.topnav a.icon {
    position: absolute;
    right: 0;
    top: 1px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topnav a.icon svg {
    display: block;
    vertical-align: middle;
}

.topnav #myLinks {
    display: none;
    font-family: 'Montserrat-Bold', sans-serif;
}