/*
Theme Name: Custom

*/


body{font-family: "Nunito", sans-serif;color:#555;}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-weight:700;color:#0A3472;}
p:empty{margin:0;}
a{color: #0A3472;}
a:hover{color:inherit;}

.top-bar {background: #0A3472;padding:20px 0;}
.top-bar *{color:#fff;}
.top-cta {color: #fff;font-size: 26px;font-weight: 500;display: flex;align-items: center;margin-bottom: 0;cursor:pointer;}
.top-cta i {font-size: 44px;}

.navbar-bg {background: #fff;padding:10px 0;}
#mega-toggle-block-1::before {margin-right: 15px !important;}
.mega-menu-link:hover,.mega-indicator,#mega-toggle-block-1:hover:before,#mega-toggle-block-1:hover span {color: #0393FF !important;}

.hp-slider .slide {
background-repeat: no-repeat;
background-size: cover;
height: 633px;
background-position: center;
padding: 15px;
margin: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
}
.hp-slider .slide-1 {background-image: url(imgs/slide1.jpg);}

.txt22{font-size:22px;}
.txt30{font-size:30px;}
.txtc1{color:#0A3472 !important;}
.txtc2{color:#0393FF !important;}
.txti{font-size:3rem;}
.hp-title{font-size:42px;margin-bottom:0;}
.sub-title {font-size: 28px;color: #0393FF !important;}
.hpbdr{width:46px;height:10px;background:#0393FF;display:inline-block;margin-top:30px;}
.btn,.send{border-radius:5px !important;}
.btn-primary,.send{background-color:#0393FF !important;border-color:#0393FF !important;color:#fff !important;}
.btn-secondary{background-color:#0A3472 !important;border-color:#0A3472 !important;color:#fff !important;}
.btn-white{background-color:#fff !important;border-color:#fff !important;color:#0A3472 !important;}

.hpsec1,.hpsec2,.hpsec3,.hpsec4,.hpsec5,.hpsec8{padding:150px 0;}
.cta-wrap2 {padding: 30px;background:#FAFAFA;margin-bottom: 50px;border-radius:7px;}
.icon-wrap2 i {font-size: 3rem;color: #0A3472;}
.cta-wrap2 h3 {margin: 30px 0;font-size: 26px;}
.cta-wrap2 h3::after {content: "";display: block;height: 5px;width: 47px;background:#0393FF;margin-top: 10px;}

.hpsec2{background:#F8F8F8;}
.hpareas-bg {background: url(imgs/areas-img.jpg) no-repeat center;background-size: cover;padding:100px;}
.hpareas-bg *{color:#fff;}
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?pemwed');
  src:  url('fonts/icomoon.eot?pemwed#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?pemwed') format('truetype'),
    url('fonts/icomoon.woff?pemwed') format('woff'),
    url('fonts/icomoon.svg?pemwed#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-checklist:before {
  content: "\e902";
}
.icon-insurance:before {
  content: "\e900";
}
.icon-phone:before {
  content: "\e901";
}
.icon-cellar:before {
  content: "\e903";
}
.icon-damp:before {
  content: "\e904";
}
.icon-wet-rot:before {
  content: "\e905";
}
.icon-survey:before {
  content: "\e906";
}
.icon-condensation:before {
  content: "\e907";
}
.icon-wood-worm:before {
  content: "\e908";
}
.icon-arrow-right:before {
  content: "\e909";
}
.cta-wrap {padding:45px 30px;margin:50px auto;max-width: 280px;text-align: center;border-radius: 7px;position:relative;overflow:hidden}
.cta-wrap *{color:#fff;}
.cta-wrap::before {content: "";display: block;position: absolute;background: rgba(10, 52, 114, 0.87);top: 0;left: 0;right: 0;bottom: 0;}
.cta-wrap.hpserv2::before {background: rgba(3, 147, 255, 0.91);}
.cta-wrap h3{font-size:26px;margin:50px 0;position:relative;}
.icon-wrap::after {content: " ";height: 5px;background: #fff;position: absolute;top: 50%;right: 0;transform: translatey(-50%);z-index: 1;left:auto;width:66px;}
.icon-wrap {position: relative;text-align: left;}
.icon-wrap i {position: relative;z-index: 2;padding-right: 20px;font-size: 3rem;color: #fff !important;}
.cta-more {font-size: 16px;font-weight: 500;position:relative;}
.cta-more i {font-size: 2rem;color: #0393FF;}
.hpserv2 .cta-more i{color:#fff;}
.hpserv4 .cta-more{padding-top:30px;}
.hpserv1 {background: url(imgs/hpserv1.jpg) no-repeat center;background-size: cover;}
.hpserv2 {background: url(imgs/hpserv2.jpg) no-repeat center;background-size: cover;}
.hpserv3 {background: url(imgs/hpserv3.jpg) no-repeat center;background-size: cover;}
.hpserv4 {background: url(imgs/hpserv4.jpg) no-repeat center;background-size: cover;}
.hpserv5 {background: url(imgs/hpserv5.jpg) no-repeat center;background-size: cover;}

.hp-imgdiv {background: url(imgs/hp-imgdiv.jpg) no-repeat center;background-size: cover;height: 680px;}
.hp-formbg{background:#F8F8F8;padding:50px;}
.hp-formbg *{color:#0A3472;}
.hp-contact-form-holder ::placeholder {
color: #0A3472 !important;
}
.hp-contact-form-holder .wpcf7 input[type="text"],
.hp-contact-form-holder .wpcf7 input[type="email"],
.hp-contact-form-holder .wpcf7 input[type="tel"],
.hp-contact-form-holder .wpcf7 select {
border-top: none;
border-left: none;
border-right: none;
border-bottom: 1px solid #0A3472;
border-radius: 0;
background: #F8F8F8 !important;
padding-left: 0;
color: #0A3472 !important;
margin-bottom: 30px;
}
.hp-contact-form-holder select.servicetype {
color: #0A3472 !important;
background: #F8F8F8 !important;
}
.hp-contact-form-holder .wpcf7-submit {
display: inline-block !important;
max-width: 300px !important;
background: #0393FF !important;
color: #fff !important;
border-color: #0393FF !important;
margin-top: 30px;
}
.hp-contact-form-holder .wpcf7-spinner {display: none;}

.hpsec5{background:url(imgs/hp-imgdiv.jpg) no-repeat center;background-size:cover;position:relative;}
.hpsec5 *{color:#fff;}
.hpsec5::before {content: "";display: block;position: absolute;top: 0;left: 0;right: 0;bottom: 0;background: rgba(10, 52, 114,0.92);}
#sp-testimonial-free-1369 {margin-bottom: 0;}
#sp-testimonial-free-1369 .testimonial-nav-arrow{transform:none !important;}
.hpsec6{padding: 100px 0 180px;}
.hpsec6-bg {background: #fff;padding: 50px 30px;}
.hpsec7-bg1{background:#F8F8F8;padding: 100px;}
.hpsec7-bg1 *{color:#0A3472;}
.hpsec7-bg2{background:#0A3472;padding: 100px;}
.hpsec7-bg2 *{color:#fff;}

.footer {padding: 20px 50px 50px;background: #F8F8F8;}
.footer h4 {margin:30px 0 15px;font-size: 22px;color:#0A3472;}
.footer *{color: #555;}
.footer-bottom {background:#0A3472;padding:20px 0;}
.footer-bottom *{color: #fff;}
.foot-social a {display: inline-block;margin: 0 5px;font-size: 22px;}

.section-white {background: #fff;padding: 50px 0;}
.section-primary {background:#0A3472;padding: 50px 0;}
.section-primary * {color: #fff;}
.section-secondary {background:#0393FF;padding: 50px 0;}
.section-secondary * {color: #fff;}
.section-lightgrey {background: #eee;padding: 50px 0;}

.wrapper {padding: 50px 0;}
.updated {display: none;}
.published.updated {display: inline;}
#recent-posts-2 a,#categories-2 a,#archives-2 a,h2.entry-title a {color: inherit;}
.g-recaptcha {display: inline-block;transform: scale(0.77);-webkit-transform: scale(0.77);transform-origin: 0 0; -webkit-transform-origin: 0 0;}

.banner-overlay{position:relative;}
.banner-overlay *{color:#fff;}
.banner-overlay::before {content: "";display: block;position: absolute;top: 0;left: 0;right: 0;bottom: 0;background: rgba(10, 52, 114, 0.5);}
.inner-bg{background:url(imgs/hp-imgdiv.jpg) no-repeat center;background-size:cover;height:400px;}
.cellar-bg{background:url(imgs/cellar-bg.jpg) no-repeat center;background-size:cover;height:400px;}
.damp-bg{background:url(imgs/damp-bg.jpg) no-repeat center;background-size:cover;height:400px;}
.woodw-bg{background:url(imgs/woodworm-bg.jpg) no-repeat center;background-size:cover;height:400px;}
.dryrot-bg{background:url(imgs/dryrot-bg.jpg) no-repeat center;background-size:cover;height:400px;}
.condensation-bg{background:url(imgs/condensation-bg.jpg) no-repeat center;background-size:cover;height:400px;}
#archive-wrapper,#single-wrapper {border-top: 1px solid #eee;}

/***************************** MEDIA *******************************/
@media screen and (min-width: 992px) {
.imgbdr,.hpareas-bg{border-radius: 7px;}
.hp-formbg {margin-top: -450px;border-radius: 7px;padding:100px;}
.hpsec6-bg {max-width: 850px;position: relative;z-index: 9;right: -100px;padding: 80px;border-radius: 7px;}
.hpsec6 img {margin-top: -180px;height: 550px;}
}

@media screen and (max-width: 991px) {
.hp-title{font-size:32px;}
.hpsec1,.hpsec2,.hpsec3,.hpsec4,.hpsec5,.hpsec6,.hpsec8{text-align: center;padding:100px 0;}
.cta-wrap2 h3::after{margin:10px auto 0;}
.hpareas-bg{padding:50px 0;}
}

@media screen and (max-width: 767px) {
.top-bar,.icon-wrap,.footer,.footer-bottom{text-align: center;}
.top-cta{justify-content: center;}
.mega-toggle-blocks-left, .mega-toggle-blocks-center {display: none !important;}
#mega-toggle-block-1 {margin: auto !important;}
.mpad0 {padding: 0 !important;}
.hpsec1 .mpad0 p,.hpsec1 .mpad0 .hp-title {padding: 0 15px;}
.icon-wrap i{padding-left: 20px;}
.icon-wrap::before {content: " ";height: 5px;background: #fff;position: absolute;top: 50%;left: 0;transform: translatey(-50%);z-index: 1;right:auto;width:50px;}
.icon-wrap::after {width:50px;}
.hpsec4 {padding: 0 0 100px;}
.hpsec4-txt{padding: 100px 15px 0 !important;}
.hpsec4 .col-lg-12{padding: 0 15px;}
.hpsec6 {padding-top:50px;}
.hpsec7-bg1,.hpsec7-bg2{padding:50px;}
}