/*------------------------------------------------------------------
Project: E.U-Re C.o.V.E
Created: Luglio 2026
Author Name:  Dream Factory Design
-------------------------------------------------------------------*/

:root {
  --bs-primary: #82b741;
  --bs-secondary: #5da2d5;
}

.justify-content-space-between {
	justify-content: space-between;
}

.text-warning {
  color: #82b741 !important;
}

.btn-primary {
    --bs-btn-active-bg: #82b741 !important;
    --bs-btn-active-border-color: #82b741 !important;
}

.navbar-nav .nav-link {
    white-space: nowrap;
}

.header-section .img-logo {
    max-width: 170px;
    height: auto;
}

.header-section.header-sticky .img-logo {
    max-width: 120px !important;
}

.hero-info .whychoose-content p {
	color: #ffffff;
}

.finto-btn {
    color: #ffffff;
    background-color: #82b741;
    padding: 12px 32px 12px 32px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 50px;
    width: fit-content;
}

.opacity-70 {
    opacity: .7;
}

.hero-section .box-home-slider .heroThumbItem {
	height: 200px;
}

.hero-bg::before {
    opacity: 0.4;
}

.footer-widget .social-footer li,
.contatti .social-contatti li {
	background-color: #82b741;
    padding: 13px 10px;
    border-radius: 50%;
    width: 50px;
    text-align: center;
    height: 50px;
}

.footer-widget .social-footer li a,
.contatti .social-contatti li a {
	color: #ffffff;
}


.footer-widget .img-footer-primary {
	width: 70%;
}

.text-custom-footer {
	color: #82b741;
}

.text-mini-footer{
    font-size: 14px;
    line-height: 1.4;
}

.call-to .service-icon i {
	width: 56px;
    height: 56px;
    font-size: 50px;
}

.arrow-corsi {
	width: 40px;
    height: 40px;
    padding: 10px 5px !important;
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: auto;
	background-color: #82b741;
	border-radius: 50%;
}

.arrow-corsi i {
	color: #ffffff;
	margin-left: 0 !important;
}

.partner-card img {
    max-height: inherit !important;
	height: inherit !important;
}

.imageBox img:first-child{
    position: static;
    inset: auto;
    z-index: auto;
    transform: none;
    opacity: 1;
    filter: none;
}

.eventi .eventi-data {
	left: 30px;
    top: 20px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

.eventi .eventi-category {
    bottom: -50px;
    left: 30px;
}

.news .text-secondary,
.eventi .text-secondary,
.partner .sidebar-title  {
    color: #606060 !important;
}

.eventi i  {
    color: #82b741;
}

.link-partners {
	text-align: center;
}

.sidebar-widget .sidebar-title::before {
    width: 0;
    height: 0;
}

.contatti .bg-info {
    background-color: #5da2d5 !important;
}

.contatti .contact-icon {
	color: #ffffff;
}

.elenco-hub .hub-corsi {
	left: 30px;
    top: 20px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
	border-radius: 50%;
    height: 100px;
    width: 100px;
}

.elenco-hub .hub-corsi {
	font-size: 12px;
}

.elenco-hub .hub-luogo {
    bottom: -50px;
    left: 30px;
}

.box-hub .text-secondary {
    color: #1c1c25 !important;
}

.elenco-hub i  {
    color: #82b741;
}

.btn-custom {
	background-color: transparent !important;
	color: #82b741;
	width: 100%;
}

.map-dettaglio .contactMap {
    height: 240px;
}

#hub-map {
    height: 480px;
    z-index: 0;
}

.map-dettaglio .map-pin {
    margin: 60px !important;
}

.map-dettaglio.map-section {
    min-height: auto;
}

.border-right{
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
}

.color-open {
	color: green !important;
}

.color-partenza {
	color: #f57915 !important;
}

.color-closed {
	color: red !important;
}

.hub-dettaglio .entry-content a {
	color: inherit;
}

