/*-- layout ---*/
/*orange-yellow #ffc000*/

body {
  font-family: 'Open Sans', sans-serif;
}

.outer {
	margin: 0 auto;
}
.rel {
  position:relative;
}

.header {
  position:relative;
  background: #000 url(images/header-bg-5.jpg) no-repeat center center;
  background-size:cover;
  color:#fff;
}
.header-top {
  position:relative;
  background: rgba(0,0,0,0);
  z-index:2;
}
  .header a {
    color:#fff;
  }
    a.header-logo-wrap {
      display: block;
      padding: 1.5rem 0;
      text-decoration:none;
      text-transform:uppercase;
      color:#fff;
    }
    .header .contacts-wrap {
      text-align:right;
    }
    .header .phone-number {
      font-size: 1.5rem;
      margin: 1rem 0 0 0;
    }
    .header .phone-number a {
      text-decoration:none;
    }

.header-overlay {
  position:absolute;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.65);
  z-index:1;
  transition:opacity 1s linear;
}

.header-intro {
  position:relative;
  z-index:2;
  text-align:center;
  color:#000;
}
  .header-intro h1 {
    background: rgba(255,192,0,0.93);
    padding:2rem 2rem;
    margin:5rem auto;
    max-width:20em;
    font-size:2.5rem;
    line-height:1.3em;
    font-weight:400;
    text-transform:uppercase;
  }
  .header-intro h1 span {
    display:inline-block;
  }
  .header-intro h1 span:first-child {
    display:inline-block;
    font-size:1.25em;
  }

  .header-intro .header-intro-offer {
    margin-bottom: 0;
    max-width:20em;
    font-size: 2rem;
    font-weight: 700;
    line-height:1.3em;
    color:#fff;
    text-align:left;
    text-shadow: 1px 1px 2px rgba(0,0,0,1);
    font-family: "Roboto";
  }
  .header-intro .header-intro-price {
      display: inline-block;
      margin-top:1.5rem;
      padding:0.5rem 1.5rem;
      font-size: 2.2rem;
      font-weight: 700;
      line-height:1.3em;
      white-space:nowrap;
      background: rgba(255,255,255,0.85);
      font-family: "Roboto";
  }

  .header-intro .button {
    margin:2em auto 5em auto;
    color:#222;
    font-weight:700;
  }

  .header-intro .button span {
    display:inline-block;
  }




.content {
  padding-bottom:3rem;
  min-height:30rem;
}
.footer {
  padding-top:2rem;
  background: #000;
  background:#201000;
  color:#e0e0e0;
}
  .footer a {
    color:#ccc;
  }
  .footer a:hover {
    color:#fff;
    text-decoration:none;
  }




/*-- elements --*/
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4 {
  margin: 1em auto;
  line-height: 1.2em;
  font-family: 'Roboto', sans-serif;
}

h1, .h1 {
  font-size: 3.3rem;
  font-weight: 300;
}

h2, .h2 {
  margin: 2em auto;
  font-size:1.8rem;
  line-height:1.4em;
  font-weight:700;
  text-align:center;
  text-transform:uppercase;
}
  h2 span {
    display:inline-block;
    font-weight:400;
  }
  h2 span:first-child {
    display:inline-block;
    font-size:1.2em;
  }

h3, .h3 {
  font-size: 2.1rem;
  font-weight: 300;
}
h4, .h4 {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform:uppercase;
}

img {
	max-width: 100%;
}


a {
	color: #c06000;
}
a:hover {
	color: orange;
}


button, .button {
  background: rgb(255,192,0);
	text-decoration: none;
  border-radius:4px;
  font-weight:bold;
}
button:hover,
button:focus,
.button:hover,
.button:focus {
  background: orange;
}





/*===================================================================*/
.section-border-white {
  position:absolute;
  top:-15px;
  width:100%;
  height:30px;
  z-index:10;
  content:" ";
  background: #fff;
  transform: rotate(-0.7deg);
}
.section-border-stripe {
  position:absolute;
  top:-15px;
  width:100%;
  height:30px;
  z-index:10;
  content:" ";
  background: transparent url(images/yellow-tape-bg.png) repeat-x top;
  background-size: auto;
  transform: rotate(-0.7deg);
}

.section-excavator {
  position:relative;
  /*background: #fff url(assets/templates/excavator/images/slider-bg-1-grey.jpg) no-repeat center bottom;*/
  /*background: #fff url(assets/templates/excavator/images/slider-bg-2-grey.jpg) no-repeat center bottom;*/
  background-size:cover;
}


.section-excavator h2 {
  margin: 3em auto 1em auto;
}

