
.hyphenate{
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}
article p img{
  margin: 0 auto;
  display: block;
  width: 100%;
  max-width: 100%;
}
.zapis-link{
  text-decoration: none;
}
.zapis.border{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  background-image: none;
  cursor: pointer;
}
.zapis.border img{
  margin: 0 15px;
}

.zapis.border p{
  color: #e8bd8a;
  text-transform: uppercase;
  margin-bottom: 0;
  margin-top: 3px;
  margin-right: 7px;
}
table{
  overflow: hidden;
  box-sizing: border-box;
}
thead{
  background: #cccccc;
  color: black;
  text-transform: uppercase;
  text-align: left;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  -webkit-border-top-left-radius: 15px;
  -webkit-border-top-right-radius: 15px;
  -moz-border-top-left-radius: 15px;
  -moz-border-top-right-radius: 15px;
  -khtml-border-top-left-radius: 15px;
  -khtml-border-top-right-radius: 15px;
}
td, th{
  padding: 1em 2em 1em;  
}
.border{
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -khtml-border-radius: 20px;
  box-sizing: border-box;
  border-collapse: separate
}
tbody tr td:last-of-type{text-align:center}
tfoot tr td{
	width:100%
}

/*@font-face { font-family: "Ionicons"; src: url("fonts/ionicons.eot?v=2.0.0"); src: url("fonts/ionicons.eot?v=2.0.0#iefix") format("embedded-opentype"), url("fonts/ionicons.ttf?v=2.0.0") format("truetype"), url("fonts/ionicons.woff?v=2.0.0") format("woff"), url("fonts/ionicons.svg?v=2.0.0#Ionicons") format("svg"); font-weight: normal; font-style: normal; }

.ion-android-arrow-dropleft-circle, .ion-android-arrow-dropright-circle {display: inline-block; font-family: "Ionicons"; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; text-rendering: auto; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

.ion-android-arrow-dropright-circle:before { content: "\f362"; }
.ion-android-arrow-dropleft-circle:before { content: "\f360"; }
*/





.menu-icon {
  font-size: 50px;
}
header .head-r a{
  text-decoration: none;
}
.flb p span {
  font-size: 14px
}
.flb span a{
  font-size: inherit;
  text-decoration: none;
}
aside {
  position: relative;
}

#aside_mobil {
  cursor: pointer;
  margin: 0 auto;
  padding-left: 1.25em;
  position: relative;
  width: 30px;
  height: 45px;
}

.aside_mobil-global {
  backface-visibility: hidden;
  position: absolute;
  left: 0;
  border-top: 7px solid white;
  width: 100%;
  transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
}

.aside_mobil-top {
  top: 0;
}

.aside_mobil-middle {
  top: 18px;
}

.aside_mobil-bottom {
  top: 36px;
}

.aside_mobil-top-click {
  backface-visibility: hidden;
  top: 15px;
  transform: rotate(50deg);
  transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
}

.aside_mobil-middle-click {
  opacity: 0;
}

.aside_mobil-bottom-click {
  backface-visibility: hidden;
  top: 15px;
  transform: rotate(-410deg);
  transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
}


