﻿html {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    scroll-behavior: smooth;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
    overflow-y: hidden;
}

body {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    overflow-y: hidden;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0rem;
    font-family: 'Epilogue', sans-serif;
    color: #323232;
    background-color: #ffffff;
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: subpixel-antialiased;
}
/* SYSTEM */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: #323232;
}

h3 {
    font-size: 1.50rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 12px;
    color: #ABB0C4 !important;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border-color: #dc3545;
}

.field-validation-error {
    margin-top: 5px;
}

.hide {
    display: none;
}

.show {
    display: block;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scroll::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scroll {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.save-agenda .far, .share .far {
    color: #555555;
}

.save-agenda.active span.fas {
    color: #A90533;
}

.more-pb{
    padding-bottom: 185px;
}

.bg-highlight{
    background-color: #ffffed;
}

.lnr{
    font-size: 25px;
}
/* END SYSTEM */
/* COLORS */
.text-primary, .btn-link {
    color: #A90533 !important;
}

.text-light {
   color: #555555 !important;
}

.bg-primary {
    background-color: #A90533!important;
}

.text-gray{
    color: #777777;
}
/* END COLOR */
/* ELEMENTS */
/* BUTTONS */
.btn {
    border-radius: 0.65rem;
    padding: 0.58rem 0.75rem 0.375rem 0.75rem;
}

    .btn-active {
        color: #5BBA7C;
        background-color: #F6FBF8;
        cursor: context-menu !important;
    }

    .btn-primary {
        color: #ffffff;
        background-color: #a90533;
        border-color: #a90533;
    }

    .btn-primary:hover, .btn-primary:active, .btn-primary:focus {
        outline: none !important;
        box-shadow: none !important;
        color: #151515;
        background-color: #f1b329 !important;
        border-color: #f1b329 !important;
    }

    .btn-secondary {
        color: #151515;
        background-color: #f1b329;
        border-color: #f1b329;
    }

    .btn-secondary:hover, .btn-secondary:active {
        color: #ffffff;
        background-color: #a90533;
        border-color: #a90533;
    }
    /* END BUTTONS */

    /* BODY BANNER */
.banner {
    display: block;
    width: 100%;
    height: 200px;
    margin-top: 15px;
    border-radius: 12px;
    background-image: url('https://infoplus.gare.it/images/slider/bg-plant-slider.jpg');
    background-position: right bottom;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}

    .banner-container {
        width: 100%;
        height: 200px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .title-banner {
        width: 100%;
        margin-bottom: 0px;
        color: #333333;
        text-align: center;
        font-size: 24px;
        line-height: 1.2;
    }

    .button-banner {
        color: #333333;
        text-decoration: none;
        text-align: center;
        width: auto;
        border-radius: 7px;
        background-color: #FFFFFF;
        padding: 15px;
    }

    .button-banner:active, .button-banner:focus {
        color: #333333;
        text-decoration: none;
    }
    /* END BODY BANNER */

    /* CALENDAR */
    .calendar {
        border-radius: 4px;
        overflow: hidden;
        width: 100%;
        background-color: #ffffff;
        color: #333333;
    }

    .calendar .weekday {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        flex-basis: 14.28%;
    }

    .calendar .days {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    .calendar .weekday a, .calendar .days a {
        flex-basis: 14.28%;
        margin-bottom: 10px;
        padding: 5px;
        font-size: 14px;
        color: #aaaaaa;
        font-weight: 600;
    }

    .calendar .weekday a {
        font-weight: 400;
    }

    .calendar .days a {
        color: #333333;
    }

    .calendar .days a.disable {
        color: #aaaaaa;
        font-weight: 400;
    }

    .calendar .days a.selected span {
        background-color: #A90533;
        color: #FFFFFF;
        border-radius: 6px;
        padding: 9px;
    }

    .month {
        text-align: left;
        padding: 10px 0;
        font-size: 14px;
        color: #333333;
    }
    /* END CALENDAR */

    /* HORIZONTAL SCROLL */
    nav.scrollmenu, div.scrollmenu {
        overflow: auto;
        white-space: nowrap;
        position: fixed;
        width: 100%;
        max-height: 58px;
        top: 89px;
        left: 0;
        right: 0;
        padding-left: 14px;
        padding-right: 14px;
        background-color: #A90533;
        box-shadow: rgba(0, 0, 0, .2) 0 -3px 8px;
    }

    nav.scrollmenu ul li a, div.scrollmenu div a{
        display: inline-block;
        color: #DDDDDD;
        text-align: center;
        padding: 14px 30px;
        font-size: 16px;
        text-decoration: none;
    }

    nav.scrollmenu a:first-child, div.scrollmenu a:first-child {
        padding-left: 0;
    }

    .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
        color: #FFFFFF;
        background-color: #A90533;
        font-weight: bold;
    }

    div.scrollmenu a.active {
        color: #FFFFFF;
        background-color: #A90533;
        font-weight: bold;
    }

    nav.scrollmenu .active::after, div.scrollmenu .active::after {
        text-align: center;
        text-decoration: none;
        content: '';
        display: inline-flex; /* changed */
        width: 50%;
        opacity: 1;
        height: 3px;
        margin-top: 12px;
        background-color: #FFFFFF;
        transform: translateX(-150%) translateY(10px);
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav{
        height: 50px;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-y: hidden;
        overflow-x: scroll;
    }
    /* END HORIZONTAL SCROLL */

    /* LISTA AVVISI */
    .lista-avvisi, .agenda-container {
        position: fixed;
        top: 145px;
        width: 100%;
        overflow-y: scroll;
    }

    .settings {
        position: fixed;
        top: 89px;
        left: 0;
        right: 0;
        width: 100%;
        overflow-y: scroll;
        background-color: #eeeeee;
        padding: 0;
    }

    .setting-container {
        width: 100%;
        background-color: #FFFFFF;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-top: 1px solid #dddddd;
        border-bottom: 1px solid #dddddd;
    }

    .setting-container div, .setting-container a{
        border-bottom: 0;
        line-height: 1;
        width: 100%;
    }

    .setting-container .divider, .filtro-container .divider{
        background-color: #dddddd;
        height: 1px;
        width: calc(100% - 35px);
        margin-right: 0;
        margin-left: auto;
    }
    /* END LISTA AVVISI */

    /* AVVISI */
    .avvisi-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

/*    .avvisi-container .avviso:first-child {
        border-top: 1px solid #dddddd;
    }*/

    .avviso {
        padding: 15px 10px;
        border-bottom: 1px solid #dddddd;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }

    .settings .avviso {
        padding: 15px 10px;
    }

    .avviso .h5 {
        color: #333333;
        text-align: left;
        margin-bottom: 0px;
        font-weight: 400;
        font-size: 1.13rem;
    }

    .avviso .voci {
        font-size: 14px;
        color: #333333;
    }

    .avviso .voci strong {
        color: #A90533;
    }

    .avviso .n-avviso {
        flex-basis: 40px;
    }

    .avviso .n-avviso div {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: .9rem;
        width: 30px;
        height: 30px;
        border-radius: 30px;
        padding-top: 2px;
    }

    .avviso .avviso-text {
        margin-left: 15px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .lista-avvisi h4, .agenda-container h4{
        padding: .5rem;
        line-height: 1.5;
    }
            
        /* AVVISI GARE */
        #gara .avviso .n-avviso div, #agenda-attive .avviso .n-avviso div, #agenda-scadute .avviso .n-avviso div, #agenda-personali .avviso .n-avviso div{
            border: 2px solid #A90533;
            background-color: #FFFFFF;
            color: #A90533;
        }

        #gara h4, #agenda-attive h4, #agenda-scadute h4, #agenda-personali h4 {
            border-bottom: 1px solid #a90533;
        }
        /* END AVVISI GARE */

        /* AVVISI */
        #esito .avviso .n-avviso div {
            border: 2px solid #28a745;
            background-color: #FFFFFF;
            color: #28a745;
        }

        #esito h4 {
            border-bottom: 1px solid #28a745;
        }

        #ripub .avviso .n-avviso div {
            border: 2px solid #db69db;
            background-color: #FFFFFF;
            color: #db69db;
        }

        #ripub h4 {
            border-bottom: 1px solid #db69db;
        }

        #albof .avviso .n-avviso div{
            border: 2px solid #b5c2f5;
            background-color: #FFFFFF;
            color: #b5c2f5;
        }

        #albof h4 {
            border-bottom: 1px solid #b5c2f5;
        }

        #alien .avviso .n-avviso div {
            border: 2px solid #fa8441;
            background-color: #FFFFFF;
            color: #fa8441;
        }

        #alien h4 {
            border-bottom: 1px solid #fa8441;
        }

        #mepa .avviso .n-avviso div {
            border: 2px solid #ffd745;
            background-color: #FFFFFF;
            color: #ffd745;
        }

        #mepa h4 {
            border-bottom: 1px solid #ffd745;
        }

        #finan .avviso .n-avviso div {
            border: 2px solid #4b45ff;
            background-color: #FFFFFF;
            color: #4b45ff;
        }

        #finan h4 {
            border-bottom: 1px solid #4b45ff;
        }

