/*
 Theme Name:     Divi Child Theme 2024
 Description:    A child theme for Divi
 Author:         BPR Specialist
 Author URI:     https://bprspecialist.com
 Template:       Divi
 Version:        1.0.0
*/
/* Core Setup */
/* Truncate Text */
/* Border Radius */
/* Box Shadow */
/* Filter */
/* Transform */
/* Animation */
/* USAGE
@include keyframes(slide-down) {
  0% { opacity: 1; }
  90% { opacity: 0; }
}

.element {
  width: 100px;
  height: 100px;
  background: black;
  @include animation('slide-down 5s 3');
}
*/
/* Fonts */
/* Brand Colours */
/* Overlays */
/* General Font Sizes */
/* Fixed Font Sizes */
/* Menu Size */
/* Leader Vars */
/* Block Specific Sizes */
/* General Button Sizes */
/* Shadows */
/* Font Colours */
/* Fluid Fonts */

/* NAV */

.nav li li{
  line-height: 1.5em;
  font-weight: normal
}
.current-menu-parent > a{
  font-weight: 800;
}

.current-menu-item ul li a{
  font-weight: normal;
}

.current-menu-parent a .current-menu-item a{
  font-weight: 600;
}

.current-menu-item a{
  font-weight: 800;
}

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


/* Header */

.et_pb_fullwidth_header{
  min-height: 440px;
  padding-top: 172px!important;
}

.et_pb_fullwidth_header h1{

}


/* Blocks */

.et_pb_portfolio_item .post-meta a{
  pointer-events: none;
  cursor: pointer;
}


.bpr-blurb .et_pb_main_blurb_image .et_pb_image_wrap .et-pb-icon{
	width: 105px;
	height: 105px;
	display: flex;
    align-items: center;
    justify-content: center;
}

.bpr-blurb .et_pb_button_module_wrapper a{
	font-size: 14px;
}

/* Insights Post */

.single-post h2,
.single-post h3,
.single-post h4{
  font-size: 26px;
  line-height: 1.3rem;
  margin: 1.5rem 0 0.8rem;
}

.single-post .bpr-insights-post-info h3,
.single-post .bpr-insights-post-info h4{
  margin: 0!important;
}

.single-post .bpr-insights-post-info h4{
  display: inline-block;
}
.single-post .bpr-insights-post-info{
    font-style: italic;
    font-size: 0.8rem;
  }

/* Insights Landing */

.bpr-insights-group .bpr-group-title h2{
  border-bottom: 1px solid #3dab8f;
  margin-bottom: 1rem;
}

.bpr-insights-group .bpr-group-title-row{
  border-bottom: 1px solid #3dab8f;
  margin-bottom: 1rem;
}


/*.bpr-insights-group .et_pb_blog_grid .post{
  border: none;
  margin-bottom: 0px!important;
}*/

.bpr-insights-group .et_pb_blog_grid .post h2{
    font-size: 20px !important;
}

.bpr-insights-group .et_pb_blog_grid .post .more-link{
  display: block;
  margin-top: 1rem;
  text-transform: uppercase;
}

/* Insights Archive */
.bpr-insights-group.archive .et_pb_blog_grid .post{
  border: 1px solid #d8d8d8;
  margin-bottom: 50px!important;
}

.bpr-insights-group.archive article.et_pb_post .post-meta{
  margin: 0.4rem 0 0.75rem;
}

@media (min-width: 981px) {
  .bpr-insights-group.archive article.has-post-thumbnail {
    display: grid;
    grid-template-columns: 40% auto;
    grid-template-rows: repeat(4, auto);
    gap: 0 40px;
  }

  .bpr-insights-group.archive article.et_pb_post {
    margin-bottom: 40px
  }

  .bpr-insights-group.archive article.et_pb_post .more-link{
    margin-top: 1rem;
    text-transform: uppercase;
  }

  .bpr-insights-group.archive article.has-post-thumbnail .entry-featured-image-url {
    grid-row: span 5;
    margin-bottom: 0;
  }

}

/* Insights Homepage */
/*.bpr-insights-group.home .et_pb_blog_grid .post{
  border: 1px solid #d8d8d8;
  margin-bottom: 50px!important;
}


.bpr-insights-group.home article.et_pb_post h2{
  margin-top: 1.5rem;
}

.bpr-insights-group.home article.et_pb_post .post-meta{
  margin: 0.4rem 0 0.75rem;
}*/

