/*
Theme Name:Minimal
Theme URI: https://bestdivichild.com
Template: Divi
Author: Best Divi Child
Author URI: https://bestdivichild.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 1.0.2
*/

/*****************************
  Navigation
*****************************/

/*****************************
  Header
*****************************/
.et_pb_slide_content:after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 39px;
  max-width: 103px;
}
.hero-section .et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
    padding: 16% 0;
}
/*****************************
  Section Heading
*****************************/
.section-heading {
  font-size: 8em;
  font-weight: 900;
  color: rgba(101, 101, 101, 0.17);
  position: absolute;
  bottom: 30%;
  left: 0;
  text-transform: uppercase;
  z-index: 10;
}
.et-pb-controllers a {
  /*border-radius: 0;*/
  width:11px;
  height:11px;
  position: relative;
}
.et-pb-controllers .et-pb-active-control {
  border-radius: 0;
}
@media (max-width: 980px) {
  .section-heading {
    display: none;
  }
}
@media (max-width: 767px) {

}
/*****************************
  Heading Style
*****************************/
.heading-style-lrg {
  font-size:60px !important;
  font-weight:900;
}
.heading-style-mid {
  font-size:40px !important;
  font-weight:900;
}
.heading-divider {
    margin: 70px 0 25px !important;
    position: relative;
    /*z-index: 99;*/
}
.heading-divider:before {
  content: '';
  display: table;
  width: 255px;
  height: 152px;
  position: absolute;
  border: 8px solid rgba(243, 243, 243, 0.56);
  left: 21%;
  top: -19%;
}
@media (max-width: 980px) {
  .heading-divider:before {
    display: none;
  }
}
@media (max-width: 767px) {
  .heading-style-lrg {
    font-size: 35px !important;
  }

  .heading-divider {
    margin-top:20px !important;
  }
}
/*****************************
  Custom Blur
*****************************/
.custom_brub_container .et_pb_blurb:before,
.custom_brub_container .et_pb_blurb:after {
  background: rgba(255,255,255,0.2);

}
/*****************************
  Project
*****************************/
.et_pb_gutters3 .et_pb_column_1_2 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item,
.et_pb_gutters3 .et_pb_column_1_2 .et_pb_grid_item,
.et_pb_gutters3 .et_pb_column_2_3 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item, 
.et_pb_gutters3 .et_pb_column_2_3 .et_pb_grid_item{
  margin-right: 0;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active,
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {
  background-color: transparent;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
  position: relative;
}

.bdc_portfolio {
  /* min-height: 65vh; */
}

/*.et_overlay {*/
  /*opacity: 1;*/
  /*z-index: 1;*/
/*}*/
.et_overlay:before,
.et_overlay:after
{
  content: '';
  position: absolute;
  top: 50%;
  bottom: 50%;
  left: 50%;
  width: 1px;
  margin: 0;
  transition: all .4s ease-in-out;
}
.et_overlay:after {
  transform: rotate(-90deg);
}

.et_portfolio_image:hover .et_overlay {
  opacity: 1;
  z-index: 1;
}
.et_portfolio_image:hover .et_overlay:before,
.et_portfolio_image:hover .et_overlay:after {
  top: 30%;
  bottom: 30%;
}


@media (min-width: 1685px) {
    .et_pb_filterable_portfolio .et_pb_portfolio_filters {
    position: absolute;
    transform: translateX(-120%);
    bottom: 12%;
    z-index: 99;
  }
  .et_pb_filterable_portfolio .et_pb_portfolio_filters li {
    float: none;
  }
  .et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    border:none;
    text-align: right;
  }
  .et_pb_filterable_portfolio .et_pb_portfolio_filters li:after {
    content: '';
    display: block;
    height: 1px;
    width: 0;
    transition: all .4s linear;
    float: right;
  }
  .et_pb_filterable_portfolio .et_pb_portfolio_filters li:hover:after {
    width: 100%;
  }
  .et_pb_filterable_portfolio .et_pb_portfolio_filters li {
    padding-bottom: 3px;
  }
}
@media (max-width: 1685px) and (min-width: 981px) {
    .et_pb_filterable_portfolio .et_pb_portfolio_filters {
        margin: 45px 0 0px 0;
    }
}
@media (min-width: 981px) {
  .et_pb_gutters1 .et_pb_column_2_3 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item, 
  .et_pb_gutters1 .et_pb_column_2_3 .et_pb_grid_item {
      width:33.33%;
  }
}
@media (max-width: 980px) {
  .et_pb_filterable_portfolio .et_pb_portfolio_filters {
    display: table;
    margin: 20px auto;
  }
  .et_pb_gutters3 .et_pb_column_1_2 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item,
  .et_pb_gutters3 .et_pb_column_1_2 .et_pb_grid_item {
    width: 50% !important;
  }
  .bdc_portfolio {
    min-height: 100%;
  }
}
@media (max-width: 767px) {
  .et_pb_gutters3 .et_pb_column_1_2 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item,
  .et_pb_gutters3 .et_pb_column_1_2 .et_pb_grid_item {
    width: 100% !important;
  }
}
/*****************************
  Team
*****************************/
.bdc-team-container .et_pb_team_member {
  width: 28.3%;
  float: left;
  margin-right: 5% !important;
  margin-bottom: 5% !important;
  position: relative;
}
.bdc-team-container .et_pb_team_member_description,
.bdc-team-container .et_pb_team_member_image {
  display: block;
  float: none;
  text-align: center;
}
.bdc-team-container .et_pb_team_member_image {
  width: 100% !important;
  margin: 0 !important;
  max-width:100%;
}
.et_pb_team_member_0.et_pb_team_membe img {
  width: 100%;
}
.bdc-team-container .et_pb_team_member .et_pb_team_member_description {
  position: absolute;
  z-index: 99;
  top: 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding-top: 35%;
  transform: scale(0);
  opacity: 0;
  transition: all .5s ease-in-out;
}
.bdc-team-container .et_pb_team_member:hover .et_pb_team_member_description {
  transform: scale(1);
  opacity: 1;
}

