*{
  margin: 0;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

a{
  color: inherit;
}

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

header{
  width: 100%;
  height: auto;
  z-index: 999;
  position: absolute;
  background-color: rgba(255,255,255,.6);
  transition: .5s;
}

#header.fixed{
  position: fixed;
  background-color: white;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

.header-top{
  width: 100%;
  border-bottom: 2px solid #EF4035;
}

.header-top.hidden{
  height: 0;
  overflow: hidden;
  border: 0;
}

.header-contact{
  max-width: 1400px;
  height: auto;
  margin: auto;
  padding: 10px 30px;
  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:first-of-type {
  padding: 0 12px 0 0;
}

.header-contact-obj:nth-of-type(3) {
  padding: 0 12px 0 12px;
}

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

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

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

.header-bg{
  padding: 15px 30px;
  max-width: 1400px;
  width: 100%;
  margin: auto;
  display: table;
}

.logo{
  width: 360px;
  height: auto;
  display: table-cell;
  vertical-align: middle;
  transition: .75s;
}

.logo img{
  width: 100%;
  height: auto;
}

#header.fixed .logo{
  width: 300px;
}

.burger-nav{
  display: none;
}

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

nav ul li{
  display: inline-block;
  text-decoration: none;
  width: auto;
  margin-left: 20px;
}

nav ul li:first-of-type{
  margin: 0;
}

nav ul li a{
  color: #565655;
  text-decoration: none;
  font-family: 'Open Sans';
  font-size: 20px;
  cursor: pointer;
}

nav ul li a:hover{
  color: black;
}

nav ul li ul{
  display: none;
}

nav ul li:hover > ul{
  display: block;
  position: absolute;
  z-index: 999;
  padding-top: 20px;
  left: -33px;
}

li ul li{
  width: 100%;
  background-color: white;
  height: auto;
  margin: 0;
  padding: 10px 20px;
  text-align: center;
  text-align: -webkit-center;
  text-align: -ms-center;
  text-align: -moz-center;
}

li ul li:last-of-type{
  padding-bottom: 20px;
}

.contact-link{
  background-color: rgba(86, 86, 85, .4);
  color: white;
  border-radius: 5px;
  padding: 12px 25px;
  transition: .5s;
}

#header.fixed .contact-link{
  background-color: #565655
}

.contact-link:hover{
  background-color: rgb(239, 64, 53);
  color: white;
}

.overlay {
height: 0%;
width: 100%;
position: fixed;
z-index: 10000;
top: 0;
left: 0;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0, 0.9);
overflow-y: hidden;
transition: 0.5s;
}

.overlay-content {
position: relative;
top: 25%;
width: 100%;
text-align: center;
text-align: -webkit-center;
text-align: -moz-center;
text-align: -ms-center;
margin-top: 30px;
}

.overlay a {
padding: 8px;
text-decoration: none;
font-size: 36px;
color: rgb(181,181,181);
display: block;
transition: 0.3s;
font-family: 'Roboto';
text-transform: uppercase;
}

.overlay a:hover, .overlay a:focus {
color: white;
}

.overlay .closebtn {
position: absolute;
top: 20px;
right: 45px;
font-size: 60px;
}

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

h2{
  font-family: 'Open Sans';
  color: #EF4035;
}

h3{
  font-family: 'Open Sans';
  color: rgb(181,16,36);
  font-size: 21px;
}

p{
  font-family: 'Open Sans';
  font-size: 18px;
}

.bullet{
  color: #EF4035;
  font-size: 22px;
}

.content{
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: auto;
  padding: 30px;
}

/*----- Home Start -----*/

#home-top{
  width: 100%;
  height: 750px;
  background-image: url(images/dewyntersdevelopments.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#intro{
  width: 100%;
  height: auto;
  text-shadow: 0 1px 2px rgb(255,255,255);
}

.box-container{
  display: flex;
}

.box-container:hover .box-img img{
  transform: scale(1.0);
}

.box-img{
  width: 50%;
  height: auto;
  position: relative;
  display: grid;
  overflow: hidden;
}

.box-img img{
  width: 100%;
  transform: scale(1.2);
  transition: 0.5s;
}

