

#h1_none{
	display:none;
}

#videoplay {
    width: 100%;
    height: 100%;
}

.ymaps-2-1-79-map:nth-child(2) {
    display: none;
}

@media only screen and (max-width: 599px) {
.K {
	display: none;
}
}

@media screen and (min-width: 1024px) {
  .footer__container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important; /* Выравнивание элементов по центру */
    padding: 20px !important;
  }

  .footer__text {
    width: 50% !important; /* Половина контейнера для текста */
  }

  .footer__text__contact,
  .footer__text__addition {
    margin-bottom: 20px !important;
  }

  .footer__logo__map {
    width: 45% !important; /* Половина контейнера для логотипа и карты */
  }

  .footer__map {
    width: 100% !important;
    height: 250px !important;
    border: 1px solid #ccc !important;
  }

  /* Дополнительные стили по необходимости */
  .footer__title {
    font-weight: bold !important;
    color: #fff !important;
  }

  .footer__text__contact button {
    background-color: #3498db !important;
    color: #fff !important;
    padding: 10px 15px !important;
    border: none !important;
    cursor: pointer !important;
  }

  .footer__text__addition span {
    display: block !important;
    margin-bottom: 10px !important;
  }
  
  #about--title{
    padding-right: 2vw;
  }
}
@media screen and (max-width: 768px) {
    #onas{
        display:block;
    }
}
.footer__text__contact span, .footer__text__addition span {
    font-size: 16px !important;
}
/* сверху до сюда - это доп стили */

#result {
  overflow: hidden;
  height:30.5rem;
  cursor: pointer;
}

@media only screen and (max-width: 599px) {
	#result {
	  height:43rem;
	}
}

#result iframe {
  border: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
}


.d-block{
    display:inline-block !important;
}

@media only screen and (max-width: 599px) {
    #H {
        display: none; /* Скрываем h2 на маленьких экранах */
    }
	}
	@media only screen and (min-width: 600px) {

    #HH {
        display: none;
    }
}


.custom-modal-body {
            height: 100vh;
            overflow: hidden;
            margin: 0;
            background-size: cover;
        }

        .custom-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85); 
            display: none;
            z-index: 1000000;
        }

		.custom-modal {
			width: 80%;
			max-width: 650px; 
			margin: auto;
			position: fixed;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%) scale(0);
			background: #fff;
			border-radius: 10px;
			z-index: 10000000;
		}


        .custom-modal.show {
            transform: translate(-50%, -50%) scale(1);
            transition: transform 0.5s;
        }

		.custom-modal .header {
			min-height: 200px;
			border-radius: 10px 10px 0 0;
			position: relative;
			margin-bottom: 20px; /* Новый стиль для задания расстояния между header и content */
		}
		
		@media only screen and (min-width: 500px) and (max-width: 700px) {
			.custom-modal .content {
				padding: 80px 20px 20px !important;
			}
		}



        .custom-modal img {
            position: absolute;
        }
		.des{
		color:black;
		}
        .custom-modal img:nth-child(1) {
            top: -160px;
            width: 90%;
            left: 5%;
            opacity: 0;
            transform: translate(0, 70px);
            transition: 0.7s;
        }

        .custom-modal img:nth-child(2) {
            top: 170px;
            transform: rotate(80deg);
            width: 100px;
            left: -50px;
            opacity: 0;
            transition: 1s;
        }

        .custom-modal img:nth-child(3) {
            transform: rotate(-80deg);
            bottom: -90px;
            width: 120px;
            right: -40px;
            opacity: 0;
            transition: 1s;
        }

		.custom-modal .content {
			padding: 20px;
			min-height: 100px;
			border-radius: 0 0 10px 10px;
			opacity: 0;
			transition: 0.5s;
			transition-delay: 0.2s;
			margin-top: 20px; /* Новый стиль для задания расстояния между header и content */
		}

		
		@media only screen and (min-width: 701px) {
			.custom-modal .content {
				padding: 150px 20px 20px !important;
			}
		}

        .custom-modal .content .cancel {
            background-color: #d41717;
            color: #fff;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .custom-modal .content .cancel:hover {
            background-color: #D32F2F;
        }

        .custom-modal .confirm {
            text-align: center;
            margin-top: 30px;
        }

        .custom-modal .content label,
        .custom-modal .content button {
            display: inline-block;
            border: none;
            padding: 10px;
            margin: 0 10px;
        }

        .custom-modal .content label {
            background-color: #ffffff4D;
        }

        .custom-modal .content button {
            background-color: #986FEA;
        }

        .custom-modal input[name="setingModal"] {
            display: none;
        }

        .custom-modal.show .header img:nth-child(1) {
            opacity: 1;
            transform: translate(0, 0);
            transition-delay: 0.3s;
        }

        .custom-modal.show .header img:nth-child(2) {
            opacity: 1;
            transform: rotate(-20deg);
            transition-delay: 0.5s;
            top: -240px;
        }

        .custom-modal.show .header img:nth-child(3) {
            opacity: 1;
            transform: rotate(20deg);
            transition-delay: 0.5s;
            top: -15px;
        }

        .custom-modal.show .content {
            transition-delay: 0s;
            opacity: 1;
        }

		.custom-modal .content .des {
			word-wrap: break-word;
		}



