@font-face {
    font-family: 'DINPro';
    src: url('/fonts/DINPro.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'FuturaFuturisC';
    src: url('/fonts/futurafuturisc.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'FuturaFuturisLightC';
    src: url('/fonts/futurafuturislightc.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'DINProCondBold';
    src: url('/fonts/DINPro-CondBold.otf') format("opentype");
    font-weight: normal;
    font-style: bold;
}
@font-face {
    font-family: 'Helvetica';
    src: url('/fonts/Helvetica.otf') format("opentype");
    font-weight: normal;
    font-style: bold;
}
@font-face {
    font-family: 'HelveticaLight';
    src: url('/fonts/Helvetica Light.otf') format("opentype");
    font-weight: normal;
    font-style: bold;
}
@font-face {
    font-family: 'HelveticaBold';
    src: url('/fonts/Helvetica Bold.otf') format("opentype");
    font-weight: normal;
    font-style: bold;
}
@keyframes scale{
0%{transform: scale(1.2);}
100%{transform: scale(0,0.0,0);}
}
@keyframes fadeInLeft {
0% {opacity: 0;transform: translate3d(-100%, 0, 0);}
75% {opacity: 0;transform: translate3d(-100%, 0, 0);}
100% {opacity: 1;transform: none;}
}
@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}
@keyframes rotateInUpLeft {
  from {
    transform-origin: left bottom;
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }
  to {
    transform-origin: left bottom;
    transform: none;
    opacity: 1;
  }
}
.ir1{animation: fadeInLeft 3s linear;}
.ir2{animation: flipInX 3s linear;}
.ir3{animation: rotateInUpLeft 1s linear;}
/*xeonicon-----------------------------------------------------------------------------------------------------*/
@font-face {
    font-family: 'xeonico';
    src: url('/fonts/xeonico-webfont.woff2') format('woff2'),
         url('/fonts/xeonico-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.xi::before{font-weight: normal;display: inline-block;font-family: 'xeonico';text-rendering: auto;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;  }
.xi-3{font-size: 3em;}
.xi-2{font-size: 1.75em;}
.xi_biceps::before{content: 'q';}
.xi_dumbbell::before{content: 'w';}
.xi_body::before{content: 'e';}
.xi_bar::before{content: 'r';}
.xi_cup::before{content: 't';}
.xi_like::before{content: 'y';}
.xi_cardio::before{content: 'u';}
.xi_baby::before{content: 'i';}
.xi_time::before{content: 'o';}
.xi_phone::before{content: 'p';}
.xi_mail::before{content: 'a';}
.xi_map::before{content: 's';}
.xi_twitter::before{content: 'd';}
.xi_facebook::before{content: 'f';}
.xi_google::before{content: 'g';}
.xi_instagram::before{content: 'h';}
.xi_biGoogle::before{content: 'j';}
.xi_vk::before{content: 'v';}
.xi_youtube::before{content: 'b';}
/*xeonicon-----------------------------------------------------------------------------------------------------*/
body{font-family:'FuturaFuturisLightC';font-size: 18px;padding:0;margin:0;color: #5f727f;}
h2,h3,h4,h5,h6{font-family:'FuturaFuturisC';display: block;margin: 0;color: #22242b;font-weight: bold;}
h1 {font-size: 4.2em;}
h2 {font-size: 3.6em;}
h3 {font-size: 3em;}
h4 {font-size: 2.4em;}
h5 {font-size: 1.8em;}
h6 {font-size: 1.2em;}
i{font-style: normal;}
a{color: #fff;}
a,.ta3{-o-transition: all 0.3s;-webkit-transition: all 0.3s;transition: all 0.3s;text-decoration: none;}
.pnf{background-color: #212331;color: #00c1a7;text-align: center;font-size: 3em;height: 100vh;justify-content: center;}
.df{display: -webkit-flex;display: -moz-flex;display: -ms-flex;display: -o-flex;display: flex;-ms-align-items: stretch;align-items: stretch;}
.dfw{-webkit-flex-wrap: wrap;-moz-flex-wrap: wrap;-ms-flex-wrap: wrap;-o-flex-wrap: wrap;flex-wrap: wrap;}
.fce > *{flex:1 0;}/*flex child equal*/
.aic{-ms-align-items: center;align-items: center;}
.bgi{background-position: center center;background-repeat: no-repeat;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;}
.mra, .logo{margin-right: auto;}
.tac{text-align: center;}
.taj{text-align: justify;}
.fwl{font-family:'HelveticaLight';font-weight: lighter;}
.fwb{font-family:'HelveticaBold';font-weight: bold;}
.sp{padding-left:15%;padding-right: 15%;}/*section padding*/
.spq{padding:6% 15%;}/*section padding*/
.p50{padding: 2%;}
.p100{padding: 4%;}
.mw400{max-width: 400px;text-align: justify;}
.mw400 > iframe{width: 100%;min-height: 224px;}
.r45{-o-transform: rotate(45deg);-ms-transform: rotate(45deg);-webkit-transform: rotate(45deg);transform: rotate(45deg);}
.r-45{-o-transform: rotate(-45deg);-ms-transform: rotate(-45deg);-webkit-transform: rotate(-45deg);transform: rotate(-45deg);width: 100%;height: 100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
.underh{font-family:'HelveticaBold';font-weight: bold;font-size: 2em;color: #5d737e !important;margin:0; }
.come{position: absolute;left: 0;right: 0;top: 0;bottom: 0;transform: scale(0);-o-transform: scale(0);-ms-transform: scale(0);-moz-transform: scale(0);-webkit-transform: scale(0);background-color: #fff;-o-transition: all 0.3s;-webkit-transition: all 0.3s;transition: all 0.3s;}
.hiff{position: absolute;width: 1px; height: 1px;top: 0;left: 0;}
/*colors*/
.whitei *:not(a){color: #fff !important;}
.white {color: #fff;}
.persidskiy{color: #00BFA5;}
.lime{color: #b4ef56;}
.blue{color: #2196f7;}
.pink{color: #d74498;}
.yellow{color: #e4ff1a;}
.green{color: #32ad1e;}
.limegreen{color: #7fff7e;}

.btn{display: inline-block;border-radius: 0px;border: #fff solid 1px;cursor: default;padding: 12px 15px 8px 15px;color: #fff;margin: 1em 0;background-color: transparent;}
.btnw{display: inline-block;border-radius: 0px;border: #fff solid 1px;cursor: pointer;padding: 12px 15px 8px 15px;color: #fff;margin: 1em 0;background-color: transparent;}
.btnw:hover{background-color: #fff;color: #22242d;}
.btnb{display: inline-block;border-radius: 0px;border: #000 solid 1px;cursor: pointer;padding: 8px 15px;color: #000;margin: 1em 0;background-color: transparent;}
.btnb:hover{background-color: #22242d; color:#fff;}
.twos > div{width: 50%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;position: relative;}
header{height:100vh;background-color: silver;position: relative;overflow:hidden;}
.headimg {width:100%;height:100vh;background-image: url(../images/main-d.jpg);background-position: 75% 70%;animation:15s scale 1 linear alternate;}
nav{position: fixed;left: 0;top: 0;z-index: 3;height: 100px;width: 70%;background-color: transparent;-ms-align-items: center;align-items: center;}
nav.pin{height: 50px;background-color: #f6f7f7;box-shadow: 0 2px 4px rgba(196, 194, 202, 0.5);}
nav a{color: #fff;margin-right: 1.5em;font-weight: bold;text-decoration: none;}
nav.pin a{color: #3c3950;}
nav a:last-child{margin-right: 0;}
.logo{height: 50px; width: 191px; background-image: url(../images/logo.png);-webkit-background-size: contain;-moz-background-size: contain;-o-background-size: contain;background-size: contain;}
nav.pin .logo{background-image: url(../images/logopin.png);background-position: left center;}
main{color: #fff !important;position: absolute;bottom: 15%;left: 15%;}
main .zag{font-family:'HelveticaBold';font-size: 3em; margin-top: .2em;margin-bottom: .2em;font-weight: bold;}
.big{font-size: 1.3em;}
.bigger{font-size: 1.5em;}
.biggest{font-size: 2em;}
.smaller{font-size: .7em;}
.line{position: absolute;left: 0;margin-top: -13px;height: 1px;width: 300px;background-color: #fff;}
#program h3{margin: 0;color:#fff;}
.him{background-image: url(../images/him.jpg);}
.her{background-image: url(../images/her.jpg);}
.her p,.him p{font-size: 1.3em;}
.her > p:nth-child(1),.him > p:nth-child(1){font-family:'HelveticaBold';font-weight: bold;margin: 0;}
.foursquare{height: 100%;}
.foursquare > div{min-width: 50%;padding: 4% 4% 0 4%;box-sizing:border-box;-webkit-flex: 1 0;-moz-flex: 1 0;-ms-flex: 1 0;-o-flex: 1 0;flex: 1 0;position: relative;}
.foursquare > div:hover .come{transform: scale(1);-o-transform: scale(1);-ms-transform: scale(1);-moz-transform: scale(1);-webkit-transform: scale(1);}
.foursquare h6{margin-top: 2em;max-width: 80%;}
#intro .p100 > p{font-size: 1.5em;line-height: 1.5em;}
#intro .foursquare > div:nth-child(1){}
#intro .foursquare > div:nth-child(2){background-color: #e3ebec;}
#intro .foursquare > div:nth-child(3){background-color: #e3ebec;}
#intro .foursquare > div:nth-child(4){}
#intro .foursquare > div:hover p{color: #fff;}
#intro .foursquare > div:hover h6{color: #fff;}
#intro .foursquare > div:hover:nth-child(1) i{color: #ff5b93;}
#intro .foursquare > div:hover:nth-child(2) i{color: #00bfa5;}
#intro .foursquare > div:hover:nth-child(3) i{color: #5d737e;}
#intro .foursquare > div:hover:nth-child(4) i{color: #b4ef56;}
#intro .foursquare > div:hover:nth-child(1){background-color: #ff5b93;}
#intro .foursquare > div:hover:nth-child(2){background-color: #00bfa5;}
#intro .foursquare > div:hover:nth-child(3){background-color: #5d737e;}
#intro .foursquare > div:hover:nth-child(4){background-color: #b4ef56;}
#intro .foursquare > div:nth-child(1) .divico{color: #fff;background-color: #ff5b93;}
#intro .foursquare > div:nth-child(2) .divico{color: #fff;background-color: #00bfa5;}
#intro .foursquare > div:nth-child(3) .divico{color: #fff;background-color: #5d737e;}
#intro .foursquare > div:nth-child(4) .divico{color: #fff;background-color: #b4ef56;}
.divico{position: absolute;top:50px;right: 50px;border-radius: 3px;width: 48px;height: 48px;line-height: 48px;text-align: center;}
.spec{background-image: url(../images/special.jpg);text-align: center; color:#fff;padding-top: 4%;padding-bottom: 4%;}
.spec p:nth-child(1){font-family:'HelveticaBold';font-weight: bold;font-size: 3em;color: rgb(180, 239, 86);margin-top: 0;}
#galery{background-image: url(../images/galery.jpg);text-align: center;position: relative;padding: 6% 0;}
#galery > div{margin-top: 2em;}
#galery img{width: 100%; height: auto;}
#specialization{background-image: url(../images/specialization.jpg);}
#specialization * {color:#fff;}
#specialization h3 {margin-bottom: 2em;}
.iks{background-image: url(../images/iks.png); height: 1200px;justify-content: space-between;}
.iks > div{width: 30%;height: 100%;}
.iks > div > ul{-webkit-flex-direction: column;-moz-flex-direction: column;-ms-flex-direction: column;-o-flex-direction: column;flex-direction: column;justify-content: center;list-style: none;padding: 0;height: 100%;}
.iks > div:nth-child(2) > ul{justify-content: space-between;}
.iks ul li{position: relative;margin-top: 20px;}
.iks ul i{font-size: 5em;}
.iks ul h6{margin-top: 3em;}
.iks ul li > div{width: 160px; height: 160px;border-radius: 9px;line-height: 160px;display: inline-block;}
.iks > div:nth-child(1) > ul li > div{background-color: #22c7b1;border: #22c7b1 solid 3px;}
.iks > div:nth-child(2) > ul li:nth-child(1) > div{background-color: #b4ef56;border: #b4ef56 solid 3px;}
.iks > div:nth-child(2) > ul li:nth-child(2) > div{background-color: #5d737e;border: #5d737e solid 3px;}
.iks > div:nth-child(3) > ul li > div{background-color: #ff5b93;border: #ff5b93 solid 3px;}
#plans{background-image: url(../images/plans.jpg);}
#plans h3{color:#fff;margin-bottom: 2em;}
.cardplans{justify-content: space-between;}
.cardplans > div{position: relative;background-color: #fff;width: 30%;}
.cardplans > div > div:nth-child(1){color:#fff;}
.costper{text-align: center;position: absolute;left: 50%;margin-left: -60px;top: -60px;border-radius: 50%;height: 120px;width: 120px;vertical-align: middle;display: table-cell;background-color: #fff;}
figure {width: 100%;margin: 0;padding: .8em;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
figure:nth-child(even) {background-color: #f4f6f7;}
.costper p{margin: 0;}
.costper p:nth-child(1){margin-top: 30px;font-size: 1.5em;}
.pl-begin{background-image: url(../images/pl-stiletto.png);padding: 100px 0;font-size: 2em;}
.pl-profi{background-image: url(../images/pl-trenajori.png);padding: 100px 0;font-size: 2em;}
.pl-advan{background-image: url(../images/pl-child.png);padding: 100px 0;font-size: 2em;}
#discount{background-image: url(../images/50.jpg);color:#fff;justify-content: space-between;-ms-align-items: center;align-items: center;width: 100%;box-sizing: border-box;}
#discount > p{font-size: 6em;margin: 0;}
#discount > div > p:nth-child(1){font-size: 1.5em;}
#discount form{max-width: 250px; */}
#programs > p{margin: 0;}
.threeinline{justify-content: space-between;}
.threeinline > div{width: 30%;margin-top: 4%;}
.threeinline > div > div{display: inline-block;height: 80px;width: 80px;line-height: 80px;background-color: #2b2d3a;border: #2b2d3a solid 3px;border-radius: 3px;}
.threeinline > div > h6{margin-top: 40px;}
.threeinline > div > p{text-align: justify;}
.threeinline > div:hover .come{transform: scale(1);-o-transform: scale(1);-ms-transform: scale(1);-moz-transform: scale(1);-webkit-transform: scale(1);}
#contacts{background-color: #2d303f;}
#contacts .foursquare h6{color: #fff;font-weight: normal;}
#contacts .foursquare p{color: #99a9b5;}
#contacts .foursquare > div:nth-child(1){border-bottom: #434553 solid 1px;border-right: #434553 solid 1px;}
#contacts .foursquare > div:nth-child(2){border-bottom: #434553 solid 1px;border-right: #434553 solid 1px;}
#contacts .foursquare > div:nth-child(3){border-right: #434553 solid 1px;}
#contacts .foursquare > div:nth-child(4){border-right: #434553 solid 1px;}
#contacts .foursquare > div:nth-child(1) .divico{color: #b4ef56;background-color: #4c364b;border: #b4ef56 solid 3px;border-radius: 3px;}
#contacts .foursquare > div:nth-child(2) .divico{color: #00d4b4;background-color: #4c364b;border: #00d4b4 solid 3px;border-radius: 3px;}
#contacts .foursquare > div:nth-child(3) .divico{color: #ff5b93;background-color: #4c364b;border: #ff5b93 solid 3px;border-radius: 3px;}
#contacts .foursquare > div:nth-child(4) .divico{color: #6391ff;background-color: #4c364b;border: #6391ff solid 3px;border-radius: 3px;}
.gmap iframe{width: 100%; height: 100%;}
input, button{padding: 5px 15px;color:#fff;border: #fff solid 1px;margin: .3em 0;font-size: 1.1em;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;font-family: 'FuturaFuturisLightC';}
input{font-style: italic;width: 100%;background-color: rgba(255, 255, 255, 0.3);}
button{text-align: center;cursor: pointer;padding: 12px 15px 8px 15px;background-color: transparent;}
::-webkit-input-placeholder {color:#b4ef56;}
::-moz-placeholder          {color:#b4ef56;}/* Firefox 19+ */
:-moz-placeholder           {color:#b4ef56;}/* Firefox 18- */
:-ms-input-placeholder      {color:#b4ef56;}
input::-webkit-input-placeholder       {text-indent: 0px;   transition: text-indent 0.3s ease;}
input::-moz-placeholder                {text-indent: 0px;   transition: text-indent 0.3s ease;}
input:-moz-placeholder                 {text-indent: 0px;   transition: text-indent 0.3s ease;}
input:-ms-input-placeholder            {text-indent: 0px;   transition: text-indent 0.3s ease;}
input:focus::-webkit-input-placeholder {text-indent: 100%; transition: text-indent 0.3s ease;}
input:focus::-moz-placeholder          {text-indent: 100%; transition: text-indent 0.3s ease;}
input:focus:-moz-placeholder           {text-indent: 100%; transition: text-indent 0.3s ease;}
input:focus:-ms-input-placeholder      {text-indent: 100%; transition: text-indent 0.3s ease;}
footer{background-color: #212331;}
footer p {margin: 2em 0;}
footer > div > a{margin: 0 1em;font-size: 1.5em;    color: #ff5b93;}

/*Carousel-----------------------------------------------------------------------------------------------------*/
.owl-theme .owl-nav {
  margin-top: 10px;
  text-align: center;
  -webkit-tap-highlight-color: transparent; }
  .owl-theme .owl-nav [class*='owl-'] {
    color: #FFF;
    font-size: 14px;
    margin: 5px;
    padding: 4px 7px;
    background: #D6D6D6;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px; }
    .owl-theme .owl-nav [class*='owl-']:hover {
      background: #869791;
      color: #FFF;
      text-decoration: none; }
  .owl-theme .owl-nav .disabled {
    opacity: 0.5;
    cursor: default; }
.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 10px; }
.owl-theme .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent; }
  .owl-theme .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    *display: inline; }
    .owl-theme .owl-dots .owl-dot span {
      width: 15px;
      height: 10px;
      margin: 5px 7px;
      background: #262835;
      display: block;
      -webkit-backface-visibility: visible;
      transition: opacity 200ms ease;
      border-radius: 30px; }
    .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
      background: #00bfa5; }
      .owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1; }
  .owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
    /* fix firefox animation glitch */ }
  .owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0; }
  .owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px); }
  .owl-carousel .owl-wrapper,
  .owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0); }
  .owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; }
  .owl-carousel .owl-item img {
    display: block;
    width: 100%; }
  .owl-carousel .owl-nav.disabled,
  .owl-carousel .owl-dots.disabled {
    display: none; }
  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next,
  .owl-carousel .owl-dot {
    cursor: pointer;
    cursor: hand;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next,
  .owl-carousel button.owl-dot {
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit; }
  .owl-carousel.owl-loaded {
    display: block; }
  .owl-carousel.owl-loading {
    opacity: 0;
    display: block; }
  .owl-carousel.owl-hidden {
    opacity: 0; }
  .owl-carousel.owl-refresh .owl-item {
    visibility: hidden; }
  .owl-carousel.owl-drag .owl-item {
    -ms-touch-action: none;
        touch-action: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  .owl-carousel.owl-grab {
    cursor: move;
    cursor: grab; }
  .owl-carousel.owl-rtl {
    direction: rtl; }
  .owl-carousel.owl-rtl .owl-item {
    float: right; }
.no-js .owl-carousel {
  display: block; }
.owl-carousel .animated {
  -webkit-animation-duration: 1000ms;
          animation-duration: 1000ms;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both; }
.owl-carousel .owl-animated-in {
  z-index: 0; }
.owl-carousel .owl-animated-out {
  z-index: 1; }
.owl-carousel .fadeOut {
  -webkit-animation-name: fadeOut;
          animation-name: fadeOut; }
@-webkit-keyframes fadeOut {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }
@keyframes fadeOut {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }
.owl-height {
  transition: height 500ms ease-in-out; }
/*--------------------------------------------------------------------------------------------------------------
MEDIA
----------------------------------------------------------------------------------------------------------------*/
@media (min-width: 1920px) {
  /*section {padding: 5% 15%;}*/
}
@media (max-width: 1366px) {
/*body{font-size: 16px;}*/
.sp{padding-left: 4%;padding-right: 4%;}/*section padding*/
.spq{padding: 4%;}/*section padding*/
#galery{padding: 6% 0;}
main .zag {font-size: 2.2em;}
nav {width: 92%;}
.divico {top: 30px;right: 30px;}
#discount > p {font-size: 5em;max-width: 200px;}
}

@media (max-width: 1024px) {
.twos{-webkit-flex-wrap: wrap;-moz-flex-wrap: wrap;-ms-flex-wrap: wrap;-o-flex-wrap: wrap;flex-wrap: wrap;}
.twos > div{width: 100%;}
#discount > p {font-size: 4em;}
.iks {height: 900px;}
.iks ul li > div {width: 100px;height: 100px;line-height: 100px;}
.iks ul h6{margin-top: 2em;}
.spec p:nth-child(1) {font-size: 2em;margin-top: 1em;}
.gmap iframe {height: 400px;}
.cardplans > div > div:nth-child(1) {font-size: 1.25em;}
nav a {margin-right: 1em;font-size: .9em;}
}

@media (max-width: 892px) {
body {font-size: 16px;}
nav a {font-size: .7em;}
main{left: 10%;}

}
    
@media (min-width: 768px) {
}

@media (max-width: 767px) {
body {font-size: 15px;}
.bigger {font-size: 1.2em;}
nav{display: none;}
.her > p, .him > p {font-size: 1em;}
.her > h3, .him > h3 {font-size: 1.8em;}
.line {margin-top: -7px;width: 200px;}
.mdn{display: none;}
#discount > p {max-width: none;}
#galery {padding: 4%;}
nav a {font-size: .7em;margin-right: .7em;}
main .zag {font-size: 1.2em;}
.threeinline > div > div {height: 50px;width: 50px;line-height: 50px;}
.threeinline .xi-3 {font-size: 2.5em;}
.costper {margin-left: -45px;top: -45px;height: 90px;width: 90px;}
.iks ul li > div {width: 70px;height: 70px;line-height: 70px;}
.iks ul i {font-size: 3em;}
.threeinline > div > p {text-align: center;}
.foursquare h6 {margin-top: 2em;margin-bottom: 1.2em;max-width: 80%;}
#discount > div > p:nth-child(1) {font-size: 1.3em;}
#discount form {max-width: 280px;}
#specialization h3 {margin-bottom: 1em;}
.spec {background-image: none;background-color: #1e212a;}
footer > div > a {margin: 0 .8em;}
main{left: 4%;}

}

@media (max-width: 420px) {
h1 {font-size: 3.2em;}
h2 {font-size: 2.8em;}
h3 {font-size: 2.4em;}
h4 {font-size: 2em;}
h5 {font-size: 1.6em;}
h6 {font-size: 1.2em;}
main a {display: none !important;}
nav a{display: none;}
.headimg {background-image: url(../images/main-m.jpg);}
#discount,.cardplans,.threeinline, .iks {-webkit-flex-direction: column;-moz-flex-direction: column;-ms-flex-direction: column;-o-flex-direction: column;flex-direction: column;}
.cardplans > div,.threeinline > div,.foursquare > div,.iks > div {min-width: 100%;}
.threeinline > div {margin-top: 2em;}
.cardplans > div:not(:first-child){margin-top: 6em;}
.iks {height: auto;    background-image: none;}
.iks ul li:nth-child(2) {margin-top: 50px;}
#intro .p100 > p {font-size: 1em;line-height: 1em;}
#intro .foursquare > div:nth-child(odd) {background-color: #e3ebec;}
#intro .foursquare > div:nth-child(even) {background-color: #fff;}
#contacts .foursquare > div {border-bottom: #434553 solid 1px;border-right: none;}
.xi-2 {font-size: 1.2em;}
footer img{width: 100%;};
}