/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

/* GLOBAL */

body {
	overflow-x: visible;
	}

a:link, 
a:visited,
a:hover, 
a:active {
    outline:none !important;
    border:0 !important;
}

a:focus, select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="submit"]:focus, input[type="checkbox"]:focus {
    outline: none !important;
    outline-offset: 0 !important;
	}
	
a.brochure, 
a.brochure:link,
a.brochure:visited {
	background-color: #153540;
	font-family: Helvetica !important;
	font-weight: 700;
	font-size: 22px;
	font-size: 1.4rem;
	transition: all 0.5s ease;
	padding: 0.563em 1.125em;
}
a.brochure:hover,
a.brochure:focus {
	background-color: #E38C3D;
	transition: all 0.5s ease;
}
a.brochure.green:hover,
a.brochure.green:focus {
	background-color: #008272;
	transition: all 0.5s ease;
}
a.brochure.turq:hover,
a.brochure.turq:focus {
	background-color: #008599;
	transition: all 0.5s ease;
}

a.brochure.purple:hover,
a.brochure.purple:focus {
	background-color: #5F6288;
	transition: all 0.5s ease;
}
	
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: Helvetica !important;
    margin-bottom: 0em;
    margin-top: 0em;
	}

.page-template-template-testimonials .entry-content {
	margin-top: 0;	
}
	
/* HEADER */

.topbar-border {
	border-top: 5px solid #00A3DB;
	border-bottom: 3px solid #153540;
	}	
	
.phone-box {
		position: relative;
		height: 43px;
		width: 30%;
		background-color: #153540;
		border-bottom-right-radius: 5px;
	}	
	
.phone-box::before {
	position: absolute;
	left: -43px;
	content:"";
	width: 0; 
	height: 0; 
	border-left: 43px solid transparent;
	border-right: 43px solid transparent;	
	border-top: 43px solid #153540;
	border-bottom-right-radius: 5px;
	}

.phone-box-inner {
		height: 43px;
		padding: 4px;
		}

.phone-box-inner::before {
	position: absolute;
	content: "";
	background: url(images/phone.png) no-repeat;
	width: 26px;
	height: 26px;
	margin-top: 3px;
	}

span.call-free {
	margin-left: 40px;
	font-weight: 700;
	color: #00a3db;
	}

span.phone-no { 
	vertical-align: middle;
	margin-left: 10px;
	font-size: 1.4rem;
	font-weight: 700;
	color: #ffffff;
}
	
.x-logobar {
	border-bottom: 0;
	text-align: left;
	}
.x-navbar-inner {
		background-color: #00A3DB;
		}

.logo-section {
	position: relative;
	}
	
.cpa-logo {
	position: absolute;
	width: 100px;
	height: 100px;
	left: 43%;
	bottom: -10px;
}

.improv-logo {
	position: absolute;
	width: 136px;
	height: 63px;
	left: 55%;
	bottom: -10px;
} 

.cpa-logo span, .improv-logo span {
	font-size: 10px;
	display: block;
	text-align: center;
}
		
.top-email { 
	position: absolute;
	bottom: 0;
	right: 0;
	float:right;
	margin-right: 50px;
	text-align: center;
	}
	
.top-email a{ 
	color: #00a3db;
	font-size: 1.2rem;
	}	

.x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
    box-shadow: 0 4px 0 0 #ffffff inset !important;
}

.x-navbar-fixed-top-active .x-navbar-wrap {
	margin-bottom: 0 !important;
}

.x-navbar {
	border-bottom: none;
}
	
/* HEADER - Tablets  */

@media (max-width: 1030px) {
.phone-box { width: 50%;}
span.phone-no { font-size: 1rem;}
.top-email { margin-right: 10px;}
.x-brand img { max-width: 250px; }
.x-btn-navbar { margin: 10px 0 !important; }
.cpa-logo { height: 60px; width: 60px; left: 40%; bottom: 0px; }
.improv-logo { height: 45px; width: 97px; left: 48%; bottom: 0px; }
}

