/* 
Theme Name:     Divi Child
Theme URI:    http://www.elegantthemes.com/demo/?theme=Divi
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes.
Author: Wonderment
Author URI:     http://www.elegantthemes.com 
Template:       Divi 
Version:        1.0.1
*/

@import url("../Divi/style.css");
/* =Theme customization starts here ------------------------------------------------------- */

/* Main Nav */

#main-header .nav-button.current-menu-item {
  display: none;
}

#main-header #top-menu .nav-button {
  margin-top: -20px;
}

#main-header #top-menu .nav-button a {
  background-color: #FC6321;
  color: #fff !important;
  padding: 10px 20px !important;
  border: 2px solid #fc6321;
  border-radius: 20px;
}

#main-header #top-menu .nav-button a:hover {
  background-color: #fff;
  color: #FC6321 !important;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
  width: 100%;
}

/* Button Overrides */

.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_two {
  margin-left: 0;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_two {
  margin: 0 15px;
}

a.et_pb_button, button.et_pb_contact_submit.et_pb_button, button.et_pb_contact_submit.et_pb_button:hover {
  color: #fff !important;
}

.et_button_no_icon a.et_pb_button, .et_button_no_icon a.et_pb_button:hover, button.et_pb_contact_submit.et_pb_button, button.et_pb_contact_submit.et_pb_button:hover {
  padding: 10px 30px !important;
  border-radius: 25px !important;
}

a.et_pb_button.light-button {
  background-color: #e2eaf2;
  color: #103459 !important;
  font-weight: 500;
}

a.et_pb_button.light-button:hover {
  background-color: #fff !important;
}

.et_pb_team_member_image {
  border-radius: 50%;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
}

/* Header Areas */
.header-content h2 {
  font-size:  28px;
  font-weight:  400;
  text-transform: capitalize;
  font-variant: none;
}

/* Formidable Form Buttons */

.frm_style_formidable-style.with_frm_style .frm_submit button {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400 !important;
}

.frm_style_formidable-style.with_frm_style .frm_submit {
  text-align: left !important;
}

/* Testimonials */

.strong-view.default.slider-container.slider-adaptive .wpmslider-viewport {
  -webkit-box-shadow: 0 0 20px rgba(16, 52, 89, 0.2);
  -moz-box-shadow: 0 0 20px rgba(16, 52, 89, 0.2);  
  box-shadow: 0 0 20px rgba(16, 52, 89, 0.2);
  border-radius: 20px;
  overflow: visible;
}

.strong-view.default .testimonial-heading {
  background: url("/wp-content/uploads/2019/08/quotation.svg") no-repeat scroll 10px -2px transparent !important;
  text-transform: initial;
  background-size: 26px auto !important;
  font-size: 20px;
}

.strong-view.default .testimonial-content p {
  padding: 10px 40px;
}

.strong-view.default.slider-container.slider-adaptive:not(.slider-mode-horizontal) .wpmslider-viewport, .strong-view.default .testimonial-inner {
  border: none !important;
}

.strong-view.default.controls-type-sides .testimonial-inner {
  padding: 30px 40px;
  background-color: #fff;
}

/* Services Page */

#services .et_pb_blurb {
  height: 100%;
  position: relative;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(16, 52, 89, 0.2);
  -moz-box-shadow: 0px 0px 20px 0px rgba(16, 52, 89, 0.2);
  box-shadow: 0px 0px 20px 0px rgba(16, 52, 89, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  overflow: hidden;
}

#services .et_pb_blurb_content {
  height: 100%;
}

.full-copy {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 102%;
  height: 104%;
  background-color: #fff;
  overflow: auto;
  transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -webkit-transition: opacity .5s ease-in-out;
  margin-left: -2%;
  margin-top: -2%;
}

.full-copy p {
  line-height: 1.4em !important;
}

#services .et_pb_blurb:hover {
  cursor: pointer;
}

#services .et_pb_blurb:hover .full-copy {
  opacity: 1.0;
  transition: opacity .8s ease-in-out;
  -moz-transition: opacity .8s ease-in-out;
  -webkit-transition: opacity .8s ease-in-out;
}

