/* Colori personalizzati */

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #004080 !important;
    color: #fff !important;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background-color: #008060 !important;
    color: #fff !important;
}

.btn-success,
.btn-success:hover,
.btn-success:active,
.btn-success:focus {
    background-color: #008000 !important;
    color: #fff !important;
}

.btn-danger,
.btn-danger:hover,
.btn-danger:active,
.btn-danger:focus {
    background-color: #800000 !important;
    color: #fff !important;
}

.btn-default:not(.dropdown-toggle),
.btn-default:not(.dropdown-toggle):hover,
.btn-default:not(.dropdown-toggle):active,
.btn-default:not(.dropdown-toggle):focus {
    background-color: #004080 !important;
    color: #fff !important;
}

.text-tertiary {
    color: #008060 !important;
}

.theme-white .navbar {
    background-color: rgb(255, 255, 255);
}

.theme-white .navbar-brand {
    color: #004080;
}

.theme-white .navbar-brand:hover {
    color: #004080;
}

.theme-white .navbar-brand:active {
    color: #004080;
}

.theme-white .navbar-brand:focus {
    color: #004080;
}

.theme-white .nav > li > a {
    color: #004080;
}

.theme-white .nav > li > a:hover {
    background-color: transparent;
}

.theme-white .nav > li > a:focus {
    background-color: transparent;
}

.theme-white .nav .open > a {
    background-color: transparent;
}

.theme-white .nav .open > a:hover {
    background-color: transparent;
}

.theme-white .nav .open > a:focus {
    background-color: transparent;
}

.theme-white .bars {
    color: #004080;
}

.theme-white .sidebar .menu .list li.active {
    background-color: transparent;
}

.theme-white .sidebar .menu .list li.active > :first-child i,
.theme-white .sidebar .menu .list li.active > :first-child span {
    color: #004080;
}

.theme-white .sidebar .menu .list .toggled {
    background-color: transparent;
}

.theme-white .sidebar .menu .list .ml-menu {
    background-color: transparent;
}

.theme-white .sidebar .legal {
    background-color: #fff;
}

.theme-white .sidebar .legal .copyright a {
    color: #003264 !important;
}

.sidebar .user-info {
    background-image: none !important;
    background-color: #fff;
}

.sidebar .user-info .info-container .name,
.sidebar .user-info .info-container .email,
.sidebar .user-info .info-container .user-helper-dropdown {
    color: #070928;
}

.label-count {
    color: #fff;
}

.sidebar .user-info .info-container .name,
.sidebar .user-info .info-container .email {
    color: #070928;
}

.btn:not(.btn-link):not(.btn-circle) {
    border-radius: 0.5rem;
    min-width: 90px;
}

.bootstrap-select button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

input.form-control {
    background: transparent !important;
}

.bootstrap-select {
    background: transparent !important;
}

.btn:not(.dropdown-toggle) {
    padding: 8px 14px;
}

.bg-dark-blue {
    background-color: #003264 !important;
}

.bg-white {
    background-color: white !important;
    color: #000000 !important;
}

.dark-blue {
    color: #003264 !important;
}

.info-box .content .text,
.info-box .content .number {
    color: #fff !important;
}

.profile-card .profile-header {
    background-color: #003264;
}

.profile-card .profile-body .image-area img {
    border-color: #003264;
}

.profile-card .profile-body .content-area p:last-child {
    color: #003264;
}

.alert-warning {
    color: #fff;
}

.alert-danger {
    color: #fff;
    background: #800000 !important;
    z-index: 999999 !important;
}

.table-input tr > td:not(:last-child) {
    padding: 17px !important;
}

tr td {
    text-align: center;
    vertical-align: middle;
    font-size: 15px !important;
}

tr th {
    text-align: center;
    vertical-align: middle;
}

.sweet-alert button {
    padding: 8px 14px !important;
    border-radius: 5px !important;
    min-width: 90px;
    background-color: #00b74a !important;
}

.sweet-alert button:hover,
.sweet-alert button:active {
    background-color: #00b749da !important;
}

.sweet-alert button.cancel {
    background-color: #f44336 !important;
}

.sweet-alert button.cancel:hover,
.sweet-alert button.cancel:active {
    background-color: #f44336d7 !important;
}

.sweet-alert p {
    font-weight: normal !important;
}

/* Table */
.no-border {
    border: 0px solid black !important;
}

/* Bottoni azione */
.btn.btn-small.btn-action {
    margin-right: 2%;
    min-width: 30%;
}

.btn.btn-lg {
    min-width: 195px;
}

i.help-icon {
    font-size: 18px;
    cursor: help;
}

ul.menu {
    list-style: none;
}

.navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand {
    margin-left: 30px;
}

/* Sidebar */
.sidebar .user-info .info-container {
    top: 10px;
}

.info-container span.name,
.info-container span.username,
.info-container span.role {
    font-weight: bold;
}

.dataTables_filter {
    display: block;
}

.form-line.errored,
.form-group .form-line.errored:after {
    border-bottom: 2px solid #ff0000;
}

