@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

/* =========================================
   ГЛОБАЛЬНЫЕ СТИЛИ ДЛЯ HTML И BODY
   ========================================= */
html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Play', sans-serif;
    background:#fff;
    overflow-x:auto;
}

/* =========================================
   СТИЛИ ДЛЯ ЗАГОЛОВКОВ ТРЕТЬЕГО УРОВНЯ
   ========================================= */
h3 {
    font-size: 12pt;
    text-align: center
    
}

/* =========================================
   СТИЛИ ДЛЯ ССЫЛОК
   ========================================= */
a{
    color:black;
    text-decoration:none;
}

/* =========================================
   СТИЛИ ДЛЯ БЛОКА ДЕЙСТВИЙ (ПОЗИЦИОНИРОВАНИЕ)
   ========================================= */
.actionbox {
   position:absolute; top:0; margin-left: 25px;
}

/* =========================================
   ОСНОВНОЙ КОНТЕЙНЕР СТРАНИЦЫ
   ========================================= */
.wraper {
    width:1180px;
    height:100%;
    margin: 0 auto;
    font-size: 12pt;
    line-height: 1.5;
}

.wraper p {
    margin: 0;
}

/* =========================================
   ЛЕВЫЙ БЛОК КОНТЕНТА (50% ШИРИНЫ)
   ========================================= */
.wleft {
    width:50%;
    float:left;
    padding-top: 30px;

}

/* =========================================
   ПРАВЫЙ БЛОК КОНТЕНТА (50% ШИРИНЫ)
   ========================================= */
.wright {
    width:50%;
    float:left;
    padding-top: 30px;

}

/* =========================================
   МЕНЮ НАВИГАЦИИ (ШИРИНА И ПОЗИЦИОНИРОВАНИЕ)
   ========================================= */
#menu {
    width:1180px;
    margin: 0 auto;

}

/* =========================================
   ШАПКА СТРАНИЦЫ (HEADER)
   ========================================= */
#header {

    width: 100%;
    height: 95vh;
    position: relative;
    background-image: url(../images/bg-min.webp);
    /* background-size: cover; */
    background-repeat: no-repeat;
    text-align: center;
    background-position: center;
}

/* =========================================
   ОСНОВНОЙ КОНТЕНТ (CONTENT)
   ========================================= */
.content {
       width: 100%;
    height: auto;
    position: relative;
    background-color:#fff;
}

h2 {text-transform: uppercase;    text-align:center;}

.content h2 {

    padding: 10px 10px 10px 0;
    color: #f54f29;
    margin: 0;
}

/* =========================================
   ВТОРОЙ БЛОК КОНТЕНТА (С ФОНОМ #EEE)
   ========================================= */
.content2 {
       width: 100%;
    height: auto;
    position: relative;
    background-color:#eee;
    min-height: 365px;

}

.content2 h2 {
    padding: 10px 10px 10px 0;
    color: #f54f29;
    margin: 0;

}

/* =========================================
   ЗАГОЛОВОК В ШАПКЕ (ПОЗИЦИОНИРОВАНИЕ)
   ========================================= */
.zagolovok {
    position:absolute; top:20vh;margin-left: 30%;
}

/* =========================================
   ОСНОВНОЙ ЗАГОЛОВОК В ШАПКЕ (H1)
   ========================================= */
#header  h1 {
    color: #fff;
    padding-top: 15%;
    margin: 0;
    font-size: 36pt;
    text-shadow: black 1px 1px 1px;
}

/* =========================================
   ПОДЗАГОЛОВОК В ШАПКЕ (P)
   ========================================= */
#header p {
    color: #fff;
    margin-left: 25px;
}



/* =========================================
   СЕКЦИЯ "О НАС" (ABOUT)
   ========================================= */
#about {
    width:100%;
    min-height: 600px;
    position:relative;
    background: #fff;
}

#about  h2{
    color: #f54f29;
    font-size: 16pt;
    margin:0;
}