@media screen and (max-width: 1200px) {
  .container {
    width: 100%
  }
}
@media screen and (max-width: 1024px) {
  .header-slider, header, .footer, .sertif {
    min-width: 100%;
  }
  .child, .sertif, nav>ul, .container {
    width: 100%
  }
  header .head-l {
    left: 15px;
  }
  header .head-r {
    right: 15px;
  }
  header + nav {
    min-width: auto;
    padding-left: 1em;
    padding-right: 1em;
    box-sizing: border-box;
  }
  nav>ul>li {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  nav>ul>li>ul {
    top: 44px;
    left: -5px;
  }
  nav>ul>li:hover ul {
    height: 220px
  }
  .container {
    padding-left: 1em;
    padding-right: 1em;
    box-sizing: border-box;
  }
  .block-gallery, .block-gallery .gallery {
    width: 100% !important;
    height: auto !important;
  }
  .block-gallery .gallery ul li {}
  .block-gallery .prev, .block-gallery .next {
    top: 45%;
    transform: translate(-50%, -50%);
  }
  .block-gallery .prev {
    left: 6%;
  }
  .block-gallery .next {
    right: 0
  }
  #serach-form {
    width: 95%;
    height: 30px;
    max-width: 250px;
  }
  #serach-form input {
    width: 75%;
  }
  .fcb p {
    font-size: 10px;
  }
  aside {
    width: 35%;
    max-width: 270px;
  }
  aside a img, header .for-logo img {
    max-width: 100%;
  }
  aside>ul {
    padding-left: 1em;
    padding-top: 1em;
  }
  article {
    margin-left: 35%;
    padding-top: 0;
  }
  .full-width {
    margin-left: 0;
  }
  .block-gallery .gallery img {
    max-width: 100%
  }
  #review-form{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .p-for-fio, .p-for-email{
    width: 45%;
  }
  .reviews form input, .reviews form textarea{
    width: 100%;
    box-sizing: border-box;
  }
  #review-form button{
    margin: 0 auto;
    margin-top: 2em;
  }
  article p img{
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .border #padding-left p{
    padding: 10px 0 10px 10px;
    font-size: 12px;
    background-color: transparent;

  }
  #padding-right p{
    font-size: 12px;
  }

  .zapis.border{
    width: 100%;
    box-sizing: border-box;    
    margin: 15px auto;   
    padding-left: 0; 
    display: flex;    
    flex-direction: column;    
    align-items: center;
  }
  .zapis.border img{
    display: none;
  }
  .zapis.border p{   
    margin-top: 1em;
    margin-right: 0;
  }
  .zapis span{
    width: 100%;    
    margin: 0 auto;    
    display: flex;    
    align-items: center;    
    justify-content: center;
  }
  
}

@media screen and (max-width: 770px) {
  nav>ul>li>a {
    font-size: 12px
  }
  header .head-l p {
    font-size: 12px
  }
  header .head-r p.tel a  {
    font-size: 16px
  }
  .sertif p {
    font-size: 32px;
  }
  article p, aside>ul>li>a {
    font-size: 14px
  }
  header .for-logo {
    width: 40%;
  }
  .flb span {
    font-size: 20px
  }
  .flb>span>a{
    font-size: 18px
  }
  .fcb {
    padding-top: 15px;
    width: auto;
    display: flex;
    flex-direction: column;
  }
  .flb {
    display: flex;
    flex-direction: column;
    width: 60%;
    padding-top: 2em
  }
  .flb p {
    display: flex;
    flex-direction: column;
  }
  .footer {
    height: auto;
    background-size: cover;
  }
  #naverh {
    bottom: 70px;
    right: 55px;
  }
  #padding-left li{
    min-height: 70px;    
    display: flex;    
    align-items: center;
  }
  #padding-right li{
    min-height: 70px;
  }
  tr:nth-of-type(odd) {
    background: #44261f;
  }
  tr:first-child{
    background: transparent;
  }
  table, thead, tbody, th, td, tr{
    display: block;
  }
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  td {
    /* Behave  like a "row" */
    border: none;   
    position: relative;
    padding-left: 50%;
  }
  td:before {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    transform: translate(-50%,-50%);
  }
  td:nth-of-type(1):before { content: "Услуга"; }
  td:nth-of-type(2):before { content: "Цена*, руб"; }

  .wm td:nth-of-type(1):before { content: "Область"; }
  .wm td:nth-of-type(2):before { content: "Цена для женщин*, р."; }
  .wm td:nth-of-type(3):before { content: "Цена для мужчин*, р."; }
  tfoot td:before{
    position: static;
    content: "";
    display: none;
  }
  tfoot td{
    border: none;
    background: transparent;
  }
  table.border tfoot tr{
    background: transparent;
  }
  td.oferta{
    border: none;
    padding: 1em;
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
  tbody .sub-header{
    display: none;
  }
  tbody .no-before td:before{
  	display: none;
  	content: ''
  }
  tbody .no-before td{
  	padding-left: 0;
  	text-align: center;
  }
  tbody tr td:last-of-type{text-align:left}
  article .gal{
  	display: flex;
    flex-direction: column;
  }
  article .gal a{
  	margin: 0 auto;
  }

}