@media (max-width: 768px) {
.improv-logo { left: 50%; }

.x-logobar {text-align: center; padding-bottom: 60px; }
.phone-box { width: 85%;}
.phone-text { margin-top: 4px; }
span.phone-no { font-size: 1rem;}
.top-email { top: 55px; margin-right: 52px; }
.phone-text { margin-left: 20px; }
.phone-box-inner::before { width: 0; height: 0; }
span.call-free { margin-left: 0; }
.cpa-logo { left: 33%; bottom: -84px; }
.improv-logo { left: 54%; bottom: -84px; }
.cpa-logo span, .improv-logo span { display: none; }

}	

/* HEADER */ 


/* HEADER - Mobile  */
@media (max-width: 480px) {
.x-logobar {text-align: center; padding-bottom: 60px; }
.phone-box { width: 85%;}
.phone-text { margin-top: 4px; }
span.phone-no { font-size: 1rem;}
.top-email { top: 55px; margin-right: 52px; }
.phone-text { margin-left: 20px; }
.phone-box-inner::before { width: 0; height: 0; }
span.call-free { margin-left: 0; }
.cpa-logo { left: 33%; bottom: -84px; }
.improv-logo { left: 54%; bottom: -84px; }
.cpa-logo span, .improv-logo span { display: none; }
}	


/* SLIDER */

.slider-text {
	font-size: 2rem;
	letter-spacing: 0.04rem;
	}
	
.slider-text p {
	margin: 0 0 1em;
}	

#x-section-4 rs-module-wrap {
	max-width: 100% !important; 
	overflow: hidden !important; 
}

#x-section-4 rs-carousel-wrap {
	left: 0 !important;
}
	
/* HOMEPAGE */
	
.x-feature-box-text a {
	line-height: 3;
	text-decoration: underline;
	font-weight: 700;
	}

.special-container {
	/*max-height: 85px;*/
	}
	
.offers-text {
	font-size: 2rem; 
	line-height: 85px;
}

span.special-offers {
	color: #ffffff;
	font-weight: 700;
	}

.about-us h4 {
	border-bottom: 1px dotted #555559;
    border-top: 1px dotted #555559;
    color: #00a3db;
    padding: 10px 0;
    width: 30%;
	margin-top: 1em;
	}

.about-us-text  {
	font-size: 16px;
	}

.case-studies-text {
	color: #FFFFFF;
	font-size: 1.4rem;
	line-height: 85px;
	}

.gallery-text {
	text-transform: uppercase;
	color: #153540;
	font-size: 1.4rem;
	font-weight: 700;
	}

.gallery-text  img.gallery-icon {
	margin: 0 0.3em 0.2em;
	}

.tp-carousel-wrapper {
	border: 5px solid #ffffff;
	}

.tp-thumbs-inner-wrapper .selected {
	border: 5px solid #00A3DB !important;
	}
	
.tp-tab, .tp-thumb {	
	border: 5px solid #ffffff;
	}

	
span.tp-thumb-title {
	display:none !important;
	}

.tparrows::before {
	color: #00a3db;
	}
	
.uranus.tparrows::before {
    font-size: 60px;
	font-weight: 700;
}	
	
.quick-quote-text {
	height: 100px;
	line-height: 100px;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 2.4rem;
	border-bottom: 2px dotted #ffffff;
	}
	
img.quick-quote-icon {
	margin: 0 1em 0.2em;
	}

/* quick quote */	

#quick-quote {
	width: 100%;
}

.wpcf7-checkbox {
	margin-left: 2%;
	}
	
.wpcf7-checkbox .last {
	margin-left: 2%;
	}
	

#quick-quote #left {
	width: 45%;
	float: left;
}
#quick-quote #right {
	width: 45%;
	float: right;
}
#quick-quote p {
	margin-bottom: 0;
	color: #ffffff;
}
#quick-quote input[type="text"]{
	border:none;
	border:1px solid #000;
	border-radius: 0;
	font-size :14px;
	width: 100%;
	height: 2em;
	padding: 5px;
}

