/********************* XPERTWEB.CO.UK ***********
Custom Settings
************************************************/

/********************* XPERTWEB.CO.UK ***********
Defaults
************************************************/

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    color: #191919;
    background-color: #ffffff;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    font-family: 'Lato', sans-serif;
    font-weight: normal;
    width: 100%;
    height: 100%;
}
a {
    cursor: pointer !important;
    color: #d8e0df !important;
}

a:hover {
    color: #506e5b !important;
}

.mw {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.prim {
    background-color: #506e5b;
}

.alt {
    background-color: #d8e0df;
}

.third {
    background-color: ;
}

.fourth {
    background-color: ;
}

.grey {
    background-color: #f4f4f4
}

.black {
    background-color: #191919
}

.white {
    background-color: #ffffff
}

.tprim {
    color: #506e5b;
}

.talt {
    color: #d8e0df;
}

.tthird {
    color: ;
}

.tfourth {
    color: ;
}

.tgrey {
    color: #f4f4f4
}

.tblack {
    color: #191919
}

.twhite {
    color: #ffffff
}

.br {
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}
.flexcenter {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}
#maincontent video {
	border: 2px solid #000;
object-fit: cover;
}
video[poster]{
height:100%;
width:100%;
	object-fit: cover;
}
/********************* XPERTWEB.CO.UK ***********
Form Features
************************************************/
label {
    width: 100% !important;
}
input[type="text"],input[type="password"],input[type="email"], textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #eee;
    padding: 5px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    width: 100%;
}
select {
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url('https://gahouse.co.uk/wp-content/themes/purpldigitltheme/images/down-arrow.png');
    background-color: #fff;
}

body input[type="submit"] {
    background-color: #506e5b !important;
    font-size: 1em !important;
    border: 0px solid !important;
}
body input[type="submit"]:hover {
    background-color: #d8e0df !important;
    color: #506e5b !important;
}
/********************* XPERTWEB.CO.UK ***********
Skew / Rotate
************************************************/
.skew {
    -webkit-backface-visibility : hidden;
    transform: skew(0deg, -4deg) ;
    -webkit-transform: skew(0deg, -4deg) ;
    -moz-transform: skew(0deg, -4deg) ;
    -o-transform: skew(0deg, -4deg) ;
    -ms-transform: skew(0deg, -4deg) ;
}
.unskew {
    transform: skew(0deg, 4deg) ;
    -webkit-transform: skew(0deg, 4deg) ;
    -moz-transform: skew(0deg, 4deg) ;
    -o-transform: skew(0deg, 4deg) ;
    -ms-transform: skew(0deg, 4deg) ;
}
.topskew {
    padding-top: 400px;
    margin-top: -400px;
}
/********************* XPERTWEB.CO.UK ***********
Main Menu
************************************************/

ul {
    display: block;
    list-style-type: none;
    -webkit-margin-before: 0em !important;
    -webkit-margin-after: 0em !important;
    -webkit-margin-start: 0px !important;
    -webkit-margin-end: 0px !important;
    -webkit-padding-start: 0px !important;
}
.mainmenu {
    font-size: 1.2em;
    text-align: left;
    -webkit-padding-start: 0px !important;
    margin-bottom: 0 !important;
    border-bottom: 0px solid #d8e0df;
    display: inline-block;
    float:right;
    
}

.mainmenu a {
    color: #506e5b !important;
}

.mainmenu a:hover {
    color: #d8e0df !important;
}

.current-menu-item a {
    color: #d8e0df !important;
}

.mainmenu li {
    display: inline-block;
    list-style: none;
    list-style-type: none;
    font-weight: 700;
    cursor: pointer;
}
.mainmenu li a {
    display: block;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin-top: 23px;
}
.mainmenu li:first-of-type {
    padding-left: 0px !important;
}
.mainmenu li:last-of-type {
    padding-right: 0px !important;
}
/**** Hover Sub Menu ****/

.sub-menu li {
    display: none;
}

#menuarea ul ul {
    top: 60px;
}

.mainmenu li:hover .sub-menu {
    z-index: 99;
    position: absolute;
    margin-left: -50px;
    text-align: left;
    margin-top: 8px;
    background-color: #d8e0df;
    color: #fff;
}


.sub-menu li,.sub-menu li:first-of-type {
    
}

.sub-menu li a {
    color: #fff;
    padding: 10px;
}

.mainmenu li:hover .sub-menu li {
    display: block;
    color: #fff;
    width: 225px;
}

