/*
Theme Name: BG Asfalt
Author: AVidenov
Author URI: http://avidenov.com/
Description: Custom theme for BG Asfalt website
Version: 1.0
License: GPL
Text Domain: bgasfalt
*/

/*

Accent color: #FFDB6C;
Default text and background: #2A262C;
Light back: #F7F7F7;
Dark back: #312E33;
Secondary text color: #949295;
Light border color: #E4E4E4;
Dark border-color: #5A575B;

Yellow back: #FDD766;
*/

body {
  font-family: Kelson Sans, Arial, Helvetica, sans-serif;
  color:#2A262C;
  background:#fff;
  font-size:15px;
  line-height:1.2em;
  font-weight:400;
  -webkit-font-smoothing: antialiased;
}


.holder {
  width:1440px;
  margin:0 auto;
  position:relative;
  height:100%;
}

p{
  margin:0;
  padding:0;
}

h2, h3, h4 {
  font-weight:300;
  color:#2A262C;
  margin:0;
}

.general-button,
input[type="submit"]{
  background:#FFDB6C;
  color: #2A262C;
  padding:20px 20px 15px 20px;
  font-size:14px;
  text-transform:uppercase;
  text-decoration:none;
  display:inline-block;
  line-height:14px;
  transition:all 0.3s;
  font-weight:400;
}

input[type="submit"]{
  width: 360px;
  border:0;
  cursor:pointer;
  text-align:center;
  text-transform:initial;
  display: block;
  margin: 0 30px;
}

.general-button:hover,
input[type="submit"]{
  background:#2A262C;
  color: #fff;
}

div.wpcf7 .ajax-loader {
  display: none;
}

span.wpcf7-not-valid-tip {
  font-size: 12px;
  padding: 5px 0;
}

.section-title{
  width:100%;
  clear:both;
  height:75px;
  line-height:82px;
  font-size:24px;
  text-transform:uppercase;
  background:#312E33;
  color:#fff;
  text-align:center;
  margin:0;
  padding:0;
  border-bottom:1px solid #5A575B;
  position: relative;
  z-index:2;
}

/*
 * Header
 */

.header{
  width:100%;
  height:70px;
  z-index:999;
  position:fixed;
  top:0;
  transition:all 0.3s;
}

.header.solid{
  background:#2A262C;
}

h1.logo {
  width:100px;
  height:70px;
  position:absolute;
  top:0;
  left:50px;
  background:url(images/logo-animated.gif) no-repeat center #FFDB6C;
  background-size:100% auto;
  margin:0;
  padding:0;
  display:inline-block;
}

h1.logo a {
  width:100%;
  height:100%;
  display:block;
  font-size:0;
}

.menu-trigger{
  display:none;
}

.header ul {
  list-style:none;
  height:70px;
  line-height:70px;
  font-size:16px;
  position:absolute;
  top:0;
  right:50px;
  text-transform:uppercase;
  margin:0;
  padding:0;
}

.header ul li{
  margin:0;
  padding:0;
  display:inline-block;
}

.header ul a {
  height:100%;
  padding:0 20px;
  color:#fff;
  text-decoration:none;
  display:block;
}

.header li:last-child a,
.header ul a:hover,
.header ul li.current-menu-item a,
.header ul li.current-page-ancestor a{
  background: #FFDB6C;
  color: #2A262C;
}

/*
 * End header
 */

.cover-photo,
.inner-cover-photo{
  width:100%;
  height:650px;
  position:fixed;
  z-index:0;
  top:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  overflow: hidden;
  background: #2A262C;
}

.inner-cover-photo .holder {
  z-index: 2;
}

