.headmenu ul {
	text-transform: initial;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding-left: 0;
}
.headmenu li {
	display: block;
	padding: 1rem;
	margin: 0;
}
.desklogo{
	width: 1050px;
	height: 102px;
}
.moblogo{
	display: none;
}
img{
    max-width: 100% !important;
}
/* скрываем чекбокс */
#menu__toggle {
  opacity: 0;
}/* стилизуем кнопку */
.menu__btn {
  display: flex; /* используем flex для центрирования содержимого */
  align-items: center;  /* центрируем содержимое кнопки */
  position: fixed;
  top: 20px;
  left: 20px;  width: 26px;
  height: 26px;  cursor: pointer;
  z-index: 1;
}/* добавляем "гамбургер" */
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  position: absolute;  
  width: 100%;
  height: 2px;  
  background-color: #000; /*#616161*/
  display: none;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}
/* контейнер меню */

.menu__item {
  display: block;
  color: #333;  
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 600;  text-decoration: none;
}
.menu__item:hover {
  background-color: #CFD8DC;
}
#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
}
/*
.image{
  display: block;
  width: 100%;
  margin-top: 1rem;
}
.image img {
  position: relative;
  top: 0;
  left: initial;
  border-radius: 15px;
  box-shadow: 5px 5px 5px #555555;
}
*/
.desklogo, .moblogo{
  text-align: left;
  width: 1050px;
  height: 102px;
}
.mobblock{
  display: none;
}
.content{
    padding-top: 1rem;
    padding-left: 0;
    float: none;
    margin: 0 auto;
    max-width: 1150px;
    width: auto;
}
.header{
    padding-left: 0;
    float: none;
    margin: 0 auto;
    height: auto;
    text-align: center;
    width: auto;
  }
.headmenu{
    margin: 0 auto;
    max-width: 1120px;
    width: auto; 
  }
.contenttext, .contenttext2 {
    background-color: #273c6d;
    width: 964px;
    color: #cccccc;
    padding-bottom: 10px;
    padding-top: 1rem;
    float: initial;
    border-radius: 0 0 15px 15px;
    margin: 0 auto;
}
.contenttext2{
    border-radius: 15px;
}
#producty, #producty2{
    position:relative;
}
#dopmenu, #dopmenu2{
    display:none;
	position: absolute;
	z-index: 5;
	border-radius: 0;
	top: 3.3rem;
	width:280px;
}
#producty:hover #dopmenu{
    display:block;
}
#producty2:hover #dopmenu2{
    display:block;
}
.headmenu #dopmenu li, .headmenu #dopmenu2 li{
    padding: 0.5rem 1rem;
}
.headmenu #dopmenu li a, .headmenu #dopmenu2 li a{
    font-size:15px;
    font-weight:500;
}
.rightkontakt {
    font-weight: bold;
    font-size: 14px;
    /*position: fixed;
    top: 6rem;
    right: 2rem;
    left: initial;*/
    text-align: center;
    width: 220px;
    color:#fff;
}
.rightkontakt{
    position: relative;
    top:initial;
    left: initial;
    right: initial;
    margin: 0 auto;
    display: block;
    width: auto;
    max-width: 1120px;
    padding: 0 1rem;
  }
.contacts{
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .contacts-item:first-child, 
  .contacts-item:nth-child(3), 
  .contacts-item:nth-child(4), 
  .contacts-item:nth-child(7){
    display: none;
  }
  .contacts-item {
    align-items: center;
    display: flex;
  }
.image{
    display: none;
  }
  .contacts-item h3{
    color: #fff;
  }
.contentmenu, .contentmenutext{
    height:220px;
}
#post a{
    font-size:20px;
}
@media screen and (max-width: 1300px){
  #wrapper{
    width: 100%;
  }
  /*
  .header{
    padding-left: 0;
    float: none;
    margin: 0 auto;
    height: auto;
    text-align: center;
    width: auto;
  }
  
  .headmenu{
    margin: 0 auto;
    max-width: 1120px;
    width: auto; 
  }
  
  .rightkontakt{
    position: relative;
    top:initial;
    left: initial;
    right: initial;
    margin: 0 auto;
    display: block;
    width: auto;
    max-width: 1120px;
    padding: 0 1rem;
  }
  
  .contacts{
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .contacts-item:first-child, 
  .contacts-item:nth-child(3), 
  .contacts-item:nth-child(4), 
  .contacts-item:nth-child(7){
    display: none;
  }
  .contacts-item {
    align-items: center;
    display: flex;
  }
  
  .contacts-item h3{
    color: #fff;
  }
  
  .image{
    display: none;
  }
  */
  
  
  .contenttext2 {
    margin-top: -10px;
    z-index: 6;
    position: relative;
  }
  .contenttext2 h1{
    margin: 0 20px 15px;
  }
}

