/*
 Theme Name:   H2R Corp Child Theme
 Theme URI:    http://refueledinc.com
 Description:  H2R Corp Theme
 Author:       Refueled Inc.
 Author URI:   http://refueledinc.com
 Template:     dazzling
 Version:      1.0.0
 Text Domain:  h2rcorp
*/

/*
 * Logo dark blue: #020091
 */

body {font-size: 16px; font-family: 'Open Sans', sans-serif;}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: #020091;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
}

p, ul, li, td, a {    font-family: 'Open Sans', sans-serif;}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Slab Bold'), local('RobotoSlab-Bold'), url(https://fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJYlIZu-HDpmDIZMigmsroc4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

a {color: #00205b;
font-weight: bold;
text-decoration: underline;
}

nav a {text-decoration: none; }

#textBlock {
    float: left;
    width: 67%; 
    margin-right: 2%;
    }
/* services sidebar widge */
aside#nav_menu-4.widget_nav_menu {margin: 6em 0 1.5em;}
aside#nav_menu-5.widget_nav_menu {margin: 6em 0 1.5em;}

/* about us sidebar widget */

#text-2 {margin-top: 116px;}
#text-8 {margin-top: 96px;}
.staff {
        margin-left: 72px;
        margin-bottom: 36px;
        font-size: 14px;
    }
.staff img { border: 2px solid  #ccc; }
.staffName { font-weight: bold; font-size: 16px; margin-bottom: 0; }
.staffContact { font-weight: normal; }
.staffTitle {
        font-weight: bold;
        font-style: italic;
        margin-bottom: 0;
    }
.contactBox {
	background-color: #fff;
	padding: 6px;
	overflow: auto;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
}

/* .text { 
    font-size: 16px;
    line-height: 1.5;
    padding: 3px 12px;
    margin-bottom: 12px;
} */

.entry-title {font-size:30px;}
.entry-title a {text-decoration: none;}
.page-title {font-size:36px; margin-top: 0; margin-bottom: 36px; padding-bottom: 9px; border-bottom: 1px solid #eee;}
/* #content {
    margin-top: 26px;
    margin-bottom: 40px;
    padding-left: 18px;
    padding-right: 18px;
} */

.site-main {padding: 0 10%; margin-right: 3%;} 
/* nav bar and cfa overrides */
.navbar.navbar-default {margin-top: 0;}
/*#logo {padding-top: 12px;}*/
/* .cfa { background: url("images/bridge-under-construction-closeup-structure-51932671.jpg") no-repeat center;
height: 300px;} */
.cfa-text {
    padding: 9px 30px; 
    color: #fff; 
/*    background-color: rgba(255, 255, 255, 0.8); */
    font-size: 19px; 
 /*    border-radius: 6px; */
}
.cfa-button {font-size: 24px; margin-top: 24px; text-decoration: none;}
.btn.btn-default.read-more {color: #020091; }

/* footer overrides */
#footer-area {color: #fff; }
/*#footer-area .footer-widget-area {padding: 12px 0 0 0; }*/
#footer-area .widget ul li {  padding: 0; }
#footer-area ul li {  border: 0; }
.menu-item-168  a {color: #fff;}
#footer-area a { color: #fff; text-decoration: none; }
#footer-area a:hover {color: #fff; text-decoration: underline; }
.widget ul {font-weight: bold;}
#text-5 h3 {color: #fff; text-align: center; margin-top: 0;}

/* gform overrides */
select {color: #000;}
#gform_wrapper_1 {margin-top: 0; }
#gform_fields_1 {
	padding: 0;
	margin: 0;
}

.gform_wrapper .top_label .gfield_label { margin-bottom: 0; }
.gform_wrapper .gfield_required {color: #fff !important; }
.gform_wrapper .top_label div.ginput_container { margin-top: 0 !important; }
.gform_wrapper ul li.gfield {margin-top: 6px !important; }


input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #666;
  border: 1px solid #E8E8E8;
  border-radius: 5px; 
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  color: #111; border: 1px solid #6C6;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 5px; border-radius: 6px;
}

.gform_wrapper ul.gform_fields li.gfield {margin-bottom: 36px; }

.metaslider {
overflow: hidden;
}

.services {width: 100%;}
.services_matrix {
    width:100%; 
    margin-top: 24px;
    display: block;
    clear: both;
}

.services_box {
    float:left; 
    max-width: 260px; 
    margin-bottom: 3%;
    border: 2px solid #020091; 
    border-radius: 6px;
    text-align: center; 
    max-height: 150px; 
    overflow: hidden;
    background-color: #020091;
    position: relative;
}

.services_box {transition: all .5s ease; }
.services_box:hover {transform: scale(1.1);
	box-shadow: 0px 3px 5px 0px rgba(2, 0, 145, 0.50);
}

.services_box a {
 /*    background-color: #020091; */
    width: auto;
    height: auto;
    border: none;
     margin-bottom: 0;
     transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
} 
/*
.services_box a:hover {
    background-color: #020091;
    filter: opacity(.3);
    -webkit-filter: opacity(.3);
    -moz-filter: opacity(.3);
 
} */
a.services_box2 {
  display: block;
  position: relative;
  float: left;
  width: 260px;
  padding: 0;
 /*  margin: 10px 20px 10px 0; */
border: 2px solid #020091; 
  border-radius: 6px;
  background: none;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ;
}

.servFloat:before {
 /* content: 'GeoTechnical'; */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 50px;
  border-radius: 5px;
  transition: all 0.2s ;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.4);
}

.servFloat:hover:before {
  margin-top: -2px;
  margin-left: 0px;
  transform: scale(1.1,1.1);
  -ms-transform: scale(1.1,1.1);
  -webkit-transform: scale(1.1,1.1);
  box-shadow: 0px 5px 5px -2px rgba(0, 0, 0, 0.25);
}

.status {
    position: absolute;
	top: 0;
	height: 100%;
    width: 100%;
	opacity: 10;
	-transition: opacity 1s ease-in;
}
.status p { 
    margin-top: 20%;
	padding: 5px 0;
	background-color:  #020091;
	color: white;
	text-align: center;
    line-height: 1.1;
}
.status:hover { opacity: .8; }
/*.services_box a img {visibility: visible;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
}
.services_box a:hover img {visibility: hidden;} */
.services_table {
    box-shadow: 1px 1px 6px #b9b6b6;
    border-bottom: 2px solid #020091;
    margin-bottom: 12px;
    display: block;
    overflow-x: auto;
    max-width: 100%;
}

.services_table tr:nth-child(2n+1) {
    background: #ddddf1;
}
.services_table th {
    color: #ffffff !important;
    background-color: #020091 !important;
    font-size: 16px;
    padding: 3px 6px;
    text-align: center;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
}

.services_table td { padding: 3px  6px;
vertical-align: text-top;
font-size: 14px;}

.TwoColBullets {width: 100%;}
.TwoColBulletsLeft {float:left; width: 49%; margin-right: 1%; }
.TwoColBulletsRight {float:left; width: 50%; }

/* projects adjustments */
.project-fields {margin-top: 6px;}

/* 2017/07/19 - Chad */
.project-short-description {
  margin-top: 1rem;
}

main > .page-header {
  border-bottom: 0;
  padding-top: 16px;
}

body {
/*  background-color: #DDDDF1; */
    background: url('/wp-content/themes/h2rcorp/images/Generator_background.jpg');
 /*   background-size: cover; */
    background-position: top;
    background-repeat: repeat;
}

#content {
  background-color: white;
  padding-top: 20px;
  padding-bottom: 20px;
  border: 1px solid #dedede;
}

main > .page-header + article .page-header {
  padding-top: 0;
}

#logo img {
  width: auto;
  height: 64px;
}

#mysticky-nav nav {
  padding: 15px 0;
}
/* 2017/07/19 - END Chad */