/* =========================================
   ПРАВЫЙ БЛОК В СЕКЦИИ ABOUT (С ИЗОБРАЖЕНИЕМ)
   ========================================= */
.rightblock {
    width:47%;float:left;
    margin:3% 1% 0 1%;
    text-align:center;
}
.rightblock img{
    width: 96%;
    margin: 2%;
    border-radius: 8px

}

/* =========================================
   ЛЕВЫЙ БЛОК В СЕКЦИИ ABOUT (ТЕКСТ)
   ========================================= */
.leftblock {
    width:49%;float:left;margin:3% 0 0 0;    text-align: justify;
}


/* =========================================
   ПРАВЫЙ БЛОК 2 (С ИЗОБРАЖЕНИЕМ, ТЕНЬЮ)
   ========================================= */
.rightblock2 {
      
       width:47%;float:left;
    margin:3% 1% 0 1%;
    text-align:center;
   
}
.rightblock2 img{
    width: 96%;
    margin: 2%;
    box-shadow: 0 0 10px rgb(0 0 0 / 15%);
}

/* =========================================
   ЛЕВЫЙ БЛОК 2 (ТЕКСТ)
   ========================================= */
.leftblock2 {
width:49%;float:left;margin:3% 0 0 0;  
}


/* =========================================
   ТЕКСТОВЫЙ БЛОК (ОБЩИЙ)
   ========================================= */
.text {
    float:left;
    width:100%;
    line-height: 21pt;
    text-align: justify;
}




/* =========================================
   СЕКЦИЯ "О НАС 2" (ABOUT2, С ФОНОМ #EEE)
   ========================================= */
#about2 {
    width:100%;
    min-height: 710px;
    position:relative;
    background: #eee;
}

#about2  h2{
    color: #f54f29;
    font-size: 16pt;
    margin:0;
}

/* =========================================
   ИНФОБЛОКИ (КАРТОЧКИ С ИКОНАМИ)
   ========================================= */
.infoblock {
    width:27%;
    margin:2%;
    position:relative;
    display: inline-block;
    font-size: 11pt;
    padding:1%;
}
.infoblock span {
    font-size: 12pt;
    font-weight:700;
    display: block;
}
.infoblock img{
    position:absolute;
    left:-40px;
    width:40px;
}

/* =========================================
   СТАРЫЙ ТЕКСТОВЫЙ БЛОК (С БЕЛЫМ ФОНОМ)
   ========================================= */
.textold{
    width: 100%;
    position: relative;
    background: #fff;
    padding: 25px 0 50px 0;
    text-align: justify;
}

.textold span{

    font-weight: bold;
}

/* =========================================
   БЛОК ОТПРАВКИ СООБЩЕНИЯ (ФОРМА)
   ========================================= */
.sendmasseg{
    width:100%;
    position:relative;
    background: #3e4757;
}

.sendmasseg h3 {

    color: #fff;
    font-size: 25pt;
    line-height: 25pt;
    text-align: center;
    padding: 25px 0 0 0;
    margin:0;
}

/* =========================================
   ФОРМА EMAIL (ОТПРАВКА СООБЩЕНИЯ)
   ========================================= */
.emailform {
    padding: 25px 0 25px 35px;

}

/* =========================================
   ИНПУТ ПОЛЯ ФОРМЫ (РАЗЛИЧНЫЕ РАЗМЕРЫ)
   ========================================= */
.input1{
    width:908px;
    height: 35px;
    padding: 10px;
    font-size:12pt;
}

.input2{
    padding: 10px;
    width:435px;
    height: 35px;
    margin: 25px 10px 0 0;
    font-size:12pt;
}

.input3{
    width:248px;
    height: 25px;
    padding: 10px;
    margin: 10px 0 0 0;
    font-size:12pt;

}

.input4{
    width:248px;
    height: 25px;
    padding: 10px;
    margin: 10px 0 0 0;
    font-size:12pt;
}