/* BACK TO TOP */
/*{
            display: none;*/ /* Hidden by default */
/*position: fixed;*/ /* Fixed/sticky position */
/*bottom: 20px;*/ /* Place the button at the bottom of the page */
/*right: 30px;*/ /* Place the button 30px from the right */
/*z-index: 99;*/ /* Make sure it does not overlap */
/*border: none;*/ /* Remove borders */
/*outline: none;*/ /* Remove outline */
/*background-color: red;*/ /* Set a background color */
/*color: white;*/ /* Text color */
/*cursor: pointer;*/ /* Add a mouse pointer on hover */
/*padding: 15px;*/ /* Some padding */
/*border-radius: 10px;*/ /* Rounded corners */
/*font-size: 18px;*/ /* Increase font size */
/*}*/
/* END BACK TO TOP */
/* END AVVISI */
/* CARD */
.card {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    border-color: #FFFFFF;
    margin-bottom: 0rem;
}
   /* END CARD */

    /* LIST GROUP */
    .card > .list-group:first-child .list-group-item:first-child {
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }

    .list-group-flush .list-group-item {
        border-right-width: 0;
        border-left-width: 0;
        border-radius: 0;
    }

    .list-group-item {
        position: relative;
        display: block;
        padding: .75rem 1.25rem;
        background-color: #fff;
        border: 1px solid rgba(0,0,0,.125);
    }

    .card > .list-group:last-child .list-group-item:last-child {
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }
    /* END LIST GROUP */

    /* FUNCTION BAR */
    .function-bar{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #A90533;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        height: auto;
        z-index: 20;
    }

    .function-container{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 15px 1.5rem 25px 1.5rem;
        align-items: center;
        justify-content: space-between;
    }
    /* END FUNCTION BAR */

