/*
 Theme Name:     iamogre Theme
 Theme URI:      https://iamogre.com/
 Description:    Divi Child Theme for iamogre.com
 Author:         Cory Hughes\
 Author URI:     https://iamogre.com/
 Template:       Divi
 Version:        0.0.2
*/


/* =Theme customization starts here
------------------------------------------------------- */

/* ROOT VARS AND STUFF */
:root {
  /* colors */
  --ogre-color-green: 115, 186, 161;
  --ogre-color-pink: 254, 112, 238;
  --ogre-color-yellow: 254, 230, 112;
  --ogre-color-red: 254, 112, 112;
  --ogre-color-blue: 112, 190, 254;
  --ogre-color-darkgreen: 31, 111, 83;
  --ogre-color-green-hex: #73BAA1;
  --ogre-color-pink-hex: #fe70ee;
  --ogre-color-yellow-hex: #fee670;
  --ogre-color-red-hex: #fe7070;
  --ogre-color-blue-hex: #70befe;
  --ogre-color-darkgreen-hex: #1f6f53;

  /* spacing and borders */
  --ogre-padding: 1rem;
  --ogre-padding-xsmall: 0.25rem;
  --ogre-padding-small: 0.5rem;
  --ogre-padding-medium: 1rem;
  --ogre-padding-large: 2rem;

}

/* DIVI RESETS */
#content-area #left-area {
  width: 100%;
}

#main-content .container::before {
  right: 0;
  background: none;
}

/* HELPERS */


/* NAVIGATION */
#ogre-main-nav {
  display: flex;
}
#ogre-main-nav .et_pb_menu_inner_container {
  display: flex;
  flex-direction: column;
  flex: 1;
  /* justify-content: center; */
}
#ogre-main-nav .et_pb_menu__logo-wrap {
  margin-bottom: 0 !important;
  margin: auto;
}
#ogre-main-nav .et_pb_menu__logo img {
  transition: all 0.125s ease-in-out;
}

#ogre-main-nav .et_mobile_menu {
    border-radius: 1rem;
    overflow: hidden;
}
#ogre-main-nav .et_mobile_menu li a {
    text-align: center !important;
}

/* BUTTONS */
.ogre-button {
  --background: var(--color, var(--ogre-color-green));
  --text: var(--rt-color-white, #ffffff);
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  background: var(--background);
  color: var(--bgcolor, var(--text));
  border: solid 1px var(--background);
  border-radius: 1000rem;
  padding: 0.5em 1em;
  display: inline-block;
  margin: 0;
  transition: .2s ease-in-out;
  white-space: normal;
  text-transform: uppercase;
}

@media (hover: hover) {
  .ogre-button:hover {
    --background: #fe70ee;
    border: solid 1px #fe70ee;
  }
}

.ogre-button.full-width {
  display: block;
  text-align: center;
}

.ogre-button.small {
  font-size: 1rem;
  padding: 0.25rem 1rem;
}


/* PORTFOLIO STYLES */
.ogre-portfolio-3col {}

.ogre-portfolio-3col .et_pb_portfolio_grid_items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  text-align: center;
}

.ogre-portfolio-3col .et_pb_portfolio_grid_items .et_pb_portfolio_item {
  width: 100%;

}

.ogre-portfolio-3col .et_portfolio_image {
  border-radius: 0.5rem;
  overflow: hidden;
}


/* OGRE POST LIST */
.ogre-posts {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: auto;
}

.ogre-postlist {
  padding: var(--ogre-padding);
}

.ogre-postlist.columns-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.ogre-postlist.columns-3 .item {
  width: 100%;
}

.ogre-postlist.columns-3 .item .cover {
  background-size: cover;
}

@media (hover: hover) {
  .ogre-postlist.columns-3 .item:hover .cover {
    background-position-y: unset;
  }
}


@media (max-width: 800px) {
  .ogre-postlist.columns-3 {
    grid-template-columns: 1fr;
  }
}

.ogre-postlist .item.color,
.ogre-postlist .item.green {
  --background: var(--ogre-color-green);
}

.ogre-postlist .item.pink {
  --background: var(--ogre-color-pink);
}

.ogre-postlist .item.yellow {
  --background: var(--ogre-color-yellow);
}

.ogre-postlist .item.red {
  --background: var(--ogre-color-red);
}

.ogre-postlist .item.blue {
  --background: var(--ogre-color-blue);
}

.ogre-postlist .item.darkgreen {
  --background: var(--ogre-color-darkgreen);
}

.ogre-postlist .item {
  border-radius: var(--ogre-padding);
  overflow: hidden;
  max-width: 720px;
  max-height: 400px;
  margin: auto;
  margin-bottom: var(--ogre-padding);
}

.ogre-postlist .item .link {
  display: grid;
}


