﻿/* STILI */

body {
    padding-bottom: 50px; /* per footer fixed */
}

.login-header {
    background-color: #00437a;
    /*
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(0, 69, 123, 206) 50%, rgba(255, 255, 255, 0));
    */
}

.form-signin {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin: 0 auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.highlighted {
    color: #466580;
}

.bg-card-header {
    background-color: #337ab7!important;
}

.border-card {
    border-color: #337ab7!important;
}

.badge-card {
    color: #337ab7;
    background-color: #fff;
}

.calendar-head {
    text-align: center;
}

.calendar-today {
    background-color: #fcf8e3;
}

.table td.no-text {
    width: 1%;
}

.table > tbody > tr > td.calendar-lastband {
    border-bottom-color: #333;
}

.table-striped tbody tr:nth-of-type(odd) td.calendar-today {
    background-color: rgba(255, 193, 7, 0.2);
}

/* CUSTOM SWEET ALERT */
.swal2-modal {
    font-family: museo-sans, sans-serif;
}

.swal-error #swal2-content {
    text-align: left;
}

.swal2-cancel {
    margin-left: 10px;
}

.swal2-buttonswrapper .btn-granata,
.swal2-buttonswrapper .btn-default {
    width: 90px;
    display: inline-block;
    padding: 8px 12px;
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.swal2-buttonswrapper .btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.swal2-buttonswrapper .btn-default:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* ICONE */

.fa-check-circle {
    color: green;
}

.fa-times-circle {
    color: red;
}

/* CUSTOM BOOTSTRAP */

a.nav-link {
    color: #495057;
}

.nav-tabs .nav-link.active {
    color: #00457b;
    background: linear-gradient(#f5f5f5, #fff);
}

.nav-tabs a.nav-link.active {
    background: linear-gradient(#f5f5f5, #fff);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255,255,255,.9);
}

.nav-link.dropdown-toggle::after {
    vertical-align: 0.1em;
}

.nav-item .dropdown-menu {
    margin-top: -0.3rem;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 50);
}

.nav-item .dropdown-item {
    padding-left: .75rem;
    padding-right: .75rem;
}

.nav-item .dropdown-item .fa {
    width: 16px;
    text-align: center;
}

.bg-success {
    background-color: #9ee8b0!important;
}

.bg-primary {
    background-color: #00457b!important;
}

.btn-primary,
a.btn-primary,
a.btn-primary:link,
.btn-primary:active {
    background-color: #00457b;
    border-color: #00457b;
}

.btn-outline-primary {
    color: #00457b;
    border-color: #00457b;
}

.btn-outline-primary:hover {
    background-color: #00457b;
}

.btn-link {
    color: #00457b;
}

.text-primary {
    color: #00457b!important;
}

a.text-primary:hover {
    color: #00457b!important;
}

.page-link, .page-link:hover {
    color: #00457b;
}

.page-item.active .page-link {
    background-color: #00457b;
    border-color: #00457b;
}

ul.pagination {
    margin-top: 0;
    margin-bottom: 0;
}

.pagination > li.disabled > a, .pagination > li.disabled > a:hover,
.pagination > li.disabled > span, .pagination > li.disabled > span:hover {
    cursor: default;
}

table.table {
    font-size: 85%;
}

table.table-striped th,
.table th, .table th a {
    color: black;
}

.table td {
    vertical-align: middle;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #00457b;
    color: #fff!important;
}

.badge-primary {
    background-color: #00457b!important;
}

.form-control:focus, .custom-select:focus,
.custom-file-input:focus~.custom-file-label,
.custom-control-input:focus:not(:checked)~.custom-control-label::before,
.custom-control-input:checked~.custom-control-label::before {
    border-color: #595850;
    box-shadow: 0 0 0 .2rem rgba(61, 61, 56, 0.25);
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: #595850;
}

.form-group {
    margin-bottom: .5rem!important;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1880px;
    }
}

/* CUSTOM VALIDATOR */

.field-validation-error {
    color: #dc3545;
    font-size: 80%;
}

.input-validation-error {
    border-color: #dc3545;
}

.validation-summary-errors > ul {
    margin-bottom: 0;
}