 /*
 Theme Name:   Service.com
 Theme URI:    https://github.com/LocqusLLC/
 Description:  Twenty Seventeen Child Theme
 Author:       Bradford Wade
 Author URI:   https://github.com/bradford281
 Template:     twentyseventeen
 Version:      1.0.1
 License:      Rights Reserved
 License URI:  https://www.service.com;
 Tags:         service.com, home repair, roofing, landscaping
 Text Domain:  service-dot-com
*/

/*Insurance Page Style*/

@media screen and (max-width: 980px) {
	
	#the-end-par {
   		 width: 100%;
	}

	#camera {
		margin-top: 10px;
	}		
}

.insurance-tagline>h3 {
	color: #ffffff;
}

#sub-head {
	color: #ffffff;
	margin-top: -20px
}

.sub-head-div {
	width: 100%;
}

.sub-head-text {
	margin: auto;
	width: 150px;
}

#camera {
	margin-left: 10px;
}

#the-end{
    width: 100%;
    margin: auto;
    text-align: center;
    background: #f4f4f4;
    margin-bottom: -120px;
}

#the-end-header{
	padding-top: 65px;
}

#the-end-link{
	color: #03A9F4;
}

#the-end-par {
    width: 50%;
    margin: auto;
    font-size: 1.2em;
}

/*V2 Style*/

#computer {
	width: 90%;
}

#demo {
margin: 3em 1em;
}

#side-left-demo{
    float: left;
    width: 50%;
    text-align: right;
    padding: 120px;
    margin-top: 10px;
}

@media (max-width: 1400px) {
	#side-left-demo{
		padding: 95px;
	}
}

@media (max-width: 1280px) {
	#side-left-demo{
		margin-top: 125px;
		margin-bottom: 25px;
		padding: 0 0 0 1em;
	}
}

#demo-container{
	overflow: hidden;
}

.industries {
	display: none;
}

#side-map{
		float: right;
		width: 50%;
		padding-right: 12em;
		margin top: 90px;
	}

@media (min-width: 980px){

#col-4 {
    width: 25%;
    float: left;
	}
}

#side-left{
	float: left;
	width: 50%;
	text-align: right;
	margin: 125px auto 100px auto;
	padding-left: 12em;
}

#side-right{
	float: right;
	width: 50%;
	text-align: left;
   	padding-right: 12em;
	margin-top: 125px;
}

@media screen and (max-width: 1200px){
	
	#side-map{
		width: 50%;
		padding-right: 5em;
		padding-left: 5em;
	}

	#side-left{
		padding-left: 5em;
		margin: 80px auto 100px auto;
	}

	#side-right{
   		padding-right: 5em;
	}

	#image-pro2{
		margin: 245px 0 130px 200px;
	}
}

@media screen and (max-width: 980px){

	#side-left-demo{
		width: 100%;
		padding: 1em;
		margin-top: 75px;
		text-align: center;
	}

	#side-map{ 
		width: 100%;
		padding: 1em;
		text-align: center
	}
	
	#demo {
		height: 222.38px;
		margin-bottom: 6em;
	}
}

ul {
	list-style-type: none;
}

.container2 {
	max-width: 100%;
	margin: 50px auto 50px auto;
	position: relative;
	z-index: 0;
}

.container2>h3 {
	font-size: 2em;
	text-align: center;
}

.container3 {
	max-width: 100%;
	height: 300px;
	margin: 50px auto 115px auto;
	position: relative;
	z-index: 0;
}

.container3>h3 {
	padding-top:80px;
	font-size: 2em;
	text-align: center;
}

.container3>h4 {
	font-size: 2.5em;
	text-align: center;
	margin-top: -60px;
}


