

/* Start:/bitrix/templates/as_prostosite_cherry/template_styles.css?17647462015031*/
/* Базовые стили */
html {
  height: 100%;
}

body {
  margin: 0 auto;
  padding: 0;
  height: 100%;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

*, *:before, *:after {
  box-sizing: border-box;
}

a {
  color: #09C;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

/* HEADER */
#header {
  width: 100%;
  clear: both;
  position: fixed;
  top: 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  z-index: 99;
  background: #fff;
}

#headerin {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  gap: 15px;
  flex-wrap: wrap;
}

#toplogo {
  flex-shrink: 0;
}

#toplogo img {
  height: 80px;
  transition: height 0.3s ease;
}

#toplogo a {
  display: block;
}

#topmenu {
  flex-grow: 1;
  order: 3;
}

#topmenuin ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#topmenuin ul li a {
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  font-weight: 400;
  border-radius: 6px;
  color: #333;
  transition: background 0.3s ease;
}

#topmenuin ul li a:hover {
  background: #f0f0f0;
}

#topmenuin ul li.selected a {
  background: #e6e6e6;
  font-weight: 700;
}

#topphone {
  font-size: 18px;
  color: #444;
  white-space: nowrap;
  flex-shrink: 0;
  order: 2;
}

/* BURGER - изначально скрыт */
#burger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  padding: 5px 10px;
  user-select: none;
  line-height: 1;
  order: 2;
}

#burger:before {
  content: '☰';
  display: block;
}

#burger.open:before {
  content: '✕';
}

/* BODY */
#body {
  min-height: 100%;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
}

#workarea {
  margin: 0 15px;
  padding: 130px 15px 80px;
}

#workarea h1 {
  font-size: 32px;
  margin: 0 0 20px;
}

#workarea h2 {
  font-size: 26px;
  margin: 30px 0 15px;
}

/* FOOTER */
#footer {
  min-height: 60px;
  background: #CCC;
  width: 100%;
  border-top: 1px solid #BCBCBC;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

#footerin {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 15px;
}

#footerinin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
}

#fleft, #fright {
  flex: 1 1 auto;
}

#fright {
  text-align: right;
}

p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

table {
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
}

/* АДАПТАЦИЯ */

/* < 1100px */
@media (max-width: 1100px) {
  #topmenuin ul li a {
    padding: 6px 10px;
    font-size: 15px;
  }
  
  #topphone {
    font-size: 16px;
  }
}

/* < 900px — показываем бургер */
@media (max-width: 900px) {
  /* Показываем бургер */
  #burger {
    display: block;
  }
  
  /* Скрываем телефон на этом этапе или переносим */
  #topphone {
    order: 4;
    width: 100%;
    text-align: center;
    font-size: 15px;
    margin-top: 5px;
  }
  
  /* Меню на всю ширину */
  #topmenu {
    order: 5;
    width: 100%;
    flex-basis: 100%;
  }
  
  /* Скрываем меню по умолчанию */
  #topmenuin ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
  }
  
  /* Показываем при открытии */
  #topmenu.open #topmenuin ul {
    display: flex;
  }
  
  #topmenuin ul li {
    width: 100%;
    text-align: center;
  }
  
  #topmenuin ul li a {
    width: 100%;
    padding: 12px;
  }
  
  #toplogo img {
    height: 60px;
  }
  
  #workarea {
    padding-top: 110px;
  }
}

/* < 600px */
@media (max-width: 600px) {
  #toplogo img {
    height: 50px;
  }
  
  #topphone {
    font-size: 14px;
  }
  
  #workarea {
    margin: 0 10px;
    padding: 100px 10px 60px;
  }
  
  #workarea h1 {
    font-size: 26px;
  }
  
  #workarea h2 {
    font-size: 22px;
  }
  
  body {
    font-size: 15px;
  }
  
  p {
    text-align: left !important;
  }
  
  p img[align="right"],
  p img[align="left"],
  p img[style*="float"] {
    float: none !important;
    margin: 15px auto !important;
    display: block;
  }
  
  #footerinin {
    flex-direction: column;
    text-align: center;
  }
  
  #fright {
    text-align: center;
  }
}

/* < 400px */
@media (max-width: 400px) {
  #workarea {
    padding: 90px 8px 50px;
  }
  
  #workarea h1 {
    font-size: 22px;
  }
  
  #workarea h2 {
    font-size: 20px;
  }
  
  body {
    font-size: 14px;
  }
}
/* End */
/* /bitrix/templates/as_prostosite_cherry/template_styles.css?17647462015031 */
