/*
 Theme Name: Corfu Events Child
 Theme URI: https://wdesign.gr/
 Description: Child theme for Corfu Events theme
 Version: 1.2
 Author: Wdesign.gr
 Author URI: https://wdesign.gr/
 Tested up to: 5.8
 Requires PHP: 7.3
 Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-background, custom-colors, flexible-header, custom-menu, editor-style, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce
 License: Themeforest Split Licence
 License URI: https://themeforest.net/licenses/
 Template: corfuevents
 Text Domain: corfuevents-child
*/
.navbar-brand img {max-height: fit-content !important;}
.stec-layout-grid-icon{
	order: 0px solid #fff !important;
    width: 88px !important;
    height: 45px !important;
    border-radius: 0px !important;
	margin-top: 4px !important;
	left: calc(50% - -65px) !important;
}
.single-post-layout-standard .litho_layout_no_sidebar_single {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
body .stec-layout-grid .stec-layout-grid-event .stec-layout-event-preview-left-icon-date span{width: auto !important; float: unset !important; font-size: 17px !important; font-weight: 600 !important; color: #fff !important;}
.stec-layout-grid .stec-layout-grid-event.stec-has-image .stec-layout-grid-icon{border: none !important;}
.stec-layout-event-preview-left-icon-date-month{margin-left: 5px !important;}
.grid .stec-top{display: none !important;}
.stec-style-button.stec-layout-grid-events-all-load-more, .stec-style-button.stec-layout-agenda-events-all-load-more{
	width: auto !important;
    float: unset !important;
    text-align: -webkit-center !important;
	padding: 13px 32px !important;
    border-radius: 0px !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
	background: #000 !important;
}
.stec-style-button.stec-layout-grid-events-all-load-more:hover, .stec-style-button.stec-layout-agenda-events-all-load-more:hover{
	background: #303030 !important;
}
.stec-layout-agenda .stec-layout-agenda-events-all-control{
	text-align: center !important;
    margin-top: 30px !important;
}
.stec-layout-grid .stec-layout-grid-events-all-control {
    width: 100% !important;
    float: center !important;
    text-align: center !important;
}
.stec-layout-grid-has-location span, .stec-layout-grid-date span{font-weight: 400 !important; color: #303030 !important;}
body .stec-layout-grid .stec-layout-grid-event-title a {
    color: #232323 !important;
}
.stec-layout-grid-has-location{border-top: none !important;}
body .stec-top .stec-top-menu > li, body .stec-layout-agenda-events-all-datetext {
    color: #232323 !important;
}
.stec-layout-event-preview-left-icon{background: #e43131 !important;}
body .stec-layout-event-preview-left-text-title{color: #232323 !important;}
.stec-layout-event-preview-left-text-secondary, .stec-layout-event-preview-left-text-secondary.stec-layout-event-preview-left-text-desc{color: #303030 !important;}
.stec-layout-grid-icon{background: #e43131 !important;}
.stec-layout-grid .stec-layout-grid-event-ul>span i {
    width: 30px;
    text-align: center;
    padding-right: 10px;
    float: left;
    font-size: 18px !important;
	color: #e43131 !important;
}
.stec-layout-grid .stec-layout-grid-event.stec-has-tags .stec-layout-grid-event-tags span{
	margin-right: 5px;
    margin-bottom: 5px;
    padding: 1px 10px !important;
    display: inline-block;
    border-radius: 0px !important;
    color: #fff;
    font-family: 'Poppins' !important;
    font-size: 10px;
    text-transform: uppercase;
}
.stec-layout-single-preview-left-text-secondary span{color: #e43131 !important;}
.stec-layout-event-preview-left-text-date, .stec-layout-event-preview-left-text-location {color: #e43131 !important;}
.stec-layout-agenda .stec-layout-agenda-events-all-list>li{width: 50% !important; float: left !important;}
.stec-layout-event-preview .stec-layout-event-preview-right .stec-layout-event-preview-right-menu{margin-right: 0px !important;}
.stec-layout-event-preview .stec-layout-event-preview-right .stec-layout-event-preview-right-menu i, .stec-layout-event-preview .stec-layout-event-preview-right .stec-layout-event-preview-right-event-toggle i{text-align: right !important;}
.stec-layout-agenda .stec-layout-agenda-events-all-list .stec-layout-event {
    padding: 0!important;
    margin: 0 0 3px 0!important;
    min-height: fit-content !important;
    margin-bottom: 30px !important;
}
.litho-image-box-wrapper .litho-image-box-img {
    padding-bottom: 18px !important;
}
.icon-box-carousel-content-box .icon-box-carousel .swiper-slide{padding: 2rem 4rem 0.5rem !important;}
.alt-logo{
	float: left !important;
    margin-top: -50px !important;
}
.elementor-arrows-position-outside .elementor-swiper-button-next {
    right: -65px !important;
}
.elementor-arrows-position-outside .elementor-swiper-button-prev {
    left: -30px !important;
}
.stec-layout-grid-has-location{padding-bottom: 0px !important;}
.stec-layout-grid-date{padding-top: 0px !important; border-top: none !important;}
.single-stec_event .litho-main-layout-wrap{display: none !important;}
.hamburger-menu-wrapper.hamburger-menu-half.right{z-index:10000 !important;}
.stec-top-menu-filter-dropdown .stec-top-menu-filter-by i, .stec-top-menu-filter-dropdown .stec-top-menu-filter-by span {
    color: #151515 !important;
    font-size: 14px;
}
.stec-top-menu-filter-dropdown .stec-top-menu-filter-by .stec-top-menu-filter-title:hover i, .stec-top-menu-filter-dropdown .stec-top-menu-filter-by .stec-top-menu-filter-title:hover span {
    color: #e43131 !important;
    font-size: 14px;
}
.stec-top-menu-filter-contents li:hover i, .stec-top-menu-filter-contents li:hover span{color: #e43131 !important;}
.stec-top-menu-filter-dropdown .stec-top-menu-filter-by.active .stec-top-menu-quick-search{color: #151515 !important;}
.stec-top-menu-quick-search{color: #151515 !important;}
.litho-main-title-wrap.big-typography .litho-main-title{
	font-size: 20px !important;
    letter-spacing: 0px !important;
    margin-top: 60px !important;
}
.stec-layout-single-preview-left-icon {background: #e43131 !important;}
body .stec-layout-single-preview-left-text-date span, body .stec-layout-single-preview-left-text-date i {color: #e43131 !important;}
span.stec-layout-single-preview-left-text-location, span.stec-layout-single-preview-left-text-location i {color: #e43131 !important;}
body .stec-style-text p {
    line-height: 1.6 !important;
    font-size: 16px !important;
    font-weight: 300 !important;
	color: #303030 !important;
}
.litho-main-title.litho-single-post-title{
	color: #e43131 !important;
	background-image: linear-gradient(40deg, #e43131 -50%, #e43131 100%) !important;
}
.single-stec_event body .stec-layout-single-preview-left-text-location{color: #e43131 !important;}
body .stec-style-title2{font-size: 20px !important; color: #303030 !important;}
.stec-layout-single-section.stec-layout-single-share-and-export{display: block !important;}
.share-title{margin-top: 20px !important; margin-bottom: 20px !important;}
.stec-layout-single-export{float: right !important;}
.stec-layout-single-description.stec-style-text h3{
	letter-spacing: 0.3px !important;
    margin-top: 25px !important;
}
.stec-layout-single-organizers .stec-layout-single-organizers-organizer:first-child{margin-top: 50px !important;}
.stec-layout-single-schedule-tab .stec-layout-single-schedule-tab-desc {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}
.stec-layout-single-description .stec-layout-single-preview-left-text-date span, .stec-layout-single-description .stec-layout-single-preview-left-text-date i{
	font-size: 16px !important;
    color: #303030 !important;
    line-height: 28px !important;
}
.stec-layout-single-description .stec-layout-single-preview-left-text-date i{margin-right: 10px !important; color: #e43131 !important;}
.stec-layout-single-description .stec-layout-single-month-short{display: none !important;}
.stec-layout-single-description .stec-layout-single-preview-left-text-location{    
	font-size: 16px !important;
    color: #303030 !important;
	line-height: 28px !important;
}
.stec-layout-single-description span.stec-layout-single-preview-left-text-location i{margin-right: 13px !important;}
.stec-layout-single-media-controls .stec-layout-single-media-controls-list-wrap {
	height: 235px !important;
}
.stec-layout-single-media-controls .stec-layout-single-media-controls-list {
    position: absolute;
    top: 68px !important;
}
.stec-layout-single-media-controls .stec-layout-single-media-controls-list li{
	background-size: cover !important;
	height: 170px !important;
}
body .stec-layout-single-share-and-export{margin-top: 80px !important;}
.blog-details-text.entry-content iframe {
    width: 70% !important;
}
.stec-layout-single-tab_video.active{text-align: center !important;}
body .stec-layout-single-organizers .stec-layout-single-organizers-organizer{
	border-top: none !important;
}
.stec-style-title2.organizer{
	margin-top: 30px !important;
	margin-bottom: 10px !important;
}
.wpcf7-submit{background: #E43131 !important;}
.wpcf7-submit:hover{background: #232323 !important;}
.background-overlay {
    background-color: #232323;
    opacity: 0.35 !important;
}
.single-post .litho-main-title-wrap.big-typography .litho-main-title {
    font-size: 3.2rem !important;
	color: #232323 !important;
	background-image: linear-gradient(40deg, #232323 -50%, #232323 100%) !important;
	font-weight: 500 !important;
	line-height: 55px !important;
}
.single-post .col-12.col-xl-6.col-lg-7.col-md-8.text-center.d-flex.align-items-center.justify-content-center.flex-column{
	width: 60% !important;
}
body .stec-layout-grid .stec-layout-grid-event-title a {
    line-height: 20px !important;
}
.stec-layout-single-media-content {
    width: 100% !important;
    height: 700px !important;
}
.stec-layout-single-media-content .active-image{background-size: contain !important;}
.codedropz-upload-inner span{ width: 100% !important;
    float: inline-end !important;}
.codedropz-upload-handler {
    border: 2px dashed #dfdfdf !important;
    border-radius: 0px !important;
    position: relative;
}
.wpcf7-select{
	color: #232323 !important;
    padding: 9px 20px 9px 20px !important;
    margin: 0px 0px 25px 0px !important;
    border: 1px solid #dfdfdf !important;
    padding: 15px 15px !important;
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    max-width: 100%;
    resize: none;
    outline: none;
    color: #232323;
    font-size: 14px;
    border-radius: 0px !important;
}
.contact-form-wrapper .col:first-child, .contact-form-wrapper .col:nth-child(2) {
    margin-bottom: 0.3rem !important;
	margin-top: -1.3rem !important;
}
.elementor-swiper-button i {
    font-size: 15px;
    line-height: 37px !important;
}
.elementor-arrows-position-outside .elementor-swiper-button-next {
    right: 0px !important;
}
.grecaptcha-badge{display: none !important;}
@media(max-width: 768px){
	.stec-layout-single-media-content .active-image{background-size: cover !important;}
.elementor-arrows-position-outside .elementor-swiper-button-next {
    right: -25px !important;
}
.stec-layout-agenda .stec-layout-agenda-events-all-list>li {
    width: 100% !important;
    float: left !important;
}
.stec-layout-event-preview-left-icon-date-month {
    margin-left: 0px !important;
    margin-top: 2px !important;
}
	.stec-layout-event-preview.stec-layout-event-preview-animate-complete{height: fit-content !important;}
}
.postsev .elementor-invisible {
    visibility: visible !important;
}
.stec-layout-event-preview-left-icon-date-month {
    margin-left: 0px !important;
}
@media (max-width: 1024px) {
    .icon-box-carousel-content-box {
        min-width: inherit !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
}
.organizer-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.organizer-photo img {
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.organizer-title {
    margin-top: 20px;
    font-size: 2em;
}

.organizer-description {
    margin-top: 15px;
    line-height: 1.6;
}
.type-custom_organizer .blog-post-images img{width: 150px !important; height: auto !important;}
.blog-grid .post-details {padding: 2.75rem 3rem 1.2rem !important;}
.type-custom_organizer {text-align: center !important;}
.type-custom_organizer .blog-post-images {
    margin-bottom: 0px !important;
}
.custom_organizer-template-default .litho-main-content-wrap{padding-top: 10px !important; text-align: center !important;}

/* ============================
   Organizer Single Page Layout
============================ */

.organizer-detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ============================
   Organizer Events Grid
============================ */

.cust-events-section {
  margin-top: 70px;
  margin-bottom: 70px;
}

.cust-section-title {
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-weight: 700;
  color: #222;
  border-bottom: 3px solid #0073aa;
  padding-bottom: 8px;
  display: inline-block;
}

/* Event Grid */
.cust-organizer-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 1024px) {
  .cust-organizer-events {
    grid-template-columns: 1fr;
  }
}

/* Single Event Card */
.cust-event-item {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 25px;
}

.cust-event-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

/* Event Image */
.cust-event-item .event-thumb {
  width: 100%;
  aspect-ratio: 16 / 9; /* original size */
  overflow: hidden;
  margin-bottom: 14px;
}

.cust-event-item .event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* original size behavior */
}

/* Event Title */
.cust-event-title {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  margin: 12px 0 8px;
}

.cust-event-title a {
  text-decoration: none;
  color: #222;
}

.cust-event-title a:hover {
  color: #0073aa;
}

/* Event Description */
.cust-event-excerpt {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.5;
  max-height: 3em;
  overflow: hidden;
  position: relative;
}
.cust-event-excerpt:after {content: "...";}

/* Event Date & Location */
.cust-event-date,
.cust-event-location {
  display: flex;
  align-items: center;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #303030;
  margin-bottom: 6px;
  text-align: left;
}

.cust-event-date i,
.cust-event-location i {
  color: #e43131;
  margin-right: 6px;
  min-width: 18px;
  text-align: center;
}

/* Add padding inside title, description, date, location */
.cust-event-title,
.cust-event-excerpt,
.cust-event-date,
.cust-event-location {
  padding-left: 11px;
  padding-right:11px;
}

/* Tabs Container */
.cust-tab-nav {
  display: flex;
  justify-content: center; /* center tabs */
  gap: 40px; /* spacing between tabs */
  margin-bottom: 25px;
  padding-bottom: 20px;
  list-style: none; /* remove dots */
  padding-left: 0px;
  padding-right: 40px;
}
.organizer-events-wrapper {
padding-top:100px;
}
/* Individual Tab Links */
.cust-tab-nav a {
  text-decoration: none;
  color: #232323; /* inactive text color */
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 5px;
  position: relative;
  transition: color 0.3s ease;
}

/* Active Tab */
.cust-tab-nav a.active {
  color: #e43131; /* active text color */
}

.cust-tab-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px; /* underline thickness */
  background-color: #e43131; /* active underline color */
  border-radius: 2px;
}

/* Optional hover effect */
.cust-tab-nav a:hover {
  color: #e43131;
}

/* Pagination */
.cust-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.cust-pagination a {
  padding: 6px 12px;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  transition: 0.3s;
}

.cust-pagination a.active,
.cust-pagination a:hover {
  background: #e43131;
  color: #fff;
  border-color: #e43131;
}
/* ============================
   Responsive Tweaks
============================ */

@media (min-width: 768px){
	.organizer-detail-container .col-md-6{width: 66.66% !important; border-left: 2px solid #ddd !important; padding-left: 50px;}
	.organizer-events-title{font-size: 2em;}
	.col-md-6 .organizer-description{margin-bottom: -26px !important;}
	.organizer-detail-container .col-md-4, .organizer-detail-container .col-md-6{float: left !important; text-align: left !important;}
	.organizer-detail-container .organizer-title{margin-top: -15px !important;}
}
@media (max-width: 768px) {
  .organizer-header {
    flex-direction: column;
  }

  .organizer-photo {
    max-width: 100%;
  }

  .organizer-title {
    font-size: 1.6rem;
  }

  .cust-section-title {
    font-size: 2rem;
  }

  .cust-events-section {
    margin-top: 50px;
    margin-bottom: 50px;
  }
}

/* Organizer Live Search Styles */
.organizer-live-search-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.organizer-live-search-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Live results dropdown (grid-based) */
.organizer-live-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 10px;
    max-height: 450px;
    overflow-y: auto;

    /* Hidden by default but keeps layout style */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* When visible */
.organizer-live-results.visible {
    visibility: visible;
    opacity: 1;
}

/* Result item layout */
.organizer-live-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
}

.organizer-live-item:hover {
    background: #f1f1f1;
}

.organizer-live-thumb img {
    width: 100%;
    max-width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 8px;
}

.organizer-live-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #777;
    font-style: italic;
    padding: 20px;
}
