/* blocks carousel + single posts and resources */



.btn-blue {

  background: #0094BE;

  color: #ffffff !important;

  border-radius: 5px;

  text-decoration: none;

}
.bloc-text p {
	padding-top: 10px; 
	padding-bottom: 0!important;
}


.btn-blue:hover,

.btn-blue:focus,

.btn-blue:active {

  background: #0094BE !important;

  color: #ffffff;

  opacity: 0.9;

}
.bg-gray {
	background-color: #ECECEC;
}

 .wp-block-separator.has-background.custom-separator {
     width: 340px;
     height: 3px !important;
     margin-top: 15px;
     max-width: 80% !important;
}
.uagb-section__inner-wrap {
	padding-bottom: 10px;
}

.inner-post.resource .btn-blue {

  width: 250px;

}
.wp-block .inner-post.resource .btn-blue {

  margin-top: 0;
  font-size: 16px;
  height: 44px;

}
.wp-block .wrap-btn-resource {
  margin-top: 0;
}



.btn-dw {

  margin-bottom: 20px;

  width: 100%;

  display: inline-block;

  padding: 10px;

  text-align: center;

  text-decoration: none;

}



.btn-dw i {

  margin-right: 7px;

}

/*block-custom 2024*/ 
.block-custom .label-text-custom:hover {
  background: #00000066 !important;
transition: background-color 2s ease-out .1s;
top: 26.5% !important;
bottom: 13%;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
text-decoration: underline;

}
.block-custom .wp-block-uagb-image__figure,
.block-custom2 .wp-block-uagb-image__figure {
min-height: 236px;
}
.block-custom .wp-block-uagb-image__figure img,
.block-custom2 .wp-block-uagb-image__figure img{
  min-height: 236px;

  height: 236px;
}
.block-custom2 .label-text-custom:hover {
  background: #00000066 !important;
transition: background-color 2s ease-out .1s;
top: 51% !important;
bottom: -53%;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
text-decoration: underline;

}

.block-custom {
	min-height: 446px;
  background: #fff;
  position: relative !important;
  margin-top: 0 !important;
  border: 1px solid #BCBCBC;
  border-radius: 5px;
}
.block-custom2 {
min-height: 233px;
  height: 233px;
  position: relative !important;
  margin-top: 0 !important;
  border: 1px solid #BCBCBC;
  border-radius: 5px;
}
.block-custom2 .wp-block-uagb-image__figure,
.block-custom .wp-block-uagb-image__figure{
	background-color: #000;
}
.block-custom2 img,
.block-custom img {
	opacity: 0.9;
}
.block-custom .label-text-custom{

  position: absolute !important;
left: 50%;
top: 26.7%;
transform: translate(-50%, -50%);
z-index: 9;
font-size: 19px;
color: #fff;
background: #00000066;
padding: 15px 15px;
padding-right: 15px;
padding-left: 15px;
width: 100% !important;
margin-top: 0;
text-align: center;
}
.block-custom .label-text-custom  a,
.block-custom2 .label-text-custom  a{
   color: #fff;

}
.block-custom .label-text-custom  a:hover,
.block-custom2 .label-text-custom  a:hover{
   color: #fff;
}
.block-custom2 .label-text-custom{

position: absolute !important;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
z-index: 9;
font-size: 19px;
color: #fff;
background: #00000066;
padding: 15px 15px;
padding-right: 15px;
padding-left: 15px;
width: 100% !important;
margin-top: 0;
text-align: center;
}

