﻿/* GENERALE */
::selection {
    color: #1b55e2;
    font-weight: bold;
    background: yellow;
}

input[readonly], select[readonly], textarea[readonly] {
    background-color: #fcfcfc !important;
    color: #333;
}

/* LOGIN */
.login-img {
    background-image: url(/assets/img/login2.jpg);
    right: 0;
    background-position: top right;
    background-size: cover;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #060818;
    background-repeat: no-repeat;
}

.form-form .form-form-wrap {
    min-width:410px;
}

/* PERSONALIZZAZIONE */

.sidebar-theme #compactSidebar {
    background:#000;
}

.sidebar-wrapper #compactSidebar .menu-categories li.menu a.menu-toggle,
.sidebar-wrapper #compactSidebar .external-links a {
    background-color: #5c9c3d;
}

.sidebar-wrapper #compact_submenuSidebar {
    background:#f1f2f3;
}

.sidebar-wrapper #compactSidebar .menu-categories a.menu-toggle .base-icons svg {
    color: #fff;
}

.sidebar-wrapper #compact_submenuSidebar .submenu ul.submenu-list li a {
    color: #5c9c3d;
}

.sidebar-wrapper #compact_submenuSidebar .submenu ul.submenu-list li a:hover {
    color: #000;
}

.sidebar-wrapper #compact_submenuSidebar .submenu ul.submenu-list li a svg:not(.feather-chevron-right) {
    color: #5c9c3d;
    fill: none;
}

.thumb {
    font-size: 180px;
    color: #ddd;
}

.navbar .navbar-item .nav-item.dropdown.notification-dropdown .dropdown-menu {
    width: 30rem;
    -webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.6);
    box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.6);
}

.navbar .navbar-item .nav-item.user-profile-dropdown .dropdown-menu {
    width: 15rem;
    max-width: 15rem;
    left:-208px;
    -webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.6);
    box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.6);
}

.footer-wrapper .footer-section p {
    font-weight: normal;
    font-size: 11px;
}

.nav-pills .nav-link.active {
    background-color: #5c9c3d;
}


/* OVERRIDE DM */
.dm-loading {
    top: 0;
    left: 0;
    padding-top: 250px;
    opacity: 0.8;
    z-index: 9999;
}

.homewidget #calendar h2 {
    font-size: 18px;
    margin-top: 22px;
    font-weight: bold;
    letter-spacing: 0;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 24px;
}

.fc-icon-fa {
    font-family: "Font Awesome 5 Free";
}

.dm-mask .form-group label, .dm-mask label {
    font-size: 12px;
    color: #5c9c3d;
    letter-spacing: 0px;
}

.dm-mask-item.dx-theme-border-color.dm-panel.dm-mask-panel.dm-mask-groupbox {
    border: 0;
    margin: 20px 0;
}

.dm-mask-layout-with-dropzones {
    margin:10px 0;
}

.dx-textarea .dx-texteditor-input-container {
    margin:0;
}


/* CSS DRAGABLE div */
#origin {
    background-color: #fafafa;
}

    #origin div, #drop div {
        margin-top: 3px;
        margin-left: 5px;
    }

#drop {
    min-height: 80px;
    background-color: #fafafa;
}

.over {
    border: solid 5px purple;
}

.draggable {
    border: solid 2px gray;
}


.ui-draggable {
    margin-bottom: 10px;
    color: #fff;
    outline: 0;
    padding: 6px 10px;
    font-size: 1.0em;
    cursor: pointer;
}


.ui-sortable {
    width: 100%;
    margin: 50px auto;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .1);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .1);
    list-style-type: none;
    padding: 0;
}

    .ui-sortable li.ui-state-default, .ui-sortable li.ui-state-highlight {
        margin: 0;
        height: 45px;
        line-height: 48px;
        font-size: 1.4em;
        color: #fff;
        outline: 0;
        padding: 0 0 0 18px;
        margin: 0;
        text-indent: 15px;
        /*  background: rgb(78,82,91);
        background: -moz-linear-gradient(top, rgb(78,82,91) 0%, rgb(57,61,68) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(78,82,91)), color-stop(100%,rgb(57,61,68)));
        background: -webkit-linear-gradient(top, rgb(78,82,91) 0%,rgb(57,61,68) 100%);
        background: -o-linear-gradient(top, rgb(78,82,91) 0%,rgb(57,61,68) 100%);
        background: -ms-linear-gradient(top, rgb(78,82,91) 0%,rgb(57,61,68) 100%);
        background: linear-gradient(to bottom, rgb(78,82,91) 0%,rgb(57,61,68) 100%);
        border-top: 1px solid rgba(255,255,255,.2);
        border-bottom: 1px solid rgba(0,0,0,.5);
        text-shadow: -1px -1px 0px rgba(0,0,0,.5);*/
        font-size: 1.1em;
        position: relative;
        cursor: pointer;
    }

        .ui-sortable li.ui-state-default:first-child {
            border-top: 0;
        }

        .ui-sortable li.ui-state-default:last-child {
            border-bottom: 0;
        }

.ui-sortable-placeholder {
    border: 3px dashed #aaa;
    height: 45px;
    width: 344px;
    background: #ccc;
}

.ui-sortable li.ui-state-default:after, .ui-sortable li.ui-state-highlight:after {
    font-family: "Font Awesome 5 Free";
    content: "\f022";
    display: inline-block;
    position: absolute;
    left: -5px;
    top: 6px;
    font-size: 120%;
    text-align: center;
    line-height: 35px;
    margin-right:4px;
    color: rgba(255,255,255,.8);
    text-shadow: 0px 0px 0px rgba(0,0,0,0);
    cursor: move;
}

#sortable1, #sortable2 {
    list-style-type: none;
    margin: 0;
    padding: 2.5em;
    float: left;
}

#sortable1 li, #sortable2 li {
        margin: 15px;
}

.attivo, .valido , .confermato{
    color: #fff;
    background-color: #00ab55;
}

.stimato {
    color: #fff;
    background-color: #ffa31a;
}

.errore {
    color: #fff;
    background-color: #ff1a1a;
}

.nonattivo, .scaduto {
    color: #fff !important;
    background: #8a8a8a;
    font-weight: normal !important;
}



/*Personalizzazioen CARDVIEW*/
.dx-cardview-field-caption, .dx-cardview-field-value {
    padding-bottom: 0;
    padding-top: 0;
}

.dx-cardview-headerpanel-content{
    display: none;
}


/*DEFAULT HEIGHT OF DEVEXPR CONTENT CARDS*/
.devxpress-card-height{
    min-height: 31.25rem;
}

.devxpress-max-height {
    max-height: 31.25rem;
}

/*DEFAULT HEIGHT PER GRID RIASSUNTIVE STATISTICHE*/
.grid-card-height{
    min-height: 250px;
}
