* {
  margin:0px;
  padding:0px;
  /*border: solid 1px red;*/
}

.pacifico {
  font-family: 'Pacifico', cursive;
}


body {
  font-family: 'Raleway', sans-serif;
  color:white;
  background: white;
  position: relative;
  z-index: 1;
}

p {
  margin-bottom: 20px;
}

a:hover {
  text-decoration: none;
}

.show-menu {
  text-decoration: none;
  color: #fff;
  background: #354b79;
  text-align: center;
  padding: 10px 0;
  display: none;
  width:100%;
  margin-bottom:1px;
}

input[type=checkbox]{
  display: none;
  -webkit-appearance: none;
}

hr {
  margin-bottom: 20px;
}

a {
  color: #354b79;
}

a:hover {
  text-decoration: none;
}

#videoBG {
    /*position:fixed;*/
    z-index: -1;
}
@media (min-aspect-ratio: 16/9) {
    #videoBG {
        width:100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    #videoBG { 
        width:auto;
        height: 100%;
        margin-top: -80px;
    }
}
@media (max-width: 767px) {
    #videoBG {
        display: none;
    }
}

@media (min-width: 1100px) {

  .container {
    width: 1100px;
    margin:0 auto;
  }

  #header {
    height: 130px;
    background: white;
    padding:20px 0px;
  }

  #logo {
    float: left;
    width:200px;
  }

  #nav {
    float: right;
    width:726px;
    text-align: right;
    padding-top:30px;
  }

  #nav ul {
    display: inline;
  }

  #nav ul li {
    display: inline;
  }

  #nav ul li a {
    color: black;
    font-size: 12pt;
    padding-left: 20px;
    text-decoration: none;
  }

  #nav ul li a:hover {
    color: #cdcdcd;
  }

  #nav a i {
    padding-left: 5px !important;
    font-size: 14pt;
    color: black;
  }

  #nav a:hover, #nav a i:hover {
    color: #cdcdcd;
  }

  a.last {
    margin-right: 20px;
  }

  #slide {
    height: 650px;
    /*background: #354b79;*/
    /*background: rgba(0, 0, 0, 0.2);*/
    overflow: hidden;
    position: relative;
  }

  .slide-video {
    position: absolute;
    top:0;
    left:0;
    z-index: 10;
  }

  .slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    z-index: -1;
    max-height: 1000px;
    min-height: 800px;
    overflow: hidden;
  }

  #slide-left {
    height: 547px;
    /*background-image: url('../images/poster.jpg');
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    background-color: #354b79;*/
    background:transparent;
    color: white;
  }

  #slide-left-text {
    width: 700px;
    float: left;
    margin-top: 160px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;

  }

  #slide-right-text {
    float: right;
    width:300px;
    height: 551px;
    color: white;
    padding: 50px 20px;
    background: #354b79;
  }

  #slide-left-text h1 {
    font-weight: 900;
    border-left: solid 12px #969696;
    padding:15px 0px 15px 20px;
    margin-bottom: 20px;;
    color: white;
    font-size: 30pt;
  }

  #slide-left-text p {
    font-weight: 300;
    font-size: 14pt;
    width:80%;
    margin-bottom: 20px;
  }

  .blue-button {
    display: inline-block;
    width:160px;
    padding:20px 40px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    font-size: 12pt;
    background: #354b79;
    color: white;
  }

  #slide-right-text h2 {
    color: white;
    margin-bottom: 40px;
    font-size: 22pt;
    font-weight: 900;
    text-align: center;
  }

  .service {
    margin-bottom: 30px;
    color: white;
  }

  .service-icon {
    float: left;
    margin-right: 20px;
    height: 57px;
    width: 57px;
    padding-top: 10px;
  }

  .service-icon img {
    max-width: 57px;
    height: auto;
  }

  .service-text {
    float: left;
    width: 223px;
    font-size: 10pt;
  }

  .service h3 {
    color: #a9acb2 !important;
    font-size: 13pt;
    margin-bottom: 5px;
  }

  .excavating {
    padding-top:45px;
  }

  .paving {
    padding-top: 35px;
  }

  #sig {
    background: white;
    padding:40px 0px 40px;
    text-align: center;
    color: #354b79;
    font-size: 14pt;
  }

  #sig .pacifico {
    font-size: 18pt;
    font-weight: bold;
    line-height: 2.2;
  }

  .large-quote {
    font-weight: bold;
    font-size: 18pt;
  }

  #family, #building {
    height: 648px;
    background: white;
    position: relative;
    z-index: 1;
  }

  #family-left {
    width:400px;
    background-image: url('../images/family-left.jpg');
    background-size: cover;
    background-position: top right;
    height: 648px;
    float: left;
  }

  #family-right {
    background: #e9e9e9;
    height: 648px;
    width:700px;
    float: right;
    position: relative;
  }

  .family-right-content {
    padding:60px;
    color: black;
    line-height: 1.4;
  }

  .family-right-content h3 {
    font-size: 24pt;
    margin-bottom: 5px;
  }

  #building-left {
    width:320px;
    background: #354b79;
    color: white;
    height: 568px;
    float: left;
    padding:40px;
  }

  #building-left h3 {
    font-size: 28pt;
    margin-bottom: 10px;
  }

  #building-right {
    background-image: url('../images/building-right-bg.jpg');
    background-size: cover;
    background-position: top right;
    height: 648px;
    width:700px;
    float: right;
    position: relative;
  }

  .building-box h3 {
    font-size: 20pt !important;
    margin-bottom: 5px;
  }

  .building-box a {
    color: white;
  }

  .box-button {
    text-align: center;
    display: block;
    color: white;
    padding:20px;
    border: solid 2px white;
    width:140px;
    margin:0 auto;
    text-decoration: none;
    text-transform: uppercase;
  }

  .grey-border {
    float: left;
    background: #969696;
    margin-bottom: 20px;
    width:80px;
    height: 5px;
  }

  .grey-border-center {
    background: #969696;
    margin:0px auto 20px;
    width:80px;
    height: 5px;
  }

  .family-right-content p {
    font-size: 11pt;
  }

  .box-container {
    position: absolute;
    bottom: 53px;
    height: 80px;
    padding: 20px 0px;
    width:100%;
  }

  .box {
    text-align: center;
    /*float: left;
    width:50%;*/
    color: white;
    padding:40px 0px;
    height: 73px;
  }

  .box h3 {
    font-size: 34pt;
    margin-bottom: 0px;
  }

  .black-box {
    background: black;
  }

  .blue-box {
    background: #354b79;
  }

  #projects {
    padding:60px 0px;
    background: #ffffff;
    color: black;
  }

  #projects h2, #testimonials h2 {
    font-size: 24pt;
    text-align: center;
    margin-bottom: 10px;
  }

  .project-container {
    width:1100px;
    margin:0 auto;
  }

  .project {
    width:300px;
    float: left;
    margin: 10px 33px;
  }

  .project img {
    width:300px;
    height: 201px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .project-description {
    padding:20px;
    border:solid 1px black;
    font-size: 11pt;
    line-height: 1.4;
  }

  .project-description h3 {
    color: #354b79;
    font-size: 14pt;
    margin-bottom: 20px;
  }

  .project-button {
    display: block;
    width:140px;
    padding:10px 20px;
    margin:0 auto;
    text-align: center;
    border: solid 1px black;
    text-transform: uppercase;
    font-size:12pt;
    text-decoration: none;
    color: #354b79; 
  }

  .project-button:hover {
    background: #354b79;
    color: white;
  }

  #testimonials {
    padding:60px 0px;
    background: #e3e3e3;
    color: black;
  }

  .testimonial {
    float: left;
    width: 286px;
    padding:20px;
    background: white;
    margin:20px;
    font-size: 11pt;
    text-align:left;
  }

  .testimonial img {
    display: block;
    margin:0 auto 20px;
  }

  #footer {
    padding:40px 0px;
    background: #354b79;
    color: white;
  }

  #footer-left {
    width:50%;
    float: left;
  }

  #footer-right {
    float: right;
    width:50%;
    text-align: right;
    font-size: 18pt;
  }

  #footer-right i {
    margin-left: 2px;
  }

  .footer-icon {
    display: inline-block;
    margin-right: 5px;
    width: 15px;
  }

  #footer a {
    color: white;
    text-decoration: none;
  }

  #footer a:hover {
    color: #cdcdcd;
  }

  #sub-footer {
    color: white;
    background: black;
    font-size: 10pt;
    text-align: center;
    padding:20px 0px;
  }

  #sub-footer a {
    color: #cdcdcd;
    text-decoration: none;
  }

  #sub-footer a:hover {
    color: white;
  }

  .desktop-spacer {
    clear: both; height: 60px;
  }

  #content {
    padding:60px 0px;
    background: white;
    color: black;
  }

  #content h1 {
    margin-bottom: 20px;
  }

  .img-content {
    width:500px;
    margin:25px;
    height: 500px;
    float: left;
  }

  .img-content-small {
    width:400px;
    height: 300px;
    margin:75px;
    float: left;
  }

  ul.dropdown,
  ul.dropdown li,
  ul.dropdown ul {
   list-style: none;
   margin: 0;
   padding: 0;
  }

  ul.dropdown {
   z-index: 597;
   list-style-type: none;
  }

  ul.dropdown li {
   float: left;
   line-height: 1.3em;
   vertical-align: middle;
   zoom: 1;
  }

  ul.dropdown li.hover,
  ul.dropdown li:hover {
   position: relative;
   z-index: 599;
   cursor: default;
  }

  ul.dropdown ul li {
   float: none;
  }

  ul.dropdown ul ul {
   top: 1px;
   left: 99%;
  }

  ul.dropdown li:hover > ul {
   visibility: visible;
  }

  ul.dropdown {
   /*text-transform: uppercase;*/
  }

  ul.dropdown li {
   line-height: normal;
  }

  ul.dropdown li.hover,
  ul.dropdown li:hover {
   
  }

  ul.dropdown a:link,
  ul.dropdown a:visited { color: #fff; text-decoration: none; }
  ul.dropdown a:hover { color: #636060; text-decoration: none; }
  ul.dropdown a:active { color: #fff; }

  ul.dropdown ul {
   width: 207px;
   background-color: #333;
   color: #fff;
   text-transform: none;
   filter: alpha(opacity=90);
   -moz-opacity: .9;
   opacity: .9;
   visibility: hidden;
   position: absolute;
   left: -20px;
   z-index: 598;
   font-size: 11pt !important;
   text-align: left !important;
  }

  ul.dropdown ul li {
   background-color: transparent;
   color: #000;
   filter: none;
  }

  ul.dropdown ul li.hover,
  ul.dropdown ul li:hover {
   background-color: transparent;
  }

  ul.dropdown ul a:link,
  ul.dropdown ul a:visited { color: #fff; }
  ul.dropdown ul a:hover { color: #fff; text-decoration: none; }
  ul.dropdown ul a:active { color: #fff; }


  ul.dropdown *.dir {
   padding-right: 12px;
   background-image: none;
   background-position: 100% 50%;
   background-repeat: no-repeat;
  }

  ul.dropdown li a {
   display: block;
   padding: 7px 14px;
  }

  ul.dropdown li {
   padding: 0;
  }

  ul.dropdown li.dir {
   padding: 7px 20px 7px 14px;
  }

  ul.dropdown ul li.dir {
   padding-right: 15px;
  }

  ul.dropdown li.current {
  background-color: #636060;
  }

  ul.dropdown ul a {
   padding: 4px 5px 4px 14px;
   color: white !important;
   font-size: 11pt !important;
  }

  ul.dropdown ul a:hover {
   background-color: #636060;
  }

  ul.dropdown a.open {
   background-color: #2e2e2e;
   color: #636060;
  }

  ul.dropdown ul a.open {
   background-color: #636060;
   color: #fff;
  }

  ul.dropdown li:hover > a.dir {
   background-color: #636060;
   color: #00fc18;
  }

  ul.dropdown ul li:hover > a.dir {
   background-color: #636060;
   color: black;
  }

}



@media screen and (max-width : 1099px){
  
  .container {
    width:100%;
  }

  #header {
    background: white;
    padding:20px 0px 0px 0px;
  }

  #logo { 
    margin-bottom: 10px;
  }

  #logo img {
    display: block;
    margin:0 auto;
    width:150px;
    height: auto;
  }

  #nav {
    padding-top:10px;
  }

  ul.dropdown {
    position: static;
    display: none;
    z-index:999;
  }

  .show-menu {
    display:block;
  }

  #nav li {
    display:block;
    width:100%;
    /*margin-bottom:1px;*/
    border-bottom: solid 1px white;
  }

  #nav li a {
    display:block;
    text-align: center;
    color:white;
    background:#5e5d5d;
    padding:12px 0px;
    text-decoration: none;
    text-transform: uppercase;
    width:100%;
    z-index:999;
  }

  #nav li:hover a {
    background: #cdcdcd;
    color:white;
  }

  #nav li:hover ul a {
    background-color: #cdcdcd;  
    color: white;
    text-transform: uppercase;
    text-align:center;
    height: 22px;
    padding:12px 0px;
    width:100%;
  }

  #nav li:hover ul a:hover {
    background: #cdcdcd;
    color: #fff;
  }

 /* #nav li ul {
    display: none;
  }*/

  #nav li ul li {
    display: block;
    float: none;
  }

  #nav li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
    text-align:center;
  }

  #nav a i {
    display: none;
  }

  #nav a:hover {
    color: #cdcdcd;
  }

  a.last {
    margin-right: 20px;
  }

  #slide {
    /*height: 547px;*/
    /*background: #354b79;*/
  }

  #slide-left {
    padding:0px 20px;
    background-image: url('../images/slide-left-mobile.jpg');
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    /*background-color: #354b79;*/
    color: white;
  }

  .slide-video {
    min-width: 100%;
    min-height: 1000px;
    position: absolute;
    top:0;
    left:0;
    z-index: 10;
  }

  video {
    display: none;
  }

  .slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    z-index: -1;
    max-height: 1000px;
    min-height: 800px;
   /* overflow: hidden;*/
   clear:both;
  }

  #slide-left-text {
    padding-top:60px;
    margin-bottom: 60px;
  }

  #slide-right-text {
    color: white;
    padding: 40px 20px;
    width:100%;
    margin-left: -20px;
    background: #354b79;
  }

  #slide-left-text h1 {
    font-weight: 900;
    border-left: solid 12px #969696;
    padding:15px 0px 15px 20px;
    margin-bottom: 20px;
    color: white;
    font-size: 30pt;
  }

  #slide-left-text p {
    font-weight: 300;
    font-size: 14pt;
    width:80%;
    margin-bottom: 20px;
  }

  .blue-button {
    display: inline-block;
    /*width:150px;*/
    padding:20px 40px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    font-size: 12pt;
    background: #354b79;
    color: white;
  }

  #slide-right-text h2 {
    color: white;
    margin-bottom: 40px;
    font-size: 22pt;
    font-weight: 900;
    text-align: center;
  }

  .service {
    margin-bottom: 30px;
    color: white;
    width:90%;
    margin-left: 5%;
  }

  .service-icon {
    float: left;
    margin-right: 20px;
    height: 57px;
    width: 57px;
    padding-top: 10px;
  }

  .service-icon img {
    max-width: 57px;
    height: auto;
  }

  .service-text {
    float: left;
    width: 223px;
    font-size: 10pt;
  }

  .service h3 {
    color: #a9acb2 !important;
    font-size: 13pt;
    margin-bottom: 5px;
  }

  .excavating {
    padding-top:45px;
  }

  .paving {
    padding-top: 35px;
  }

  #sig {
    clear: both;
    background: white;
    padding:40px 5%;
    width:90%;
    text-align: center;
    color: #354b79;
    font-size: 14pt;
  }

  #sig .pacifico {
    font-size: 18pt;
    font-weight: bold;
    line-height: 2.2;
  }

  .large-quote {
    font-weight: bold;
    font-size: 16pt;
  }

  #family, #building {
    /*height: 648px;*/
  }

  #family-left {
    background-image: url('../images/family-left.jpg');
    background-size: cover;
    background-position: center center;
    height: 248px;
  }

  #family-right {
    background: #e9e9e9;
    position: relative;
  }

  .family-right-content {
    padding:60px 20px 0px 20px;
    color: black;
    line-height: 1.4;
  }

  .family-right-content h3 {
    font-size: 24pt;
    margin-bottom: 5px;
  }

  .grey-border {
    float: left;
    background: #969696;
    margin-bottom: 20px;
    width:80px;
    height: 5px;
  }

  .grey-border-center {
    background: #969696;
    margin:0px auto 20px;
    width:80px;
    height: 5px;
  }

  .family-right-content p {
    font-size: 11pt;
  }

  .box-container {
    padding: 20px 0px;
    width:100%;
  }

  .mobile-spacer {
    height: 80px;
  }

  .box {
    text-align: center;
    /*float: left;
    width:50%;*/
    color: white;
    padding:40px 0px;
    height: 73px;
  }

  .box h3 {
    font-size: 34pt;
    margin-bottom: 0px;
  }

  .black-box {
    background: black;
  }

  .blue-box {
    background: #354b79;
  }

  #projects {
    padding:100px 0px 60px;
    background: #ffffff;
    color: black;
  }

  #projects h2, #testimonials h2 {
    font-size: 24pt;
    text-align: center;
    margin-bottom: 10px;
  }

  .project-container {
    margin:0 auto;
  }

  .project {
    width:300px;
    margin: 10px auto 40px;
  }

  .project img {
    width:300px;
    height: 201px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .project-description {
    padding:20px;
    border:solid 1px black;
    font-size: 11pt;
    line-height: 1.4;
  }

  .project-description h3 {
    color: #354b79;
    font-size: 14pt;
    margin-bottom: 20px;
  }

  .project-button {
    display: block;
    width:140px;
    padding:10px 20px;
    margin:0 auto;
    text-align: center;
    border: solid 1px black;
    text-transform: uppercase;
    font-size:12pt;
    text-decoration: none;
    color: #354b79; 
  }

  .project-button:hover {
    background: #354b79;
    color: white;
  }

  #building-left {
    background: #354b79;
    color: white;
    padding:40px;
  }

  #building-left h3 {
    font-size: 28pt;
    margin-bottom: 10px;
  }

  #building-right {
    background-image: url('../images/building-right-bg.jpg');
    background-size: cover;
    background-position: top center;
    padding-top:180px;
  }

  .building-box h3 {
    font-size: 20pt !important;
    margin-bottom: 5px;
  }

  .building-box a {
    color: white;
  }

  .box-button {
    text-align: center;
    display: block;
    color: white;
    padding:20px;
    border: solid 2px white;
    width:140px;
    margin:0 auto;
    text-decoration: none;
    text-transform: uppercase;
  }

  #testimonials {
    padding:100px 0px 60px;
    margin-top:80px;
    background: #e3e3e3;
    color: black;
  }

  .testimonial {
    width: 286px;
    padding:20px;
    background: white;
    margin: 0px auto 40px;
    font-size: 11pt;
    text-align:left;
  }

  .testimonial img {
    display: block;
    margin:0 auto 20px;
  }

  #clients {
    width:90%;
    display: block;
    margin:0 auto;
    height: auto;
  }

  #footer {
    padding:40px 0px;
    background: #354b79;
    color: white;
    text-align: center;
  }

  #footer-left {
    margin-bottom: 20px;
  }

  #footer-right {
    font-size: 18pt;
  }

  #footer-right i {
    margin-left: 2px;
  }

  .footer-icon {
    display: inline-block;
    margin-right: 5px;
    width: 15px;
  }

  #footer a {
    color: white;
    text-decoration: none;
  }

  #footer a:hover {
    color: #cdcdcd;
  }

  #sub-footer {
    color: white;
    background: black;
    font-size: 10pt;
    text-align: center;
    padding:20px 0px;
  }

  #sub-footer a {
    color: #cdcdcd;
    text-decoration: none;
  }

  #sub-footer a:hover {
    color: white;
  }

  #content {
    width:90%;
    padding:60px 5%;
    background: white;
    color: black;
    clear:both;
  }

  #content h1 {
    margin-bottom: 20px;
  }

  .img-content {
    width:500px;
    max-width: 100%;
    margin:10px auto;
    height: auto;
  }

  .img-content-small {
    width:400px;
    max-width: 100%;
    margin:10px auto;
    height: auto;
  }

  input[type=checkbox]:checked ~ ul.dropdown{
    display: block;
  }
  input[type=checkbox]:not(:checked) ~ ul.dropdown{
    display: none;
  }

  ul {
    position: relative;
    display: none;
  }

  .show-menu {
    display:block;
  }

  #nav li {
    display:block;
    float: left;
    text-align:center;
    width:100%;
    margin-bottom:1px;
  }

  #nav li a {
    display:block;
    height: 27px;
    text-align: center;
    color:white;
    background:#5e5d5d;
    padding:6px 0px;
    text-decoration: none;
    position:relative;
    text-transform: uppercase;
  }

  #nav li:hover a {
    background: #cdcdcd;
    color:black;
  }

  #nav li:hover ul a {
    background-color: #cdcdcd;  
    color: black;
    text-transform: uppercase;
    text-align:center;
    opacity: .8;
    height: 27px;
    padding:6px 0px;
    width:100%;
  }

  #nav li:hover ul a:hover {
    background: #cecece;
    color: black;
  }

  /*#nav li ul {
    display: none;
  }
*/
  #nav li ul li {
    display: block;
    float: none;
  }

  #nav li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
    text-align:center;
  }


  #nav ul li a:hover + .hidden, .hidden:hover {
    display: block;
  }

  #nav ul.hidden li a{
    display: block;
    height: 27px;
    text-align: center;
    color: white;
    background: #5e5d5d;
    padding: 6px 0px;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
  }
  
  
}