/*Definizioni Variabili*/
:root {
    /*Colori*/
    --bs-primary: #004F9E;
    --bs-secondary: #F49800;
    --bs-link-color-rgb: #004F9E;
    --bs-light: #ffffff;
    /*Dimensioni*/
    --wid-100: 100%;
    --hg-img: 60vh;
    /*Spaziature*/
    --pad-l-10p: 10%;
    --pad-r-10p: 10%;
    --p-0: 0;

}

@media (min-width: 992px) {
    body.overflow-hidden{
        overflow: auto !important;
    }
}

.pl10 {
    padding-left: 10%;
}

.pr10 {
    padding-right: 10%;
}

a {
    color: var(--bs-primary) !important;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

a:hover {
    --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
}

.breadcrumb-item.active {
    color: black !important;
}

/*HEADER*/
.logo {
    height: auto !important;
    width: clamp(200px, calc(100px + 10vw), 35vw) !important;
    object-fit: contain;
    object-position: left;
    margin: 0.5em 0 !important;
    min-width: 100px;
    max-height: 160px;
}

.miofontsize {
    font-size: 1rem;
}

.header-row {
    padding-left: var(--pad-l-10p);
    padding-right: var(--pad-r-10p);
}

.menu-row {
    background-color: var(--bs-primary);
}

.menu-row .nav-link {
    color: var(--bs-light) !important;
}

.mod-menu .nav-item {
    font-size: 20px;
    position: relative;
    /* Per posizionare correttamente il gradiente */
}

.mod-menu .nav-item.current::after {
    content: '';
    position: absolute;
    left: 0;
    width: var(--wid-100);
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--bs-light), transparent);
}

@media (max-width: 991px) {
    .mod-menu .nav-item.current::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 0;
        width: 25%;
        height: 1px;
        background-image: linear-gradient(to right, var(--bs-light), transparent);
    }
}

.parent a::after {
    content: none;
    /* Rimuove il contenuto, cioè la freccia */
}

.navbar-toggler:focus {
    box-shadow: none;
}

/*hamburger versione mobile*/
.menu-btn-mobile {
    position: relative;
    /* Modificata la posizione in relativa */
    /* z-index: 4; */
    height: 38px;
    width: 38px;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 15px;
    border: 2px solid var(--bs-primary);
    background-color: var(--bs-secondary);
    /* transition: all 0.3s ease-in-out; */
}

.menu-btn-mobile span,
.menu-btn-mobile:before,
.menu-btn-mobile:after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 30%;
    width: 40%;
    border-bottom: 2px solid var(--bs-primary);
    /* transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1); */
}

.menu-btn-mobile:before {
    transform: translateY(-8px);
}

.menu-btn-mobile:after {
    transform: translateY(8px);
}

.wrapper-mobile {
    position: fixed;
    top: 0;
    z-index: 2;
    right: -100%;
    height: 100%;
    width: 100%;
    background: #fff;
    transition: all 0.6s ease-in-out;
}

#active-mobile:checked~.wrapper-mobile {
    right: 0;
}


/* closing animation */
.close+.menu-btn-mobile span {
    transform: scaleX(0);
}

.close+.menu-btn-mobile:before {
    transform: rotate(45deg);
    border-color: var(--bs-primary);
}

.close+.menu-btn-mobile:after {
    transform: rotate(-45deg);
    border-color: var(--bs-primary);
}

/*fine hamburger mobile  */

/*HEADER*/

/*HOMEPAGE*/
/* .site section>.col-12 {
    height: var(--hg-img);
    min-height: 500px;

}  */

/*SEZIONE1*/
.cslink {
    font-weight: bold;
}

.img1 .mod-custom {
    width: 100%;
}

.sfondo-img,
.img1 {
    position: relative;
    height: 500px;
    background: #fff url(/images/genova.jpg) no-repeat center center;
    background-size: auto;
    background-size: cover;
}

.chisiamo {
    border-radius: 20px;
    max-height: 450px;
    width: 50%;
}

.carousel-item>img {
    width: var(--wid-100);
    height: var(--hg-img);
    object-fit: cover;
    background-repeat: no-repeat;
    display: block;
    min-height: 500px;
}

.text-block {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-250%);
    padding: 20px;
    border-radius: 15px;
    width: 50%;
    margin-left: 10%;
    margin-top: 5%;
}

@media(max-width: 991px) {
    .chisiamo {
        width: 100%;
    }
}

/*SEZIONE1*/
/*SEZIONE3*/

.home3 .mod-custom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: var(--wid-100);
    /* height: var(--hg-img); */
    background-size: cover;
    background-repeat: no-repeat;
}

.text-block3,
.carousel-caption {
    background-color: rgba(255, 255, 255);
    color: black;
    padding: 20px;
    border-radius: 15px;
    width: 50%;
}

.text-block3 {
    text-align: right;
    margin: 20px;

}

.carousel-caption {
    text-align: left !important;
    left: 10% !important;
    right: 10% !important;
    top: 25% !important;
    width: 40% !important;
    height: 30vh !important;
    overflow: auto;
}

