/*
 Theme Name:     SAR - Divi Child Theme
 Author:         Garret P Vreeland
 Author URI:     http://arraydesignstudio.com
 Template:       Divi
 Version:        V1.0
 Description:    A child theme built for SAR
 Wordpress Version: 4.7.5
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */



/* temporary button size fix for slider */

#page-container .et_pb_fullwidth_slider_0.et_pb_slider .et_pb_button {
    border-width: 1px !important;
    border-radius: 0px !important;
    font-size: 18px !important; /* was 22px */
}


/* text alterations */

/* added 8/7/17 font fix */
/* body, input, textarea, select {
    font-family: "Lato",Helvetica,Arial,Lucida,sans-serif;
    font-weight: 400; 
} */

/* added 8/7/17 font fix */
/* p {
	font-weight: 400;
} */

h4 {line-height: 1.3em !important;}



/* altered 8/7/17 font fix */
div.et_pb_text_inner h1 {
	padding-bottom:16px;
	padding-top:20px;
	color: #000000; /* #5b5b5b; */
	/* font-size: 30px !important; */
	border-bottom:1px solid #d9d9d9;
	margin-bottom:24px;
	/* font-weight:300; */
	line-height: 1.3em;

} 

/* altered 8/7/17 font fix */

div.et_pb_text_inner h2 {
	padding-bottom:16px;
	padding-top:20px;
	color: #000000; /* #5b5b5b; */
	font-size: 24px !important;
	line-height: 1.3em;
}
 
 /* altered 8/7/17 font fix */

div.et_pb_text_inner h4 {
	/* padding-bottom:16px; */
	/*font-size: 20px !important; */
	color: #000000; /* #5b5b5b; */
	padding-bottom: 0px;
	margin-bottom:0.5em;
	font-weight: bold;
	line-height: 1.3em;
}

/* altered 8/7/17 font fix */

b, strong {
	/* color: #000000; */ /* #5b5b5b; */
	font-weight: 600;
} */

sup {
    bottom: 0.3em;  /*tame those huge superscripts! */
}

/* link color alterations - link weight! */

div.et_pb_text_inner a:link {
	font-weight:normal;
	color: #cd7721;
} 

/* OL List style (numbers outside, not flush) */
#left-area ol, .entry-content ol, .comment-content ol, body.et-pb-preview #main-content .container ol {
    list-style-position: inside;
}


/* Slider TITLES change 8/20/17 */
.et_pb_slide_description .et_pb_slide_title {
    font-weight: 500;
}



/* hide SECONDARY NAV in Mobile Menu (only links, not number or email) */


#mobile_menu li:not([id]) { display:none !important; }


/* call to action on front page below slider! */

 .sar-mission-statement h3 {
line-height: 1.4em;
font-weight:300;
font-size: 20px;
} 


/* allinone event calendar */

h1.entry-title {
line-height: 1.3em;
}

.timely .ai1ec-agenda-view .ai1ec-event-title {
font-size: 16px !important;
line-height: 1em !important;
padding-bottom: 25px !important;
}

.ai1ec-posterboard-view .ai1ec-event-title {
    color: #555;
    font-family: "Open Sans", Open Sans, Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    font-weight:500;
    line-height: 18.9px;
}

.ai1ec-title-buttons .ai1ec-btn-group {
    margin-left: 0px;
}

.ai1ec-event {font-size: 120%;}

.timely p {
    font-size: 120%;
    line-height: 1.5em;
}

.ai1ec_event .post-meta   /* hide post meta */
{
	display: none;
	padding-bottom:10px;
}

.ai1ec-event-title {font-size:90%;}


/* remove line on main calendar */
#main-content .container::before {
    position: absolute;
    top: 0;
    width: 0px;
    height: 100%;
    background-color: #e2e2e2;
    content: "";
}

/* leave line on single event */
.single-ai1ec_event #main-content .container::before {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #e2e2e2;
    content: "";
}

/* below, change widths of content, sidebar and realign line on individual calendar listings */

.single-ai1ec_event #left-area {width: 64%;overflow:hidden;float:left;} /* lost right side sidebar, added overflow and float */
.single-ai1ec_event #sidebar {width: 34%; padding-left:25px;} /* lost right side sidebar, added padding-left (original 35%) */

/* below, second part of realigning line ... removed class: .et_right_sidebar between .ai1ec and #main */

