* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'CenturyGothic';
  src: url('../fonts/CenturyGothic/CenturyGothic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/CenturyGothic/CenturyGothic.woff') format('woff'),
    url('../fonts/CenturyGothic/CenturyGothic.ttf') format('truetype'),
    url('../fonts/CenturyGothic/CenturyGothic.svg#CenturyGothic') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CenturyGothic-Bold';
  src: url('../fonts/CenturyGothic-Bold/CenturyGothic-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/CenturyGothic-Bold/CenturyGothic-Bold.woff') format('woff'),
    url('../fonts/CenturyGothic-Bold/CenturyGothic-Bold.ttf') format('truetype'),
    url('../fonts/CenturyGothic-Bold/CenturyGothic-Bold.svg#CenturyGothic-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'CenturyGothic';
  overflow-x: hidden;
}

p {
  text-align: justify;
}

.has-background {
  background-color: red;
}

.clearfix::after {
  content: '';
  clear: both;
  display: table;
}

.wrapper {
  /*width: 1600px;*/
  max-width: 1600px;
  margin: 0 auto;
}

.header {
  background: url(../images/bg.jpg) no-repeat 255px 0;
  height: 775px;
}

.section {
  margin-left: 255px;
  position: relative;
}

.menu {
  text-align: center;
  width: 255px;
  float: left;
  padding: 30px 0 0;
  position: fixed;
  margin-bottom: 20px;
}

.logo {
  max-width: 200px;
}

.menu li {
  list-style: none;
}

.menu li a {
  display: block;
  text-decoration: none;
  line-height: 39px;
  color: #5a595f;
  font-size: 19px;
}

.menu .active a {
  background: #fbc8a9;
  color: #fff;
}

.menu .soc {
  font-size: 0;
  padding-top: 38px;
}

.soc a {
  width: 9px;
  height: 15px;
  background: url(../images/soc.png) no-repeat 0 0;
  display: inline-block;
  margin: 0 6px;
}

.soc a.facebook {
  background: url(../images/soc.png) no-repeat 0 0;
}

.soc a.instagram {
  background: url(../images/instagram.png) no-repeat 0 0;
}