@media all and (max-width: 980px){

.container3{
	height: 400px;
}
.container3>h3{
	margin: 0px 30px 0px 30px;
}
.container3>h4{
	margin: 10px 10px 0 10px;
	font-size: 2.1em
}

	#side-left{
		float: none;
		padding-right: 1em;
		padding-left: 1em;
		width: 100%;
		text-align: center;
		margin: 50px 0 0 0;
	}

	#side-right{
   		float: none;
		padding-right: 1em;
		padding-left: 1em;
		width: 100%;
		text-align: center;
		margin: 50px 0 0 0;
	}	
}

.col-mb-12 {
    width: 100%;
    float: left;
    padding-right: 12px;
    padding-left: 12px;
}

.col-group [class*="col-"] {
    padding: 0 10px 0 10px;
    min-height: 1px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.col-group {
	margin: 60px auto 550px auto;
	max-width: 1200px;

}

@media all and (max-width: 1050px) {
	
.col-group {
	margin: 60px 20px 450px 20px
	}
}

.line {
    width: 25%;
    float: left;
}

.cycle-gallery-container{
	position:relative
}

.cycle-gallery__navigation{
	position:absolute;
	width:100%;
	top:50%;
	transform:
	translateY(-50%)
}

.cycle-gallery__navigation .cycle-gallery__next,.cycle-gallery__navigation .cycle-gallery__prev{
	transition: opacity .3s ease;
	-webkit-transition:opacity .3s ease;
	position:absolute;
	cursor:pointer;
	user-select:none;
	max-height:32px
}

.cycle-gallery__navigation .cycle-gallery__next i,.cycle-gallery__navigation .cycle-gallery__prev i{
	font-size:2em
}

.cycle-gallery__navigation .cycle-gallery__next:not(:hover),.cycle-gallery__navigation .cycle-gallery__prev:not(:hover){
	opacity:.25
}

.cycle-gallery__navigation .cycle-gallery__prev{
	left:0
}

.cycle-gallery__navigation .cycle-gallery__next{
	right:0
}

@media all and (min-width: 990px){

.cycle-gallery__navigation .cycle-gallery__next{
		right:-4.5em
	}
	
	.cycle-gallery__navigation .cycle-gallery__prev{
		left:-4.5em
	}
}

.cycle-gallery--flip{
	position:relative;
	list-style:none;
	min-height:378px
}

.cycle-gallery--flip:after{
	content:'';
	height:90%;
	top:5%;
	width:108%;
	left:-4%;
	border-radius:4px;
	border:1px solid rgba(0,0,0,0.1);
	background:#fff;
	position:absolute;
}

.cycle-gallery--flip>li{
	position:absolute;
	width:100%;
}

.cycle-gallery--flip>li.active{
	animation:flip-gallery-in 1s ease forwards;
	-webkit-animation:flip-gallery-in 1s ease forwards
}

.cycle-gallery--flip>li:not(.active){
	animation:flip-gallery-out 1s ease forwards;
	-webkit-animation:flip-gallery-out 1s ease forwards;
	position:absolute}

@keyframes flip-gallery-in{
	
	0%{
		opacity:1;
		pointer-events:none;
		transform:translateX(17px) scale(0.95)
	}
	
	100%{
		opacity:0;
		pointer-events:all;
		transform:translateX(0) scale(1)
	}
}

@keyframes flip-gallery-out{

	0%{
		opacity:1;
		pointer-events:all;
		transform:cale(1)
	}

	100%{
		opacity:0;
		pointer-events:none;
		transform:translateX(-17px) scale(0.95)
	}
}

.cycle-gallery--fade>li{
	position:absolute;
	transition:opacity 1s ease;
	-webkit-transition:opacity 1s ease
}

.cycle-gallery--fade>li:not(.active){
	opacity:0
}

.cycle-gallery--fade>li.active{
	opacity:1;
	transition-delay:0.75s
}

@media all and (max-width: 980px){
    
    .col-group{
	margin-bottom: 0;
	}
 
    .categories{
        margin-top:2.25em;
        overflow-x:scroll;
        white-space:nowrap
    }

    .categories>li{
        width:240px;
        float:none;
        display:inline-block
    }

    .categories>li .category{
        margin-bottom:0
        }

    .categories:not(.touched)>li{
        animation:simulateSwipe 3s ease infinite;
        }
    }

@keyframes simulateSwipe{
    0%{
        transform:translateX(0px)
    }
    10%{
        transform:translateX(-15px)
    }20%{
        transform:translateX(0px)
    }
}

.category{
    display:block;
    overflow:hidden;
    backface-visibility:hidden;
    text-align:center;
    margin-bottom:1.5em;
    text-decoration:none;
    text-align:center;
    position:relative;
    border-radius:4px
}

.category:after{
    transition:opacity .3s ease;
    -webkit-transition:opacity .3s ease;
    content:'';background:#0F0F0F;
    opacity:0.7;
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    border-radius:4px
}

.category>img{
    display:block;
    transition:all .3s ease;
    -webkit-transition:all .3s ease;
    width:100%;
    border-radius:4px;
   }

.category .category__text{
    position:absolute;
    color:#fff;
    top:50%;
    transform:translateY(-65%);
    width:100%;
    z-index:1;
    }

.category .category__text h4{
    color:#fff;
    font-weight: 500;
    }

.category .category__text p{
    transition:all .3s ease;
    -webkit-transition:all .3s ease;
    max-width:250px;
    margin:0 auto;
    max-height:3em;
}

.category:not(:hover) .category__text p{
    max-height:0;
    opacity:0
}

.category:not(:hover):after{
    opacity:.3
    }

@media all and (max-width: 767px){
    .category{
        margin-bottom:.75em
        }
	
.category:not(:hover):after{
    opacity:.1
    }

    .category h4{
        margin-bottom:0;
	text-size: 1.2em;
	font-weight: 600;
        }

    .category p{
        display:none
        }
    }

.hidden-p {
	display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

/*Pro Page Style*/

.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

#map{
	margin: 100px auto 100px auto;
	padding-left: 200px;
}

.map-text{
	margin: 125px auto; 
}

#phone2{
	margin:  0 120px 100px 350px;
}