.carousel-caption-title {
    font-size: 2rem;
}

.carousel-caption-subtitle {
    color: black !important;
    font-size: 1rem;
}

@media(max-width: 991px) {
    .text-block3 {
        width: 100%;
    }

    .carousel-caption {
        width: 80% !important;
    }
}

/*SEZIONE3*/
/*HOMEPAGE*/
/*FOOTER MENU*/
.nav2 {
    background-color: #0F6EFA;
}

/*FOOTER MENU*/
/*FOOTER*/
@media (min-width: 992px) {
    footer {
        background: linear-gradient(to right, var(--bs-light) 37%, var(--bs-primary) 37%) !important;
    }
}

@media (max-width: 991px) {
    .text-white {
        background: var(--bs-primary);
    }

    .foot {
        padding: var(--p-0) !important;
    }
}

.foot {
    padding-left: var(--pad-l-10p);
    padding-right: var(--pad-r-10p);
}

.fab,
.fas {
    width: 36px;
    height: 36px;
    text-align: center;
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.rounded-circle {
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: var(--bs-light);
    padding: 0.625em;
}

.img-centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.bg-foot {
    background-color: #f49800;
}

.foot-height {
    min-height: 350px;
}

/*FOOTER*/
/*MAIN*/
/*SIDEBAR*/
.sidebar {
    background: var(--bs-light);
    color: black;
}

.sidebar ul ul li a {
    width: calc(100% - 2rem);
}

.sidelink {
    color: black !important;
    font-weight: bold;
    font-size: 1 rem;
}

.sidebar ul ul a {
    font-size: 0.9rem !important;
    padding-left: 2.25em !important;
}

.sidebotton {
    background: none;
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    font-weight: bold;
    padding-top: 0;
    padding-bottom: 0.2em;
    min-width: 28px;
}

.sidebotton:focus {
    outline: none;
}

.nav-item .collapse .list-unstyled {
    padding-left: 2.25em;
}

.show {
    display: block !important;
}

.lidiv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.lidiv a {
    color: black !important;
}

@media (max-width: 991px) {
    .sidebar-menu-row {
        position: static;
        width: auto;
    }

    .container {
        margin-left: 0;
    }

    .navbar-toggler {
        display: block;
    }

    .order-1 {
        order: 2 !important;
    }

    .order-2 {
        order: 1 !important;
    }
}

/*SIDEBAR*/
/*BANDI*/
/*RICERCA*/
/*
.com-tags__items form {
    margin-bottom: 5em;
}

.com-tags__items form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.com-tags-tag__items {
    margin-bottom: 5%;
}

.btcerca {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btpulisci {
    background-color: var(--bs-light) !important;
    border-color: var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}

.btcerca,
.btpulisci {
    border: none;
    border-radius: 10px !important;
    font-weight: bold !important;
    font-size: larger !important;
    box-shadow: 0 5px 5px 0 black;
}

#filter-search {
    box-shadow: 0 5px 5px 0 black;
}*/

/*PAGINAZIONE*/
/*
.center-align {
    display: flex;
    justify-content: center;
}*/

/*CONTENUTO*/
/*
.card {
    margin-bottom: 0.625em;
    height: 28.125em;
    background-color: #97e5e6 !important;
    border-radius: 10px !important;
}

.card a {
    color: black !important;
    font-weight: bold;
    margin-top: 0.625em;
}

.card-title {
    min-height: 9.375em;
    font-size: 1.5rem;
    margin-right: 3.125em;
}

.col-md-4 {
    margin-bottom: 3.125em;
}

hr {
    margin: 0.5em 0;
    color: var(--bs-primary);
}

.data-rounded {
    width: 6.25em;
    height: 6.25em;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 5px 5px 0;
    padding: 2%;
    position: absolute;
    top: -10%;
    right: -5%;
    text-align: center;
}
*/
/*BANDI*/



/*MAIN*/


/*ALBO PRETORIO*/
.itemTitle{
    font-weight: bold;
    font-size: 1.5rem;
}
.cat_title{
    font-size: 1.375rem;
}
.catDoc {
    display: none;
}

.docs-list {
    padding: 0;
}

.docs-list .list {
    margin: 16px 0px !important;
    border: 1px solid #acacac !important;
    border-radius: 16px !important;
}

.docs-list a {
    padding-left: 0 !important;
}

.docs-list .list-group-item {
    padding: .5rem 1rem;
    margin: 0 0 8px 0 !important;
}

.docs-list .card-title {
    font-size: 1.25rem;
    margin-bottom: .5rem;
    font-weight: bold;
}

.list-body .dateDocs {
    margin-bottom: 8px;
}

.list-body {
    color: var(--primary-color);
    padding: 8px 16px 0 16px;
}

.pdf {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    min-width: 64px !important;
}

.pdf span {
    font-weight: bold;
}

.filesize {
    color: var(--bs-primary) !important;
    font-weight: bold;
    font-size: 1rem !important;
}

.filesize:hover {
    text-decoration: underline;
}

.fa-download {
    display: none;
}

/*ALBO PRETORIO*/