#quick-quote input[type="email"]{
	height: 2em;
	border-radius: 0;
	}

.wpcf7 select {
	height: 2em;
	border-radius: 0;
	padding-bottom: 0.25em;
    padding-top: 0.25em;
	}	
	
.uneditable-input {
	height: 2em;
	border-radius: 0;
	}	

#quick-quote #right input[type="text"], #two-column #left input[type="text"]{
	width:100%;
}
#quick-quote textarea {
    position: relative;
	border-radius: 0;
    padding: 5px;
	height: 7em;
    border:1px solid #000;
    width: 100%;
}


#quick-quote input[type="text"]:focus, #quick-quote textarea:focus{
	background: #eee;
}

#quick-quote input[type="submit"] {
	width: 222px;
	height: 48px;
	padding: 8px 18px;
	background: #00a3db;
	color:#fff;
	text-transform: uppercase;
	font-size: 18px;
	border: 0;
	border-radius: 0;
	box-shadow: 0 !important;
	text-shadow: 0;
	}

#submit {
	display: inline-block;
	}
	
.x-btn, .button, [type="submit"] {
	box-shadow: 0 0 0 0 !important;
	text-shadow: 0 0 0 0 !important;
}	

#quick-quote input[type="submit"]:hover{

}

.wpcf7-submit { 
	display: block !important;
    margin: 0 auto !important;
	}

/* social feeds */

.social-facebook {
	border: 2px solid #e6e6e6;
	padding: 0 0 0 5px;
	height:420px;
	overflow:auto;
	margin-bottom:20px;
	}
	
.social-twitter {
	border: 2px solid #e6e6e6;
	}	

.social-facebook .fts-jal-fb-header {
	display:none;
	}

/* HOMEPAGE - Tablets  */

@media (max-width: 1030px) {
/*.special-container { max-height: 65px; }*/
.offers-text { font-size: 1.6rem; line-height: 69px;  }
.about-us h4 { width: 50%; margin: 20px auto; }
.x-column.x-sm { text-align: center; }
.case-studies-text { font-size: 1.8rem; line-height: 25px; padding: 9px 0; }
.x-colophon.bottom .x-colophon-content { margin: 0 0; }
.gallery-text { font-size: 1.6rem; }
#submit { width: 100%; }
} 

/* HOMEPAGE - Mobile  */
@media (max-width: 480px) {
/*.special-container { max-height: 85px; }*/
#quick-quote #left { width:100%; }
#quick-quote #right { width:100%; }
.quick-quote-text { font-size: 2rem;}
.twitter-image { margin-top: 30px; }
.offers-text { font-weight: 700; line-height: 1.7; }
.offers-text p { margin: 0 0 0 0; }
.landb { margin-top: 20px; }
.services-container { margin: 10px auto; }
#quick-quote input[type="submit"] { width: 100%; }
#submit { width: 100%; }
}

	
/* WINDOWS, DOORS & CONSERVATORIES  */	

.services-container {
	position: relative;
	width: 193px;
	height: 193px;
	}

.services-gray {
	position: absolute;
	}
.services-hover {
	position: absolute;

	opacity: 0;
	}
	
.services-hover:hover {
	opacity: 1;
	}

.services-gray:hover {
	opacity: 0;
	}	
	
.services-text h2 {
	font-size: 1.4rem;
	margin: 20px 0;	
	}
	
.services-text, .services-text-2 p {
	font-size: 1.2rem;
	margin-bottom: 10px;
	}	
	
.services-text-2 p:last-child {	
	padding-bottom: 10px;
	border-bottom: 1px solid #555559;
	}
	

.services-text-2 h3 {
	font-size: 1.2rem;
	margin-bottom: 10px;
	padding-top: 20px;
	line-height: 1.4rem;
	border-top: 1px solid #555559;
	}

.services-text-2 li {	
	font-size: 1rem;	
	}