/* blocks blog articles */

   .wrap-single-post .inner-post {

     display: flex;

     align-items: center;

     background: #ffffff;

    -webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1) !important;

    -moz-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1) !important;

    box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1) !important;

    border-radius: 5px;

    position: relative;

   }



   .wrap-single-post .post-text {

     padding: 20px 30px;

   }



   .wrap-single-post img {

     border-radius: 5px 0 0 5px;



   }



   .wrap-single-post img,

   .wrap-single-post .post-text {

     width: 50%;

   }



   .wrap-single-post.single-resource .wrap-img {

     width: 50%;

   }





   .inner-post h2 a {

     text-decoration: none;

     color: #0094BE;

   }



   .inner-post h2 a:hover {

     opacity: 0.7;
     color: #f7a823 !important;

   }





   .inner-post h2:after {

     content: "";

     display: block;

     width: 340px;

     height: 3px;

     background: #F7A823;

     margin: 15px 0;

     max-width: 100%;

   }



   .inner-post .date {

     padding: 0 20px;

     margin-bottom: 10px;

     font-size: 14px;

   }





  .inner-post .date::before {

      content: '\f073';

      font-family: FontAwesome;

      font-size: 18px;

      margin-right: 10px;

      color: #F7A823;

  }



   .inner-post .excerpt {

     margin-bottom: 10px;

   }



   .link-more {

     display: none;

   }



   .inner-post a.btn {

     font-size: 16px;

      background-color: #FFFFFF !important;

      color: #333333;

      padding: 10px 30px;

      border: 2px solid #F7A823;

      border-radius: 5px !important;

      margin-top: 20px;

      text-decoration: none;

      display: inline-block;

      margin-left: 20px;

      font-weight: 400;

   }



  .inner-post a.btn:hover {

    color: #FFFFFF !important;

    background-color: #F7A823 !important;

    box-shadow: 1px 1px 12px 0px #ccc;

    opacity: 1;

    transition: all 0.2s ease;
    border: 2px solid #f7a823 !important;
   }





/* carousel */



  .style-carousel {

    display: flex;

    align-items: strech;

  }
 