@media all and (max-width: 1350px){

#phone2{
	margin: 50px 0 120px 200px;
	}
}

@media all and (max-width: 980px){
	#phone2{
		margin: 0;
	}
}

.phone-section {
	margin-top: 30px;
}

.phone-header {
	color: #333;
}

.phone-text{
	margin-bottom: 100px;
	padding-right: 13em;
}

main section#chat-with-customers{
    background-image: url('https://www.service.com/wp-content/themes/servicedotcom34/assets/images/chat-with-customers.jpg');
}

main section#hvac-technician{
    background-image: url('https://www.service.com/wp-content/themes/servicedotcom34/assets/images/hvac-technician.jpg');
}


main section#get-paid{
    background-image: url('assets/images/contractor-with-woman.jpg');
}

main section#home-improvement{
    background-image: url('assets/images/home-improvement-projects.jpg');
}

main section#mediation{
    background-image: url('assets/images/water-restoration.jpg');
}

main section.graphic-pro{
    background-size: cover;
    background-position: 30% 33%;
    width: 100%;
    height: 400px;
    clear: both;
}

#image-pro{
    margin: 165px 0 0px 45px;
    width: 55%
}

#image-pro2{
    margin: 200px 0 150px 200px;
    width: 55%;
}

.how-works{
	margin-bottom: 50px;
}

#how-works-text{
	margin: 30px;
	font-size: 13px;
}

.works {
	width: 33%;
	display: inline-block;
}

#icon {
	width: 100px;
	margin: auto;
}

@media screen and (max-width: 1200px) {
	.map-text{
		margin: 100px auto 100px auto;	
	}
}

@media screen and (max-width: 980px) {
	
	#map{
		margin: 100px auto 0px auto;
		padding-left: 0;	
	}

	#phone{
		margin: 0;	
	}
	
	.map-text{
		margin: 0px auto 100px auto;	
	}

	.phone-text{
		margin-bottom:100px;	
	}

	#image-pro{
    		margin: 50px auto 100px auto;
		max-width: 25em;
	}

	#image-pro2{
    		margin: 100px auto 0 auto;
		max-width: 25em;
	}
	.works {
		width: 100%;
	}
}

