@media (min-width: 1201px) {
    #header .header-inner .header-bottom .primary-nav .primary-menu li:hover > ul {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    #header .header-inner .header-bottom .primary-nav .primary-menu li ul li
    {
        width:100%;
            display: flex
;padding-top:16px;
    justify-content: space-between;
      padding: 8px 16px;
    }
     #header .header-inner .header-bottom .primary-nav .primary-menu li ul li a
    {
        padding-bottom:9px;
    }
 #header .header-inner .header-bottom .primary-nav .primary-menu li ul li ul
    {
        opacity: 0!important;
        visibility: hidden!important;
        pointer-events: none!important;
               left: 100%;
                     top: 0;
                               z-index: 2;
                              
                                     
    }
     #header .header-inner .header-bottom .primary-nav .primary-menu li ul .menu-item-has-children:after
     {
           content: '\f054 ';
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
           font-weight: bold;
        text-decoration: inherit;
        margin-left: 5px;
        font-size: 12px;
                margin-right: 10px;
 
     }
     #header .header-inner .header-bottom .primary-nav .primary-menu li ul li:hover > ul {
        opacity: 1!important;
        visibility: visible!important;
        pointer-events: all!important;
    }
    #header .header-inner .header-bottom .primary-nav .primary-menu li ul {
        justify-content: stretch;
        display: flex;
            flex-wrap: wrap;
              padding:0px;
    }
}


.mobile-menu li ul .menu-item-has-children li a:before {
    content: " -- ";
    display: inline-flex;
    margin: 0 6px 0 16px;
}
.mobile-menu li ul li ul
{
   background-color: #f2f2f2;
}


.grid-outer.bg-white
{
        background-color: #fff;
}

.grid-outer.bg-blue {
 
    background-color: #1650a2;
}

.grid-outer {
    margin: 25px 0;
    /*margin:0;*/
}

/*
@media (max-width: 1200px) {
    .grid-outer {
   
        margin: 20px 0;
    }
}

.blog .post .post-inner .post-thumb
{
        min-height: 280px;
    max-height: 280px;
 
 
}

*/



/* Default: Desktop (≥ 1025px) */
.blog-container .posts .post {
  flex-basis: 33.33%;
}

.blog-container .posts .post .post-inner .post-thumb {
  height: 311px;
}

