/*
Theme Name: Divi-child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Child theme for the Divi theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
Version: 1.0.2
*/

/*portfolio image aspect ratio portrait 3:4*/

.pa-portfolio-image-3-4 .et_portfolio_image {
    padding-top: 133.33%;
    display: block;
  }
  
  .pa-portfolio-image-3-4 .et_portfolio_image img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
  }

/* Filter */
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {
    color: #190060!important;
    background-color: #89f8ff;
    box-shadow: rgba(0, 0, 0, 0.17) 0px 0px 0.5rem;
	border: unset;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li:first-child a,
.et_pb_filterable_portfolio .et_pb_portfolio_filters li:last-child a{
    border-radius: 12px;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    color: #fcfcfc;
    border: 0px solid #190060;
    margin: -1px 5px 5px 5px;
    background-color: #fff;
    background: #190060;
    box-shadow: rgba(0, 0, 0, 0.17) 0px 0px 0.5rem;
	transition:.5s;
	border-radius: 12px;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {
    color: #190060;
    background-color: hsla(0,0%,100%,.1);
}
 
/* Language switcher */
.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 0px;
	background: #190060;
}
.wpml-ls-statics-footer .wpml-ls-current-language > a {
    color: #ffffff;
    background-color: #190060;
    border-radius: 4px;
    border: 2px solid #ffffffd1;
}
@media (max-width: 980px){
.et_pb_column .et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    border-radius: 4px !important;
}
}
/* portfolio 5 columns */
 @media (min-width: 981px) {
    .lwp-col-portfolio .et_pb_grid_item {
        width: 15.6%!important;
        margin-right: 5.5%!important;        
    }
 
    .lwp-col-portfolio .et_pb_grid_item:nth-child(3n) {
        margin-right: 5.5%!important;
    }
 
    .lwp-col-portfolio .et_pb_grid_item:nth-child(5n) {
        margin-right: 0!important;
    }
 
   .lwp-col-portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1) {
        clear: none!important;
    }
 
    .lwp-col-portfolio .et_pb_grid_item.first_in_row {
        clear: both;
    }
}
@media (min-width: 981px) {
    .lwp-col-portfolio .et_pb_grid_item {
        width: 15.6%!important;
        margin-right: 5.5%!important;        
    }
 
    .lwp-col-portfolio .et_pb_grid_item:nth-child(3n) {
        margin-right: 5.5%!important;
    }
 
    .lwp-col-portfolio .et_pb_grid_item:nth-child(5n) {
        margin-right: 0!important;
    }
 
    .lwp-col-portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1) {
        clear: none!important;
    }
 
    .lwp-col-portfolio .et_pb_grid_item.first_in_row {
        clear: unset;
    }
}
/* footer language dropdown switcher*/
.et_pb_code_inner {
    position: relative;
    display: flex;
    justify-content: center !important;
}
#left-area ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul {
    padding: 0 !important;
}
.wpml-ls-legacy-dropdown-click a {
	border: none !important;
}
.wpml-ls-statics-shortcode_actions {
    border-radius: 12px !important;
}
.wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a {
	border-radius: 12px;
}

.et_overlay:before {
    color: #fff !important;
}