@media screen and (max-width: 600px) {
	.map{
		height: 300px;
		width: 300px;	
	}
	
}

/*Universal Style*/

.arrow {
  text-align: center;
  color: #fffff;
  margin-left: 10px;
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  50% {
    transform: translateX(12px);
  }
  100% {
    transform: translateX(0px);
  }
}

button:not(.search-submit){
    display: inline;
    margin: 25px 10px;
    font-weight: normal;
    border-radius: 5px;
	font-size: 1.2em;
	padding: 15px 65px;
}

@media screen and (max-width: 670px){
    button:not(.search-submit){
        display: block;
        margin: 30px auto 20px auto;
    }
	.container>h3 {
		font-size: 1.325em
	}
}

#project-group{
	text-align: center;
	padding-top: 120px;
}

#project-tag{
	font-size: 4em;
	color: #fff;
	text-shadow: 3px 3px 15px #000
}

@media screen and (max-width: 980px) {
	#project-group{
		text-align: center;
		padding-top: 45px;
	}
	#project-tag{
		font-size: 3em;
	}
}
	
a.site-logo{
    background: url('assets/images/logo2.svg') no-repeat;
	margin: 10px;
	height: 40px;
    width: 250px;
    color: rgba(255, 255, 255, 0);
}

.appicon{
	width: 90px;
	margin: auto;
	display: block;
	padding-bottom: 10px;
}

@media screen and (max-width: 940px) {
	.appicon{
		width: 75px;
		padding-top: 25px;
	}
}

a#desktop-site-logo{
    margin-top: 13px 0px 0px 20px;
    padding: 0;
}
#mobile-site-logo{
    display: none;
    margin: 40px auto 30px auto;
}
#menu{
    margin: 0;
}
#menuToggle input{
    display: none;
}
#masthead{
    background-color: #fff;
    position: fixed;
    width: 100%;
    z-index: 1;
    box-shadow: 0px 0px 2px #aaa;
    position: fixed;
}

#masthead2{
    background-color: #fff;
    position: static;
    width: 100%;
    z-index: 1;
    box-shadow: 0px 0px 2px #aaa;
}

#masthead a{
    display: block;
    float: left;
    padding: 1.3em 14px 1.3em 14px;
}

#masthead2 a{
    display: block;
    float: left;
    padding: 1.3em 14px 1.3em 14px;
}

nav .text-links{
    float: right;
}
nav .text-links a:hover{
    background-color: #999;
    color: #fff;
}

.request-quote{
    color: #fff;
    background-color: #ffa138;
}

.get-app{
    color: #fff;
    background-color: #03A9F4;
}

#app-button{
	margin: 10px;
	margin-bottom: 5em;
	font-size: 1em;
	padding: 20px;
}

#app-image{
	width: 80%
}

@media screen and (max-width: 980px){
	#app-button{
		margin: auto;
		margin-bottom: 2em;
	}
	
	#app-image{
		margin: 2em 0;
		max-width: 75%;
	}
}

.log-in{
    color: #fff;
    background-color: #03a9f4;
}

#chat-with-pros {
	height: 650px;
}

main section#tagline h1,
main section#tagline h2,
main section#tagline a{
    color: #fff;
    margin: 10px;
    padding: 0;
    //text-shadow: 2px 2px 10px #555;
}
main section#tagline{
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url('assets/images/hero.jpg') no-repeat;
    background-size: cover;
    padding: 8em 5em;
    text-align: center;
    color: #fff;
	margin-top: 30px
}

main section#insurance-tagline h1,
main section#insurance-tagline h2,
main section#insurance-tagline a{
    color: #fff;
    margin: 10px;
    padding: 0;
    //text-shadow: 2px 2px 10px #555;
}

