main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.card-footer-custom {
    padding: 0.75rem 1.25rem;
}

.bg-green {
    background-color: #008c32;
}

.nav li:last-child {
    right: 0;
    position: absolute
}

#w0-collapse, #w1-collapse, #w8-collapse {
    position: relative;
    z-index: 1000;
}

#fade, .fade {
    animation: fadein 2s;
    -moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
}

.fade-in {
    animation: fadein 1.3s ease-in-out;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein { /* Firefox */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-o-keyframes fadein { /* Opera */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.close {
    color: white;
}

.ui-autocomplete {
    display: block;
    z-index: 1060;
}

#richiesta-attivazione-voltura-luce-votiva .modal-footer {
    display: unset;
}

#richiesta-attivazione-voltura-luce-votiva .modal-footer .btn-warning {
    color: white;
}

#indicazione-guasto-luce-votiva .modal-footer {
    display: unset;
}

#indicazione-guasto-luce-votiva .modal-footer .btn-warning {
    color: white;
}

#fade .card-header h3 {
    font-size: 1.2rem;
}

.title-icon {
    width: 20%;
}

.custom-alert {
    background-color: #dc3545;
    border-color: #dc3545;
}

.help-block {
    color: red;
}

.pa-10 {
    padding: 10px;
}

.accordion-button {
    color: #008c32;
    background-color: #f2f2f2;
}

.accordion-button:not(.collapsed) {
    color: #008c32;
    background-color: #008c381c;
}

.profile {
    background-color: #00000042;
    width: 215px;
}

.profile2, .profile2:hover {
    background-color: #0d6efd;
    color: white;
}

.icon-green, .text-green {
    color: #008c32;
}

.btn-apm {
    background-color: #3e8c32;
    border-color: #3e8c32;
    color: white;
    width: 55%;
}

.btn-apm-igiene-ambientale {
    background-color: #b1c800;
    border-color: #b1c800;
    color: white;
    width: 70%;
    font-size: 25px;
    text-transform: uppercase;
    border-radius: 15px;
    font-weight: bold;
}

.btn-apm-igiene-ambientale:hover {
    background-color: white;
    border-color: #b1c800;
    color: #b1c800;
}

.btn-apm-cimiteri {
    background-color: #b1b2d6;
    border-color: #b1b2d6;
    color: white;
    width: 70%;
    font-size: 25px;
    text-transform: uppercase;
    border-radius: 15px;
    font-weight: bold;
    margin: 0 auto;
}

.btn-apm-cimiteri:hover {
    background-color: white;
    border-color: #b1b2d6;
    color: #b1b2d6;
}

.farmacie {
    color: #008c32;
}

.btn-apm-farmacie {
    background-color: #008c32;
    border-color: #008c32;
    color: white;
    width: 70%;
    font-size: 25px;
    text-transform: uppercase;
    border-radius: 15px;
    font-weight: bold;
    margin: 0 auto;
}

.btn-apm-farmacie:hover {
    background-color: white;
    border-color: #3e8c32;
    color: #3e8c32;
}

.btn-apm-login {
    color: #fff;
    background-color: #008c32;
    border-color: #008c32;
    padding: 10px;
    width: 75%;
    border-radius: 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 25px;
}

.btn-apm-login:hover {
    background-color: white;
    border-color: #3e8c32;
    color: #3e8c32;
}

.text-grey {
    color: #707070;
}

.text-dark-grey {
    color: #666666;
}

.card-header-apm {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}

.ombra {
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.36);
}

.ombra {
    -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.36);
}

.bg-light-green {
    background-color: #ebf3ea;
}

.card-body p {
    font-size: 0.85rem;
}

.subtitle {
    color: #707070;
}

.navbar-dark .navbar-nav .nav-link.active {
    font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 600;
}

.pt-6 {
    padding-top: 4.18rem;
}

.pt-10 {
    padding-top: 10rem;
}

.footer {
    border-top: 4px solid #3e8c32;
    height: auto;
}

.footer-igiene-ambientale {
    border-top: 4px solid #b1c800;
    height: auto;
}

.footer-cimiteri {
    border-top: 4px solid #b1b2d6;
    height: auto;
}

.footer-border {
    border-bottom: 1px solid black;
    width: 100%;
    padding: 10px;
}

.navbar-collapse {
    position: relative;
}

.custom-table-active {
    color: #008c32;
}

.apm-card {
    border: 1px solid whitesmoke;
    background-color: whitesmoke;
    border-radius: 30px;
    padding: 3rem 0 3rem 0;
}

.apm-card-servizi {
    border: 1px solid whitesmoke;
    background-color: whitesmoke;
    border-radius: 30px;
    padding: 3rem 0 0 0;
    position: relative;
}

.apm-card-profilo {
    border: 1px solid whitesmoke;
    background-color: #f5f5f5;
    border-radius: 30px;
    padding: 3rem 1rem 3rem 1rem;
}

