/*

Theme Name: ACC2018
Description: Base Web Theme based on Master Parent theme
Author: Peter Anderson
Version: 0.0.1
Template: master_parent


*/

@import url('../master_parent/style.css');

/* begin custom code */
/* in order for this to work you master parent needs to be also checkout into the
theme folder and place in a folder named "master_parent" */

html{scrollbar-width: none;}
body {background-color:#fff; font-size:2.5rem; scrollbar-width: none;}
/*#page {width:1080px;}*/
h1.entry-title {display:none;}

.site-content a:visited {color: #0556b1;}

.site-header, .site-disclaimer {display:none;}

#comments, article {width:100%;}

.fl-rich-text h1{font-size:2.8em;}
.home .fl-rich-text h1{font-size:1.5em;}

div.search-toggle {display:none;}
 
 div#rightbar-widgets.rightwidgets.widget-area.clear {background-color:transparent;}
 
 div#content.site-content {margin-top:0px;}
 
 #masthead {border-left:1px solid #ccc;}

.entry-content .wpcf7{margin:0 40px;}

nav#site-navigation.main-navigation {display:none;}


#primary {padding:0px; margin-bottom:200px;}
.entry-content { margin: 0; }

.tribe-events-loop .tribe-events-event-meta{font-size:.7em;}

.site-footer a {
	color: #DDD !important;
	height:88px;
	background-image: transparent url(images/dcri.png) no-repeat top left;
}

/*.tribe-events-list .tribe-events-event-meta { display: none; }*/
.tribe-events-list .type-tribe_events h2 { font-size: 1.5em; }
a.tribe-events-read-more { display: none; }
.tribe-events-content {margin: 0 0 1em;}
.tribe-events-list .type-tribe_events {border-bottom: solid 1px #aaa; margin-bottom: 2em;}
.tribe-events-list .type-tribe_events:last-of-type {border-bottom: none;margin-bottom: 2rem;}
h2.tribe-events-list-event-title { color: #0556b1; }

video {max-width: 100%;}
video.study-questions { height: calc(100vw * .59); max-height: 628px; display: none;}
.study-question-title{color:#ff452c;font-weight:bold;font-size:2.5em;}
.study-title{font-size:.8em;}
.emph{color:#ff452c;font-weight:bold;}

.fl-builder-edit #categories-layout{display:block;}
#categories-layout{display:none;}
#categories-layout.show{display:block;}
#studies-layout{display:block;}
#studies-layout.hide{display:none;}
.scroll-indicator{display:none;max-width: 1080px;margin: auto; position: fixed; bottom: 280px; width: 100%; height:55px; background: #fff url(images/scrollindicator.png) 50% 7px no-repeat;background-size:contain; z-index:2; left: 50%; transform: translate(-50%, 0);}
.acc-footer {max-width: 1080px;margin: auto; position: fixed; bottom: 0px; width: 100%; background: #fff; text-align: center; font-weight: bold; left: 50%; transform: translate(-50%, 0);}
.footer-signup {padding: 15px; float: left;background: #dcdcdc; margin: 40px 50px; width: 830px;color:#00569d; display: none;}
.home-icon { height: 66px; width: 100px; float: right; margin: 40px 50px 40px 0px; background: #bbb;overflow: hidden; color: #bbb; display: none;}
.acc-footer .fa {color: #fff; font-size: 2em; line-height: 66px;}

.display{display:none !important;}

.home a:link{text-decoration:none;}
.study-button { color: #fff; line-height: 250px; text-align: center; box-shadow: 1px 1px 3px 4px rgba(0, 0, 0, .2); font-size: 1.5em; text-shadow: 1px 1px 1px rgba(0,0,0,.6); }
.study-button.blue {background: #0088cf;}
.study-button.orange {background: #f68d39;}
.study-button.red {background: #b63b3b;}
.study-button.purple {background: #642a7d;}
.study-button.green {background: /*#b0bb50*/ #83ae36;}

.fl-builder-content .active a.fl-button{background: #00569d;}
.fl-builder-content .active a.fl-button .fl-button-text{color: #fff !important;}

/*accordion stuff*/
.fl-accordion-large .fl-accordion-button-label { font-size: 1.5em; }
.home .fl-accordion-content{font-size:1.2em;line-height:2em;}
.fl-accordion-content a:link, .fl-accordion-content a:visited {color: #00569D !important; text-decoration: underline;}
.home .fl-accordion .fl-accordion-item {margin-bottom: 20px;}

.page-id-1710 a:link{text-decoration: none;}
.event-button { color: #fff; text-decoration: none; background: #00569D; /*width: 800px;*/ margin: 30px auto; padding: 20px 30px; font-size:1.5em;}

.parent-pageid-1922 .footer-signup {width: 470px;margin-right:40px; display: none;}
.parent-pageid-1922 .home-icon {width:470px; color:#fff; background:#ff452c; padding:15px; display: none;}
.parent-pageid-1922 .study-questions, .parent-pageid-1922 .acc-footer .fa { display: none; }

.dcri-branding { clear: both; background: #00569D; width: 100%; padding: 40px 100px; line-height:0px;}

@media screen and (min-width: 320px){

	.footer-widgets .widget, .loginout {
		float: right;
		padding: 0 30px;
		width: auto;
	}
	
	.site-footer {display:block;background: #00539b url(images/dcrism.png) no-repeat 12px 12px; height:90px;}

	
	.site-branding {
    padding-top:0px;padding-left:12px;
    background:#a63e2e url(images/1px.png) top right no-repeat;
    height:70px!important;
    border-bottom:1px solid #fff;
    margin-top:0px;
    margin-right:-39px;

    }
    .corner {display:none;}
    
    div#site-header {
    background: transparent url(images/smalltitle.png) no-repeat 0px 13px;
    padding-top:0px;
    padding-left:0px;
    height:57px;
    width:394px;}
    
    div#site-header img {display:none;}
	
	#primary, #content, header#masthead.site-header {background:transparent url(images/1px.png) repeat-y top right;}



}

@media screen and (min-width: 640px){

	.site-footer {background: #00539b url(images/dcri.png) no-repeat 22px 22px; height:90px;}


.site-branding {
	position:relative;
    padding-top:0px;padding-left:12px;
    background: #b15547;
    height:200px!important;
    border-bottom:1px solid #fff;
    margin-top:32px;
    margin-right:-39px;

    }
    .corner {
    display:block;
    z-index:1000;
	background-color:transparent;
    position:absolute; 
    bottom:-40px; 
    right:0px; 
    width:33px; 
    height:30px;
    background: transparent url(images/corner.png) no-repeat;
    }
    
    div#site-header {background: transparent url(images/1px.png) no-repeat top left;padding-top:48px;padding-left:22px;}
    
    div#site-header img {display:block;}


    }

.widget-title {color:#9d584b;line-height:1.35em;}
.refresh a:link {color:#9d584b;float:right;font-size:.9em;margin-top:-20px;margin-right:12px;}


 
/************************
** Meet the Team
************************/

.flipInY {
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation-name: flipInY;
    animation-name: flipInY;
}
 
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
div.bio, .bio3 {float:left;text-align:center;box-shadow: 0 0px 5px 0px rgba(0,0,0,0.075);border-radius: 5px;padding-top: 15px; width:100%; margin-bottom:60px;}
.bio img, .bio3 img{max-height:228px;}
p.bio, p.bio3 {font-size:.8em;color:#333;}
.bio h3.name, .bio3 h3.name{
	padding: 0 0 15px 0;
	margin-bottom: 0 !important;
	border-bottom: solid 4px #999;
	height: 60px;
}

.bio.sheets h3{border-bottom: solid 0px #111;}
.bio.md h3.name, .bio3.md h3.name{border-color:#3666b8;}

.bio h3.name a{text-decoration:none;color:#00539B;}

.bio .department, .bio3 .department{
	height: 120px;
    padding: 15px 15px 20px;
    background: #fafafa;
    border: solid 1px #f0f0f0;
    line-height: 1.2;
	margin-bottom: 0px
}
@media screen and (min-width: 640px) and (max-width:800px){
	div.bio {margin-right:5%; width:46%;}
	div.bio:nth-of-type(2n+1){margin-right:8%;}
	div.bio:nth-of-type(2n){margin-right:0%;}
}
@media screen and (min-width: 800px) and (max-width:1000px){
	div.bio, div.bio3 {margin-right:5%; width:30%;}
	div.bio:nth-of-type(3n), div.bio3:nth-of-type(3n){margin-right:0%;}
}
@media screen and (min-width: 800px){
	div.bio3 {margin-right:5%; width:30%;}
	div.bio3:nth-of-type(3n){margin-right:0%;}
}
@media screen and (min-width: 1000px){
	div.bio {margin-right:4%; width:21%;}
	div.bio:nth-of-type(4n+1){clear:both;}
}

/* homepage buttons code */
.additional {margin-bottom:128px;}
.additional a:visited {color:#fff;}
.additional a:link {color:#fff; background-color:#ccc; padding:18px;text-transform:Capitalize;font-weight:bold;text-decoration:none;border-radius:12px;font-size:1.4em;display:block;float:left;margin-right:18px;}
#fact {background-color:#81a6c0;}
#present {background-color:#7d6f8a;}
#posters {background-color:#bf7778;}
.page-id-750 .page-content, .page-id-750 .entry-content, .page-id-750 .entry-summary {margin:0px;padding:0px;}
.page-id-750 #primary {margin:0px;padding: 0px 0px 0px 0px;}
.page-id-750 h1.entry-title {display:none;}
.page-id-750 div#content.site-content {border-left:0px;}
.page-id-750 .site-footer {display:none;}
.page-id-750 a {display:block;}

#box1 {
	background-color:#f38520;
	background-color:#F28521;
	margin-right:50px;margin-top:35px;
}

#box2 {background-color:#5e3c70;background-color:#693E71;}

#box3 {
	background-color:#c24a39;
	background-color:#DC4A38;
	margin-right:50px;
margin-top:50px;
	}
	
#box4 {
	background-color:#497fc1;
	background-color:#0680CD;
	margin-top:50px;}
.box a:link , .box a:visited {color:#fff;text-decoration:none;}
.box {
	width: 463px;
	float:left;
	height:463px;
	padding:0px 32px 0px 32px;
	padding-top:72px;
	text-align:center;
	color:#fff;
	font-size:2.9em;
	text-transform:uppercase;display:inline-block;
}
	
.box img {margin-bottom:25px;}

#box2 img, #box3 img, #box4 img {margin-bottom:55px;}
	
.middle {
	margin: 62px auto 75px auto;
	width:978px;
	background-color:#fff;
	height:1%;}
	
.clearboth {clear:both;}

body { 
	font-family: 'Open Sans', Helvetica, Arial, Sans-Serif;
	font-weight:600;
	padding:0;
	margin:0;}
	
.gray.bottom {
	background-color:#b2b2b2;
	width:100%;
	height:1000px;}

@media screen and (min-width: 1060px) and (max-width:12018px){
#page {width: 1060px;}
}

span.tribe-country-name {
    display: none;
}
#tribe-events-day .tribe-events-content {width:100%;}
.tribe-events-day .tribe-events-day-time-slot h5{background-color:#001A57;line-height:1.2em; color:#fff; padding:10px 35px;}
