/*
Theme Name: Emerald Media 2
Author: Eddie Gorman
Version: 2.0
*/

/*   Top contact   */

#top-contact{
    background: #3a3a3c none repeat scroll 0 0;
    color: #fff;
    text-align: right;
}

#top-contact .contact-item{
    padding: 1em;
    vertical-align: middle;
    display: inline-block;
}

#top-contact .fa{
    color: #fff;
    font-size: 16px;
    padding-right: .5em;
    vertical-align: middle;
}

.contact-item:before{
    display: inline-block;
    font-family: 'FontAwesome';
    padding-right: .5em;
    vertical-align: middle;
    font-size: 16px;
    color: #88b540;
}

.contact-item-address:before{
    content:"";
}

.contact-item-address .contact-item-line + .contact-item-line:before{
content:", ";
}

.contact-item-phone:before{
    content:"";
}

.contact-item-email:before{
    content:"";
}

.contact-item-line{
    display: inline-block;
}

/* Sub Navigation */

#standard-menu li:hover>a{
    background: rgba(255, 255, 255, .25);
}

#standard-menu li>ul.sub-menu{
	display:none;
	background: #fff;
	position:absolute;
	top:100%;
	padding: 0px;
    min-width: 200%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-size: 12px;
}

#standard-menu li>ul.sub-menu>li .sub-menu{
	top:0px;
	left:100%;
	background: #fff;
    min-width: 100%;
}

#standard-menu .menu-item-has-children{
	position: relative;
}

#standard-menu ul.sub-menu li{
	width: auto;
	float: none;
    border-left: 3px solid #efefef;
}

#standard-menu ul.sub-menu li + li{
    border-top:1px solid #efefef;
}

#standard-menu ul.sub-menu li a{
    color: #7a8389;
    padding: 8px 10px 10px;
    font-weight: 400;
}

#standard-menu ul.sub-menu li:hover{
    border-left: 3px solid #88b540;
}

#standard-menu ul.sub-menu li a:hover{
    background: #eee;
    color: #3a3a3c;
}

/*	Standard Navigation for non-touch devices	*/

#standard-menu li:hover>ul.sub-menu{
	display: block;
    z-index: 10;
}

/*   Mobile Navigation   */

#mobile-menu {
    clear: both;
    display: none;
    height: 100%;
    overflow: scroll;
    z-index: 100;
    background: none repeat scroll 0 0 #eef1fd;
}

#mobile-menu .sub-menu{
    padding:0px 0px 0px 5px;
}

#mobile-menu .menu>li {
    border-bottom: 1px solid #8b8b92;
}

#mobile-menu a{
    color: #000;
    text-decoration: none;
    display: block;
    padding: 15px 54px 15px 10px;
}

#mobile-menu .sub-menu{
    display: none;
}

#mobile-menu .parent-item{
    position: relative;
}

#mobile-menu .parent-item .sub-menu-toggle{
    color: #000;
    display: block;
    font-size: 22px;
    height: 20px;
    line-height: 1em;
    padding: 14px;
    position: absolute;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    top: 1px;
    width: 20px;
}

#mobile-menu .parent-item .sub-menu-toggle:before{
    content: "+";
}

#mobile-menu .parent-item .sub-menu-toggle.open:before{
    content: "-";
}

#mobile-menu .parent-item .sub-menu-toggle:hover{
    background: rgba(0,0,0,0.05);
    cursor: pointer;
}

#mobile-menu a:hover+ul+.sub-menu-toggle{
    color: #fff;
}

#mobile-menu .spacer{
    display: block;
    clear: both;
    height: 100px;
    width: 100%;
}

.toggle-icon{
    display: block;
    padding-right: 5px;
    float: left;
}

.toggle-icon span{
    display: block;
    border-bottom: 3px solid #fff;
    margin: 3px 0px;
    width: 20px;
}

/*   Page Title   */

/*     Home Page    */