.service-benefits {
	background-color: #153540;
	padding: 15px 20px;	
	}

.service-benefits h3 {
	color: #ffffff;
	font-size: 1.6rem;
	padding-right: 80px;
	margin-bottom: 20px;
	}	
	
.service-benefits li {
	color: #ffffff;
	font-size: 1.2rem;
	padding: 2px 0 0 43px; 
	min-height: 35px;
	margin-bottom: 10px;
	} 
	
.service-benefits ul {
	list-style: none;
	margin: 0 0 0 0;
	}
	
.services-quote {
	margin-top: 20px;
	color: #ffffff;
	padding: 30px;
	line-height: 2.2rem;
	}

.services-quote p {
	margin: 0 0 0 0;
	}

span.quote-smaller {
	font-size: 1.8rem;
	}

span.quote-larger {
	font-size: 3rem;
	}	

/* Windows  */	

.page-id-20 .topbar-border {
	border-top: 5px solid #008599;				
	}
	
.page-id-20 .phone-box-inner::before {
	background: url(images/phone-windows.png) no-repeat;
	}	
	
.page-id-20 span.call-free { 
	color: #008599;
	}

.page-id-20 .top-email a { 
	color: #008599;
	}

.page-id-20 .x-navbar-inner {
	background-color: #008599;
	}

.page-id-20 .services-text h2 {
	color: #008599;
	}

.page-id-20 .services-text-2 h3 {
	color: #008599;
	}	

.page-id-20 .service-benefits li {	
background:url("images/windows-bullet.png") no-repeat;
}

.page-id-20 .services-quote {
	background-color: #008599;
	}
	
.page-id-20 .tparrows::before {	
	color: #008599;
	}
.page-id-20 .tp-thumbs-inner-wrapper .selected {
    border: 5px solid #008599 !important;
	}
	
.page-id-20 #quick-quote input[type="submit"] {	
	background: #008599 none repeat scroll 0 0;
	}
	
.page-id-20 footer.x-colophon {
	background-color: #008599;
	}
	
/* Doors  */

.page-id-22 .topbar-border {
	border-top: 5px solid #e38c3d;				
	}
	
.page-id-22 .phone-box-inner::before {
	background: url(images/phone-doors.png) no-repeat;
	}	
	
.page-id-22 span.call-free { 
	color: #e38c3d;
	}

.page-id-22 .top-email a { 
	color: #e38c3d;
	}

.page-id-22 .x-navbar-inner {
	background-color: #e38c3d;
	}

.page-id-22 .services-text h2 {
	color: #e38c3d;
	}

.page-id-22 .services-text-2 h3 {
	color: #e38c3d;
	}	

.page-id-22 .service-benefits li {	
background:url("images/doors-bullet.png") no-repeat;
}

.page-id-22 .services-quote {
	background-color: #e38c3d;
	}
	
.page-id-22 .tparrows::before {	
	color: #e38c3d;
	}
.page-id-22 .tp-thumbs-inner-wrapper .selected {
    border: 5px solid #e38c3d !important;
	}
	
.page-id-22 #quick-quote input[type="submit"] {	
	background: #e38c3d none repeat scroll 0 0;
	}
	
.page-id-22 footer.x-colophon {
	background-color: #e38c3d;
	}	
	
/* Conservatories  */	

.page-id-24 .topbar-border {
	border-top: 5px solid #008272;				
	}
	
.page-id-24 .phone-box-inner::before {
	background: url(images/phone-conservatories.png) no-repeat;
	}	
	
.page-id-24 span.call-free { 
	color: #008272;
	}

.page-id-24 .top-email a { 
	color: #008272;
	}

.page-id-24 .x-navbar-inner {
	background-color: #008272;
	}

.page-id-24 .services-text h2 {
	color: #008272;
	}

.page-id-24 .services-text-2 h3 {
	color: #008272;
	}	

.page-id-24 .service-benefits li {	
background:url("images/conservatories-bullet.png") no-repeat;
}

.page-id-24 .services-quote {
	background-color: #008272;
	}
	