.mainmenu li:hover .sub-menu li a {
    display: block;
    color: #fff;
    padding: 10px 10px 10px 10px !important;
    
}

.mainmenu li:hover .sub-menu li a:hover {
    color: #d8e0df;
    background-color: #506e5b;
}

.mainmenu li:hover > a {
    color: #506e5b;
}



.bulls ul li {
    background-repeat: no-repeat;
    background-image: url('https://gahouse.co.uk/wp-content/themes/purpldigitltheme/images/bullettick.png');
    background-size: 20px;
    background-position: left top;
    line-height: 40px;
    padding-left: 40px;
    padding-top: 0px;
    padding-bottom: 15px;
    font-size: 1.2em;
}

.circle {
    display: block;
    width: 70px !important;
    height: 70px;
    border: 5px solid #506e5b;
    -webkit-border-radius: 35px !important;
    -moz-border-radius: 35px !important;
    border-radius: 35px !important;
    margin-bottom: 15px;
}
.circle .fa {
    font-size: 1em;
    line-height: 55px;
    color: #ad3636;
}
@media screen and (max-width:730px) {  
    
    #mainmenu {
        display: none;
    }

}
/**** Hover Sub Menu End ****/


/********************* XPERTWEB.CO.UK ***********
Header
************************************************/


/********************* XPERTWEB.CO.UK ***********
Menu
************************************************/

/********************* XPERTWEB.CO.UK ***********
CTA
************************************************/
#ctabanner {
    text-align: center;
    font-size: 2em;
    color: #fff;
}
.ctabutton {
    display: inline-block;
    color: #fff !important;
    background-color: ;
    font-size: 0.5em;
    padding: 15px;
    -webkit-border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    border-radius: 10px !important;
}
.ctabutton:hover {
    color: #fff !important;
    background-color: #506e5b;
}



#maincontent p {
    font-size: 1.2em;
}
#maincontent .alignafter h1:after {
    content: "";
    background-color: #506e5b !important;
    width: 50px;
    height: 4px;
    display: block;
    margin: 15px auto 35px auto;
}

#maincontent h1 {
    font-weight: 700;
    font-size: 2em;
}
#maincontent h1:after {
    content: "";
    background-color: #506e5b !important;
    width: 50px;
    height: 4px;
    display: block;
    margin: 15px auto 15px 0;
}
.phoneright {
    float: right;
    background-color: #ad3636;
    padding: 10px 20px 10px 20px;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.5em;
}



.ctabar {
    background-color: #ad3636;
    color: #fff !important;
    font-weight: 700;
    font-size: 2em;
}



#headerbar .col-xs-12 {
    padding-right: 0px !important;
}

#maincontent ul li {
    line-height: 25px;
}
.footerlogos {
    max-width: 100%;
}
.redback {
    background-color: #cc422f;
    padding: 20px;
    color: #fff;
}
.keywordtop div {
    width: 23%;
    padding: 2%;
    color: #506e5b !important;
    display: inline-block;
    font-weight: bold;
    font-size: 1.5em;
}
.keywordtop div img {
    width: 80%;
    max-width: 150px;
    margin-bottom: 20px;
}


.getintouch {
    background-color: #ad3636;
    color: #fff;
    padding: 15px;
    -webkit-border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    border-radius: 10px !important;
}

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



}


@media screen and (max-width:800px) {  
    #maincontent .col-xs-6 {
        
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }
    
    
}

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

.keywordtop div {
    width: 46%;
    padding: 2%;
    font-size: 1.1em;
}

}

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

.keywordtop div {
    width: 100%;
    padding: 0%;
}

}

.toptext {
    text-transform: uppercase;
    font-size: 1.7em;
    font-weight: bold;
}
/********************* XPERTWEB.CO.UK ***********
Slightly
************************************************/
.metaslider .caption-wrap {
    position: absolute;
    bottom: 0;
    left: 0 !important;
    right: 0 !important;
    background: #506e5b!important;
    color: white;
    opacity: 1!important;
    display: block;
    line-height: 1.4em;
    width:420px !important;
    margin: 0 auto !important;
    text-align: center;
    padding: 15px 30px 15px 30px!important;
    -webkit-border-radius: 10px 10px 0 0 !important;
    -moz-border-radius: 10px 10px 0 0 !important;
    border-radius: 10px 10px 0 0 !important;
    font-size: 1.3em;
    font-weight: bold;
}

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

    
.metaslider .caption-wrap {
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center;
    padding: 0px!important;
    -webkit-border-radius:  0 !important;
    -moz-border-radius:  0 !important;
    border-radius:  0 !important;
    font-size: 1.2em;

}

}


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

    
body .metaslider .coin-slider, body .metaslider .nivoSlider, body .metaslider .nivoSlider img, body .metaslider .rslides, body .metaslider .rslides li, body .metaslider .flexslider ul.slides, body .metaslider .flexslider .slides li, body .metaslider .flexslider .slides ul, body .metaslider .flexslider .slides ol, body .metaslider .flexslider .slides img, body .metaslider .flexslider .flex-direction-nav, body .metaslider .flexslider .flex-direction-nav li {
    min-height: 150px !important;
}

}

