*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
	overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  color: #a7a6a6;
  font-size: 15px;
  overflow-x: hidden;
  background: url(img/background.jpg) repeat-y;
  background-position-y: 560px;
}
h1,
h2 {
  font-weight: 400;
  color: #787878;
}
h2 {
  text-align: center;
}
a {
  color: #ba2b0f;
}
img {
  max-width: 100%;
  height: auto;
}
ul {
  margin: 0;
  padding: 0;
}
header {
  background-color: #fff;
}
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1040px;
  padding: 0 20px;
  margin: 0 auto;
}
.logo {
  display: flex;
  justify-content: center;
  height: 140px;
  align-items: center;
}
.promo-wrapper {
  margin-bottom: 62px;
}
.promo {
  background: url(img/slider1.png) no-repeat 50% 0;
  height: 400px;
  overflow-x: hidden;
}
.promo .container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}
.promo h1 {
  margin-top: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: 30px;
  width: 390px;
  text-transform: uppercase;
  padding: 11px 0 5px;
  display: flex;
  align-items: center;
}
.promo p {
    font-weight: 800;
    max-width: 540px;
    color: #939596;
    padding-right: 0px;
    font-size: 25px;
    line-height: 1.5;
    margin-top: 0px;
    text-transform: uppercase;
}

.promo small {
    font-size: 16px;
}
.menu {
  background-color: #a1a1a1;
  position: relative;
}
.line {
  position: absolute;
  content: "";
  left: 50%;
  top: 0;
  margin-left: -147px;
  width: 295px;
  height: 199px;
  background: url("img/line.png") no-repeat 0 0;
  z-index: 2;
}
.menu .container {
  display: flex;
  flex-wrap: wrap;
}
.menu-row + .menu-row {
  border-top: 1px solid #fff;
}
.menu-item {
  height: 50px;
  line-height: 50px;
  flex: 50%;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}
.objects h2 {
  font-size: 40px;
  margin: 0 0 85px;
}
.objects-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 72px 0 0 0;
  margin: 0;
}
.objects-list li {
  list-style-type: none;
  width: 45.2%;
}
.objects-list .image-link {
  margin-bottom: 20px;
	display: block;
	overflow: hidden;
}
.objects-list .image-link img {
  display: flex;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
}
.objects-list .image-link img:hover {
	-webkit-transform: scale(1.07);
	-moz-transform: scale(1.07);
	-o-transform: scale(1.07);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.objects-list li:nth-child(odd) {
  text-align: right;
  position: relative;
  top: -97px;
}
.objects-list li:nth-child(even) {
  padding-top: 105px;
}
.objects-list li a {
  font-size: 20px;
}
.objects-list li p {
  margin: 6px 0;
}
footer {
  background-color: #fff;
}
.contacts {
  text-align: center;
  font-size: 20px;
  color: #545454;
}
.contacts h2 {
  color: #fff;
  display: inline-block;
  font-size: 25px;
  margin-top: 0;
}
.contacts h2 span {
  padding: 6px 0 7px 0;
  display: inline-block;
}
.contacts li {
  margin-bottom: 10px;
}
.phone {
  color: #545454;
}
.contacts-wrapper {
  padding-top: 40px;
  padding-bottom: 50px;
  background-color: #eee;
}
.contacts li {
  list-style: none;
}
.developer-wrapper {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
}
.has-skew-rect {
  position: relative;
}
.has-skew-rect:after {
  content: "";
  width: 3000px;
  height: 100%;
  background-color: #a3a6a8;
  position: absolute;
  z-index: 1;
}
.has-skew-rect-right:after {
  transform: skewX(-20deg);
  left: -35px;
}
.has-skew-rect-left:after {
  transform: skewX(20deg);
  right: -35px;
}
.has-skew-rect span {
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .line {
    display: none;
  }
  .menu-item {
    flex: 100%;
  }
  .menu-row .container {
    padding: 0;
  }
  .menu-row .container .menu-item + .menu-item {
    border-top: 1px solid #fff;
  }
.promo h1 {
    width: auto;
    font-size: 27px;
    padding: 11px 0 12px;
}
  .promo p {
    padding-left: 90px;
    padding-right: 0;
    text-align: right;
    font-size: 20px;
  }
.promo .container {
    margin-top: -60px;
}
  .developer-wrapper {
    display: block;
    text-align: center;
  }
  .copyrights {
    margin-bottom: 10px;
  }
  .developer {
    font-size: 13px;
  }
}
@media screen and (max-width: 500px) {
  .promo {
    height: 300px;
    background-position-y: 50%;
  }
  .promo .container {
    margin-top: -37px;
}
  .promo h1 {
    width: auto;
    font-size: 24px;
    padding: 11px 0 12px;
  }
  .has-skew-rect-right:after {
    left: -22px;
  }
  .promo p {
    padding-left: 90px;
    padding-right: 0;
    text-align: right;
    font-size: 15px;
  }
  .objects-list {
    padding: 0;
  }
  .objects h2 {
    margin: 0 0 70px;
  }
  .objects-list li:nth-child(odd) {
    top: 0;
    text-align: center;
  }
  .objects-list li {
    width: 100%;
    text-align: center;
  }
  .objects-list li:nth-child(even) {
    padding-top: 0;
  }
  .objects-list li {
    margin-bottom: 45px;
  }
}
