/********************* 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: #f6f6f6;
    font-size: 1em;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    font-family: source-sans-pro, sans-serif;
    font-style: normal;
    font-weight: 200;
    width: 100%;
    height: 100%;
}

a {
    cursor: pointer !important;
    color: #373b3b !important;
}

a:hover {
    color: #faae4c !important;
}

.mw {
    max-width: 3500px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.mw2 {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.sixty {
    display: inline-block;
    width: 60%;
    padding-right: 5%;
    float: left;
}
.fourty {
    display: inline-block;
    width: 40%;
    float: left;
}
.wpcf7 input[type="text"],.wpcf7 input[type="email"],.wpcf7 textarea {
    border: 2px solid #faae4c;
    background-color: #f6f6f6;
    margin-top: 8px;
}
.prim {
    background-color: #faae4c;
}

.alt {
    background-color: #373b3b;
}

.third {
    background-color: #ecedec;
}

.fourth {
    background-color: ;
}

.grey {
    background-color: #f4f4f4
}

.black {
    background-color: #191919
}

.white {
    background-color: #ffffff
}

.tprim {
    color: #faae4c;
}

.talt {
    color: #373b3b;
}

.tthird {
    color: #ecedec;
}

.tfourth {
    color: ;
}

.tgrey {
    color: #f4f4f4
}

.tblack {
    color: #191919
}

.twhite {
    color: #ffffff
}

.br {
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}


/********************* XPERTWEB.CO.UK ***********
Form Features
************************************************/

label {
    width: 100% !important;
}

input,
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('http://laybourneengineering.com/wp-content/themes/xwda/images/down-arrow.png');
    background-color: #fff;
}


/********************* 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 ***********
Buttons
************************************************/

.custombutton {
    color: ;
    background-color: ;
    display: block;
    font-size: 1.1em;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
    border-radius: 10px;
    margin: 10px auto 10px auto;
    padding: 20px !important;
    border: 0px solid #ffffff !important;
    letter-spacing: 1px;
    max-width: 250px;
    cursor: pointer;
}

.custombutton:hover {
    background-color: ;
}

.custombutton i {
    font-size: 1.3em;
}


/********************* 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: 1em;
    text-align: left;
    -webkit-padding-start: 0px !important;
    margin-bottom: 0 !important;
    border-bottom: 0px solid #373b3b;
    padding: 30px !important;
}

.mainmenu a {
    color: #fff;
}

.mainmenu a:hover {
    color: #373b3b;
}

.current-menu-item a {
    color: #faae4c !important;
    border-bottom: 3px solid #f6f6f6 !important;
}

.mainmenu li {
    display: block;
    list-style: none;
    list-style-type: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.mainmenu li a {
    display: block;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 3px solid #fff;
}

.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: #373b3b;
    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: #373b3b;
    background-color: #faae4c;
}

.mainmenu li:hover > a {
    color: #373b3b;
}


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


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


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


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


/********************* 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: #373b3b;
    margin: 0 10px 0 10px;
    color: #fff !important;
    font-weight: 600;
}

#nav-posts div a:hover {
    background-color: #faae4c;
}


/********************* 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: #faae4c !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: #373b3b !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: #faae4c !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('http://laybourneengineering.com/wp-content/themes/xwda/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: #373b3b !important;
    color: #fff !important;
    border-radius: 3px;
    margin-left: 3px !important;
}

.woocommerce-MyAccount-navigation {
    background-color: #373b3b !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 ***********
Checkout Page
************************************************/


/********************* XPERTWEB.CO.UK ***********
Thank you order
************************************************/


/********************* XPERTWEB.CO.UK ***********
My Account
************************************************/


/********************* XPERTWEB.CO.UK ***********
View Order
************************************************/


/********************* XPERTWEB.CO.UK ***********
Login Box
************************************************/


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

.slideout-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 256px;
    min-height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    z-index: 0;
    display: none;
}

.slideout-menu-left {
    left: 0;
}

.slideout-menu-right {
    right: 0;
}

.slideout-panel {
    position: relative;
    z-index: 1;
    will-change: transform;
    background-color: #FFF;
    /* A background-color is required */
    min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
    overflow: hidden;
}

