/*
  Theme Name: Divi Child
  Theme URI: http://design-by-helen-williams.local/
  Version: 1.0.0
  Template: Divi
  Author: Helen Williams
  Author URI: http://design-by-helen-williams.local/
  Text Domain: divi-child
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* HOME PAGE 

.home #top-menu a, .home #et-top-navigation .et-cart-info {
  color: #ffffff!important;
}*/

#et-top-navigation .et-cart-info {
  display:none!important;
}

.home #top-menu a, .home #et-top-navigation{
  color: #ffffff!important;
}

#main-header .et_mobile_menu {
	background-color: rgb(248 248 248)!important;}

body.home div.et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first
{padding-top:0px!important;}

.mobile_menu_bar:before {
	color: #000000!important;}

body.home .mobile_menu_bar:before {
	color: #ffffff!important;}


.home #logo {
  filter: invert!important;
}


.el-flex-row {
  display: flex;
  flex-wrap: wrap;
}

.el-flex-row .et_pb_column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* PORTFOLIO */
@media (min-width: 981px) {
.de-portfolio-title h2.et_pb_module_header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  margin-top: 0px!important;
  z-index: 3;
  opacity: 0;     /* We want to make sure it is not shown unless hovered */
}

/* Make the title visible when hovered */
.de-portfolio-title .et_pb_portfolio_item:hover h2.et_pb_module_header {
  opacity: 1;
}

/* Remove the overlay icon if one is set */
.de-portfolio-title span.et_overlay:before {
  content: '';
}

/* Make sure the title is shown even if you hover it directly */
.de-portfolio-title .et_pb_portfolio_item:hover span.et_overlay {
  opacity: 1;
  z-index: 3;
}
}

/* Change columns from 4-3 
 
.et_pb_column_4_4 .et_pb_portfolio_grid .project {
  clear: none !important;
  width: 33% !important;}

  @media only screen and (max-width: 1000px) {
    .et_pb_column_4_4 .et_pb_portfolio_grid .project {
      width: 100% !important;}
  }

  .portfolio-section img {max-width: 110%;}
  .portfolio-section h2 a {font-size:14px; color: #b2b2b2;}
  .portfolio-section .post-meta {font-size:12px; margin-top:-13px; color:#cecece!important;}
  .portfolio-section .et_portfolio_image {
      border: 1px solid #28323a;
      -moz-box-shadow: 0 5px 10px rgba(0,0,0,.3);
      -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.3);
      box-shadow: 0 5px 10px rgba(0,0,0,.3);}
  .portfolio-section .et_portfolio_image, .et_portfolio_image img {border-radius: 1px 1px #fc5a20;}*/

  @media (min-width: 981px) {
    .col-portfolio .et_pb_grid_item {
        width: 47.25%!important;
        margin-right: 5.5%!important;  
        margin-bottom: 25px!important;  
    }
 
    .col-portfolio .et_pb_grid_item:nth-child(3n) {
        margin-right: 5.5%!important;
    }
 
    .col-portfolio .et_pb_grid_item:nth-child(2n) {
        margin-right: 0!important;
    }
 
    .col-portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1) {
        clear: none!important;
    }
 
    .col-portfolio .et_pb_grid_item.first_in_row {
        clear: unset;
    }
}


.mfp-title {display:none;}

@media (min-width: 768px) {
 .et_pb_module_header {font-size: 18px!important;}
}

@media (max-width: 767px) {
  .et_portfolio_image img {width: 800px!important;}
 }


 .single-project.et_pb_pagebuilder_layout .nav-single {
  max-width: 1930px !important;}