/*
 Theme Name:     Bare bones for Divi
 Author:         Divi theme examples
 Author URI:     http://www.divithemeexamples.com
 Template:       Divi
 Version:        1.0
*/


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */


.learn_more::after{
  content: 'Learn More';
  color: #E31837;
  font-weight: 800;
  display: block;
  padding: 10px 0;
}

.flex{
  display: flex !important;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1%;
}

.flex.left{
  justify-content: flex-start !important;
}

.flex > div{
  padding: 10px;
}

.layout-3 > div{
  flex-basis: 32%;
}

.layout-4 > div{
  flex-basis: 24%;
}

@media screen and (max-width:900px) {
  .layout-3 > div, .layout-4 > div{
    flex-basis: 100%;
  }
}

.blurb_with_button{
  transition: all 0.5s;
  -moz-transition: all 0.5s; /* Firefox 4 */
  -webkit-transition: all 0.5s; /* Safari and Chrome */
  -o-transition: all 0.5s; /* Opera */
  transform: scale(1);
  position: relative;
  z-index: 999;
}

.blurb_with_button .et_pb_image_wrap{
  height: 250px;
  width: 100%;
}

.blurb_with_button .et_pb_image_wrap img{
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.cf_link{
  display: inline-block;
  background-color: #e31837;
  color: #fff !important;
  padding: 15px;
  margin: 15px 0;
  font-size: 24px;
}

.blurb_with_button.et_clickable::after{
  content: 'Learn More';
  display: inline-block;
  background-color: #e31837;
  color: #fff;
  padding: 15px;
  margin-top: 15px;
  font-weight: 700;
}

.blurb_with_button.et_clickable:hover{
  transform: scale(1.05);
}

.blurb_with_button:not(.et_clickable)::after{
  content: 'Coming Soon';
  display: inline-block;
  background-color: #3d3d3d;
  color: #fff;
  padding: 15px;
  margin-top: 15px;
  font-weight: 700;
}


.custom_flipbox{
  /* display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important; */
}

.custom_flipbox .et_pb_module_inner > .dsm-flipbox > .dsm_flipbox_child .et_pb_module_inner{
  padding: 100px 30px 50px 30px;
  height: 100%;
}

.custom_flipbox .et_pb_module_inner > .dsm-flipbox > .dsm_flipbox_child .et_pb_module_inner::before{
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 70px 70px;
  left: 0;
  top: 0;
  position: absolute;
}

.custom_flipbox .et_pb_module_inner > .dsm-flipbox > .dsm_flipbox_child:nth-child(1) .et_pb_module_inner::before{
  border-color: transparent transparent transparent #E31837;
}

.custom_flipbox .et_pb_module_inner > .dsm-flipbox > .dsm_flipbox_child:nth-child(2) .et_pb_module_inner::before{
  border-color: transparent transparent transparent #1ac60b;
}

.custom_flipbox .et_pb_module_inner > .dsm-flipbox > .dsm_flipbox_child .et_pb_module_inner::after{
  content: 'Click to Flip';
  right: 65px;
  top: 20px;
  position: absolute;
}

.custom_flipbox .et_pb_module_inner > .dsm-flipbox .dsm_flipbox_child_image{
  position: absolute;
  top: 15px;
  right: 10px;
  width: 50px;
  height: auto;
}

.custom_flipbox .et_pb_module_inner > .dsm-flipbox > .dsm_flipbox_child:nth-child(2) .dsm-content{
  overflow-y: auto;
  height: 300px;
}