#G{
display: flex;
}
@media (max-width: 770px) {
	#G{
	display: block;
	}
}

#ozon {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#ozon th, #ozon td {
    border: 1px solid #dddddd;
    padding: 8px;
    text-align: left;
}



@media (max-width: 600px) {

    #ozon thead, #ozon tbody, #ozon th, #ozon td, #ozon tr {
        display: block;
    }

    #ozon thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #ozon tr {
        margin-bottom: 15px;
    }

    #ozon td {
        width: auto;
        display: block;
        border: none;
        border-bottom: 1px solid #8e8989;
        position: relative;
        padding-left: 60%;
    }

    #ozon td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        white-space: nowrap;
    }

#ozon td:nth-of-type(1):before {
    content: "Объем:";
    font-weight: bold;
}

#ozon td:nth-of-type(2):before {
    content: "Стоимость, руб:";
    font-weight: bold;
}

#ozon td:nth-of-type(3):before {
    content: "Стоимость с НДС, руб:";
    font-weight: bold;
}

    /*#ozon td:nth-of-type(1):before { content: "Объем:"; }*/
    /*#ozon td:nth-of-type(2):before { content: "Стоимость, руб:"; }*/
    /*#ozon td:nth-of-type(3):before { content: "Стоимость с НДС, руб:"; }*/
}



@media only screen and (min-width: 700px) {
    th[colspan="7"] {
        white-space: nowrap;
    }

    th[colspan="7"]:before {
        content: "\A"; /* вставляем символ новой строки перед текстом */
        white-space: pre;
    }

 
#mkad {
        width: 100%;
		margin: 20px auto;
    }
}
}

@media only screen and (max-width: 599px) {
#mkad {
	display: none;
}

}

	@media only screen and (min-width: 600px) {
    #mkad2 {
        display: none;
    }
	    #ozon {
        display: none;
    }
	}


/* Всплывающее окно при загрузке сайта */
/* базовый контейнер, фон затемнения*/
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.87);
    z-index: 999999999;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}
/* модальный блок */
.popup {
    top: 25%;
    left: 0;
    right: 0;       
    font-size: 14px;
    margin: auto;
    width: 85%;
    min-width: 320px;
    max-width: 800px;
    position: absolute;
    padding: 15px 20px;
    border: 1px solid #383838;
    background: #fefefe;
    z-index: 1000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
	-webkit-animation: slideIn .6s ease-out; /* выпадание сверху */
    -moz-animation: slideIn .6s ease-out; /* выпадание сверху */
    animation: slideIn .6s ease-out; /* выпадание сверху */
}
/* заголовки в модальном блоке */
.popup h2, .popup h3 {
    margin: 0 0 1rem 0;
    font-weight: 300;
    line-height: 1.3;
    color: #39423c;
    text-shadow: 1px 2px 4px #ddd;
}
/* кнопка закрытия */
.close {
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    position: absolute;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(103, 116, 115, 0.9);
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;

}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
/* кнопка закрытия при наведении */
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
}

/* выпадание сверху */
@-webkit-keyframes slideIn {
    from {
        top: -100%;
        opacity: 0;
    }
    to {
        top: 25%;
        opacity: 1;
    }
}

@-moz-keyframes slideIn {
    from {
        top: -100%;
        opacity: 0;
    }
    to {
        top: 25%;
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        top: -100%;
        opacity: 0;
    }
    to {
        top: 25%;
        opacity: 1;
    }
}
/* конец модального окна */


.header__item {
  display: inline-flex; /* Или display: inline-block; */
  gap: 12px;
}
/* Добавим перенос на маленьких экранах */
@media (max-width: 480px) {
    .header__item {
        flex-wrap: wrap;
    }
}

