/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* forms */
.gpfup__droparea.gpfup__droprea--maxed {display:none}
input::placeholder {color:#888!important}
.gform-theme--framework .gf_progressbar .percentbar_blue,input[type=button] {
    background-color:#268bba!important;
}
.gform_confirmation_message {
    background-color:#eaeade;
    padding: 10px;
    font-weight: 600;
}
input[type=button].gform-theme-button{
    color:#fff!important;
    border-radius: 0px!important;
    border:0px!important
}

 #gform_6 .gfield_label {margin-top:0px!important}
#gform_66 .gform-field-label,  #gform_6 .gform-field-label--type-inline,  #gform_6 .gform-field-label--type-sub-large,  #gform_6 .gfield_description{font-size:18px!important}

#gform_6 legend {font-size:20px!important;}
#gform_6 .ginput_price {font-weight:600}
#gform_6 .gfield-choice-input {margin-top:2px}

.ginput_container_total input[type="text"], .ginput_product_price_wrapper input[type="text"] {
	background-color: transparent!important;
    border-bottom: none!important;
    font-size: 18px !important;
    padding: 0px!important;
}
.gform-theme--framework legend.gform-field-label, .gfield .gfield_label, .gfield_required {font-weight:600;font-size:18px}

/* fonts */
.cap{text-transform:uppercase}

/* page titles */

.row .col.section-title {border:0px!important}
.section-title h1 {
    position: relative;
	color:#fff!important;
}

.section-title h1:before {
    content: '';
    position: absolute;
    top: -30px;
    width: 100%;
    left: -50%;
    height: 100%;
    background: #2c506f;
    z-index: -1;
    clip-path: polygon(0 0, 100% 25%, 100% 100%, 0 100%);
    padding: 20px 0px;
}

/* canvas menu */
@media only screen and (min-width: 1000px) {
    
#top .slide-out-widget-area-toggle:not(.small) a.using-label .close-wrap {
    height: 50px!important;}
.lines-button {display:none!important;}	
#top .slide-out-widget-area-toggle a.open span {
    overflow: visible!important;
}	

#top ul .slide-out-widget-area-toggle a.open>span {
    top: 15px;
    left: 12px;
}
.slide-out-widget-area-toggle.mobile-icon a.open>span {
    height: 50px!important
}
#top .slide-out-widget-area-toggle .close-line {width: 5px!important;}

#slide-out-widget-area.fullscreen-split .left-side {
    width: 100%!important;
}
#slide-out-widget-area ul {
   text-align:right!important;
}
#slide-out-widget-area.fullscreen-split .left-side {align-items: flex-end!important;}
#slide-out-widget-area.fullscreen-split .inner>.container {display:block!important;}
#slide-out-widget-area.fullscreen-split .right-side {
    justify-content: right!important;
	width:100%!important;
}	
}

/* nav */

#slide-out-widget-area .ocm-dropdown-arrow i {
    font-size: 50px!important;
    height: 50px!important;
    width: 50px!important;
    line-height: 25px!important;
}

/* Tooltip container */
[data-tooltip] {
  position: relative;
}

/* Tooltip text */
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px); /* Display below the links with 5px spacing */
  left: 50%;
  transform: translateX(-50%);
  padding: 5px; /* Adjust padding as needed */
  background-color: #355772;
  color: #fff;
  font-size: 14px;
  opacity: 0; /* Hide tooltip by default */
  white-space: nowrap; /* Prevent tooltip from wrapping */
  max-width: 200px; /* Set max-width to avoid excessively wide tooltips */
  text-align: center; /* Center-align the text */
  transition: opacity 0.3s ease;
  line-height:1;
}

/* Show tooltip on hover */
[data-tooltip]:hover::after {
  opacity: 1;
}

.no-menu-assigned {display:none!important}

#top ul .slide-out-widget-area-toggle a.using-label>span {
    display: none!important;
} 
#top ul .slide-out-widget-area-toggle a .label {
	text-transform: uppercase!important;
	margin-right:0px!important;
}
#top ul .slide-out-widget-area-toggle a.using-label {
    padding: 5px 10px;
    background-color: #000;
    color: #fff;
}
#top ul .slide-out-widget-area-toggle a.using-label:hover i {Color:#FFF!important}
#top ul .slide-out-widget-area-toggle a i.label {
    color: #fff!important;
	font-size:16px!important;
}