/* END ELEMENTS */

/* TOP BAR */
.header-intro {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    width: 100%;
    padding: 21px 130px 21px 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: rgba(0, 0, 0, .2) 0 -3px 8px;
    z-index: 1;
    overflow: hidden;
    background: url(/images/logo_IP.svg) no-repeat center right 15px;
    background-size: 100px;
}

.header-intro:first-child {
    flex-basis: 80%;
}

.header-intro span {
    margin-right: 15px;
}

.header-intro:last-child {
    flex-basis: 20%;
}

.header-logo {
    text-align: right;
}

.header-logo img {
    width: 35px;
    max-width: 35px;
    height: 35px;
    max-height: 35px;
}

.header-intro-text {
    text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.round #tawkchat-minified-wrapper {
    display: flex;
    font-size: 21px;
    height: 45px;
    width: 45px;
    margin-right: 0;
    margin-left: auto;
    border-radius: 56px;
    border: solid 1px #a90533;
    background-color: #a90533;
    color: #ffffff;
    justify-content: center;
    align-items: center;
}
/* END TOP BAR */  

/* CONTAINER BODY */
.container-custom {
    position: fixed;
    top: 89px;
    right: 0;
    left: 0;
    bottom: 57px;
    overflow-y: scroll;
}

.body-container {
    position: relative;
    padding-left: 14px;
    padding-right: 14px;
}
/* END CONTAINER BODY */

/* BOTTOM BAR */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 14px 0 24px 0;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-content: center;
    box-shadow: rgba(0, 0, 0, .2) 0 6px 9px;
    overflow: hidden;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    flex: 1 1 0px;
    fill: #333333;
}

.footer-menu span {
    margin: auto
}

.footer-menu.active span {
    color: #A90533;
}
/* END BOTTOM BAR */

.full-body {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-left: 40px;
    padding-right: 40px;
    background-image: url(../../Images/airplane.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
*
* Preloader
*/

.preloader-gara {
    width:100%;
    height:100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    transition: .3s all ease;
}
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    transition: .3s all ease;
}

    .preloader * {
        box-sizing: content-box;
    }

    .preloader.loaded {
        opacity: 0;
        visibility: hidden;
    }

.preloader-body {
    text-align: center;
}

    .preloader-body p {
        position: relative;
        right: -8px;
    }

.cssload-bell {
    width: 97px;
    height: 99px;
    border-radius: 100%;
}

.cssload-circle {
    width: 100%;
    height: 100%;
    position: absolute;
}

    .cssload-circle .cssload-inner {
        width: 100%;
        height: 100%;
        border-radius: 100%;
        border: 5px solid rgba(169, 5, 51, 0.7);
        border-right: none;
        border-top: none;
        background-clip: padding;
        box-shadow: inset 0 0 10px rgba(169, 5, 51, 0.15);
    }

    .cssload-circle:nth-of-type(0) {
        transform: rotate(0deg);
    }

        .cssload-circle:nth-of-type(0) .cssload-inner {
            animation: cssload-spin 2.3s infinite linear;
        }

    .cssload-circle:nth-of-type(1) {
        transform: rotate(70deg);
    }

        .cssload-circle:nth-of-type(1) .cssload-inner {
            animation: cssload-spin 2.3s infinite linear;
        }

    .cssload-circle:nth-of-type(2) {
        transform: rotate(140deg);
    }

        .cssload-circle:nth-of-type(2) .cssload-inner {
            animation: cssload-spin 2.3s infinite linear;
        }

.cssload-bell {
    animation: cssload-spin 5.75s infinite linear;
}

@keyframes cssload-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#profilo a.active{
    background-color: #A90533;
    border: none;
}

