/*
 Theme Name:   Institute of Behavorial Science Microsite
 Theme URI:    https://generatepress.com
 Description:  GeneratePress child theme for CONVERGE Natural Hazards Center
 Author:       Ask WP Girl, LLC
 Author URI:   https://askwpgirl.com
 Template:     generatepress
 Version:      0.2
*/

/**
 * CONTENTS
 *
 * REFERENCE
 * Colors and fonts...............Site colors and fonts.
 *
 * STRUCTURE
 * Content...............Position
 *
 * TYPOGRAPHY
 * Paragraph............Last paragraph in Text Element zero margin.
 * Headings.............Entry title margin, gold square border.
 * Breadcrumbs..........Hover color on staff page.
 * Publications.........Indent text.
 * Lead Text............Color and size.
 * Call Out Text........Color and size.
 * Horizontal Rule......Color and margin.
 * Image alignment......Padding for right align and block display on mobile.
 * List Styles..........Padding and gold box.
 * Download List style..PDF icon for PDF template
 * 
 * DECORATIVE
 * Blue arrow divider...............Define blue arrow
 *
 * BUTTONS
 * Gold and Transparent button defined...............Check to see if used anywhere.
 *
 * HEADER
 * Transparent Header...............Position.
 * Navigation...............Style and add padding.
 *
 * GUTENBERG BLOCKS
 * Pullquote blockquote...............Box shadow.
 *
 * POST GRIDS AND LISTS
 * Post Grid.............Borders, excerpts, headings, pagination.
 * Feature Initiatvive.............Margin
 * Resource List.............Decorative
 *
 * SIDEBAR
 * Widget Styling
 *
 * FOOTER
 * Columns, hyperlinks, widget styling
 *
 * MISCELLANEOUS
 * Gallery styles for CRWS..........Put caption below photo.
 *
 */

/*------------------------------------*\
  #REFERENCE
\*------------------------------------*/

/* FONTS
-----------------------
	
	font-family:'Roboto', Helvetica, sans-serif;
	font-weight: 
		Black - 900
		Regular - 400
		Light - 300
*/

/* COLORS
-----------------------
	
	gold: #cfb87c
	dark grey: #565A5C
	light grey: #A2A4A3
	dark blue (buttons): #0277BD
	hover blue: #026baa
	text grey: #434343
	
	link color from branding site: #0277BD
	hover color from branding site: #B71C1C
		
*/

/*------------------------------------*\
  #STRUCTURE
\*------------------------------------*/

#content {
	position: relative;
}

#content a:not(.elementor-button) {
	font-weight: bold;
}

.content-align-left p,
.content-align-left h2 {
    text-align: left;
}

/*
.research-grid .elementor-widget-wrap {
    height: 380px;
}
*/

.leadership-grid article .leadership-loop {
	-webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.48);
	-moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.48);
	box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.48);
}

.breadcrumbs {
    
}

body {
    background: #fff;
}

.circle-photo img {
   border-radius: 50%; 
}

.narrow-text {
    max-width: 900px;
    margin: 0 auto;
}

/*------------------------------------*\
  #TYPOGRAPHY
\*------------------------------------*/

/**
 * Paragraph, Headings
 */

.elementor-element .elementor-text-editor p:last-child {
	margin-bottom: 0;
}

/*
h1.entry-title {
	margin-bottom: 20px;
}

h2.gold-square, h3.gold-square {
    position: relative;
    margin-top: 25px;
}

h2.gold-square:before, h3.gold-square:before {
    position: absolute;
    content: "";
    background-color: #cfb87c !important;
    width: 15px;
    height: 15px;
    margin-left: -24px;
    top: 15px;
}

h3.gold-square:before {
	width: 10px;
    height: 10px;
    top: 10px;
    margin-left: -20px;
}
*/

h3.elementor-post__title a:hover {
	color: #B71C1C;
}

.gold {
	color: #cfb87c;
}

.wp-caption-text {
    font-size: 75%;
    padding-top: 5px;
    opacity: .8;
}

h4 {
    font-size: 18px !important;
}

/**
 * Census table smaller font size
 */

table.census-regions {
	font-size: 14px;
	color: #000;
	max-width: 1000px;
    margin: 0 auto;
}

table.census-regions td {
	padding: 3px;
}


/**
 * Publication indent
 */
 