/********************* XPERTWEB.CO.UK ***********
Stamp Duty Area
************************************************/
.stampimage {
    background-repeat: no-repeat;
    background-image: url('/wp-content/uploads/2018/11/calc-1.jpg');
    background-size: cover;
    background-position: center bottom;
}

.buttonstyle {
    display: block;
    padding: 5px 12px 5px 12px;
    color: #fff;
    background: rgb(80, 110, 91);
    background: linear-gradient(90deg, rgba(80, 110, 91, 1) 0%, rgba(123, 140, 128, 1) 100%);
    width: 210px;
    margin: 0 auto;
    font-size: 0.9em;
    font-weight: 700;
}

.buttonstyle:hover {
    color: #fff !important;
    background: linear-gradient(90deg, rgba(123, 140, 128, 1) 0%, rgba(123, 140, 128, 1) 100%);
}

.buttonstyle2 {
    display: block;
    padding: 5px 12px 5px 12px;
    color: #fff;
    background: rgb(80, 110, 91);
    background: linear-gradient(90deg, rgba(80, 110, 91, 1) 0%, rgba(123, 140, 128, 1) 100%);
    width: 125px;
    margin: 20px auto 0 0;
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
}

.buttonstyle2:hover {
    color: #fff !important;
    background: linear-gradient(90deg, rgba(123, 140, 128, 1) 0%, rgba(123, 140, 128, 1) 100%);
}


#header {
    border-bottom: 7px solid #506e5b !important;
}


@media screen and (max-width:700px) {  
#stampcalc .col-xs-6 {
    width: 100%;
}
.mh130 {
        min-height: 200px;
}
}




h4.background {
    z-index: 1;
    text-align: center;
    margin: 0 auto; 
    position: absolute; 
    top: -7%; left: 0; right: 0; bottom: 0;
    width: 95%;
    font-weight: 700;
    font-size: 2em;
}
h4.background:before {
        border-top: 2px solid #dfdfdf;
        content:"";

        z-index: -1;
}    
h4.background span { 
        background: #fff; 
        padding: 0 15px; 
}
.border1 {
    border: 2px solid #d8e0df;
    padding: 50px;
    text-align: center;
    
}
/********************* XPERTWEB.CO.UK ***********
Footer
************************************************/

#footer {
    color: #fff !important;
}
#footer a {
    color: #fff !important;
}
#footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}
.mw90 {
    max-width: 90%;
}
.mr10 {
    margin-right: 10px;
}

#footerlink {
    color: #506e5b !important;
}
#footerlink a {
    color: #506e5b !important;
}
#footerlink a:hover {
    color: #506e5b !important;
}

@media screen and (max-width:670px) {  
    #footer .col-xs-4 {
        width: 100%;
        text-align: center !important;
        margin: 0 auto 20px auto;
    }
    #footer .mw90 {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media screen and (max-width:540px) {  
    #footerlink .col-xs-6 {
        width: 100%;
        text-align: center !important;
        margin-bottom: 8px;
    }
}

/********************* XPERTWEB.CO.UK ***********
Footer Menu
************************************************/


/********************* XPERTWEB.CO.UK ***********
Blog Page
************************************************/


/**** Navigation Footer ****/
#nav-posts {
    margin-bottom: 40px;
    text-align: center;
}
#nav-posts div {
    display: inline-block;
}
#nav-posts div a {
    width: 200px;
    padding: 12px;
    background-color: #d8e0df;
    margin: 0 10px 0 10px;
    color: #fff !important;
    font-weight: 600;
}
#nav-posts div a:hover {
    background-color: #506e5b;
    
}