/* =========================================
   ОБЕРТКА ДЛЯ КНОПКИ ОТПРАВКИ
   ========================================= */
.buttonwrap {
    width:900px;
    padding:25px;
    height:50px;
    text-align:right;
}

/* =========================================
   КНОПКА ОТПРАВКИ (СТИЛЬ 7)
   ========================================= */
.button7 {
    width: 89%;
    margin-top: 25px;
    font-weight: 700;
    color: black;
    text-decoration: none;
    padding: .8em 1em calc(.8em + 3px);
    border-radius: 3px;
    background: rgb(255,221,45);
    box-shadow: 0 -3px rgb(227,175,14) inset;
    transition: 0.2s;
} 
.button7:hover { 
background: rgb(227,175,14); 
box-shadow: 0 -3px rgb(255,221,45) inset;}



/* =========================================
   СЕКЦИЯ ПЛЮСЫ (PLUS)
   ========================================= */
#plus {
    width:100%;
    height:500px;
    position:relative;
    background:#ededed;
}

#plus img{
    width:500px;
    float:left;
    margin-left:25px;
}

#plus h3{ 
    color: #000;
    font-size: 25pt;
    text-align:center;
    padding-top:25px;
    margin:0 0 25px 0;
} 

/* =========================================
   ФУТЕР СТРАНИЦЫ
   ========================================= */
#footer {
  font-family: 'Play', sans-serif;
  font-size: 10px;
  background: #f9f9f9;
  padding: 30px 0;
  text-align: center;
}

/* =========================================
   ОБЕРТКА ФУТЕРА (МАКСИМАЛЬНАЯ ШИРИНА)
   ========================================= */
.wraper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =========================================
   ССЫЛКИ В ФУТЕРЕ
   ========================================= */
.footer-links {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: #555555;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: bold;
}

.footer-links a:hover {
  color: #f54f29;
  text-decoration: underline;
}

/* =========================================
   ИНФОРМАЦИЯ ОРГАНИЗАЦИИ В ФУТЕРЕ
   ========================================= */
.org-info {
  font-size: 14px;
  margin-bottom: 10px;
}

/* =========================================
   КОНТАКТЫ В ФУТЕРЕ
   ========================================= */
.contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.contacts b {
  font-weight: normal;
}

.contacts a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.contacts a:hover {
  color: #f54f29;
}

/* =========================================
   МЕССЕНДЖЕРЫ В ФУТЕРЕ
   ========================================= */
.messengers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 10px;
}

/* =========================================
   ИКОНКИ МЕССЕНДЖЕРОВ (КРУГИ)
   ========================================= */
.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #f54f29;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  fill: #f54f29;
  transition: transform 0.3s ease, fill 0.3s;
}

.icon-circle:hover {
  background-color: #f54f29;
}

.icon-circle:hover svg {
  fill: #fff;
  transform: scale(1.1);
}

/* =========================================
   ССЫЛКА НА ПРИВАТНОСТЬ В ФУТЕРЕ
   ========================================= */
.privacy-link {
  margin-top: 15px;
  font-size: 12px;
}

.privacy-link a {
  color: #000;
  text-decoration: none;
  font-weight: normal;
  transition: color 0.3s;
}

.privacy-link a:hover {
  color: #f54f29;
  text-decoration: underline;
}

/* =========================================
   АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (MAX-WIDTH: 600PX)
   ========================================= */
