/*
 Theme Name:   Executive
 Theme URI:    https://agirlandhermac.design/demo-executive/
 Description:  Divi Child Theme by A Girl and Her Mac
 Author:       Leslie Bernal
 Author URI:   https://agirlandhermac.design
 Template:     Divi
 Version:      2.7
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, responsive-layout, full-width, divi, elegant themes, business, corporate, creative, agency, high-contrast
 Text Domain:  divi-child
*/

/*** GENERAL ***/
h3 {
  color: #6B797E !important;
}
@media only screen and (max-width: 960px) {
    #main-content {
        margin-top: -8px;
    }
}

/*** HERO SECTION ***/

#header-overlay .et_pb_column_1 {
  display: flex;
  align-items: center;
  justify-content: center;
}


/*** NAVIGATION ***/
#main-header.et-fixed-header {
  box-shadow: none !important;
}

#top-menu li {
  margin-bottom: -10px;
}

#top-menu li > a {
  border: 10px solid transparent;
  padding: 10px;
}

#top-menu li > a:hover {
  box-shadow: 0 10px 0 0 #9A031E !important;
  padding-bottom: 24px !important;
  opacity: 1 !important;
}

.scrolledto-anchor {
  border-color: #9A031E !important;
}

.logo_container a:hover {
  border-bottom: none !important;
}

.no-border-link a {
  border: none !important;
  padding: 0;
}

.et_header_style_left #et-top-navigation, 
.et_header_style_left .et-fixed-header #et-top-navigation {
  padding-top: 20px;
}

.et_fullwidth_nav #main-header .container {
  padding-left: 6%;
  padding-right: 6%;
}


/*** MOBILE MENU ***/
.et_mobile_menu li a {
  border-bottom: none;
  font-weight: 500;
  padding: 5px 5%;
  text-align: center;
  text-transform: uppercase;
}

.mobile_menu_bar::before {
  content: "\4c";
  background: #6B797E;
  border-radius: 0px;
  box-shadow: 3px 3px 0px #e0e0e0;
}

.et_mobile_menu {
  border-color: #000 !important;
  margin-top: -15px;
  position: absolute;
}

.mobile_menu_bar {
  position: relative;
}

.mobile_nav.opened .mobile_menu_bar::before {
  content: "\4d";
}

@media only screen and (max-width: 960px) {
#main-header {position: fixed !important;}
.et_fullwidth_nav #main-header .container {
    padding-left: 0;
    padding-right: 0;
  }
}


/*** REVIEWS SLIDER ***/
#reviews .et-pb-active-slide .et_pb_slide_description {
  animation-name: fadeIn;
}

#reviews .et_pb_slide .et_pb_slide_description {
  /* 60px fallback for 8% */
  padding-left: 60px;
  padding-right: 60px;
  padding: 10% 8%;
  text-align: center;
  width: 85%;
  background: -webkit-radial-gradient( circle, 50% 50%, closest-side, rgba(255,255,255,0.8), rgba(255,255,255,0) );
  background:    -moz-radial-gradient( circle, 50% 50%, closest-side, rgba(255,255,255,0.8), rgba(255,255,255,0) );
  background:      -o-radial-gradient( circle, 50% 50%, closest-side, rgba(255,255,255,0.8), rgba(255,255,255,0) );
  background:         radial-gradient( closest-side at 50% 50%, rgba(255,255,255,0.8), rgba(255,255,255,0) );
}
@media only screen and (max-width: 960px) {
  #reviews .et_pb_slide .et_pb_slide_description {
    margin-top: 30px;
    padding-left: 3%;
    padding-right: 3%;
    width: 100%;
    background: rgba(255,255,255,0.7);
  }
}


/*** BUTTONS ***/
.et_pb_button, 
.et_pb_more_button, 
.et_pb_bg_layout_dark .et_pb_promo_button, 
.et_pb_bg_layout_light .et_pb_promo_button {
  background-color: #e0e0e0;
  border: 1px solid #000;
  box-shadow: 0 0 0 5px #e0e0e0;
  line-height: 1.2em !important;
}
.et_pb_more_button:hover, 
.et_pb_bg_layout_dark .et_pb_promo_button:hover, 
.et_pb_bg_layout_light .et_pb_promo_button:hover {
  background: rgba(255,255,255,0.6);
}
.et_pb_button:after {
  line-height: 1.2em !important;
}


/*** CONTACT FORM ***/
.et_pb_contact p input, 
.et_pb_contact p textarea {
  border-bottom: 1px solid #000;
}

.et_contact_bottom_container {
  overflow: visible;
}


/*** BLOOM ON HOMEPAGE ***/
.et_bloom span.et_bloom_success_checkmark {
  display: none;
}

.et_bloom_form_content input {
  background-color: rgba(0,0,0,0.3);
  border-radius: 0;
  text-transform: uppercase;
}

.home.et_bloom .et_bloom_inline_form {
  margin: 15px 0 0 0;
}

.home.et_bloom .et_bloom_form_container {
  background-color: rgba(255, 255, 255, 0.0);
}

.home.et_bloom .et_bloom_form_container .et_bloom_form_header {
  display: none;
}

.home.et_bloom .et_bloom_form_container .et_bloom_form_content {
  background-color: rgba(255, 255, 255, 0.0);
  padding: 0;
}

.et_bloom .et_bloom_form_container.et_bloom_form_text_light .et_bloom_form_content span.et_bloom_button_text.et_bloom_button_text_color_dark {
  color: #9A031E !important;
  font-size: 16px;
}

.et_bloom .et_bloom_form_container h2.et_bloom_success_message {
  background: transparent !important;
  color: #333 !important;
}