.wrap-item-post-grid   .post-text ,
.wrap-single-post-grid   .post-text {
     padding: 20px 30px;
}
  .blog-3-column {
    min-height: 630px;
    margin-top: 0 !important;
  }
  .blog-3-column .wrap-item-post-grid .inner-post h2, .resources-3-column .resources .inner-post.resource .post-text h2 {
    font-size: 20px;
    color: #0094BE;
    font-weight: 600;
  }
  .blog-3-column .wrap-item-post-grid .inner-post .excerpt,
  .resources-3-column .inner-post .excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 70px;
    font-size: 15px;
  }
  .resources-3-column .resources .inner-post.resource h2 a, .column-custom-inner h2 a, .blog-3-column .wrap-item-post-grid .inner-post h2 a {
    font-size: 20px;
    text-decoration: none;
    color: #0094BE;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
  }
  .resources-3-column .resources .inner-post.resource .wrap-img img, .blog-3-column .wrap-item-post-grid .inner-post img {
    border-radius: 0;
    max-height: 336px;
    min-height: 336px;
  }
 
  .resources-3-column .resources .inner-post.resource h2 a, .column-custom-inner h2 a, .blog-3-column .wrap-item-post-grid .inner-post h2 a {
    font-size: 20px;
    text-decoration: none;
    color: #0094BE;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 50px;
  }
 
  .column-custom-inner img {
    min-height: 336px;
    
  }

  .label-text {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 9;
    font-size: 15px;
    color: #ffffff;
    background: #0094BE;
    padding: 7px 15px;
      padding-right: 15px;
      padding-left: 15px;
    border-radius: 0 5px 5px 0;
    width: auto !important;
    margin-top: 0;
  }
  .column-custom  {
    min-height: 630px;
    box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.1) !important;
    border-radius: 5px;
    background: #fff;
    position: relative !important;
    margin-top: 0 !important;
    
  }
  .wp-block .column-custom  h2{
    padding-top:  0 !important;
  }
  .wp-block .column-custom  ,
  .wp-block .resources-3-column, .wp-block .blog-3-column {
    height: 740px;
  }
  .blog-3-column .article-blog .wrap-btn.all-news .btn {
    background: #0094BE !important;
    color: #ffffff !important;
    border-radius: 5px;
    border: 2px solid #0094BE !important;
    padding: 0;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    margin-top: 25px !important;
  }
  .label-text.newsletter::before, .btn-simple.newsletter a::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    margin-left: -5px;
    margin-right: 10px;
  }
  .btn-simple.distributor a,
  .btn-simple.download a {
    display: flex;
    align-items: center;
  }
  
  .btn-simple.distributor a::before{
    content: url("assets/img/earth-europe-solid.svg");
    margin-left: -5px;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    display: block;
    margin-bottom: 3px;
  }
  .label-text.distributor::before{
    content: url("assets/img/earth-europe-solid.svg");
    margin-left: -5px;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    display: block;
   
  }
  .label-text.distributor ,
  .label-text.download{
    display: flex;
    align-items: center;
  }
  .label-text.download::before{
    content: url("assets/img/download-solid.svg");
    margin-left: -5px;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    display: block;
    margin-bottom: 5px;
  }
  .btn-simple.download a::before{
    content: url("assets/img/download-solid.svg");
    margin-left: -5px;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    display: block;
    margin-bottom: 5px;
  }
  .resources-3-column {
    margin-top: 0 !important;
  }
 .custom-text {
  font-size: 15px;
 }
  .columns {
    display: flex;
    align-items: baseline;
  }
  .column-custom img{
    width: auto !important;
  }
  .column-custom h2 a{
    text-decoration: none;
  }
  .btn-simple {
    width: auto !important;
    float: left;
    margin-left: 50px;
    margin-top: 3px !important;
  }
  .newsletter .btn-simple a {
    display: flex;
    align-items: center;
  }
  
  p.label-text {
    margin-top: 0 !important;
  }
  .wp-block .btn-simple {
    margin-left:20px;
    margin-top: 0;
  }
  .column-custom h2 {
    font-size: 20px !important;
  }
    .custom-h2-block::after {
    content: "";
    display: block;
    width: 340px;
    height: 3px;
    background: #F7A823;
    margin: 15px 0;
      margin-bottom: 15px;
    max-width: 100%;
    margin-bottom: 0;
  }
  .column-custom h2 {
  margin-top: 0 !important;
  padding: 20px 50px !important;
  padding-bottom: 0 !important;
  margin-bottom: 14px !important;
  }
  .column-custom .custom-text {
    margin-top: 0 !important;
    padding: 0 50px !important;
  }
 .block-custom .custom-text {
    font-size: 15px !important;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 24px !important;
    margin-top: 20px !important;
    padding-left: 24px !important;
    min-height: 75px;
    text-align: center;
  }
  .wp-block {
    margin-top: 0 !important;
  }
  .block-custom .btn-simple {
    margin-left: 0px !important;
    display: flex;
    float: none;
    justify-content: center;
  }
  .wp-block {
    margin-top: 0;
  }
  .block-custom {
    min-height: 446px;
    background: #fff;
    position: relative !important;
    margin-top: 0 !important;
    border: 1px solid #BCBCBC;
    border-radius: 5px;
  }
  .block-custom2 {
  min-height: 233px;
    height: 233px;
    position: relative !important;
    margin-top: 0 !important;
    border: 1px solid #BCBCBC;
    border-radius: 5px;
  }
  .custom-block-text-img.special .custom-text {
    font-size: 15px !important;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 10px !important;
    margin-top: 10px !important;
    padding-left: 24px !important;
    min-height: 97px;
  
  }
  .style-carousel .wrap-item-post {

    width: 33%;

    padding: 0 15px;

  }
  .bloc-text .uagb-section__inner-wrap {
    max-width: 1150px !important;
    width: 100% !important;
}
.editor-styles-wrapper .wp-block {
  max-width: 100% !important;
}


  .style-carousel .wrap-item-post img {
    height: 310px;
width: 100%;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  }





  .style-carousel .inner-post {

    background: #ffffff;

    height: 100%;

    overflow: hidden;

  }



  .style-carousel .inner-post h2 a {

    font-size: 20px;

    text-decoration: none;

    color: #0094BE;

        display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

  }



  .style-carousel .inner-post h2 a:hover {

    opacity: 0.7;

  }





  .style-carousel .post-text {

    padding: 30px;

    min-height: 290px;

  }
  .inner-post .wrap-thumb img {
max-height: 310px;
  }

  .wrap-item-post {
    padding: 30px 15px !important;
  }
  .slick-track .inner-post {
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,.1) !important;
    border-radius: 6px;
    min-height: 630px;
  }

  .style-carousel .inner-post .excerpt {

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

  }



  .inner-post.resource  {

    position: relative;

  }





  .inner-post.resource .type {

    position: absolute;

    top: 0;

    left: 0;

    z-index: 9;

    font-size: 15px;

    color: #ffffff;

    background: #0094BE;

    padding: 7px 15px;

    border-radius: 0 5px 5px 0;

  }



  .inner-post.resource .type i {

    padding-right: 10px;

  }



  .wrap-btn-resource .btn-blue {

     margin-top: 20px;

     margin-bottom: 0;

  }






  @media only screen and (max-width: 1450px) {
    .column-custom h2 {
      padding: 20px 25px !important;
      padding-bottom: 0px !important;
    }
    .column-custom .custom-text {
      padding: 0 25px !important;
    }
    .btn-simple {
      margin-left: 25px;
    }
    .wrap-item-post-grid .post-text, .wrap-single-post-grid .post-text {
      padding: 20px 10px;
    }
  }