.page-id-24 .tparrows::before {	
	color: #008272;
	}
.page-id-24 .tp-thumbs-inner-wrapper .selected {
    border: 5px solid #008272 !important;
	}
	
.page-id-24 #quick-quote input[type="submit"] {	
	background: #008272 none repeat scroll 0 0;
	}
	
.page-id-24 footer.x-colophon {
	background-color: #008272;
	}	
	
/* Roofline  */	

.page-id-26 .topbar-border {
	border-top: 5px solid #5f6288;				
	}
	
.page-id-26 .phone-box-inner::before {
	background: url(images/phone-roofline.png) no-repeat;
	}	
	
.page-id-26 span.call-free { 
	color: #5f6288;
	}

.page-id-26 .top-email a { 
	color: #5f6288;
	}

.page-id-26 .x-navbar-inner {
	background-color: #5f6288;
	}

.page-id-26 .services-text h2 {
	color: #5f6288;
	}

.page-id-26 .services-text-2 h3 {
	color: #5f6288;
	}	

.page-id-26 .service-benefits li {	
background:url("images/roofline-bullet.png") no-repeat;
}

.page-id-26 .services-quote {
	background-color: #5f6288;
	}
	
.page-id-26 .tparrows::before {	
	color: #5f6288;
	}
.page-id-26 .tp-thumbs-inner-wrapper .selected {
    border: 5px solid #5f6288 !important;
	}
	
.page-id-26 #quick-quote input[type="submit"] {	
	background: #5f6288 none repeat scroll 0 0;
	}
	
.page-id-26 footer.x-colophon {
	background-color: #5f6288;
	}	

	
/* SERVICES - Tablets  */

@media (max-width: 1030px) {
.services-container {width: 125px; height: 125px; margin: 0 3px; float: left;  }
.services-container:last-child { margin-right: 0; }
.services-margin { margin-bottom: -30px !important; }
.service-benefits h3 { padding-right: 0; } 
.service-info { margin-top: 70px !important;}
} 

/* SERVICES - Mobile  */
@media (max-width: 480px) {
}	
	
/* TESTIMONIALS */	

.testimonials h2:before {
	content: url(images/testimonials-icon.png);
	width: 38px;
	height: 41px;
	} 

.testimonials h2 {
	font-size: 1.8rem;
	color: #153540;
	font-weight: 100;
	margin-bottom: 5px;
	} 
	
.testimonials p {
	font-size: 1rem;
	font-weight: 700;
	}

.testimonials-container {
	border-top: 2px dotted #9fa9ab;
	padding: 20px 0;
	}

.testimonials-container:last-child {
	border-bottom: 2px dotted #9fa9ab;
	}
	
.testimonial-info {
	font-size: 1rem;
	font-weight: 700;
	}
	
.testimonial-text {
	padding: 20px 0;
	}

	.custom-pagination {
	text-align: center;
	margin-top: 20px;
} 
 
.custom-pagination span,
.custom-pagination a {
  display: inline-block;
  padding: 2px 10px;
}
.custom-pagination a {
  background-color: #ebebeb;
  color: #00A3DB;
} 
.custom-pagination a:hover {
  background-color: #00A3DB;
  color: #fff;
}
.custom-pagination span.page-num {
  margin-right: 10px;
  padding: 0;
}
.custom-pagination span.dots {
  padding: 0;
  color: gainsboro;
}
.custom-pagination span.current {
  background-color: #00A3DB;
  color: #fff;
}

.ngg-albumoverview {
	margin: 0 -25% 0 25% !important;
}	

.ngg-album-compact {
	margin-right: 50px !important;
}

.ngg-album-compact:last-child {
	margin-right: 0 !important;
}

.ngg-album-compact h4 .ngg-album-desc {
	height: auto !important;
}
	
/* CONTACT - Tablets  */
@media (max-width: 1030px) {
.testimonials {padding: 0 0; }
} 

/* CONTACT - Mobile  */
@media (max-width: 480px) {

}		
	
