*{
  margin: 0;
  padding: 0;
}

.clearfix{
  clear: both;
}

body{
  height: auto;
  width: 100%;
}

h1 {
  font-family: "Open Sans";
}

h2 {
  font-family: "Open Sans";
}

h3 {
  font-family: "Open Sans";
}

p {
  font-family: "Open Sans";
  color: #726f6f;
}

.text-center{
  text-align: center;
}

.grey-bg{
  background-color: lightgrey
}

.white-bg{
  background-color: white;
}

.left{
  float: left;
}

.right{
  float: right;
}

.col-1-2{
  width: 50%;
}

.col-1-3{
  width: 33%;
}

.col-1-4{
  width: 25%;
}

header{
  height: auto;
  width: 100%;
  z-index: 100;
  top: 0;
  background-color: white;
  position: absolute;
}

#header-top-container{
  width: 100%;
  border-bottom: 1px solid #ccc;
}

#header-top{
  max-width: 1200px;
  height: auto;
  margin: auto;
  padding: 10px 50px;
  box-sizing: border-box;
  width: 100%;
  text-align: right;
  text-align: -webkit-right;
  text-align: -ms-right;
  text-align: -moz-right;
  text-align: -o-right;
}

.header-contact-obj{
  display: table-cell;
  vertical-align: middle;
}

.header-contact-obj:first-of-type{
  padding: 0 12px 0 0;
}

.header-contact-obj:last-of-type{
  padding: 0 15px 0 0;
}

.header-contact-obj .ion {
  font-size: 25px;
}

.header-contact-obj a{
  text-decoration: none;
  color: inherit;
  font-family: "Open Sans"
}

#header-content{
  max-width: 1200px;
  height: 60px;
  margin: auto;
  padding: 10px 50px;
  box-sizing: border-box;
  display: table;
  width: 100%;
}

#header-content img{
  height: 100%;
}

.header-name{
  max-width: 200px;
  display: table-cell;
  color: #333333;
  font-family: "Open Sans";
}

nav{
  width: auto;
  text-align: right;
  display: table-cell;
  vertical-align: middle;
}

nav ul {
  list-style: none;
}

nav ul li{
  display: inline-block;
  position: relative;
  cursor: pointer;
}

nav ul li a{
  display: block;
  padding: 5px 15px;
  text-decoration: none;
  font-family: 'Arial';
  font-weight: bold;
  color: #333333;
  -moz-transition: all .2s ease-in;
  -o-transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;
  -moz-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  -webkit-transition: all .2s ease-out;
  transition: all .2s ease-out;
}
nav ul li a:hover {
  color: #777;
}

.working-distance{
  max-width: 1200px;
  margin: auto;
  padding: 25px;
}

.working-distance h3{
  color: #3B3A3C;
}

.map{
  width: 50%;
  box-sizing: border-box;
  padding: 0 25px;
}

.map img{
  width: 100%;
}

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.6;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
}

/* Add Animation - Zoom in the Modal */
.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/*----- Homepage start -----*/

#home{
  height: auto;
  width: 100%;
}

.home-bg{
  height: 80vh;
  width: 100%;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.4)), url(images/booths-grab-hire.jpg);
  background-size: cover;
  background-position: top;
  z-index: -99;
  position: absolute;
  top: 0;
}

#home-spacer{
  height: 80vh;
  width: 0;
}

.home-content{
  height: auto;
  width: 100%;
}

.intro{
  max-width: 1200px;
  margin: auto;
  padding: 25px;
}

.intro h2{
  color: #333333;
  font-weight: normal;
}

.intro a{
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}

.intro a:hover{
  color: #726f6f;
}

.towns{
  width: 50%;
  box-sizing: border-box;
  padding: 25px;
}

.towns-1-2{
  display: none
}

.towns ul{
  list-style-position: inside;
}

.towns li{
  font-family: "Arial";
  color: #726f6f;
}

.card-payments{
  text-align: center;
  margin-top: 40px;
}

.card-payments img{
  height: 20px;
}

/*----- Homepage end -----*/

/*----- Services start ------*/

#services{
  height: auto;
  width: 100%;
}

.aggregates-bg{
  height: 60vh;
  width: 100%;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/services-aggregate.jpg);
  background-size: cover;
  background-position: top;
  z-index: -99;
  position: absolute;
  top: 0;
}

.grab-hire-bg{
  height: 60vh;
  width: 100%;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/grab-hire.jpg);
  background-size: cover;
  background-position: center;
  z-index: -99;
  position: absolute;
  top: 0;
}

