/* IE10+ CSS styles go here */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
	main {
		flex: none;
	}
}
/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {
	.poisk_site input[type="text"] {width: 205px;}
	.korzina_cont {width: 270px;}

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
	
	/*бекграунд страницы*/
	body {
		background-image: none;
		font-family: Segoe UI, arial, sans-serif;
		/*background-color: rgba(246,241,233,.85);*/
		padding: 0;
		margin: 0;
		display: flex; 
		min-height: 100vh; 
		flex-direction: column;	
	}
	
	/*оформление header в мобильной версии*/
	.header-mobile__div {
	}
	
	/*бекграунд пространства меню верхнего горизонтального*/
	.header-menu__div-background {
		background-image: none;
	}
	
	/*бекграунд меню верхнего горизонтального*/
	.navbar-gorizont__nav {
		/*background: url("../images/bg-gorizont-top-mobile.png") center repeat-y;*/
	}
	
	/*бекграунд содержательной части*/
	.content__div-background {
		background-image: none;
	}
	
	/*бекграунд верха содержательной части*/
	.content__div-background-top {
		background-image: none;
	}
	
	/*бекграунд низа содержательной части*/
	.content__div-background-bottom {
		background-image: none;
	}
	
	/*Содержательный блок посередине*/
	.content_div-content {
		background-color: transparent;
	}


	/*Контейнер вокруг поиска*/
	.search-box__div {
		padding: 0px 0px 0px 0px;
	}
	
	.header__div {
		position: relative;
		background-image: none;
	}
	
	/*размеры в трикотаже*/
	.size_all input[type="radio"] + label {
		font-size: 16px;
	}
	
	/*Кнопка купить*/
	#cart span{
		font-size: 15px; 
		padding: 7px 13px;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {

	/*Верхнее меню чтобы было одинаково с горизонтальным*/
	.navbar-top__div-link-1 {
		font-size: 16px;
		line-height: 21px;
		padding: 10px 35px 10px 20px;
	}

	
	/* ВЕРХНЕЕ МЕНЮ */
	.navbar-top__div {
		display: none;
	}
	.navbar-top__div-title {
		display: inline-block;
	}
	
	/* ГОРИЗОНТАЛЬНОЕ МЕНЮ */
	.navbar-gorizont__nav {
		/*display: none;*/
	}
	.navbar-gorizont__div-title {
		display: inline-block;
	}
	.navbar-gorizont__div-list {
		width: 100%;
	}
	.navbar-gorizont__div-a > br {
		display: none;
	}
	.navbar-gorizont__div-list-2 {
		left: 0; 
		position: static;
		width: 100%;
	}

	/*вертикальное меню*/
	/* заголовок КАТАЛОГ вертикального меню -  */
	.navbar-vertical__div-title {
		display: flex;
	}

	/*видимый только на малых экранах заголовок поисковых фильтров*/
	.navbar-vertical__div {
		/*display: none;*/
	}
	.search-filters__div {
		display: none;
	}

	/*подразделы в шахматном порядке*/
	.layer-chess__div-img {
		height: 300px;
		background-size: cover;
		background-position: center;
	}
	
	
	/*Карточка товара*/
	#position td {
		display: inline-block; 
		width: auto;
	}
	#position td:first-child {
		padding-right: 0px;
	}

	/*товары - спутники */
	.carousel-sputnik__div-item-border {
		border: 0px solid gray;
	}
	
	/*Есть только в таблице изменения данных заказчика в кабинете*/
	.order_table tr {
		display: block;
	}
	.order_table tr:nth-child(2n+1) {
		background: #f8f8f8;		
	}
	table.order_table tr:last-child {
		background: transparent;
	}
	.order_table td {
		display: block; 
		padding: 5px 0px; 
		margin-left: -.36em;
	}
	.order_table_header td {
		display: none !important;
	}
	.order_table td:nth-child(3),
	.order_table td:nth-child(4),
	.order_table td:nth-child(5),
	.order_table td:nth-child(6) {
		display: inline-block;
		width: 25.4%;
		vertical-align: top;
		height: 70px;
		text-align: left;
		margin-left: -.36em;
	}
	.order_table td:nth-child(3) {
		width: 20.4%
	}
	.order_table td:nth-child(4) {
		width: 28.4%
	}
	a.button {
		margin-top: 15px; 
		padding: 0 8px;
	}
	.order_cost {
	    font-size: 16px;
	    padding: 0 2px;
	}
	.all_cost {
		text-align: right;
	}
	.korz_mob {
		display: inline-block; 
		color: #898888;
	}
	.order_table_kontakt td {
		display: block; 
		text-align: left !important; 
		font-weight: normal !important; 
		padding: 3px 6px;
	}
	.info_dost p {
	    margin: 10px 0;
	}
	label.error {
        display: block;
        margin-top: 5px;
    }
    .er_mail label.error {
	    float: none;
	}
}
@media only screen and (max-width : 666px) {
	
	/*Контейнер внизу*/
	.order-form__div {
		width: 320px;
	}
	
	/*Заголовок формы*/
	.order-form__div-chapter {
		font-size: 16px;
		line-height: 19px;
		padding: 0px 10px 31px 10px;
	}
	
	/*область формы*/
	.container-order__div {
		margin: 0px;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 526px) {
	h1 {
		margin-top: 0;
	}
	h1.chapter {
		display: none;
	}
	/*Общий div в котором все содержится - padding - 25px*/
	.callback-form__div {
		width: 350px;
	}
	/*div в котором содержится форма*/
	.callback-form {
		width: 300px;
	}

	.youtube__iframe {
		width: 360px;
		height: 202px;
	}

	
	/*Корзина заказов*/
	/*Общий div корзин*/
	#basket {
		border: 0px solid gray;
	}
	#basket div.row {
		margin-bottom: 0.5rem;
	}
	
	/*первая строка заголовков таблицы*/
	#basket div.row:first-child {
		display: none;
	}
	
	/*Ячейки таблицы*/
	#basket div.row > div {
		border-right: 0;
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 360px) {
	
	.youtube__iframe {
		width: 300px;
		height: 180px;
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
	
	/*размер iframe видео с youtube*/
	.youtube__iframe {
		width: 250px;
		height: 140px;
	}
	
	/*Заявка на звонок*/
	.callback-form__div {
		width: 310px;
	}
	.callback-form {
		background: white;
		border-radius: 0px;
		width: 260px;
		color: #041c36;
	}
	
	#minicart,
	#item_in_cart {
		/*display: none;*/
	}
}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 527px) {
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}