.the-featured-content p:first-of-type{
    font-size: 18px;
    font-weight: 400;
}

/*   Testimonials   */

.user-active #testimonial-slideshow{
    background-image:url(images/bg/testimonial-slideshow.jpg);
}

#testimonial-slideshow{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-family: Century Gothic,CenturyGothic,AppleGothic, 'montserrat', sans-serif;
    padding: 4em 0px;
}

.testimonial-slide{
	text-align: center;
	position: relative;
	padding: 50px 0px 0px 85px;
}

#testimonial-slideshow h2{
	color: #fff;
	font-size: 36px;
	margin-bottom: 30px;
}

#testimonial-slideshow .textwidget{
	margin-bottom: 20px;
	color: #fff;
	font-family: "Open Sans", sans-serif;
}


#testimonial-slideshow blockquote{
    margin:0px;
    padding:1em 0px;
    font-style: italic;
    color: #999;
    font-size: 14px;
    color: #fff;
}

.testimonial-slide blockquote:before{
	display: none;
}

.testimonial-slide:before{
	background-color: #88b540;
    color: #fff;
    content:" “";
    display: block;
    font-size: 72px;
    font-weight: bold;
    height: 72px;
    width: 72px;
    line-height: 1.25em;
    font-family: times-new-roman;
    border-radius: 50%;
    position: absolute;
    left: 0px;
}

.testimonial-title{
	font-size: 18px;
	color: #fff;
	padding: 10px 0px 15px;
}

#testimonial-slideshow .bx-wrapper .bx-viewport{
	background: none;
	border: 0px;
	box-shadow: none;
	left: 0px;
}

#testimonial-slideshow .bx-controls-direction{
	display: none;
}

#testimonial-slideshow .bx-wrapper .bx-pager.bx-default-pager a{
	height: 15px;
	width: 15px;
	border-radius: 50%;
	background-color: #9fa3a6;
}

#testimonial-slideshow .bx-wrapper .bx-pager.bx-default-pager a:hover,
#testimonial-slideshow .bx-wrapper .bx-pager.bx-default-pager a.active{
	background-color: #e4eaee;
}

#testimonial-archive .testimonial-archive-view{
    padding: 3em 0px;
}

#testimonial-archive .testimonial-archive-view + .testimonial-archive-view{
    border-top: 1px solid #efefef;
}

.single-sidebar-testimonial .fa-star,
#testimonial-slideshow .fa-star,
.testimonial-archive-view .fa-star{
    color: #EAB61B;
    padding-left: 2px;
}

/*	Project slideshow	*/

#project-slideshow{
	padding: 3em 0px;
    background-color: #fff;
}

#project-slideshow .bx-viewport{
	background: none;
	border: 0px;
	box-shadow: none;
	left: 0px;
}

#project-slideshow h2{
	font-size: 36px;
	margin-bottom: 30px;
}

#project-slideshow .textwidget{
	margin-bottom: 20px;
}

.project-preview .project-image{
	float: left;
	width: 55%;
	text-align: right;
}

.project-preview .project-image img{
	float: right;
}

.project-preview .project-text{
	padding-top: 60px;
	float: right;
	width: 45%;
}

.project-preview h3{
	color: #3a3a3c;
	margin-bottom: 13px;
}

.project-preview .project-permalink{
	color: #fff;
	background-color: #88b540;
	display: inline-block;
	padding: .4em 1em .5em;
	text-decoration: none;
	border-radius: 2px;
	text-align: center;
}

.project-preview .project-permalink:hover{
	background-color: #a6c870;
}

.project-preview .project-tags a{
	font-weight: 700;
	font-size: 12px;
	text-decoration: none;
	color: #3a3a3c;
}

.project-preview .project-tags a:hover{
	color: #88b540;
}

.project-preview .project-tags{
	margin-bottom: 13px;
}

ul.project-tag-list{
    display: inline;
    padding: 0px;
}

/*   Blog   */