.slideout-open .slideout-menu {
    display: block;
}




/********************* XPERTWEB.CO.UK ***********
Tabs
************************************************/
		ul.tabs{
			margin: 0 auto;
			padding: 0px;
			list-style: none;
            text-align: center;
            padding-top: 30px;
            padding-bottom: 20px;
		}
		ul.tabs li{
            background-color: #373b3b;
			color: #fff;
			display: inline-block;
			cursor: pointer;
            padding: 10px;
            font-weight: bold;
            font-size: 0.9em;
            margin-left: 10px;
            margin-right: 10px;
            width: 160px;
            margin-bottom: 10px;
		}

		ul.tabs li.current{
			color: #373b3b;
            background-color: #faae4c;
            
		}

		.tab-content{
			display: none;
		}

		.tab-content.current{
			display: inherit;
		}
/********************* XPERTWEB.CO.UK ***********
Media Screen Defaults
************************************************/

.container-fluid {
    padding-left: 275px;
    padding-right: 0;
}

#blockmenu {
    background-color: #fff;
    width: 275px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 20;
}

#blockmenu img {
    max-width: 100%;
}

h1 {
    font-size: 3.5em;
    font-weight: bold;
    text-transform: uppercase;
    color: #373b3b;
    text-align: center;
    letter-spacing: -1px;
    margin-top: 60px;
    margin-bottom: 40px;
}

#inner h1 {
    text-align: center;
}

#inner p {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

h1 span {
    display: block;
    font-size: 0.7em;
}

.contentp p {
    max-width: 60%;
    margin: 0 auto;
    text-align: justify;
}

.tel {
    text-align: center !important;
    font-weight: bold;
    color: #faae4c;
    font-size: 2em;
    padding-top: 30px;
}
.tel span {
    color: #373b3b;
}
#cta h5 {
    text-align: center;
    width: 90%;
    margin: 0 auto;
    font-size: 3em;
    font-weight: 600;
}

#footer p {
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 20px;
}

#footer i {
    font-size: 1.3em;
    margin-left: 15px;
    margin-right: 15px;
}

#reviews p {
    font-size: 1.2em;
}

#reviews span {
    color: #faae4c !important;
    font-weight: bold;
    padding-top: 20px;
    font-size: 1.2em;
}

.greybutton {
    background-color: #ecedec !important;
    color: #373b3b !important;
    font-weight: bold;
    padding: 12px;
    font-size: 1em;
    margin-top: 20px;
    display: inline-block;
}

#blocks {
    width: 33.3333333%;
    display: inline-block;
    float: left;
    background-color: #373b3b;
    margin: 0 !important;
    padding: 0;
    text-align: center;

}

#blocks h6 {
    margin: 0 0 10px 0 !important;
    font-size: 1.4em;
    text-align: center;
    width: 100%;
    font-weight: bold;
}

#blocks p {
    font-size: 1em;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    font-weight: normal;
    margin-bottom: 0px;
    display: inline-block;
    padding-top: 20px;
}

#blocks .blockimg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

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

.flexmid {
    display: none;
}

.blockimg:hover .flexmid {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #373b3b;
    color: #fff;
    padding: 20px;
    margin: 0;
    
    display: flex;           /* establish flex container */
    flex-direction: column;  /* make main axis vertical */
    justify-content: center; /* center items vertically, in this case */
    align-items: center;     /* center items horizontally, in this case */
}

#projects .mw {
    padding-left: 0px;
    padding-right: 0px;
}

.row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.hoverbutton {
    background-color: #373b3b !important;
    border: 1px solid #faae4c;
    color: #fff !important;
    font-weight: bold;
    padding: 12px;
    font-size: 1em;
    display: block;
    max-width: 300px;
    margin: 20px auto 0 auto;
}

.hoverbutton:hover {
    background-color: #faae4c !important;
    border: 1px solid #faae4c;
    color: #fff !important;
}

h2 {
    text-transform: uppercase;
    font-size: 3em;
    font-weight: bold;
    color: #faae4c !important;
    letter-spacing: -1px;
}