.pub-indent {
	padding-left: 1.5em;
    text-indent:-1.5em;
}

/**
 * Lead and Blue Text
 */
 
.blue-text {
	color: red;
}

.lead p {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
}

.lead p a {
  text-decoration: underline;
}

@media (min-width: 768px) {
	.lead p {
	    font-size: 20px;
	}
}

/**
 * Call Out Text
 */

.call-out p {
	color: #0277BD;
	font-size: 22px;	
}

/**
 * Horizontal Rule
 */


.elementor hr {
    margin: 40px auto !important;
    background-color: #ccc !important;
}

/**
 * Image Alignment
 */


@media (min-width: 768px) {
	.elementor-text-editor .alignright {
   		padding-left: 30px;
   		padding-bottom: 20px;
	}
}

@media (max-width: 768px) {
	.alignleft, .alignright {
	    float: none;
	    display: block;
	    margin-left: auto;
	    margin-right: auto;
	    margin-bottom: 20px;
	}
}

/**
 * List styles
 */

.elementor-widget-text-editor ul {
	margin-left: 1em;
}

.elementor-widget-text-editor ul li {
	list-style: none;	
	padding-bottom: 10px;
}

.elementor-widget-text-editor ul li:before {
  content: "\25A0";  
  color: #cfb87c; 
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; 
  width: 1em;
  margin-left: -1em; 
}

ul.narrow {
/* 	max-width: 900px; */
}

/* PDF Downloads Template List Styles */

.dlm-downloads .elementor-icon-list-icon .fa-file-pdf {
	font-family: "Font Awesome 5 Free";
    font-weight: 400;
}

.dlm-downloads li {
	list-style: none;
	padding-bottom: 8px;
}

.elementor-widget .dlm-downloads .elementor-icon-list-icon,
.dlm-downloads .elementor-icon-list-text {
	display: inline-block;
}

/* Misc Alignmment */

.text-left p {
	text-align: left;
}

/*------------------------------------*\
  #PAGE BANNERS
\*------------------------------------*/

/*  .page-banner */

@media (max-width: 1024px) {
	.page-banner {
		padding: 120px 20px !important;
		margin: 0 !important;
	}	
	.page-banner h1 {
		font-size: 42px !important;
		line-height: 120%;
	}
}

@media (max-width: 767px) {
	.page-banner  {
		padding: 60px 20px !important;
	}
	.page-banner h1 {
		font-size: 36px !important;
		line-height: 120%;
	}
}

/*------------------------------------*\
  #DECORATIVE
\*------------------------------------*/

/**
 * Blue Arrow Divider
 */

.arrow-divider {
    width: 0;
    height: 0;
    border-width: 35px 37.5px 0 37.5px;
    border-color: #0277BD transparent transparent transparent;
    border-style: solid;
    margin: 0 auto;
    text-align: center;
}

/*------------------------------------*\
  #BUTTONS
\*------------------------------------*/

a.button.gold {
	background: #cfb87c;
	color: #000;
	border-radius: 20px;
	margin-right: 20px;	
	padding: 5px 20px;
	margin-bottom: 15px;
}

a.button.gold:hover {
	color: #fff;
}
.transparent-button .elementor-button {
    color: #434343 !important;
    background-color: transparent !important;
    border: 1px solid #434343 !important;
}

.transparent-button .elementor-button:hover {
    color: #0277BD !important; 
}

.blue-button .elementor-button,
a.blue-button {
/* 	background: #0277BD !important; */
	padding: 12px 24px;
	font-weight: 300;
	letter-spacing: 1px;
	border-radius: 4px;
}

.blue-button .elementor-button:hover,
a.blue-button:hover {
/* 	background: #515151 !important; */
}

.gold-button .elementor-button {
	color: #000 !important;
	
}

/*------------------------------------*\
  #HEADER
\*------------------------------------*/

/**
 * Transparent Navigation
 */
 
.elementor-location-header {
	position: relative;
	z-index: 3;
}

.elementor-section.transparent-nav {
	position: relative;
	z-index:4;
}

.cu-logo img {
	max-width: 230px !important;
}


.site-logo img {
	max-width: 586px !important;
}

 .primary-nav .elementor-item {
	position: relative;
}

/* Hide home text */
/*
.home-text {
    text-indent: -9999px;
}
*/


/* Gold square after menu item */