@media (max-width: 1200px) {
  .bdc-team-container .et_pb_team_member {
    width: 44.9%;
  }
}
@media (max-width: 980px) {
  .bdc-team-container .et_pb_team_member {
    width: 47%;
    margin-top: 2%;
    margin-bottom: 0 !important;
  }
  .bdc-team-container .et_pb_team_member:nth-child(2n+1) {
    margin-left: 2%!important;
    margin-right: 1%!important;
  }
  .bdc-team-container .et_pb_team_member:nth-child(2n) {
    margin-left: 1%!important;
    margin-right: 2%!important;
  }
}
@media (max-width: 767px) {
  .bdc-team-container .et_pb_team_member:nth-child(n) {
    width: 80%;
    margin: 5% 10% !important;
  }
}
/*****************************
  Blog Style
*****************************/
.bdc-blog-style .et_pb_post {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  transform: scale(1);
  transition: all .3s ease-in-out;
  background-position: center;
}
.bdc-blog-style .et_pb_post .entry-featured-image-url {
  z-index: 0;
  position: absolute;
  display: none;
}
.bdc-blog-style .et_pb_post h2 {
  margin-top: 0;
}
.bdc-blog-style .et_pb_post .post-content-wrapper {
  position: relative;
  padding: 35px 47px;
  background: #fff;
  transition: all .3s ease-in-out;
  border-bottom: 1px solid #f3f3f3;
}
.bdc-blog-style .et_pb_post:hover {
  transform: scale(1.05);
  z-index: 99;
  box-shadow: -2px 8px 52px rgba(51, 51, 51, 0.16);
}
.bdc-blog-style .et_pb_post a,
.bdc-blog-style .et_pb_post p,
.bdc-blog-style .et_pb_post span,
.bdc-blog-style .et_pb_post h2 {
  /*transition: all .3s ease-in-out;*/
}
.bdc-blog-style .et_pb_post:hover a,
.bdc-blog-style .et_pb_post:hover p,
.bdc-blog-style .et_pb_post:hover span,
.bdc-blog-style .et_pb_post:hover h2  {
  color: #fff;
}
.bdc-blog-style .et_pb_post .post-content-wrapper * {
  position: relative;
}
.bdc-blog-style .et_pb_post:hover .post-content-wrapper {
  /*background:rgba(25, 25, 25, 0.7);*/
  background-color: transparent;
}
.bdc-blog-style .et_pb_post .post-content-wrapper:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 100%;
  z-index: 0;
  transition: all .3s linear;
}
.bdc-blog-style .et_pb_post .post-content-wrapper:after {
  content: '';
  background:#fff;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  transition: all .3s ease-in-out;
}
.bdc-blog-style .et_pb_post:hover .post-content-wrapper:after {
  left:100%;
}
.bdc-blog-style .et_pb_post:hover .post-content-wrapper:before {
  right: 0;
}
.bdc-blog-style .et_pb_post .post-content {
  display: none;
}
.bdc-blog-style .et_pb_post span.published {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
}
.bdc-blog-style .et_pb_post span.author {
  font-size: 13px;
}
.published:before,
.author:before,
.entry-title a:after {
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: ETmodules;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  -webkit-font-smoothing: antialiased;
  line-height: 1;
  text-transform: none;
  speak: none;
}
.published:before {
  content: '';
  margin-right: 10px;
}
.author:before {
  content: '';
  margin-right: 10px;
}
.entry-title a:after {
  content: '$';
  margin-left: 12px;
}
.pagination {
    margin-top: 21px;
}
@media (max-width: 767px) {
  .bdc-blog-style .post-meta {
      margin-top: 12px;
  }
}