.menu .soc .google_plus {
  width: 15px;
  /* background-position: -24px 0; */
  background: url(http://leila.space-level.com/images/in.jpg);
  background-size: cover;
  opacity: 0.8;
}

.menu .soc .twitter {
  width: 15px;
  background-position: -52px 0;
}

.menu .soc .vk {
  width: 15px;
  background-position: -80px 0;
}

.header .text {
  margin: 120px 0 0 327px;
  float: left;
  width: 435px;
}

.header .text h1 {
  color: #674630;
  font: 48px/1 'CenturyGothic-Bold';
  margin-bottom: 44px;
}

.header .text p {
  color: #674630;
  font-size: 19px;
  margin-bottom: 45px;
}

.header .text .more {
  display: block;
  width: 193px;
  height: 37px;
  line-height: 37px;
  text-align: center;
  background: #fbc8a9;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.8px;
}

.categories {
  padding: 150px 100px 150px 100px;
}

.categories:after,
.about .item:after {
  content: '';
  display: block;
  clear: both;
}

.categories .item {
  position: relative;
  display: block;
  float: left;
  width: calc(100% / 3 - 21px);
  margin: 0 20px 21px 0;
}

.categories .item img {
  vertical-align: bottom;
  width: 100%;
}

.categories .item > span {
  position: absolute;
  bottom: 0;
  left: 0;
  display: table;
  width: 100%;
  height: 70px;
  color: #fff;
  background: rgba(251, 200, 169, 0.6);
  font-size: 20px;
}

.categories .item > span span {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 0 5px;
}

.about {
  margin-left: 255px;
  background-color: #f8f5f6;
  position: relative;
  padding-bottom: 60px;
  padding-top: 80px;
}

.about h2 {
  /*padding: 68px 0 68px 119px;*/
  font: 31px/1 'Open Sans';
  letter-spacing: 3px;
}

.decor-line {
  position: relative;
}

.decor-line:after {
  content: '';
  display: block;
  width: 150px;
  height: 1px;
  background: #674631;
  position: absolute;
  top: 50%;
  right: 0;
}

.about img {
  display: block;
  float: left;
  margin: 10px 45px 0 0;
}

.about .item {
  max-width: 885px;
  margin-left: 122px;
  margin-right: 30px;
  padding: 37px 0 0;
  color: #674631;
  font: 300 20px/1.3 'Open Sans';
}

.about .item .text {
  margin-left: 125px;
  margin-bottom: 45px;
}

.about .item .title {
  font: 31px/1 'Open Sans';
  padding-bottom: 15px;
}

.care {
  height: 800px;
  margin-left: 255px;
  padding-top: 100px;
  overflow: hidden;
}

.section-header-container {
  padding: 0 60px 50px 120px;
  color: #674631;
  font: 300 20px 'Open Sans';
}

.section-header-container h2 {
  font: 31px/1 'Open Sans';
  text-transform: uppercase;
  color: #664733;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.face {
  height: 300px;
  width: 190px;
  margin: 0 auto;
  position: relative;
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.face .point {
  float: right;
  background-image: url(../images/point.png);
  background-position: center center;
  background-repeat: no-repeat;
  width: 33px;
  height: 33px;
  display: block;
  opacity: 0.7;
}

.face .left .point {
  margin-left: 100px;
  position: relative;
  cursor: pointer;
}

.face .point:hover ~ .title span {
  display: block;
}

.face .point:hover ~ .title .desc {
  display: block;
}

.face .point:hover ~ .desc {
  display: block;
}

.face .point:hover:after {
  display: block;
}

/*.face .left .point:after {
    content: "";
    display: none;
    width: 85px;
    height: 1px;
    background: #674631;
    position: absolute;
    left: -90px;
    top: 17px;
}*/
.face .right .point {
  margin-right: 153px;
  position: relative;
}

/*.face .right .point:after {
    content: "";
    display: none;
    width: 132px;
    height: 1px;
    background: #674631;
    position: absolute;
    left: 45px;
    top: 17px;
}*/

.face25 {
  background-image: url(../images/face25.jpg);
}

.face35 {
  background-image: url(../images/face35.jpg);
}

.face45 {
  background-image: url(../images/face45.jpg);
}

.face .pin {
  width: 600px;
}

.face .pin .point {
  z-index: 100;
  position: absolute;
}

.pin-default {
  display: none;
}

.face .pin .title {
  padding: 0 0 5px;
}

.face .pin .title span {
  color: #674631;
  text-transform: uppercase;
  font: 18px/25px 'Open Sans';
  cursor: pointer;
}

.face .left .point:after {
  display: none;
}

.face .pin .desc {
  position: absolute;
  top: 40px;
  background: #f8f5f6;
  border: 3px solid #e4d5d7;
  border-radius: 5px;
  padding: 20px;
  width: 380px;
  color: #674631;
  display: none;
  z-index: 50;
  text-align: justify;
}

.face .pin .title span:hover ~ .desc {
  display: block;
}

.face .left .desc {
  right: -200px;
}

.face .right .desc {
  left: -200px;
}

.face35 .pin8 .title span,
.face35 .pin12 .title span,
.face45 .pin1 .title span,
.face45 .pin2 .title span,
.face45 .pin9 .title span,
.face45 .pin12 .title span {
  line-height: 1;
}

.face25 .pin1 .point {
  right: 51%;
  bottom: 17%;
}

.face25 .pin2 .point {
  right: 61%;
  bottom: 23%;
}

.face25 .pin3 .point {
  right: 59%;
  bottom: 31%;
}

.face25 .pin4 .point {
  right: 57%;
  bottom: 38%;
}

.face25 .pin5 .point {
  right: 65%;
  bottom: 42%;
}

.face25 .pin6 .point {
  right: 62%;
  bottom: 46%;
}

.face25 .pin7 .point {
  right: 63%;
  top: 27%;
}

.face25 .pin8 .point {
  right: 52%;
  top: 19%;
}

.face25 .pin9 .point {
  left: 54%;
  top: 21%;
}

.face25 .pin10 .point {
  left: 47%;
  top: 27%;
}

.face25 .pin11 .point {
  left: 53%;
  top: 48%;
}

.face25 .pin12 .point {
  left: 57%;
  top: 54%;
}

.face25 .pin13 .point {
  left: 60%;
  top: 61%;
}

.face25 .pin14 .point {
  left: 44%;
  top: 62%;
}

.face25 .pin15 .point {
  left: 56%;
  top: 70%;
}

.face25 .pin16 .point {
  left: 49%;
  top: 75%;
}

.face35 .pin1 .point {
  right: 64.5%;
  bottom: 22.6%;
}

.face35 .pin2 .point {
  left: 64.5%;
  top: 61.7%;
}

.face35 .pin3 .point {
  right: 59.2%;
  bottom: 38.3%;
}

.face35 .pin4 .point {
  right: 76.3%;
  top: 51.3%;
}

.face35 .pin5 .point {
  right: 65.8%;
  bottom: 44.7%;
}

.face35 .pin6 .point {
  right: 60.5%;
  bottom: 46.1%;
}

.face35 .pin7 .point {
  right: 69.7%;
  bottom: 41.7%;
}

.face35 .pin8 .point {
  right: 44.7%;
  top: 7.8%;
}

.face35 .pin9 .point {
  right: 65.8%;
  top: 31.3%;
}

.face35 .pin10 .point {
  left: 55.3%;
  top: 24.3%;
}

.face35 .pin11 .point {
  left: 52.6%;
  top: 30.4%;
}

.face35 .pin12 .point {
  left: 43.9%;
  top: 37.4%;
}

.face35 .pin13 .point {
  left: 50%;
  top: 48.7%;
}

.face35 .pin14 .point {
  left: 60.5%;
  top: 55.7%;
}

.face35 .pin15 .point {
  right: 61.8%;
  bottom: 31.3%;
}

.face35 .pin16 .point {
  left: 55.3%;
  top: 50.4%;
}

.face35 .pin17 .point {
  left: 53.9%;
  top: 61.7%;
}

.face35 .pin18 .point {
  left: 46.1%;
  top: 65.2%;
}

.face35 .pin19 .point {
  left: 48.7%;
  top: 68.7%;
}

.face35 .pin20 .point {
  left: 63.2%;
  top: 73%;
}

.face35 .pin21 .point {
  left: 51.3%;
  top: 77.4%;
}

.face45 .pin1 .point {
  right: 67.1%;
  top: 77.4%;
}

.face45 .pin2 .point {
  right: 65.8%;
  top: 60%;
}

.face45 .pin3 .point {
  right: 64.5%;
  bottom: 22.6%;
}

.face45 .pin4 .point {
  right: 59.2%;
  bottom: 38.3%;
}

.face45 .pin5 .point {
  right: 76.3%;
  top: 51.3%;
}

.face45 .pin6 .point {
  right: 65.8%;
  bottom: 44.7%;
}

.face45 .pin7 .point {
  right: 65.3%;
  top: 27%;
}

.face45 .pin8 .point {
  right: 69.7%;
  bottom: 41.7%;
}

.face45 .pin9 .point {
  right: 44.7%;
  top: 7.8%;
}

.face45 .pin10 .point {
  right: 65.8%;
  top: 31.3%;
}

.face45 .pin11 .point {
  left: 55.3%;
  top: 24.3%;
}

.face45 .pin12 .point {
  left: 43.9%;
  top: 37.4%;
}

.face45 .pin13 .point {
  left: 52.6%;
  top: 30.4%;
}

.face45 .pin14 .point {
  left: 50%;
  top: 48.7%;
}

.face45 .pin15 .point {
  left: 64.5%;
  top: 50.4%;
}

.face45 .pin16 .point {
  right: 61.8%;
  bottom: 31.3%;
}

.face45 .pin17 .point {
  left: 55.3%;
  top: 50.4%;
}

.face45 .pin18 .point {
  left: 61.8%;
  top: 60.9%;
}

.face45 .pin19 .point {
  left: 53.9%;
  top: 61.7%;
}

.face45 .pin20 .point {
  left: 46.1%;
  top: 66.1%;
}

.face45 .pin21 .point {
  left: 48.7%;
  top: 69.7%;
}

.face45 .pin22 .point {
  left: 63.2%;
  top: 73%;
}

.face45 .pin23 .point {
  left: 42.1%;
  top: 87%;
}

.tabs {
  font-size: 0;
  text-align: center;
}

.tabs a {
  display: inline-block;
  width: 125px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: #524d4b;
  font-size: 15px;
  text-decoration: none;
  background: #f2eaed;
  box-shadow: -5px 3px 5px #c3c0c2;
  font-weight: bold;
}

.tabs a.active {
  box-shadow: none;
}

.tabs a:nth-child(2) {
  background: #e8dfe2;
}

.tabs a:nth-child(3) {
  background: #e4d7db;
}

.tab-content {
  display: none;
}

.tab-content img {
  vertical-align: bottom;
}

#body {
  background: url(../images/footer.jpg) no-repeat 100% 0;
  background-position: calc(100% + 130px) 0;
  height: 827px;
}

#body .point {
  position: absolute;
  width: 64px;
  height: 64px;
  display: block;
  background: url(../images/point1.png) no-repeat 50% 50%;
  color: #d6cfcc;
  text-align: center;
  line-height: 64px;
  text-decoration: none;
}