#excavator-slider {
  width:100%;
  margin-bottom:4rem;
  padding:0;
}
.excavator-slide {
  width:100%;
  margin:0 auto;
  padding:0;
  text-align:center;
}
.excavator-slide-bg {
  margin-bottom:1rem;
  /*background: #fff url(images/slider-bg-1-grey.jpg) no-repeat center center;*/
  background: #fff url(images/slider-bg-2-grey.jpg) no-repeat center center;
  background-size:cover;
}
  .excavator-slide-image {
    width:100%;
    max-width:900px;
    margin:0 auto;
  }
  .excavator-slide-name {
      display: inline-block;
      width: 50%;
      margin: 0 0 1rem 0;
      line-height: 1em;
      vertical-align: middle;
  }
    .excavator-slide-name span:first-child {
      display: inline-block;
      line-height: 1.2em;
      font-size:1.3rem;
      font-weight:400;
    }
    .excavator-slide-name span:nth-child(2) {
      display: inline-block;
      font-size:1.8rem;
      font-weight:700;
      white-space:nowrap;
    }

  .excavator-slide-info {
    margin: 0 auto;
    padding: 1rem 2rem;
    width:100%;
    max-width: 40rem;
    text-align:left;
    background:#fff;
  }
    .excavator-slide-info .button {
        display: inline-block;
        width: 49%;
        margin: 0 0 0.5rem 0;
        vertical-align: middle;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }
    .excavator-slide-info p {
      margin:0 0 0.5rem 0;
    }
    .excavator-slide-info p span:first-child {
      display:inline-block;
      width: 50%;
    }
    .excavator-slide-info p span:nth-child(2) {
      font-weight:700;
    }

    /*cycle2 slide animation*/
    .excavator-slide-image.animated {
      animation-timing-function: ease-out;
    }
    .excavator-slide-info.animated {
      animation-duration:0.5s;
      animation-delay:0.3s;
    }


  #excavator-pager {
    margin:0 auto;
    text-align:center;
  }
  #excavator-pager span {
    display:inline-block;
    width:40px;
    height:40px;
    margin:5px;
    background:#eee;
    border:2px solid #ccc;
    border-radius:100%;
    content:"";
    overflow:hidden;
    text-indent:40px;
    vertical-align:middle;
    transition:all 0.1s;
  }
  #excavator-pager .cycle-pager-active {
    background:#ffc000;
    border:2px solid #ffc000;
  }

  .excavator-slider-controls {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
  }
  .excavator-slider-controls .rel {
    height: 100%;
  }
  #excavator-next,
  #excavator-prev {
    position: absolute;
    right: 0;
    top: 30%;
    width: 50px;
    height: 100px;
    background: transparent url(images/slider-arrow-right.png) no-repeat center center;
    background-size: contain;
    z-index: 110;
    cursor: pointer;
  }
    #excavator-prev {
      right: unset;
      left: 0;
      transform: rotate(180deg);
    }
    #excavator-next:focus,
    #excavator-next:active {
      transform:scale(0.95);
    }
    #excavator-prev:focus,
    #excavator-prev:active {
      transform:rotate(180deg) scale(0.95);
    }

.cycle-slideshow {
  overflow:hidden;
  width:100%;
}
.cycle-slide {
  overflow:hidden;
  width:100%;
}

.debug {
  border:1px dashed red;
}


.section-services {
  position:relative;
  padding-bottom:7rem;
}
  .section-services h2 {
    margin:3em auto 1em auto;
  }
  .section-services-bg {
    position:absolute;
    right:0;
    bottom:0;
    width:100%;
    height:450px;
    background: transparent url(images/section-services-bg2.png) no-repeat center bottom;
    background-size: auto;
  }
  .section-services .button {
    margin: 0.5rem auto;
    vertical-align: middle;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  }
  .section-services-intro {
    font-size:1.3em;
    font-weight:700;
  }

.section-why {
  position:relative;
  padding-top:3rem;
  padding-bottom:7rem;
  background:#261600;
  color:#fff;
  text-align:center;
}

  .section-why h2 {
    margin-bottom:3em;
  }
  .section-why ul {
    margin:0;
    padding:0;
    list-style: none;
  }
  .section-why li {
    display: inline-block;
    margin-bottom: 4rem;
    padding: 0.5rem 3rem 0.5rem 1rem;
    max-width: 33%;
    vertical-align: top;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    border-left: 2px solid orange;
  }

.section-earthworks {
  position:relative;
  padding-top:3rem;
  padding-bottom:7rem;
}
  .section-earthworks h2 {
    margin:
  }
  .section-earthworks h2 span {
    display: block;
  }
  .section-earthworks img {
    width: 90%;
    margin: 3rem auto;
    padding: 1rem;
    box-shadow: 0px 0px 0px 10px #eee;
  }




  .section-earthworks .button {
    margin-top: 1em;
  }


.section-question {
  position:relative;
  background: #000 url(images/section-question-bg.jpg) no-repeat center center;
  background-size:cover;
}
  .section-question-overlay {
    position:absolute;
    width:100%;
    height:100%;
    background: rgba(60,29,0,0.8);
    z-index:1;
    transition:opacity 1s linear;
  }
  .section-question-content {
    position:relative;
    z-index:2;
    color:#fff;
    text-align:center;
  }
  .section-question h2 {
    margin:3em auto 1em;
  }
  .section-question-content .button {
    margin: 2rem auto 5rem;
  }