/********************* XPERTWEB.CO.UK ***********
WOOCOMMERCE / Default Override
************************************************/
body .woocommerce-error, body .woocommerce-info, body .woocommerce-message {
    padding: 15px 15px 15px 15px !important;
    margin: 10px 0 10px 0 !important;
    background-color: #506e5b !important;
    color: #fff !important;
    border: 0px solid !important;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce-error .button, .woocommerce-info .button, .woocommerce-message .button, button, input[type="submit"] {
    padding: 8px !important;
    font-weight: 700 !important;
    border-radius: 0px !important;
    color: #fff !important;
    background-color: #d8e0df !important;
    font-size:0.9em !important;
    border: 0px solid !important;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, button:hover,.woocommerce-error .button:hover, .woocommerce-info .button:hover, .woocommerce-message .button:hover {
    background-color: #506e5b !important;
}
.woocommerce-error:before, .woocommerce-info:before, .woocommerce-message:before, .select2-container .select2-choice .select2-arrow b {
    content: "" !important;
    display: none !important;
}
.select2-container .select2-choice {
    padding: 5px !important;
    border: 1px solid #eee !important;
    color: #171717 !important;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    background-position: right 50% !important;
    background-repeat: no-repeat !important;
    background-image: url('https://gahouse.co.uk/wp-content/themes/purpldigitltheme/images/down-arrow.png') !important;
    background-color: #fff !important;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.select2-drop-active {
    border: 1px solid #eee !important;
    border-top: none !important;
}
.select2-results .select2-highlighted {
    background-color: #d8e0df !important;
    color: #fff !important;
    border-radius: 3px;
    margin-left: 3px !important;
}
.woocommerce-MyAccount-navigation {
    background-color: #d8e0df !important;
    padding: 8px;
    margin-bottom: 15px;
}
.woocommerce-MyAccount-navigation a {
    color: #fff !important;
}
.woocommerce-MyAccount-navigation ul li {
    display: inline-block;
    margin-left: 8px;
    margin-right: 8px;
}
/********************* XPERTWEB.CO.UK ***********
Top Image Size Width
************************************************/
#topimg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.isize img {
    width: 100%;
    height: auto !important;
}
/********************* XPERTWEB.CO.UK ***********
Media Screen Defaults
************************************************/

#responsive-menu a {
    color: #ffffff !important;
}

@media screen and (min-width:701px) {
.woocommerce-MyAccount-navigation ul li {
        display: inline-block !important;
}
}
    
@media screen and (max-width:700px) {  

.woocommerce-MyAccount-navigation ul:before {
        content: "View Account Menu";
}
.woocommerce-MyAccount-navigation .open:before {
        content: "Hide Account Menu" !important;
}
.woocommerce-MyAccount-navigation ul li {
        display: none;
}
.woocommerce-MyAccount-navigation .showmenu {
        display: block;
}

}

/********************* XPERTWEB.CO.UK ***********
Media Screen Custom
************************************************/

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



/* Default to hide the video on all devices */
#video{display:none}

/* Default to display the image on all devices */
#videosubstitute{display:block;width:auto;height:400px;}


#videoDiv {
    overflow: hidden;
    height: 640px;
}
#fullScreenDiv{
    width:100%;
    min-height: 490px; 
   /* Set the height to match that of the viewport. */
    /*height: 100vh;*/
    width: auto;
    padding:0!important;
    margin: 0!important;
    background-color: gray;
    position: relative;
}
#video{    
    width: 100vw; 
    height: auto;
    object-fit: cover;
    left: 0px;
    top: 0px;
    z-index: 1;
}

@media (min-aspect-ratio: 16/9) {
  #video{
    height: 100%;
    top: -100%;
  }
  #videosubstitute{
    display:block;
    width: 100%;
    height: auto;}
}

@media (max-aspect-ratio: 16/9) {
  #video {
    width: 100%;
    left: -100%;
  }
  #videosubstitute{display:block;width:100%;height:auto;}
    #videoDiv {
    overflow: hidden;
    height: auto !important;
        max-height: 450px;
    min-height: 1px !important;
}
    #fullScreenDiv {
    min-height: 1px;
}
}

@media only screen and (min-width : 766px) {
#video{display:block;}
#videosubstitute{display:none}
} 


@media (max-width : 1170px) {
#video {
    width: 100%;
    left: -100%;
  }
}

  
/*if there is 992  pixels or more, then display the video but hide the image*/
@media only screen and (min-width : 766px) {
#video{display:block;}
#videosubstitute{display:none}
}   

/* The container for our text and stuff */
#messageBox{
    position: absolute;  top: 0;  left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height:100%;
}