a,
nav ul a {
    color: #333;
    text-decoration: none
}

.commercial,
.residential,
.wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal
}

.contactbar,
.pagenavbar {
    list-style: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15)
}

.alignment,
.contactbar p,
.pagenavbar p {
    text-align: center
}

body {
    margin: 0;
    background: #f5f5f5;
    color: #333;
    font-family: Raleway, sans-serif;
    overflow-x: hidden
}

.commercial button,
.commercial p,
.footbtn,
.footbtn2,
.residential button,
.residential p,
h1,
h2,
h3 {
    font-family: Oswald, sans-serif
}

h1 {
    font-size: 3em
}

h2 {
    font-size: 2em;
    margin-bottom: 0
}

.hidden {
    opacity: 0
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.logo,
nav li {
    display: inline-block
}

.wrapper {
    -ms-flex-flow: column;
    flex-flow: column;
    background: #fff;
    max-width: 80%;
    margin: 0 auto
}

nav h1 {
    font-size: 3em;
    padding: 3em 0 1em
}

.navBar {
    min-width: 100%
}

.logo {
    margin: auto 0
}

nav .wrapper,
nav ul {
    display: -webkit-box;
    display: -ms-flexbox
}

nav ul {
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    list-style-type: none;
    padding-left: 0;
    width: 70%
}

nav ul a {
    -webkit-transition: all .5s ease;
    transition: all .5s ease
}

nav ul a:hover {
    color: #ce5c00
}

nav #menu-toggle,
nav .label-toggle {
    display: none
}

nav .wrapper {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

/*Style for Drop Down*/
ul li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  transition: all 0.5s ease;
  margin-top: 1rem;
  left: 0;
  display: none;
}

ul li:hover > ul,
ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
  position: relative;
    width:100%
}

ul li ul li {
  clear: both;
  width: 100%;
}

/*Style for Drop Down End*/

.residential {
    background-image: url(../residential.jpg)
}

.commercial {
    background: url(../commercial1.jpg) center no-repeat
}

.commercial,
.residential {
    -ms-flex-direction: column;
    flex-direction: column;
    height: 700px;
    box-sizing: border-box
}

.footerbtns,
.rightcontent {
    -webkit-box-orient: horizontal
}

.alignment {
    margin: auto
}

.commercial button,
.commercial p,
.residential button,
.residential p {
    text-align: center;
    margin: 0 auto
}

.commercial p,
.residential p {
    color: #fff;
    text-shadow: 0 0 2px rgba(150, 150, 150, 1);
    font-size: 5em
}

.commercial button,
.residential button {
    font-size: 2em;
    color: #fff;
    background: #f60;
    padding: .25em .5em;
    margin-top: 30px
}

#myBtn {
    cursor: pointer
}

.required {
    font-size: 1.2em;
    color: orangered;
    margin-left: 4px;
    display: inline;
}

div .element-input {
    margin: 10px 0px;
}

input[type="submit"] {
    font-size: 1.2em;
    margin: 10px 5px 0px 5px;
    background-color: #ff6600;
    border: solid 1px #333;
    color: white;
    padding: 7px 15px;
    cursor: pointer;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow;
    transition-property: box-shadow;
    -webkit-transform: perspective(1px) translateZ(0);
}

input[type="submit"]:hover {
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
}

.pagenavbar {
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.contactbar {
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.pagenavbar li:hover {
    box-shadow: 0 12px 0 rgba(255, 102, 0, 1)
}

.contactbar li a,
.pagenavbar li a {
    padding: 20px
}

.rightcontent {
    background-color: rgba(184, 216, 216, .5);
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse
}

.leftcontent,
.rightcontent {
    padding: 0 20% 5%;
    line-height: 1.75
}

.leftcontent p {
    text-align: right
}

.rightcontent p {
    text-align: left
}

.imgleft,
.imgright {
    padding: 30px
}

.imgleft {
    float: left
}

.imgright {
    float: right
}

footer {
    background: #fff;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1% 10%
}

.footbtn,
.footbtn2 {
    border: 1px solid #333;
    padding: 7px 15px;
    cursor: pointer;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: box-shadow;
    transition-property: box-shadow;
    -webkit-transform: perspective(1px) translateZ(0)
}

.footbtn2:focus,
.footbtn2:hover,
.footbtn:focus,
.footbtn:hover {
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5)
}

.footbtn {
    background-color: #fff;
    margin-right: 20px;
    font-size: 1em;
}

.footbtn2 {
	background-color: #f60;
	color: white;
	font-family: 'Oswald';
	font-size: 1em;
}

footer p {
    text-align: center;
    font-size: .7em;
    font-family: Tahoma, sans-serif
}

.footerbtns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row
}

@media all and (max-width:1380px) {
    .leftcontent,
    .rightcontent {
        padding: 0 15% 5%
    }
}

@media all and (max-width:1010px) {
    .leftcontent,
    .rightcontent {
        padding: 0 5% 5%
    }
}

@media all and (max-width:975px) {
    body {
        font-size: .8em
    }
    .leftcontent,
    .rightcontent {
        padding: 0 0 20px 10px
    }
    .leftcontent p,
    .rightcontent p {
        font-size: .9em
    }
    .leftcontent p {
        padding-right: 20px
    }
    .rightcontent p {
        padding-left: 20px
    }
}

@media all and (max-width:785px) {
    nav .wrapper,
    nav li,
    nav ul {
        display: block
    }
    .content p,
    .wrapper {
        max-width: 100%
    }
    nav ul {
        background-color: #f60;
        height: 0;
        list-style-type: none;
        opacity: 0;
        text-align: center;
        -webkit-transition: all 1s ease;
        transition: all 1s ease;
        width: 100%;
        visibility: hidden
    }
    nav li {
        border-bottom: 2px solid #fff;
        color: #fff;
        font-size: 1.5em;
        padding: 2em 0
    }
    nav #menu-toggle:checked~ul {
        opacity: 1;
        height: 100vh;
        visibility: visible
    }
    nav .label-toggle {
        background: -webkit-linear-gradient(top, #f60 0, #f60 20%, transparent 20%, transparent 40%, #f60 40%, #f60 60%, transparent 60%, transparent 80%, #f60 80%, #f60 100%);
        background: linear-gradient(to bottom, #f60 0, #f60 20%, transparent 20%, transparent 40%, #f60 40%, #f60 60%, transparent 60%, transparent 80%, #f60 80%, #f60 100%);
        cursor: pointer;
        display: block;
        float: right;
        height: 35px;
        margin-top: 2em;
        margin-right: 3em;
        width: 35px
    }
    .modal {
        left: 13%!important
    }
    .modal-content {
        padding-right: 35px;
        font-size: .8em;
        width: 259px
    }
    .content p {
        font-size: 1.3em
    }
    .imgleft,
    .imgright {
        padding: 10px
    }
    .commercial,
    .residential {
        background-position: center center
    }
    .footerbtns {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        margin: 10px auto;
        font-size: 1.2em
    }
}

@media all and (max-width:610px) {
    .imgleft,
    .imgright,
    .pagenavbar img {
        width: 50%
    }
    nav ul a {
        color: #fff
    }
    footer img {
        width: 80%
    }
    footer a {
        text-align: center
    }
    .footbtn,
    .footbtn2 {
        padding: 3px;
        font-size: .8em
    }
    footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 10px 5px
    }
}