/*
 Theme Name:   Berkshire Bradley Child
 Theme URI:    https://doorhingedesign.com/
 Description:  Berkshire Bradley Child Theme
 Author:       Chad Klapes
 Author URI:   https://doorhingedesign.com/
 Template:     berk-brad
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         none
 */

/* SETUP */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, entry-content, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	text-align: justify;
}
/* HTML5 display-role reset for older browsers */
article, entry-content, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.6;
	font-family: 'Open Sans', sans-serif;
	/*font-family: 'Noto Sans', sans-serif;*/
	
}
ol, ul {
	list-style: none;
}
.in-the-news .entry-content li{
  list-style: disc;
  margin-left: 20px;
}
.row-fluid {
    display: flex;
}
.span6:nth-child(2) {
    padding: 40px 25px;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
}
p  {
	padding-bottom: 10px;
	font-size: 14px;
}
h1 {
	font-size: 1.2em;
}
h2 {
    font-size: 19px;
    margin-top: -28px;
    color: #faa862;
    padding-bottom: 7px;
    line-height: 37px;
}

/*
--------------------------------------------------
1. BERKSHIRE BRADLEY SCREEN STYLES
--------------------------------------------------
*/

#page {width:96%; background-color:#fff; margin-left:2%; margin-right:2%;}
header#masthead {height:auto; margin-top:1em; background-color:#fff;}
body.page-template-default header#masthead { padding-top:1.5em; background-color:#fff;}
header#masthead, div#content, footer#colophon {width:96%;margin-left:2%;margin-right:2%;}
body.home header.entry-header {display:none;}
h1.entry-title {display:none;}
#post-475 > div > div:nth-child(3) > div > div.col-sm-5 > img:nth-child(2) {padding-top: 34px;}
/* body.home {background-image:url('http://berkbrad.wpengine.com/wp-content/uploads/2018/11/Berk_Brad_bg.png');background-size:100% auto;background-repeat:no-repeat;}
 * 
 * 
body.home {background-image:url('http://berkbrad.wpengine.com/wp-content/uploads/2018/11/Berk_Brad_bg.png');background-size:contain; background-repeat:no-repeat;}
body.home #page {background: transparent url(/wp-content/uploads/2018/11/Berk_Brad_bg.png) center center no-repeat; width:100%; padding:0px;margin-left:0;}*/
body.page-template-default #page div#content {width:96%; margin-left:2%;margin-right:2%;}
body.home .page-template-default {background-size: cover;}
body.home div.site header#masthead {margin-top:0em;}
div#page.site {margin-top:0;padding-top:0;}
img#homelogo-berkshire, img#homelogo-bradley {float:none!important;}
body.page-template-default div#primary.content-area {width:100%;}

div.ddl-full-width-row.row {padding-bottom:-9px;}

/*Main Nav non-mobile*/
ul#primary-menu li a {text-transform:uppercase;color:#555;}
ul#primary-menu li ul.sub-menu {background-color:#fff;margin-left:-24px;padding-left:4px;}
ul#primary-menu li ul.sub-menu li a {text-transform:capitalize!important;}
.page-template-default ul#primary-menu li ul.sub-menu {background-color:#fff;margin-left:-4px;padding-left:4px;}
.page-template-default ul#primary-menu li ul.sub-menu li a {text-transform:capitalize!important;}
.page-template-page-berk ul#primary-menu, 
.post-template-single-berk ul#primary-menu, 
.project-template-single-berk ul#primary-menu, 
.team-member-template-single-berk ul#primary-menu {position:relative;left:200px;bottom:25px;width:80%;}

.page-template-page-brad ul#primary-menu, 
.post-template-single-brad ul#primary-menu, 
.project-template-single-brad ul#primary-menu,
.team-member-template-single-brad{position:relative;bottom:25px;}

.page-template-default ul#primary-menu {position:relative; bottom:-15px;}

.page-template-page-berk ul#primary-menu li, 
.post-template-single-berk ul#primary-menu li, 
.project-template-single-berk ul#primary-menu li, 
.team-member-template-single-berk ul#primary-menu li {margin-right:20px;margin-left:20px;}
.page-template-page-brad ul#primary-menu li, 
.post-template-single-brad ul#primary-menu li, 
.project-template-single-brad ul#primary-menu li,
.team-member-template-single-brad ul#primary-menu li {margin-right:20px;margin-left:20px;}

.page-template-default ul#primary-menu li {margin-right:20px;margin-left:0px;}

.page-template-page-berk ul#primary-menu li:before, 
.post-template-single-berk ul#primary-menu li:before, 
.project-template-single-berk ul#primary-menu li:before, 
.team-member-template-single-berk ul#primary-menu li:before {
	position: absolute;  
    top: 12px;  
    margin: -5px 0 0 -20px;    
    vertical-align: middle;
    display: inline-block;
    width: 10px;
    height: 10px;
	border-radius:0px;
    background: #FAA862;
    content: "";
}

.page-template-page-brad ul#primary-menu li:before, 
.post-template-single-brad ul#primary-menu li:before, 
.project-template-single-brad ul#primary-menu li:before,
.team-member-template-single-brad ul#primary-menu li:before{
	position: absolute;  
    top: 8px;  
    margin: -15px 0 0 -20px;    
    vertical-align: middle;
    display: inline-block;
    width: 10px;
    height: 30px;
    background: #AB8D61;
    content: "";
}

/*hide li:before for home on both main navs*/
ul#primary-menu li#menu-item-478:before,
ul#primary-menu li#menu-item-477:before {display:none;}