#profilo a.active p {
    color: #FFFFFF!important;
}

.list-group-item.disabled, .list-group-item:disabled {
    background-color: #eeeeee;
}

.settings a{
    color: #333333;
}

.bordered{
    border-radius: 5px;
}

.profilo .divider{
    width: 100%;
}

.form-switch {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding: 13px 19px 10px 10px;
    margin-bottom: 0;
    text-align: left;
}

.form-switch i {
    position: relative;
    display: inline-block;
    width: 46px;
    min-width: 46px;
    height: 27px;
    background-color: #e6e6e6;
    border-radius: 23px;
    vertical-align: text-bottom;
    transition: all 0.3s linear;
}

.form-switch i::before {
    content: "";
    position: absolute;
    left: 0;
    width: 42px;
    height: 24px;
    background-color: #eeeeee;
    border-radius: 11px;
    transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
    transition: all 0.25s linear;
}

.form-switch i::after {
    content: "";
    position: absolute;
    left: 1px;
    width: 23px;
    height: 23px;
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    transform: translate3d(2px, 2px, 0);
    transition: all 0.2s ease-in-out;
}

.form-switch:active i::after {
    width: 28px;
    transform: translate3d(2px, 2px, 0);
}

.form-switch:active input:checked + i::after {
    transform: translate3d(16px, 2px, 0);
}

.form-switch input {
    display: none;
}

.form-switch input:checked + i {
    background-color: #4BD763;
}

.form-switch input:checked + i::before {
    transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0);
}

.form-switch input:checked + i::after {
    transform: translate3d(19px, 2px, 0);
}

.dir-rtl{
    direction: rtl;
}

.filtro-title, .settings-title {
    text-align: left;
    font-size: 1rem;
    padding-left: 10px;
    margin-top: 1.5rem;
    color: #777777;
}

.avviso.text-gray {
    font-size: 11px;
}

.highlighted{
    background-color: rgba(255, 255, 0, .2);
}

.body-container button{
    font-size: 1.2rem;
}

/*.owl-carousel, .owl-stage-outer, .owl-stage, .owl-item, .dettaglio-avviso {
    height: calc(100% + 30px);
    overflow-y: scroll;
}*/

.padding-custom{
    padding-left: 10px;
    padding-right: 10px;
}

.col-8 .btn {
    padding: 0.58rem 3px 0.375rem 3px;
}

.setting-container label {
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    margin-top: 10px;
    margin-bottom: 0;
}

.form-control:focus {
    border-color: #A90533;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(169,5,51,.25);
}
.dettaglio {
    bottom: 0;
}
.dettaglio .swiper-container, .dettaglio .swiper-wrapper, .dettaglio .swiper-slide, .dettaglio .dettaglio-avviso {
    height: 100%;
}
.dettaglio .scheda-avviso {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 80px;
}

.logo {
    max-width: 200px;
    width: 200px;
    height: 61px;
}

.logo-profilo{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.new-message:after {
    background-color: #28a745;
    border-radius: 20px;
    content: "";
    height: 10px;
    width: 10px;
    position: absolute;
    top: 3px;
    right: 17px;
}

.arrow::before {
    font-family: 'Linearicons' !important;
    font-size: 20px;
    font-weight: 400;
    content: "\ec3c";
    position: absolute;
    right: 10px;
    left: auto;
}

.text-little{
    font-size: 12px;
}

.modal-content{
    border-radius: .8rem;
}

.custom-switch .custom-control-label:before {
    top: 2px;
    left: 0;
    width: 21px;
    height: 21px;
    margin: 0;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    background-color: #FFFFFF;
}

.custom-control-input:checked ~ .custom-control-label::before {
    content: '\ec34';
    font-family: 'Linearicons' !important;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 20px;
    line-height: 1;
    color: #151515;
    background-color: #FFFFFF;
    outline: none;
}

.custom-control-input:active ~ .custom-control-label::before {
    color: unset;
    background-color: unset;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: unset;
    background-color: unset;
}

.alert-color {
    color:#155724;
}