.post-preview{
    margin-bottom: 2em;
    border-bottom: 2px solid #88b540;
}

.post-meta{
    font-size: .9em;
    color: #aaa;
    padding:.5em 0px;
    margin:.5em 0px;
    border-top:1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.post-meta ul.post-categories{
    display: inline;
    padding: 0px;
}

.post-meta ul.post-categories li{
    display: inline;
    padding: 0px;
}

.post-meta ul.post-categories li:before{
    content: none;
}

.post-meta ul.post-categories li + li:before{
    content:", ";
}

.post-preview .post-permalink{
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    float: right;
    padding: .75em 1em;
    text-decoration: none;
    color: #fff;
    background: #88b540;
}

.social-share-buttons{
    padding:.5em 0px;
    margin:.5em 0px;
}

.social-share-buttons a{
    color: #fff;
    font-weight: bold;
    display: block;
    float: left;
    height: 40px;
    width: 50px;
    border-radius: 5px;
    margin:2px;
    text-decoration: none;
    background-image: url(images/icons.png);
}

.facebook-button{
    background-color:#3b5998;
    background-position: 5px -200px;
}

.twitter-button{
    background-color:#29a8e0;
    background-position: 5px 5px;
}

.gplus-button{
    background:#cc3732;
    background-position: 5px -500px;
}

.linkedin-button{
    background-color:#027bb6;
    background-position: 5px -400px;
}

.youtube-button{
    background-color:#cd342c;
}

/*   Main Content   */


ul{
    padding: 5px 0px 10px 5px;
}

li{
    padding:0px 0px .5em 0px;
}

ol{
    padding:5px 0px 10px 25px;
}

ul li:before{
    content:"▸ ";
    color: #999;
}

/*   Sidebar   */

#right-column h3{
    padding: 9px 0px 11px 5px;
    border-top: 1px solid #88b540;
    border-bottom: 1px solid #88b540;
    margin-bottom: 11px;
}

#right-column li{
    padding: 3px 0px 5px 5px;
}

#right-column a{
    color: #4e5962;
    text-decoration: none;
}

#right-column a:hover{
    color: #88b540;
}

#sidebar .widget{
    margin-bottom: 30px;
}

#sidebar li:before{
    content:"";
}

/*   Testimonial Sidebar   */

#testimonial-sidebar .testimonial-text{
    font-weight: 300;
    font-style: italic;
    line-height: 22px;
    margin-bottom: 5px;
}

#testimonial-sidebar .testimonial-text:after,
#testimonial-sidebar .testimonial-text:before{
    content:'"';
}

#testimonial-sidebar .testimonial-name{
    font-weight: 600;
}

.single-sidebar-testimonial{
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #efefef; 
}

/*   Blockquote   */

blockquote{
    margin:1em;
    padding:1em 0px;
    font-style: italic;
    font-family: Century Gothic,CenturyGothic,AppleGothic, 'montserrat', sans-serif;
    font-size: 14px;
    position: relative;
}

blockquote:before{
	background-color: #88b540;
    color: #fff;
    content:" “";
    display: block;
    font-size: 72px;
    font-weight: bold;
    height: 72px;
    width: 72px;
    line-height: 1.25em;
    font-family: times-new-roman;
    border-radius: 50%;
    float: left;
    margin: 0px 20px 10px 0px;
    text-align: center;
    font-style: normal;}



/* footer */

#footer{
    color: #999;
    background: #3a3a3c;
    border-top: 1px solid #aaa;
    border-top: 1px solid rgba(255, 255, 255, .5);
}

#footer a{
    color: #aaa;
    text-decoration: none;
}

#footer a:hover{
    color:#fff;
}

#footer-inner{
    padding:1em;
}

#footer h4{
    color: #fff;
    margin-bottom: .5em;
    padding-bottom: .5em;
    border-bottom: 1px solid #88b540;
}

#footer .column{
    float: left;
    width: 22%;
    padding-right:3%;
}