main section#insurance-tagline{
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url('assets/images/insurance-restoration-hero.jpg') no-repeat;
    background-size: cover;
    padding: 8em 5em;
    text-align: center;
    color: #fff;
    margin-top: 30px;
}

main section#pro-tagline h1,
main section#pro-tagline h2,
main section#pro-tagline a{
    color: #fff;
    margin: 10px;
    padding: 0;
    //text-shadow: 2px 2px 10px #555;
}
main section#pro-tagline{
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url('assets/images/service-pro.jpg') no-repeat;
    background-size: cover;
    padding: 8em 5em;
    text-align: center;
    color: #fff;
	margin-top: 30px
}

main section#hvac-tagline h1,
main section#hvac-tagline h2,
main section#hvac-tagline a{
    color: #fff;
    margin: 10px;
    padding: 0;
    //text-shadow: 2px 2px 10px #555;
}
main section#hvac-tagline{
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url('https://www.service.com/wp-content/themes/servicedotcom34/assets/images/heating-and-cooling-projects.jpg') no-repeat;
    background-size: cover;
    padding: 15em 5em;
    text-align: center;
    color: #fff;
     margin-top: -85px;
}

main section#tagline hgroup h1{
    font-size: 4em;
	font-weight: 400;
}
main section#tagline hgroup h2{
    font-size: 1.5em;
}

main section#tagline a{
    text-decoration: underline;
}
main section#tagline a:hover{
    text-decoration: none;
}

main section#insurance-tagline hgroup h1{
    font-size: 4em;
	font-weight: 400;
}
main section#insurance-tagline hgroup h2{
    font-size: 1.5em;
}

main section#insurance-tagline a{
    text-decoration: underline;
}
main section#insurance-tagline a:hover{
    text-decoration: none;
}

main section#pro-tagline hgroup h1{
    font-size: 4em;
	font-weight: 400;
}
main section#pro-tagline hgroup h2{
    font-size: 1.5em;
}

main section#pro-tagline a{
    text-decoration: underline;
}
main section#pro-tagline a:hover{
    text-decoration: none;
}

main section#hvac-tagline hgroup h1{
    font-size: 3em;
	font-weight: 400;
	margin-top: 100px;
}

@media all and (max-width: 1140px){
	main section#hvac-tagline hgroup h1{
	}
	main section#hvac-tagline{
		padding: 8em 5em;	
	}
}

@media all and (max-width: 700px){
	main section#hvac-tagline{
		padding: 2em;	
	}
}


main section#hvac-tagline hgroup h2{
    font-size: 1.5em;
}

main section#hvac-tagline a{
    text-decoration: underline;
}
main section#hvac-tagline a:hover{
    text-decoration: none;
}

main section.copy{
    width:  100%;
    margin: auto;
}

main section.copy>article h3{
    padding-top: 2em;
}

main section.copy>article p{
    color: #999;
    font-size: 1.2em;
    max-width: 100em;
    line-height: 2em;
}

main section.copy>article,
main section.copy>div{
    padding: 0em 1em;
    float: left;
    width: 50%;
}

#side{
	float: right;
	width: 50%;
	padding-right: 12em;
}

@media screen and (max-width: 980px){
	#side{ 
		width: 100%;
		padding: 1em;
		text-align: center
	}
} 
		

#quote{
	text-align: center;
	width: 100%;
	padding: 0 2em 3em 2em;
}

#icon-container{
	text-align: center;
	margin: auto;
	width: 100%;
	padding: 3em 0em 0em 0em;
}

#badge{
	width: 250px;
	margin: auto;
}

main section#request-a-quote img.icon{
    width: 120px;
    height: 120px;
    margin: 23px;
}


main section.copy img{
    margin: 5em 2em;
}

.photo-wrapper{    
    height: 500px;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

main section.graphic{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 550px;
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: center;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    width: 100%;
}

main section#blueprints{
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) ,  
    url('assets/images/blueprints.jpg') no-repeat center center fixed;
    background-size: cover;  
}

