/* FONT */

/*@font-face {*/
/*    font-family: 'Px Grotesk';*/
/*    src: url('../fonts/PxGrotesk/PxGrotesk-BoldItalic.eot');*/
/*    src: url('../fonts/PxGrotesk/PxGrotesk-BoldItalic.eot?#iefix') format('embedded-opentype'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-BoldItalic.woff2') format('woff2'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-BoldItalic.woff') format('woff'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-BoldItalic.ttf') format('truetype'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-BoldItalic.svg#PxGrotesk-BoldItalic') format('svg');*/
/*    font-weight: bold;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Px Grotesk';*/
/*    src: url('../fonts/PxGrotesk/PxGroteskRegular.eot');*/
/*    src: url('../fonts/PxGrotesk/PxGroteskRegular.eot?#iefix') format('embedded-opentype'),*/
/*    url('../fonts/PxGrotesk/PxGroteskRegular.woff2') format('woff2'),*/
/*    url('../fonts/PxGrotesk/PxGroteskRegular.woff') format('woff'),*/
/*    url('../fonts/PxGrotesk/PxGroteskRegular.ttf') format('truetype'),*/
/*    url('../fonts/PxGrotesk/PxGroteskRegular.svg#PxGroteskRegular') format('svg');*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Px Grotesk';*/
/*    src: url('../fonts/PxGrotesk/PxGrotesk-LightItalic.eot');*/
/*    src: url('../fonts/PxGrotesk/PxGrotesk-LightItalic.eot?#iefix') format('embedded-opentype'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-LightItalic.woff2') format('woff2'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-LightItalic.woff') format('woff'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-LightItalic.ttf') format('truetype');*/
/*    font-weight: 300;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Px Grotesk';*/
/*    src: url('../fonts/PxGrotesk/PxGrotesk-Bold.eot');*/
/*    src: url('../fonts/PxGrotesk/PxGrotesk-Bold.eot?#iefix') format('embedded-opentype'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-Bold.woff2') format('woff2'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-Bold.woff') format('woff'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-Bold.ttf') format('truetype'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-Bold.svg#PxGrotesk-Bold') format('svg');*/
/*    font-weight: bold;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Px Grotesk';*/
/*    src: url('../fonts/PxGrotesk/PxGrotesk-Light.eot');*/
/*    src: url('../fonts/PxGrotesk/PxGrotesk-Light.eot?#iefix') format('embedded-opentype'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-Light.woff2') format('woff2'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-Light.woff') format('woff'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-Light.ttf') format('truetype'),*/
/*    url('../fonts/PxGrotesk/PxGrotesk-Light.svg#PxGrotesk-Light') format('svg');*/
/*    font-weight: 300;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

/* BASE */
html {
    position: relative;
    min-height: 100%;
}

