/********** Template CSS **********/

/*:root {*/
/*    --primary: #FF6F0F;*/
/*    --secondary: #FFF0E6;*/
/*    --light: #F8F8F9;*/
/*    --dark: #001D23;*/
/*}*/
:root {
    --primary: #0a9bc0;
    --secondary: #d5f4fd;
    --light: #F8F8F9;
    --dark: #001D23;
}

body, .form-select, .form-control {
	color: #444;
}

.fldRequired {
	font-size: 0.8rem;
	font-weight: 500;
}

body.modal-open { /* non scrolla il dietro con le modali */
    position: sticky !important;
	padding-right: 0 !important;
	overflow: hidden !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 100px;
    z-index: 99;
}

.mp-0 {
	margin: 0;
	padding: 0;
}

/* FONTS */
.ff-inter {
  font-family: 'Inter', sans-serif;
}

.fw-inter-700 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.fw-inter-600 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.fw-inter-500 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}


.ff-saira {
  font-family: 'Saira', sans-serif;
}

.fw-saira-700 {
  font-family: 'Saira', sans-serif;
  font-weight: 700;
}
.fw-saira-600 {
  font-family: 'Saira', sans-serif;
  font-weight: 600;
}
.fw-saira-500 {
  font-family: 'Saira', sans-serif;
  font-weight: 500;
}

.fs-7 {font-size: 0.9rem;}
.fs-8 {font-size: 0.8rem;}
.fs-9 {font-size: 0.7rem;}

/* PROJECT COLORS */
.text-primary {
    color: #0a9bc0 !important;
}
.bg-primary {
    background-color: #0a9bc0 !important;
}
.bg-secondary {
	background-color: #d5f4fd !important;
}
.bg-warning {
	background-color: #77b8d1 !important;
}
.bg-alert {
	background-color: #ffdcb9 !important;
}
.bg-labelLightBlue {
	background-color: #dfeff4 !important;
}
.border-primary {
    border-color: #0a9bc0 !important;
}
.btn-outline-primary {
    color: #0a9bc0 !important;
    border-color: #0a9bc0 !important;
}
a {
    color: #00557d !important;
}
a:hover {
    text-decoration: underline;
}

