/*#region Font face */

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('/Content/fonts/MaterialIcons.woff2') format('woff2'), url('/Content/fonts/MaterialIcons.ttf') format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

    .material-icons.big {
        font-size: 40px;
    }

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'), url('/Content/fonts/LatoLatinExt.woff2') format('woff2'), url('/Content/fonts/LatoLatinExt.woff2') format('truetype');
    unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'), url('/Content/fonts/LatoLatin.woff2') format('woff2'), url('/Content/fonts/LatoLatin.woff2') format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/*#endregion */

/* Elementi globali */
* {
    outline: none;
    -ms-word-break: break-word;
    word-break: break-word;
}

    *:focus {
        outline: none;
    }

    *::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
        border-radius: 10px;
        background-color: #fbfbfb;
    }

    *::-webkit-scrollbar {
        width: 8px;
        background-color: transparent;
    }

    *::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #999999;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    }

body {
    font-family: 'Lato', 'Roboto', Arial, sans-serif;
    font-weight: lighter;
    font-size: 11px;
    color: #404040;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    padding-bottom: 40px;
    flex: 1 0 auto;
}

a {
    color: #003366;
}

    a.accent {
        color: #00478d;
    }

    a:not(.btn):hover {
        color: #00478d;
    }

blockquote {
    line-height: 24px;
    text-indent: 15px;
    margin-bottom: 20px;
    border-left-color: #003580;
}

i {
    font-style: italic;
}

    i.prefix {
        opacity: .8;
        font-size: 20px;
        top: 10px;
        left: 20px;
    }

p {
    text-indent: 15px;
    line-height: 24px;
    margin-bottom: 6px;
}

label {
    font-size: inherit !important;
}

    label.custom-label {
        color: inherit;
        height: 22px;
        line-height: 22px;
        padding-left: 30px;
    }

select {
    max-width: 80%;
    margin: 15px;
}

.inline select {
    display: inline-block !important;
}

table th {
    text-transform: uppercase;
    font-size: 10px;
    line-height: 13px;
}

table tbody tr td {
    text-indent: 6px;
}

@media screen and (min-width: 992px) {
    table tr {
        height: 43px;
        max-height: 43px;
    }
}

/* Override */

input[type="text"]:-webkit-autofill,
input[type="text"]:focus,
input[type="password"]:-webkit-autofill,
input[type="password"]:focus,
input[type="email"]:-webkit-autofill,
input[type="email"]:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

.btn:not(.btn-flat) {
    background-color: #003580;
    color: #ffffff;
}

.btn-flat {
    padding: 0 4px;
    margin: 0 2px;
}

.btn:not(.btn-flat):hover {
    background-color: #00478d;
}

.btn:disabled,
.bt[disabled],
.btn.disabled {
    cursor: not-allowed;
}

.btn-flat:disabled,
.btn-fla[disabled],
.btn-flat.disabled {
    background-color: #ffffff !important;
}

[type='checkbox']:checked + label::before {
    border-right-color: #003580;
    border-bottom-color: #003580;
}

table.striped > tbody > tr:nth-child(odd) {
    background-color: #f7f7f7 !important;
}

table.highlight > tbody > tr:hover {
    background-color: #f1f1f1 !important;
}

table.highlight > tbody > tr {
    cursor: pointer;
}

[type="radio"]:checked + label:after, [type="radio"].with-gap:checked + label:after,
[type="radio"]:checked + label:after, [type="radio"].with-gap:checked + label:before, [type="radio"].with-gap:checked + label:after {
    background-color: #003580;
}

[type="radio"]:checked + label:after, [type="radio"].with-gap:checked + label:before, [type="radio"].with-gap:checked + label:after {
    border-color: #003580;
}

input:not([type]):focus:not([readonly]), input[type=text]:focus:not([readonly]), input[type=password]:focus:not([readonly]), input[type=email]:focus:not([readonly]), input[type=url]:focus:not([readonly]), input[type=time]:focus:not([readonly]), input[type=date]:focus:not([readonly]), input[type=datetime]:focus:not([readonly]), input[type=datetime-local]:focus:not([readonly]), input[type=tel]:focus:not([readonly]), input[type=number]:focus:not([readonly]), input[type=search]:focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom-color: #003580;
    box-shadow: 0 1px 0 0 #003580;
}

    input:not([type]):focus:not([readonly]) + label, input[type=text]:focus:not([readonly]) + label, input[type=password]:focus:not([readonly]) + label, input[type=email]:focus:not([readonly]) + label, input[type=url]:focus:not([readonly]) + label, input[type=time]:focus:not([readonly]) + label, input[type=date]:focus:not([readonly]) + label, input[type=datetime]:focus:not([readonly]) + label, input[type=datetime-local]:focus:not([readonly]) + label, input[type=tel]:focus:not([readonly]) + label, input[type=number]:focus:not([readonly]) + label, input[type=search]:focus:not([readonly]) + label, textarea.materialize-textarea:focus:not([readonly]) + label {
        color: #003580;
    }