#copyright{
    background:#313131;
    border-top: 1px solid #8b8b92;
    padding: 25px 0px;
    text-align:center;
    font-size: .85em;
}

#footer li:before{
    content:"";
}

#footer li{
    padding: .2em 0px .3em;
}

/*   Pagination   */

ul.page-numbers{
    text-align: center;
}

ul.page-numbers li{
    display: inline;
}

ul.page-numbers li:before{
    content:none;
}


/*	Responsive Video	*/

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*	Forms	*/

.gform_wrapper ul li:before{
	content: "";
}

.gform_wrapper ul{
	padding: 0px;
}

.gform_wrapper ul li{
	padding: 0px;
	margin-bottom: 10px;
}

#quick-contact-form .gform_wrapper .gform_body ul li.gform_validation_container,
.gform_validation_container{
	display: none;
}


.gform_body select,
.gform_body input,
.gform_body textarea{
	width: 90%;
	padding: 12px 5%;
	background: #f5f4ef;
	box-shadow: inset 0px 0px 1px 0px rgba(0,0,0,0.25);
	border:1px solid #bbb;
	border-left: 3px solid #88b540;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
}

.gform_body input[type="checkbox"]{
    width: auto;
}

.gform_body label{
    font-weight: 600;
    margin: 1em 0px .3em;
    display: block;
    font-size: 14px;
}

.gform_body .gfield_checkbox label{
    display: inline-block;
    font-weight: normal;
    margin: 0px;
    font-size: 13px;
}

.gfield_description{
    margin-bottom: .5em;
    display: inline-block;
}

#right-column .gform_wrapper li{
    padding: 0px;
}

.gform_body .gfield_radio label{
	display: inline-block;
	font-weight: normal;
	margin: 5px 2px;
}

.gform_body input[type="radio"]{
	width: auto;
	margin: 5px 2px;
}

/*  Light Box    */

#lightbox-overlay{
    background-color: rgba(0,0,0,.75);
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 100;
    overflow: scroll;
}

div.lightbox-inner{
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 20;
}

#lightbox-overlay .lightbox-form-wrapper{
	background:#fff;
    max-width: 480px;
    margin:200px auto 100px;
    padding: 0px;
    position: relative;
    z-index: 30;
}

#lightbox-overlay .lightbox-form-wrapper .gform_heading{
	background:#88b540;
	padding: 25px 30px 30px 30px;
	text-align: center;
}

#lightbox-overlay .lightbox-form-wrapper .gform_heading h3{
	color: #fff;
	font-weight: 700;
}

#lightbox-overlay .lightbox-form-wrapper .gform_body{
	padding: 30px;
}

a.close-lightbox{
    position: absolute;
    top: 2px;
    right: 5px;
    color: #fff;
    display: block;
    height: 15px;
    width: 15px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1em;
    font-size: 20px;
}

#lightbox-overlay .gform_wrapper .gform_description{
    color: #fff;
}

.lightbox-form-wrapper .gform_button{
	font-size: 18px;
	color: #fff;
	background-color: #88b540;
	display: block;
	padding: 15px 0px;
	text-decoration: none;
	width: 100%;
	margin: 0px;
	text-align: center;
	border:0px;
}


.lightbox-form-wrapper .gform_button:hover{
	cursor: pointer;
	background-color: #a6c870;
}

.gform_confirmation_wrapper{
    border: 1px solid #88b540;
    background-color: #cfe1b3;
    padding: 1em;
}

/*  Quick contact form    */

.user-active #quick-contact-form{
    background-image: url(images/bg/quick-contact.jpg);
}

#quick-contact-form{
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: auto 80%;
    background-position: center bottom;
}

.qc-title{
    background-color: #88b540;
    background-color: rgba(136, 181, 64, .80);
}

.qc-title h3{
    color: #fff;
    font-size: 36px;
    padding:22px 0px 25px;
    margin-bottom: 0px;
}

