@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'FrizQuadrataRegular';
    src: url('../assets/font/Friz Quadrata Regular/Friz Quadrata Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Noto Sans', sans-serif !important;
}

/*
h1, #nav-logo, .modal-title, .myquote {
    font-family: 'FrizQuadrataRegular', sans-serif !important;
}
*/

.masthead-woa-img {
    height: 35rem
}

#projectbio, #project-statement{
    background-color: var(--bs-primary)
}

.banner-p-w {
    font-size: 1.2em;
    color: white
}

.banner-p {
    font-size: 1em;
}

.light-on-red:hover {
    color: #640817 !important;
}


.card-img-top {
    height: 12.5rem; /* Sets the height of the image */
    object-fit: cover; /* Ensures the image fits within the designated height without distorting */
  }

.txtbtn {
    color: black !important;
    text-decoration: none !important;
}

.txtbtn:hover {
    color: #B10B25 !important;
}

.txtbtn-white {
    color: white !important;
    text-decoration: none !important;
}

.txtbtn-white:hover {
    font-weight: bold !important;
}

.colbtn {
    color: white;
    background-color: #B10B25;
    min-height: 3em;
}

.colbtn:hover {
    background-color: #83091D;
}


/* General class for all elements before animation */
/*
.animate-on-scroll {
    opacity: 0; 
    transform: translateY(50px);
    transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}
*/
  
/* When active (after scrolling into view) */
/*
.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
} 
*/

.myquote {
    font-size: 1.3em;
    padding-right: 1.5em;
    padding-left: 1.5em;
}

footer p, footer a {
    color: rgba(255, 255, 255);
}

footer a:hover {
    color: white !important;
    font-weight: bold !important;
}

.institutional-logo {
    margin-top: 1em;
    margin-bottom: 1em;
}

.accordion {
    --bs-accordion-btn-focus-border-color: #8C0B20 !important;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(217, 88, 98, 0.25) !important;
    --bs-accordion-active-color: #500612 !important;
    --bs-accordion-active-bg: #FAE7EA !important;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23500612'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;

  }

.team-card {
    text-decoration: none;
}

.cardbtn-team {
    border-radius: 50%;
    height: 2em;
    width: 2em;
    display: flex; /* Flexbox per centrare l'icona */
    align-items: center; /* Centra verticalmente l'icona */
    justify-content: center; /* Centra orizzontalmente l'icona */
    padding: 0; /* Rimuove eventuale padding */
    color: white;
}

.icon-btn {
    color: white;
}

.cardbtn-team:hover {
    color: white;
}

/* Navbar */

#unitn-navbar {
    background-color: #B10B25;
    color: white !important;
    text-decoration: none !important;
}

.second-navbar {
    top: 3rem;
    z-index: 1030;
}

#nav-logo {
    font-size: 1.75em;
}

.masthead {
    height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 5em;
}

@media (max-width: 768px) {
    .masthead {
        height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

#index-masthead {
    color: white;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), /* Gradiente regolato */
        url('../assets/img/img-index/masthead-nic-d-arc-detail.jpg');
    background-size: cover;
    background-position: center;
}

/*
.entry-label {
    padding-left: 1em;
}
*/

.thumbnail-img {
    object-fit: cover;
    height: 200px; /* Imposta l'altezza delle miniature */
    width: 200px; /* Imposta la larghezza delle miniature */
  }

/* DATATABLES */

/* Allinea il testo a sinistra per tutte le celle */
table.dataTable td, table.dataTable th {
    text-align: left !important;
}

/* Layout personalizzato per Show e Search */
.dataTables_wrapper .dataTables_length, 
.dataTables_wrapper .dataTables_filter {
    display: inline-block;
    margin-bottom: 1rem;
}
.dataTables_wrapper .dataTables_length {
    float: left;
}
.dataTables_wrapper .dataTables_filter {
    float: right;
}

/* Spaziatura migliorata per la paginazione */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.25rem 0.5rem;
    margin: 0 0.25rem;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #007bff;
    color: white !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #007bff;
    color: white !important;
}

/* Nascondi le frecce affiancate di ordinamento */
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before {
    display: none !important;
}

:root {
    --carousel-img-height: 35rem; /* Altezza standard per le immagini grandi */
    --carousel-thumbnail-height: 5rem; /* Altezza per le miniature */
}

/* Assicura che tutte le immagini attive abbiano le stesse dimensioni */
.carousel-inner img {
    height: var(--carousel-img-height);
    object-fit: contain;
}

/* Stile per le miniature */
.carousel-thumbnails img {
    width: 5rem;
    height: var(--carousel-thumbnail-height);
    object-fit: cover;
    cursor: pointer;
}
.carousel-indicators {
    display: flex;
    justify-content: center;
}

#accordionQuery .accordion-item .accordion-header {
    font-family: 'Noto Sans', sans-serif !important;
}

#accordionQuery .accordion-item .accordion-header .accordion-button {
    font-weight: bold !important;
}

#accordionQuery .accordion-item .accordion-body {
    font-family: 'Noto Sans', sans-serif !important;
}

.query-card-img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.accordion-query-body {
    height: 16rem;
    overflow-y: scroll;
}

.marker-cluster {
    .marker-cluster-small {
        background-color: rgba(177, 11, 37, 0.6) !important;
        }
    .marker-cluster-small div {
        background-color: rgba(159, 10, 33, 0.6) !important;
        }
    
    .marker-cluster-medium {
        background-color: rgba(177, 11, 37, 0.6) !important;
        }
    .marker-cluster-medium div {
        background-color: rgba(159, 10, 33, 0.6) !important;
        }
    
    .marker-cluster-large {
        background-color: rgba(177, 11, 37, 0.6) !important;
        }
    .marker-cluster-large div {
        background-color: rgba(159, 10, 33, 0.6) !important;
        }
    
}

.accordion-filter-button {
    border-radius: 15%;
    height: 2em;
    width: 2em;
    display: flex; /* Flexbox per centrare l'icona */
    align-items: center; /* Centra verticalmente l'icona */
    justify-content: center; /* Centra orizzontalmente l'icona */
    padding: 0; /* Rimuove eventuale padding */
    color: white;
}

.results-img-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #008CBA;
  }
  
.results-img-col:hover .overlay {
    opacity: 1;
  }
  
.results-img-overlay-text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }

.filter-row:hover {
    background-color: lightgray !important;
    cursor: pointer;
}


.query-params-container {
	margin: 0 0 0 0px;
}

.query-params-container a {
	display: inline-block;
	margin-right: 5px;
	margin-bottom: 2px;
	padding: 2px 18px 2px 5px;
	color: #fff;
	font-size: 13px;
	line-height: 17px;
	background: #2D4F9F url(../img/close-off.svg) no-repeat center right;
	transition: .2s;
}

.query-params-container a:hover {
	background: #69B9EC url(../img/close.svg) no-repeat center right;
	text-decoration: none;
}

/* Loader in query.html */

.spinner-border {
    margin-top: 2em;
    --bs-spinner-width: 5rem;
    --bs-spinner-height: 5rem;
    --bs-spinner-border-width: 0.5em;
    color: #b10b25;
}

.post-spinner {
    margin-top: 1em;
}