#body .point1 {
  top: 0;
  right: 190px;
}

#body .point2 {
  top: 250px;
  right: 285px;
}

#body .point3 {
  top: 470px;
  right: 170px;
}

#body .point4 {
  top: 600px;
  right: 347px;
}

#body .point5 {
  top: 750px;
  right: 510px;
}

#body .title {
  font: 31px/1 'Open Sans';
  text-transform: uppercase;
  padding: 135px 120px 50px;
  color: #664733;
  letter-spacing: 3px;
}

#body ul {
  margin-left: 125px;
}

#body li {
  list-style: none;
  position: relative;
  padding-left: 30px;
  color: #c3b1aa;
  padding-bottom: 20px;
}

#body li div,
#body li a {
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  color: #7b5e4d;
  letter-spacing: 1px;
  padding-bottom: 13px;
}

#body li:before {
  content: '';
  width: 15px;
  height: 15px;
  background: #bfa79b;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 0;
}

.page-inside .container {
  margin: 0 0 100px 255px;
}

.page-inside .title {
  height: 320px;
  box-sizing: border-box;
  text-align: center;
  font-size: 60px;
  margin-bottom: 33px;
}

.page-inside .title > span {
  display: table;
  width: 100%;
  height: 100%;
}

.page-inside .title > span > span {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-weight: bold;
}