.text-blueDark {
    color: #03303a !important;
}
.btn-warning {
	color: #444 !important;
	background-color: #def2fe !important;
	border-color: #47b6f8 !important;
}
.btn-warning:hover {
	color: #000 !important;
	background-color: #f2fbff !important;
	border-color: #47b6f8;
	text-decoration: none;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
	font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* BUTTON TOOGLE ICONS */
.btn-group .bi-plus {
	display: inline-block;
}

.btn-group .bi-check {
	display: none;
}

.btn-group .btn-check:checked + .btn .bi-plus {
	display: none;
}

.btn-group .btn-check:checked + .btn .bi-check {
	display: inline-block;
}


/*** SignUp ***/
.suLabel {
	width: 100px;
	font-size: 0.8rem;
}
.suSelect {
	font-size: 0.9rem;
}
.suLabelCheck {
	font-size: 0.8rem;
	line-height: 1.2;
}


/* Topbar */
.top-bar {
    height: 45px;
	font-size: 0.70rem;
	line-height: 1rem;
	background: rgba(0, 29, 35, .95);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.blockbar {
	background: rgba(0, 29, 35, .6);
}

/* Loginbar */
.loginbar {
    display: block;
	color: #fff;
	background: rgba(0, 29, 35, .3);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
	.loginbar .btn-sm {
		font-family: "Saira", sans serif;
		font-size: 0.8rem;
	}
	.loginbar ul.dropdown-menu {
		background-color: transparent !important;
	}
	.loginbar ul.dropdown-menu a{
		padding: 0;
		color: #fff !important;
	}
		.loginbar ul.dropdown-menu a:hover{
			background-color: transparent !important;
		}
		.loginbar ul.dropdown-menu a:hover .bi{
			color: #ff6600;
		}
	.loginbar ul.dropdown-menu i.bi{
		padding: 0;
		font-size: 1.3rem;
	}


/* Navbar */
.fixed-top {
    transition: .5s;
}

.navbar .btn-sm {
	font-size: 0.8rem;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 5px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 20px;
    padding: 10px 0;
	font-size: 0.87rem;
	line-height: 1rem;
    font-weight: 500;
    color: #FFFFFF !important;
    outline: none;
}

.navbar .navbar-nav .dropdown-menu {
	padding-left: 10px;
	padding-right: 10px;
}

.navbar .navbar-nav .dropdown-menu .dropdown-item {
	font-size: 0.85rem;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 29, 35, .4);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** TABLE ***/
table {
	color: #000 !important;
}
table thead i.sortIco {
	color: #ccc;
}
table thead i.active {
	color: #c00;
}
table thead i.active {
	color: #c00;
}
table tbody tr:hover {
	background-color: #fff7d9 !important;
}
table tbody tr:hover td {
	color: #000;
}
table tbody i.actionBtn:hover {
	background-color: #ffcc00 !important;
	color: #c00;
}

#tableSearchBox input {
	font-size: 0.85rem;
	max-width: 350px;
}
#tableSearchBox a#delFilter {
	cursor: pointer;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 75px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Contractual partners ***/
.contrPrt-content img.prtflag {
	width: 20px;
	vertical-align: middle;
	border-radius: 3px;
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Section - DESCRIPTION ***/
.description ul {
	list-style-type: none;
}
.description ul li .bi {
	margin-left: -25px;
	font-size: 1.2rem;
	color: #FF6F0F;
}


/*** Section - FILES LIST ***/
.file-man-box {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e3eaef;
    border-radius: 5px;
}

.file-man-box:hover {
    -webkit-box-shadow: 0 0 24px 0 rgba(0, 0, 0, .06), 0 1px 0 0 rgba(0, 0, 0, .02);
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, .06), 0 1px 0 0 rgba(0, 0, 0, .02)
}

	.file-man-box .file-close {
		position: absolute;
		right: 10px;
		top: 10px;
		font-size: 20px;
		color: #f1556c;
	}

		.file-man-box .file-close:hover {
			color: #ff0000;
		}

	.file-man-box .file-canc-msg {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		padding: 20px;
		color: #444;
		background-color: #fc0;
	}
		.file-man-box .file-canc-msg h6 {
			font-size: 14px;
		}
		.file-man-box .file-canc-msg button {
			font-size: 14px;
		}

	.file-man-box .file-download {
		position: absolute;
		bottom: 10px;
		right: 10px;
		font-size: 20px;
		color: #444;
	}
		.file-man-box .file-download:hover {
			color: #0033ff;
		}

	.file-man-box .file-img-box {
		text-align: left;
	}
		.file-man-box .file-img-box i{
			color: #f79502;
		}

	.file-man-box .file-man-title {
		padding-right: 25px
	}
	.file-man-box .text-overflow {
		font-size: 15px;
		text-overflow: ellipsis;
		white-space: nowrap;
		display: block;
		width: 100%;
		overflow: hidden;
	}
	.file-man-box .file-size {
		font-size: 13px;
	}
	.file-man-box a.file-open {
		color: #000;
		text-decoration: none;
	}


/*** Section - NEWS ***/
.newsBlkColCommon .newsBlk .limited-height {
  overflow: hidden;
  word-wrap: break-word; /* Permette al testo di andare a capo se è troppo lungo */
  transition: max-height 0.5s ease; /* Aggiunge un'animazione per rendere più fluido il cambio di altezza */
}
.newsBlkColCommon .blog-item {
	max-width: 900px; /* Imposta l'altezza massima desiderata del div */
	margin: 0 auto;
}
	.newsBlkColCommon .blog-item img {
		width: auto;
		height: auto;
	}
.newsBlkColCommon .newsBlk button {
  margin: 10px 0 0 0;
  font-size: 0.9rem;
}
.newsBlkColCommon .newsBlk .hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.newsBlkColCommon .containerimg, .blog-img1 {
  position: relative;
  width: 100%;
  /* Imposta l'altezza in base alla ratio desiderata (ad esempio, 16:9) */
  padding-top: 56.25%;
  overflow: hidden;
}

.newsBlkColCommon .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}