label > span.danger {
    color: #ff0000;
}

/**
 * Stile arrotondato
 */

/* Card e tabelle */
#table {
    overflow-x: auto;
    width: 100%;
}

.table,
.card {
    border-radius: 10px;
}

.profile-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Bottoni */
.btn:not(.btn-link):not(.btn-circle) {
    border-radius: 5px;
}

/* Dropdown menù */

.form-modal .dropdown-menu {
    position: static !important;
    max-height: 350px;
}

.open > .dropdown-menu {
    padding: 5px;
}

ul.dropdown-menu {
    border-radius: 8px;
}

ul.dropdown-menu > li > a:hover {
    border-radius: 5px;
}

/* lsidebar */

.sidebar .menu .list {
    padding: 5px;
}

.sidebar .menu .list .header {
    border-radius: 5px;
    margin-bottom: 5px;
}

.sidebar .menu .list a:hover,
.sidebar .menu .list a:active,
.sidebar .menu .list a:focus {
    background-color: #eee !important;
    border-radius: 5px;
}

td .btn,
.btn-small {
    font-size: 12px !important;
    min-height: 20px !important;
    min-width: 80px !important;
    margin: 2px;
}

.popover {
    border-radius: 5px;
}

.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td,
.table-hover > tbody > tr:hover > .danger,
.table-hover > tbody > tr.danger:hover > th {
    background-color: #f44336;
    color: #ffffff;
}

.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td,
.table-hover > tbody > tr:hover > .warning,
.table-hover > tbody > tr.warning:hover > th {
    background-color: #ffa900;
    color: #ffffff;
}

.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr:hover > .success,
.table-hover > tbody > tr.success:hover > th {
    background-color: #00b74a;
    color: #ffffff;
}

.ms-container {
    background: none !important;
}

.ms-container .ms-list {
    border-radius: 10px !important;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: #ffffff;
}

.number {
    line-height: 2 !important;
}

.switch
    label
    input[type="checkbox"]:checked
    + .lever.switch-col-accademia_del_sostegno {
    background-color: rgba(0, 50, 100, 0.5);
}

.switch
    label
    input[type="checkbox"]:checked
    + .lever.switch-col-accademia_del_sostegno:after {
    background-color: #003264;
}

.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,
.container-fluid > .navbar-collapse {
    margin-right: -15px;
    margin-left: 0px;
}

.switch-locale {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    right: 60px;
}

.switch-locale.impersonated {
    right: 170px;
}

.switch-locale .material-icons:not(.impersonated) {
    color: #003264;
}

.switch-locale.impersonated .material-icons {
    color: #ffffff;
}

.notification-locale {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    right: 20px;
}

.notification-locale.impersonated {
    right: 130px;
}

.notification-locale .material-icons:not(.impersonated) {
    color: #003264;
}

.notification-locale.impersonated .material-icons {
    color: #ffffff;
}

tr.unread-messages > td:first-child {
    border-left: 5px solid #003264;
}

@media only screen and (max-width: 768px) {
    #searchForm {
        width: 100%;
    }

    #orderById {
        display: none;
    }

    #orderBySurname {
        display: none;
    }

    #orderByName {
        display: none;
    }

    #orderByStartDate {
        display: none;
    }

    #orderByEndDate {
        display: none;
    }
}

@media only screen and (min-width: 576px) {
    #searchForm {
        width: 100%;
    }
}
@media only screen and (min-width: 768px) {
    #searchForm {
        width: 100%;
    }
}
@media only screen and (min-width: 992px) {
    #searchForm {
        width: 50%;
    }
}
@media only screen and (min-width: 1200px) {
    #searchForm {
        width: 25%;
    }
}

.colorpicker.colorpicker-visible {
    z-index: 100;
}

.panel-title a {
    color: #4b4b4b;
    text-decoration: none;
    margin-left: 5px;
    font-weight: bold;
}

.panel-title a span {
    font-size: 12px;
    font-weight: normal;
}

/* Dropzone */
.dropzone {
    border: 2px dashed #0087f7;
    border-radius: 5px;
    background: #f3f4f6;
    min-height: 150px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.dropzone .dz-message {
    font-weight: 400;
    text-align: center;
    margin: 2em 0;
}

.dropzone .dz-preview {
    margin: 1em;
    width: fit-content;
}

.dropzone .dz-preview .dz-image {
    border-radius: 4px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    position: relative;
    display: block;
    z-index: 10;
}

.dropzone .dz-preview .dz-remove {
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6b6b6b;
    font-weight: bold;
    text-decoration: none;
    opacity: 0;
}

.dropzone .dz-preview .dz-image img {
    width: 100%;
}

.dropzone .dz-preview .dz-remove i {
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
}

.dropzone .dz-preview:hover .dz-remove {
    text-decoration: none;
    opacity: 100;
}

::placeholder {
    color: #999 !important;
}

.swal-wide {
    width: 850px !important;
}

.form-control {
    border-width: 0px;
    border-bottom-width: 1px;
    border-radius: 0px;
}
