/*Адаптация меню 1 порядка на 1280px*/
@media screen and (max-width: 1280px) {   
  .menu > ul {
    /*font-size: 75%;*/
  }
}
@media screen and (max-width: 1130px){
	.footer{
		display: block;
		text-align: center;
	}
	.footer__copyright {
    text-align: center;
}
}
@media screen and (max-width: 992px) {
	html {
		font-size: 90%;
	}
}
/*Адаптируем  меню при разрешении экрана 960px*/
@media all and (max-width: 960px) {
.page_cell_menu{
    padding: 0px;
}
  .menu {
    overflow: hidden;/* Отображается только область внутри элемента, остальное будет скрыто.*/
/*Свойство overflow управляет отображением содержания блочного элемента, если оно целиком не помещается и выходит за область заданных размеров.*/
}
/*Делаем меню блочным на маленьком экране*/
/*Пропишем display: none; для списка в медиазапросе*/
.menu ul{
  /*display: none;*/
  display: block;
  max-height: 0;
  transition: max-height 0.3s;
  -webkit-transition: max-height 0.3s;
  -o-transition: max-height 0.3s;
}
/*Стилизуем содержимое ячеек*/
.menu ul li a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;/*Делаем содержимое кнопок меню горизонтальным*/
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;/*Выравниваем содержимое ячеек по горизонтали*/
          align-items: center;/*Выравниваем содержимое ячеек по вертикали*/
  border-right: 1px solid #b2b3b5;
  border-right: 1px solid #c7c8ca;
  background: rgb 201, 201, 201;
  background-image: #f6f6f6 2%, #c4c5c7 98%, #757577 100%;
  background-image: -o-linear-gradient(#c9c9c9 0%, #f6f6f6 2%, #c4c5c7 98%, #757577 100%);
  background-image: -webkit-linear-gradient(#c9c9c9 0%, #f6f6f6 2%, #c4c5c7 98%, #757577 100%);
  background-image: -o-linear-gradient(#c9c9c9 0%, #f6f6f6 2%, #c4c5c7 98%, #757577 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), color-stop(2%, #f6f6f6), color-stop(98%, #c4c5c7), to(#757577));
  background-image: linear-gradient(#c9c9c9 0%, #f6f6f6 2%, #c4c5c7 98%, #757577 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), color-stop(2%, #f6f6f6), color-stop(98%, #c4c5c7), to(#757577));
  background: -webkit-linear-gradient(#c9c9c9 0%, #f6f6f6 2%, #c4c5c7 98%, #757577 100%);
  background: -o-linear-gradient(#c9c9c9 0%, #f6f6f6 2%, #c4c5c7 98%, #757577 100%);
  background: linear-gradient(#c9c9c9 0%, #f6f6f6 2%, #c4c5c7 98%, #757577 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9c9c9', endColorstr='#757577',GradientType=0 );
  padding: 5px 0 5px 0;
  text-decoration: none;
  color: #454547;
  /*color: #000000;*/
  transition: all 0.3s ease;/*Плавное исчезновение*/
}
/*Делаем шрифт при наведении на текст меню красным*/
.menu ul li a:hover{
  color: #ffffff;
  background: #e0e1e5;
  background: -webkit-linear-gradient(top, #e0e1e5 0%, #454547 2%, #454547 98%, #e0e1e5 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#e0e1e5), color-stop(2%, #454547), color-stop(98%, #454547), to(#e0e1e5));
  background: -o-linear-gradient(top, #e0e1e5 0%, #454547 2%, #454547 98%, #e0e1e5 100%);
  background: linear-gradient(to bottom, #e0e1e5 0%, #454547 2%, #454547 98%, #e0e1e5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e1e5', endColorstr='#e0e1e5',GradientType=0 );
  color: #ffffff;
  -webkit-box-shadow: 1px 5px 10px -5px black;
          box-shadow: 1px 5px 10px -5px black;
          transition: all 0.3s ease;/*плавное появление*/
}
/*Запрещаем перенос слов  и делаем отступы от текста в ячейках главного меню*/
.menu ul li a p {
  padding: 5px;
  white-space: pre;
}
.menu ul li ul{
  z-index: 0000;
}
/*Позиционирование пунктов подменю второй вложенности*/
  .menu li > ul li ul {
    position: absolute;
    right: auto;
    top: auto;
  }
/* Стилизуем кнопку label. Код напишем выше медиазапросов, чтобы эти стили применялись изначально, когда страница загружается:
*/
.menu label.togglemenu {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  width: 90px;
  height: 30px;
  margin-left: 55px;
  margin-top: 15px;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
  background: #0079ae;
  border-radius: 5px;
  
}
.menu label.togglemenu:hover{
  opacity: 0.8;
}
  /*Стилизация лэйбла  кнопки  меню при щелчке*/
  input.togglemenu:checked + label.togglemenu {
    background: #00658b;
    color: #fff;
  }
  /*Стилизация гамбургера при щелчке*/
   input.togglemenu:checked +  label.togglemenu img{
    -webkit-filter: brightness(10);
  }
  /*Раскрытие главного меню при нажатии на кнопку -  отбираем щелчек по кнопке */
  input.togglemenu:checked ~ ul,
  input.toggleSubmenu:checked ~ ul {
    display: block;
    position: relative;
    max-height: 5000px;
    -webkit-transition: max-height 2s ease-in;
    -o-transition: max-height 2s ease-in;
    transition: max-height 2s ease-in;
  }
.menu ul li a{
  justify-content: flex-start;
  -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
     -ms-flex-pack: start;
     padding-left: 10px;/*с отступом в 10 px*/  
}
/*ВЛОЖЕННЫЕ ПУНКЫ*/
/*2. Отображаем пункты по щелчку. Для этого отбираем label  в Submenu:*/
.menu label.toggleSubmenu {
   position: absolute;/*Позиционируем абсолютно*/
   top: 0;/*с нулевыми значениями*/
   right: 0;/*с нулевыми значениями*/
   width: 100%;/*растягиваем на всю ширину*/
   height: 100%;/*делаем максимальной высоту*/
   cursor: pointer;/*курсор-рука*/
   display: block;/*делаем блочным*/
  }
    /*Изменение цвета кнопкок подменю при нажатии на маленьком экране*/
  input.toggleSubmenu:checked ~ a {
    background: #454547;
    color: #fff;
  }
  /*меняем цвет картенки при нажатии на кнопки меню на маленьком экране*/
 input.toggleSubmenu:checked ~ a img{
    -webkit-filter: brightness(10);
  }
.menu ul li a img {
    display: block;
    margin: 0;
    padding-left: 5px;
    max-width: 18px;
    height: auto;  
}

/*ВЛОЖЕННЫЕ ПОДПУНКЫ*/
.menu label.toggleSubmenu .fa:before{
  content: "\f0d7";
  color: #454547;
 }
 .menu label.toggleSubmenu .fa{
  position: absolute;
  top: 15px;
  right: 30px;
 }
.menu input.toggleSubmenu:checked ~ label.toggleSubmenu .fa::before{
  content: "\f0d8";
  color: #ffffff;
 }
 .header{
    border-bottom: none;
  }
}
@media screen and (max-width: 850px) {
  .all-content-row{
     flex-direction: column;
     align-items: center;
     max-width: 100%;
}
#content-block{
  width: 100%;
}
#sidebar-right{
   width: 100%;
  } 
}
@media screen and (max-width: 768px) {
	.nav__list {
		display: none;
	}
	.nav__list--open,
	.nav__btn {
		display: block;
	}
	.nav__link {
		padding: 1rem;
		display: inline-block;
	}
  .inner-top-line{
  justify-content: center;
}
.registration-box{
  margin-left: 70px;
}
.d-flex{
  flex-direction: row;
}
.col-mb{
flex-grow: 1;
}
/*для страницы свадьба*/
.flex_box{
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
}
@media screen and (max-width: 695px){
  .fixed {        
    position:fixed;
    top:0px;
    top:65px;
    left:0;
    width:100%;
    -moz-box-shadow: 5px 5px 20px #333;
    -webkit-box-shadow: 5px 5px 20px #333;
    box-shadow: 5px 5px 20px #333;
}
.header{
  margin-top: 65px;
}
}
@media screen and (max-width: 600px){
	.inner-items-list{
		flex-direction: column;
		justify-content: center;
	}
	.name-list h4{
		text-align: center;
	}
	.name-list h3{
		text-align: center;
	}
	.header{
		display: block;
	}
  .menu label.togglemenu {
    margin-left: 30px;
  }
  p.header-title{
    margin-top: 0;
  }	
	.header__logo,
	.header__contact {
		float: none;
		text-align: center;
	}
	.header__contact {
		/*margin-top: 1rem;*/
	}
	.slider__item {
		padding-top: 16rem;
	}
	.grid__item {
		float: none;
	}
	.advantage {
		display: block;
	}
	.advantage__item {
		margin-bottom: 2rem;
	}
	.grid__item,
	.advantage__item {
		width: 100%;
		margin-right: 0;
	}
	 .all-content-row{
     flex-direction: column;
     justify-content: center;
     align-items: center;
     max-width: 100%;
}
span #genpass{
  display: none;
}
/*шаги в корзине товаров*/
#name-step ul{
  display: block;
  text-align: left;
}
#name-step ul li span{
  display: none;
}
/*==============================меняем корзину==========================================================*/

 span.count{
  display: none;
}
p.data-price{
  display: none;
}
span.little-count{
  display: block;
  text-indent: 0;
    display: block;
    width: 1.7em;
    height: 1.7em;
    margin-left: 20px;
    margin-top: -14px;
    line-height: 1.8;
    box-sizing: content-box;
    font-size: .75em;
    position: absolute;
    border-radius: 100%;
    border: 1px solid #e31837;
    text-align: center;
    background-color: #ffffff;
    color: #e31837;
    font-weight: bold;
}
#block-basket {
    background-color: #ffffff;
    margin: 0 15px 0 0;
}
a.text-cart{
  align-items: center;
  padding: 8px;
  margin-right: 5px;
  margin-left: 5px; 
  text-decoration: none;
  color: #ffffff;
  white-space: pre;
  background-color: #e31837;
  border-radius: 50%;
}
.korzina{
  margin-right: 2px;
}




}
@media screen and (max-width: 480px) {
/*блок с информацией о товаре*/
#block-content-info{
  /*flex-direction: column;
  align-items: center;
  justify-content: center;*/
}
img.info-image{
width: 148px;
height: 148px;
}
#phone img {
    display: block;
}
#viber img, #mts img, #watsapp img{
    display: none;
  }
  img.logo__picture{
    width: 120px;
    height: auto;
  }
}
@media screen and (max-width: 359px){
  #contact p {
    display: none;
  }
  #contact a{
    margin-left: 5px;
    margin-right: 5px;
  }
}