.hub-dettaglio .hub-sidebar-content {
    display: flow-root;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hub-dettaglio .hub-sidebar-content > :last-child {
    margin-bottom: 0;
}

.hub-dettaglio .entry-content a:hover {
	color: #82b741;
}

.hub-dettaglio .titolo-custom {
    font-weight: 600;
    font-size: 20px;
}

.partner-dettaglio .sidebar-widget .contact-share i {
	font-size: 20px;
}

.partner-dettaglio .sidebar-widget .contact-share li {
	background-color: #ffffff;
    padding: 15px 15px 15px 17px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.eventi-dettaglio .entry-content .eventi-category {
    max-width: max-content;
}

.page-section {
	background-image: url("../../img/foto-1.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.page-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}



/*------------------------------------------------------------------
traduzioni
-------------------------------------------------------------------*/

 .language-bar {
        border-bottom: 1px solid #82b741;
        padding: 10px 0px;
        font-size: 13px;
    }

 .language-bar .social-footer {
		margin-bottom: 0;
	}

    .language-label {
        color: #82b741;
        margin-right: 10px;
    }


    .language-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        text-decoration: none;
        color: #5da2d5;
        padding: 3px 8px;
        border-radius: 5px;
        margin-left: 3px;
        transition:
            background-color 0.2s ease,
            color 0.2s ease;
    }


    .language-link:hover {
        background-color: #ffffff;
        color: #000;
    }


    .language-link.active {
        background-color: #ffffff;
        color: #5da2d5;
        font-weight: 600;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }


    .language-link span {
        font-size: 12px;
    }
	
	.language-bar i {
        font-size: 20px;
    }




/*------------------------------------------------------------------
FILTRI CORSI
-------------------------------------------------------------------*/
.filter-box { 
	background: #f8f9fa; 
	border: 1px solid #dee2e6; 
	border-radius: 12px; 
	padding: 24px; 
} 

.filter-title { 
	font-weight: 600; 
	margin-bottom: 20px; 
} 

.filter-label { 
	font-weight: 500; 
	margin-bottom: 8px; 
} 

.filter-section { 
	background: #fff; 
	border: 1px solid #e9ecef; 
	border-radius: 8px; 
	padding: 15px; 
	height: 100%; 
}

.filter-box .accordion-item {
	border: 1px solid var(--bs-secondary);
}


/*------------------------------------------------------------------
FORM ISCRIZIONI
-------------------------------------------------------------------*/
.form-container {
	max-width: 900px;
	margin: 50px auto;
}

.form-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 35px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
	margin-bottom: 10px;
	font-weight: 600;
}

.form-description {
	color: #6c757d;
	margin-bottom: 30px;
}

.required::after {
	content: " *";
	color: #dc3545;
}

.privacy-box {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 18px;
}

.btn-submit {
	min-width: 150px;
}


/*------------------------------------------------------------------
GALLERY
-------------------------------------------------------------------*/
.gallery-card {
	border: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
}

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

.gallery-image {
	width: 100%;
	height: 230px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-image {
	transform: scale(1.05);
}

.image-wrapper {
	overflow: hidden;
}

.gallery-title {
	font-size: 1.05rem;
	font-weight: 600;
}

.gallery-description {
	color: #6c757d;
	font-size: 0.9rem;
}

.modal-content {
	background: #000;
	border: 0;
}

.modal-image {
	width: 100%;
	max-height: 80vh;
	object-fit: contain;
}

.modal-title {
	color: #fff;
}

.modal-description {
	color: #ccc;
}

.btn-close {
	filter: invert(1);
}

.gallery-header {
	max-width: 700px;
	margin: 0 auto 40px;
}

/*------------------------------------------------------------------
MAP SECTION
-------------------------------------------------------------------*/
.map-section {
    position: relative;
    min-height: 550px;
}

.contactMap {
    width: 100%;
    height: 550px;
}

.contactMap iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.map-pin {
    z-index: 2;
    pointer-events: none;
}

.map-pin a {
    pointer-events: auto;
}

/* Box bianca */
.map-content {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 500px;
    background: #fff;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.map-content h2 {
    margin-bottom: 20px;
}

.map-content p {
    line-height: 1.7;
}

/*------------------------------------------------------------------
PARTNERS SLIDER
-------------------------------------------------------------------*/

.partner-slider{
    overflow: hidden;
    width: 100%;
}

.partner-track{
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.partner-card{
    width: 220px;
    height: 120px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

.partner-card img{
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

/* Pausa quando passi il mouse */
.partner-track:hover{
    animation-play-state: paused;
}

@keyframes scroll{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}

/*------------------------------------------------------------------
RESPONSIVE
-------------------------------------------------------------------*/

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

	.navbar img {
		max-width: 200px !important;
	}

	.navbar-nav>li {
		margin: 0;
	}

}

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

	.navbar-nav>li>a {
		padding: 4px 8px !important;
	}	
	
	.nav-link {
		font-size: 14px;
	}
	
	.border-right {
		border-right: none;
	}
	
	.mt-4-custom {
		margin-top: 1.5rem !important;
	}
	
	.mt-20 {
		margin-top: 20px;
	}

}

@media screen and (max-width: 991px) {
	
    .heroSliderItem {
        padding-top: 170px;
    }

	footer .bottom-footer {
		flex-wrap: wrap;
		justify-content: center !important;
	}
	
	.navbar img {
		max-width: 150px !important;
	}
	
	.border-top-custom {
		border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
	}
	
	.secSpacingInner {
		padding: 120px 0;
	}
	
}

@media screen and (max-width: 767px) {
	
	.footer-widget .img-footer-primary {
		width: 50%;
	}
	
	.footer-widget .img-footer-secondary {
		width: 60%;
	}
	
	.map-section {
        display: flex;
        flex-direction: column;
    }

    .contactMap {
        height: 400px;
    }

    .map-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        max-width: none;
        margin: -60px auto 10px;
        padding: 30px;
        z-index: 10;
    }
	
	.process-wrapper:before	{
        border-left: 1px dashed #5da2d5;
    }
	
    .process-number::before	{
        border-bottom: 1px dashed #5da2d5;
    }
	
}

    /* Mobile */
@media (max-width: 576px) {

	.language-label {
		display: none;
	}

	.language-bar .container {
		justify-content: center;
	}

	.language-link {
		padding: 4px 7px;
	}

}
