/*
 Theme Name:   Berkley Child
 Theme URI:    http://320press.com/wpbs
 Description:  wp-bootstrap Child Theme
 Author:       Chris Barnes
 Author URI:   http://cbarn.es
 Template:     wp-bootstrap
 Version:      3.3.1
 License:      GNU General Public License v2.0 & Apache License 2.0
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
 Tags:         black, white, one-column, two-columns, flexible-width, custom-background, custom-colors, custom-menu, full-width-template, theme-options
 Text Domain:  wp-bootstrap-child
*/
/* Open Sans Regular Font */
@font-face {
  font-family: 'Open Sans';
  src: url('../wp-bootstrap/fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

/* Open Sans Italic Font */
@font-face {
  font-family: 'Open Sans';
  src: url('../wp-bootstrap/fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

/* Roboto Regular */
@font-face {
  font-family: 'Roboto';
  src: url('../wp-bootstrap/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Roboto Bold */
@font-face {
  font-family: 'Roboto';
  src: url('../wp-bootstrap/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* Roboto Italic */
@font-face {
  font-family: 'Roboto';
  src: url('../wp-bootstrap/fonts/Roboto-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* Roboto Bold Italic */
@font-face {
  font-family: 'Roboto';
  src: url('../wp-bootstrap/fonts/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

/* Roboto Light */
@font-face {
  font-family: 'Roboto';
  src: url('../wp-bootstrap/fonts/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* Roboto Thin */
@font-face {
  font-family: 'Roboto';
  src: url('../wp-bootstrap/fonts/Roboto-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

/* Roboto Medium */
@font-face {
  font-family: 'Roboto';
  src: url('../wp-bootstrap/fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* Roboto Black (Bolder) */
@font-face {
  font-family: 'Roboto';
  src: url('../wp-bootstrap/fonts/Roboto-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* Roboto Black Italic (Bolder Italic) */
@font-face {
  font-family: 'Roboto';
  src: url('../wp-bootstrap/fonts/Roboto-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

/* HEADS UP: Everything that you will normally find here can be found in the library/less/wp.less */
img { max-width: 100%; }
body { padding-top: 45px; font-size: 15px; font-family: "Open Sans", serif; line-height: 1.8; }
h1, h2, h3, h4, h5, h6 { color: #18563f; font-family:"Open Sans", serif; }
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { color: #333; font-size: 15px; }
.btn.btn-green { background-color: #18563f; color: #fff; }
.text-white { color: #ffffff; }
.btn-green:hover, .btn-green:focus, .btn-green.focus, .wp-block-button__link:hover { color: #fff !important; background-color: #18563f9c;}
.panel, .panel-default > .panel-heading { background-color: transparent; border: 0 none; box-shadow: none; }
.panel-heading { padding-bottom: 0; }
.panel-default > .panel-heading + .panel-collapse > .panel-body { border: 0 none; }
.panel-body { padding-top: 0; }
.uc { text-transform: uppercase; }
a, a:hover, a:active { color: #18563f; }
.img-100 { display: block; width: 100%; height: auto; margin: 0 auto; }
.img-center { margin: 0 auto; }
#cta-heading { margin: -10px 0 35px; }

/* header */
.navbar .container { position: relative; }
.topbar-links { position: absolute; top: 8px; right: 75px; }
.topbar-links li { display: inline; }
.topbar-links li a { padding: 6px 25px; background-color: #18563f; color: #fff; text-transform: uppercase; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }

/* nav */
.navbar-default { background-color: #fff; border-width: 0; }
.navbar-brand { height: auto; padding: 30px 5px 0; max-width: 80%; }
.navbar-default .navbar-nav>li>a { color: #18563f; text-transform: uppercase; }
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus { background: transparent; color: #18563f; font-weight: bold; }
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus { color: #18563f; }
.navbar-right.nav>li>a { padding-bottom: 5px; padding-top: 25px; }

/* carousel / banner */
#carousel { margin-bottom: 10px; }
#carousel .item>img { width: 100%; }
#carousel .carousel-caption { left: 15%; right: 15%; padding-bottom: inherit; padding-top: inherit; top: 20%; bottom: 5%; text-shadow: none; text-align: inherit; color: #333; }
#carousel .carousel-indicators { display: none; }
#carousel .carousel-caption span { display: inline-block; padding: 10px 20px 15px; background: rgba(255,255,255,0.8); border-radius: 10px; }

/* landing grid */
.landing_grid { display: flex; flex-wrap: wrap; justify-content: center; }
#main article .landing_grid img { display: block; margin: auto; width: auto; height: 170px; }
.landing_grid h3 { text-align: center; font-size: 16px; margin-top:1%; min-height: 55px; }
.landing_grid .text-body { min-height: 110px; }
.landing_grid p { display: none; }
.landing_grid>div { margin-bottom: 30px;}

/* general */
body { background-image: url('/wp-content/themes/wp-bootstrap/images/Skyline.jpg'); background-color: #eee; background-repeat: no-repeat; background-size: contain; background-position-y: calc(100% - 70px); background-position-x: center; }
.page-header { border-bottom-width: 0; margin-top: -10px; background-color: #18563e; }
.page-header h1 { margin-top: 0; margin-bottom: 0; border-top: 5px solid #18563f; text-align: center; font-size: 30px; color: white;}
#content { margin-bottom: 40px; }
.green { color: #18563e; }
.greenStripe { background-color: #18563f; color: #fff; min-height: 250px; }
.greenStripe h1, .greenStripe h2, .greenStripe h3, .greenStripe h4, .greenStripe h5, .greenStripe h6 { color: #fff; }
.greenStripe a { color: #fff; text-decoration:none; }
.greenStripe a:hover  { zoom: 1.1; }
.greenStripe .tab-pane h3 { font-size: 19px; }
.greenStripe .downloadrow > div { display: inline-block; padding: 0 15px; width: 50%; line-height: 1.428571420; vertical-align: top; }
.greenStripe .downloadrow > div figure { display: table-cell; height: 50px; vertical-align: bottom; }
span.icon-phone, span.icon-email, span.icon-pin { display: inline-block; width: 25px; height: 22px; background-image: url('/wp-content/themes/wp-bootstrap/images/icons-sprite.png'); background-repeat: no-repeat; background-size: 50px 74px; }
span.icon-email { background-position-y: 0px; }
span.icon-phone { background-position-y: -25px; }
span.icon-pin { background-position-y: -50px; }
span.icon-email.g { background-position-x: -25px; }
span.icon-phone.g { background-position-x: -25px; }
span.icon-pin.g { background-position-x: -25px; }
.readmore { position: absolute; bottom: 3%; }
.green-block { color: #ffffff; background-color: #18563f; padding: 15px; }
.heavy-font { font-weight: bolder; font-family: 'Roboto', sans-serif; }
.robo-font { font-family: 'Roboto', sans-serif; }
.line-right { border-right: 1px solid #ffffff; }
.pdf-block > div { display: flex; margin-bottom: 10px; background-color: #18563f; }
.num-block { margin-bottom: 0 }
.tag-block { margin-left: auto; margin-right: auto; margin-bottom: 0 }
.card-shadow { box-shadow: 10px 10px 10px 5px grey; }
.bg-white { background-color: #ffffff; padding: 20px; }
.lispacing { padding: 4%; }
.lispacing li { padding-bottom: 2%; }

/* font awesome css */
.fa-site_color { color: #18563e; }

/* products page */
.expert_box { border: #18563f solid 3px; padding-bottom: 3%; background-color: #ffffff9e; margin-right: 10%; margin-left: 10%; }
.expertlink:hover { text-decoration: none;  -moz-transform: scale(1.1); -webkit-transform: scale(1.1); transform: scale(1.1);}

.farmbox { background-color: #DAE9E3; min-height: 320px; border-radius: 10px 10px 10px 10px; -moz-border-radius: 10px 10px 10px 10px;  -webkit-border-radius: 10px 10px 10px 10px; border: 0px solid #000000; padding-top: 7%; }
#farmboxhead1 { background-image: url(/wp-content/uploads/sites/7/2017/12/boxbackground1.png); background-repeat: no-repeat; background-size: 100% 120px; padding-top: 3%;  margin-top: -7%;  padding-bottom: 0%; }
#farmboxhead2 { background-image: url(/wp-content/uploads/sites/7/2017/12/boxbackground2.png); background-repeat: no-repeat; background-size: 100% 120px; padding-top: 3%;  margin-top: -7%;  padding-bottom: 0%; }
.farmbox h3 { color: white; text-align: center; padding-left: 4%; padding-top: 15px; padding-bottom: 10px; font-family: "Open Sans", serif; font-size: 2em; text-shadow: 1px 1px black; }
#farmboxhead1 > h3 > span { color:#fff;}
#farmboxhead2 > h3 > span { color:#fff;}

/* solutions team */
#teamLanding .btn-green { width: 100%; white-space: inherit; margin: 5px 0; padding: 10% 0; }
.teamProfile img { width: 100%; }
.teamBox .btn-green { width: 100%; white-space: inherit; margin: 5px 0; padding: 10% 0; }
.pdf_icon { display: block; margin-bottom: 20px; padding-top: 10px; }
.team_bio { padding-bottom: 40px; }

/* casualty faculative */
.cas_fac_table { margin: auto; }
.cas_fac_table thead { background-color: white; border: #ccc solid 2px; }
.cas_fac_table th { padding: 1% 0px; }
.limitExposed { background-color: #18563ed1; color: white; border: solid white 1px;  padding: 1% 0px; }
.stateData { background-color: #31303096; color: white; border: solid white 1px; }
.testemonial { background-color: #ffffff69; padding: 1%; border-radius: 18px 2px;  margin-bottom: 2%; }
.testemonial p { font-size: 1.5em; color: #18563e; }
.testemonial > .author { color: #88a799; }

/* news */
.well.productDetails { min-height: 450px; background-color: #dae9e3; border: 0 none; border-radius: 10px; }
.well.productDetails .media { margin-bottom: 15px; }
.well.productDetails .media-left { width: 50px; }
.row.stretch, .row.stretch > div, .wp-block-columns.stretch .wp-block-column { display: -webkit-flex; display: flex; -webkit-align-items: stretch; align-items: stretch; }
.well.productCallout * { color: #fff; }
.well.productCallout { margin-bottom: 0; }
.well.productCallout h3 { margin: 0 0 30px; }
.well.productCallout { width: 100%; background-color: #1a543c; }

/* sidebar2 */
#sidebar2 { font-size: 90%; }
#sidebar2 a { font-weight: bold; color: #18563f; }

/* homepage */
body>div.banner { background-repeat: no-repeat; background-position: center top; background-size: cover; margin-bottom: 5px; }
body.home>div.banner { min-height: 300px; }
body>div.banner p { background-color: rgba(255,255,255,.4); }
.callToAction section.post_content { padding: 50px 0; }
.callToAction section.post_content > div > div > div { text-align: center; background-color: #fff; color: #7f7f7f; border-radius: 10px; padding: 10px 10px 60px; height: 100%; margin-top: 10px; }
.callToAction section.post_content > div > div ul { text-align: left; }
.callToAction section.post_content > div > div:first-of-type > div { margin-top: 0; }
.callToAction section.post_content > div > div > div h4 { color: #18563f; text-transform: uppercase; }
.callToAction section.post_content > div > div > div h4:not(.modal-title):after { background-image: linear-gradient(to right, #18563f 20%, rgba(255, 255, 255, 0) 10%); background-position: top; background-size: 11px 2px; background-repeat: repeat-x; content: ""; display: block; height: 2px; width: 60%; margin: 5px auto; }
.callToAction section.post_content > div > div > div .btn.btn-green { position: absolute; bottom: 30px; left: 0; right: 0; width: 50%; margin: auto; }
.theContent { padding: 50px 0 100px; display: block; }
.callToAction .modal-header { border-bottom-width: 0; }
.greenStripe .carousel-control.left, .greenStripe .carousel-control.right { color: #fff !important; z-index: 100000; }

/* meet the team new */
#newTeam .caption { background: #eee; color: #333; padding: 5px; line-height: 1.2; margin-bottom: 15px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
#newTeam .caption h3 { color: #333; margin-top: 8px; font-weight: bold; }
#newTeam img { width: 100%; border-top-left-radius: 10px; border-top-right-radius: 10px; }

/*Location page */
.location_bar { background-color: rgba(220, 220, 220, 0.5803921568627451); }
.location_h2 { border-bottom: solid; padding-bottom: 2%; padding-top: 5%; }

/* Treaty Page */
.treatylist { list-style-type:none; padding: 5% 0; list-style-position: inside; text-indent: -1em;}
.treatylist li { padding: 2%; font-size: 20px; line-height: 1.25; }

/* blog css */
.post_content .more-link { border: #339675 solid 2px; color: #339675; font-size: 14px; font-weight: bold; border-radius: 0; text-align: center; background-color: #fff; text-transform: uppercase; padding: 8px 16px; display: table; margin: 10px auto; } /* .blog-btn, */
.archive.category-press #sidebar1, .single-post #sidebar1 { display: none; }
.archive #main .post h3 { line-height: 1.2; }
#main p.meta { font-style:normal; }
.post-date { background-color: #339675; padding: 10px; color: #fff; display: inline-block; }
.page-header.blog-header { margin-top: 25px; padding-bottom: 75px; padding-left: 18%; }
.wpp-list li { padding-bottom: 3%; }
.wpp-views { font-size: .75em; color:#999; display: block; float: right; padding-top: 5%; }
.wpp-post-title { font-size: .9em; }
.blog_header > .page-header { margin-top: 0px; }

/* contact us page */
.contact-us h3 { margin-top: 0; }
.contact-us span[class^='icon-'] { background-position-x: -25px; }

/* footer people */
.nav-pills h5 { text-transform: uppercase; padding-top: 30px; }
.nav-pills>li>a { padding-top: 5px; padding-bottom: 5px; }
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus, a[aria-expanded=true] { color: #fff;
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.2) 70%, rgba(255,255,255,0) 100%);
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.2) 30%,rgba(255,255,255,0.2) 70%,rgba(255,255,255,0) 100%);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.2) 30%,rgba(255,255,255,0.2) 70%,rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 );
}
.nav>li>a:hover, .nav>li>a:focus { color: #fff;
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.2) 70%, rgba(255,255,255,0) 100%);
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0.2) 30%,rgba(255,255,255,0.2) 70%,rgba(255,255,255,0) 100%);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.2) 30%,rgba(255,255,255,0.2) 70%,rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 );
}
.tab-content { padding: 50px 0 20px; }
.tab-content .carousel-caption { top: 0; right: 0; left: 0; bottom: 0; padding-top: 0; padding-bottom: 0; text-shadow: none; color: #fff }
.tab-content .thumbnail, #accordion .thumbnail { background-color: transparent; border-width: 0; }
.tab-content .thumbnail > img, #accordion .thumbnail > img { border-radius: 52%; border: 3px solid #fff; max-width: 150px; }
.tab-content .thumbnail .caption, #accordion .thumbnail .caption { color: #fff; }
.tab-content .thumbnail .caption h3, .accordion .thumbnail .caption h3 { font-size: 18px; font-weight: bold; }
.tab-content .thumbnail .fa, #accordion .thumbnail .fa { margin: 0 8px; }
.tab-content span.title, .tab-content span.email, .accordion span.title, .tab-content span.email { display: block; }
div.carousel[id^='carousel-'] > .carousel-inner > .item > img { width: 100%; width: auto; min-height: 100px; }
#accordion .panel-title a { display: block; width: 100%; }

/* footer locations carousel */
#find-us { background-color: #ccc; background-repeat: no-repeat; background-position: center top; margin-top: 40px; margin-bottom: 30px; padding: 40px 0 20px; }
#find-us h3 { color: #18563f; }
#find-us a { color: #18563f; }
#carousel-locations { margin-top: 40px; margin-bottom: 40px;}
#carousel-locations .carousel-caption { display: flex; top: 0; right: 0; left: 0; bottom: 0; margin: 0 auto; padding-top: 0; padding-bottom: 0; width: 75%; text-shadow: none; color: #18563f; }
#carousel-locations .carousel-caption .col { flex-basis: 0; flex-grow: 1; max-width: 100%; }

/* footer */
body > .container > footer { padding-top: 10px; border-top: 15px solid #175d41; position: relative; }    
body > .container > footer:after { position: absolute; left: 335px; right: 0; top: -15px; border-top: 15px solid #ebebeb; content: ''; }
.footer-links { float: left; }
.footer-links .menu { -webkit-padding-start: 0; font-size: 13px; }
.footer-links .menu li a { color: #175d41; text-transform: uppercase; }
.footer-links .menu li.small a { color: #757575; text-transform: none; }
body:not(.asia) .footer-links .menu li:nth-last-child(4) { padding-left: 20px }
body.asia .footer-links .menu li:nth-last-child(6) { padding-left: 20px }
.footer-links .menu li.active a { font-weight: bold; }
.footer-links .menu li.small a:after { content: ""; border-right: 1px solid #757575; padding-left: 10px; }
.footer-links .menu li:last-of-type a:after { display: none; }
.attribution { float: right; font-size: 12px; color: #757575; }
.wrb-footer { margin-bottom: 0; padding: 0 0.5rem; background-color: #00563f; }

/* media queries */
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  .topbar-links { right: 0; }
  .navbar-brand { padding: 15px 0; max-width: 100%; }
  .collapse .nav { margin-top: 60px; }
  .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus { border-bottom: 3px solid #18563f; }
  .dropdown-menu .dropdown-menu { left: 95%; top: 0; }
  .navbar-brand { padding: 15px 0 0 0; }
  .navbar-responsive-collapse { background-image: url('/wp-content/themes/wp-bootstrap/images/globe.png'); background-size: 150px; background-repeat: no-repeat; background-position: 100% 40px; }
  body>div.banner .post_content { margin-top: 60px; }
  body>div.banner p { width: 45%; background-color: transparent; }
  .lead { font-size: 18px; }
  .callToAction section.post_content > div > div > div h4:not(.modal-title):after { margin: 25px auto; }
	.greenStripe .downloadrow > div { width: 25%; }
  .landing_grid h3 { font-size: 24px; }
  .landing_grid p { display: block; }
  .callToAction section.post_content > div { display: -webkit-flex; display: -ms-flexbox; display: flex; overflow: hidden; }
  .callToAction section.post_content > div > div { flex: 1; }
  .callToAction section.post_content > div > div > div { margin-top: 0; }
  .product_area { padding-left: 3%; min-height: 200px; position: relative; }
  .product_area:after { content: ''; position: absolute; top: 40px; right: 15%; width: 2px;  height: 200px;  background: #18563f; }
  .page-id-2851 .product_area:after { display: none; }
  .product_box { padding-left: 3%; min-height: 250px; }
	.pdf_icon { margin-bottom: 0; }
}

/* Wordpress Column Breakpoint */
@media only screen and (min-width: 600px) {
  .green-left-border { border-left: 40px solid #18563f; }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  .tab-content .thumbnail .caption h3, .tab-content .thumbnail .caption .title { white-space: nowrap; }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	.container-wide { width: 80%; }
	.greenStripe .downloadrow > div { width: 11%; }
}

/* font-awesome edits */
.fa-rotate-315 { -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; -webkit-transform: rotate(315deg); -ms-transform: rotate(315deg); transform: rotate(315deg); }

/* bootstrap / main theme edits */
.carousel-caption p { display: block; }
.carousel-control { width: 5%; }
.carousel-control.left, .carousel-control.right { background: none; color: #18563f; opacity: 1; filter: alpha(opacity=100); }

/* bootstrap checeron for slider to fontawesome */
.glyphicon-chevron-left:before, .glyphicon-chevron-right:before { font: normal normal normal 44px/1 FontAwesome; }
.glyphicon-chevron-left:before { content: "\f104"; }
.glyphicon-chevron-right:before { content: "\f105"; }
.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next { margin-top: -45px; }
