/*
Theme Name: MyBenefits Child Theme
Theme URI: https://mbaileygroup.com
Version: 19.1
Description: A child theme for mybenefits.mbaileygroup.com.
Author: Mark Bailey, Jr.
Author URI: https://mbaileygroup.com
template: bb-theme
*/

/* Add your custom styles here... */

/*————————————————
COMMON CLIENT CUSTOMIZATIONS
————————————————*/

/*————————————————
Client Logo in Nav
————————————————*/

.fl-callout-photo-left .fl-callout-photo, .fl-callout-photo-left-text .fl-callout-photo {
    padding-right: 12px;
    width: 30%;
    vertical-align: middle;
  }

/* See Border Top for mobile menu if menu is changed to white */

/*————————————————
Page Background
————————————————*/

body {
    background: #F7F9FC !important;
  }

.fl-page-content {
    background: #F7F9FC !important;
}

/*————————————————
Paragraph Elements in Blog Posts
————————————————*/

.update-post p {
  line-height: 29px;
  margin: 0 0 25px 0;
}

/*————————————————
Paragraph Elements in FAQ Single Posts
————————————————*/

.faq-answer p {
  line-height: 29px;
  margin: 0 0 25px 0;
}

/*————————————————
File Download Description
————————————————*/

.file-download p {
  line-height: 29px;
  margin: 0 0 25px 0;
}

  /*————————————————
Nav
————————————————*/

.menu > li.current-menu-item > a {
  font-weight: bold;
  border-bottom: 3px rgba(255, 255, 255, 0.9) solid;
  padding-bottom: 5px;
  text-decoration: none;
}


.menu > li > a:hover {
  border-bottom: 3px rgba(255, 255, 255, 0.9) solid;
  padding-bottom: 5px;
  text-decoration: none;
}

.menu a {
    margin-left: 12px;
    margin-right: 12px;
    border-bottom: 3px solid transparent;
    transition: border-bottom .5s;
    padding-bottom: 5px !important;
    text-decoration: none;
}

/*————————————————
Callout Title
————————————————*/

body h2.fl-callout-title {
    padding-bottom: 0px;
}

/*————————————————
Buttons
————————————————*/

.fl-builder-content .fl-node-content a.fl-button span, .fl-builder-content .fl-node-content a.fl-button i {
  color: #FFF;
}

  /*————————————————
Documents Search Form
————————————————*/

.docs-search-large > input[type=search] {
  height: 50px;
  font-size: 18px;
  box-shadow: 0px 4px 10px 0px rgba(38,50,56,0.1);
}

.docs-search-small > input[type=search] {
  height: 40px;
  font-size: 16px;
  box-shadow: 0px 4px 10px 0px rgba(38,50,56,0.1);
}

/*————————————————
Pagination
————————————————*/

.fl-builder-pagination li a.page-numbers, .fl-builder-pagination li span.page-numbers {
    border: 0px;
    font-weight: bold;
}

.fl-builder-pagination li a.page-numbers:hover, .fl-builder-pagination li span.current {
    background: #F7F9FC;
    text-decoration: none;
    rounded-corners: 4px;
}

/*————————————————
Column Adjustments
————————————————*/

.rounded-corners > .fl-col-content {
    border-radius: 4px;
    box-shadow: 0px 4px 10px 0px rgba(38,50,56,0.1);
    background-color: #ffffff;
}

.rounded-corners-top > .fl-col-content {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-shadow: 0px 4px 10px 0px rgba(38,50,56,0.1);
  background-color: #ffffff;
}

.rounded-corners-bottom > .fl-col-content {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0px 4px 10px 0px rgba(38,50,56,0.1);
  background-color: #ffffff;
}

.rounded-corners-post > .fl-col-content {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0px 4px 10px 0px rgba(38,50,56,0.1);
  background-color: #ffffff;
}

.fl-col {
  min-height: 0px;
}

/*————————————————
Gravity Forms Buttons
————————————————*/

body .gform_wrapper .gform_footer input[type=submit] {
    color: #ffffff;
    font-size: 16px;
    padding: 20px 75px !important;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
    color: #ffffff !important;
}


/*————————————————
LARGE DEVICE
————————————————*/

@media (min-width: 1500px) {

  .fl-callout-photo-left .fl-callout-photo, .fl-callout-photo-left-text .fl-callout-photo {
      padding-right: 10px;
      width: 24%;
  }

}

/*————————————————
MEDIUM DEVICE
————————————————*/

@media (min-width: 768px) and (max-width: 992px) {

  /*————————————————
  Nav
  ————————————————*/

  .fl-menu .menu > li {
      text-align: center !important;
}

  .fl-menu-mobile-toggle {
      font-size: 18px !important;
    }

  .fl-menu li:first-child {
      border-top: 3px solid rgba(255, 255, 255, 0.8) !important;
  }

  .menu > li.current-menu-item > a {
    font-weight: bold;
    border-bottom: 0px;
  }

  .menu a {
    border-bottom: 0px solid transparent;
    text-decoration: none;
}

  .menu > li > a:hover {
    border-bottom: 0px solid transparent;
    text-decoration: none;
}

.fl-callout-photo-left .fl-callout-photo, .fl-callout-photo-left-text .fl-callout-photo {
    padding-right: 10px;
    width: 22%;
}

  .rounded-corners-post > .fl-col-content {
      padding-right: 20px !important;
      padding-left: 20px !important;
}

}


/*————————————————
SMALL DEVICE
————————————————*/

@media (max-width: 767px) {

  /*————————————————
Nav
————————————————*/

    .fl-menu .menu > li {
      text-align: center !important;
  }

    .fl-menu-mobile-toggle {
      font-size: 18px !important;
  }

  .fl-menu li:first-child {
      border-top: 3px solid rgba(255, 255, 255, 0.4) !important;
      padding-top: 10px;
  }

  .fl-menu li:last-child {
      padding-bottom: 10px;
  }

  .menu > li.current-menu-item > a {
    font-weight: bold;
    border-bottom: 0px;
  }

  .menu a {
    border-bottom: 0px solid transparent;
    text-decoration: none;
  }

  .menu > li > a:hover {
    border-bottom: 0px solid transparent;
    text-decoration: none;
  }

}