#header-outer[data-format=centered-menu] #top nav>.icons>li {
    margin: 0 14px!important
}
.icons .slide-out-widget-area-toggle {display:none!important}

#header-outer[data-lhe="default"] #top nav > ul > li.marionnet > a {padding:0px!important}

/* nav icons */

.cal::before, .fa-calendar:before {
	content:url('/wp-content/themes/salient-child/img/icone-calendrier.svg')!important;
}
.rep::before {
	content:url('/wp-content/themes/salient-child/img/icone-repertoire.svg');
}
body #header-outer .icon-salient-search:before, body.material #header-outer .icon-salient-search:before {
	content:url('/wp-content/themes/salient-child/img/icone-loupe.svg')!important;
}
.icon-salient-m-user:before{
	content:url('/wp-content/themes/salient-child/img/icone-membre.svg')!important;
}
.cal::before, .rep::before{
	display: block;
    width: 25px;
}

body.material #header-outer .icon-salient-search:before, .icon-salient-m-user:before{
	display: block;
    width: 22px;
}

/* FOOTER */ 


@media only screen and (min-width: 1000px) {
    body #footer-outer .row {padding: 75px 0px 25px 0px!important;}
    body #footer-outer #copyright {padding:5px 0px!important;} 
    .partner-logos {padding: 0px 0px 30px 0px;}    
}

.partner-logos {
    text-align: center; /* Center images */
}

.partner-logos img {
    max-width: 100%;
	height:auto;
}
.partner-logos .mobile-logos {
        display: none; /* Display mobile image on mobile */
    }
    
@media (max-width: 768px) {
    .partner-logos .desktop-logos {
        display: none!important /* Hide desktop image on mobile */
    }

    .partner-logos .mobile-logos {
        display: block!important; /* Display mobile image on mobile */
    }
}


.has-small-font-size {line-height:1.3!important}
.material #footer-outer #footer-widgets .col ul li {
    text-transform: uppercase;
	text-align:center;
}
/*body #footer-outer i {font-size: 35px!important;} */ 
#footer-outer #copyright li {margin-left: 30px!important;}
#yikes-mailchimp-container-1 input[type="email"] {background-color: #fff;}
button[type=submit] {background-color: rgb(77, 136, 168);}
body[data-form-style="minimal"] #footer-widgets input[type="email"] {border-bottom:none!important;}
.yikes-easy-mc-form .yikes-easy-mc-submit-button {
    margin-bottom: 0px!important;
    position: absolute!important;
    width: fit-content!important;
    right: 0px!important;
    top: -7.5px!important;
    padding: 13px 10px!important;
    border-radius: 0px;
	text-transform:uppercase;
}

#yikes-mailchimp-container-1 {
    width: 80%;
    position: relative
}

@media only screen and (min-width:690px) and (max-width: 1000px) {

#yikes-mailchimp-container-1 {width: 100%!important;}
}

@media (max-width: 690px) {
    #footer-outer {
        text-align:center;
}
#yikes-mailchimp-container-1 {margin:0 auto;}

#footer-outer #copyright .col ul.social {
    margin: 0 auto;
    width: fit-content;
    float:none!important;
}
}

/* pages */

body[data-header-resize="1"] .container-wrap{
    padding-top: 25px!important
}

/*  homepage */
body .full-width-content.vc_row-fluid .mission .column-image-bg-wrap .column-image-bg {	background-repeat:no-repeat!important}
.testimonial_slider[data-style="minimal"] .testimonial-next-prev .prev::before {background-image:url('/wp-content/themes/salient-child/img/guillemets-gauche.png');}
.testimonial_slider[data-style="minimal"] .testimonial-next-prev .next::before {background-image:url('/wp-content/themes/salient-child/img/guillemets-droite.png');}

.testimonial_slider[data-style="minimal"] .testimonial-next-prev .prev::before, .testimonial_slider[data-style="minimal"] .testimonial-next-prev .next::before {
	background-size: contain;
	background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
	width:100px;
	height:100px;
	top:-30px;
}