.et_bloom h2.et_bloom_success_message.et_bloom_animate_message {
  margin-top: 0 !important;
}

.et_bloom .et_bloom_form_container.et_bloom_form_text_light .et_bloom_form_content .et_bloom_form_footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.et_bloom .et_bloom_optin_2 .et_bloom_form_content {
  background: transparent !important;
}

.et_bloom .et_bloom_form_container h2.et_bloom_error_message {
  background-color: #000;
}


/*** FOOTER ***/
#footer-info {
  float: none;
  text-align: center;
}


/*** TEAM MEMBERS ***/
#team img,
.et_pb_team_member img {
  border-bottom-left-radius: 50%;
  border-top-right-radius: 22%;
  padding-bottom: 20px;
}

#team .et_pb_slide_description {
  padding: 4% 3% 10% 3%;
}

#team .et-pb-active-slide .et_pb_slide_description {
  animation-name: fadeLeft;
}

.et-pb-controllers {
  bottom: 0;
}

.et-pb-controllers a {
  height: 12px;
  width: 12px;
}

#team .et-pb-arrow-prev::before {
  display: none;
}

.et_pb_slider:hover .et-pb-arrow-next {
  background: rgba(0,0,0,0);
  right: 0;
}

.et-pb-arrow-prev::before,
.et-pb-arrow-next::before {
  color: #999;
  font-size: 40px;
}
.et-pb-arrow-prev::before { content: "\38"; }
.et-pb-arrow-next::before { content: "\39"; }

#team-slider .fa {
  background: #9A031E; 
  border-radius: 50%;
  color: #fff; 
  cursor: pointer;
  font-size: 18px; 
  float: none; 
  height: 36px;
   width: 36px; 
  margin: 4px; 
  text-align: center; 
}

#team-slider .fa:hover {
  background: #6B797E; 
  -webkit-transition: all 0.2s; 
     -moz-transition: all 0.2s; 
          transition: all 0.2s;
}


/*** CUSTOM COLUMN TEXT ***/
@media only screen and (max-width: 960px) {
  #custom-column-text {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
     -webkit-column-rule: 0;
        -moz-column-rule: 0;
             column-rule: 0;
  }
}

#custom-column-text a:hover {
  border-bottom: 2px solid #000;
}


/*** BLOCKQUOTE ***/
blockquote {
    font-size: 36px;
    text-transform: uppercase;
    border: 10px solid #6B797E !important;
    padding: 20px;
    text-align: center;
    line-height: 1.1em;
}
@media only screen and (max-width: 1280px) {
    blockquote {
        font-size: 26px;
    }
}


/*** MAP ***/
.et_pb_map {
  height: 500px;
}


/*** FONT AWESOME ***/
.fa {
  color: #999;
  padding: 10px;
}


/*** SOCIAL FOLLOW ON HOMEPAGE ***/
.et_pb_social_media_follow {
  display: table;
  margin: 0 auto !important;
}

.et_pb_social_media_follow li a.icon,
.et_pb_social_media_follow li a.icon::before {
  height: 50px;
  width: 50px;
}

.et_pb_social_media_follow li a.icon::before {
  font-size: 24px;
  line-height: 50px;
}


/*** PORTFOLIO TABS ***/
@media only screen and (min-width: 961px) {
  ul.et_pb_tabs_controls {
    border: none;
    float: left;
    width: 30%;
  }

  ul.et_pb_tabs_controls li {
    border: none;
    bottom: 0 !important;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: right;
    width: 100%;
  }

  .et_pb_tabs_controls li.et_pb_tab_active {
    border-right: 10px solid #9A031E;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .et_pb_tab_active a {
    color: #9A031E !important;
  }

  .et_pb_all_tabs {
    border: none;
    float: left;
    padding: 0 40px 40px 40px;
    width: 70%;
  }

  .et_pb_module.et_pb_tabs.et_pb_tabs_0 {
    border: 0;
  }
}

@media only screen and (max-width: 960px) {
  ul.et_pb_tabs_controls {
    background: #fff;
    border-bottom: 10px solid #e0e0e0;
  }

  .et_pb_tabs {
    border: none;
  }

  .et_pb_tab_active a {
    color: #9A031E !important;
  }

  .et_pb_tabs_controls li, 
  .et_pb_tabs_controls li:last-child {
    border-right: none;
  }

  .et_pb_tabs_controls li.et_pb_tab_active {
    border-bottom: 10px solid #9A031E;
  }

  ul.et_pb_tabs_controls li {
    border: none;
    bottom: 0 !important;
    width: 100%;
  }
}

.portfolio-button {
  background: #000;
  color: #fff;
  display: inline-block;
  margin-bottom: 30px;
  padding: 8px 12px;
  text-transform: uppercase;
}
.portfolio-button:hover {
  background: #9A031E;
  -webkit-transition: all 0.2s;
     -moz-transition: all 0.2s;
          transition: all 0.2s;
}
/*** PORTFOLIO GALLERIES ***/

.et_overlay {
    background: rgba(0, 0, 0, 0.8);
    border: none;
}

/*** FIVE COLUMN CLIENTS ***/

#five-column img {
    width: 20%;
    padding: 30px;
}
@media only screen and (max-width: 960px) {
    #five-column img {
        width: 100%;
    }
}
/*** SEARCH ***/

.widget_search #s {
    border-radius: 0;
    border: 2px solid #000 !important;
}
.widget_search #searchsubmit {
    border-radius: 0;
    background: #000;
    border: 2px solid #000 !important;
    color: #fff !important;
    text-transform: uppercase;
}