main section#contractor-with-woman{
    background-image: url('assets/images/contractor-with-woman.jpg');
}
main section#painter{
    background-image: url('assets/images/painter.jpg');
}

main section#contractor-with-app{
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) , 
    url('assets/images/contractor-with-app.jpg') no-repeat center center fixed ;
    background-size: cover;	
}

main section#home{
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) ,  
    url('assets/images/home.jpg') no-repeat center center fixed;
    background-size: cover
}

main section#satisfaction-guaranteed{
    max-width: 960px;
    margin: auto;
    padding: 2em;
    text-align: center;
    margin-bottom: 75px;
}
main section#satisfaction-guaranteed>a{
    color: #007dcb;
}
main section#satisfaction-guaranteed>a:hover{
    color: #005dab;
    text-decoration: underline;
}
main section#satisfaction-guaranteed article p{
    color: #999;
	font-size: 1.2em;
}
main section#satisfaction-guaranteed article a{
    color: #999;
    text-decoration: underline;
}
main section#satisfaction-guaranteed article a:hover{
    text-decoration: none;
    color: #000;
}


footer,
footer h2.widget-title{
    background-color: #007dcb;
    color: #fff;
}
@media screen and (max-width: 1140px){
    #masthead{
        position: static;
        margin-top: -27px;
    }
  #masthead2{
        position: static;
        margin-top: -27px;
    }
    #mobile-site-logo{
        display: block;
    }
    #masthead a#desktop-site-logo{
        display: none;
    }
	#masthead2 a#desktop-site-logo{
        display: none;
    }
    #masthead a{
        display: block;
        float: none;
        text-align: center;
        margin: auto;
	padding: .8em;
    }
	#masthead2 a{
        display: block;
        float: none;
        text-align: center;
        margin: auto;
	padding: .8em;
    }
    #masthead a:not(:first-child){
        border-top: 1px solid #aaa;
    }
    #masthead2 a:not(:first-child){
        border-top: 1px solid #aaa;
    }
    nav .text-links{
        float: none;
        clear: both;
    }
    main section#tagline{
        margin-top: 0;
    }
   main section#pro-tagline{
        margin-top: 0;
    }
   main section#hvac-tagline{
        margin-top: 0;
    }


    #menuToggle
    {
      display: block;
      position: fixed;
      top: 25px;
      left: 25px;

      z-index: 1;

      -webkit-user-select: none;
      user-select: none;
    }
    #menuToggle input
    {
      display: block;
      width: 40px;
      height: 32px;
      position: absolute;
      top: -7px;
      left: -5px;

      cursor: pointer;

      opacity: 0;
      z-index: 1;

      -webkit-touch-callout: none;
    }
    #menuToggle span
    {
      display: block;
      width: 33px;
      height: 6px;
      margin-bottom: 5px;
      position: relative;

      background: #fff;
      border: 1px solid #aaa;
      border-radius: 3px;

      z-index: 1;

      transform-origin: 4px 0px;

      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  opacity 0.55s ease;
    }
    #menuToggle span:first-child
    {
      transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2)
    {
      transform-origin: 0% 100%;
    }
    #menuToggle input:checked ~ span
    {
      opacity: 1;
      transform: rotate(45deg) translate(0, 2px);
      background: #232323;
    }

    #menuToggle input:checked ~ span:nth-last-child(3)
    {
      opacity: 0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }
    #menuToggle input:checked ~ span:nth-last-child(2)
    {
      opacity: 1;
      transform: rotate(-45deg) translate(0, -1px);
    }
    #menu
    {
      position: absolute;
      width: 400px;
      margin: -100px 0 0 -50px;
      padding: 0;
      padding-top: 100px;

      background: #fff;
      list-style-type: none;
      -webkit-font-smoothing: antialiased;
      transform-origin: 0% 0%;
      transform: translate(-100%, 0);

      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    }
    #menu li
    {
      padding: 10px 0;
      font-size: 22px;
    }
    #menuToggle input:checked ~ ul
    {
      transform: scale(1.0, 1.0);
      opacity: 1;
    }
}
@media screen and (max-width: 980px) {

    main section#tagline{
        margin-top: 0;
        padding: 1.5em;
    }
    main section#tagline hgroup h1{
        font-size: 2em;
    }
    main section#tagline hgroup h2{
        font-size: 1em;
    }
    main section#pro-tagline{
        margin-top: 0;
        padding: 1.5em;
    }
    main section#pro-tagline hgroup h1{
        font-size: 2em;
    }
    main section#pro-tagline hgroup h2{
        font-size: 1em;
    }

    main section#hvac-tagline{
        margin-top: 0;
        padding: 8em 0;
    }
    main section#hvac-tagline hgroup h1{
        font-size: 2em;
    }
    main section#hvac-tagline hgroup h2{
        font-size: 1em;
    }

    main section#insurance-tagline{
        margin-top: 0;
        padding: 1.5em;
    }
    main section#insurance-tagline hgroup h1{
        font-size: 2em;
    }
    main section#insurance-tagline hgroup h2{
        font-size: 1em;
    }

    main section.copy>div{
        width: 100%;
		margin: auto;
		text-align: center;
    }
    main section.copy>article{
        width: 100%;
		text-align: center;
    }

	main section.copy img{
    	margin: 2em 1em;
		max-width: 25em;
	}
}