/*****************************
  contact form
*****************************/
.et_pb_contact_form_container input,
.et_pb_contact_form_container textarea.et_pb_contact_message {
  transition: all .4s linear;
}
.contact-info {
  z-index:99;
  position:relative;
  display:table;
  margin:0 0 0 auto !important;
}
@media (max-width: 767px) {
  .contact-info {
    margin-left:10% !important;
  }
}

.et-pb-contact-message p {
    color: #fff;
    text-align: center;
    padding: 17px 0;
    font-size: 20px;
    border-radius: 5px;
    box-shadow: 0px 6px 25px rgba(39, 39, 39, 0.35);
}

/*****************************
  Footer
*****************************/
#footer-bottom {
  display: none;
}

@media (max-width: 767px) {
    .bdc-footer .et_pb_social_media_follow {
        display:table;
        margin:0 auto;
    }
}

/*****************************
  General classes
*****************************/
.hd-pr-color {
  display: block;
}
.full-width-section.et_pb_specialty_fullwidth > .et_pb_row {
  width: 100%!important;
  max-width: 100%!important;
}

/*****************************
  bg-box-design
*****************************/
.bg-box-design {

}
.bg-box-design:before {
  content: '';
  display: table;
  width: 467px;
  height: 212px;
  position: absolute;
  border: 8px solid rgba(243, 243, 243, 0.08);
  right: -15%;
  top: 20%;
}
@media (max-width: 980px) {
  .bg-box-design:before {
    display: none;
  }
}
/*****************************
  Image Border
*****************************/
.bdc-image-border {
  border: 8px solid #f3f3f3;
}
.bdc-image-border img{
  transform: perspective(500px) translate3d(13px,-16px,24px);
  transition: all .3s linear;
}
.bdc-image-border-2 {
  border: 8px solid #f3f3f3;
}
.bdc-image-border-2 img{
  transform: perspective(500px) translate3d(19px,-13px,24px);
  transition: all .3s linear;
}
/*Hover*/
.bdc-image-border:hover img,
.bdc-image-border-2:hover img {
  transform: perspective(500px) translate3d(0px,0px,0px);
}
/*****************************
  Module Divider
*****************************/
.module-divider-left:after {
  content: '';
  display: block;
  max-width: 100px;
  height: 1px;
  margin-top: 30px;
}
/*****************************
  Bdc button style
*****************************/
.bdc_button {

}
/*****************************
  Box Number Counter
*****************************/
.box-number-counter {
  border: 8px solid rgba(181, 181, 181, 0.38);
  padding: 14px 0;
}
/*****************************
  Testimonial
*****************************/
.bdc_testimonial_container {

}
.bdc_testimonial_container .et_pb_blurb {
  border: 7px solid;
}
.bdc_testimonial_container .et_pb_blurb .et_pb_blurb_content {
  transform: translateX(5%) translateY(-4%) scale(1.05);
  box-shadow: 1px 4px 20px rgba(0, 0, 0, 0.07);
  background: #fefefe;
  padding: 30px 25px;
  transition: all .3s linear;
}
.bdc_testimonial_container .et_pb_blurb img {
  border-radius: 50%;
  max-width: 150px;
}
/*hover*/
.bdc_testimonial_container .et_pb_blurb:hover .et_pb_blurb_content {
  transform: translateX(0%) translateY(0%) scale(1);
}
/*****************************
  Client Slider
*****************************/
.client-slider .et_pb_image{
  padding: 0 15%;
}



/*****************************
  custom blurb
*****************************/
.bdc-blurb-style {
  max-width: 250px;
  margin-bottom: 60px !important;
}
.bdc-blurb-style h4:after {
  content: '';
  display: block;
  height: 1px;
  max-width: 50px;
  margin: 10px 0 10px;
}

/*****************************
  BDC Preloader
*****************************/
body.has-preloader .bdc-preloader {
  position: fixed;
  z-index: 99999;
  top: 0;
  bottom: 0;
  background-color: #fff;
  left: 0;
  right: 0;
  opacity: 1;
  transition: all .5s ease-in-out;
}
.bdc-preloader img {
  top: 44vh;
  position: absolute;
  left: 47vw;
}

body.has-preloader.loaded .bdc-preloader {
  opacity:0;
}
body.has-preloader #page-container{
  opacity: 0;
  transition: all .3s linear;
  transition-delay: .5s;
}
body.has-preloader.loaded #page-container{
  opacity: 1;
}
@media (max-width: 420px) {
  .bdc-preloader img {
      top: 44vh;
      left: 40vw;
    }
}



