/*

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

*/
/*Primary Color: #0b68b5
Secondary Color: #a4a2a3
OMG MORE COFFEE PLEASE
*/
body.home {
    background: url(/wp-content/uploads/2016/06/background.jpg) no-repeat;
background-size: cover;
}
.x-topbar {
    background: #0b68b5;
    box-shadow: inset 0px -7px 7px -7px rgba(0,0,0,.5);
    border-bottom: none;
    min-height: 26px;
}
.x-navbar-inner {
    background: url(/wp-content/uploads/2016/05/headerback.jpg) no-repeat;
background-size: cover;
background-position: 50% 85%;
}
a.x-brand:after {
    content: '';
    display: block;
    height: 165px;
    width: 420px;
    background: url(/wp-content/uploads/2016/05/logoback.png) no-repeat;
    position:absolute;
top: -60px;
left: -50px;
background-position: 0px -100px;
z-index: 1;
}
.masthead-inline .x-navbar .desktop .sub-menu {
    left: 20px;
    background: #0b68b5; 
}
.masthead-inline .x-navbar .desktop .sub-menu a{
    color: white; 
    text-transform: uppercase;
}
.x-brand img {
    z-index: 2;
position: relative;
}
.x-navbar {
    border-bottom: 1px solid #0b68b5;
}
.x-navbar-inner {
    padding: 15px 0px;
}
.x-navbar .desktop .x-nav > li > a {
   text-shadow: 0px 2px 2px rgba(0,0,0,.5);
}
.last_menu:after {
content: '';
background: #0b68b5;
height: 120px;
width: 160px;
display: inline-block;
position: absolute;
top: -15px;
left: 0px;

z-index: 2;
}
.last_menu a {
    position: relative;
    z-index: 3;
    color: white !important;
}
/*ul#menu-main-nav.x-nav:after {
content: '';
background: url(/wp-content/uploads/2016/05/iso-90011.png) no-repeat;
height: 70px;
width: 70px;
display: inline-block;
position: absolute;
margin-left: 20px;
margin-top:10px;
background-size: contain;
}*/
.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: none !important;
    
}
.x-navbar .desktop .x-nav > li > a:hover:after, .x-navbar .desktop .x-nav > .x-active > a:after, .x-navbar .desktop .x-nav > .current-menu-item > a:after, li.current_page_parent > a:first-child:after {
content: '';
background: url(/wp-content/uploads/2016/05/Current-_-Hover_better.png) no-repeat;
width: 82px;
height: 32px;
display: block;
position: absolute;
text-align: center;
margin: 0 auto;
left: 0px;
right: 0px;
top: 101px;
}
.x-navbar .desktop .x-nav > li.home_link > a {
    padding-left: 25px !important;
padding-right: 25px !important;
}
/*Service Boxes*/
.servicebox {
width: 221px;
height: 160px;
}
.servicebox img {
    max-width: 206px;
}
.servicebox h3 {
    background: url(/wp-content/uploads/2016/05/servicebottom.png) no-repeat;
    font-size: 16px;
color: white;
margin-top: -1px;
    margin-left: -1px;
line-height: 36px;
    padding-left:20px;
    letter-spacing: 1px;
}
/*.servicebox:hover {
    transform: translateX(5px);
    transition: all .5s ease-in-out;
}*/
h2 {
    color:#0B68B5 !important;
font-weight: 400 !important;
   font-size: 28px !important;
    margin-top: 20px !important;
}
h2:before {
content: '';
display: inline-block;
background-color: #0B68B5;
height: 20px;
width: 20px;
vertical-align:middle;
margin-top:-7px;
margin-right: 10px;
}
h2.callout:before { 
display: none;
}
h2.callout {
   margin-top: 90px !important;
    color: white !important;
}
h2.callout span {
    text-decoration: underline;
}
h2.callout {
    text-align: center;
font-size: 34px !important;
}
h6 {
    
color:#0B68B5 !important;
text-transform: none !important;
letter-spacing: 1px !important;

}
.blue_box {
  list-style: square;
    color: #0B68B5;
    margin-left: 40px;

}
footer.x-colophon {
    padding-top: 20px !important;
    padding-bottom: 0px !important;
}
footer {
background: #0B68B5 !important;
border-top: 7px solid #0B68B5 !important;
box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, .5) !important;
}
h4.footerblock {
    color: white !important;
    text-transform: none !important;
    text-align: center !important;
    margin-top: 0px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    text-shadow: none !important;
    font-size: 20px;
}
h4.footerblock span {
   font-size: 56px;
    line-height: 44px;
}
.contact_block {
    text-shadow: none !important;
    margin: 20px auto;
    color: white;
    text-align: center;
}
.contact_left {
    display: inline-block; 
    text-align: center;
      vertical-align: top;
        margin-right: 20px;
}
.contact_left a {
    color: white;
    border: 2px solid white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 24px;
    text-transform: uppercase;
}
.contact_left a:hover {
    background-color: white;
    color: #0B68B5;
}
.contact_center {
    display: inline-block;
    text-align: center;
      vertical-align: top;
    text-transform: uppercase;
    
}
.contact_center a {
           
            color:white !important;
        }