@media (min-width: 981px) {
  /*.bpr-insights-group.home article.has-post-thumbnail {
    display: grid;
    grid-template-columns: 47.25% auto;
    grid-template-rows: repeat(4, auto);
    gap: 0 40px;
  }*/

  /*.bpr-insights-group.home article.et_pb_post {
    margin-bottom: 40px
  }

  .bpr-insights-group.home article.et_pb_post .more-link{
    margin-top: 1rem;
    text-transform: uppercase;
  }

  .bpr-insights-group.home article.has-post-thumbnail .entry-featured-image-url {
    grid-row: span 5;
    margin-bottom: 0;
  }*/

}



/* 2 Column Portfolio */
@media (min-width: 981px) {
  .bpr-two-column-portfolio .et_pb_grid_item, 
  .bpr-two-column-blog .et_pb_post {
  width: 47.25%!important;
  margin-right: 5.5%!important;
  }
   
  .bpr-two-column-portfolio .et_pb_grid_item:nth-child(3n),
  .bpr-two-column-blog .et_pb_post:nth-child(3n) {
  margin-right: 5.5%!important;
  }
   
  .bpr-two-column-portfolio .et_pb_grid_item:nth-child(2n),
  .bpr-two-column-blog .et_pb_post:nth-child(2n) {
  margin-right: 0!important;
  }
   
  .bpr-two-column-portfolio .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1),
  .bpr-two-column-blog .et_pb_post:nth-child(4n+1) {
  clear: none!important;
  }
   
  .bpr-two-column-portfolio .et_pb_grid_item.first_in_row,
  .bpr-two-column-blog .et_pb_blog_item.first_in_row {
  clear: unset;
  }
}

/* 3 Column Post */
@media (min-width: 981px) {
  .bpr-three-column-post .et_pb_grid_item {
    width: 30.5%!important; /* Three items per row, accounting for margins */
    margin-right: 4.5%!important; /* Space between items */
  }

  /* Remove margin from the last item in each row */
  .bpr-three-column-post .et_pb_grid_item:nth-child(3n) {
    margin-right: 0!important;
  }

  /* Ensure rows are properly aligned */
  .bpr-three-column-post .et_pb_grid_item:nth-child(3n+1) {
    clear: left!important; /* Clear floats for the first item in each row */
  }
  
  /* Reset styles for specific cases */
  .bpr-three-column-post .et_pb_grid_item.first_in_row {
    clear: unset;
  }
}


/* Media width fixes */


@media all and (max-width: 560px){
  .et_pb_fullwidth_header h1{
    font-size: 8.25vw!important;
  }
  h2{
    font-size: 26px!important;
  }
  .et_pb_portfolio_item h2 a{
    font-size: 2.5vw!important;
    line-height: 0vw!important;
  }

}