@media only screen and (max-width: 1199px) {

   .wrap-single-post .inner-post {

     padding: 30px;

   }



   .wrap-single-post img {

    border-radius: 5px;

   }



   .wrap-single-post .post-text {

     padding: 0 0 0 30px;

   }



   .style-carousel .wrap-item-post img {

    height: 250px;

    }
    .column-custom {
      min-height: 670px;
    }
    .blog-3-column .wrap-item-post-grid {
      min-height: 670px;
    }
    .wrap-single-post-grid, .wrap-item-post-grid {
      min-height: 670px;
    }

}



@media only screen and (max-width: 1023px) {

    .wrap-single-post .inner-post h2 {

      font-size: 22px;

    }





}

@media only screen and (max-width: 976px) {
  .column-custom  img {
    width: 450px !important;
    height: 336px !important;
  }
  .btn-simple span, .newsletter .btn-simple a {
    font-size: 15px;
  }
  .blog-3-column .article-blog .wrap-btn.all-news .btn {
    width: 200px;
    font-size: 15px;
  }
}

@media only screen and (max-width: 699px) {
.style-carousel .wrap-item-post img {
  width: auto;
}


  }
@media only screen and (max-width: 767px) {

    .wrap-single-post .inner-post {

      flex-direction: column;

    }



    .wrap-single-post img,

    .wrap-single-post .post-text,

    .wrap-single-post.single-resource .wrap-img {

        width: 100%;

    }



    .wrap-single-post .post-text,

    .wrap-single-post .inner-post .date,

    .article-blog .wrap-single-post .inner-post .post-text h2,

    .excerpt p,

    .wrap-single-post .post-text .title,

    .wrap-single-post .post-text .wrap-btn-resource {

      padding: 0 !important;

    }



    .wrap-single-post a.btn {

      margin-left: 0;

    }





    .wrap-single-post img {

      margin-bottom: 20px;

    }



    .slick-next {

      right: 17px;

      width: 30px;

      height: 30px;

      z-index: 9999;

    }



    .slick-prev {

      left: 17px;

      width: 30px;

      height: 30px;

      z-index: 9999;

    }



    .inner-post.resource .btn-blue {

      width: 160px;

    }
    .wrap-item-post-grid .post-text, .wrap-single-post-grid .post-text {
      padding: 20px 30px;
    }
    .column-custom img {
      width: 100% !important;
      height: auto !important;
    }
    .btn-simple {
      margin-left: 25px;
      margin-bottom: 30px !important;
    }
    .column-custom {
      min-height: auto;
    }
    .wrap-single-post-grid, .wrap-item-post-grid,
    .blog-3-column {
      min-height: auto !important;
    }




}