.contact_center span.copyright {
    text-transform: uppercase;
    font-size: 11px;
}
.contact_right {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    margin-left: 20px;
}
.contact_right a {
    color: white;
    border: 2px solid white;
   padding: 8px 10px;
border-radius: 3px;
font-size: 17px;
text-transform: uppercase;
line-height: 40px;
}
.contact_right a:hover {
    background-color: white;
    color: #0B68B5;
}
/*.about_mid {
    border-right: 10px solid #0B68B5;
	font-size: 120%;
}*/
.about_mid {
    font-size: 120%;
}
/*.border_block {
    border-left: 10px solid #0B68B5;
    border-right: 10px solid #0B68B5;
    margin-left: 40px !important;
margin-right: 40px !important;
}*/
ul#menu-main-nav.x-nav {
    z-index:4;
    position: relative;
}
a.callusnow {
    color: white !important;
font-size: 16px;
font-weight: 600;
    visibility: hidden;
}
p.p-info {
    margin: 3px 0 0 !important;
}
.x-topbar .p-info a {
    border-bottom: none;
}
a.x-btn-navbar {
    position: relative;
    z-index: 6;
    
}
a.x-btn-navbar i{
    color: #0B68B5;
}
a.x-btn.equipment {
    background-color: #0B68B5;
    float:right;
}
.desktop .sub-menu .current-menu-item > a, .desktop .sub-menu a:hover {
    color: lightgrey !important;
    text-shadow: 1px 1px 2px black;
    
}
input#gform_browse_button_1_5.button.gform_button_select_files {
    color: white !important;
     background-color: #0B68B5;
}
input#gform_submit_button_1.gform_button.button, input#gform_submit_button_2.gform_button.button {
    color: white !important;
    background-color: #0B68B5;
}
.callout_box:after {
content: '';
position: relative;
top: 120px;
left: 50px;
margin-left: -50px;
width: 0;
height: 0;
border-top: solid 70px #0B68B5;
border-left: solid 183px transparent;
border-right: solid 183px transparent;
}
.home p {
    text-shadow: 0px 2px 2px rgba(0, 0, 0, .5);
}
li.isolink {
    background: url(/wp-content/uploads/2020/03/iso-90012015-e1585088051885.png) no-repeat;
height: 70px;
width: 70px;
display: inline-block;
position: absolute;
margin-left: 20px;
margin-top: 10px;
background-size: contain;
}
li.isolink a {
    color: transparent !important;
text-shadow: none !important;
}
li.isolink a:after {
    display: none !important;
}
#post-38 .post-password-form input[type=submit] {
	background: lightgray;