div.berkshire-logo {background-image:url('http://berkbrad.wpengine.com/wp-content/uploads/2018/11/berkshire-logo.png');height:172px;width:123px;float:left;}
div.bradley-logo {background-image:url('http://berkbrad.wpengine.com/wp-content/uploads/2018/11/bradley-logo.png');height:234px;width:453px;;float:right;background-size:contain;}

/*Project Gallery Overlay*/ 

p.project-photo,
p.project-photo img {width:90%;}

.page-template-page-berk ul.progall li div.project-photo-overlay,
.page-template-page-brad ul.progall li div.project-photo-overlay{display:none;z-index:600;}
/*.page-template-page-berk tbody tr td div.project-photo-overlay,
.page-template-page-brad tbody tr td div.project-photo-overlay{display:none;}*/
.page-template-page-berk p.project-photo:hover + div.project-photo-overlay {display:block!important; color:#fff; font-size:80%; position:relative; margin-bottom:-100px; margin-top:-40px; top:-130px; margin-left:5%; margin-right:5%; width:70%; background-color: rgba(85,85,85,0.75);padding:4px; overflow:hidden; pointer-events: none;}
.page-template-page-brad p.project-photo:hover + div.project-photo-overlay {display:block!important; color:#fff; font-size:80%; position:relative; margin-bottom:-100px; margin-top:-40px; top:-130px; margin-left:5%; margin-right:5%; width:70%; background-color: rgba(85,85,85,0.75);padding:4px; overflow:hidden; pointer-events: none;}

/*Team Page Gallery Overlay*/ 
p.team-page-photo, p.team-page-photo img {margin-bottom:-10px;}
div.team-page-photo-overlay{display:none;margin-top:-20px!important;}
p.team-page-photo:hover + div.team-page-photo-overlay {display:block!important; color:#fff!important; font-size:80%; position:relative; margin-bottom:-35px;; margin-top:0px; top:-30px; margin-left:0%; margin-right:0%; width:100%; background-color: rgba(85,85,85,0.75);padding:4px; overflow:hidden; pointer-events: none;z-index:50;}
p.team-page-photo img:hover {margin-bottom:-13px;}

@-moz-document url-prefix() {
p.team-page-photo, p.team-page-photo img {margin-bottom:-8px;}
div.team-page-photo-overlay{display:none;margin-top:-20px!important;}
p.team-page-photo:hover + div.team-page-photo-overlay {display:block!important; color:#fff!important; font-size:80%; position:relative; margin-bottom:-35px;; margin-top:0px; top:-30px; margin-left:0%; margin-right:0%; width:100%; background-color: rgba(85,85,85,0.75);padding:4px; overflow:hidden; pointer-events: none;z-index:50;}	
p.team-page-photo img:hover {margin-bottom:-9.97px;}
}



span.project-photo-category-text {text-transform:uppercase;border-top-style:solid;border-top-width:1px;border-top-color:#fff;}
.page-template-page-berk span.project-photo-category-text {text-transform:uppercase;border-top-style:solid;border-top-width:1px;border-top-color:#FAA862;color:#fff;}
.page-template-page-brad span.project-photo-category-text {text-transform:uppercase;border-top-style:solid;border-top-width:1px;border-top-color:#ccb48b;color:#fff;}

/*Team Member Single Page*/ 

.team-member-template-single-berk .entry-content {margin-top:0px;margin-left:-10px;}

/*Footer Styles*/
div .footer-texts {display:block; font-size:0.8em;}
	.berk-envol {color: #f9a861;}
.brad-envol {color: #AB8D61;}
span .footer-berkshire, span .footer-bradley, span .footer-address {clear:both; display:block;}
span .footer-divider {display:none;}
a.footer-links {color:#000;text-decoration:none;}
span .footer-berkshire a.footer-links:hover {color:#f9a861;}
span .footer-bradley a.footer-links:hover {color:#AB8D61;}

  /* Show one image on devices under 1000px */
    @media screen and (max-width: 1000px) { 
       ul.progall li{
        width: 50%;
        float:left;
       }
    }


button#responsive-menu-button {position:relative;top:130px!important;right:8%!important;}

nav.navigation.post-navigation {display:none;}

article.team-member {margin-bottom:0px;}

/*a.teamcontainer {
    position: relative;
    max-width:45vh;
    max-height:100%;
    margin:0 auto;
    overflow: hidden;
}
a.teamcontainer:before {
    content:"";
    display: block;
    margin-top: 100%;
}
div#meetberkshire {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    overflow:screen;
	background-color:#555;
	clear:both;
	}*/

div#teamtext h1, .team-mobile h1 {font-size:1.2em;margin-bottom:1em;}
div#teamtext h1 {margin-top:-0.5em;}
.team-page-photo-overlay {color:#faa862!important;}/* further isolate category text with element - span.team-page-category-text */

body.page-id-512 .col-sm-5 {padding-right:0.9vw;}
body.page-id-512 .col-sm-7 {padding-left:0.9vw;}

.page-template-page-berk #primary, .project-template-single-berk #primary{margin-top:-1.5em;margin-bottom:-1.5em;}
ul.progall {margin-top:1.5em;}

	.project-single-berk-left {margin-top:0.75em;}
	.project-single-berk-right {margin-top:0.75em!important;}

.container-images-berkshire-single img {height:500px;width:auto;margin-top:0.75em;}


.post-title-berkshire-single,
.post-title-bradley-single,
.project-photo-overlay {text-align:left;}