.page-inside .text {
  max-width: 745px;
  margin: 0 auto;
  text-align: center;
}

.page-inside .text p {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 15px;
  margin-top: 15px;
}

.page-inside .text li {
  list-style: none;
}

.page-inside .text li p:first-child:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: #fbc8a9;
  border-radius: 50%;
}

/* customizations */

.face .pin .desc {
  top: calc(100% + 80px);
  width: calc(100vw - 255px - 10em);
  max-width: 50em;
  left: 50%;
  transform: translateX(-50%);
}

.face .pin {
  width: 100%;
}

.face .pin .desc.desc-default {
  display: block;
}

#contact {
  padding: 3em 0;
}

.footer-row {
  text-align: center;
}

.footer-item {
  display: inline-block;
  max-width: 500px;
  padding: 10px 20px;
  vertical-align: middle;
  text-align: left;
  line-height: 1.8em;
}

.footer-item a {
  color: inherit;
  text-decoration: none;
}

.footer-item a:hover {
  text-decoration: underline;
}

.photo-article {
  max-height: 400px;
  float: left;
  padding: 0 15px 5px 0;
}

.page-inside .align-left {
  text-align: left;
}

.page-inside .text h2 {
  text-align: center;
  margin-bottom: 15px;
}

section {
  margin: 40px 0;
}