@media screen and (max-width: 680px) {
  nav>ul>li {
    padding-left: 1.4vw;
    padding-right: 1.4vw;
  }
  #padding-left, #padding-right{
    margin-left: 5px;
    padding-right: 5px;
  }
  #padding-right p{
    font-size: 8px;
    border-radius: 15px;
  }
}

@media screen and (max-width: 600px) {
  header + nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  nav>ul {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }
  nav>ul>li::after {
    background: none;
  }
  nav>ul>li {
    width: 100%;
    padding: 1em;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  nav>ul>li:last-child, nav>ul>li:first-child {
    padding: 1em;
  }
  nav>ul>li>ul {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }
  nav>ul>li:hover ul {
    height: 210px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  nav>#menu_mobil {
    padding: 1em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150%;
    cursor: pointer;
  }
  aside br {
    display: none;
  }
  aside a {
    display: none;
  }
  aside .navigation-main a {
    display: block;
  }
  aside .navigation-main {
    display: none;
  }
  aside {
    overflow: hidden;
    float: none;
  }
  #serach-form {
    display: block;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    background: #564f4f;
  }
  article {
    margin: 0 auto;
  }
  #naverh {
    z-index: 1;
  }
  /*.block-gallery, .block-gallery .gallery{
    height: 250px;
  }*/
  .child {
    display: flex;
    flex-wrap: wrap;
  }
  header .head-l {
    position: static;
    width: 50%;
    padding-left: 1em;
    float: none;
    left: auto;
  }
  header .head-r {
    position: static;
    width: 50%;
    margin-top: 10px;
    padding-left: 0.7em;
    float: none;
    text-align: left;
    right: auto;
  }
  .for-logo {
    width: 45%;
  }
  header {
    padding-bottom: 1em;
  }
  .sertif {
    padding: 0;
  }
  .header-slider .childb{display: none;}
  .header-slider .childb::before {
    display: none;
    content: '';
  }
  .komanda > div:last-child, .komanda > div:first-child{
    margin-left: auto;
    margin-right: auto;
  }
  .komanda{
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
  }
  .oferta{
    font-size: 12px;
  }
}
@media screen and (max-width: 430px){
  header .head-l{
    line-height: 25px;
    padding-left: 1.5em;
    font-size: 10px;
  }
  header .for-logo{
    font-size: 4vw;
    margin-top: 12px;
    margin-bottom: 8px;
  }
  header .head-r p.tel a{
    font-size: 14px;
  }
  header .head-r a:hover{
    text-decoration: none;
    font-size: inherit;
  }
  .flb>span>a{
    font-size: 16px
  }
  .sertif{
    background: url(../img/bottom.png) center no-repeat;
  }
  .sertif p{
    padding: 1em;
    font: 20px 'Open Sans';
    font-style: italic;
  }
  article p, aside > ul > li > a{
    font-size: 12px;
  }
  .flb>span{display: flex;flex-wrap: wrap;}
  .flb>span a{
    padding: 0.3em 0;
  }
  .flb p span{
    font-size: 12px;
    display: flex;
    align-items: center;
    padding-top: .3em;
    padding-bottom: .3em;
  }
  .flb p span img{
    max-width: 80%;
    top: auto;
    margin-right: 1em;
  }
  .no-mobile{
    display: none;
  }
  .flb{
    width: 50%;
  }
  .flb p span{
    text-align: left;
    font-size: 10px;
  }
  .frb{
    padding-top: 35px;
  }
  .reviews p{
    font-size: 14px;
  }
  .reviews form input, .reviews form textarea{
    font-size: 12px;
  }
  .p-for-fio, .p-for-email{
    width: 100%;
  }
  .p-for-fio{
    margin-bottom: 1em;
  }
  #fio{
    margin-bottom: 1.3em;
  }
  
  .komanda > div{
    width: 40%;
    margin: 2em auto;
  }
  .komanda > div img{
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  .k-fio{
    font-size: 14px;
  }
  td, th{
    padding: 0.5em;
    font-size: 12px;
  }
  td{
    padding-left: 50%;
  }
  .oferta{
    font-size: 11px;
  }
}
@media screen and (max-width: 380px){
  .komanda{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .komanda > div{
    width: 70%;
  }
  td, th{
    padding: 5px;
    font-size: 10px;
  }
  td {
    padding-left: 50%;
  }
}

