/*GLOBAL*/
html {overflow-x:hidden!important;}
body#content {
    overflow-x: hidden !important;
}

/*HEADER*/

.main-header {
	width:100%!important;
	transition: 0.4s ease-in-out !important; 
}

.main-header.elementor-sticky--effects {
    padding-top: 0px;
    padding-bottom: 5px;
}

.main-logo img {
    transition: 0.6s ease-in!important;
}

.elementor-sticky--effects .main-logo img {
   display:none;
   transition: 0.6s ease-in!important;
}

/*Off Canvas*/
.main-menu-offcanvas .elementor-item {
    line-height: 0.9em!important;
}

.menu-icon-left,
.menu-icon-right {
  display: inline-flex;
  align-items: center;
}

.menu-icon-left img,
.menu-icon-right img {
  width: 12px;
  height: auto;
  margin: 0 6px;
  vertical-align: middle;
}


/* Optional: space out right icon slightly from text */
.menu-icon-right {
  margin-left: 6px;
}

.elementor-nav-menu--dropdown .elementor-item.elementor-item-active, .elementor-nav-menu--dropdown .elementor-item.highlighted, .elementor-nav-menu--dropdown .elementor-item:focus, .elementor-nav-menu--dropdown .elementor-item:hover, .elementor-sub-item.elementor-item-active, .elementor-sub-item.highlighted, .elementor-sub-item:focus, .elementor-sub-item:hover {
    background-color: #3f444b00!important;
}

/*GLOBAL END*/

/*HOMEPAGE*/

@media (max-width:414px){
.text-bubble-quote {
		width:70%!important;
		--container-widget-width:70%!important;
	}
}

/*ΣΧΟΛΕΙΟ PAGE*/
.box-scale-up:hover {
    transition: 0.4s ease-in-out;
}

.box-scale-up:hover {
    transform: scale(1.1);
}

@media (max-width:1024px){
.box-scale-up:hover {
    transform: scale(1.02)!important;
	}
}


/*ΑΣ ΓΝΩΡΙΣΤΟΥΜΕ PAGE*/
.team-member-hover figure.elementor-image-box-img {
    position: relative; 
    transition: 0.3s ease-in;
    overflow: hidden; 
}


.team-member-hover figure.elementor-image-box-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
    z-index: 1;
    opacity: 0;
    transition: 0.3s ease-in;
}

.team-member-hover:hover figure.elementor-image-box-img::after {
    opacity: 1;
}

.team-member-hover .elementor-image-box-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; 
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in;
    text-align: center;
}

.team-member-hover:hover .elementor-image-box-content {
    visibility: visible;
    opacity: 1;
}

@media (max-width:767px) {
.team-member-hover .elementor-image-box-content {
		top: 0;
		visibility: visible;
		opacity: 1;
		background: #a3c18f;
	}
}


/*ΝΕΑ PAGE*/
.category-nav-wrapper {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.category-slide {
    display: none;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.category-item {
    padding: 10px 20px;
    background: #f2f2f2;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}

.category-item.active {
    background: #0073aa;
    color: white;
}

.category-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: "Rainer", Sans-serif;
}

.category-nav {
    position: relative;
    margin-bottom: 30px;
}

.category-nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.category-item {
    font-family: "Rainer", Sans-serif;
    font-weight: 400;
    font-size: 25px;
    min-width: 200px;
    padding: 15px 25px;
    margin: 0 10px;
    background: #C1D82F;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #131313;
	border-radius: 0px;
}

.category-item.active {
    background: var(--e-global-color-6fd8828);
}

.nav-arrow {
    position: absolute;
    top: 560%;
    z-index: 10;
    transform: translateY(-50%);
    background: #131313;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 0%;
    cursor: pointer;
    font-size: 30px;
    transition: background 0.3s ease;
}

.nav-arrow:hover {
    background: #c1d82f;
}

.nav-arrow.prev {
    left: -80px;
}

.nav-arrow.next {
    right: -80px;
}

.nav-arrow:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.posts-container {
    position: relative;
    min-height: 400px;
	margin-top: 150px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.post-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:nth-child(3n+1) {
    background-color: #C1D82F;
}

.post-card:nth-child(3n+2) {
    background-color: #8681BB;
}

.post-card:nth-child(3n+3) {
    background-color: #A3C18F;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-family: "Rainer", Sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: 0.3px;
    color: var(--e-global-color-3d55a7f);
    text-align: center;

}

.post-meta {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var( --e-global-typography-accent-font-size );
    display: flex;
    justify-content: center;
    align-items: center;
    color: var( --e-global-color-3d55a7f );
}

.read-more {
    color: var( --e-global-color-3d55a7f );
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var( --e-global-color-3d55a7f );
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 26px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.no-posts {
    text-align: center;
    padding: 40px;
    color: #131313;
    font-size: 20px;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #dc3545;
    font-size: 16px;
}

@media (max-width:1400px) {
	.nav-arrow.prev {
		left: -60px;
	}

	.nav-arrow.next {
		right: -60px;
	}
}


@media (max-width:1280px) {
	.posts-container {
    	margin-top: 40px;
	}
	
	.posts-grid {
		grid-template-columns: repeat(2, minmax(300px, 1fr));
	}	
	
	 .nav-arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
	
	.nav-arrow.prev {
		left: -50px;
	}

	.nav-arrow.next {
		right: -50px;
	}
}

@media (max-width: 768px) {
	.category-carousel-container {
    	padding: 12px;
	}
	
	.category-slide {
    	gap: 2px;
	}
    
	.category-item {
        min-width: 130px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
	
	.nav-arrow {
    	top: 50%;
	}

	.nav-arrow.prev {
		left: -15px;
	}

	.nav-arrow.next {
		right: -15px;
	}
}


/*ESPA FOOTER & ICON*/
.page-id-1566 .foorer-info h2 {
    color: black !important;
}

.page-id-1566 .footer-column-menu {
	display:none;
}

.page-id-1566 .footer-school-info {
	display:none;
}

.page-id-1566 .footer-contact-info {
	margin: 0px 0px 0px 120px;
}

.page-id-1566 .menu_icon {
	display:none;
}

.page-id-1566 .menu_icon {
    pointer-events: none;
}

.page-id-1566 .foorer-info span.elementor-icon-list-text {
    color: black !important;
}

nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings header.onetap-header-top .onetap-site-container .onetap-site-info .onetap-title h2 {
    background: #0d22a8 !important;
}

.onetap-desc {
    background: #0d22a8!important;
}

@media (max-width:1024px){
	.foorer-info {
		overflow-x:hidden!important;
	}
	
	.page-id-1566 .footer-contact-info {
		margin: 0px!important;
		padding: 0px;
	}
	
	.page-id-1566 .footer-school-info {
		padding: 30px;
	}
}

/*RESPONSIVE*/
@media (max-width:1024px) {
	.page {
		background: white;
	}
	
	.single-post {
		background: white;
	}
}