.primary-nav .menu-item > .elementor-item:after {
	position: absolute;
	content: "";
	background-color: #cfb87c !important;
	width: 9px;
	height: 9px;
	opacity: 1 !important;
	right: -5px;
}

.primary-nav .menu-item.home-menu > .elementor-item:after {
	opacity: 0 !important;
}

.elementor-nav-menu .sub-arrow {
    display: none;
}

.primary-nav .menu-item.home-menu > .elementor-item {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/*------------------------------------*\
  #GUTENBERG BLOCKS FORMATTING
\*------------------------------------*/

.wp-block-pullquote {
	-webkit-box-shadow: 0px 0px 10px 0px rgba(150,150,150,1);
	-moz-box-shadow: 0px 0px 10px 0px rgba(150,150,150,1);
	box-shadow: 0px 0px 10px 0px rgba(150,150,150,1);
	padding: 0;
	margin: 20px 40px !important;
}

.wp-block-pullquote blockquote {
    border-left: none;
    padding: 40px;
    font-size: 1.1em;
    font-style: normal;
    margin: 0 0 1.5em;
    position: relative;
}

.wp-block-pullquote p {
    font-size: 26px;
    color: #0277BD;
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 15px;
}

.wp-block-pullquote cite {
    font-style: normal;
}

.wp-block-coblocks-accordion-item {
    border-radius: 4px;
    margin: 0 0 1em;
}

.wp-block-coblocks-accordion-item__title {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 15px;
    position: relative;
    font-family:'Helvetica Neue LT W05_97 Blk C';
}

.wp-block-coblocks-accordion-item__content {
    border: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
    border-top: 0;
    padding: 20px;
}

.wp-block-image .alignright {
	padding-left: 30px;
	padding-bottom: 30px;
}

/*------------------------------------*\
  #POST GRIDS and LISTS
\*------------------------------------*/

.page-grid h3 {
	padding: 0 20px;
}

.page-grid .elementor-post__excerpt {
	padding: 0 20px;
}

/**
 * Post List
 */

.ibs-post-list .elementor-posts .elementor-post__title {
    font-size: 18px;
    margin: 0;
}

.ibs-post-list .elementor-posts .elementor-post__meta-data,
.entry-meta {
    line-height: 1.3em;
    font-size: 12px;
    margin-bottom: 13px;
    color: #000;
    margin-top: 8px;
}

.ibs-post-list .elementor-post__excerpt,
#main .entry-content {
	position: relative;
	margin-top: 30px;
}

/*
.elementor-post__excerpt:before {
    content: "";
    position: absolute;
    top: -15px;
    background: url(assets/images/dotted-border.png);
    background-repeat: no-repeat;
    width: 184px;
    height: 5px;
    left: 0px;
    background-size: 100% 100%;
}
*/

.elementor-pagination {
	margin-top: 30px;
}

.page-numbers {
	border: 1px solid #ccc;
	padding: 5px 10px;
}

/* Featured Initiative */

/*
.featured-initiative .elementor-column-gap-no {
	margin: 0 auto !important;
}
*/

/* Resource List */

/*
.resource-title {
	position: relative;
}
*/

/*
.resource-title:before {
    content: "";
    position: absolute;
    bottom: -20px;
	left: 30px;
    background: url(assets/images/dotted-border.png);
    background-repeat: no-repeat;
    width: 184px;
    height: 5px;
    background-size: 100% 100%;
}
*/

/*------------------------------------*\
  #CUSTOM WIDGETS
\*------------------------------------*/

/**
 * Make home logos consistent height
 */

.home-gallery-logos .gallery-item  img{
	max-height: 113px;
	width: auto;
	max-width: 290px;
}

.home-gallery-logos .elementor-image-gallery .gallery-item {
	vertical-align: middle;
}


/**
 * Center logo in image box
 */

.logo-center figure {
	text-align: center;
}

/*------------------------------------*\
  #SIDEBAR
\*------------------------------------*/

/**
 * Sidebar Widget Heading
 */
 
 
.sidebar .widget h2.widget-title, 
.site-content .elementor-widget-sidebar .widget-title {
    color: #333333;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2em;
    margin-bottom: 15px;
    padding-top: 20px;
}

/*
.inside-left-sidebar:before, 
.site-content .elementor-widget-sidebar .widget-title:before {
    content: "";
    position: absolute;
    top: 0;
    background: url(assets/images/dotted-border.png);
    background-repeat: no-repeat;
    width: 239px;
    height: 5px;
    background-size: 100% 100%;
}
*/

