/* 
 Theme Name:   Codeguild GeneratePress Child Theme
 Theme URI:    
 Description:  Child theme of GeneratePress
 Author:       Revise Admin
 Author URI:   
 Template:     generatepress
 Version:      1.609
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/* Top menu: Tighten, add bottom border, transform to uppercase */
.main-navigation .main-nav ul li a {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  line-height: 40px;
}
.main-navigation {
  background-color: #ffffff !important;
  border-bottom: 1px #0c3182 solid;
  padding-bottom: 5px;
  margin-top: -10px;
}
.main-navigation li a {
  font-weight: 500;
  color: #5ba300;
  text-transform: uppercase;
}

/* Tigthen up header height */
.inside-header {
  padding-top: 10px;
  padding-right: 40px;
  padding-bottom: 0px !important;
  padding-left: 40px;
}

/* Tighten space between menu and content */
.one-container .site-content {
  padding-top: 10px;
  padding-right: 40px;
  padding-bottom: 40px;
  padding-left: 40px;
}
.entry-content {
  margin-top: 1em !important;
}

/* Make page title a little smaller */
h1 {
  font-size: 36px !important;
  margin-bottom: 10px !important;
}
h2 {
  font-size: 30px;
}

/* add a line above footer */
.site-footer {
  border-top: 1px #0c3182 solid;
}

/*------------------------------------------------------------
   Image positioning 
------------------------------------------------------------ */
.featured-image {
  float: right;
  margin-left: 40px;
  padding-bottom: 50px;
  width: 340px;
}

.image-on-left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  max-width: 350px;
}

.image-on-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 350px;
}

.headshot {
	width: 350px;
    float: right;
	margin-left: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	align: center;
}

.headshot img {
	width: 340px;
}

/* PDF cover download image */
.entry-content .download-cover {
  float: right; 
  width: 200px; 
  margin-left: 30px; 
  margin-right: 20px; 
  margin-bottom: 10px; 
  margin-top: -20px; 
  font-size: 14px; 
  font-weight: 400;
}

/*------------------------------------------------------------
Vertical menu
---------------------------------------------------------- */

.entry-content .breadcrumbs {
  font-weight: 400;
  font-size: 14px;
  /* color: #5ba300; */
  font-weight: 500;
  margin-bottom: 25px;
  margin-top: -15px;
  margin-left: 3px;
}
.entry-content .breadcrumbs a {
  font-weight: 500;
}

.entry-content .vtabs {
  width: 200px;
  float: left;
  font-weight: 500;
  color: #154578; 
  margin-left: 5px;
  margin-right: 35px;
  margin-top: 0px;
  margin-bottom: 15px;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 8px;
  padding-left: 0px;
  border-right: 1px solid #dcdcdc; 
  border-bottom: 1px solid #dcdcdc; 
  border-top: 1px solid #dcdcdc; 
}
.entry-content .vtabs:before {
  align-content: right;
  font-weight: 500;
  font-size: 15px;
  padding-top: 0px;
  margin-left: 0px;
} 
.entry-content .vtabs ul {
  display: block;
  margin-top: 10px;
  list-style: none;
  list-style-type: none;
  margin-left: 0px;
  margin-bottom: 5px;
}
.entry-content .vtabs ul li {
  clear: right;
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
  margin-left: 8px;
  list-style: none;
  text-decoration: none;
}
.entry-content .vtabs ul li a {
  display: block;
  font-weight: 500;
  line-height: 1.5;
  /* color: #0c3182; */
  /* color: #5ba300; green */
  color: #1e73be; 
  width: 100%; 
  text-decoration: none;
}
.entry-content .vtabs ul li a:hover {
  display: block;
  /* color: #0c3182; */
  color: #1e73be;
  width: 100%; 
  margin-left:-5px;
  text-decoration: none;
}

.entry-content .vtabs ul li.active {
  padding-left: 6px;
  font-weight: 600;
  /* color: #5ba300; */
  color: #154578;
  border-left: 5px solid #154578; 
  margin-left: 0px;
}

.entry-content .vtabs ul li.divider {
  border-bottom: 1px solid #dcdcdc;
  line-height: 5px;
  content: "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}

.vtabs-text {
  display: table;
  margin-top: 0px;
}

/*--------------------------------------------------------------
Content Views Plugin
See documentation on how to customize Content View display of events: 
https://docs.contentviewspro.com/show-events-events-manager-plugin/
--------------------------------------------------------------*/

/* Center arrows on either side */
.pt-cv-scrollable .carousel-control.left {
  left:0 !important;
}
.pt-cv-scrollable .carousel-control.right{
  right:0 !important;
}
.pt-cv-scrollable .carousel-control.left,.pt-cv-scrollable .carousel-control.right{
  position:absolute !important;
  margin-top:-25px !important;
  top:50% !important;
}
.pt-cv-scrollable .carousel-control span {
  background: white !important;
}
.pt-cv-scrollable .carousel-control:hover span {
  color: #5ba300 !important
}
.pt-cv-wrapper .carousel-control .glyphicon {
    color: #154578;
}
.pt-cv-scrollable:hover {
    cursor: pointer !important;
}
.pt-cv-scrollable {
  margin-top: 20px;
  margin-bottom: 15px;
}
.pt-cv-view .pt-cv-carousel-indicators {
  bottom: 20px;
}

/*--------------------------------------------
 Formidable customizations 
--------------------------------------------*/
/* Move description above field; first to move it to the top, then move label to the top */
.frm_top_container { 
  display: flex;
  flex-direction: column;
}
.frm_description {
  order: -1;
}
.frm_primary_label {
  order: -1;
}

/*--------------------------------------------
Search and Filter forms and results page (results.php)  
--------------------------------------------*/

.searchandfilter ul {
	margin:0;
	padding:0;
}

.wp-block-social-links {
  padding-bottom: 15px;
}

.searchandfilter ul li input[type="text"] {
    background-color: white;
  	padding: 4px;
    margin-top: 0px;
}

.searchandfilter ul li input[type="submit"] {
    background-color: #195dae;
    font-weight: 500;
  	padding-left: 6px;
    padding-right: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: 0px;
}

/* header text box search: submit button inline */
#search-filter-form-67126 {
    margin-bottom: 10px;
}