.qc-body{
    background-color: #3a3a3c;
    background-color: rgba(0, 0, 0, .75);
    padding: 27px 0px;
}

#quick-contact-form .gform_wrapper .gform_body{
    width: 80%;
    display: inline-block;
}

#quick-contact-form .gform_wrapper .gform_body ul li{
    display: inline-block;
    width: 23%;
    padding: 10px 1%;
}

#quick-contact-form .gform_wrapper .gform_footer{
    display: inline-block;
    width: 19%;
}

.gform_button{
    font-size: 14px;
    color: #fff;
    background-color: #88b540;
    display: inline-block;
    text-decoration: none;
    width: 100%;
    margin: 0px;
    text-align: center;
    border:0px;
    padding: 10px 0px;
}

.gform_button:hover{
    cursor: pointer;
    background-color: #a6c870;
}

/*	Contact Page	*/

.template-contact #main-content p{
	display: inline-block;
	width: 25%;
	vertical-align: top;
	height: 150px;
}

.template-contact #main-content .gform_wrapper h3:before{
	background-image:url('images/icons.png');
	background-position: 6px -696px;
	background-color: #88b540;
	display: inline-block;
	margin-right: 10px;
	height: 30px;
	width: 40px;
	content:"";
	vertical-align: middle;
}

/*  Accordion Form    */

.accordion-body{
    display: none;
    padding-left: 10px;
    border-left: 3px solid #eee;
}

.accordion-title{
    background-image: url('images/bg/accordion-button.png');
    background-repeat: no-repeat;
    background-position: left center;
    display: block;
    color: #fff;
    font-weight: bold;
    background-color: #88b540;
    padding: .5em 0px .6em 55px;
    border-radius: 2px;
    margin: 5px 0px;
}

.accordion-title:hover{
    cursor: pointer;
    background-color: #a6c870;
}

/*	Map	*/

#google-map{
	vertical-align: bottom;
	height: 400px;
    pointer-events:none;
}

/*	Benefit list	*/

ul.benefit-list li:before{
	background-image: url('images/bg/tick-white.png');
	background-position: center;
	background-repeat: no-repeat;
	content:"";
	vertical-align: middle;
	background-color: #88b540;
	display: inline-block;
	height: 30px;
	width: 30px;
	margin-right: 10px;
}

ul.benefit-list li{
	font-size: 18px;
	margin-bottom: .3em;
}

/*   Floating CTA   */


#floating-cta{
    position: fixed;
    padding: 5px;
    bottom: 0px;
    left: 0px;
}

#floating-cta a{
    font-weight: 700;
    font-size: 16px;
    background-color: #F18200;
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    padding: 0.4em 1em 0.5em;
    text-align: center;
    text-decoration: none;
    margin: 3px;
    border:1px solid #fff;
    text-shadow:0px 0px 2px rgba(0,0,0,.75);
}

#floating-cta a.call-now{
    display: none;
}

#floating-cta a:hover{
    background-color: #FFA02F;
}

/*   Service Menu   */

#service-menu{
    padding: 4em 0px;
    background-color: #3a3a3c;
    background-size: cover;
}

.user-active #service-menu{
    background-image: url(images/bg/services.jpg);
}

#service-menu a{
    color: #fff;
}

#service-menu h2{
    font-size: 36px;
    margin-bottom: 30px;
    color: #fff;
}

#service-menu h3{
    color: #fff;
}

#service-menu .single-service{
    float: left;
    width: 30%;
    padding: 15px 1.5%;
    text-align: center;
}

#service-menu .service-icon{
    background-color: #88b540;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
    margin: 15px auto 30px;
    display: block;
    height: 130px;
    width: 130px;
    padding: 20px;
    border-radius: 50%;
}

#service-menu .single-service:hover .service-icon{
    margin:0px auto 45px;
}
/*  FAQs  */

ul#faq-index{
    padding-left: 0px;
}