@media screen and (max-width: 600px){
	main section.graphic{
    		height: 300px;
	}
	
main section#home{
    background: url('assets/images/home.jpg') no-repeat;
    background-size: cover;	

}

main section#contractor-with-app{
    background: url('assets/images/contractor-with-app.jpg') no-repeat;
    background-size: cover;	
}

main section#blueprints{
    background: url('assets/images/blueprints.jpg') no-repeat;
    background-size: cover;  

}
}


#pm-right {
	margin-top: 130px;
	padding-right: 10em;
	float: right;
	width: 50%;
	
}

#pm-pic{
	margin-top: 70px;
	padding-left: 80px;
}

#pm-picture{
	width: 75%;
}

@media screen and (max-width: 980px){
	#pm-right{ 
		width: 100%;
		text-align: center;
		margin-bottom: 75px;
		margin-top: 35px; 	
	}

	#pm-pic{
		margin-bottom: -35px;
		margin-left: 0;
		padding: 0;
	}

	#pm-picture{
		width: 90%;
		float: none;
	}
} 

@media screen and (max-width: 1140px){
	#pm-right{ 
		padding: 1em;
		margin-top: 50px;
	}
}

@media screen and (max-width: 1250px){
	#pm-pic{ 
		margin-top: 120px;
	}
}

@media (max-width: 1400px) {
	#pm-right{ 
		margin-top: 95px;
	}
}

#videoBtnsPopup i:before {
margin-right: 10px;
/* color: #ffa138; */

}
#videoBtnsPopup {
display: none;
position: absolute;
top: 50px;
left: 10%;
width: 80%;
background-color: #fff;
padding: 15px;
text-align: center;
color: orange;
z-index: 2;
border-radius: 5px;
}
#videoDesktopPopup {
display: none;
    z-index: 2;
    position: fixed;
    top: 200px;
    left: 35%;
    width: 30%;
    background-color: #fff;
    padding: 15px;
    text-align: center;
    color: orange;
    z-index: 2;
    border-radius: 5px;
    min-height: 300px;
}

.close-box  i {
float: right;

color: red;
cursor: pointer;
}
#backdrop {
position: fixed;
width: 100%;
height: 100%;
background-color: black;
opacity: 0.7;
left: 0;
top: 0;
display: none;
z-index: 1;
}

#backdrop.active {
    display: block;
}
.each-contact a {
    background-color: #ffa138;
    color: #fff;
    padding: 15px;
    width: 210px;
    text-align: left;
    font-size: 1.5em;
/*    margin: 25px 10px;*/
    font-weight: normal;
    border-radius: 5px;
    display: block;
    margin: 30px auto 20px auto;
}