.buttons-container {
  display: flex;
  gap: 10px;
}

.fixed-width {
  width: 300px; /* Установите нужную фиксированную ширину */
}

.form-link {
	flex: 1;
	text-decoration: none;
}

#ordercall {
	flex: 0 0 auto;
}

.iframe-container {
  width: 100%;
  height: 1900px; /* Установите желаемую фиксированную высоту */
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
}


@media (max-width: 1023px) {
	.buttons-container .header__item{
		flex-direction: column;
		
	}
	
	form.small {
	  border-radius: 0px;
	}
	
	.custom-list li {
		font-size: 12px !important;
	}

	.form-link,
	#ordercall {
		flex: 1;
		margin-bottom: 10px;
		width: 170px;
	}
	
	.buttons-container .header__item__button {
		height: 40px;
		white-space: wrap;
		font-size: 12px !important;
		width: 270px !important;
	}
	
	.wrapper__form {
		margin: 10px 0 10px 0 !important;
		}
	.iframe-container {
	  height: 3225px !important; /* Установите желаемую фиксированную высоту */
	}
	.mainn {
		margin: 10px 0 !important;
	}
	
	.wrapper__form {
		text-align: left;

	}
	
	#contacts a {
    font-size: 18px;

	}

	.wrapper {
		align-items: normal;

	}
	.buttons-container {
  display: flex;
  justify-content: center; /* Выравнивание по горизонтали по центру */

}
}
@media screen and (min-width: 1024px) {
    .buttons-container .header__item.grid3 button#First {
        display: none;
    }
	
	 .calcs{
		margin: 20px 10% 20px 10%;
	  }
	  	 .about__text{
		margin: 50px 7% 20px 2%;
	  }
	  .about__centres{
		margin: 100px 10% 20px 10%;
	  }
	  .about__coop{
		margin: 50px 10% 20px 10%;
	  }
}
	
/* Основные стили для мобильных устройств */
.table-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center; /* Добавлено для выравнивания по центру */
	width: 100%;/* Добавлено 31-10-2023 */
}

#calculate_form {
    margin: 20px 5% 10px 5% !important;
}

/* Медиа-запросы для адаптации таблицы на различных устройствах iPhone */

/* iPhone 6/7/8 и SE */
@media (min-width: 375px) and (orientation: portrait) {
    .table-container {
        flex-direction: column; /* Меняем направление на вертикальное */
    }
}

/* iPhone 6/7/8 Plus */
@media (min-width: 414px) and (orientation: portrait) {
    .table-container {
        flex-direction: column;
    }
}

/* iPhone X и XR */
@media (min-width: 375px) and (min-height: 812px) and (orientation: portrait) {
    .table-container {
        flex-direction: column;
    }
}

/* iPhone 12 Pro */
@media (min-width: 390px) and (min-height: 844px) and (orientation: portrait) {
    .table-container {
        flex-direction: column;
    }
}



table {
    border-collapse: collapse;
    overflow: hidden;
    margin-top: 20px;
    width: 30%; /* Ширина каждой таблички */
}

th, td {
    color: black;
    padding: 10px;
    text-align: center; /* Выравнивание текста по центру */
    border: 1px solid #CCCCCC; /* Тонкая серая линия вокруг ячеек */
    vertical-align: middle; /* Выравнивание по вертикали по центру */
}

th {
    background-color: #ce1018; /* Красный цвет фона */
    color: #FFFFFF; /* Белый цвет текста */
    border-bottom: 2px solid #FFFFFF; /* Белая линия под шапкой */
}

tr:nth-child(even) {
    background-color: #f2f2f2; /* фон для четных строк */
}

tr:nth-child(odd) {
    background-color: #e0e0e0; /* фон для нечетных строк */
}

table {
    border: 1px solid #CCCCCC; /* Тонкая серая линия вокруг таблицы */
    border-radius: 10px; /* Округлые углы таблицы */
}
	@media only screen and (max-width: 400px) {
    #minikol1 {
        display: none;
    }
	#minikol2 {
        display: none;
    }
	#minikol3 {
        display: none;
    }
}

	@media only screen and (max-width: 799px) {
    #mkadkol {
        display: none;
    }

}
/* Медиа-запрос для мобильных устройств с шириной экрана до 767px */
@media (max-width: 1024px) {
  .calcs {
    display: block; /* Используйте display: block; или любое другое значение, подходящее для вашего дизайна */
  }
}


  #iframeContainer {
    display: flex;
    align-items: center;
    justify-content: center;

  }

  iframe {
    max-width: 100%;
    max-height: 100%;
    border: none;
  }
  
  #preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 1;
	transition: opacity 1s ease;
}