.single-ai1ec_event #main-content .container::before {
    right: 35% !important;
}

/* fix stream title height */

.ai1ec-stream-view .ai1ec-event-title {
    line-height: 1.3em;
    overflow: visible; 
    margin-bottom:20px;
}

.ai1ec-event-meta {}

/* Widget (menu/sidebar) specific CSS */

.et_pb_widget a {
    color: #fff;
}

.et_pb_widget a:hover {
    color: #f49331;
} 

/* menu specific - MEGAMENU - CSS */

.megamenu-subcat {
  font-family: 'Lato light', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
}

.menu-fontlight {
  font-family: 'Lato light', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
}

.menu-fontlight-two {
  font-family: 'Lato light', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  line-height: 1.3em !important;
}


.menu-special {
color: #990000 !important;
}



/* DIVI COLOR SCHEME ALTERATIONS TO BASIC ORANGE COLOR SCHEME */

.et_color_scheme_orange #top-header {
    background: #00a9ab !important;
}

.et_color_scheme_orange a {
    color: #f49331;
}

/* footer and footer widget */

#main-footer {
background-color: #675f58 !important;
}

#main-footer .footer-widget h4 {
    color: #ffffff !important;
    font-size:18px;
    font-weight:300;
    padding-bottom:8px;
    margin-bottom:12px;
    border-bottom: 1px solid #ffffff;
}

.footer-widget .et_pb_widget div, .footer-widget .et_pb_widget ul, .footer-widget .et_pb_widget ol, .footer-widget .et_pb_widget label {
    line-height: 1.7em !important;
    font-weight: 500;
}

#footer-bottom {
background-image: url(https://sarweb.org/wp-content/uploads/2017/04/cornpattern-1.jpg);
	background-size: contain;
}

#footer-bottom a {color: #fff;}


/* Setting the breakpoint of the mobile menu */
@media only screen and ( max-width: 1154px ) {
#top-menu-nav, #top-menu {display: none;}
#et_top_search {display: none;}
#et_mobile_nav_menu {display: block;}
}

small {font-size:80%;}


.et_pb_tab li {margin-bottom:10px;}

