/*
Theme Name: Divi Child MERIP
Description: Divi child theme for MERIP
Author: Amanda Ufheil-Somers
Version: 1.0.0
Template: Divi
*/

/* SHORTCODES ULTIMATE FIX */
@import url("https://merip.org/wp-content/plugins/shortcodes-ultimate/includes/css/shortcodes.css?ver=5.3.0");

/* Remove default Divi sidebar for MERIP pages */
#main-content .container:before {background: none;} /* revove gray dividing line */
 
#sidebar {display:none;} /* hide sidebar */
 
@media (min-width: 981px){ /* Expand the content area to fullwidth */
	#left-area {
	    width: 100%;
	    padding: 23px 0px 0px !important;
	    float: none !important;
	}
}

.merip-mini-cover {
	float: left;
	margin: 3px;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 92px;
	height: 120px;
	overflow: hidden;
}
.merip-attachment.dashicons {
	width: 100%;
	font-size: 2em;
	text-align: left;
}

.yowza {
	width: 160px;
}
.textwidget h5 {
	color: #FFF;
}
.merip-primer-title {
	border-bottom: 2px solid #FFF;
}
#_pp_form_register_form .pp-block {
	background-color: transparent !important;
}
#_pp_form_register_form #email {
	padding: .5em;
	border: 2px solid #FFF;
	background-color: transparent !important;
	color: #FFF !important;
	font-size: 1.5em;
}
.merip-email-sigup {
	background-color: #272727 !important;
}

/* Override main content id conflict with MERIP background color */
#main-content {
  background-color: #f9f9f9;
}

/* Home page section titles */
.merip-section-title {
  border-bottom: 2px solid #C30E0E;
  display: flex;
}
.entry-title.merip-title {
	font-size: 1.25em;
	padding-bottom: .10em;
	font-weight: bold;
}

/* Float home page issue image left */
@media all and (min-width: 768px) {
	.et_pb_posts img {
	float: left; margin-right: 2em;
	}
	.et_pb_posts article:after { /* Clear floated image */
	content: ""; display: table; clear: both;
	}
}

/* How to Cite styling */
.how-to-cite {
  padding-top: 2em;
}

/* Post entries */
.merip-wrap {
	margin-bottom: 2em;
}
.post-content p {
  line-height: 1.25;
}

/* Table Styling: Table of Contents and Author Articles */
.meriptable {
  font-family: 'PT Sans Narrow';
  font-size: 1.125em;
  line-height: 1.7em;
  width: 100%;
}
.meriptable a {
  color: #272727;
}
.meriptable a:hover {
  color: #c30e0e;
}
.column-one {
  width: 60%;
}
.column-two {
  width: 40%;
}
.meriptable {
	border-collapse: collapse;
}
.meriptable thead {
  border-bottom: 2px solid #C30E0E;
}
.meriptable th { /* currently only applies to Author Articles table */
  font-size: 1.111em;
  font-weight: normal;
  text-align: left;
}
.meriptable.mtoc tr {
  border-bottom: 1px solid #ddd;
  padding: .5em 0;
}

/* Table Styling: Table of Contents tweaks */
h3.tableofcontents {
    margin: 15px 0px 5px;
    padding-bottom: 0;
}
/* search input styling tweaks */
.searchandfilter ul li {
  display: inline;  
}
input[type="text"], input[type="password"], input[type="tel"], input[type="email"], input.text, input.title, textarea, select {
  background-color: #f9f9f9;
  border: 1px solid #242424;
  font-family: PT Sans Narrow, Arial, sans-serif;
  font-size: 1em;
  color: #242424;
}
/* define color for collapsed menu hamburger */
span.mobile_menu_bar:before {
	color: #f9f9f9 !important;
}

/* Custom margins and padding for MERIP article meta */
.merip-data, 
.merip-meta {
	font-size: 1em;
  line-height: 1em;
  margin-top: 0;
	padding: .5em 0;
}
.merip-data a, 
.merip-meta a, 
.merip-data a:hover, 
.merip-meta a:hover {
  color: #c30e0e;
}
.et_pb_image_container {
	margin: 0;
}