html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-family: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
body {
  line-height: 1;
  color: #000;
  background: #fff;
}
ol,
ul {
  list-style: none;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  vertical-align: middle;
}
caption,
th,
td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}
a img {
  border: none;
}
body {
  background: #ccc;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
}
.wrapper {
  width: 960px;
  margin: auto;
  background: #fff;
}
.head {
  background: #fff;
}
.head .head-btn {
  float: left;
}
.head .head-right {
  float: right;
}
.logo {
  background: url("../images/logo.png");
  width: 211px;
  height: 37px;
  float: left;
  margin: 18px 0 0 20px;
  text-indent: 101%;
  white-space: nowrap;
  overflow: hidden;
}
.site-description {
  color: #898989;
  line-height: 16px;
  border-left: 1px solid #898989;
  padding: 2px 0 2px 20px;
  margin: 18px 0 0 20px;
  float: left;
}
.main-menu {
  float: left;
}
.main-menu li {
  float: left;
  display: table;
  height: 70px;
}
.main-menu li a {
  display:        table-cell;
  vertical-align: middle;
  color: #898989;
  font-size: 12px;
  line-height: 15px;
  text-decoration: none;
  text-align: center;
  padding: 15px 8px;
  border-bottom: 3px solid transparent;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  -ms-transition: all 300ms;
  transition: all 300ms;
}
.main-menu li.active a {
  color: #8393ca;
  background: #f1f1f1;
  border-bottom-color: #8393ca;
}
.main-menu li a:hover {
  color: #7684b5;
  border-bottom-color: #8393ca;
  background: #f1f1f1;
}
.left {
  width: 650px;
  float: left;
  border-right: 1px solid #d3d3d3;
}
.right {
  width: 309px;
  float: left;
}
.footer {
  border-top: 1px solid #d3d3d3;
  height: 45px;
  color: #959595;
  line-height: 45px;
  padding: 0 36px;
}
.footer .social {
  float: right;
  height: 16px;
  margin: 14px 0;
}
.footer .social a {
  height: 16px;
  float: left;
  margin: 0 10px;
  text-decoration: none;
}
.footer .social .icon {
  float: left;
}
.text a {
  color: #8393ca;
}
.text a:hover {
  color: #7684b5;
}
.btn {
  margin: 15px 20px;
  line-height: 15px;
  min-height: 15px;
  padding: 12.5px 30px;
  font-size: 12px;
  text-decoration: none;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  display: block;
  border: none;
  outline: none;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  -ms-transition: all 300ms;
  transition: all 300ms;
  cursor: pointer;
}
.btn.btn-dark {
  color: #fff;
  background: #8393ca;
}
.btn.btn-dark:hover {
  background: #7684b5;
}
.btn.btn-light {
  background: #fff;
  color: #8393ca;
}
.btn.btn-light:hover {
  background: rgba(255,255,255,0.8);
  color: #7684b5;
}
.btn.btn-details:after {
  content: '→';
  font-size: 21px;
  margin: -3px -5px 0 10px;
  float: right;
}
.btn.btn-back:before {
  content: '←';
  font-size: 21px;
  margin: -3px 10px 0 -5px;
  float: left;
}
.btn.btn-big {
  padding: 20px 30px;
}
.clearfix {
  zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.block-title {
  color: #a1a1a1;
  font-size: 12px;
  margin: 25px 36px;
  padding: 0;
  text-transform: uppercase;
}
.block-appointment .block-title {
  margin: 25px 11px;
}
.article {
  padding: 0 36px 20px;
  color: #000;
}
.article .block-title {
  margin-left: 0;
}
.article.article-preview {
  border-bottom: 1px solid #d3d3d3;
}
.article.article-preview .title {
  color: #000;
  text-decoration: none;
  font-size: 20px;
  margin: 0 0 20px;
  padding: 0;
  display: block;
  line-height: 24px;
}
.article .text {
  font-size: 16px;
  line-height: 20px;
}
.article .text p {
  margin: 0 0 15px;
}
.article .btn {
  display: inline-block;
  margin: 25px 0 0;
}
.article + .article {
  margin-top: 30px;
}
.article.last {
  border-bottom: none;
}
.block-phones {
  text-align: center;
  padding: 0 36px 30px;
  border-bottom: 1px solid #d3d3d3;
}
.block-phones .icon {
  float: left;
}
.block-phones .phones {
  float: right;
  width: 170px;
  text-align: right;
  font-size: 16px;
  line-height: 22px;
  color: #8393ca;
}
.block-phones .phones a {
  color: #8393ca;
  text-decoration: none;
}
.block-appointment {
  padding: 0 35px;
}
.block-appointment .btn {
  display: block;
  height: auto;
  margin: 0;
  width: 100%;
}
.form-item {
  position: relative;
  height: 40px;
  margin-bottom: 8px;
}
.form-item input,
.form-item select,
.popup .form-item.big textarea {
  border: 1px solid #8393ca;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  line-height: 15px;
  height: 40px;
  padding: 12.5px 30px;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 12px;
  outline: none;
  font-weight: bold;
  color: #8393ca;
  outline: none;
  background: none;
}
.form-item input:focus,
.form-item select:focus,
.popup .form-item.big textarea:focus {
  border-color: #7684b5;
}
.form-item input:error,
.form-item select:error,
.popup .form-item.big textarea:error,
.form-item input[error],
.form-item select[error],
.popup .form-item.big textarea[error] {
  border-color: #f00;
}
.form-item select {
  padding: 12.5px 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-weight: normal;
}
.form-item.select:after,
.form-item.select::after {
  pointer-events: none;
  content: '▼';
  color: #8393ca;
  position: absolute;
  right: 20px;
  top: 10px;
  display: block;
  width: 5px;
  height: 20px;
  line-height: 20px;
}
.form-item.no-hide input {
  padding-left: 85px;
}
.form-item label {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  padding: 13.5px 30px;
  color: #8393ca;
  pointer-events: none;
}
.form-item .icon {
  position: absolute;
  top: 9px;
  right: 15px;
  z-index: 2;
}
.form-result {
  display: none;
  background: url("../images/mail-big.jpg") 50% 20px no-repeat;
  padding: 120px 0 0;
  color: #8393ca;
  font-size: 18px;
  line-height: 25px;
  text-align: center;
}
.form-result.in {
  display: block;
}
.ui-timepicker-wrapper {
  margin-left: 80px;
}
.icon {
  display: inline-block;
}
.icon-facebook {
  background-image: url("../images/sprite.png");
  background-position: -134px 0px;
  width: 8px;
  height: 16px;
}
.icon-facebook:hover {
  background-position: -121px -72px;
}
.icon-gplus {
  background-image: url("../images/sprite.png");
  background-position: 0px -113px;
  width: 18px;
  height: 17px;
}
.icon-gplus:hover {
  background-position: -18px -113px;
}
.icon-linkedin {
  background-image: url("../images/sprite.png");
  background-position: -36px -113px;
  width: 17px;
  height: 16px;
}
.icon-linkedin:hover {
  background-position: -53px -113px;
}
.icon-twitter {
  background-image: url("../images/sprite.png");
  background-position: -70px -113px;
  width: 17px;
  height: 15px;
}
.icon-twitter:hover {
  background-position: -87px -113px;
}
.icon-vk {
  background-image: url("../images/sprite.png");
  background-position: -20px -95px;
  width: 22px;
  height: 14px;
}
.icon-vk:hover {
  background-position: -42px -95px;
}
.icon-youtube {
  background-image: url("../images/sprite.png");
  background-position: -73px -62px;
  width: 20px;
  height: 18px;
}
.icon-youtube:hover {
  background-position: 0px -95px;
}
.icon-phone {
  background-image: url("../images/sprite.png");
  background-position: -49px 0px;
  width: 49px;
  height: 49px;
}
.icon-close,
.popup .close {
  background-image: url("../images/sprite.png");
  background-position: -98px 0px;
  width: 36px;
  height: 36px;
}
.icon-close:hover,
.popup .close:hover {
  background-position: -98px -36px;
}
.icon-map-marker {
  background-image: url("../images/sprite.png");
  background-position: 0px 0px;
  width: 49px;
  height: 62px;
}
.icon-mail {
  background-image: url("../images/sprite.png");
  background-position: 0px -62px;
  width: 50px;
  height: 33px;
}
.icon-calendar {
  background-image: url("../images/sprite.png");
  background-position: -50px -62px;
  width: 23px;
  height: 20px;
}
.icon-time {
  background-image: url("../images/sprite.png");
  background-position: -98px -72px;
  width: 23px;
  height: 23px;
}
.contact-item {
  margin-bottom: 30px;
}
.contact-item .image {
  float: left;
  width: 100px;
}
.contact-item .content {
  max-width: 475px;
  float: left;
  border-bottom: 1px solid #d3d3d3;
  font-size: 16px;
  line-height: 22px;
  color: #000;
  padding: 0 0 30px;
}
.contact-item .phones {
  color: #8393ca;
  font-size: 18px;
}
.contact-item:last-child .content {
  border-bottom: none;
}
@media screen and (max-width: 475px) {
  .contact-item .image,
  .contact-item .content {
    border: none;
  }
}
@media screen and (max-width: 325px) {
  .contact-item .content {
    width: 210px;
  }
  .contact-item .image {
    width: 75px;
  }
}
.jumbotron {
  max-height: 445px;
  height: auto;
}
.jumbotron img {
  display: block;
  max-height: 445px;
  max-width: 100%;
}
.jumbotron .title {
  font-family: 'Roboto', sans-serif;
  width: 100%;
  text-align: center;
  font-weight: 100;
  font-size: 70px;
  position: absolute;
  top: 70px;
  left: 0;
  color: #fff;
  display: block;
  padding: 0;
  margin: 0;
  z-index: 2;
}
.jumbotron .btn {
  position: absolute;
  z-index: 2;
  top: 170px;
  left: 50%;
  margin-left: -80px;
  padding: 20px 35px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
}
.block-about {
  background: url("../images/about-bg.jpg") 0 0 no-repeat;
  height: 348px;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 20px;
  padding-top: 35px;
}
.block-about p {
  margin-bottom: 30px;
}
.block-about .btn {
  display: inline-block;
}
.head-image {
  max-height: 451px;
  height: auto;
}
.head-image img {
  display: block;
  max-height: 451px;
  max-width: 100%;
}
.block-info {
  background: url("../images/info-bg.jpg") 0 0 no-repeat;
  width: 566px;
  height: 268px;
  margin: 20px 0;
  font-size: 18px;
  color: #000;
  line-height: 27px;
  padding: 45px;
  text-align: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.diplomas a {
  float: left;
  width: 275px;
}
.diplomas a + a {
  margin-left: 25px;
}
.diplomas a img {
  display: block;
  max-width: 275px;
}
.acf-map {
  width: 100%;
  height: 451px;
}
.acf-map img {
  max-width: inherit !important;
}
.popup-bg {
  background: rgba(0,0,0,0.2);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-transition: 500ms all;
  -moz-transition: 500ms all;
  -o-transition: 500ms all;
  -ms-transition: 500ms all;
  transition: 500ms all;
  pointer-events: none;
}
.popup-bg.in {
  pointer-events: auto;
  opacity: 1;
  -ms-filter: none;
  filter: none;
  background: rgba(0,0,0,0.6);
}
.popup {
  background: url("../images/popup-bg.png") 0 0 no-repeat;
  width: 566px;
  height: 318px;
  top: 50%;
  left: 50%;
  position: fixed;
  margin-top: -159px;
  margin-left: -283px;
  z-index: 110;
  -webkit-transform: scale(0.6) translateY(-50%);
  -moz-transform: scale(0.6) translateY(-50%);
  -o-transform: scale(0.6) translateY(-50%);
  -ms-transform: scale(0.6) translateY(-50%);
  transform: scale(0.6) translateY(-50%);
  -webkit-transition: 500ms all;
  -moz-transition: 500ms all;
  -o-transition: 500ms all;
  -ms-transition: 500ms all;
  transition: 500ms all;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  pointer-events: none;
}
.popup.in {
  pointer-events: auto;
  opacity: 1;
  -ms-filter: none;
  filter: none;
  -webkit-transform: scale(1) translateY(0);
  -moz-transform: scale(1) translateY(0);
  -o-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
}
.popup .close {
  position: absolute;
  top: 0;
  right: 0;
  margin: -36px -36px 0 0;
}
.popup .content {
  padding: 0 36px;
}
.popup .row {
  zoom: 1;
}
.popup .row:before,
.popup .row:after {
  content: "";
  display: table;
}
.popup .row:after {
  clear: both;
}
.popup .row .form-item {
  width: 240px;
  float: left;
}
.popup .row .form-item + .form-item {
  margin-left: 14px;
}
.popup .form-item.big {
  width: 100%;
  height: 70px;
}
.popup .form-item.big textarea {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 70px;
}
.popup .btn {
  display: block;
  height: 40px;
  margin: 0;
  width: 100%;
}
.popup .block-title {
  text-align: center;
}
.popup.popup-lightbox {
  width: 910px;
  background: none;
  top: 0;
  margin-top: 120px;
  margin-left: -455px;
}
.popup.popup-lightbox img {
  display: block;
  max-width: 100%;
}
@media screen and (max-width: 825px) {
  .head .head-right {
    float: left;
    width: 100%;
    margin-left: 9px;
    zoom: 1;
  }
  .head .head-right:before,
  .head .head-right:after {
    content: "";
    display: table;
  }
  .head .head-right:after {
    clear: both;
  }
  .block-title {
    margin: 20px 17px;
  }
  .article .btn {
    margin: 10px 0 3px;
  }
  .acf-map {
    height: 225px !important;
  }
}
@media screen and (max-width: 959px) {
  body,
  .wrapper,
  .left {
    width: 100%;
  }
  .right {
    display: none;
  }
  .logo {
    margin-left: 15px;
  }
  .article {
    padding: 0 15px 10px;
  }
  .diplomas a {
    float: none;
  }
}
@media screen and (max-width: 320px) {
  .wrapper {
    width: 320px;
  }
  .head .head-btn {
    margin-left: 5px;
  }
}
@media screen and (max-width: 430px) {
  .logo {
    margin-top: 20px;
    margin-left: 15px;
    width: 150px;
    height: 26px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
  }
  .site-description {
    margin-left: 10px;
    padding-left: 10px;
  }
  .main-menu li a {
    padding: 15px 5px;
  }
  .btn {
    margin: 10px 15px;
    padding: 7px 15px;
  }
  .popup .content {
    padding: 0 10px;
  }
}
@media screen and (max-width: 550px) {
  .popup {
    background: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 10px 10px 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .popup .row .form-item {
    width: auto;
    float: none;
  }
  .popup .row .form-item + .form-item {
    margin-left: 0;
  }
  .popup .btn {
    width: 100%;
    max-width: none;
  }
  .popup .close {
    margin: 0;
    background-image: url("../images/sprite.png");
    background-position: -98px -36px;
    width: 45px;
  }
  .block-info {
    width: 100%;
    height: auto;
    background: #fff;
    border: 3px solid #8393ca;
    -webkit-border-radius: 30px;
    border-radius: 30px;
  }
  .mobile-hide {
    display: none;
  }
}