.box-text-container{
  width: 50%;
  height: auto;
  position: relative;
  display: grid;
  background-color: rgb(210,210,210);
  padding: 5%;
}

.box-text{
  text-align: center;
  text-align: -webkit-center;
  text-align: -moz-center;
  text-align: -ms-center;
  text-align: -o-center;
  top: 50%;
  transform: translateY(-50%);
}

.boxes-button{
  text-decoration: none;
}

.boxes-button .btn{
  width: 220px;
  height: auto;
  background-color: rgba(239,64,53,0.75);
  padding: 20px;
  color: white;
  text-decoration: none;
  border-radius: 15px;
  transition: all .5s ease;
  margin-top: 15px;
}

.boxes-button .btn:hover{
  background-color: rgba(239,64,53,1);
}

.boxes-button .btn p{
  font-size: 20px;
}

#home-boxes-mobile{
  display: none;
}

/*-- Home End --*/

/*----- Services Start -----*/

.generic-top{
  width: 100%;
  height: 750px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#services-top{
  background-image: url(images/services-top.jpg);
}

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


/*-- Services End --*/

/*----- Gallery Start -----*/

#gallery-top{
  background-image: url(images/gallery-top.jpg);
}

.gallery-section{
  width: 100%;
  height: auto;
}

.gallery-section .content{
  text-align: center;
  text-align: -webkit-center;
  text-align: -moz-center;
  text-align: -ms-center;
  text-align: -o-center;
}

.gallery{
  display: inline-block;
  margin: 5px;
  border-radius: 10px;
  overflow: hidden;
  max-width: 17.5%;
  width: 100%;
}

.gallery img{
  width: 100%;
  border-radius: 10px;
}

.gallery:hover img{
  transform: scale(1.2);
}

/*-- Gallery End --*/

/*----- Contact Start -----*/

#contact-top{
  background-image: url(images/contact-dewyntersdevelopments.jpg);
}

#contact{
  background: linear-gradient(to bottom right, rgba(0,0,0,0.55), rgba(0,0,0, 0.55)), url(images/contact-dewyntersdevelopments.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  text-align: -webkit-center;
  text-align: -webkit-center;
  text-align: -moz-center;
  text-align: -ms-center;
}

.contact-divider{
  border: 2px solid rgb(239,64,53);
  width: 48px;
  margin: 10px 0;
}

#contact .top-p{
  font-size: 17.5px;
  font-family: 'Roboto';
  font-weight: 400;
  color: white;
}

.contact-p{
  font-size: 17.5px;
  font-family: 'Roboto';
  color: white;
}

#contact h3{
  font-size: 30px;
  color: white;
  margin-top: 20px;
}

.contact-div{
  margin-bottom: 10px;
}

.contact-div:first-of-type{
  padding-top: 10px;
}

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

.contact-obj p{
  font-size: 17.5px;
  color: white;
}

.contact-obj .ion{
  color: rgb(239,64,53);
  font-size: 25px;
}

#contact a{
  text-decoration: inherit;
}

/*-- Contact End --*/

.call-to-action{
  background-color: rgb(189,190,192);
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100px;
}

.call-to-action-content{
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: auto;
  padding: 20px;
  text-align: center;
  text-align: -webkit-center;
  text-align: -moz-center;
  text-align: -ms-center;
}

.call-to-action-content h3{
  color: white;
  font-size: 32px;
  font-family: 'Roboto';
  margin-right: 100px;
}

.cta-btn{
  width: 220px;
  height: auto;
  background-color: rgba(239,64,53,0.75);
  padding: 20px;
  color: white;
  text-decoration: none;
  border-radius: 15px;
  transition: all .5s ease;
}

.cta-btn p{
  font-size: 20px;
}

.call-to-action-content h3, .call-to-action-content a{
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
}

.cta-btn:hover{
  background-color: rgba(239,64,53,1);
}

footer{
  width: 100%;
  height: auto;
  color: #fff;
  background-color: rgb(239,64,53);
  font-family: 'Roboto';
}

footer .left{
  float: left;
}

footer .right{
  float: right;
}

.clearfix{
  clear: both;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  padding: 15px;
  margin: auto;
}

footer p:last-of-type{
  margin-top: 5px;
}

footer a{
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  font-weight: 600;
}