.ogre-postlist .item .cover {
  background: rgb(var(--background));
  grid-area: 1/1;
  min-height: 300px;
  display: block;
  background-repeat: no-repeat;
  background-size: 120%;
  background-position-y: bottom;
  background-position-x: center;
  transition: all 0.4s ease-in-out;
}

@media (max-width: 800px) {

  .ogre-postlist .item .cover,
  .ogre-postlist.column-3 .item .cover {
    min-height: 250px;
    background-size: cover;
  }
}

.ogre-postlist .item .cover img {
  opacity: 0;
  visibility: hidden;
}

.ogre-postlist .info {
  display: flex;
  grid-area: 1/1;
  background: rgb(115, 186, 161);
  background: linear-gradient(rgba(var(--background), 1) 25%, rgba(var(--background), 50%) 100%);
  padding: var(--ogre-padding);
  transition: all 0.4s ease-in-out;
}

@media (hover: hover) {
  .ogre-postlist .item:hover .cover {
    background-position-y: top;
  }

  .ogre-postlist .item:hover .info {
    opacity: 0.1;
    transition: all 0.4s ease-in-out;

  }
}

.ogre-postlist .info .meta {
  flex: 1;
}

.ogre-postlist .info .meta .date {
  color: rgba(0, 0, 0, 0.75);
}

.ogre-postlist .info .meta .title {
  color: rgba(0, 0, 0, 0.95);
}

.ogre-postlist .info .category {
  flex: 0;
  min-width: 80px;
}


/* ====== UNSORTED ====== */

.et_header_style_left #et-top-navigation,
.et_header_style_left .et-fixed-header #et-top-navigation {
  padding-top: 0;
}

/* This handles the carat to the right of the megamenus */
#quadmenu .quadmenu-navbar-nav li.quadmenu-item.open>a>.quadmenu-item-content>.quadmenu-caret::before {
  content: '\e900';
  transform: rotate(180deg);
}

/* #main-header {
    background: yellow;
} */

/* This is trying to fix the nav+search thing...
Should also make it so that the logo is inbetween 2 navigation menus */
.et-cart-info,
#et_top_search,
.et_header_style_centered #et_top_search {
  display: none !important;
}

.et_header_style_centered #top-menu-nav #quadmenu.quadmenu-is-horizontal .quadmenu-navbar-nav>li>a {
  padding-bottom: 25px !important;
}

b #et-top-navigation {
  max-height: unset;
  margin-top: -81px;
  pointer-events: none;
}

/* #et_top_search {
    margin: 0;
}
#et_top_search #et_search_icon {
    padding-top: 15px;
}
#et_top_search #et_search_icon:before {
    padding: 24px 24px;
    display: inline-block;
    background-color: transparent;
    color: #4c6719;
    left: -4px;
    top: -11px;
}
#et_top_search #et_search_icon:hover:before {
    background-color: #4c6719;
    color: #fff;
} */

.menu-split-after-this-item {
  margin-right: 275px !important;
}

/* #et_top_search {
    margin-right: 50px!important;
    display: none;
}
.et_search_outer .et_search_form_container {
    max-width: 800px !important;
}
.et_header_style_centered .et-search-form input,
.et_header_style_centered span.et_close_search_field {
    top: 0%;
}
.et-search-form input {
    width: 95%;
    font-size: 18px;
    padding: 0.5em;
    background: #efefef;
    border-radius: 10px;
} */

.et_header_style_centered #main-header .container {
  max-width: 100%;
  width: 100%;
}

.et_header_style_centered #main-header .logo_container {
  height: 75px;
  padding: 0;
}

#logo {
  max-height: 100%;
  z-index: 100;
}

#et-top-navigation {}


/* Divi Blog Module Customization */

.imo-post-article article.type-post {
  background: #73BAA1;
  /* 	border: 1px solid #73BAA1; */
  border-radius: 1em;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.imo-post-article article.type-post h2.entry-title {
  padding: 1em 1em 0.5em 1em;
  z-index: 20;
  /* 	position: absolute;
	top:0;
	left: 0; */
  background: #73BAA1;
  width: 100%;
}

.imo-post-article article.type-post p.post-meta {
  font-size: 22px;
  padding: 0em 1em 2.5em 1em;
  background: #73BAA1;
  background: linear-gradient(0deg, rgba(34, 193, 195, 0) 0%, rgba(115, 186, 161, 0.9808123933167017) 50%);
  text-transform: uppercase;
}

.imo-post-article article.type-post a.entry-featured-image-url {
  height: 100%;
  margin-bottom: 0;
  z-index: 0;
  opacity: 0.5;
  display: none;
}

.imo-post-article article.type-post a.entry-featured-image-url img {}

.imo-post-article article.type-post div.post-content {
  display: none;
}

.imo-post-article .et_pb_post {
  margin-bottom: 1em !important;
}