.gold-border.elementor-widget-heading .elementor-heading-title,
h2.gold-border {
	position: relative;
	padding-bottom: 10px;
	margin-bottom: 60px;
}

/*
.gold-border.elementor-widget-heading .elementor-heading-title:after,
h2.gold-border:after {
	content:"";
	position: absolute;
	bottom: -40px;
	left: 0;
	background: url(assets/images/dotted-border.png);
	background-repeat: no-repeat;
	width:184px;
	max-width: 184px;
	height: 5px;
	background-size: 100% 100%;
}

h2.gold-border.center:after {
	left: auto;
	right: auto;
}

.gold-border.center.elementor-widget-heading .elementor-heading-title:after {
	bottom: -40px;
	left: 0;
	right: 0;
	margin: 0 auto;
}

.gold-border.top.elementor-widget-heading .elementor-heading-title {
	margin-bottom: 10px;
	padding-top: 50px;
}

.gold-border.top.elementor-widget-heading .elementor-heading-title:after {
	top: 0;
	bottom: auto;
}
*/

/*------------------------------------*\
  #MISC
\*------------------------------------*/

/**
 * Checksheets
 */
 

.checksheet-author-list p {
	margin-bottom: 0 !important;
}

ul.dlm-downloads {
	margin: -10px 0 0;
	padding-left: 20px;
}

/**
 * Covid Researchers logos
 */
 

.covid-researchers-logo .gallery {
	width: 900px; 
	max-width: 900px;
	margin: 0 auto !important;
}

.covid-researchers-logo .gallery-item  {
	height: auto;
	margin-bottom: 20px !important;
}

.covid-researchers-logo .gallery-item  img {
	max-width: 100%;
}

.elementor-image-gallery .gallery-item {
    vertical-align: middle !important;
}

/*------------------------------------*\
  #FOOTER
\*------------------------------------*/

.footer-columns {
	font-size: 13px;
	font-weight: 400;
}

.footer-columns a {
	color: #06598b;
}

.footer-columns h2.widget-title {
	font-size: 13px;
	color: #434343;
	text-transform: uppercase;
	margin-bottom: 8px;
	font-weight: 400;
}

@media (min-width: 1025px) {
	
	.footer-col-1 .widget_nav_menu .menu-item a {
		text-align: right;
		display: inherit;
	}
}

@media (max-width: 1025px) {
	.footer-columns .widget_nav_menu li.menu-item,
	.footer-columns h2.widget-title,
	.footer-text p {
		text-align: center !important;
	}	
	
	.footer-text p {
		max-width: 325px;
		margin: 0 auto;
	}
}

.menu-heading-center a, .menu-heading-program a {
	text-transform: uppercase !important;
	cursor: default;
}

.menu-heading-center {
	border-top: 1px solid rgba(0,0,0,.2) !important;
}

.copyright {
    font-size: 11px;
    color: #fff;
}

.site-footer .elementor-widget:not(:last-child) {
    margin-bottom: 10px;
}

.footer-donate-container {
	position: relative;
	margin-bottom: 30px;
}

.footer-donate-button {
    position: absolute;
    background: #0277BD;
    top: -20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100px;
    line-height: 1;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    padding-top: 7px;
}

.footer-donate-button:before {
    border-color: rgba(255, 255, 255, 0);
    content: "";
    position: absolute;
    bottom: -16px;
    width: 0;
    height: 0;
    left: 0;
    right: 0;
    border-style: solid;
    border-width: 15px 50px 0 50px;
}

.footer-donate-button:after {
    content: "";
    position: absolute;
    bottom: -15px;
    width: 0;
    height: 0;
    left: 0;
    right: 0;
    border-style: solid;
    border-width: 15px 50px 0 50px;
    border-color: #0277BD transparent transparent transparent;
}

a.footer-donate, a.footer-donate:hover {
	color: #fff !important;
}

.footer-donate-button:hover {
	background: #026baa;
}

.footer-donate-button:hover:after {
	border-color: #026baa transparent transparent transparent;
}

/* Footer Contact Information */

.black-footer a {
	color: #cfb87c !important;	
}

.black-footer a.button.gold {
	color: #000 !important;
}