@media (max-width:1085px) {
    .btn {white-space: normal !important; }
    .staff { margin: 0 !important; }
}
 
 @media (min-width:1025px) and (max-width:1087px)  {
    .staff { margin: 0 !important; }
}

/* pad landscape */
@media only screen and (max-device-width: 1024px)  and (orientation: landscape) {
    .site-main {padding: 0 5% !important;}
  /*  .staff { margin: 0 !important; display: inline-block !important; width: 32% !important; } */
    .services_matrix {
        display:inline-block !important;  
        width: auto !important;
        margin: 12px 56px !important;
    } 
    .services_box {float: none !important; width: 100% !important; } 
    .status p {margin-top: 0 !important;}
    .navbar-header {float: none;}
}

/* pad portrait for small bkgd*/
@media only screen and (max-device-width: 1024px)  and (orientation: portrait) {
    .site-main {padding: 0 3% !important;}
    .staff { margin: 0 !important; display: inline-block !important; width: 49% !important; text-align: center !important;}
    .services_matrix { 
        display:inline-block !important;  
        width: auto !important;
        margin: 12px 24px !important; 
    } 
    .services_box {float: none !important; width: 100% !important; } 
    .status {top: 35% !important;}
        .status p {margin-top: 0 !important;}
    #logo img {  margin-left: 24px !important; }
}
/* largePhone landscape*/
@media only screen and (max-device-width: 750px)  and (orientation: landscape) {
    .staff { margin: 0 !important; display: inline-block !important; width: 49% !important; text-align: center !important;}
    
}
/* phone landscape */
@media only screen and (max-device-width: 670px)  and (orientation: landscape) {
    .services_matrix { 
        display:inline-block !important;  
        width: auto !important;
        margin: 12px 0 !important; 
    }  
}

 /*mobile */   
@media screen and (max-width: 480px) {
    .site-main {padding: 0  !important;}
    .staff {display:block !important; text-align:center !important; width: 100% !important;}
    .services_matrix { display:inline-block !important;  
        /*        float: left !important; */
        width: auto !important;
     margin: 12px 24px !important; 
    } 
    .services_box {float: none !important; width: 100% !important; } 
    #logo img { width: 60% !important;  height: auto !important;  margin-left: 24px !important;   }
    .cfa-text {font-size: 14px !important; padding: 6px 24px !important; }
    .col-md-6, .col-md-12 {padding: 0 !important; }
    .page-title {font-size: 24px !important; }
    .entry-title {font-size: 20px !important; }
    .TwoColBulletsLeft, .TwoColBulletsRight {float:none !important; width: 100% !important; }
    .TwoColBulletsLeft ul, .TwoColBulletsRight ul {margin-bottom: 0 !important;}
}

@media (max-width:380px) {
    .services_box {
    float: none !important;
    width: 100% !important;
 /*   height: 110px !important; */
    }
}