#services .mCSB_inside>.mCSB_container {
  margin-right: 20px;
}

#services .mCS-inset.mCSB_scrollTools .mCSB_draggerRail {
  background-color: transparent;
}

#services .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #ddd;
}

.featured_blurbs .et_pb_blurb_content {
  max-width: 100%;
  padding-bottom: 15px;
}

.more-link {
  color: #FC6321;
  font-size: 14px;
}

.et_pb_portfolio h4 {
  position: absolute;
  margin-top: -39px !important;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding-top: 10px;
}

/* Content Toggles */

.aps-toggle {
  position: relative;
  overflow-x: hidden;
}

.aps-toggle .et_pb_row {
  position: absolute;
  top: 0;
  margin-left: 45%;
}

.aps-toggle .et_pb_column:first-of-type {
  border-radius: 10px;
  padding: 30px;
  height: 150px;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(16, 52, 89, 0.2);
  -moz-box-shadow: 0px 0px 20px 0px rgba(16, 52, 89, 0.2);
  box-shadow: 0px 0px 20px 0px rgba(16, 52, 89, 0.2);
  border-collapse: separate;
}

.aps-toggle .active .et_pb_column:first-of-type {
  border: 2px solid #fc6321;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(198,50,18,0.2);
  -moz-box-shadow: 0px 0px 20px 0px rgba(198,50,18,0.2);
  box-shadow: 0px 0px 20px 0px rgba(198,50,18,0.2);
  border-collapse: separate;
}

.aps-toggle .et_pb_column:first-of-type:hover {
  border: 2px solid #fc6321;
  cursor: pointer;
}

.aps-toggle img {
  min-height: 200px;
}

.aps-toggle .et_pb_blurb_content {
  max-width: 100%;
}

.aps-toggle .et_pb_row:nth-child(2) .et_pb_column:first-of-type {
  margin-top: 180px;
}

.aps-toggle .et_pb_row:nth-child(3) .et_pb_column:first-of-type {
  margin-top: 360px;
}

.aps-toggle .et_pb_row:not(.active) .toggle-content {
  display: none;
}

.aps-toggle .et_pb_blurb h4.et_pb_module_header {
  padding: 5px 0;
}

@media (min-width: 981px) {
  .aps-toggle .et_pb_column:first-of-type {
    position: absolute;
    margin-left: -45%;
  }
  .aps-toggle .et_pb_column:first-of-type .et_pb_blurb_content {
    padding-top: 30px;
  }
}


@media (max-width: 980px) {
  .aps-toggle {
    margin-bottom: 40px;
  } 
  .aps-toggle .et_pb_row {
    margin-left: 10%;
  }
  .aps-toggle .active .et_pb_column:last-of-type {
    margin-left: 0;
  }
  .aps-toggle .et_pb_column:first-of-type {
    padding: 15px;
    height: auto;
  }
  .aps-toggle .et_pb_column:first-of-type .et_pb_blurb h4 {
    font-size: 14px;
  }
  .aps-toggle .et_pb_column:first-of-type .et_pb_blurb_content h4 {
    padding: 8px 0 0 0;
  }
  .aps-toggle .et_pb_row:nth-child(2) .et_pb_column:first-of-type {
    margin-top: 80px;
  }
  .aps-toggle .et_pb_row:nth-child(3) .et_pb_column:first-of-type {
    margin-top: 160px;
  }
  .aps-toggle .et_pb_row:nth-child(1) .et_pb_column:last-of-type {
    margin-top: 180px;
  }
  .aps-toggle .et_pb_row:nth-child(2) .et_pb_column:last-of-type {
    margin-top: 100px;
  }  
  .aps-toggle .et_pb_row:nth-child(3) .et_pb_column:last-of-type {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  body #page-container {
    padding-top: 80px !important;
  }
  .et_pb_row {
    width: 90%;
  }
  .aps-toggle .et_pb_row {
    margin-left: 5%;
  }  
}