/*
Theme Name: CommunityCommons Child Theme
Theme URI: http://simb.co/
Version: 1.0.2
description: >- Child Theme by SimBco
Author: Simeon Bateman
Author URI: https://www.simb.co
Template: Divi
*/

/* @import url("../Divi/style.css"); */

/* TABLE OF CONTENTS */
/* 1. LAYOUT */
/* FOOTER */
/* TABLE */
/*  NAVIGATION */
/* 2. BUTTONS */
/* 3. FORMS/INPUTS */
/* 4. MEDIA */
/* 5. TYPOGRAPHY  */
/* 6. UTILITIES */

/* 1. LAYOUT */
/* body {
	font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
} */
#et-boc {
  overflow-x: hidden;
}
.ip3-article-grid__container {
  max-width: 1080px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: stretch;
  justify-content: center;
}

.ip3-article-grid__container .ip3-article-grid__card {
  position: relative;
  /* height: 150px; */
  width: 250px;
  background-color: white;
  box-shadow: 0px 32px 80px -16px rgba(85, 103, 127, .3);
  padding: 15px;
  display: flex;
  flex-direction: column;
}
.ip3-article-grid__container .ip3-article-grid__card h3 {
  margin-top: 10px;
}

/* HEADER  */


/* FOOTER */



/* TABLE */


/* NAVIGATION */

/* -------------------- */

/* 2. BUTTONS */


/* 3. FORMS/INPUTS */


/* 4. MEDIA */


/* 5. TYPOGRAPHY */
/* Related Post Icons */
.related-post__icon {
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  filter: invert(82%) sepia(1%) saturate(0%) hue-rotate(43deg) brightness(96%) contrast(92%);
}
.related-post__icon:hover {
  cursor: pointer;
}
.related-post__favorite {
  background-image: url(/wp-content/themes/CommunityCommons/images/heart-regular.svg);
}
.related-post__favorite.checked {
  background-image: url(/wp-content/themes/CommunityCommons/images/heart-solid.svg);
}
.related-post__share {
  background-image: url(/wp-content/themes/CommunityCommons/images/share-solid.svg);
}
.related-post__embed {
  background-image: url(/wp-content/themes/CommunityCommons/images/code-solid.svg);
}
.close-modal-button {
  background-image: url(/wp-content/themes/CommunityCommons/images/close-x.svg);
  filter: invert(0%) sepia(8%) saturate(1639%) hue-rotate(96deg) brightness(104%) contrast(104%);
  margin-top: -5px;
  margin-right: -8px;
}

/* 6. UTILITIES */
/** Shortcode overlay */
.card-embed-overlay {
  position: fixed;
  background-color: rgba(0,0,0,0.4);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  overflow-x: hidden;
  overflow-y: auto;
}
.card-embed-popup {
  position: fixed;
  background-color: white;
  top: 100px;
  z-index: 1100;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0.2rem;
  padding: 15px;
  color: #6c757d;
}
.card-embed-popup .card-popup__heading {
  display: flex;
}
.card-embed-popup  h4 {
  border-bottom: 1px solid grey;
  margin-bottom: 15px;
  padding-bottom: 15px;
  width: 100%;
}
.card-embed-popup  h3 {
  margin-bottom: 5px;
  font-weight: 400;
}
.card-embed-popup  textarea {
  width: 100%;
  padding: 5px 5px 15px 5px;
}
.card-embed-popup.hide,
.card-embed-overlay.hide {
  display: none;
}

/*  SPECIFIC STYLES */

/** HIA Fields Shortcode */
.get_HIA_fields-shortcode {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: fit-content;
}
.et_pb_text_inner .get_HIA_fields-shortcode h3 {
  text-transform: none;
}
.get_HIA_fields-shortcode h3 {
  margin-bottom: 15px;
}
.get_HIA_fields-shortcode p {
  padding-bottom: 5px;
}
.get_HIA_fields-shortcode .hia-fields {
  display: flex;
  flex-direction: column;
}

/** HIA related Topics & Resources Shortcode */
.get_related_HIA_topics,
.get_related_HIA_resources {
}

.related_HIA_topic,
.related_HIA_resource {}

.related_HIA_topic {
  padding: 0;
}
.related_HIA_topic img,
.related_HIA_resource img {
  max-height: 150px;
  width: 100%;
  object-fit: contain;
}
.related_HIA_topic h3 {
  padding: 0px 5px 10px 5px;
}
.related_HIA_topic .topic-overlay,
.related_HIA_resource .resource-overlay {
  position: absolute;
  background-color:rgba(0,0,0,0.5);
  width: 100%;
}

.related_HIA_topic .topic-overlay__bottom,
.related_HIA_resource .resource-overlay__bottom {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background-color:rgba(0,0,0,0.5);
  width: 100%;
  height: 35px;
  bottom:  0;
}
.related_HIA_topic .topic-overlay h4,
.related_HIA_resource .resource-overlay h4 {
  color: white;
  text-align: center;
  padding: 10px 5px;
}
.related_HIA_topic .topic-body,
.related_HIA_resource .resource-body {
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Explore More banner */
.explore_more_row {
  max-height: 150px;
  display: flex;
  align-items: center;
}
.explore_more_row .explore_more-heading h1 {
  padding-left: 120px;
}
.explore_more_row .explore_more-image img {
  height: 50px;
  object-fit: contain;
  padding-right: 100px;
}

/* .right_image_slider .et_pb_slides .et_pb_slider_container_inner {
  display:flex;
} */

/*make both columns inline-block, relative and with a % width*/
/* .right_image_slider .et_pb_slides .et_pb_slider_container_inner .et_pb_slide_image, 
.right_image_slider .et_pb_slides .et_pb_slider_container_inner .et_pb_slide_description {
  display: inline-block;
  width: 50%;
  margin: 0;
  position: relative;
} */

/*target the image and add the order 2*/
/* .right_image_slider .et_pb_slides .et_pb_slider_container_inner .et_pb_slide_image {
  order: 2;
} */


/* .divi_page_et_theme_builder  */
/* .sbco_restrict_content {
  opacity: .5;
} */