.testimonial_slider[data-style="minimal"] .testimonial-next-prev .prev::after, 
.testimonial_slider[data-style="minimal"] .testimonial-next-prev .next::after {display:none}
.testimonial_slider[data-style="minimal"] .testimonial-next-prev .next, .testimonial_slider[data-style="minimal"] .testimonial-next-prev .prev {
    font-size: 0px!important;
}

/* shaped member images */
.nectar-post-grid .nectar-post-grid-item .inner {
    overflow: visible;
}

.section_membres .nectar-post-grid-wrap .nectar-post-grid-item-bg-wrap{
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    image-rendering: smooth
}

.section_membres .nectar-post-grid-item:nth-child(3n+1) .nectar-post-grid-item-bg-wrap {
    transform: rotate(2deg)!important;
	transition: all 0.3s;
}
.section_membres .nectar-post-grid-item:nth-child(3n+1):hover .nectar-post-grid-item-bg-wrap {
    transform: rotate(-0.5deg)!important;
}
.section_membres .nectar-post-grid-item:nth-child(3n+2) .nectar-post-grid-item-bg-wrap {
    transform: rotate(-1deg)!important;
	transition: all 0.3s;
}
.section_membres .nectar-post-grid-item:nth-child(3n+2):hover .nectar-post-grid-item-bg-wrap {
    transform: rotate(0.5deg)!important;
}
.section_membres .nectar-post-grid-item:nth-child(3n+3) .nectar-post-grid-item-bg-wrap {
    transform: rotate(-2deg)!important;
	transition: all 0.3s;
}
.section_membres .nectar-post-grid-item:nth-child(3n+3):hover .nectar-post-grid-item-bg-wrap {
    transform: rotate(0.5deg)!important;
}

/* member page*/
.photo-profil img {max-height:140px;width:auto;}
.photo-profil {margin:15px 0px}
.single-membre #breadcrumbs, .single-marionnette #breadcrumbs  {display:none}

.single-membre h1 {
    font-size: 28px!important;
    text-transform: uppercase;
	 color:#0f719f;
}
.single-marionnette .image-caption {
    background-color:#6d6b6e!important;
    padding: 15px!important;
    width: 100%;
    color: #fff;
    font-weight: 600;
	margin-top:-50px!important;
	position:relative;
}

.single-marionnette .image-caption p {padding-bottom:0px!important}

.single-marionnette h1 {
    font-size: 24px!important;
    text-transform: uppercase;
	 color:#b71b5f;
}

.inline {display:inline!important}

.single-membre h2 {
    font-size: 22px!important;
    text-transform: uppercase;
	color:#0f719f;
	text-align:left!important
}

.single-marionnette h2 {
    font-size: 24px!important;
    text-transform: uppercase;
}
.single-membre h3 {
	text-transform:uppercase!important;
	margin-bottom:0px!important;
}