/* Post Design */
.post-style .column.size-1of3:first-child {
    width: 60% !important;
    margin-right: 0 !important;
}
.post-style .column.size-1of3:not(:first-child) {
    width: 40% !important;
    margin-right: 0 !important;
    padding-left: 20px;
    margin-bottom: 20px;
}
.post-style .column.size-1of3:not(:first-child) .et_pb_image_container{
  width: 50%;
    float: left;
    margin: 0;
}
.post-style .column.size-1of3:not(:first-child) .entry-title{
  width: 50%;
    float: left;
    margin: 0;
    padding-left: 10px;
    font-size: 15px;
    line-height: 1.2em !important;
    padding-bottom: 8px;
    position: relative;
    z-index: 1;
}
.post-style .column.size-1of3:not(:first-child) .post-meta{
  font-size: 11px;
    /*padding-left: 215px;*/
    position: relative;
    left: 10px;
    margin-right: 10px;
    line-height: 1.2;
}
.post-style .column.size-1of3:not(:first-child) .post-meta a {
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.post-style .column.size-1of3:not(:first-child) .post-content{clear: both;}
.post-style .column.size-1of3:not(:first-child) .post-content p{font-size: 13px;
line-height: 1.3;}

.post-style .column.size-1of3:not(:first-child) .entry-featured-image-url{margin-bottom: 14px;}
/*.post-style .column.size-1of3:not(:first-child) .post-content a.more-link{display: none;}*/
.post-style .column.size-1of3:not(:first-child) article{padding-top: 0; margin-bottom: 0 !important;}

.post-style .et_pb_blog_grid .et_pb_post {
    padding: 0;
}
.post-style .et_pb_image_container{margin: 0;}


.post-colv .et_pb_blog_grid .column {
    margin-right: 0 !important;
    width: 33.33% !important;
    padding: 10px;
}
.post-colv .et_pb_salvattore_content{margin: 0 -10px;}
.post-colv .et_pb_blog_grid .column .et_pb_post{padding: 0; padding-bottom: 20px; margin-bottom: 20px !important; background-color: #f9f9f9;}
.post-colv .et_pb_blog_grid .et_pb_image_container{margin: 0;}
.post-colv .et_pb_blog_grid .entry-featured-image-url, 
.post-style .et_pb_blog_grid .entry-featured-image-url{margin-bottom: 20px;}

.post-colv .et_pb_blog_grid .post h2, 
.post-colv .post-meta, 
.post-colv .post-content{padding-left: 15px; padding-right: 15px;}
.post-colv .et_pb_blog_grid .post h2 { height: 60px;}

header .container, .et_pb_fullwidth_header .et_pb_fullwidth_header_container{width: 100% !important; padding-left: 10px; padding-right: 10px;}
.tag-list .et_pb_text_inner a {
    background-color: #3dab8f;
    color: #fff;
    padding: 3px 15px;
    font-size: 15px;
    display: inline-block;
    margin: 2px 0;
}
.tag-list .et_pb_text_inner a:hover{background-color: #87bd29;}
footer .bottom-nav{text-align: center;}
footer .bottom-nav li.current-menu-item>a, footer #footer-info a:hover{color: #8dba24;}
footer .bottom-nav li > a{font-weight: 500;}
footer #footer-info a{font-weight: 400;}
footer .et_pb_widget{float: none;}
footer .wp-block-image{margin-bottom: 0;}
.policy-style .et_pb_text_inner h2{margin-top: 15px;}
.et_header_style_left #et-top-navigation nav>ul>li>a{font-weight: 500;}
header .et_mobile_menu{background-color: #3dab8f !important;}
.publication-style a.entry-featured-image-url img {
    object-fit: contain;
    background-color: #fff;
    padding: 30px 25px;
    height: 150px;
}
.publication-style .entry-title {
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding-bottom: 0;
    margin-bottom: 12px;
    height: 50px;
}
.publication-style .post-content { margin-top: 10px;}
.podcast-post .et_audio_content {
    padding: 18px 20px 1px !important;
    margin: 0 0 20px !important;
    
}
.podcast-post .et_audio_content h2 a{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;}
.podcast-post .post-content-inner{margin-bottom: 10px;}
.podcast-post .post-meta{margin-bottom: 10px;}
.et_pb_posts_nav.nav-single{clear: both;}
.soc-ico {
    padding: 15px 0 45px;
}
.single-podcast h2{margin-top: 30px;}

@media screen and (max-width: 980px) {
    .reverse { display: flex; flex-direction: column-reverse;}
    .post-colv .et_pb_blog_grid .column, .post-style .et_pb_blog_grid .column.size-1of2{width: 100% !important;}
    .post-colv .et_pb_blog_grid .post h2{height: auto !important;}
    .service-style .et_pb_column{margin-bottom: 10px !important;}
    .post-style .et_pb_blog_grid .column.size-1of2 .et_pb_post{margin-bottom: 30px;}
    .et_header_style_left .logo_container{left: 0; right: 0;}
    .et_header_style_left .logo_container a{margin-left: 5px;}
}
@media (max-width: 479px) {
    #footer-widgets .footer-widget:nth-child(n), .footer-widget .fwidget {
        margin-bottom: 0 !important;
    }
    .et_pb_post h2{margin-bottom: 10px !important;}
    .post-colv .et_pb_post .post-meta{padding-left: 15px !important; padding-right: 15px !important;} 
    .publication-style a.entry-featured-image-url img {
      object-fit: contain;
      background-color: #fff;
      padding: 15px 15px;
      height: 100px;
  }
}

/* Filter Grid */

.podcasts .dp-dfg-layout-grid .dp-dfg-image, .podcasts .dp-dfg-layout-grid .dp-dfg-overlay{
  margin: 0;
}

.podcasts .dp-dfg-layout-grid .dp-dfg-item{
  padding: 0;
  border: 0;
}

.podcasts .dp-dfg-layout-grid .dp-dfg-item h2, .podcasts .dpdfg_filtergrid_0 .entry-title a{
  font-size: 1.5rem !important;
  line-height: 1.5rem !important;}

@media only screen and (max-width: 980px) {
  .podcast .dp-dfg-layout-grid .dp-dfg-item h2, .podcasts .dpdfg_filtergrid_0 .entry-title a{
  font-size: 1.2rem !important;
  }
}

.podcasts .dp-dfg-layout-grid .dp-dfg-item .entry-meta
{
  font-size: 14px;
  margin: 0;
}