@media screen and (max-width: 1050px) {
	#wrapper, .contenttext, .contenttext2{
		width: 100%;
	}
	.header{
		width: 100%;
		height: auto;
		padding-left: 0;
	}
	.headmenu{
		width: auto;
	}
	.headmenu li{
		width: auto;
    padding: 0;
	}
	.desklogo{
		display: none;
	}
	.moblogo{
		display: block;
		width: auto;
		max-width: 80%;
    margin: 2rem auto 0;
	}
	.menu__item {
		padding: 1rem;
    font-size: 15px;
    font-weight: 500;
	}
  .footer{
    width: 100%;
    padding: 0;
    float: initial;
    max-width: 100%;
    height: auto;
  }
  .footer p{
    margin: 0;
    padding: 1rem;
  }
}
@media screen and (max-width: 968px) {
  .menu__box {
  display: block;
  position: fixed;
  visibility: hidden;
  top: 0;
  left: -100%;  
  width: 280px;
  height: auto;  
  margin: 0;
  padding: 2px 0;  
  list-style: none;
  text-align: center;  background-color: #ECEFF1;
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  z-index: 19;
}/* элементы меню */

  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after{
    display: block;
  }
  .menu__btn{
    top: 90px;
    z-index: 20;
    left: 0; /*12px*/
    padding: 5px 8px 5px 12px;
    background-color: #eee;
  }
  #menu__toggle:checked ~ .menu__btn{
    top: 0;
  }
  .headmenu ul{
    width: 280px;
    border-radius: 0;
  }
  .headmenu ul li{
    width: 100%;
  }
  #dopmenu{
      display:block;
      position:relative;
      top:inherit;
      margin-bottom:0;
  }
  .menu__item{
    padding: 0.5rem 1rem 0.5rem 60px;
    border-bottom: 1px solid #000;
    font-size:13px;
  }
  /*
  .menu__box ul {
      list-style-type: square !important;
      list-style: square outside !important;
    list-style-type:circle;
}*/
  .menu__btn > span, .menu__btn > span::before, .menu__btn > span::after{
    width: 20px;
  }
  #dopmenu{display:block;}
  #dopmenu2{display:none;}
  .headmenu ul{
      box-shadow:none;
  }
    .headmenu #dopmenu li, .headmenu #dopmenu2 li {
        padding: 0;
    }
    #dopmenu, #dopmenu2{
        position: relative;
        top:0;
    }
    #dopmenu .menu__item, .headmenu #dopmenu li a{
      font-size: 13px;
      font-weight: 400;
  }
  #producty2:hover #dopmenu2{
    display:none;
}

}
@media screen and (max-width: 768px){
  img{
    max-width: 100%;
  }
  
  .header{
    overflow-x: hidden;
  }
  
  .contenttext, .contenttext2{
    max-width: 100%;
    width: 100%;
    padding-top: 1rem;
    border-radius: 0;
  }
  .moblogo{
    margin: 1rem auto;
    height: 40px;
  }
  .contentmenutext{
    width: 60%;
  }
  .slides{
    left: 60%; 
  }
  .contenttext2 h1{
    margin: 1rem 1.2rem;
  }
  .contentmenu{
    height: 300px;
  }
    .contentmenu ul li a {
    	display: inline-block;
    	margin-top: 0.8rem;
    }
}
@media screen and (max-width: 580px) {
  .contacts{
    flex-wrap: wrap;
    font-size: 13px;
    text-shadow: 1px 1px 3px #000;
  }
  .contacts-item h3 {
    color: #fff;
    margin: 0.5rem 0;
  }
  .menu__btn{
    top: 85px;
  }
  .moblogo {
    margin: 0.2rem auto 1rem;
  }
  .contentmenutext{
    width: 100%;
    display: block;
    float: initial;
    height: auto;
  }
  .contentmenu{
    height: auto;
  }
  .slides{
    left: initial;
    height: 270px;
  }
  .slides ul {
    list-style: none;
    position: relative;
    top: 2rem;
    left: calc((100% - 336px) / 2);
  }
  .mobblock{
    display: inline;
  }
  
  #dopmenu .menu__item, .headmenu #dopmenu li a{
      padding: 0.5rem;
      font-size: 13px;
      font-weight: 400;
  }
  
}
@media screen and (max-width: 400px){
    .contacts{
    font-size: 12px;
  }
}