.input-field .prefix.active {
    color: #003580;
}

.dropdown-content li > a, .dropdown-content li > span {
    color: #003580;
}

.tabs, .tab a {
    color: #003580 !important;
}

@media screen and (max-width: 601px) {
    .tab a {
        padding: 0 !important;
    }
}

.tabs .tab a.active {
    font-weight: bold;
}

.tabs .indicator {
    background-color: #00478d !important;
}

.tabs .tab a:hover {
    color: #00478d !important;
}

.autocomplete-content {
    position: absolute;
    width: 96%;
}

.chip {
    text-transform: none !important;
}

@media screen and (max-width: 992px) {
    .chip {
        max-width: 400px;
    }
}

@media screen and (max-width: 600px) {
    .chip {
        max-width: 200px;
    }
}

.chips {
    border: none;
    box-shadow: none;
    outline: none;
    transition: all .3s;
    display: inline-block;
    margin: 0 0 0 12px;
    height: 32px;
    line-height: 32px;
    min-height: 0 !important;
}

@media only screen and (max-width:992px) {
    .pagination {
        width: auto;
    }
}

@media only screen and (max-width:600px) {
    .pagination {
        width: auto;
    }
}

/* Prelodaer */

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.loader-section {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #212121;
    z-index: 1000;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    -ms-animation: spin 2s linear infinite;
    -o-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    z-index: 1001;
}

    #loader::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #e74c3c;
        -webkit-animation: spin 3s linear infinite;
        -moz-animation: spin 3s linear infinite;
        -ms-animation: spin 3s linear infinite;
        -o-animation: spin 3s linear infinite;
        animation: spin 3s linear infinite;
    }

    #loader::after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #f9c922;
        -webkit-animation: spin 1.5s linear infinite;
        -moz-animation: spin 1.5s linear infinite;
        -ms-animation: spin 1.5s linear infinite;
        -o-animation: spin 1.5s linear infinite;
        animation: spin 1.5s linear infinite;
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Classi custom */

.preloader,
.to-preload {
    display: none;
}

.wrapper {
    max-width: 1300px;
    width: 85%;
    margin: 0 auto;
}

@media screen and (max-width : 600px) {
    .wrapper {
        width: 100%;
    }
}

.inline,
.inline > * {
    display: inline-block;
}

@media screen and (max-width: 992px) {
    ul.inline.port-vertical {
        display: list-item;
        text-align: left !important;
    }

        ul.inline.port-vertical li {
            width: 100%;
            margin: 6px 0;
        }
}

.list {
    margin-top: 25px;
    display: list-item;
}

    .list li *:not(label) {
        line-height: 28px;
    }

    .list li a i {
        position: relative;
        top: 2px;
        margin-right: 6px;
    }

.listed {
    margin-top: 25px;
    display: list-item;
    list-style: initial;
}

    .listed li {
        line-height: 28px;
        list-style: disc;
    }

        .listed li > * {
            line-height: 28px;
        }

.transition {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.no-margin {
    margin: 0 !important;
}

.margin-top {
    margin-top: 20px;
}

.margin-bottom {
    margin-bottom: 20px;
}

.no-padding {
    padding: 0 !important;
}

.padding {
    padding: 20px !important;
}

.padding-horizontal {
    padding: 0 20px !important;
}

.padding-vertical {
    padding: 20px 0 !important;
}

.padding-top {
    padding-top: 20px;
}

.padding-bottom {
    padding-bottom: 20px;
}

.uppercase {
    text-transform: uppercase;
}

.vertical-navigation {
    margin-bottom: 50px;
}

    .vertical-navigation a.active {
        color: #00478d;
        color: var(--accent)
    }

.show-for-empty-data,
.show-for-error {
    display: none;
    font-style: italic;
}

.scrollable {
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: auto;
}

.card-preload section {
    display: none;
}

.card-preload blockquote.placeholder {
    position: relative;
}

    .card-preload blockquote.placeholder img {
        width: 80%;
        max-width: 80%;
    }

@media screen and (max-width : 992px) {
    .card-preload blockquote.placeholder img {
        margin-left: 30px;
    }
}

.card-preload blockquote.placeholder .preloader-wrapper {
    position: absolute;
    top: calc(50% - 20px);
    left: 20px;
}

.card-preload blockquote.placeholder .spinner-layer {
    border-color: #003580;
    border-color: var(--primary);
}

.basic {
    color: #003580;
    color: var(--primary);
}

.dotcom {
    color: #c00000;
}

.pagination {
    top: -10px;
    position: relative;
}

    .pagination * {
        height: 30px;
        line-height: 30px;
    }

.pagination-navigator {
    font-size: 12px;
    margin-right: 2px;
    position: relative;
    top: 1px;
    text-transform: none !important;
}

.material-tooltip {
    z-index: 9998;
}


.text-danger {
    color: #f44336;
    font-weight: bold;
    display: block;
    margin-left: 42px;
}