.blog-container .post .post-image-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.blog-container .posts .post .post-inner .post-thumb img {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* Tablet: 768px to 1024px */
@media (max-width: 1024px) and (min-width: 550px) {
  .blog-container .posts .post {
    flex-basis: 50%;
  }

  .blog-container .posts .post .post-inner .post-thumb {
    height: 260px; /* Optional: scale down for tablets */
  }
}

/* Mobile: ≤ 767px */
@media (max-width: 550px) {
  .blog-container .posts .post {
    flex-basis: 100%;
  }

  .blog-container .posts .post .post-inner .post-thumb {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.blog-container .post a
{
    font-size:20px;
    line-height:1.5em;
}

body ul li ul 
{
       padding-inline-start: 40px;
}

.events-container .events-list
{
    margin-top:50px;
    padding-bottom:50px;
}
.events-container .events-list  .event-item
{
    display:flex;
    gap:50px;
   
   
        margin-bottom: 20px;
    border-bottom: 1px solid;
    padding-bottom: 20px;
}

.events-container  .event-item .event-date
{
    width:30%;
}

.events-container  .event-item .event-title
{
    width:70%;
}

.divider-line-container.grid-outer {
    padding: 25px 40px!important;
    margin: 0;
    background-color:white;
}

.divider-line-container.grid-outer.bg-blue {
    background-color: #1650a2!important;
}


.divider-line-container.grid-outer.bg-white
{
        background-color: #fff!important;
}
.divider-line-container.grid-outer.bg-light-blue {
   
    background-color: #d0dcec!important;
}

.divider-line-container.grid-outer.bg-light-orange {

    background-color: #f9e4d2!important;
}

.divider-line-container.grid-outer.bg-orange {
   
    background-color: #e7954b!important;
}

html {
    margin-top:0!important;
}
.filters-form .clear-results-btn.active
{
    display:block!important;
}
.filters-form .clear-results-btn
{
    display:none!important;
    text-decoration: underline!important;
}

.category-container
{
        display: flex;
    align-items: center;
    margin-bottom: 15px;
        gap: 10px;
}

.category-filter-container input[type="radio"] {
    cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 30px;
    height: 30px;
    background-color: #c7e3b7;
  border: 2px solid #ccc;
  border-radius: 4px;
  outline: none;
  margin-right: 5px;
}

.category-filter-container input[type="radio"]:checked {
  background-color: #1650a2;
  border-color: #1650a2;
}

.category-filter-container input[type="radio"]:checked::before {
 /* content: "\2713"; /* Unicode character for checkmark */
   content: url('assets/img/check.svg');
 
  display: block;
  text-align: center;
  color: white;
  font-size: 21px;
}

.category-filter-container .buttons {
margin-top:80px;
}
.category-filter-container .buttons .reset-filters-button.inactive
{
    opacity: 0.5;

}

.events-no-title.events-container .events-list
{
        margin-top: 0px; 
     padding-bottom: 0px;
}

.events-no-title.events-container .events-list .event-item:nth-child(1)
{
    border-top:1px solid;
    padding-top: 20px;
}


.text-image-cards-container .post-image-container {
    height: 100%;
    display: flex
;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.text-image-cards-container .text-image-cards .card .thumb
{
        max-height: 220px;
}

.news-carousel-container .owl-stage {
    display: flex;
    flex-wrap: wrap;
    /* margin: -22px; */
    padding-top: 6px;

}
.news-carousel-container .card
{
    display: block;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    
}


.events-no-title table {
  
  border-collapse: collapse;
  width: 100%;
}

.events-no-title td, .events-no-title th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

.events-no-title tr:nth-child(even) {
 /* background-color: #dddddd;*/
}

.hero-banner-container .hero-banner .hero-banner-slider .owl-carousel .owl-stage-outer .owl-stage .owl-item .slide .image img
{
    height:450px;
    
}
@media (max-width: 991px) {

    .hero-banner-container .hero-banner .hero-banner-slider .owl-carousel .owl-stage-outer .owl-stage .owl-item .slide .image  img
    {
        height:235px;
    }

}

@media (max-width: 767px) {
     .hero-banner-container .hero-banner .hero-banner-slider .owl-carousel .owl-stage-outer .owl-stage .owl-item .slide .image  img
    {
        height:125px;
    }
}

.speakers-grid .post-thumb
{
        height: 260px;
}


.speakers-grid .post-image-container {
    height: 100%;
    display: flex
;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.speakers-grid .post-image-container img
{
        min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}



.post-image-container .wp-post-image
{
        height: 260px;
}


 .post-image-container {
    height: 100%;
    display: flex
;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.post-image-container img
{
        min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.presentation-cards .card a
{
        z-index: 9;
    position: relative;
}

.presentation-cards-container .presentation-cards
{
    gap:50px;
}

.presentation-cards-container .presentation-cards .card {
    flex-basis: calc(30% - 10px);
  
}
/* Back to Top Button Styles */
#backToTop {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #41931b; /* Change to match site theme */
    border: none;
    border-radius: 50%;
    padding: 14px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s, opacity 0.3s;
    opacity: 0;
}

#backToTop:hover {
    background-color: #555;
    transform: scale(1.1);
}

#backToTop svg {
    width: 28px;
    height: 28px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #backToTop {
        bottom: 15px;
        right: 15px;
        padding: 16px;
    }
    #backToTop svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    #backToTop {
        bottom: 10px;
        right: 10px;
        padding: 10px;
    }
    #backToTop svg {
        width: 20px;
        height: 20px;
    }
}


.events-container .events-list {

  
    max-height: 400px;
    margin-bottom: 50px;
    overflow-x: auto;
  
}


.image-block  .images-row {
        display: inline-flex;
    flex-wrap: wrap;
        align-items: center;
    
}
.image-block  .image-col {
    
        
}
@media(min-width:1200px)
{
.image-block  .images-row img
{
        height: revert-layer;
    max-width:unset;
}
}

.image-block  article
{
    text-align:center;
}

.resources-list .item .item-inner span.date span.icon img
{
    width:100%!important;
    height:100%!important;
}
.event-item a
{
    /*text-decoration:none;*/
}



.presentation-cards h4 {
    font-size: 22px!important;
    font-weight: bold;
}

.hero-banner .owl-dots-wrapper, .text-image-carousel .owl-dots-wrapper
{
    display: flex;
    justify-content: center;
    gap: 5px;
}
.hero-banner .owl-prev, .hero-banner .owl-next, .text-image-carousel .owl-prev, .text-image-carousel .owl-next
{

  -webkit-appearance: none; /* For Webkit browsers */
  -moz-appearance: none;    /* For Mozilla browsers */
  appearance: none;         /* Standard property */


  border: none;
  box-shadow: none;


  background-color: #1650a2; /* Example color */

 
  color: white;
cursor: pointer;
height: 30px;
    width: 30px;
    border-radius: 120px;
    font-size: 15px;
}

body .owl-dots-container.grid-outer .owl-dots-wrapper.grid .owl-dots-inner
{
    margin-top:0;
        gap: 5px;
}
.hero-banner .owl-dots-inner .owl-dot, .text-image-carousel .owl-dots-inner .owl-dot
{
    margin:0!important;
    
}

.text-image-carousel-container .text-image-carousel .owl-dots-container .owl-dots-wrapper .owl-dots-inner
{
        gap: 10px;
}

.single-resource-container .single-resource .resource-info .icon-wrap .icon img
{
    width:100%;
}


.events-toggler-wrapper .events-list .item .item-inner .icon
{
    justify-content: center;
    width: 100%;
    align-items: center;
}



.resources .events-toggler-wrapper .events-list .item .item-inner img.image
{
    position: relative;
    width: auto;

    height: 80%;
}

.events-toggler-wrapper.light img
{
    filter: invert(1);
}

.events-toggler-wrapper.light a
{
    color:white;
}

@media (min-width: 1201px) {
    .events-toggler-wrapper.light .events-list .item.has-description:hover h4 {
               color: #dadada;
    }
}

.grid-outer.with-color-container
/*,  .grid-outer.bg-transparent, .grid-outer.bg-white*/
{
     padding-top: 65px;
    padding-bottom: 65px;
    margin: 0;
}

@media (max-width: 1200px) {
    .grid-outer.with-color-container
    /*, .grid-outer.bg-transparent, .grid-outer.bg-white */
    {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .partners-carousel-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
}


@media (max-width: 767px) {
    .grid-outer.with-color-container
    /*, .grid-outer.bg-transparent, .grid-outer.bg-white*/
    {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .partners-carousel-container {
        padding-top: 0!important;
        padding-bottom: 0!important;
    }
}


.partners-carousel-container
{
        padding-top: 0!important;
    padding-bottom: 0!important;
        margin: 25px 0 !important;
}



.button.carpaccio-variant, .button[type=submit].carpaccio-variant {
    background-color: #E33E39;
}

.button.red, .button[type=submit].red {
    background-color: #BD0C36;
}
 
 
 
.button.yellow, .button[type=submit].yellow {
    background-color: #F0C600;
}
 
 
 
.partners-carousel-container.grid-outer.bg-light-blue,
/*.partners-carousel-container.grid-outer.bg-white,*/
.partners-carousel-container.grid-outer.bg-blue,
.partners-carousel-container.grid-outer.bg-light-orange,
.partners-carousel-container.grid-outer.bg-orange

{
        padding-top: 65px!important;
    padding-bottom: 65px!important;
}


@media (max-width: 1200px) {
.partners-carousel-container.grid-outer.bg-light-blue,
/*.partners-carousel-container.grid-outer.bg-white,*/
.partners-carousel-container.grid-outer.bg-blue,
.partners-carousel-container.grid-outer.bg-light-orange,
.partners-carousel-container.grid-outer.bg-orange {
        padding-top: 50px!important;
        padding-bottom: 50px!important;
    }
}


@media (max-width: 767px) {
.partners-carousel-container.grid-outer.bg-light-blue,
/*.partners-carousel-container.grid-outer.bg-white,*/
.partners-carousel-container.grid-outer.bg-blue,
.partners-carousel-container.grid-outer.bg-light-orange,
.partners-carousel-container.grid-outer.bg-orange {
        padding-top: 40px!important;
        padding-bottom: 40px!important;
    }
}

.bg-light-blue .text-image-carousel .owl-dots-container .owl-dots-wrapper .owl-dots-inner button.active,

.bg-blue .text-image-carousel .owl-dots-container .owl-dots-wrapper .owl-dots-inner button.active,

.bg-white .text-image-carousel .owl-dots-container .owl-dots-wrapper .owl-dots-inner button.active,

.bg-light-orange .text-image-carousel .owl-dots-container .owl-dots-wrapper .owl-dots-inner button.active,

.bg-orange .text-image-carousel .owl-dots-container .owl-dots-wrapper .owl-dots-inner button.active,

.bg-transparent .text-image-carousel .owl-dots-container .owl-dots-wrapper .owl-dots-inner button.active
 {
    background-color: #1650a2!important;
    border: 4px solid #fff;
}
.text-image-carousel-container.grid-outer.color-white *:not(.button):not(.link-button) {
    color: unset;
}

/*.no-top-space*/
/*{*/
/*    padding-top:0!important;*/
/*    margin-top:0!important;*/
/*}*/

/*.no-bottom-space*/
/*{*/
/*    padding-bottom:0!important;*/
/*    margin-bottom:0!important;*/
/*}*/

/*.both-no-space*/
/*{*/
/*    padding-top:0!important;*/
/*    margin-top:0!important;*/
/*    padding-bottom:0!important;*/
/*    margin-bottom:0!important;*/
/*}*/


.text ul li:last-child, .text .ol li:last-child
{
    /*margin-bottom:15px;*/
}