@media (max-width: 600px) {
  .contacts {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* =========================================
   СТИЛИ ДЛЯ ТОВАРОВ (КАРТОЧКИ ТОВАРОВ)
   ========================================= */
.tovar {
  float: left;
  width: 255px;
  height: 300px;
  color: #fff;
  margin: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 0 10px rgb(0 0 0 / 15%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tovar:hover {
  cursor: pointer;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.tovar img {
  opacity: 0.6;
  height: 100%;
  margin-left: -40%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tovar img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.tovar h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 15px;
  margin: 0;
  box-sizing: border-box;

  background: rgba(245, 79, 41, 0.6);
  border-radius: 0 0 10px 10px;

  color: #fff;
  font-size: 14pt;
  text-align: center;
  line-height: 1.2em;
  overflow: hidden;

  /* Обертка для вертикального центрирования */
  display: flex;
  align-items: center;
  justify-content: center;
}

.tovar h3 > span {
  /* Этот спан позволит обрезать текст и перенести многострочный clamp */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  line-height: 1.2em;
  max-height: calc(1.2em * 3);
}



.tovar:hover h3 {
  transform: scale(1.05);
}

.tovar a {
  color: #fff;
}




/* =========================================
   СТИЛИ ДЛЯ ПОРТФОЛИО ФОТО (ПОРТФОЛИО)
   ========================================= */
.portphoto{
  float:left;  width:255px; height:145px; 
    color: #fff;
        z-index: 999;
    margin: 20px;
    text-align: center;
    position: relative;
    overflow:hidden;
    background: #000;  
    box-shadow: 0 0 5px rgb(0 0 0 / 50%);

}
.portphoto img{opacity:0.6;width:100%;}
.portphoto img:hover{opacity:1}
.portphoto:hover {
    cursor: pointer;
}


.portphoto h3 {
    position:absolute;
    bottom:0;
    font-size:15pt;
    text-align: center !important;
    width: 100%;
}
.tovar a {color: #fff}



/* =========================================
   НЕУПОРЯДОЧЕННЫЙ СПИСОК (УЛ)
   ========================================= */
.ul {
    padding: 0;
    list-style: none;
    text-align: center;
    display: block;
    width:1000px;
    margin: 0 auto;
    height: 50px;

}
.ul li {
    width: 120px;
    display: inline-block; 
    vertical-align: middle; 
    text-align: center;
    color:black;
    height: 46px;
    line-height: 35pt;
    PADDING-TOP: 3PX;
}

.ul li img {
    height:45px;
    float:left;
}


/* =========================================
   ОЧИСТКА ФЛОАТА
   ========================================= */
.clr {
    clear:both;
}



/* =========================================
   КОНТЕЙНЕР ДЛЯ ТОВАРОВ (#TOVARI)
   ========================================= */
#tovari {
    width: 1000px;
    margin: 0px 0px 0px;
    text-align: center;
}

#tovari .tovar {
    width: 192px;
    height: 310px;
    display: inline-block;
    margin: 0px 3px 6px;
    border: 1px solid #dddddd;
    background-color: rgba(255, 255, 255, 1);
    padding: 6px 0px 0px;
    vertical-align: top;
}

#tovari .tovar:hover {
    cursor:pointer;
}

#tovari .tovar img{
    width:180px;
    height:180px;
}




#tovari .tovar:nth-of-type(5n) {
    margin-left: 2px;
}

#tovari .tovar h3 {
    color: #fe2121;
    font-size: 10.0pt;
    margin: 0px 0px 0px;
    height: 30px;
    font-weight: 400;
}

#tovari .tovar p {
    width: 90px;
    display: inline-block;
    color: #111111;
    font-size: 10.0pt;
    text-align: left;
    margin: 0px 0px 0px;
}

#tovari .tovar p.price {
    width: 95px;
    display: inline-block;
    color: #64b988;
    font-size: 10.0pt;
    display: inline-block;
    text-align: right;
    font-weight: 600;
    margin: 0px 0px 0px -15px;
}

#tovari .tovar .big {
    font-size: 18.0pt;	
}

#tovari .tovar button {
    width: 180px;
    height: 25px;
    background-color: rgba(255, 176, 51, 1);
    color: #ffffff;
    font-size: 9.0pt;
    font-weight: 600;
    margin: 9px 0px 0px;
    border: 0px;
}

#tovari .tovar button:hover {
    background-color: rgba(255, 195, 99, 1);
}