ul#faq-index li{
  padding-left: 20px;
  position: relative;}

ul#faq-index li::before{
  content: " ";
  font-family: 'FontAwesome';
  position: absolute;
  left: 0px;
  top: .2em;
  color: #88b540;
}

#faq-archive .single-faq{
  padding-bottom: 1em;
}

#faq-archive .single-faq + .single-faq{
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #efefef;
}

#faq-archive .faq-question{
  font-weight: 600;
  padding-left: 20px;
  position: relative;
  font-size: 1.2em;
  margin-bottom: 20px;
}

#faq-archive .faq-question:before{
  content: " ";
  font-family: 'FontAwesome';
  position: absolute;
  left: 0px;
  top: .2em;
  color: #88b540;
}

#faq-archive .faq-answer{
  padding-left: 20px;
}

/* Media Queries */

/* For displays 1440px or more */
@media only screen and (min-width: 1440px){

}

/* For displays up to 1439px */
@media only screen and (max-width: 1439px){

}

/* For displays up to 1023px */
@media only screen and (max-width: 1023px){
	.project-preview .project-text{
		padding-top: 20px;
	}
}

/* For displays up to 767px */
@media only screen and (max-width: 767px){
	.project-preview .project-image{
		float: left;
		text-align: center;
		width: 100%;
	}

	.project-preview .project-image img{
		max-width: 400px;
		display: inline-block;
		float: none;
	}

	.project-preview .project-text{
		width: 80%;
		padding: 0px 10%;
		float: none;
	}

	#banner-content{
		padding: 60px 0px;
	}

	#banner h1{
		font-size: 36px;
	}

	.banner-benefit{
		width: 40%;
		text-align: left;
		margin-bottom: 15px;
	}

	.headline{
		font-size: 24px;
		margin-bottom: 35px;
	}

	.main-cta{
		margin-top: 35px;
	}

	#testimonial-slideshow{
		padding: 50px 0px;
	}

	.testimonial-title{
		font-size: 16px;
	}

	#lightbox-overlay .lightbox-form-wrapper{
		margin-top: 100px;
	}

    #quick-contact-form .gform_wrapper .gform_footer,
    #quick-contact-form .gform_wrapper .gform_body{
        width: 100%;
    }

    #service-menu .service-icon{
        width: 80px;
        height: 80px;
    }

    .template-contact #main-content p{
    	width: 40%;
    }

	#google-map{
		height: 300px;
	}

    #footer .column{
        width: 47%;
        padding-bottom: 1em;
    }

    #footer .column.column-3{
        clear: both;
    }
}

/* For displays up to 541px */
@media only screen and (max-width: 541px){
	.project-preview .project-image img{
		max-width: 80%;
	}

	#banner h1{
		font-size: 24px;
		background-size: 80%;
	}

	.headline{
		font-size: 18px;
	}

	.banner-benefit{
		padding: 0px 0px 0px 15%;
		width: 85%;
		font-size: 18px;
		background-position: 5% 50%;
	}

	.testimonial-slide{
		padding: 15px 0px 0px 45px;
	}

	#testimonial-slideshow blockquote{
		padding: 0px;
	}

	.testimonial-slide::before{
		height: 36px;
		width: 36px;
		font-size: 36px;
	}

    #quick-contact-form .gform_wrapper .gform_body ul li{
        width: 48%;
    }

    #floating-cta a{
        font-size: 12px;
    }


	#google-map{
		height: 200px;
	}
}


/* For displays up to 450px */
@media only screen and (max-width: 450px){

    #service-menu .single-service{
        width: 96%;
    }

    .template-contact #main-content p{
    	width: 100%;
    	height: auto;
    }

    #footer .column{
        width: 97%;
    }


#floating-cta a.call-now{
    display: inline-block;
}
    
}

/* For displays up to 360px */
@media only screen and (max-width: 360px){
	#project-slideshow .bx-wrapper .bx-controls-direction a{
		display: none;
	}
	
}