/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
::selection {
    background: #134F8D;
}

a {
    color: #134F8D;
}

#footer a {
    color: #cfcfcf;
}

form, label {
    margin-bottom: 0
}


.nascosto {
    display: none
}

#page-title {
    padding: 30px 0;
}

.checkListBox label {
    margin-left: 10px;
    font-weight: 600
}

#optAziende label {
    margin-right: 15px;
    margin-left: 2px;
}

.sub-menu-container .menu-item:hover > .menu-link, .menu-container .menu-item:hover > .menu-link {
    color: #0094DA;
}

.menu-container > .menu-item > ul > li.menu-item.current {
    background-color: #666
}

    .menu-container > .menu-item > ul > li.menu-item.current a div {
        color: #fff;
        padding-left: 20px;
    }


.dataTables_wrapper .row {
    margin: 0;
}

.page-item.active .page-link, .page-link:hover, .page-link:focus {
    color: #FFF !important;
    background-color: #0094DA !important;
    border-color: #0094DA !important;
}

.btn-link, .page-link, .page-link:hover, .page-link:focus {
    color: #0094DA;
}

.content-wrap {
    padding: 40px 0 20px 0;
}

.admin input[type="image"], .admin #dgVisualizza img {
    max-width: 20px;
    margin-left: 2px;
    margin-right: 2px;
    cursor: pointer
}

.currency, .decimal, .number, .percent {
    text-align: right
}


.btn-color {
    color: #fff;
    background-color: #134F8D;
    border-color: #134F8D;
}

    .btn-color:hover {
        color: #fff;
        background-color: #0094DA;
        border-color: #0094DA;
    }

    .btn-check:focus + .btn-color, .btn-color:focus {
        color: #fff;
        background-color: #0094DA;
        border-color: #0094DA;
        box-shadow: 0 0 0 0.25rem rgba(66, 70, 73, 0.5);
    }

    .btn-check:checked + .btn-color, .btn-check:active + .btn-color, .btn-color:active, .btn-color.active, .show > .btn-color.dropdown-toggle {
        color: #fff;
        background-color: #0094DA;
        border-color: #0094DA;
    }

        .btn-check:checked + .btn-color:focus, .btn-check:active + .btn-color:focus, .btn-color:active:focus, .btn-color.active:focus, .show > .btn-color.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.25rem rgba(66, 70, 73, 0.5);
        }

    .btn-color:disabled, .btn-color.disabled {
        color: #fff;
        background-color: #134F8D;
        border-color: #134F8D;
    }

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-color, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-color {
    background: #134F8D;
    color: #fff;
}

.occhio {
    background-image: url('/admin/img/occhio.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}

.occhiogrigio {
    background-image: url('/admin/img/occhiogrigio.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}

.tipoPassword {
    position: relative
}

    .tipoPassword input {
        padding-right: 40px;
    }

    .tipoPassword .occhio, .tipoPassword .occhiogrigio {
        position: absolute;
        right: 10px;
        width: 30px;
        height: 30px;
        bottom: 3px;
        cursor: pointer;
    }

label.obbligatorio::after {
    content: '*';
    color: #f00;
}

tr.testataTabella > th {
    background-color: #fff;
    border-bottom: 2px solid #000;
}

tr.testataTabella a {
    color: #222222
}

tr.testataTabella a:hover {
    color: #22222290
}

tr.paginazione > td {
    background-color: #fff;
}

    tr.paginazione > td > table {
        margin: 0
    }

        tr.paginazione > td > table span {
            padding: 5px 10px;
            background-color: transparent;
            line-height: 15px;
            font-size: 15px;
            border: 1px solid rgba(66, 70, 73, 0.5);
        }

        tr.paginazione > td > table a {
            border: 1px solid #000;
            padding: 5px 10px;
            line-height: 15px;
            font-size: 15px;
            color: #000
        }

            tr.paginazione > td > table a:hover {
                background-color: #808080;
                color: #fff
            }

th.SortedAscendingHeaderStyle, th.SortedDescendingHeaderStyle {
    position: relative;
    padding-left: 20px;
}
    .SortedAscendingHeaderStyle::after, .SortedDescendingHeaderStyle::after {
        content: "";
        position: absolute;
        left: 3px;
        top: 3px;
        width: 10px;
        height: 100%;
        display: block;
        background-position: center center;
        background-size: contain;
        background-repeat:no-repeat;
    }

.SortedDescendingHeaderStyle::after {
    background-image: url("/admin/img/ordinaGiu.png");
}

.SortedAscendingHeaderStyle::after {
    background-image: url("/admin/img/ordinaSu.png");
}

@media (min-width: 992px) {
    .side-header #header-wrap > .container {
        width: 100%;
        padding: 0 15px;
    }

    .side-header #header-wrap {
        padding-right: 20px;
    }

    .sub-menu-container.open {
        display: block !important;
        height: auto !important;
    }

        .sub-menu-container.open + button.sub-menu-trigger.icon-chevron-right {
            transform: rotate(90deg);
        }
}