/* =========================================
   КНОПКА 1 (КРАСНАЯ)
   ========================================= */
.knopka{
    color: #fff;
    text-decoration: none;
    user-select: none;
    padding: .7em 1.5em;
    outline: none;
    border-radius: 8px;
    background: #f54f29;

} 
.knopka:hover { 
  background: #555555;
    color: #fff;
}


/* =========================================
   КНОПКА 2 (ГРАДИЕНТНАЯ)
   ========================================= */
.knopka2{
    color: #fff;
    text-decoration: none;
    user-select: none;
    padding: .7em 1.5em;
    border-radius: 10px
    outline: none;
    background: linear-gradient(45deg, #05a0dd, #21e79e);

} 
.knopka2:hover { 
  background: linear-gradient(45deg, #21e79e, #05a0dd);
    color: #fff;

} 

/* =========================================
   БЛОК С ТЕЛЕФОНАМИ (FONES)
   ========================================= */
.fones {
overflow: hidden;
    position: relative;
    height: 400px;
    padding: 0;
    text-align: center;

}

.fones h1{
   position:absolute;
   z-index:1;
    color: #fff;
    font-size: 36pt;
    text-align: center;
    padding-top: 55px;
    text-shadow: black 1px 1px 5px;
    width:100%;
}

.fones img {
    width:100% !important;
    margin: 0 !important;
}

#catalog img{
width:300px !important;
}



/* =========================================
   СЛАЙДЕР (SLIDES)
   ========================================= */
/* Слайдер */
.slides {
    overflow:hidden;
    position:relative;
    height:400px;
    padding: 0;
    text-align:center;
}

.slides h1{
   position:absolute;
   z-index:1;
    color: #fff;
    font-size: 48pt;
    text-align: center;
    padding-top: 55px;
    text-shadow: black 1px 1px 5px;
    width:100%;
}

.slides img {
    width:100% !important;
    margin: 0 !important;
}
.slides ul {
    list-style:none;
    position:relative;
    padding: 0;
}

/* Кадры анимации #anim_slides */
@-webkit-keyframes anim_slides {
    0% {
        opacity:0;
    }
    6% {
        opacity:1;
    }
    24% {
        opacity:1;
    }
    30% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}
@-moz-keyframes anim_slides {
    0% {
        opacity:0;
    }
    6% {
        opacity:1;
    }
    24% {
        opacity:1;
    }
    30% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}

.slides ul li {
    opacity:0;
    position:absolute;
    top:0;

    /* анимация css3 */
    -webkit-animation-name: anim_slides;
    -webkit-animation-duration: 24.0s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: normal;
    -webkit-animation-delay: 0;
    -webkit-animation-play-state: running;
    -webkit-animation-fill-mode: forwards;

    -moz-animation-name: anim_slides;
    -moz-animation-duration: 24.0s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: normal;
    -moz-animation-delay: 0;
    -moz-animation-play-state: running;
    -moz-animation-fill-mode: forwards;
}

/* Задержки css3 */
.slides ul  li:nth-child(2), .slides ul  li:nth-child(2) div {
    -webkit-animation-delay: 6.0s;
    -moz-animation-delay: 6.0s;
}
.slides ul  li:nth-child(3), .slides ul  li:nth-child(3) div {
    -webkit-animation-delay: 12.0s;
    -moz-animation-delay: 12.0s;
}
.slides ul  li:nth-child(4), .slides ul  li:nth-child(4) div {
    -webkit-animation-delay: 18.0s;
    -moz-animation-delay: 18.0s;
}
.slides ul li img {
    display:block;
}

/* Кадры анимации #anim_titles */
@-webkit-keyframes anim_titles {
    0% {
        left:100%;
        opacity:0;
    }
    5% {
        left:10%;
        opacity:1;
    }
    20% {
        left:10%;
        opacity:1;
    }
    25% {
        left:100%;
        opacity:0;
    }
    100% {
        left:100%;
        opacity:0;
    }
}
@-moz-keyframes anim_titles {
    0% {
        left:100%;
        opacity:0;
    }
    5% {
        left:10%;
        opacity:1;
    }
    20% {
        left:10%;
        opacity:1;
    }
    25% {
        left:100%;
        opacity:0;
    }
    100% {
        left:100%;
        opacity:0;
    }
}

/* =========================================
   ПОРТФОЛИО (КАРТОЧКИ)
   ========================================= */
.portfolio {
    width:285px;

    overflow:hidden;
    display:inline-block;
    margin: 4px 4px;

}
.portfolio:hover {
    cursor: pointer;
        box-shadow: 0 0 4px rgb(0 0 0 / 70%);
}

.portfolio img {
    width:285px;

}





/* =========================================
   ВЕРХНЯЯ НАВИГАЦИЯ (TOPNAV)
   ========================================= */
/* Add a black background color to the top navigation */
.topnav {
    background-color: #fff;
    overflow: hidden;
    border-bottom: 2px solid rgb(199, 199, 199);

}

/* Style the links inside the navigation bar */
.topnav a {
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 12pt;
    height: 35px;
    border-top: 0px solid solid #eee;
    border-bottom: 0px solid solid #eee;
    border-left: 1px solid solid #eee;
    border-right: 1px solid solid #eee;
    transition: 0.3s
    border-radius: 10px;
}
.topnav a:hover {
color: red;
}
.topnav a.activer {
   color: red;
}

/* =========================================
   ФИКСИРОВАННАЯ НАВИГАЦИЯ (STICKY)
   ========================================= */
.topnav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff; /* обязательно! */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* необязательная тень */
}