/*-- forms --*/
.field-required-error {
    animation-delay: 0s;
    animation-direction: normal;
    animation-duration: 1s;
    animation-fill-mode: none;
    animation-iteration-count: 1;
    animation-name: error-border-animation;
    animation-play-state: running;
    border: 1px solid red;
    transform: none;
}
@keyframes error-border-animation {
  0% {
      border: 1px solid red;
  }
  25% {
      border: 1px solid #fff;
  }
  50% {
      border: 1px solid red;
  }
  75% {
      border: 1px solid #fff;
  }
  100% {
      border: 1px solid red;
  }
}

.error-message {
    color: red;
    font-size: 0.9em;
}

.form-policy {
  font-size:0.9em;
}


/*-- popups --*/
.popup-wrap {
	position: relative;
	max-width: 30rem;
	margin: 2rem auto 0 auto;
	background: #fff;
	padding: 1rem 2rem;
}
.popup-form-wrap {
	position: relative;
	max-width: 30rem;
	margin: 2rem auto 0 auto;
	background: #fff;
	padding: 1rem 2rem;
}
.popup-form-content h2 {
	margin: 1rem 0;
}

p.popup-form-success {
    padding-bottom: 4rem;
    padding-right: 50%;
    background: transparent url(images/section-services-bg2.png) no-repeat center bottom;
    background-size: cover;
    font-size: 1.3rem;
}

.mfp-close, .mfp-close:hover {
	background: transparent;
}


/*-- mfp animations --*/
/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}
/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

/*-- mfp-zoom-in --*/
/* start state */
.mfp-zoom-in .mfp-with-anim {
  opacity: 0;
  transition: all 0.2s ease-in-out;
  transform: scale(0.8);
}
.mfp-zoom-in.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}
  /* animate in */
.mfp-zoom-in.mfp-ready .mfp-with-anim {
  opacity: 1;
  transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
  /* animate out */
.mfp-zoom-in.mfp-removing .mfp-with-anim {
  transform: scale(0.8);
  opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}

/*-- mfp-zoom-out --*/
.mfp-zoom-out .mfp-with-anim {
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: scale(1.3);
}
.mfp-zoom-out.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}
.mfp-zoom-out.mfp-ready .mfp-with-anim {
  opacity: 1;
  transform: scale(1);
}
.mfp-zoom-out.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-zoom-out.mfp-removing .mfp-with-anim {
  transform: scale(1.3);
  opacity: 0;
}
.mfp-zoom-out.mfp-removing.mfp-bg {
  opacity: 0;
}



#scrollTop {
    opacity: 0.8;
    display: none;
    position: fixed;
    bottom: 1em;
    right: 1em;
    z-index: 199;
    font-size: 40px;
    height: 56px;
    width: 56px;
    line-height: 1em;
    padding: 0.2em;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border: 2px solid #fff;
    border-radius: 100%;
    background: #999;
    background-image: linear-gradient(to bottom, #bbb 0%, #777 100%);
    cursor: pointer;
}
#scrollTop::after {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 20px 12px;
    border-color: transparent transparent #fff transparent;
    content: "";
}



#auto-popup {
    display: none;
    overflow: hidden;
    max-width: 700px;
    background: #fff;
    padding: 1em;
    text-align: center;
}


.animated {
  animation-duration:0.5s;
  animation-delay:0s;
}
.onAppearAnimation {
  opacity:0;
  animation-duration:0.3s;
  animation-delay:0s;
}
.show {
  opacity:1;
}




/*--- media queries ---*/
/* Small only */
@media screen and (max-width: 39.9375em) {

  a.header-logo-wrap {
      text-align:center;
      float: unset;
      margin: 0 auto;
  }
  .header-intro h1 {
    margin:3rem auto;
    padding:2rem 1rem;
    max-width:20em;
    font-size:1.6rem;
  }
    .header .contacts-wrap {
      text-align:center;
    }
    .header .phone-number {
      margin: 0rem 0 0 0;
    }


  .header-intro .header-intro-offer {
    font-size: 1.6rem;
  }
  .header-intro .header-intro-price {
      font-size: 1.6rem;
  }

  h2, .h2 {
    font-size:1.3rem;
  }
  h3, .h3 {
    font-size: 1.7rem;
    font-weight: 300;
  }
  h4, .h4 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform:uppercase;
  }

  .excavator-slide-name {
    width: 100%;
  }

  .excavator-slide-info .button {
    width: 100%;
    margin: 1rem auto 1.3rem;
  }

  #excavator-next,
  #excavator-prev {
    position: absolute;
    top: 10%;
    width: 50px;
    height: 70px;
  }

  .section-services-intro {
    font-size:1.1em;
    text-align:center;
  }
  .section-services-bg {
    background-size: 150%;
  }

  .section-why li {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-right:0;
    width: 100%;
    max-width: 100%;
  }
  .footer {
    font-size:0.9rem;
  }

  #scrollTop {
    transform:scale(0.75);
    right: 0em;
    bottom:0;
  }
}
/* Medium and up */
@media screen and (min-width: 40em) {}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  .header-intro h1 {
    font-size:2rem;
  }
  .section-why li {
  }
}

/* Large and up */
@media screen and (min-width: 64em) {}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}