.apm-card-login {
    border: 1px solid whitesmoke;
    background-color: #f5f5f5;
    border-radius: 30px;
    padding: 2rem 1rem 2rem 1rem;
}

.apm-card-footer {
    background-color: #e7e7e7;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.apm a {
    text-decoration: none;
    text-transform: uppercase;
}

.apm-card h3 {
    font-size: 1.35rem;
    color: #707070;
    font-weight: 700;
}

.apm-card-servizi h3 {
    font-size: 1rem;
    font-weight: 700;
}


.pre-last-child {
    right: 210px;
    position: absolute;
}

footer a {
    text-decoration: none;
    color: #747d84;
}

footer p {
    font-weight: 700;
}


.bg-light-grey {
    background-color: whitesmoke;
}

.igiene-ambientale {
    color: #b1c800;
}

.bg-igiene-ambientale {
    background-color: #b1c800;
}

.bg-igiene-ambientale-card-prenotazione {
    background-color: #b1c800;
    border-color: #b1c800;
}

.bg-farmacie-card-prenotazione {
    background-color: #008c32;
    border-color: #008c32;
}

.cimiteri {
    color: #b1b2d6;
}

.bg-cimiteri {
    background-color: #b1b2d6;
}


.modal-footer {
    border-top: unset;
    justify-content: center;
}

.form-group .field-ricercaloculo-nome_defunto {
    font-size: 20px;
}


.cimiteri-modal.btn-apm-cimiteri {
    width: 40%;
    font-size: 20px;
}

.logo, .logo-interno {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 40px;
}

.spazio {
    padding-top: 11rem;
}

.spazio-2 {
    padding-top: 5rem;
}

.tablet-logo, .mobile-logo {
    display: none;
}

.form-check-input:checked {
    background-color: #008c32;
    border-color: #008c32;
}

.modal-body {
    text-align: left;
}

.form-label {
    color: #707070;
    font-weight: bold;
}

.form-control {
    color: #666666;
    height: 2.75rem;
}

.datepicker table tr td.disabled {
    /*background-image: linear-gradient(to top right, white 50%, #D31616, white 52%);*/
    color:red !important;
}

.datepicker table tr td.active.active{
    background-color: #008C32 !important;
    border-color: #008C32 !important;
}

.select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__choice {
    float: left;
}

.table > :not(:first-child) {
    border-top: none !important;
}

.apm-card-profilo .table thead tr {
    color: black;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: rgb(0 140 50 / 20%);
    color: #008c32;
    font-weight: bold;
}

.apm-card-servizi p {
    color: #707070;
    padding: 13px;
    font-size: 15px;
    text-transform: initial;
}

.risultati-ricerca table thead a {
    color: #b1b2d6;
}

.risultati-ricerca table tbody a {
    color: #b1b2d6;
}

.scheda-defunto {
    font-size: 1.5rem;
    font-weight: bold;
    color: #b1b2d6;
}

.field-loginform-rememberme label {
    color: #707070;
}

.pt-contact-5 {
    padding-top: 5rem;
}

.grecaptcha-badge {
    visibility: unset !important;
    opacity: 1 !important;
}

.kv-panel-after {
    display: none;
}

.skip-export td {
    background-color: white;
}

.kv-panel-before {
    display: none;
}

.s2-togall-select {
    display: none;
}

#s2-togall-materiale-id_materiale{
    display: none;
}

.click-time {
    color: black;
    text-decoration: none;
}

.click-time:hover {
    color: black;
}

.card-selected {
    border-color: #ffffff;
    box-shadow: 0 0 0.1rem 0.55rem #bdde307d;
}

.card-selected-farmacia {
    border-color: #ffffff;
    box-shadow: 0 0 0.1rem 0.55rem #008c3247;
}

.spazio-farma {
    margin-top: 122px;
}

.spazio-farma2 {
    margin-top: 56px;
}

/*#ingombranti .select2-container--krajee-bs5 .select2-selection--multiple {*/
/*    min-height: 3.9rem;*/
/*}*/

.br-15 {
    border-radius: 15px;
}

.modal-body label {
    font-size: 15px;
}

.pt-5-custom{
    padding-top: 5rem;
}

.spazio-profilo{
    padding-top: 7rem;
}