/* Change the color of links on hover */


/* Add an active class to highlight the current page */
.active {

border: 0 !important;
width:200px;
text-align:left !important;
float: left !important;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* =========================================
   АДАПТИВНОСТЬ НАВИГАЦИИ ДЛЯ ЭКРАНОВ МЕНЬШЕ 1000PX
   ========================================= */
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 1000px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
    padding: 0 10px 0 0;
    font-size: 28px;
    z-index: 999;
    position: absolute;
    right: 0;
      border: 0;
      line-height: 1.8;
  }

body {
  padding-top: 55px; /* на высоту шапки */
}

  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none !important;
    display: block;
    text-align: left;
    height: 30px;
    line-height: 1.8;
  }

@media screen and (max-width: 1000px) {
  /* Фон шапки — светло-серый */
  .topnav {
    position: fixed;  /* фиксируем шапку */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;  /* белый фон */
    z-index: 1000;
  }

  /* Скрываем все ссылки, кроме первой ("Home") */
  .topnav a:not(:first-child) {
    display: none;
  }

  /* Кнопка меню */
  .topnav a.icon {
    float: right;
    display: block;
    padding: 0 10px 0 0;
    font-size: 28px;
    position: fixed;  /* фиксируем кнопку */
    top: 0;
    right: 0;
    line-height: 50px;  /* для вертикального центрирования */
    z-index: 1100;  /* выше шапки */
    background-color: transparent;
    color: #333;  /* темный цвет иконки */
    border: 0;
    cursor: pointer;
  }

  /* Раскрытое меню */
  .topnav.responsive {
    position: fixed; /* фиксируем меню, чтобы оно накладывалось */
    top: 0px;  /* под шапкой (если шапка 50px высотой) */
    left: 0;
    width: 100%;
    background-color: #DCDCDC;
    z-index: 1050;
    overflow-y: auto;
    max-height: calc(100vh - 50px); /* чтобы меню не выходило за экран */
  }

  /* Кнопка меню в раскрытом состоянии */
  .topnav.responsive a.icon {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;
    background-color: transparent;
    color: #333;
  }

  /* Ссылки меню в раскрытом состоянии */
  .topnav.responsive a {
    float: none !important;
    display: block;
    text-align: left;
    padding: 10px 20px;
    height: auto;
    line-height: normal;
    color: #333; /* темный текст */
    border-bottom: 1px solid #ccc;
  }
  
  .topnav.responsive a:active,
.topnav.responsive a:focus {
  background-color: #ddd; /* светло-серый фон при нажатии */
  color: #f54f29; /* красный текст */
  outline: none; /* убрать стандартную обводку при фокусе */
  transition: background-color 0.2s ease;
}

} 

