/* СК «ЮгРегионСтрой» — шаблон ~2015, Bitrix/Joomla construction look */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #1a2b3c;
}
body {
  color: #333;
  font: 13px/1.55 Arial, Helvetica, sans-serif;
}
a {
  color: #1a5276;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.page {
  width: 1152px;
  margin: 0 auto;
  background: #fff;
  box-sizing: border-box;
  border-left: 1px solid #f4f4f4;
  border-right: 1px solid #f4f4f4;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.18);
}

/* --- header --- */
.header {
  overflow: hidden;
  padding: 14px 18px 12px;
  border-bottom: 3px solid #e67e22;
}
.logo {
  float: left;
  display: block;
  color: #1a2b3c;
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
  color: #1a2b3c;
}
.logo img {
  float: left;
  width: 52px;
  height: 52px;
  margin-right: 12px;
}
.logo-name {
  display: block;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.15;
  padding-top: 4px;
  margin-left: 64px;
}
.logo-tag {
  display: block;
  font-size: 11px;
  color: #7a7a7a;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 64px;
}
/* --- nav --- */
.nav-wrap {
  background: #e67e22;
  background-image: linear-gradient(to bottom, #f39c12, #e67e22);
  position: relative;
}
.nav {
  list-style: none;
  margin: 0;
  padding: 0 8px;
  overflow: hidden;
}
.nav li {
  float: left;
}
.nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.nav a:hover,
.nav a.is-current {
  background: rgba(0, 0, 0, 0.12);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  position: absolute;
  right: 10px;
  top: 6px;
  background: #d35400;
  color: #fff;
  border: 1px solid #c0392b;
  padding: 6px 12px;
  font: bold 12px Arial, sans-serif;
  cursor: pointer;
}

/* --- hero --- */
.hero {
  background: #1a2b3c;
  color: #fff;
  padding: 36px 28px 32px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 336px;
  background: #1a2b3c url("../img/hero.jpg") center / cover no-repeat;
  pointer-events: none;
}
.hero:after {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 336px;
  background: linear-gradient(
    to top,
    rgba(230, 126, 34, 0.68) 0%,
    rgba(230, 126, 34, 0.58) 42%,
    rgba(230, 126, 34, 0.38) 72%,
    transparent 100%
  );
  pointer-events: none;
}
.hero--about:before {
  background-image: url("../img/about-hero.jpg");
}
.hero--services:before {
  background-image: url("../img/services-hero.jpg");
}
.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: bold;
  max-width: 744px;
}
.hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 672px;
  font-size: 14px;
  color: #d5dde5;
}

/* --- layout --- */
.content {
  padding: 22px 18px 28px;
  overflow: hidden;
}
.col-main {
  float: left;
  width: 816px;
}
.col-side {
  float: right;
  width: 264px;
}
.layout-inner .col-main {
  width: 816px;
}

h1.page-title {
  margin: 0 0 8px;
  font-size: 22px;
  color: #1a2b3c;
  border-bottom: 2px solid #e67e22;
  padding-bottom: 6px;
}
h2 {
  margin: 18px 0 8px;
  font-size: 16px;
  color: #1a2b3c;
}
p {
  margin: 0 0 10px;
}
.lead {
  font-size: 14px;
}

.crumb {
  margin: 0 0 12px;
  font-size: 12px;
  color: #888;
}
.crumb a {
  color: #888;
}

/* --- blocks --- */
.section-title {
  margin: 0 0 14px;
  font-size: 18px;
  color: #1a2b3c;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
}

.adv-row {
  overflow: hidden;
  margin: 0 -8px 8px;
}
.adv {
  float: left;
  width: 252px;
  margin: 0 8px 16px;
  background: #f7f7f7;
  border: 1px solid #e2e2e2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  padding: 14px 12px 12px;
  box-sizing: border-box;
}
.adv-icon {
  width: 36px;
  height: 36px;
  background: #e67e22;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  line-height: 36px;
  margin-bottom: 8px;
}
.adv h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #1a2b3c;
}
.adv p {
  margin: 0;
  font-size: 12px;
  color: #555;
}

.svc-grid,
.obj-row {
  overflow: hidden;
  margin: 0 -8px;
}
.svc-card,
.obj-card {
  float: left;
  width: 252px;
  margin: 0 8px 16px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  background: #fff;
  box-sizing: border-box;
}
.svc-head {
  height: 8px;
  background: #e67e22;
}
.svc-body {
  padding: 12px 12px 14px;
}
.svc-body h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #1a2b3c;
}
.svc-body p {
  margin: 0;
  font-size: 12px;
  color: #555;
}
.svc-list .svc-card {
  width: 360px;
}