.single-membre h4 {text-transform:uppercase;font-size:16px!important;color: #268bba !important;}
.single-membre h4 a {color: #268bba !important}

.single-marionnette h4 {text-transform:uppercase;font-size:16px!important;color:#b71b5f!important;}
.single-marionnette h4 a {color: #b71b5f !important}


.single-membre .row_col_wrap_12, .single-marionnette .row_col_wrap_12 {
	 display: flex;
    flex-wrap: wrap; /* Allows the columns to wrap to the next row on smaller screens */
	gap: 25px;
}

.single-marionnette .row_col_wrap_12 {padding-bottom:50px;}
/* Style for each column */
.single-membre .wpb_column, .single-marionnette .wpb_column   {
    flex: 1 ; 
    box-sizing: border-box; /* Include padding and border in the column's total width */
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
  .single-membre .wpb_column, .single-marionnette .wpb_column  {
        flex-basis: 100%; /* Each column takes up the full width on smaller screens */
    }
}

.splide__slide::before {
    content: '';
    position: absolute;
    width: 100%;
    height:100%;
    background: #fff;
    clip-path:polygon(100% 0, 0 0, 0 5%);
}
.splide__slide img {
    width: 100%; /* Ensures images are responsive */
    height: auto; /* Maintains the aspect ratio */
    object-fit: contain; /* Prevents image distortion */
}

#main-carousel {
    overflow: hidden; /* Ensures no overflow from larger images */
}

.events-container::before {
    top: -10px;
    clip-path: polygon(0 20%, 100% 50%, 100% 0);
    left: 0px;
    background: #e7e7e8;
    width: 100%;
}
.events-container::after {
    background: #e7e7e8;
    clip-path: polygon(0 15%, 100% 0, 0 0);
    left: 0px;
    bottom: -90px;
    height: 90px;
}
/* Container for the social media icons */
.social-icons-container {
	 margin-left:0px!important;
    display: flex;
    gap: 15px; /* Gap between each icon */
    justify-content: flex-start; /* Align the icons to the left */
    list-style: none; /* Remove the default list style */
}

/* Style for each social media icon */
.social-icon {
    width: 40px; /* Width of each icon */
    height: 40px; /* Height of each icon */
    background-color: #2c506f; /* Background color of each icon */
    border-radius: 7px; /* Border radius to create rounded squares */
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon.tiktok {
    background-image: url(/wp-content/themes/salient-child/img/icone-tiktok.png);
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: 9px 9px;
}

.social-icon a{
    width: 100%;
    text-align: center;
}
/* Style for the icon itself */
.social-icon i {
    color: #fff; /* Icon color */
    font-size: 20px; /* Icon size */
	line-height:1!important;
}

/* member events */
.col_4.membre-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Replaces the need for horizontal margins */
}
.col_4 .membre-post{
    width: calc(25% - 15px); /* 20px is the total margin space between items */
	border:0px!important;
}
.date {font-weight:600}

.full-width-textured {
	background-image:url('/wp-content/uploads/2024/02/Background-texture-AQM.jpeg');
	position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    background-size: cover;
    background-position: center center;
	padding: 120px 0px 120px 0px!important;
}
.full-width-textured::before {
    content: '';
    position: absolute;
	top:0px;
    width: 100%;
    height:100%;
    background: #fff;
    clip-path:polygon(100% 0, 0 0, 0 5%);
}
.full-width-textured::after {
    content: '';
    position: absolute;
	bottom:0px;
    width: 100%;
    height:100%;
    background: #fff;
    clip-path:polygon(0 100%, 0 90%, 100% 100%);
}
/* description */

.description {
	padding:40px 0px 40px 85px;

	margin-top:50px;
}
.description::before {
    content: ''; /* Remove content, since we are using a background image */
    position: absolute;
    left: -70px;
    top: 0;
    background-image: url('/wp-content/themes/salient-child/img/guillemets-gauche.png');
    background-size: contain; /* Resize the image to fit within the width/height */
    background-repeat: no-repeat;
    width:123px;
    height:140px;
}

.mario-icone {padding-top:0px!important;}

.mario-icone::before {
    content: ''; /* Remove content, since we are using a background image */
    width: 130px; /* Adjust the width as needed */
    height: 101px; /* Adjust the height as needed */
    display: inline-block; /* Ensures the element takes up space */
    background-image: url('/wp-content/uploads/2024/09/icone-marionNETca-couleur.png');
    background-size: contain; /* Resize to fit within the defined width/height */
    background-repeat: no-repeat;
}


/* calendar page */


/* polygon */
.search-filters::before {
    content: '';
    position: absolute;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #fff;
    clip-path: polygon(0 0, 0 100%, .5% 100%);
    top: 0px;
}

.search-filters::after {
    content: '';
    position: absolute;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #fff;
    clip-path: polygon(0 0, 100% 9%, 100% 0);
    top: 0px;
}
.search-filters:after:after {
    content: '';
    position: absolute;
    right: 0px;
    width: 100%;
    height: 100%;
    background: #fff;
clip-path: polygon(85% 0, 100% 100%, 100% 0);
    top: 0px;
}


.event-date {text-transform:lowercase;}

.tax-term{
    background-color: #eaeade;
    text-transform: uppercase;
    padding: 2px 7px;
    position: absolute;
    top: -23px;
    display: block;
    width: fit-content;
}

/* REPERTOIRE */

/* ==========================================================================
   Search & Filter Pro v3 — Horizontal Filter Bar (#355772)
   ========================================================================== */

.search-filters {
  display: grid;
  /* 4 equal filter columns + auto-sized reset button */
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 5px;
  align-items: end;
  margin-bottom: 36px;
  width: 100%;
  background-color: #eaeade;
  padding: 20px!important;
  position:relative;
}

.search-filter-input-text {border-radius:0px!important}

.search-filters .search-filter-field {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border-radius:0px!important;
}


.search-filters select,
.search-filters .search-filter-input-select {
  padding-right: 34px !important;
}

.search-filters .search-filter-input-button {
  height: 40px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  white-space: nowrap;
  color: #fff !important;
  background-color: #355772!important;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius:0px!important;
}

.search-filter-field__input{
     border-radius:0px!important;
}

.search-filter-component-combobox-base__listbox-option--selected {
    background: #eaeade!important;
}

.search-filter-component-combobox-base__listbox--attached.search-filter-component-popover--position-bottom {
    margin-top: -32px!important;
    border-radius:0px!important;
}

.search-filters .search-filter-input-button:hover {
  background-color: #355772 !important;
  border-color: #355772 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet: 2 columns per row, Reset button spans full width or sits cleanly */
@media (max-width: 1024px) {
  .search-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-filters .search-filter-field--control-type-reset {
    grid-column: 1 / -1;
  }

  .search-filters .search-filter-field--control-type-reset button,
  .search-filters .search-filter-field--control-type-reset input {
    width: 100% !important;
  }
}

/* Mobile: 1 column stack */
@media (max-width: 600px) {
  .search-filters {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* Membre Posts */
.search-filter-query {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
	gap:20px;
}

.membre-content {
    position:relative;
    padding:15px;
    color:#111;
    font-size:16px;
}
.membre-content h3 {
    margin-bottom:0px!important;
}

.membre-post{
    width: calc(33.33% - 20px); /* 20px is the total margin space between items */
    margin-bottom: 20px;
	transition:transform .32s ease, box-shadow .32s ease;
	transform: translateY(0);
	border:2px solid #eee;
	background-color:#fff;
}

.membre-thumbnail {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.membre-thumbnail img {
    width: 100%;
    height: auto;
}

.membre-post:hover {
	box-shadow: 0 25px 40px rgba(0,0,0,.22);
	transform:translateY(-4px);
}
.membre-thumbnail img:after {
	content:'';
	clip-path: polygon(0 100%, 0 89%, 100% 100%);
	position:absolute;
	background-color:red;
}

/* Tablet view */
@media (max-width: 768px) {
    .membre-post, .col_4 .membre-post {
        width: calc(50% - 20px); /* Two posts per row */
    }
}

/* Mobile view */
@media (max-width: 480px) {
.membre-post, .col_4 .membre-post {width: calc(100% - 20px);}

#top .span_9>.slide-out-widget-area-toggle a.using-label .label {display:none!important}

.nectar-post-grid-wrap:not([data-style=content_overlaid]) .content .item-main span.type-evenement {font-size:13px!important}

body .nectar-post-grid-wrap:not([data-style=content_overlaid]) .nectar-post-grid[data-columns] .nectar-post-grid-item:last-of-type, .event-info:after,  .description::before, .full-width-textured::after {display:none!important}
	
.description {padding: 0px!important;}
.full-width-textured {padding-bottom:75px!important;}	
.single-membre h1 {margin-bottom: 25px}	
}

ul.services li {
    list-style: none !important;
    font-size: 16px;
    color: #000;
}
 ul.services {
    margin-left: 0px!important;
    margin-bottom: 0px!important;
}

/* pagination */
/* Container */
.search-filter-query .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 48px;
  margin-bottom: 24px;
  width: 100%;
  grid-column: 1 / -1; /* Ensures full width if #resultats uses CSS Grid */
}

/* Base style for all page numbers, current, and prev/next buttons */
.search-filter-query .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: #355772;
  background-color: #ffffff;
  border: 1.5px solid rgba(53, 87, 114, 0.22);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* Hover & focus states for clickable links */
.search-filter-query .pagination a.page-numbers:hover,
.search-filter-query .pagination a.page-numbers:focus-visible {
  background-color: rgba(53, 87, 114, 0.08);
  border-color: #355772;
  color: #243c50;
  transform: translateY(-1px);
}

/* Active / Current page */
.search-filter-query .pagination .page-numbers.current {
  background-color: #355772;
  border-color: #355772;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(53, 87, 114, 0.28);
  cursor: default;
}

/* Ellipsis dots (…) */
.search-filter-query .pagination .page-numbers.dots {
  border: none;
  background: transparent;
  min-width: 28px;
  padding: 0 4px;
  color: #6b7f91;
  letter-spacing: 1px;
}

/* Previous & Next buttons */
.search-filter-query .pagination .page-numbers.prev,
.search-filter-query .pagination .page-numbers.next {
  padding: 0 18px;
  font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .search-filter-query.pagination {
    gap: 6px;
    margin-top: 32px;
  }

 .search-filter-query .pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    font-size: 14px;
  }

  .search-filter-query .pagination .page-numbers.prev,
  .search-filter-querys .pagination .page-numbers.next {
    padding: 0 14px;
  }
}


/* blog archive pages */

.archive.category .row .col.section-title span {display:none!important}
.post-area.featured_img_left .article-content-wrap .post-featured-img {border-radius: 0px!important;}

/* contact */

body[data-form-submit=regular] .container-wrap input[type=submit] {background-color:#355772!important;}


/* page spectacle / formation */

.single-evenement h2 {text-transform:uppercase;font-size:30px;}
.single-evenement .tax {text-transform:uppercase;}
.thumbnail-container {
    position: relative;
    display: inline-block;
    width:100%;
    height:100%;
}

.play-button-container {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.single .nectar_video_lightbox svg {
    width: 50px!important;
    height: 50px!important;
}

.single .nectar-video-box a.nectar_video_lightbox:not(.play_button_mouse_follow):before
{display:none!important}

.video-thumbnail {position:relative}

.event-header {
    padding-bottom: 25px;
}
.event-img {
    margin-top:20px;
    padding-bottom:40px;
}

.event-info {
    padding: 75px 60px!important;
    background-color: #e9ebde;
    position: relative;
    margin-left: -50px;
    margin-right: -50px;
    width: calc(100% + 100px);
    display: flex;
    flex-direction: row; 
}

.inner-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.event-info .wpb_column {
    flex: 1 1 calc(50% - 25px);
    box-sizing: border-box;
    width: 50%;
}

.event-info:before {
    content: '';
    position: absolute;
    width: 100%;
    right: 0px;
    top:0px;
    height: 100%;
    background: #fff;
    clip-path: polygon(100% 0, 0 0, 100% 5%);
}
/* responsive */ 

@media (min-width: 1024px) {
       .row-separator {
        width: 100%;
        height: 2px;
        background-color: #355772;
        border: none;
    }
}

@media (max-width: 690px) {
    .event-info .wpb_column {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* cta button */ 

.single .angled {
	background: #355772;
	margin-top:25px;
	margin-left:10px;
	z-index:9
}


.event-header .post-author {
    font-weight: 800;
    color: #268bba;
}
.event-info:after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0px;
    bottom:0px;
    height: 100%;
    background: #fff;
  clip-path: polygon(0 95%, 0 100%, 100% 100%);
}
.social-share {
    float:right;
}
.social-share h3 {
    display:inline;
    color:#268bba;
    font-weight:800!important;
}

/* images */
.section {
	padding:45px 0px;
	display:flex;
	gap:10px;
}
.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align items to the left */
    gap: 10px; /* Set gap between grid items */
    align-items:stretch;
	height:117.66px;
	overflow:hidden
}
.video-thumbnail {;}

.grid-item {
    flex: 0 0 calc(20% - 10px); /* Adjust the width of each column with gap */
    max-width: calc(20% - 10px); /* Adjust maximum width of each column with gap */
    max-height: 140px; /* Set maximum height for the grid items */
    background-size: cover; /* Ensure image covers the entire grid item */
    background-position: center; /* Center the background image */
}

@media screen and (max-width: 992px) {
    .grid-item {
        flex-basis: calc(25% - 10px); /* Show 4 columns on smaller screens */
        max-width: calc(25% - 10px); /* Adjust maximum width of each column with gap */
    }
}

@media screen and (max-width: 768px) {
    .grid-item {
        flex-basis: calc(33.33% - 10px); /* Show 3 columns on smaller screens */
        max-width: calc(33.33% - 10px); /* Adjust maximum width of each column with gap */
    }
}

@media screen and (max-width: 576px) {
    .grid-item {
        flex-basis: calc(50% - 10px); /* Show 2 columns on smaller screens */
        max-width: calc(50% - 10px); /* Adjust maximum width of each column with gap */
    }
}

@media screen and (max-width: 480px) {
    .grid-item {
        flex-basis: calc(100% - 10px); /* Show 1 column on smaller screens */
        max-width: calc(100% - 10px); /* Adjust maximum width of each column with gap */
    }
}

/* buttons */
.shadow {
    box-shadow:3.5px 7.0px 7.0px hsl(0deg 0% 0% / 0.39)!important; /* Add box shadow */}

.angled:after {
  content: "";
  position: absolute;
  display: block;
  background: #355772;
  width: 1.5em;
  height: 100%;
  top: 0em;
  -webkit-transform-origin: bottom left;
  -moz-transform-origin: bottom left;
  transform-origin: bottom left;
  right: -.25em;
  -webkit-transform: skewX(-20deg);
  -moz-transform: skewX(-20deg);
  transform: skewX(-20deg);
  border-left: none;
}

.angled:before {
  content: "";
  position: absolute;
  display: block;
  background:#355772;
  width: 1.5em;
  height: 100%;
  top: 0em;
  -webkit-transform-origin: bottom right;
  -moz-transform-origin: bottom right;
  transform-origin: bottom right;
  left: -1.25em;
  -webkit-transform: skewX(-15deg);
  -moz-transform: skewX(-15deg);
  transform: skewX(-15deg);
  border-left: none;
}

body.material .nectar-button.angled {
    padding: 10px 25px 10px 15px!important;
	width:fit-content!important;
}

/* gravity formation form */

body .gform_wrapper .description, body .gform_wrapper .gfield_description, body .gform_wrapper .gsection_description {font-size:16px!important}
body .gform_wrapper .gsection_description a {Text-decoration:underline;font-weight:600}
body .gform_wrapper .gform_page_footer input[type=submit].gform_button {
	background-color:#355772!important;
}
	
body .gform_wrapper .gform_page_footer input[type=submit], body .gform_wrapper .gform_page_footer input[type=submit].gform_previous_button.gform-theme-button {
	border-radius:0px!important;
	font-weight:600!important;
	font-size:16px!important;
}

/* expand collapse */
.expandable-text .content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.6s ease-out;
}

.expandable-text.expanded .content {
    max-height: 1000px; /* Adjust to your needs */
}


.expandable-text .toggle-button {
    background-color: #355772;
    color: #fff !important;
    padding: 4px 7px;
    font-size:16px;
    border: none;
    cursor: pointer; 
}

/*  RESPONSIVE */

@media only screen and (max-width:480px) {
	
/* page title area */ 
.section-title h1:before {left:-7%!important;}
.row .col.section-title {padding: 0px!important;margin-top:25px!important;}
.page .page-title {left: -7%!important}
.page .main-content {padding-top: 0px!important}
}

@media only screen and (max-width:1000px) {
.testimonial_slider[data-style="minimal"] .testimonial-next-prev .prev::before, .testimonial_slider[data-style="minimal"] .testimonial-next-prev .next::before {
    width: 70px!important;
    height: 70px!important;
    top: -20px!important;
}

}

/* Slider & Captions styling rules */
#main-carousel {
    max-height: 600px;
    margin-bottom: 20px;
}

#main-carousel .splide__slide {
    background-color: #6d6b6e !important;
}

#main-carousel .splide__track {
    max-height: 600px !important;
}
#main-carousel .splide__slide img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
}

#main-carousel .splide__arrow {
    height: 3em!important;
    width: 3em!important;
}
.image-caption {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
}

/* Thumbnails Grid Left Aligned */
ul#thumbnails.thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 15px 0;
    gap: 10px;
}
ul#thumbnails.thumbnails .thumbnail {
    width: 80px;
    height: 60px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}
ul#thumbnails.thumbnails .thumbnail.is-active,
ul#thumbnails.thumbnails .thumbnail:hover {
    opacity: 1;
}
ul#thumbnails.thumbnails .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Customizing the Lightbox Caption position */
.gdesc-inner {
    text-align: center !important;
}
/* 1. Hide the arrows by default on your main carousel */
#main-carousel .splide__arrows {
    display: none !important;
}

/* 2. Only show the arrows if Splide determines the carousel is overflowing (multiple images) */
#main-carousel.is-overflow .splide__arrows {
    display: block !important; /* or flex, depending on your theme's layout layout */
}