/* =========================================
   АДАПТИВНАЯ ОБЕРТКА ДЛЯ МОБИЛЬНЫХ
   ========================================= */
  .wraper {
    width: 94%;
    padding: 0 2%;
    height: 100% !important;
    font-size: 12pt;
      
  }

  .text {
      float:none;
      width:100%;
  }
    
    .zagolovok {
    position:absolute; top:0;margin-left: 15%;
}

.knopka2 {display:block;}
    .infoblock {
    width: 80%;
    margin: 3% 3% 3% 10%;
    position: relative;
    float: left;
    font-size: 11pt;
    padding: 5%;
    }
    
    .infoblock img {
    position: absolute;
    left: -30px;
        width: 35px;}
    
    

#header  h1 {
    color: #fff;
    padding-top: 15%;
    margin: 0;
    font-size: 16pt;
    text-shadow: black 1px 1px 1px;
}
  
  #about {
      height: 1300px;
  }
  .portfolio {
width: 98%;
    height: auto;
    margin: 1%;
    float: none;
    display: inline-block;
  }
    
        
    .portfolio img {
    width: 100%;
}

.portphoto {
    width:98%;
    height: auto;
    margin:1%;
        background: none;
        box-shadow: none;
}
  .portphoto img {width:100%;opacity:1;}
  #slide-calc {
      display:none;
  }

.fones {
    height: auto;
}
.fones h1 {
    padding: 0;
    
}
#catalog img {
    width:100%;
}
h2 {

    text-transform: uppercase;
}
.slides {
    height: 350px;
}
.slides h1 {
    font-size:36px;
}

.tovar {
    width: 98%;
    margin: 1%;

}
    .tovar img {
        margin:0;}
.rightblock, .leftblock {
    width:100%;
    float:none;margin:0;}
.rightblock img {
    width: 97%;margin: 0;border-radius: 8px}


    .actionbox {
  display:none !important;
}
iframe {
    width:100%;
}
.fones h1 {
    font-size:26pt;
    }
    
}


/* =========================================
   ПОЗИЦИОНИРОВАНИЕ ЭЛЕМЕНТА P40
   ========================================= */
.p40 {position: absolute;    top: 0;    left: 80%;}

@media screen and (max-width: 1000px) {
    .p40 { position: absolute;    top: 0;    left: 100%;}
}

/* =========================================
   БЛОКИ ПО 1/3 ШИРИНЫ (W33)
   ========================================= */
.w33 {
    width:29%;
    color: #fff;
    display: inline-block;
    font-size:10pt;
    vertical-align: top;
        text-align: left;
}

.w33:nth-child(2n) {
    width:40%;
}
.w33:nth-child(3n) {
    width:29%;
    text-align:right;
}

.w33 a {
    COLOR: #FFF;
}
@media screen and (max-width: 1000px) {
    .w33 { width: 95%;}
    w33:nth-child(2n) {
    width:95%;
}
    #menu {
            height:auto;
    padding: 0;
    }
    
    #header {
        background-position: 70%;
        height: 75vh;
        background-image: url(../images/mbg.jpg);
        background-size: cover;
    }
}

@media screen and (max-width: 1000px) {
    .w33 { width: 95%;}
    w33:nth-child(2n) {
    width:95%;
}
.btncall{width:200px;}
    .rightblock2 {
    width:100%;
    float:none;margin:0;}
    .leftblock2 {
    width:100%;
    float:none;margin:0;}
.rightblock2 img {
    width: 97%;margin: 0;}
}