/* CONTACT US */



.contact-us p {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	} 	
	
.contact-us h2 {
	font-size: 1.4rem;
	color: #00a3db;
	font-weight: 100;
	padding: 7px 0 0 40px;
	} 	

.contact-us h3 {
	font-size: 1.2rem;
	color: #00a3db;
	font-weight: 100;
	} 	

.contact-us-icon {
	background:url("images/contact-us-icon.png") no-repeat;
	min-height: 36px;
	margin-bottom: 3px;
}	
	
.contact-us select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {	
	border-radius: 0;
	padding: 0 0;
	}

.contact-us 	span.wpcf7-list-item { 
	display: block; 
	}

.contact-us input[type="submit"] {
	width: 222px;
	height: 48px;
	padding: 8px 18px;
	background: #00a3db;
	color:#fff;
	text-transform: uppercase;
	font-size: 18px;
	border: 0;
	border-radius: 0;
	box-shadow: 0 !important;
	text-shadow: 0;
	}
	
.contact-us .wpcf7-checkbox .last {	
	margin-left: 0;
	}
	
.acf-map {
	width: 100%;
	height: 420px;
	border: #00a3db solid 2px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}	

/* CONTACT - Tablets  */

@media (max-width: 1030px) {

} 

/* CONTACT - Mobile  */
@media (max-width: 480px) {
.contact-us input[type="submit"] { width: 100%; }
}	

/* GALLERY */

.gal-cont {
	position: relative;
	background-color: #fff;
	padding: 15px;
	-webkit-box-shadow: 0px 0px 12px 1px rgba(0,3,51,0.3);
	-moz-box-shadow: 0px 0px 12px 1px rgba(0,3,51,0.3);
	box-shadow: 0px 0px 12px 1px rgba(0,3,51,0.3);
}

.gal-cont:hover {
	-webkit-box-shadow: 0px 0px 12px 1px rgba(0,3,51,0.4);
	-moz-box-shadow: 0px 0px 12px 1px rgba(0,3,51,0.4);
	box-shadow: 0px 0px 12px 1px rgba(0,3,51,0.4);
}	

.gal-img {
	width: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	height: 260px;
}

.gal-text {
	color: #fff;
	font-size: 1.4rem;
	text-align: center;
	background-color: #00A3DB;
}

.gal-h2 {
	color: #00A3DB;
	font-size: 1.6rem;
}

	
/* FOOTER */	

footer.x-colophon { 
	background-color: #00A3DB;
	height: 175px;
	border-top: 0;
	box-shadow: 0 0 0 0;
	}

.x-colophon.bottom {
	text-align: left;
	}
	
.footer-text {
	color: #ffffff;
	font-size: 1rem;
	text-align: left;
	letter-spacing: 0;
	font-weight: 700;
	}
	
.footer-margin {
	margin-top: 12px;
	/*margin-left: 60px;*/
	}
	
.footer-text .right {
	float: none !important;
}
/* FOOTER - Tablets  */

.rs-carousel-wrap {
	left:0px !important;
	background-color:red;
}

@media (max-width: 1030px) {

} 

/* FOOTER - Mobile  */
@media (max-width: 480px) {
.x-colophon.bottom {height: 260px;}
}		

#bannerImageRow { 
	padding-bottom: 4em;
	background-color: #2E343E !important; 
}

#bannerImageRow img { 
	width: 90%; 
	margin-left: 5%;
	margin-top: 1rem;
}

@media (min-width: 480px) {
#bannerImageRow { 
	padding-bottom: 9em;
}
}	

@media (min-width: 768px) {
#bannerImageRow { 
	padding-bottom: 13em;
}
}			

@media (min-width: 960px) {
#bannerImageRow { 
	padding-bottom: 14em;
}
}		

@media (min-width: 1030px) {
#bannerImageRow { 
	padding-bottom: 14em;
}

#bannerImageRow img { 
	width: 950px; 
	margin-left: calc(50% - 475px);
}
}		