.black-footer a:hover {
	text-decoration: underline;
}

.footer-mobile-logo {
	text-align: center;
	margin: 20px auto 30px auto;
	max-width: 200px;	
}

.footer-contact {
	color: #fff;
	font-size: 14px;
}

.footer-contact a {
	color: #cfb87c;
}

.footer-title {
	color: #cfba7d; 
	font-weight: bold;
}

/*------------------------------------*\
  #MISC
\*------------------------------------*/

.gold-bar {
    background: url(assets/images/dotted-border.png);
    background-repeat: no-repeat;
    width: 186px;
    height: 4px;
    background-size: 100% 100%;
}

/*
@media (max-width: 982px) {
	.staff-horizontal-image img {
		object-fit: cover;
		height: 300px !important;
		width: 300px !important;	
	}
}
*/
/*------------------------------------*\
  #EVENTS CALENDAR
\*------------------------------------*/

.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn {
	background-color: #0277BD;
}

.tribe-events .tribe-events-c-ical__link {
    align-items: center;
    background-color: #fff;
    border: 1px solid #0277BD;
    border-radius: 4px;
    color: #0277BD;
    font-weight: 700;
}

.tribe-common .tribe-common-c-svgicon {
    color: #0277BD;
}

.tribe-events .tribe-events-c-ical__link:active, .tribe-events .tribe-events-c-ical__link:focus, .tribe-events .tribe-events-c-ical__link:hover {
    color: #fff;
    background-color: #0277BD;
}

.tribe-common .tribe-common-h3 {
	background-color: #0277BD;
}

.tribe-common .tribe-common-h3 {
	color: #fff;
}

.tribe-common .tribe-common-c-btn:focus, .tribe-common .tribe-common-c-btn:hover, .tribe-common a.tribe-common-c-btn:focus, .tribe-common a.tribe-common-c-btn:hover {
    background-color: #0277BD;
}


/* Map icons */

.map-icons .elementor-widget-image-box img {
	height: 50px !important;
	width: auto;
}


.modal-dialog button:hover {
	background-color: transparent !important;
}

/*------------------------------------*\
  #ARCHIVE AND POST FORMATS
\*------------------------------------*/


/*
.category-grid-item {
	max-width: 31% !important;
	margin: 0 1% !important;
}
*/

.category-grid-item .elementor-image-box-content {
	padding: 0 25px;
}

.category-news .dce-meta-item {
 padding: 0 20px;
}

.news-loop h3,
.news-loop p {
	padding: 0 20px;
}

@media (min-width: 768px) {

	.presenter-image {
		width: 15%;
		float: left;
		margin-right: 20px;
		margin-bottom: 20px;
	}

}

.archive-webinar article {
   border-top: 20px solid #F4962C;
}

.archive-forum article .elementor-post__card {
  border-left: none;
  border-right: none;
  border-bottom: none;
}


body .blog-archive-grid article {
 min-height: 180px;
}

@media (min-width: 768px) {
	body .blog-archive-grid .elementor-post__thumbnail__link {
		width: 180px;
		position: absolute;
		left: 0;
	}
	
	body .blog-archive-grid .elementor-post__text,
	body .blog-archive-grid .elementor-post__meta-data {
		padding-left: 200px !important;
	}

	body .blog-archive-grid .elementor-post__badge {
		bottom: 10px !important;
		top: auto !important;
	}
}


.single-post .current-item {
 	display: none;
}

/* Data Image boxes */

.data-image-boxes img {
/* 	margin-bottom: -7px; */
	display: block;
	height: 330px !important;
	object-fit: cover;
}

.bottom-button {
	display: block;
	margin-top: 20px;
	margin-left: -20px;
}

@media (max-width: 1200px) {
	 .data-image-boxes img {
	  	height: 370px !important;
	}
}

@media (max-width: 996px) {
	 .data-image-boxes img {
	  	height: 420px !important;
	}
}

@media (max-width: 767px) {
	.data-image-boxes img {
		height: auto !important;
		width: 100% !important;
	}

	.data-image-boxes {
		max-width: 500px;
		margin: 0 auto;
	}
}

.data-image-boxes h3 {
	padding-top: 35px !important;
}

.data-image-boxes p {
	margin-bottom: 35px !important;
}

@media (max-width: 767px) {
	.data-image-boxes h3,
	.data-image-boxes p {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

}