.shw-pswd-box{
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1.250rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

@media screen and (max-width: 425px) {
    .logo {
        top: 120px;
    }

    .logo-interno {
        top: 6px;
    }

    .logo-interno img{
        width: 80%;
        margin-left:6.5%;
        padding-top: 8%;
    }

    .bg-light-grey {
        background-color: transparent;
    }

    .igiene{
        display: none;
    }

    .customb-5 {
        margin-bottom: 3rem !important;
    }

    .pre-last-child {
        right: auto;
    }

    .nav li:last-child {
        position: relative;
        top: 40px;
    }

    .farmacia, .cimitero, .igiene {
        text-align: center;
    }

    .pt-6 {
        padding-top: 0;
    }

    .btn-apm-login {
        width: 45%;
    }

    .desk-logo, .tablet-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

    .navbar-collapse {
        height: 230px;
    }

    .spazio {
        padding-top: 7rem;
    }

    .kv-table-wrap th, .kv-table-wrap td {
        font-size: 18px;
    }

    .spazio-farma, .spazio-farma2 {
        margin-top: 0;
    }

    .spazio-profilo{
        padding-top: 2rem;
    }

    .alert-custom-position{
        position: absolute;
        top: 17%;
    }
}

@media screen and (max-width: 1024px) {
    .farmacia, .cimitero, .igiene {
        margin-top: 35px;
    }

}

@media screen and (max-width: 768px) and (min-width: 426px) {
    .nav li:last-child {
        right: -35px;
    }

    .pre-last-child {
        right: unset;
    }

    .farmacia, .cimitero, .igiene {
        margin-top: 60px;
    }

    .desk-logo, .mobile-logo {
        display: none;
    }

    .tablet-logo {
        display: block;
        margin: 0 auto;
    }

    .logo-interno {
        top: 56px;
    }

}

@media screen and (max-width: 852px) {
    .farmacia, .cimitero, .igiene {
        margin-top: 65px;
    }

}

@media screen and (max-width: 1199px) and (min-width: 768px) {
    .card-footer-custom {
        margin-top: 27px;
    }
}

@media screen and (min-width: 992px){
    .apm-card-servizi h3 {
        font-size: 0.95rem;
        min-height: 85px;
    }
}

.ribbon {
    position: absolute;
    right: -7px;
    top: -7px;
    z-index: 1;
    overflow: hidden;
    width: 100px;
    height: 100px;
    text-align: right;
}

.ribbon span {
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 24px;
    transform: rotate(45deg);
    width: 125px;
    display: block;
    background: #79a70a;
    background: linear-gradient(#9bc90d 0%, #79a70a 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 25px;
/ / change this, if no border right: - 29 px;
/ / change this, if no border
}

.ribbon span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #79A70A;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.ribbon span::after {
    content: '';
    position: absolute;
    right: 0;
    top: 100%;
    z-index: -1;
    border-right: 3px solid #79A70A;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.red span {
    background: linear-gradient(#f70505 0%, #8f0808 100%);
}

.red span::before {
    border-left-color: #8f0808;
    border-top-color: #8f0808;
}

.red span::after {
    border-right-color: #8f0808;
    border-top-color: #8f0808;
}

.ribbon-evento {
    position: absolute;
    left: -7px;
    top: -9px;
    z-index: 1;
    overflow: hidden;
    width: 82px;
    height: 100px;
    text-align: right;
    direction: rtl;
}

.ribbon-evento span {
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 24px;
    transform: rotate(320deg);
    width: 100px;
    display: block;
    background: #79a70a;
    background: linear-gradient(#9bc90d 0%, #79a70a 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 15px;
}

.ribbon-evento span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #79A70A;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.ribbon-evento span::after {
    content: '';
    position: absolute;
    right: 0;
    top: 100%;
    z-index: -1;
    border-right: 3px solid #79A70A;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.blue span {
    background: linear-gradient(#2989d8 0%, #1e5799 100%);
}

.blue span::before {
    border-left-color: #1e5799;
    border-top-color: #1e5799;
}

.blue span::after {
    border-right-color: #1e5799;
    border-top-color: #1e5799;
}

.card-header-prenotazioni {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.card.prenotazioni {
    border-radius: 30px;
}

.navbar-toggler, .navbar-collapse{
    z-index: 1000;
}

.pt-custom{
    padding-top: 5rem;
}

.hideContent {
    overflow: hidden;
    height: 50px;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: height 500ms;
}

.showContent {
    height: 150px;
    transition: height 500ms;
    overflow-y: auto;
}

.msg-notify{
    z-index: 1;
}

.modal-body h4{
    color: #707070;
}

.pre-last{
    position: absolute;
    right: 70px;
}

.evidenza{
    border: 1px solid red;
    padding: 15px;
    border-radius: 30px;
}

/* spinner prenotazione */

#cover-spin {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(255,255,255,0.7);
    z-index:9999;
    display:none;
}

@-webkit-keyframes spin {
    from {-webkit-transform:rotate(0deg);}
    to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

#cover-spin::after {
    content:'';
    display:block;
    position:absolute;
    left:48%;top:40%;
    width:40px;height:40px;
    border-style:solid;
    border-color:#008C32;
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

.box {
    position: relative;
}
.box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 4px;
    background:linear-gradient(10deg,#008c32,#b1c800);
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.circle-container {
    width: 169px;
    height: 169px;
    border-radius: 50%;
    background-color: #b1c800;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon {
    color: white; /* Colore dell'icona */
}