@charset "utf-8";

@media only screen and (max-width: 1024px) {

  .metromap-block {
    display: none;
    position: inherit;
    right: 0;
    top: 0;
    width: 100%;
  }

  .metromap-block__mobile {
    width: 100%;
  }
  .metromap-block__mobile img{
    width: 100%;
  }
}
@media only screen and (min-width: 1024px) {
  .metromap-block__mobile {
    display: none;
  }
}
.metromap-block {
  position: absolute;
  right: 20px;
  top: 0;
}

.metromap-block img {
  padding-top: 10px;
  width: 500px;
}

#header {
  background-image: url(/i/header.jpg);
  background-size: cover;
  width: 100%;
  background-repeat: no-repeat;
  background-position: bottom left;
  height: 590px;
  margin-top: 0 !important;
}

/* ------------------  admin ------------------------*/


.admin-slides li img{
  width: 200px;
}

.admin-slides {
  margin: 25px;
  padding: 25px;
  background-color: #fff;
  box-shadow: 0px 0px 20px #000;
  border-radius: 5px;
  display: block;
  max-width: 820px;
}

.admin-slides li{
  display: inline-block;
}

.img-del:before {
  content: "\f014";
  color: #fff;
  padding: 5px;
  background-color: red;
  border-radius: 50% 3px 3px 50%;
  font-size: 14px;
  vertical-align: middle;
  margin-right: 2px;
}


.img-edit:before {
  content: "\f040";
  color: #fff;
  padding: 5px;
  background-color: green;
  border-radius: 3px 50% 50% 3px;
  font-size: 14px;
  vertical-align: middle;
}

.img-edit, .img-del {
  color: transparent !important;
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pict-edit {
  position: relative;
  top: -21px;
  left: -27%;
  font-size: 0px;
  background-color: #fff;
  display: inline-block;
  padding: 8px;
  border-radius: 20px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.fld-name {
  position: relative;
  top: 42px;
  left: 53px;
  background-color: #fff;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  font-weight: normal;
}

/* ------------------  admin ------------------------*/


.interior-gallery {
  width: 50%;
  float: right;
  margin-top: 281px;
  overflow: hidden;
  height: 182px;
}
.interior-gallery__list {
  list-style: none;
}
.interior-gallery__list-item {
  float: left;
  margin: 20px;
  border: 4px #fff solid;
  box-shadow: 0px 0px 30px #000;
}


.vk-link {
  top: 290px;
}

@media only screen and (max-width: 1400px) {
  .phone {
    font-size: 25px !important;
    height: 50px;
    margin-top: 20px;
  }
}


.offlist .map {
  float: left !important;
  width: 35%;
  margin-right: 20px;
}
.offlist .map iframe {
  border: solid rgba(0, 0, 0, 0.7) 1px;
  height: 370px;
  width: 100%;
  margin: 0;
  padding: 1px;
  background-color: #fff;
}
.phone {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1.2em;
  letter-spacing: -0.8px;
  height: 90px;
}

.addr {
  margin-bottom: 10px;
  height: 30px;
}

.route {
  color: #d82108;
  font-size: 15px;
  font-weight: normal;
  margin-bottom: 10px;
  height: 110px;
  letter-spacing: -0.6px;
}

.office img{
/*   width: 50%; */
}


.office {
  float: left;
  margin-right: 20px;
  margin-bottom: 35px;
  width: 31%;
}


h2 {
  font-size: 23px;
  margin-bottom: 5px;
  text-transform: uppercase;
  height: 50px;
}
h1 {
  font-size: 25px;
  text-transform: uppercase;
  margin-bottom: 35px;
  color: #fff;
  position: absolute;
  top: 186px;
  left: 870px;
}

#logo {
  margin-bottom: 80px;
  position: absolute;
  margin-top: 356px;
  margin-left: 90px;
}

#menu a {
  margin-right: 36px;
  display: inline-block;
}

#menu {
  position: absolute;
  margin-top: 487px;
  margin-left: 90px;
  z-index: 1;
  width: 680px;
}

#header {
  margin-top: -240px;
}

#offlist div:nth-child(2n) {
  border: solid red 1px;
}

#content {
  width: auto;
  margin: 70px 0px 0px 90px;
  float: left;
}

html {
  height: auto;
}

@media (max-width:767px){
  .phone {
    font-size: 20px !important;
  }
  .office img {
    width: 100%;
  }
  .offlist .map {
    float: none !important;
    width: 100% !important;
    margin-right: 0;
  }

  .offlist .map iframe {
    width: 100% !important;
  }
  .addr {
    height: auto;
    font-size: 20px;
  }
  .route {
    margin-bottom: 10px;
    height: auto;
  }
  .office {
    float: none;
    margin-right: 0;
    margin-bottom: 10px;
    width: 100%;
    border-bottom: 2px dashed #6f6f6f;
    padding-bottom: 50px;
    overflow: hidden;
  }
  #header {
    margin-top: 0 !important;
    height: auto !important;
  }
  #about {
    width: 100%;
  }
  #content {
    margin-top: 0;
    padding: 20px;
    margin: 0 auto;
  }
  #about li {
    margin: 10px 0px 0px 20px;
    list-style: disc;
  }
  h1{color: #000;}
  #about div:nth-child(1), #about div:nth-child(2) {
    text-shadow: none;
    color: #000;
  }
}


@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation : portrait) {
  #logo {
    left:72px;
  }
  #menu {
    left:72px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation : landscape) {
  #logo {
    left:72px;
  }
  #menu {
    left:72px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .route,
  .addr,
  .phone{height: auto !important;}

  .office {
    float: none;
    margin-right: 0;
    margin-bottom: 10px;
    width: 96%;
    border-bottom: 2px dashed #6f6f6f;
    padding-bottom: 50px;
  }
  .vk-link {
    top: 30px;
    left: 62px;
  }
  #logo {
    margin: 0;
    position: absolute;
    width: 500px;
    top: 100px;
  }
  #menu {
    position: absolute;
    margin: 0;
    width: 600px;
    top: 225px;
  }
  #header {
    height: 275px;
    margin-top: 0px;
  }
  #menu a {
    margin-right: 30px;
    font-size: 15px;
  }
  #content {
    width: auto;
    margin: 40px 0px 0px 72px;
    float: left;
  }
  html{margin:0;}
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  html{margin:0;}
  .office {
    float: left;
    margin-right: 36px;
    margin-bottom: 10px;
    width: 46%;
    border-bottom: 2px dashed #6f6f6f;
    padding-bottom: 30px;
  }
}