.social a {
  padding: 10px 7px;
  display: inline-block;
}

.social-icon {
  max-width: 28px;
  height: 17px;
}

.f {
  fill: #959595;
  cursor: pointer;
  transition: fill 0.15s ease-in-out;
}

.social-icon:hover .f {
  fill: #fbc8a9;
}

.face .pin .desc.visible {
  display: block;
}

/* Contact form */
/* #contact {
  padding: 5em 1em;
}

#contact h2 {
  font: 31px/1 'Open Sans';
  text-transform: uppercase;
  color: #664733;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin: 0.7em 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 1em;
}

.form-text {
  margin-bottom: 0.5em;
}

.form-group .form-control {
  margin: 0.3em 0;
  padding: 0.3em;
  outline-color: #fbc8a9;
  font-family: inherit;
}

.btn {
  font-family: inherit;
  font-size: 1em;
  background: #fbc8a9;
  border: none;
  padding: 0.5em 2em;
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.8px;
  cursor: pointer;
}

.form-message {
  font-size: 0.9em;
  margin: 1em 0;
}

.form-message ul {
  margin: 0.5em 0;
  list-style-position: inside;
} */

.callback {
  position: fixed;
  z-index: 100;
  display: flex;
  bottom: 3em;
  right: 3em;
  background: #fbc8a9;
  border-radius: 20em;
  border: 1px solid #fbc8a9;
  transition: width 0.5s ease, height 0.5s ease;
  width: 3.3em;
  height: 3.3em;
  align-items: flex-end;
  border-radius: 1.9em;
}

.callback.opened {
  background: #f8f5f6;
  width: 40em;
}

.callback .content {
  display: none;
  padding: 0.5em 0;
  overflow: hidden;
  height: 100%;
  width: 1000px;
  box-sizing: border-box;
  align-items: center;
}

.callback.opened .content {
  display: flex;
}

.callback .text-content {
  text-align: center;
  flex-basis: 12em;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 0.9em;
  padding: 0 1em;
}

.callback-button {
  background: #fbc8a9;
  border-radius: 20em;
  padding: 0.7em;
  border: none;
  outline: none;
  font-size: 1em;
  width: 3.3em;
  height: 3.3em;
  flex-basis: 3.3em;
  flex-grow: 0;
  flex-shrink: 0;
  cursor: pointer;
  margin-left: auto;
}

.callback-button:focus {
  box-shadow: 0px 0px 1px 1px #76675e;
}

.phone-icon {
  width: 100%;
  height: 100%;
}

.phone-icon path {
  fill: #fff;
}

.text-input {
  background-color: #fff;
  outline-color: #fbc8a9;
  outline-width: 1px;
  outline-offset: 0;
  border: none;
  padding: 0.4em;
  font-size: 1em;
  font-family: inherit;
  margin: 0 0.2em;
}

.close-button {
  position: absolute;
  top: -0.5em;
  left: -0.5em;
  background: #fbc8a9;
  border: none;
  color: #fff;
  width: 0.8em;
  height: 0.8em;
  display: flex;
  border-radius: 100%;
  cursor: pointer;
  box-sizing: content-box;
  padding: 0.4em;
}