#search-filter-form-67126 ul li {
	  display: inline;
    margin-bottom: 10px;
}

/* web only text box search: submit button inline */
#search-filter-form-66926 {
    margin-bottom: 10px;
}

#search-filter-form-66926 ul li {
    display: inline;
    margin-bottom: 10px;
}

.searchandfilter ul li h4 {
    float: left;
    display: inline;
    text-align: left;
    width: 200px;
} 

/* Search results styling */
.teaser {
  display: block;
  padding-bottom: 40px !important;
  border-bottom: 1px solid #ccc;
}
.teaser_title {
    font-size: .9rem;
}
.teaser_content {
  height: 90%;
  padding-left: 24px;
  border-left: 1px #DCDCDC solid;
  /* border-left: 4px solid #e5e5e5; */
}

.teaser_description {
  font-size: .875rem;
}

.teaser_heading-link {
  margin-bottom: 2px;
}

.teaser_text_wrapper {
  margin-bottom: 12px;
}
.teaser_tag, .teaser_mobile-tag, .teaser_details, .teaser_contributors {
  font-size: .875rem;
}

/* Blue button that is accessible (color contrast ok) */
.button {
  background: #195dae !important; 
  color: white;
}

.multi-column-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
  grid-gap: 30px;
}

.graybox {
  background-color: #f3f3f3;
  padding: 10px;
  position: relative; 
  width: 100%;
}
.graybox h3 {
  border-bottom: 1px solid; 
  margin: 0 0 8px 0; 
  font-size: 18px;
  font-weight: 600;
}

.graybox p {
  margin-top: 12px;
  background-color: #f3f3f3;
}

/* -----------------------------
 * Youtube video grid and boxes
 -----------------------------*/

.videobox {
  background-color: #f6dea9;
  padding: 10px;
  position: relative; 
  width: 100%;
}
.videobox h3 {
  border-bottom: 1px solid; 
  margin: 0 0 8px 0; 
  font-size: 18px;
  font-weight: 600;
}
.videobox .video {
  position: relative; 
  width: 100%; 
  padding-top: 56.25%;
}
.videobox iframe {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
}
.videobox p {
  margin-top: 12px;
  background-color: #f6dea9;
}

/*--------------------------------------------------------------
Style download types with icons 
Good source: https://icons8.com/ or www.shareicon.net
CSS adapted from
https://www.sitepoint.com/community/t/auto-pdf-link-icon-but-not-for-image-links/206003 
-------------------------------------------------------------*/
a[href $='.pdf'], a[href $='.PDF'] { 
  padding-left: 26px;
  background: transparent url(/wp-content/uploads/2024/02/Icon-PDF-22.png) no-repeat center left; 
}
a[href $='.zip'] { 
  padding-left: 26px;
  background: transparent url(/wp-content/uploads/2024/02/Icon-ZIP-22.png) no-repeat center left; 
}
a[href $='.docx'], a[href $='.doc'] { 
  padding-left: 28px;
  background: transparent url(/wp-content/uploads/2024/02/Icon-DOC-22.png) no-repeat center left;
}
a[href $='.pptx'], a[href $='.ppt'] { 
  padding-left: 28px;
  background: transparent url(/wp-content/uploads/2024/02/Icon-PPT-22.png) no-repeat center left;
}
a[href $='.xlsx'], a[href $='.xlsm'], a[href $='.xls'] { 
  padding-left: 28px;
  background: transparent url(/wp-content/uploads/2024/02/Icon-XLS-22.png) no-repeat center left;
}
a[href $='.be'], a[href $='.mp4'], a[href *='youtu.be'], a[href *='youtube.com'], a[href *='vimeo.com'], a[href *='adobeconnect.com'] { 
  padding-left: 28px;
  background: transparent url(/wp-content/uploads/2024/02/Icon-Youtube-24.png) no-repeat center left;
}

/* Style external links to add icon/arrow out */
a[href^="http"]:not([href*="informalscience.org"]):not([href*="revisestage"]):after { 
  font-family: "FontAwesome";
  content: "\f08e";
  font-size: 10px;
  padding-left: 3px;
}