.obj-card .obj-vis {
  height: 86px;
  background: #2c3e50;
}
.obj-card .obj-vis.a {
  background: repeating-linear-gradient(
    90deg,
    #2c3e50,
    #2c3e50 16px,
    #34495e 16px,
    #34495e 32px
  );
}
.obj-card .obj-vis.b {
  background: repeating-linear-gradient(
    -45deg,
    #e67e22,
    #e67e22 8px,
    #d35400 8px,
    #d35400 16px
  );
}
.obj-card .obj-vis.c {
  background: #1a2b3c;
  background-image: linear-gradient(#1a2b3c 50%, #e67e22 50%);
  background-size: 100% 12px;
}
.obj-card h3 {
  margin: 0;
  padding: 10px 12px 2px;
  font-size: 13px;
  color: #1a2b3c;
}
.obj-card p {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 12px;
  color: #666;
}

.geo-box {
  background: #f4f7fa;
  border: 1px solid #d5dde5;
  border-left: 4px solid #e67e22;
  padding: 12px 14px;
  margin: 8px 0 16px;
}

.btn {
  display: inline-block;
  background: #e67e22;
  background-image: linear-gradient(to bottom, #f39c12, #e67e22);
  color: #fff !important;
  font-weight: bold;
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid #d35400;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
  text-decoration: none !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.btn:hover {
  background: #d35400;
  background-image: linear-gradient(to bottom, #e67e22, #d35400);
}

/* side menu */
.side-box {
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  margin-bottom: 16px;
}
.side-box h3 {
  margin: 0;
  padding: 8px 12px;
  background: #1a2b3c;
  color: #fff;
  font-size: 13px;
}
.side-box ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.side-box li a {
  display: block;
  padding: 6px 12px;
  border-bottom: 1px dotted #ddd;
  color: #333;
}
.side-box li:last-child a {
  border-bottom: 0;
}
.side-box li a:hover,
.side-box li a.is-current {
  background: #fff;
  color: #e67e22;
  text-decoration: none;
}
.side-phone {
  padding: 12px;
  font-size: 12px;
}
.side-phone strong {
  display: block;
  font-size: 16px;
  color: #e67e22;
  margin: 4px 0;
}
.side-phone a {
  color: #e67e22;
}

.contacts-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
}
.contacts-table th,
.contacts-table td {
  text-align: left;
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
}
.contacts-table th {
  width: 160px;
  background: #f7f7f7;
  font-weight: bold;
  color: #1a2b3c;
}
.contacts-table .phone {
  font-size: 16px;
  font-weight: bold;
  color: #e67e22;
}

.note {
  font-size: 12px;
  color: #777;
}

/* services detail */
.svc-full {
  overflow: hidden;
  margin: 0 0 16px;
  border: 1px solid #e2e2e2;
}
.svc-full .num {
  float: left;
  width: 48px;
  background: #e67e22;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 16px 0;
}
.svc-full .txt {
  margin-left: 48px;
  padding: 10px 14px 12px;
}
.svc-full h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #1a2b3c;
}
.svc-full p {
  margin: 0;
  color: #555;
}

/* --- footer --- */
.footer {
  background: #1a2b3c;
  color: #9aa8b5;
  font-size: 12px;
  padding: 16px 18px 18px;
  overflow: hidden;
}
.footer a {
  color: #d5dde5;
}
.footer-left {
  float: left;
  width: 672px;
}
.footer-right {
  float: right;
  text-align: right;
  width: 408px;
}
.footer .copy {
  color: #7d8b97;
  margin-top: 8px;
}
.footer-nav {
  margin: 0 0 6px;
}
.footer-nav a {
  margin-left: 12px;
}

.clear {
  clear: both;
}

@media (max-width: 1176px) {
  .page {
    width: auto;
    margin: 0;
    box-shadow: none;
    border-left: 0;
    border-right: 0;
  }
  .col-main,
  .col-side,
  .layout-inner .col-main,
  .footer-left,
  .footer-right,
  .adv,
  .svc-card,
  .svc-list .svc-card,
  .obj-card {
    float: none;
    width: auto;
  }
  .logo {
    float: none;
  }
  .footer-right {
    float: none;
    display: block;
    text-align: left;
    width: auto;
  }
  .footer-right {
    margin-top: 10px;
  }
  .footer-nav a {
    margin: 0 12px 0 0;
  }
  .nav-toggle {
    display: block;
    position: static;
    float: right;
    margin: 6px 8px;
    z-index: 2;
  }
  .nav-wrap {
    min-height: 38px;
    overflow: hidden;
  }
  .nav.is-open {
    display: block;
    clear: both;
  }
  .nav {
    display: none;
    float: none;
    padding: 0;
  }
  .nav.is-open {
    display: block;
  }
  .nav li {
    float: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  .hero {
    padding: 32px 16px 148px;
  }
  .hero:before,
  .hero:after {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 128px;
  }
  .content {
    padding: 16px 12px 20px;
  }
}