/* -- красная линия под ссылками --*/
@keyframes btn-anim1 {
    0%{
        left: -100%;
    }
    50%, 100%{
        left: 100%;
    }
}
#links2 a span:nth-child(2){
    bottom: 2px;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000);
    animation: btn-anim1 2s linear infinite;
}

.goup {
    position: fixed;
    width: 60px;
    height: 50px;
    bottom: -50px;
    background: #db1514;
    border-bottom: none;
    right: 10px;
    z-index: 99;
    visibility: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
    text-align: center
}

.goup span {
    color: #f7f1ed;
    font-size: 50px;
    padding: 5px 0 0
}

.goup.show {
    bottom: 0;
    visibility: visible;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease
}


#back{
    display:none;
}

.crop {
  width: 100%;
  height: 200px; /* Высота видимой области */
  overflow: hidden;
  position: relative;
}

.crop iframe {
  border: none;
  position: absolute;
  width: 100%;
  height: 1000px; /* Высота всего iframe */
  top: -800px; /* Смещение верхней части iframe */
}



@media (max-width: 770px) {
	.mkad{
	display: none;
	}
}
@media only screen and (min-width: 770px) {
#miniel1 {
	display: none;
}
#miniel2 {
	display: none;
}
#miniel3 {
	display: none;
}
}
@media only screen and (min-width: 770px) {
#minikol1 {
	display: none;
}
#minikol2 {
	display: none;
}
#minikol3 {
	display: none;
}
}
#mkad tr:first-child td[colspan="2"],
#mkad tr:first-child td[colspan="4"],
#mkad tr:first-child td[colspan="6"] {
  background-color: #ce1018; /* Цвет фона */
  color: #FFFFFF; /* Цвет текста */
  font-weight: bold; /* Жирный шрифт, если нужно выделить текст */
}
#mkad tr:first-child td#red {
  background-color: #ce1018; /* Цвет фона */
  color: #FFFFFF; /* Цвет текста */
  font-weight: bold; /* Жирный шрифт, если нужно выделить текст */
}

.custom tbody tr:nth-child(1) td:nth-child(0),
.custom tbody tr:nth-child(1) td:nth-child(1),
.custom tbody tr:nth-child(2) td:nth-child(0),
.custom tbody tr:nth-child(2) td:nth-child(1),
.custom tbody tr:not(:first-child):not(:nth-child(0)) td:nth-child(0),
.custom tbody tr:not(:first-child):not(:nth-child(1)) td:nth-child(1) {
    background-color: #f2f2f2; /* Цвет для 0 колонки */
	font-weight: 600;
}

.custom tbody tr:nth-child(1) td:nth-child(2),
.custom tbody tr:nth-child(1) td:nth-child(3),
.custom tbody tr:nth-child(2) td:nth-child(2),
.custom tbody tr:nth-child(2) td:nth-child(3),
.custom tbody tr:not(:first-child):not(:nth-child(2)) td:nth-child(2),
.custom tbody tr:not(:first-child):not(:nth-child(2)) td:nth-child(3) {
    background-color: #ff66b11f; /* Цвет для 1 колонки */
}

.custom tbody tr:nth-child(1) td:nth-child(4),
.custom tbody tr:nth-child(1) td:nth-child(5),
.custom tbody tr:nth-child(2) td:nth-child(4),
.custom tbody tr:nth-child(2) td:nth-child(5),
.custom tbody tr:not(:first-child):not(:nth-child(2)) td:nth-child(4),
.custom tbody tr:not(:first-child):not(:nth-child(2)) td:nth-child(5) {
    background-color: #dcd9ff9c; /* Цвет для 2 колонки */
}

.custom tbody tr:nth-child(1) td:nth-child(6),
.custom tbody tr:nth-child(1) td:nth-child(7),
.custom tbody tr:nth-child(2) td:nth-child(6),
.custom tbody tr:nth-child(2) td:nth-child(7),
.custom tbody tr:not(:first-child):not(:nth-child(2)) td:nth-child(6),
.custom tbody tr:not(:first-child):not(:nth-child(2)) td:nth-child(7) {
    background-color: #ffedd99c; /* Цвет для 3 колонки */
}