padding: 10px 40px;
}
/*Responsive Time*/
@media(min-width:1157px)and(max-width:1366px) {
    .last_menu:after {
width: 90px;
left: 9px;
    }
    ul#menu-main-nav.x-nav:after {
        height: 60px;
width: 60px;
display: inline-block;
position: absolute;
margin-left: 7px;
margin-top: 15px;
    }
}
@media(max-width:1156px) {
    .masthead-inline .x-btn-navbar {
        display: block;
float: right
    }
    .x-nav-wrap.desktop {
        display: none;
    }
    .x-nav-wrap.mobile.collapse.in{
        display: block;
    }
    a.x-brand:after {
        height: 157px;
    }
    .last_menu:after {
        visibility: hidden;
    }
    .last_menu a span{
        color: #0B68B5;
    }
}

@media (max-width:1366px) {
    .servicebox img {
        max-width: 175px;
    }
    .servicebox h3{
        background-size: contain;
        width: 188px;
        line-height: 32px;
    }
    .callout_box {
        min-width: 320px;
        max-width: 320px;
    }
    .callout_box:after {
        border-left: solid 160px transparent;
border-right: solid 160px transparent;
    }
}
@media (min-width:415px) and (max-width:1185px) {
               .callout_box {   margin-bottom: 40px;
            padding: 30px 0px 30px !important;
    }
}
@media (max-width:1156px) { 

.x-navbar .desktop .x-nav > li > a:hover:after, .x-navbar .desktop .x-nav > .x-active > a:after, .x-navbar .desktop .x-nav > .current-menu-item > a:after, li.current_page_parent > a:first-child:after {
background: none;
		}
		        .x-navbar .mobile .x-nav {
            padding-bottom: 50px;
            
        }
        .x-navbar .mobile .x-nav li.isolink > a {
            border: none;
        }
		
}

@media (max-width:1000px) { 

h4.footerblock {
    font-size: 15px;
}

h4.footerblock span {
   font-size: 20px;
    line-height: 20px;
}


     .servicebox img {
        max-width: 120px;
    }
      .servicebox h3{
background-size: contain;
width: 129px;
line-height: 23px;
padding-left: 5px;
font-size: 14px;
    }
}
    @media(max-width: 767px) {

        .contact_left {
            display: block;
            margin-right: 0px;
        }
            .contact_left a {
            display: block;
                width: 100%;
        }
           .contact_right {
            display: block;
        }
            .contact_right a {
            display: block;
                width: 100%;
        }
        .contact_center {
            display: block;
            margin-right: 0px;
        }
        .contact_center a {
            display: block;
                width: 100%;
            color:white !important;
        }
     .x-topbar .p-info {
         background: none;
    }
    a.callusnow {
        visibility: visible;
    }
    .border_block {
        border-left: none;
        border-right: none;
        margin-left: none;
        margin-right: none;
    }
    .about_mid {
        border-right: none;
    }
        .servicebox {
            margin: 0 auto;
        }
.servicebox img {
    max-width: 206px;
}
.servicebox h3 {
    background: url(/wp-content/uploads/2016/05/servicebottom.png) no-repeat;
    font-size: 16px;
color: white;
margin-top: -1px;
    margin-left: -1px;
line-height: 36px;
    padding-left:20px;
    letter-spacing: 1px;
    width: 239px;
}
 
}
@media(min-width:321px) and (max-width:414px) {
        .callout_box {
            margin: 40px auto !important;
            padding: 30px 0px 30px !important;
        }
}
    @media(max-width: 320px) {
                       .border_block .x-container.width {
        width: 100%;
    }
        .border_block .about_block {
            padding: 20px 10px !important;
        }
        h2.callout {
            margin-top: 10px !important;
        }
        .callout_box {
            margin-bottom: 40px;
            padding: 30px 0px 30px !important;
        }
        a.x-brand:after {
            visibility: hidden;
        }
    }