h2:after {
    content: "";
    display: block;
    height: 3px;
    vertical-align: bottom;
    width: 60px;
    border-top: 4px solid #373b3b;
    left: 0;
    margin-top: 10px;
    margin-bottom: 30px;
    
}
.imgbk {
    background-position: center 100px;
    background-repeat: no-repeat;
    background-image: url('http://laybourneengineering.com/wp-content/themes/xwda/images/logobk2.png');
    background-size: 580px;
}

#responsive-menu li a {
    color: #fff !important;
    font-weight: bold;
    border-bottom: 0px solid #373b3b !important;
}
#staffdets p {
    max-width: 100% !important;
    text-align: left !important;
}
.imgspace img {
    width: 600px;
    max-width: 600px !important;
    margin-top: 20px;
    margin-bottom: 20px;
    height: auto !important;
    border: 2px solid #ccc;
}
.serpage .halfit {
    width: 290px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    height: auto !important;
    display: inline-block;
    max-width: 100% !important;
}
.serpage img {
    width: 600px;
    max-width: 600px !important;
    margin-top: 20px;
    margin-bottom: 20px;
    height: auto !important;
    border: 2px solid #ccc;
}

.serpage h3 {
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    color: #373b3b;
    text-align: center;
    letter-spacing: -1px;
    margin-top: 60px;
    margin-bottom: 40px;
}
/********************* XPERTWEB.CO.UK ***********
Media Screen Defaults
************************************************/

@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:1300px) {
.contentp p {
    max-width: 85%;
}

}


@media screen and (max-width:1150px) {
    
    #blocks {
    width: 50%;
}
    
    
    .sixty {
    width: 55%;
}
.fourty {
    width: 45%;
}
    
}



@media screen and (max-width:1100px) {
    .imgspace img {
    width: 90% !important;
}
}



@media screen and (max-width:1050px) {
    
    .sixty {
    width: 50%;
}
.fourty {
    width: 50%;
}
    
    ul.tabs li{
            margin-left: 6px;
            margin-right: 6px;
            width: 140px;
		}
    
}


@media screen and (max-width:1000px) {
    h1 {
    font-size: 2.8em;
    text-align: center;
}
.contentp p {
    max-width: 85%;
    margin: 0 auto !important;
}
    .tel {
    text-align: center !important;
}
    
    h2 {
    font-size: 2.5em;
        text-align: center;
}
    h2:after {
    margin: 10px auto 30px auto;
}
    #reviews p {
    font-size: 1em;
        text-align: center;
}
    #reviews span {
    text-align: center;
        margin: 0 auto;
        display: block;
}
    .greybutton {
    margin: 20px auto 0 auto !important;
    display: block;
        width: 120px;
        text-align: center;
}
    
    #cta h5 {
    font-size: 2.3em;
}

    
}


@media screen and (max-width:990px) {
    
    .sixty {
    width: 100%;
        padding-right: 0 !important;
}
.fourty {
    width: 100%;
    text-align:  center !important;
}
    #staffdets p {
    max-width: 100% !important;
    text-align: center!important;
}

}


@media screen and (max-width:900px) {
    
.container-fluid {
    padding-left: 0px;
    padding-right: 0;
}

#blockmenu {
    background-color: #373b3b;
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    right: 0;
    bottom: auto !important;
    text-align: center;
}
    #blockmenu img {
    max-width: 200px;
}
.mainmenu {
        display: none;
}
    
button#responsive-menu-button {
    background: #faae4c !important;
    border: 1px solid #faae4c !important;
}
button#responsive-menu-button:hover {
    background: #373b3b !important;
    border: 1px solid #faae4c !important;
}    
}



@media screen and (max-width:880px) {
    
    .imgspace img {
    width: 90% !important;
}
    
#blocks .blockimg {
    min-height: 260px;
}
    
}


@media screen and (max-width:760px) {
    
#blocks .blockimg {
    min-height: 260px;
}
    
    .fourty {
    text-align: center !important;
    
}
    #inner p {
    max-width: 95%;
}
}


@media screen and (max-width:600px) {
#blocks {
    width: 100%;
}
    #blocks .blockimg {
    min-height: 280px;
}
    
    h1 {
    font-size: 2em;
    text-align: center;
}
    h2 {
    font-size: 2em;
    text-align: center;
}
    
}