.residentscholars h2 {line-height:1.5em;margin-bottom:10px;}
.residentscholar_title a {color:#ffffff !important;}
.residentscholar_title a:link {color:#ffffff !important;}


/* IARC titles (breadcrumbs), special formatting */

.iarc_breadcrumb a {
	color:#ffffff !important;
	}

.iarc_breadcrumb .et_pb_text_inner h1 {
	border-bottom:none;
	padding:0px;
	}
	
.iarc_breadcrumb div.et_pb_text_inner h1 {
    margin-bottom: 0px;
}



/* Scholar Programs titles (breadcrumbs), special formatting */

.scholarprograms_breadcrumb a {
	color:#ffffff !important;
	}

.scholarprograms_breadcrumb .et_pb_text_inner h1 {
	border-bottom:none;
	padding:0px;
	}
	
.scholarprograms_breadcrumb div.et_pb_text_inner h1 {
    margin-bottom: 0px;
}



/* Sar Press category titles (breadcrumbs), special formatting */

.sarpress_category_title a {
	color:#ffffff !important;
	}

.sarpress_category_title .et_pb_text_inner h1 {
	border-bottom:none;
	padding:0px;
	}
	
.sarpress_category_title div.et_pb_text_inner h1 {
    margin-bottom: 0px;
}
	
	
/* Sar Press book titles (individual pages) */

.sarpress_book_title .et_pb_text_inner h1 {
	border-bottom:none;
	padding-bottom:8px;
	margin-bottom: 0px;
	}


.et_pb_slide_content {margin-top: 25px;margin-bottom:15px;}


/* pushing anchor tags down below nav */
.anchor {
padding-top: 200px;
margin-top: -200px;
}

/* scholar position formatting - scholarship */
.et_pb_member_position {
font-family: Lato, Arial, sans-serif;
color: #333333;
font-weight:300;
font-size:110%;
} 

/* add space between list items */

.et_pb_text ul, .et_pb_text ol { margin: 30px; }
.et_pb_text li { margin-top: 16px; }


/* et-box shadow formatting */



/* menu button */


/* easy caption size for images */

.sar-caption {
font-size: 80%;
line-height: 1.4em;
}

/* hide author and date from search results */
.search-results .post-meta {
  display: none;
}

/* legacy circle styling in mega menu */
.legacy-menu {
    padding-top: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-weight: bold;
}

/* hide sidebar on Search results page */
.search-results #sidebar {display:none;}

/*** Take out the divider line between content and sidebar ***/
.search-results #main-content .container:before {background: none;}
 
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
.search-results #left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}


/* easy caption size for images */

.sar-caption {
font-size: 80%;
line-height: 1.4em;
}

/* fix those WP image boxes */
.wp-caption {
    background-color: #ffffff;
    border-bottom: 4px solid #00a9ab;
    border-top:0px;
    border-right:0px;
    border-left:0px;
    margin-bottom: 10px;
    max-width: 96%;
    padding: 4px 8px 8px;
    text-align: left;
}

.wp-caption p.wp-caption-text {
margin-top:5px;
line-height: 1.5em;
font-size: 14px;
font-style: italic;
}

/* HR rule color */

hr {color: #d5d5d5;}

.et_pb_team_member hr  {
	border: 0; 
	height: 1px; 
	background: #333; 
	background-image: linear-gradient(to right, #ccc, #333, #ccc);
	}


/* dropcap - [dropcap]letter[/dropcap] */

.et-dropcap {
    font-size: 95px;
    line-height: 0.7;
    color: #9ae5d3;
    font-family: Times;
    padding-top: 10px;
}

/* sar menu left - push content to left of secondary menu */

#top-header #et-secondary-menu { width: 100%; }
#top-header #et-secondary-nav { width: 100%; }

.sar-menu-right {float:right !important;}


/* border around DONATE button */

#top-header .container {padding-top: 0.4em !important;}


#et-secondary-nav > li:last-child {
    margin-right: 20px;
}

.sar-button-shim {padding-top: 0.3em !important;}


.sar-button-border {}

.sar-button-border a {
-moz-osx-font-smoothing: grayscale;
background: #f7931e none repeat scroll 0 0;
/* border: 2px solid; */
border-radius: 4px;
color: #ffffff !important;
cursor: pointer;
line-height: 1.7em;
margin: 0px auto;
padding: 0 8px !important;
transition: all 0.2s ease 0s;
}
.sar-button-border a:hover{
background-color:#f49331;
}


/* Toggle close for ACCORDIONS, specificially in SCHOLARS */
.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "\e04f";
}

/* Toggle Titles, line height */

.et_pb_toggle_title {line-height: 1.3em;}








/* ----------- THE FIVE VIEWPORT SIZES ARE BELOW - SPECIFIC FIXES FOR SMARTPHONE/TABLET --------------------------- */

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {

/* staley prize callout - original size */
.accordion-callout {margin: 1em 2em 1em 2em; padding:2em; border: 1px dotted #d5d5d5;}

/* IARC Seminars - Grid Gallery bottom margin */
.et_pb_gallery_item { margin-bottom: 1em !important; }
  
  
}



 
/*** Responsive Styles Standard Desktop Only / original minimum 1100***/
@media all and (min-width: 980px) and (max-width: 1405px) {
 
 /* staley prize callout - original size */
 .accordion-callout {margin: 1em 2em 1em 2em; padding:2em; border: 1px dotted #d5d5d5;}
 
 /* IARC Seminars - Grid Gallery bottom margin */
.et_pb_gallery_item { margin-bottom: 1em !important; }
 
}




 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
 
 /* staley prize callout - original size */
 .accordion-callout {margin: 1em 2em 1em 2em; padding:2em; border: 1px dotted #d5d5d5;}
 
 /* IARC Seminars - Grid Gallery bottom margin */
.et_pb_gallery_item { margin-bottom: 1em !important; }
 
}



 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
 
 /* staley prize callout - original size */
 .accordion-callout {margin: 1em 2em 1em 2em; padding:2em; border: 1px dotted #d5d5d5;}
 
 /* IARC Seminars - Grid Gallery bottom margin */
.et_pb_gallery_item { margin-bottom: 1em !important; }
 
}



 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
	
/* news titles on phone layout */	
.et_pb_portfolio_item h2, .et_pb_post h2, .et_pb_title_container h1 {
    font-size: 24px;
    line-height: 1.3em;
}
 
 /* staley prize callout - narrower padding, smaller font */
 .accordion-callout {margin: 0.5em 0.8em 0.5em 0.8em; padding:0.8em; border: 1px dotted #d5d5d5;font-size: 90%;}
 
 /* IARC Seminars - Grid Gallery bottom margin */
.et_pb_gallery_item { margin-bottom: 1em !important; }
 
}



 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
 
  /* staley prize callout - narrowest padding, smallest font */
 .accordion-callout {margin: 0.3em 0.6em 0.3em 0.6em; padding:0.6em; border: 1px dotted #d5d5d5;font-size: 90%;}
 
 /* IARC Seminars - Grid Gallery bottom margin */
.et_pb_gallery_item { margin-bottom: 1em !important; }
 
 
}




/*** SLOWING DOWN THE ROLLOVER MENUS - MEGA AND PULLDOWNS ***/

@media (min-width: 981px) {
    .et-dropdown-removing > ul {
        display: block !important;
    }
    .nav li ul {
        -webkit-transition: .3s ease-in-out .1s;
        transition: .3s ease-in-out .1s;
    }
    .nav li ul:hover {
        -webkit-transition: 0.3s ease-in-out 0s !important;
        transition: 0.3s ease-in-out 0s !important;
    }
    #et-top-navigation nav > ul > li:hover ~ .et-dropdown-removing > ul {
        display: none !important;
    }
}




/*** vertical align script ***/

.et_pb_equal_columns >.et_pb_column {
margin-top:auto;
margin-bottom:auto;
}


/*** PULLQUOTES From ET ***/

/*pullquotes css*/
 
/*Pull quote text styling*/
blockquote.et-pullquote p {
font-size: 22px;
line-height: 35px;
font-style: italic;
letter-spacing: 1px;
color: #666;
font-weight: 300;
}
 
/*Pull quotes with open quotation mark*/
 
blockquote.et-pullquote.left.quote, blockquote.et-pullquote.right.quote{
position: relative;
border-left: none;
}
 
blockquote.et-pullquote.left.quote:before {
    content: "\2F \2F";
    font-size: 75px;
    position: absolute;
    top: 10px;
    left: -16px;
    font-family: lato;
    color: #ba016f;
    z-index:-1000;
}
 
blockquote.et-pullquote.right.quote:before {
    content: "\2F";
    font-size: 75px;
    position: absolute;
    top: 10px;
    left: -16px;
    font-family: lato;
    color: #888;
}
 
/*Pull quotes with top border*/
blockquote.et-pullquote.left.topborder, blockquote.et-pullquote.right.topborder{
border-left: none;
border-top-width: 5px;
border-top-style: solid;
padding: 5px;
}
 
/*Pull quotes with dark background*/
blockquote.et-pullquote.left.dark, blockquote.et-pullquote.right.dark{
border-left: none;
padding: 10px;
background: #333;
}
 
blockquote.et-pullquote.left.dark p, blockquote.et-pullquote.right.dark p {
color: #fff;
}
 
@media all and (min-width: 700px) {
 
blockquote.et-pullquote{
padding: 0 20px;
max-width: 300px;
}
 
/*Pull quote Left*/
blockquote.et-pullquote.left{
    float: left;
    margin: 20px 20px 20px -10%;
}
/*Pull quote Right*/
blockquote.et-pullquote.right{
    float: right;
    margin: 20px -10% 20px 20px;
}
}

/* CHANGES FOR INTERACTIVE AR 2016-2017 */

.n10s-block h2 {
text-transform: uppercase;
}

.n10s-block h2 span {
    font-weight: 300 !important;
padding-left:3px;
}

.n10s-block .n10s-overlay {
    text-transform: none;
    font-size: 1.25em;
    backface-visibility: hidden;
    padding: 1em; /* changed from 2 */
    color: #fff;
}

/* Sidebar widget adjustments for blog */
.et_pb_sidebar_0.et_pb_widget_area li {
	font-size: 15px !important;
	line-height: 1.3em;
	margin-bottom:1.3em;
}
.et_pb_sidebar_0.et_pb_widget_area li a {
	display:block !important;
	font-size: 15px !important;
	line-height: 1.3em !important;
	color:#555555 !important;
}
.et_pb_gutters3 .et_pb_column_1_3 .et_pb_widget {
	margin-bottom: 2em;
}