/*
 Theme Name: SLF Liberty
 Theme URI: https://www.slfliberty.org/
 Description: Custom theme for SLFLiberty.org, based on Divi
 Author: Lighthouse Digital Results
 Author URI: https://lighthousedigitalresults.com
 Template: Divi
 Version: 2.0.0
*/

/*** HOME PAGE ***/
@media (max-width: 980px) {
  .home .et_pb_section_1.et_pb_section {
    margin-top: 0;
  }
}

/*** INTERIOR PAGE ***/
body.single #et-main-area,
body.archive #et-main-area {
  margin-top: 180px;
}

@media only screen and (min-width: 981px) {
  body.single #et-main-area,
  body.archive #et-main-area {
    margin-top: 144px;
  }
}

blockquote p,
.dipl_blog_slider p {
  padding-bottom: 1em !important;
}

.et_pb_widget_area_left {
  border: 0;
}

sup {
  font-size: 0.5em;
}

/* Menu Styling */
.home .et_pb_menu_0.et_pb_menu .nav li ul {
  background-color: #141347 !important;
}

.home .donate {
  background-color: #DE0909;
  border-radius: 50px;
  height: 40px;
  margin-top: 35px !important;
  margin-left: 5px !important;
  padding: 10px !important;
}

.home .donate:hover {
  border: white 1px solid;
  background-color: rgba(0, 0, 0, 0);
}

.donate a {
  padding: 0 !important;
}

.home .et_pb_menu_0 .mobile_nav .mobile_menu_bar:before {
  color: white !important;
}

/* Mobile menu styles */

@media only screen and (max-width: 1024px) {
  .home .donate {
    display: none !important;
  }

  .et_pb_section .et_pb_column {
    margin-bottom: 0 !important;
  }

  .et_pb_menu__wrap {
    padding-bottom: 5px;
    justify-content: center !important;
  }

  .et_pb_menu__logo {
    padding-left: 25%;
    padding-right: 25%;
  }
}

@media only screen and (max-width: 1024px) {
  body #page-container .et_pb_section .et_pb_button_0_tb_header {
    top: 0 !important;
  }
}

.et_mobile_menu {
  overflow-y: scroll !important;
  max-height: 60vh !important;
  -overflow-scrolling: touch !important;
  -webkit-overflow-scrolling: touch !important;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3)
}

/* Read More on Case Page */
.et-learn-more {
  border: none !important;
  margin-top: 20px;
}

.heading-more {
  padding: 0 !important;
  border-left: none !important;
  background: none !important;
}

.et-learn-more h3.heading-more span.et_learnmore_arrow {
  position: revert !important;
}

.et-learn-more span.et_learnmore_arrow span {
  display: none;
}

.et-learn-more .learn-more-content {
  border-top: none !important;
  padding: 20px 0 !important;
}

/*---- Replace the Search Button with an Icon----------*/

/*Hide the search button*/
.ds-icon-search input.et_pb_searchsubmit {
  background: transparent;
  color: transparent;
  border: none;
  width: 55px;
  z-index: 2;
}

/*Add padding to the search input field*/
.ds-icon-search input.et_pb_s {
  padding-right: 55px !important;
}

/*Add the icon*/
.ds-icon-search .et_pb_searchform:before {
  content: '55';
  position: absolute;
  font-family: 'ETModules';
  z-index: 1;
  right: 0;
  font-size: 22px;
  color: #666 !important;
  padding: 15px 20px;
}

/* Placeholder Text */
.et_pb_s {
  height: 40px !important;
}

/* History Page Tabs Style */
@media only screen and (max-width: 1024px) {
  .equal-tabs .et_pb_tabs_controls li {
    width: 100% !important;
    text-align: left;
  }
}

/* News page Read More btn */

.news-posts .et_pb_button {
  text-transform: capitalize !important;
}

/* News Releases */

.et_pb_post {
  margin-bottom: 30px !important;
}

.dp-dfg-layout-fullwidth .dp-dfg-item {
  padding: 15px;
  margin-bottom: 0;
}

.news-releases .dp-dfg-item:hover {
  background-color: #141347 !important;
  color: white;
}

.news-releases .dp-dfg-item:hover h2 {
  color: white;
}

/* Dropdown Menu */

.sub-menu a {
  font-size: 16px !important;
}

.et-menu li li a {
  padding: 6px 20px;
  width: 260px;
}

.nav li ul {
  position: absolute;
  padding: 20px 0;
  width: 300px;
}

.home .et-menu li li a {
  padding: 6px 20px;
  width: 260px;
}

.home .nav li ul {
  position: absolute;
  padding: 20px 0;
  width: 280px;
}

/* Home page social media links */

.et_pb_module .et_pb_social_media_follow .et_pb_social_media_follow_0 .et_pb_sticky_module .clearfix .et_pb_text_align_right .et_pb_bg_layout_light {
  text-align: right !important;
  margin: 0 auto !important;
}

/* Hide ReCaptcha Badge */

.grecaptcha-badge {
  visibility: hidden;
}

/*** FORM STYLING ***/
.gf_simple_horizontal_wrapper form {
  display: inline;
}

.gform_wrapper ul {
  list-style: none;
  padding: 0;
}

.gform_wrapper .gfield_required {
  color: #790000;
  margin-left: 4px;
}

.gform_wrapper .hidden_label label {
  display: none;
}

.gform_wrapper .gfield_label {
  font-weight: bold;
}

.gform_wrapper button,
.gform_wrapper input,
.gform_wrapper select,
.gform_wrapper textarea {
  border-radius: 3px;
  font-size: 100%;
  margin-bottom: 16px !important;
  padding: 6px !important;
  width: 100%;
}

.gform_wrapper .field_description_below .gfield_description {
  padding-top: 0;
  padding-bottom: 16px;
  font-style: italic;
}

.gform_wrapper div.charleft {
  color: #767676;
  font-size: .688em;
  line-height: 1em;
  margin-bottom: 16px !important;
  white-space: nowrap !important;
  width: 92% !important;
}

.gform_wrapper .gform_footer input.button {
  background: #DE0909;
  border: 2px solid #d8d8d8;
  border-radius: 3px;
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  padding: .3em 1em;
  text-transform: uppercase;
}

.gform_wrapper .gform_footer input.button:hover {
  background: #D12C2C;
  border: 2px solid transparent;
}

.footer-email-signup .gform_wrapper.gravity-theme .gform_footer {
  padding: 0;
}