.inner-cover-photo:before {
  content: '';
  display: block;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cover-video{
  position: absolute;
  top:0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #2A262C;
  z-index:-1;
}

.cover-video .poster img {
    width: 100%;
    bottom: 0;
    position: absolute;
    z-index:-1;
}

.cover-video-wrapper{
  position:relative;
  width:100%;
  height:100%;
}

.cover-video .filter {
    z-index: 100;
    position: absolute;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    height:100%;
    z-index:2;
}

.cover-video video {
  min-width:100%;
  min-height:100%;
  
}

body.home-page{
  padding-top:650px;
}

.inner-cover-photo{
  height:300px;
}

body.inner-page{
  padding-top:300px;
}

.inner-cover-photo.with-nav{
  height:350px;
}

body.inner-page.with-nav{
  padding-top:350px;
}

.inner-cover-photo.with-title{
  height:315px;
}

body.inner-page.with-title{
  padding-top:315px;
}

.cover-photo .content{
  position:relative;
  top:100px;
  color:#fff;
  width:520px;
  left:50px;
  top:27vh;
}

.inner-cover-photo .content{
  position:relative;
  top:170px;
  text-align:center;
}

.cover-photo h2{
  font-size:36px;
  color:#fff;
  padding:0 0 20px 0;
}

.inner-cover-photo .content h2{
  font-size:48px;
  color:#fff;
}

.cover-photo p{
  padding:0 0 15px 0;
}

.cover-nav, .cover-title{
  position:absolute;
  height:70px;
  bottom:0px;
  left:50px;
  background:#2A262C;
}

.cover-nav h2, .cover-title h2{
  height:70px;
  font-size:36px;
  line-height:82px;
  padding:0 20px;
  background:#FFDB6C;
  color: #2A262C;
  float:left;
}

.cover-nav ul{
  height:70px;
  background:#2A262C;
  list-style:none;
  margin:0;
  padding:0;
  float:left;
}

.cover-nav ul li{
  float:left;
  width:160px;
  height:100%;
  border-right:1px solid #5A575B;
}

.cover-nav ul li:last-child{
  border:none;
}

.cover-nav a{
  color:#fff;
  line-height:78px;
  width:100%;
  height:100%;
  display:block;
  text-decoration:none;
  font-size:20px;
  font-weight:300;
  text-align:center;
  position:relative;
}

.cover-nav a:after{
  content:"";
  width:60px;
  height:4px;
  background:#FFDB6C;
  display:block;
  position:absolute;
  bottom:0px;
  left:50%;
  margin-left:-30px;
  opacity:0;
  transition:all 0.3s;
}

.cover-nav a:hover:after,
.cover-nav ul li.current-menu-item a:after{
  bottom:11px;
  opacity:1;
}

.featured-projects{
  width:100%;
  height:300px;
  position:relative;
  z-index:2;
  background:#fff;
}

.project{
  width:50%;
  height:300px;
  float:left;
  background:#fff;  
}

.project .image{
  width:50%;
  height:100%;
  float:left;
  position:relative;
  overflow:hidden;
}

.projects .project:nth-of-type(4n+4) .image,
.projects .project:nth-of-type(4n+3) .image{
  float:right;
}

.project .image img{
  min-width:100%;
  min-height:100%;
  position:absolute;
  top:0;
  left:0;
  transition:all 0.9s;
}

.project:hover .image img{
  min-width:120%;
  min-height:120%;
  margin:-10%;
}

.project .content{
  width:50%;
  float:left;
  box-sizing:border-box;
  padding:35px 30px 0 30px;
}

.project .content h2{
  font-size:30px;
  line-height:1em;
}

.project .content p{
  margin:20px 0 10px 0;
}

.project .content .general-button{
  float:right;
  margin-right:-30px;
}

.projects .project .content .general-button{
  float:left;
  margin-right:auto;
  margin-left:-30px;
}

.projects .project:nth-of-type(4n+4) .content .general-button,
.projects .project:nth-of-type(4n+3) .content .general-button{
  float:right;
  margin-right:-30px;
}

.services-highlight{
  width:100%;
  clear:both;
  position: relative;
  z-index:2;
}


.services-highlight .section-description{
  width:100%;
  height:250px;
  background:url(images/cover-photo-services.png) no-repeat center top;
  background-size:cover;
  text-align:center;  
  font-size:15px;
  line-height:1em;
}

.services-highlight .section-description h3{
  font-size:36px;
  margin:0;
  padding:55px 0 0 0;
  line-height:1em;
}

.services-highlight .section-description p{
  margin:0 auto;
  padding:12px 0;
  width:520px;
}

.services-content{
  position:relative;
  z-index:2;
  background:#fff;
  left:65px;
  padding:0 0 40px 0;
}

.services-nav{
  width:100%;
  height:70px;
  background:#2A262C;
  position: relative;
  z-index:2;
}

.services-nav ul{
  margin:0 0 0 50px;
  padding:0;
  list-style:none;
}

.services-nav ul li{
  width:170px;
  height:70px;
  border-right:1px solid #5A575B;
  float:left;
  transition: all 0.3s;
}

.services-nav ul li:hover,
.services-nav ul li.current-menu-item{
  border-color:#FFDB6C;
}

.services-nav ul li a{
  display:block;
  text-align:center;
  width:100%;
  height:100%;
  line-height:74px;
  color:#fff;
  font-size:16px;
  text-decoration:none;
  font-weight:300;
  vertical-align:middle;
  transition: all 0.3s;
}

.services-nav ul li a img{
  display:inline-block;
  vertical-align:middle;
  padding:0 15px 0 0;
  opacity:0.2;
  transition: all 0.3s;
}

.services-nav ul li a:before{
  content:"";
  width: 44px;
  height: 44px;
  display:inline-block;
  vertical-align: middle;
  margin:0 10px 0 0;
  opacity:0.3;
  background-repeat:no-repeat;
  background-position:center;
  transition:all 0.3s;
}

.services-nav ul li a:hover:before,
.services-nav ul li.current-menu-item a:before {
  opacity:1;
}

.services-nav ul li.all{
  display:none;
}

.services-nav ul li.truck a:before{
  background-image:url('images/icon-truck.png');
}

.services-nav ul li.digger a:before{
  background-image:url('images/icon-digger.png');
}

.services-nav ul li.jack-hummer a:before{
  background-image:url('images/icon-jack-hummer.png');
}

.services-nav ul li a:hover,
.services-nav ul li.current-menu-item a{
  background:#FFDB6C;
}

.services-nav ul li a:hover img,
.services-nav ul li.current-menu-item a img{
  opacity:0.9;
}

.services-content h3{
  padding:33px 0 20px 0;
  font-size:36px;
  line-height:1em;
}

.services-content p{
  width:50%;
  line-height:1.3em;
}

.service{
  width:25%;
  height:300px;
  float:left;
  position:relative;
  overflow:hidden;
  z-index:2;
  background:#fff;
}

.service .image{
  width:100%;
  height:100%;
  position:relative;
}

.service .image:before{
  content:"";
  width:100%;
  height:100%;
  display:block;
  position:absolute;
  top:0;
  left:0;
  background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 50%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
  opacity:0.6;
  text-align:center;
}

.service .image img{
  min-width:100%;
  min-height:100%;
  transition:all 0.9s;
}

.service:hover .image img{
  min-width:120%;
  min-height:120%;
  margin-left:-10%;
  margin-top:-10%;
}

.service .content{
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  text-align:center;
}

.availability{
  display:inline-block;
  padding:9px 15px 4px 15px;
  border-radius:5px;
  margin-top:11px;
  background:#2A262C;
  color:#fff;
  font-size:14px;
  line-height:1;
}

.cover-title h2 .availability{
  position:relative;
  top:-7px;
  font-weight:400;
  margin:0 0 0 5px;
}

.availability.not-available{
  background:#FDD766;
  color:#2A262C;
}

.service .content h4{
  font-size:24px;
  color:#fff;
  line-height:1.1em;
  padding:37px 0 0 0;
}

.service .content .general-button{
  position:absolute;
  bottom:17px;
  left:0;
  right:0;
  width:100px;
  margin:auto;
  background:#2A262C;
  color: #fff;
}

.service .content .general-button:hover{
  background:#FFDB6C;
  color: #2A262C;
}


.certificates{
  width:100%;
  background:#fff;
  clear:both;
  position: relative;
  z-index:2;
}

.certificates ul{
  list-style:none;
  margin:0;
  padding:30px 0;
  text-align:center;
  width:100%;
}

.certificates ul li{
  display:inline-block;
  width:24%;
}

.certificates h4{
  font-size:24px;
  padding:25px 0 0 0;
  max-width:200px;
  margin:0 auto;
  line-height:1;
}

.partners{
  width:100%;
  background:#fff;
  clear:both;
  position: relative;
  z-index:2;
}

.partners ul{
  list-style:none;
  margin:0;
  padding:30px 0;
  text-align:center;
  width:100%;
}

.partners ul li{
  display:inline-block;
  width:19%;
}

.partners ul li img{
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray; /* IE 6-9 */
  opacity:  0.7;
  transition:  all 0.5s;
  max-width:  100%;
}

.partners ul li:hover img{
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
  filter: grayscale(0%);
  filter: none; /* IE 6-9 */
  opacity:  1;
}

.contacts{
  width:100%;
  background:#2A262C;
  color:#fff;
  text-align:center;
  clear:both;
  position: relative;
  z-index:2;
}

.contacts h3{
  color:#949295;
  font-size:36px;
  padding:68px 0 34px 0;
}

.contacts ul,
ul.contact-details{
  list-style:none;
  margin:0 auto;
  padding:0 0 65px 0;
  width:80%;
  font-size:20px;
  font-weight:300;
}

ul.contact-details{
  width:100%;
  background:#312E33;
  color:#fff;
  box-sizing:border-box;
  padding:30px 50px;
}

.contacts ul li{
  display:inline-block;
  width:32%;
}

ul.contact-details li{
  width:43%;
  margin:0 3%;
  display:inline-block;
}

.contacts ul li img,
ul.contact-details li img{
  display:inline-block;
  vertical-align:middle;
  padding:0 25px 0 0;
}

.footer{
  width:100%;
  height:70px;
  font-size:16px;
  line-height:82px;
  text-transform:uppercase;
  overflow:hidden;
  background:#fff;
  position:relative;
  z-index:2;
}

.footer ul{
  list-style:none;
  margin:0;
  padding:0;
  display:inline-block;
}

.footer ul li{
  display:inline-block;

}

.footer ul li a{
  color:#949295;
  text-decoration:none;
  display: block;
  padding:0 20px;
  transition: all 0.3s;
}

.footer ul li a:hover{
  background: #2A262C;
  color:#FFDB6C;
}

.footer a.scroll-up{
  position:absolute;
  top:0;
  right:0;
  display:block;
  background:#FFDB6C;
  color: #2A262C;
  line-height:82px;
  height:70px;
  padding:0 20px;
  text-decoration:none;
  transition:all 0.3s;
}

.footer a.scroll-up:hover{
  background:#2A262C;
  color: #fff;
}

.about-us{
  background:#fff;
  width:100%;
}

.services-inner{
  width:100%;
  min-height: 500px;
}

.about-us .content,
.services-inner .content,
.projects-inner .content{
  width:50%;
  display: inline-block;
  vertical-align: top;
  padding:0 90px 40px 50px;
  box-sizing:border-box;
}

.services-inner .content,
.projects-inner .content{
  padding:25px 90px 0 70px;
}

.projects-inner .content {
  flex:1;
}

.about-us .content h2 {
  font-size:48px;
  padding:20px 20px 10px 20px;
  margin:0 0 33px 0;
  background:#FFDB6C;
  color: #2A262C;
  line-height:1em;
  display:inline-block;
}

.about-us .content p,
.services-inner .content p,
.projects-inner .content p{
  padding:0 0 15px 0;
  line-height:1.4em;
}

.about-us .image,
.services-inner .image{
  width:50%;
  height: 100%;
  min-height: 500px;
  position: absolute;
  overflow:hidden;
  display: inline-block;
  background-size: cover;
  background-repeat: no-repeat;
}

.projects-inner .tasks {
  width:50%;
  float:right;
  background: #2b262c;
  flex: 1;
}

.projects-inner .tasks .section-title {
  margin-bottom: 10px;
}

.projects-inner .task {
  width: 49%;
  display: inline-block;
  height: 90px;
  vertical-align: middle;
  box-sizing: border-box;
  padding: 0 20px;
  margin: 10px 0 20px;
}

.projects-inner .task .task-icon {
  width: 25%;
  display: inline-block;
  vertical-align: middle;
}

.projects-inner .task .task-icon img {
  width: 100%;
}

.projects-inner .task .task-title {
  padding-left: 2%;
  width: 70%;
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  font-weight: 300;
}

.services-inner .image,
.projects-inner .image{
  line-height:0;
}

.projects-inner .holder {
  display: flex;
}

.projects-inner .project-gallery {
  width: 100%;
  float: left;
}

.projects-inner .project-gallery .holder {
  display: block;
}

.projects-inner .project-gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.projects-inner .project-gallery ul li {
  width: 25%;
  height: 250px;
  float: left;
}

.projects-inner .project-gallery a {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.about-us .image img,
.services-inner .image img,
.projects-inner .image img{
  min-width:100%;
  min-height:100%;
  line-height:0;
}

.services-table{
  width:100%;
  padding:0;
  margin:15px 0;
  border-spacing:0;
}

.services-table th{
  color:#949295;
  text-align:left;
  padding:10px 0;
  border-bottom:1px solid #E4E4E4;
}

.services-table th.label{
  width:70%;
}

.services-table td{
  border-bottom:1px solid #E4E4E4;
  padding:11px 0 13px 0;
}

.services-table tr td:last-child{
  text-align:right;
}

.our-services{
  width:100%;
  clear:both;
  background:#2A262C;
  color:#fff;
  text-align:center;
  padding:0 0 60px 0;
  z-index:2;
  position:relative;
}

.our-services .service-description{
  width:49%;
  display:inline-block;
  padding:60px 0 0 0;
}

.our-services .service-description .image{
  width:33%;
  display:inline-block;
  vertical-align:middle;
}

.our-services .service-description .content{
  display:inline-block;
  width:66%;
  vertical-align:middle;
  text-align:left;
  box-sizing:border-box;
  font-size:16px;
  line-height:1.2em;
  font-weight:300;
  padding:0 60px 0 0;
}

.our-services .service-description .content h3{
  color:#fff;
  font-size:20px;
  line-height:1.1em;
  width:60%;
  padding:0 0 14px 0;
}

.team{
  background:#fff;
  width:100%;
  float:left;
}

.team .section-title,
.careers .section-title{
  background:#F7F7F7;
  border-bottom:1px solid #E4E4E4;
  color:#2A262C;
}

.careers .section-title:nth-of-type(2){
  border-top:1px solid #E4E4E4;
}

.team .team-member{
  width:25%;
  float:left;
  text-align:center;
  margin:60px 0 75px 0;
}

.team .image{
  width:183px;
  height:183px;
  background:url(images/team-member-border.png) no-repeat center;
  display:inline-block;
}

.team .image img{
  width:153px;
  height:153px;
  border-radius:50%;
  overflow:hidden;
  margin:15px;
}

.team h4{
  font-size:24px;
  margin:16px 0 6px 0;
}

.team strong{
  display:block;
  padding:5px 0 2px 0;
}

.team a{
  font-weight:300;
  font-size:16px;
  text-decoration:none;
  color:#2A262C;
}


.career-position{
  width:50%;
  float:left;
  font-size:16px;
  line-height:1.3em;
  font-weight:300;
  margin:30px 0 40px 0;
}

.career-position .image{
  width:35%;
  float:left;
  text-align:center;
}

.career-position .content{
  width:65%;
  float:left;
  box-sizing:border-box;
  padding:0 40px 0 0;
}

.career-position .content h3{
  font-size:20px;
  padding:0 0 8px 0;
}

.career-position .content p{
  margin:0 0 18px 0;
}

.career-position .general-button{
  background:#2A262C;
  color: #fff;
}

.career-position .general-button:hover{
  background:#FFDB6C;
  color: #2A262C;
}

.service-request{
  width:100%;
  float:left;
  background:#312E33;
  position: relative;
}

.request-form{
  text-align:center;
  margin:60px 0 8px 0;
}

.request-form form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.request-form .form-row,
.request-form p{
  margin:0 0 32px 0;
}

.request-form input[type="text"],
.request-form input[type="email"]{
  width:360px;
  height:50px;
  border-radius:5px;
  border:1px solid #5A575B;
  box-sizing:border-box;
  background:#312E33;
  color:#fff;
  line-height:20px;
  font-size:16px;
  font-weight:400;
  padding:7px 20px 0 20px;
  margin:0 30px;
}

.request-form #from,
.request-form #to {
  background:url(images/arrow-bottom.png) no-repeat;
  background-position:320px 22px;
}

input:focus{
  outline: none;
}

.contacts-page .holder {
  display: flex;
  height: auto;
}

.contacts-page .content{
  width:50%;
}

.contacts-page .image{
  width:50%;
  float:left;
  line-height:0;
  overflow:hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.contacts-page .section-title{
  text-transform:initial;
  background:#2A262C;
}

.address{
  width:100%;
  position:relative;
  padding:55px 0 15px 50px;
  box-sizing:border-box;
}

.address p{
  margin:0 0 25px 0;
}

.address .general-button{
  position:absolute;
  right:50px;
  top:60px;
}

.personal-contacts{
  background:#2A262C;
  border-top:1px solid #5A575B;
  color:#949295;
  padding:20px 0 40px 0;
}

.personal-contact{
  width:49%;
  display:inline-block;
  box-sizing:border-box;
  padding:25px 30px 0 50px;
  font-size:14px;
}

.personal-contact b{
  font-weight:normal;
  color:#fff;
  display:inline-block;
  padding:0 0 4px 0;
}

.featherlight .featherlight-image {
  width: auto !important;
  max-height: 90vh;
  max-width: 90vw;
}

div.wpcf7-response-output {
  width: 360px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px;
  margin: 0 30px;
  line-height: 20px;
  font-size: 16px;
  font-weight: 400;
}

div.wpcf7-mail-sent-ok {
  background: #398f14;
}