#services-spacer{
  height: 60vh;
  width: 0;
}

.services-content{
  height: auto;
  width: 100%;
}

.services{
  max-width: 1200px;
  margin: auto;
  padding: 30px;
  display: flex;
}

.services-table{
  height: auto;
  flex: 1;
  padding: 0 10px;
  box-sizing: border-box;
  vertical-align: top;
}

.services-box{
  padding: 20px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: white;
  text-align: center;
}

.services-box h1{
  font-size: 20px;
  color: #0e7e12;
}

.services-box p{
  font-size: 15px;
}

.services-circle{
  margin: auto;
}

.services-circle .ion{
  font-size: 65px;
  color: #00A550;
}

.grab-1-2{
  display: none;
  padding: 30px 30px 20px 30px;
}

.grab-1-2:last-child{
  padding: 0 30px 30px 30px;
}

.aggregates{
  max-width: 1000px;
  margin: auto;
  padding: 25px;
}

#aggregates-1-4{
  display: block;
}

#aggregates-1-3{
  display: none
}

#aggregates-1-2{
  display: none
}

#aggregates-1{
  display: none
}

.aggregates-content{
  height: auto;
  width: 100%;
  text-align: center;
}

.aggregates-1-4, .aggregates-1-3, .aggregates-1-2, .aggregates-1{
  vertical-align: top;
  display: inline-block;
}

.aggregates-1-4{
  width: 24.5%;
}

.aggregates-1-3{
  width: 32.5%;
}

.aggregates-1-2{
  width: 49.5%;
}

.aggregates-1{
  width: 100%;
}

.aggregates-content ul{
  list-style: none;
  width: 100%;
}

.aggregates-content ul li{
  width: 100%;
}

.aggregates-content ul li, h3{
  font-size: 20px;
  color: #726f6f;
  font-family: "Open Sans";
  font-weight: normal;
}

.aggregates-content ul img{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 6px solid #00A550;
  margin-top: 10px;
}

/*----- Services end -----*/


/*----- Contact start -----*/

#contact{
  height: auto;
  width: 100%;
}

.contact-bg{
  height: 70vh;
  width: 100%;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/muck-truck-grab-services.jpg);
  background-size: cover;
  background-position: top;
  z-index: -99;
  position: absolute;
  top: 0;
}

#contact-spacer{
  height: 70vh;
  width: 0;
}

.contact-content{
  height: auto;
  width: 100%;
}

.contact-content-inner{
  max-width: 1000px;
  margin: auto;
}

.contact-content .working-distance{
  width: 50%;
  margin: auto;
  padding: 25px;
  box-sizing: border-box;
}

.contact-content .map{
  width: 100%;
  padding: 0;
}

#contact p, #contact a {
  font-size: 16px;
  color: #8b8b8c;
  text-decoration: none;
}

#contact a:hover{
  cursor: pointer;
  color: rgb(100, 100, 100);
}

.contact{
  padding: 25px;
  margin-left: 25px;
}

.contact h1{
  font-size: 32px;
}

.contact h2{
  font-size: 26px;
}

.contact-obj{
  display: table-cell;
  padding: 0 12px 0 0;
  vertical-align: middle;
}

.ion{
  font-size: 25px;
}

/*----- Contact end -----*/

#call-to-action{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0, 0.5)), url(images/contact-bar-bg.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: auto;
}

#call-to-action a{
  text-decoration: none;
}


#call-to-action-content{
  max-width: 800px;
  height: auto;
  margin: auto;
  padding: 40px;
}

#call-to-action-content h1{
  color: white;
  font-family: 'Open Sans';
  font-size: 36px;
  float: left;
}

#contact-btn{
  width: 250px;
  height: 60px;
  background-color: #161616;
  float: right;
  border-radius: 8px;
}

#contact-button{
  padding: 10px;
  font-family: "Open Sans";
  font-size: 25px;
  text-align: center;
  color: white;
}

#contact-btn:hover{
  background-color: #020202
}

footer{
  background-color: #3B3A3C;
  width: 100%;
  height: auto;
  position: relative;
  font-family: 'Roboto';
  color: white;
  border-top: 1px solid #6C5E60;
  padding: 15px;
  box-sizing: border-box;
}

footer a{
  text-decoration: none;
  color: white;
  font-weight: bolder;
}

footer p{
  font-size: 14.5px;
  color: white;
}

.footer-container{
  max-width: 1200px;
  margin: auto;
}

footer .left{
  float: left;
  width: auto;
  height: auto;
}

footer .right{
  float: right;
  width: auto;
  height: auto;
}