.close-button svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 700px) {
  .callback.opened {
    max-width: 80%;
    width: 20em;
    height: 9em;
    align-items: flex-end;
  }

  .callback .content {
    padding: 0.5em 1em;
    flex-direction: column;
    flex-grow: 1;
  }

  .callback .text-content {
    flex-basis: initial;
    margin-bottom: 0.5em;
  }

  .text-input {
    margin: 0.2em 0.2em;
  }
}

@media (max-width: 1100px) {
  .categories {
    padding: 70px 0 0 50px;
  }

  .about,
  #body,
  .care {
    margin-left: 0;
  }

  .section {
    margin-left: 0;
  }

  #body .title {
    padding-left: 25px;
  }

  #body ul {
    margin-left: 25px;
  }

  .header .text {
    margin-left: 72px;
  }

  .menu {
    position: static;
  }

  .page-inside .title {
    font-size: 40px;
  }

  .page-inside .text {
    padding: 0 15px;
  }

  .face .pin .desc {
    top: calc(100% + 80px);
    width: calc(100vw - 10em);
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 820px) {
  .header {
    height: 505px;
  }

  .header .text {
    width: 250px;
    margin-left: 42px;
  }

  .header .text h1 {
    font-size: 25px;
    margin-bottom: 25px;
  }

  .categories {
    text-align: center;
    padding: 20px 0;
  }

  .categories .item {
    width: 300px;
    max-width: 90%;
    margin-left: 10px;
    margin-right: 10px;
    float: none;
    display: inline-block;
  }

  .about {
    background-position: 75px 120px;
  }

  .decor-line:after {
    display: none;
  }

  .about .item {
    margin-left: 40px;
    padding-top: 27px;
  }

  .care {
    height: 700px;
  }

  .section-header-container {
    padding: 0 30px 50px 30px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }

  .pin .title {
    text-align: center;
  }

  .desc {
    font-size: 0.8em;
  }

  #body {
    background-position: calc(100% + 230px) 0;
  }

  #body .point1 {
    right: 90px;
  }

  #body .point2 {
    right: 185px;
  }

  #body .point3 {
    right: 70px;
  }

  #body .point4 {
    right: 247px;
    top: 620px;
  }

  #body .point5 {
    right: 410px;
  }

  .photo-article {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .header {
    background: none;
    height: auto;
  }

  .header:after {
    content: '';
    clear: both;
    display: block;
  }

  .menu {
    float: none;
    margin: 0 auto;
    width: auto;
  }

  .menu .soc {
    padding-top: 15px;
  }

  .header .text {
    width: auto;
    margin: 0 auto;
    padding: 30px 15px 15px;
  }

  .about {
    background: #f8f5f6;
  }

  .about h2 {
    letter-spacing: 0;
  }

  .about img {
    width: 40px;
    margin-right: 0;
  }

  .about .item {
    margin-left: 20px;
    margin-right: 20px;
  }

  .about .item .text {
    margin-left: 60px;
  }

  .about .item .title {
  }

  .tabs a {
    width: 75px;
  }

  .page-inside .container {
    margin: 30px 0 0;
  }

  #body .title {
    padding: 60px 25px 45px;
    letter-spacing: 1px;
    font-size: 25px;
  }

  #body li div,
  #body li a {
    padding-bottom: 0;
    font-size: 21px;
  }

  #body .title {
    padding-left: 25px;
  }

  #body {
    background-position: calc(100% + 330px) 0;
  }

  #body .point1 {
    right: 5px;
  }

  #body .point2 {
    right: 85px;
  }

  #body .point3 {
    right: 0;
  }

  #body .point4 {
    right: 147px;
    z-index: 100;
  }

  #body .point5 {
    right: 250px;
  }
}

@media (max-width: 500px) {
  .care {
    height: 950px;
  }

  #body {
    background-position: center;
    height: 570px;
    background-size: cover;
  }

  #body .point {
    display: none;
  }

  #contact {
    margin-top: 40px;
  }

  .footer-item {
    text-align: center;
  }

  p {
    text-align: left;
  }

  p.mobile-center {
    text-align: center;
  }
}