body {
    /*font-family: 'Px Grotesk', sans-serif;*/
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: normal;
    font-style: normal;
    color: #2a2549;
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

body, wrapper {
    min-height: 100vh;
}

.flex-fill {
    flex: 1 1 auto;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters > .col,
> [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

/* LOGO */

.navbar-brand {
    font-size: 2rem;
    color: #2a2549;
    font-weight: 300;
    font-style: italic;
}

span.square {
    color: #fed97c;
    font-weight: 300;
    font-style: italic;
}


/* ADV */

.adv_h {
    background: #d3d5e0 !important;
    padding-top: 3vw;
}

.adv_f {
    background: #f2f2f2 !important;
    padding-top: 3vw;
}


/* NAVBAR */

.bg-light {
    background: #d3d5e0 !important;
    padding: 0.5vw 3vw 0.5vw 3vw;
}

.bg-light-submenu {
    background: #a3a5b0 !important;
    padding: 1vw 1vw 1vw 1vw;
}

.navbar-nav > li {
    /*padding-left: 1em;*/
}

/* DROPDOWN */
.dropdown-menu-vertical {
    border: 2px solid !important;
}

.dropdown-menu {
    background: white;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #2a2549;
}


/* SUBHEADER */

.sx {
    background: #d3d5e0 !important;
    padding: 3vw !important;
}

.dx {
    padding: 1vw 3vw 2vw 3vw !important;
    border-bottom: 1px solid #d3d5e0;
}

.dx2 {
    padding: 1vw 1vw 1vw 1vw !important;
    border-bottom: 1px solid #d3d5e0;
}

.dx_st {
    padding: 0 3vw 2vw 3vw !important;
}

.dx_breadc {
    padding: 0 3vw 0 3vw !important;
    border-top: 1px solid #d3d5e0;
    border-bottom: 1px solid #d3d5e0;
    padding: 1vw 0 1vw 0;

}

.subtitle {
    color: #9193b1;
}

.subtitle_st {
    color: #9193b1;
    font-style: normal;
    font-size: 1rem;
    word-wrap: break-word;
}


/* BUTTON */
/*
.btn-block:hover {
    background-color: white;
    color: #9193b1;
    border: 1px solid #9193b1;
}

.btn-block:focus,
.btn-block:active {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
    border: 1px solid #d3d5e0 !important;
    color: #d3d5e0 !important;
}

.button {
    margin-top: 50px;
}

.button_st {
    margin-top: 2vw;
}

.btn-success{
    color: white;
    margin: 0 !important;
    border:none !important;
}


.btn-danger{
    color: red;
    background: none;
    margin: 0 !important;
    border:none !important;
}

.btn-warning{
    color: #e0a800;
    background: none;
    margin: 0 !important;
    border:none !important;
}
*/

.login {
    background: #9193b1;
    border-color: #9193b1;
    letter-spacing: 1px;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;
}

.subscribe {
    background: white;
    border-color: white;
    letter-spacing: 1px;
    font-weight: 300;
    font-style: normal;
    color: #9193b1;
    font-size: 1rem;
}


/* COLLAPSE */


.evidence {
    border-bottom: 10px solid rgba(255, 214, 132, .5);
    display: inline-block;
    line-height: 0.45;
}

.title {
    padding-top: 3vw !important;
    padding-left: 3vw !important;
    padding-right: 3vw !important;
}

.card-body {
    padding: 3vw !important;
    border: none;
}


/* FORM */

.card-body {
    padding: 3vw !important;
    border: none;
}

.form {
    margin-top: 8px;
}

.form-inline {
    margin-top: 8px;
}

.form-control {
    border: 1px solid #9193b1;
    color: #2a2549;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
    font-size: 1rem;
}

.form-control:focus,
.form-control:active {
    outline: none !important;
    color: #2a2549;
    box-shadow: none !important;
    border: 1px solid #2a2549 !important;
}

.invia {
    background: #2a2549;
    border: 1px solid #2a2549;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
    font-size: 1rem;
}


/* AUTENTICAZIONE ERRATA */

.wrong {
    color: #9193b1;
    font-size: .8rem;
    background: none;
    border: none;
}

.btn.wrong {
    padding: 0;
    margin: 0;
}

.btn.wrong:hover,
.btn.wrong:focus,
.btn.wrong:active {
    outline: none !important;
    box-shadow: none !important;
    background: none;
}


/* TAG H */

h1 {
    font-size: 2.2rem;
    font-weight: bold;
    font-style: normal;
}

h2 {
    font-size: 1.8rem;
    font-weight: normal;
    font-style: normal;
    word-wrap: break-word;

}

h3 {
    font-size: 1.125rem;
    font-weight: bold;
    font-style: normal;
}

h3.light {
    font-size: 1.125rem;
    font-weight: normal;
    font-style: normal;
}

.sub {
    margin-bottom: 15px;
}

h3.section{
    font-size: 1.4rem;
}

h5 {
    font-weight: bold;
    font-style: normal;
}

h4 {
    letter-spacing: 1px;
}

strong {
    font-weight: bold;
    font-style: normal;
}

/* COUNTY */

.county {
    padding-left: 3vw !important;
    padding-right: 3vw !important;
    margin-top: -1.5vw;
}


/* ESTREMI */

.add {
    font-size: .8rem;
    margin-top: -20px;
}

.extr {
    padding: 3vw !important;
}
.extr2 {
    padding: 1vw !important;
}
.ex {
    background: rgb(230, 231, 232) !important;
}

.list-group-item {
    padding: .35rem 1.25rem;
    border: none !important;
}

.title-ex {
    padding-bottom: 50px;
}

a.extreme {
    color: #2a2549;
    text-decoration: none;
}

a.extreme:hover {
    color: #9193b1;
    text-decoration: none;
}


/* CONTACT */

.contact {
    background: #2a2549;
    color: white;
    margin-top: 1vw;
}

.ad {
    padding: 3vw !important;
}


/* FOOTER */

footer {
    background: #fed97c;
    margin-bottom: 0;
}

.wrapper-top-footer {
    margin: 0;
    padding: 0;
    padding: 40px 70px 20px 70px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .wrapper-top-footer {
        padding: 30px;
    }
}

@media screen and (min-width: 300px) and (max-width: 768px) {
    .wrapper-top-footer {
        padding: 15px;
    }
}

.mail {
    color: #2a2549;
    vertical-align: middle;
}


a.mail:hover {
    color: #2a2549;
    border-bottom: 1px solid #2a2549;
    text-decoration: none;
}

@media screen and (min-width: 300px) and (max-width: 1024px) {
    .mail {
        margin-top: 20px;
        text-align: center;
    }
}

.social {
    color: #2a2549;
    vertical-align: middle;
}

a.social {
    color: #2a2549;

}

a.social:hover {
    color: #2a2549;
    border-bottom: 1px solid #2a2549;
    text-decoration: none;
}

@media screen and (min-width: 300px) and (max-width: 1024px) {
    .social {
        margin-top: 20px;
        text-align: center;
    }
}

h6.claim {
    color: #2a2549;
    font-size: 24px;
    font-style: italic;
    font-weight: bold;
}

@media screen and (min-width: 300px) and (max-width: 1024px) {
    h6.claim {
        margin-top: 20px;
        text-align: center;
    }
}


.credits {
    font-size: 12px;
    color: #2a2549;
    font-weight: normal;
    text-align: left;
    margin-top: 30px;
}


/* LINK */

a.bottom {
    text-decoration: none;
    color: #2a2549;
}

a.bottom:hover {
    text-decoration: underline;
    text-underline-position: below;
}


/* TITOLO STAZIONE */


.station {
    font-weight: bold;
    font-style: normal;
    margin: 0 0 20px 0;
    font-size: 1rem;
    padding: 0;
    letter-spacing: 1px;
    word-wrap: break-word;
}

.breadc {
    font-weight: normal;
    font-style: normal;
    margin: 30px 0 30px 0;
    font-size: 1rem;
}

/*
.btn-success {
    margin: 20px 10px 20px 0;
    font-weight: 300;
    font-style: normal;
}

.btn-warning {
    border-radius: 25px;
    margin: 20px 10px 20px 0;
    font-weight: 300;
    font-style: normal;
}


.btn-danger {

    margin: 20px 0 20px 0;
    font-weight: 300;
    font-style: normal;
}*/

.data {
    background: #f2f2f2;
    padding: 3vw !important;
    margin-bottom: -1vw;
}


/* MENU STAZIONE */

.nav-tabs {
    padding: 0 3vw 0 3vw;
    color: #2a2549;
    border-bottom: none;
}

@media (max-width: 500px) {
    .nav-tabs {
        padding: 0;
    }
}

.nav-link.active {
    background: #f2f2f2 !important;
    border: none;
    border-radius: 0;
    color: #2a2549;
    letter-spacing: 1px;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;

}

.tabs {
    letter-spacing: 1px;
    font-weight: 300;
    font-style: normal;
    font-size: 1.125rem;
    color: #2a2549;
}

.nav-tabs .nav-link.disabled {
    color: #adb5bc;
}


.mt15vw {
    margin-top: 1.5vw;
}

/* DATI STAZIONE */

.c_head {
    float: right;
    font-weight: bold;
    font-style: normal;
    font-size: 1.125rem !important;
}

.card-header {
    border: none;
    background: none;
}

.card-text {
    text-align: center;
    margin: 30px 0 30px 0;
}

.current {
    font-weight: 300;
    font-style: normal;
    background: #ffffff;
    color: #002352;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
    border: 1px solid #002352;
}

.max {
    font-weight: 300;
    font-style: normal;
    background: #de5a18;
    color: white;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.min {
    font-weight: 300;
    font-style: normal;
    background: #becee0;
    color: #002352;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 1px;
}

.sum {
    font-weight: 300;
    font-style: normal;
    background: #c5e05f;
    color: #1a521a;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 1px;
}

.great {
    font-size: 2rem;
}


/* ESTREMI STAZIONE */

.estremi {
    padding: 0 3vw 0 3vw;
}


/* MENU STAZIONE */

.tab-pane {
    padding: 0 3vw 0 3vw;
    margin: 0;
}

a.nav-link {
    color: #2a2549;
    font-size: 1rem !important;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
    border-bottom: none;
}

.tab-content {
    background: #f2f2f2;
    width: 100%;
    margin-bottom: -25px;
    padding: 0 0 50px 0;
}

.dropdown-item.active,
.dropdown-item:active {
    background: rgb(255, 214, 132);
    color: #2a2549;
}


/* AGGIUNGI STAZIONE */

.edit {
    background: none;
    border-radius: 25px;
    border: 1px solid #9193b1;
    color: #9193b1;
    font-size: 1rem;
    margin: 50px 0 0 50px;
    float: right;
}

.check {
    margin: 15px 0 5px 0;
}

.form-check-label {
    margin-right: .95rem;
    padding: 5px 0 5px 0;
    color: #9193b1 !important;
    font-size: 1.1rem;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;

}

.label_ {
    margin-right: .95rem;
    color: #9193b1 !important;
    font-size: 1.1rem;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
}

.alba {
    margin: 4px 4px 0 4px;
}

.custom-file-label {
    color: #9193b1 !important;
    font-size: 1rem;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
}

.info {
    margin-top: 30px;
}

.img-thumbnail {
    border: 1px solid rgba(255, 214, 132, .5);
    background: none;
    max-width: 300px;
    margin-bottom: 8px;
}


/* MOSTRA STAZIONE */

.valori {
    margin-top: 50px;
}


/* CONIGURA STAZIONE */

.config {
    margin-top: 30px;
}

.voice {
    color: #9193b1 !important;
    font-size: 1.1rem;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
}


/* SHARE */


.share {
    color: #9193b1;
    border: 1px solid #9193b1;
    border-radius: 25px;
}


.share:focus,
.share:active {
    border-radius: 25px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
    background: none;
}

.share:hover {
    background: none;
    border: 1px solid #2a2549 !important;
    color: #2a2549;

}


/* TABLE */

.thead-light {
    background-color: #fff !important;
}


.table tbody + tbody {
    border-top: 1px solid #9193b1 !important;
}

td, th {
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    td, th {
        font-size: 0.9rem;
    }
}

.btn_show_station {
    background: none;
    border: 1px solid #9193b1 !important;
    color: #9193b1;
    border-radius: 25px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
}

.btn_show_station:focus,
.btn_show_station:active {
    background: none;
    border: 1px solid #9193b1 !important;
    color: #9193b1;
    border-radius: 25px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 1px;
}

.btn_show_station:hover {
    background: #9193b1;
    color: white;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background: #d3d5e0;
}

.map {
    height: 80px;
}

.tabs_hour {
    padding: 0;
    margin: 0;
}


/*TAB 24 H */

.hour {
    background: white;
    margin: 0 !important;
    padding: 0 !important;
}

.hour_link {
    border-radius: 0 !important;
}

.nav-link.active {
    color: #2a2549 !important;
    border-color: transparent !important;
    border-radius: 8px !important;
}

a.nav-link {
    color: #2a2549;
}

.card-header-tabs {
    border-top: 1px solid #2a2549;
    border-bottom: 1px solid #2a2549;
    padding: 0;
}

/* AGGIUNTI DA LUCA */
.long-text {
    height: 300px;
    overflow-y: scroll;
}

.blue_border {
    border: 1px solid #2a2549;
    -moz-border-radius: 1px;
    -webkit-border-bottom-right-radius: 1px;
    border-radius: 1px;
}

.manual_required {
    border: 1px solid red;
}

.no_padding {
    padding: 0.5rem 1rem 0.5rem 1rem;
}

.station_context {
    /*background-color: khaki;*/
}

.user_manager_context {
    background-color: rgb(215, 156, 156);
}

.rete_manager_context {
    background-color: rgb(156, 165, 215);
}

.font-submenu {
    font-size: 0.8rem !important;
}

.font-submenu:hover {
    background: #fed97c;
}

.nav-scrollable {
    overflow: auto;
    white-space: nowrap;
}

.nav-link-mappe[data-toggle].collapsed:before {
    content: " ▾";
}

.nav-link-mappe[data-toggle]:not(.collapsed):before {
    content: " ▴";
}

/* Larghezza fisse per badge in tabella */

.cell-fixed-3 {
    min-width: 2.1875rem;
}

.cell-fixed-4 {
    min-width: 2.5rem;
}

.cell-fixed-5 {
    min-width: 2.8125rem;
}

.cell-fixed-6 {
    min-width: 3.125rem;
}


@media (min-width: 768px) and (max-width: 991px) {
    /* Show 4th slide on md  if col-md-4*/
    /*.carousel-inner .active.col-md-4.carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%; !*change this with javascript in the future*!
        z-index: -1;
        display: block;
        visibility: visible;
    }*/

}

@media (min-width: 576px) and (max-width: 768px) {
    /* Show 3rd slide on sm  if col-sm-6*/
    /*.carousel-inner .active.col-sm-6.carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -50%; !*change this with javascript in the future*!
        z-index: -1;
        display: block;
        visibility: visible;
    }*/

}

@media (min-width: 576px) {

    /*.carousel-item {
        margin-right: 0;
    }

    !* show 2 items *!
    .carousel-inner .active + .carousel-item {
        display: block;
    }

    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item {
        transition: none;
    }

    .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }

    !* left or forward direction *!
    .active.carousel-item-left + .carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    !* farthest right hidden item must be abso position for animations *!
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }

    !* right or prev direction *!
    .active.carousel-item-right + .carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }*/

}

/*MD*/
@media (min-width: 768px) {

    /* show 3rd of 3 item slide */
    /*.carousel-inner .active + .carousel-item + .carousel-item {
        display: block;
    }

    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item {
        transition: none;
    }


    .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }


    !* left or forward direction *!
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    !* right or prev direction *!
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }*/

}


/*LG */
@media (min-width: 991px) {

    /*!* show 4th item *!
    .carousel-inner .active + .carousel-item + .carousel-item + .carousel-item {
        display: block;
    }

    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item + .carousel-item {
        transition: none;
    }

    !* Show 5th slide on lg if col-lg-3 *!
    .carousel-inner .active.col-lg-3.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -25%; !*change this with javascript in the future*!
        z-index: -1;
        display: block;
        visibility: visible;
    }

    !* left or forward direction *!
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }

    !* right or prev direction //t - previous slide direction last item animation fix *!
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }*/

}

/* TOOLTIPS */
.tooltip-html{
    min-width: 100px;
    max-width: 250px;
}

.tooltip-inner{
    background-color: #2a2549 !important;
}

.tooltip-header{
    color: #2a2549;
    background-color: white;
    border: 1px solid #2a2549;
    font-weight: bold;
    font-size: 18px;
}

.tooltip-body{
    background-color: #2a2549;
    color:white;
    border: 1px solid #2a2549;
}

.station-tab{
    background-color: #fed97c !important;
}

.station-tab:hover{
    background-color:  #2a2549 !important;
    color: white !important;
}

.station_context{

}

.station_context:hover{
    background-color:  #2a2549 !important;
    color: white !important;
}

/*
 Cards per l'archivio dati
 */

.card-scroll-archivio {
    display: flex;
    overflow:hidden;
    overflow-x: auto;
    position: relative;
    padding:1.5vh;
    margin-bottom:2vh;
}

.card-coppia-archivio {
    position: relative;
    display: block;
    color: rgb(42, 37, 73);
    border: 2px solid rgb(42, 37, 73);
    background-color: #b5a8a8;

    overflow: hidden; /* Hides the overflow content */
    overflow-y: auto; /* Shows vertical scrollbar only when needed */
    overflow-x: auto;
    border-radius: 5px;
    flex-shrink: 0;
    cursor: default;
}

.card-coppia-row-archivio {
    display: flex;
    gap: 1rem;
}

.card-coppia-delete-archivio {
    color: #FED97C;
    position: absolute;
    right: 3%;
    bottom: 5%;
    cursor: pointer;
    font-size: 2vh;
    transition: all 0.3s;
}

.card-coppia-delete-archivio:hover {
    font-size: 2.5vh;
    color: #FECB4B;
}

/*
 Cards per la climatologia
 */
.card-scroll {
    display: flex;
    overflow:hidden;
    overflow-x: auto;
    position: relative;
    padding:1.5vh;
    margin-bottom:2vh;
}

.card-coppia {
    position: relative;
    display: block;
    color: white;
    border: 2px solid black;
    background-color: #6C757D;

    overflow: hidden; /* Hides the overflow content */
    overflow-y: auto; /* Shows vertical scrollbar only when needed */
    overflow-x: auto;
    border-radius: 2vh;
    flex-shrink: 0;
    cursor: default;
}

.card-coppia-row {
    display: flex;
    gap: 1rem;
}

.card-coppia-delete {
    color: #FED97C;
    position: absolute;
    right: 3%;
    top: 5%;
    cursor: pointer;
    font-size: 1.5vh;
    transition: all 0.3s;
}

    .card-coppia-delete:hover {
        font-size: 2vh;
        color: #FECB4B;
    }



.fade-in {
    animation: fadeIn 0.3s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform:scale(0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut 0.3s;
    animation-fill-mode: forwards;
}

@keyframes fadeOut {

    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform:scale(0);
    }
}


.opacity-in {
    animation: opacityIn 0.3s;
    animation-fill-mode: forwards;
}

@keyframes opacityIn {


    100% {
        opacity: 1;
    }
}


.opacity-out {
    animation: opacityOut 0.3s;
    animation-fill-mode: forwards;
}

@keyframes opacityOut {



    100% {
        opacity: 0.5;
    }
}

.slide-sx {
    animation: slideSx 0.5s;
}

@keyframes slideSx {

    100% {
        transform: translateX(-17vw);
    }
}

.slide-dx {
    animation: slideDx 0.5s;
}

@keyframes slideDx {

    100% {
        transform: translateX(17vw);
    }
}

@keyframes flashRed {
    0% {
        color: white;
    }

    50% {
        color: #a21818;
    }

    100% {
        color: white;
    }
}

.blinking-text {
    animation: flashRed 1s infinite;
}

@keyframes flashRedBack {
    0% {
        background-color: #5C636A;
    }

    50% {
        background-color: #a21818;
    }

    100% {
        background-color: #5C636A;
    }
}

.blinking-back {
    animation: flashRedBack 1s infinite;
}

@keyframes flashRedBorder {

    0% {
        box-shadow: none;
      }
      50% {
        box-shadow: 0 0 0 2px #a21818;
      }
      100% {
        box-shadow: none;
      }
}

.blinking-border {
    animation: flashRedBorder 1s infinite;
}

.date-picker {
    color: white;
    background-color: #5C636A;
    cursor: pointer;

}
.pointer-events-none {
    pointer-events: none;
}

.dropdown-item:hover{
    cursor:pointer;
}



.bottone-tabella {
    transition: all 0.5s;

    cursor: pointer;
    color:black;
    width:3vw;
}
    .bottone-tabella:hover{
        font-size:4.33vh;
    }

    .bottone-container {
        display: flex;
        margin-left: 3vw;
        height:3vh;
    }

.tabella-container {
    position: relative;
    display: flex;
    height: 80vh;
    width: 100%;
    margin-top: 5vh;
    margin-bottom: 5vh;
    left: 5%;
}

.expand-table {
    animation: expandHeight 0.5s forwards;

}

@keyframes expandHeight {
    0% {
        height: 0;
    }


    100% {
        height: 80vh;
    }
}

.shrink-table {
    animation: shrinkHeight 1.5s forwards;
}

@keyframes shrinkHeight {
    0% {
        height: 40vh;
    }


    100% {
        height: 0;
    }
}

.graphs-row {
    display:flex;
    flex-wrap: wrap;
    gap: 2vw;

    height: auto;
}
.wide-graph-container{
    width:100%;
    height:50vh;
}

.half-graph-container {
    margin-top:1.4vw;
    width: 45%;
    height: 45vh;
}

.flip-card {
    width: 100%;
    height: 95%;
    perspective: 1200px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 1.5vw;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.transform-flip {
    transform: rotateY(180deg);
}
.flip-card-back {
    transform: rotateY(180deg);
}

.swiper-container {
    width: 100%;
    height: 60vh;
    position:relative;
}



.swiper-pagination{
    top:100% !important;
}

.opacity-5{
    opacity: 0.5;
}

.high-z-index{
    z-index: 100;
}

.transition-5{
    transition: all 0.5s;
}

.chart-container{
    width: 100%;
}



.loading-overlay {
    position: relative;
    pointer-events: none;
    overflow: hidden;
    scrollbar-width: none;
}

/* Overlay for the loading state */
.loading-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent overlay */
    z-index: 1;
    pointer-events: all; /* Blocks interactions */
}

/* Loading spinner */
.loading-overlay::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border: 4px solid rgba(0, 0, 0, 0.2);
    border-top-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

/* Keyframes for the spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}


/*LG 6th  -  if you want a carousel with 6 slides */
@media (min-width: 991px) {
    /* show 5th and 6th item */
    /*   .carousel-inner .active + .carousel-item + .carousel-item + .carousel-item + .carousel-item,
     .carousel-inner .active + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
           display: block;
       }



       .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item + .carousel-item + .carousel-item,
     .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
         transition: none;
       }
   */
    /*show 7th slide for animation when its a 6 slides carousel */
    /*      .carousel-inner .active.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item  + .carousel-item {
           position: absolute;
           top: 0;
           right: -16.666666666%;
           z-index: -1;
           display: block;
           visibility: visible;
     }
     */
    /* forward direction > */
    /*   .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item + .carousel-item,
     .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
           position: relative;
           transform: translate3d(-100%, 0, 0);
           visibility: visible;
       }
     */
    /* prev direction < last item animation fix */
    /*   .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item,
       .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
           position: relative;
           transform: translate3d(100%, 0, 0);
           visibility: visible;
           display: block;
           visibility: visible;
       }
   */
}
.temp-hidden {
    display: block !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 100% !important;
}

.ctf-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ctf-container {
    perspective: 1000px;
    width: 100%;
    position: relative;
}

.ctf-inner {
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    position: relative;
}

.flipped .ctf-inner {
    transform: rotateY(180deg);
}

.ctf-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    overflow: hidden;
}

/* Front */
.ctf-front {
    transform: rotateY(0deg);
    z-index: 2;
}

/* Back */
.ctf-back {
    transform: rotateY(180deg);
    z-index: 1;
}

/* Toggle button styling */
.ctf-toggle-btn {
    z-index: 10;
}

.owl-nav .button{
    cursor: pointer;
}

#navbarSupportedContent li{
    text-align: center;
}

.models-swiper .swiper-pagination-bullet{
    text-align: center;
    color: #2a2549;
    font-size: 1rem;
    width: auto;
    height: auto;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0px;
    padding: 0.1rem 0.2rem;
}

.models-swiper .swiper-pagination-bullet-active {
    color: #fff;
    background: #2a2549;
    border-radius: 0px;
}

    .models-swiper .model-image {
        max-width: 80%;
        height: auto;
    }

    @media (min-width: 992px) {
        .models-swiper .model-image {
            max-width: 80%;
        }
    }

    .models-swiper .pagination-wrapper {
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-align: center;
    }


    /* forza swiper-slide a non espandere in altezza */
.models-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto !important;
}

/* permette allo swiper-wrapper di adattarsi all'altezza dei contenuti */
.models-swiper .swiper-wrapper {
    height: auto !important;
}

/* evita che lo swiper si espanda troppo in verticale */
.models-swiper {
    height: auto !important;
}
