/*#region login page */

/*.loginAs-body {
    background-image: url('../DefaultImmage/loginAsImg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
    filter: blur(15px);
}

.container-loginAs {
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    left: 50%;
    padding: 12px 16px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.box-loginAs {*/
    /* background-color: rgba(255, 255, 255, 0.3);*/
    /*border-radius: 5px;
    font-family: sans-serif;
    text-align: center;
    line-height: 1;*/
    /*-webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(15px);*/
    /*max-width: 100%;
    max-height: 100%;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    box-sizing: content-box;
}

.loginAs-subsection {
    min-height: 100px;
    height: 100%;
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    font-size: large;
    font-family: "Apple Chancery", Regular;
}

.loginAs-subsection-text {
    min-height: 100px;
    height: 100%;
    width: 100%;
    flex-grow: 1;
    font-size: large;
    font-family: "Apple Chancery", Regular;
}

#backToHome, backToHomeProvider {
    font-weight: bold;
}

.avatar-loginAs {
    background-image: url('../DefaultImmage/userLoginAs.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px;
    width: 200px;
    border-radius: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    border: #fff 3px solid;
    box-shadow: rgba(0,0,0,0.4) 0px 2px 4px, inset rgba(0,0,0,0.4) 0px 3px 2px;
    overflow: hidden;
}*/

/*#endregion */

/*#region login page responsive */

.loginAs-body {
    background-image: url('../DefaultImmage/loginAsImg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
    filter: blur(15px);
}

.container-loginAs {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    padding: 12px 16px;
    z-index: 10;
}

.box-loginAs {
    border-radius: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    line-height: 1;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #3366cc;
}

.card-custom-style {
    width: 100%; /* riempie fino al max-width del container */
    max-width: 400px; /* larghezza massima della card */
    margin: 0 auto; /* centra la card */
}

.loginAs-subsection {
    min-height: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: large;
    font-family: "Apple Chancery", Regular;
}

.loginAs-subsection-text {
    width: 100%;
    font-size: large;
    font-family: "Apple Chancery", Regular;
}

.avatar-loginAs {
    background-image: url('../DefaultImmage/userLoginAs.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: #fff 3px solid;
    box-shadow: rgba(0,0,0,0.4) 0px 2px 4px, inset rgba(0,0,0,0.4) 0px 3px 2px;
    overflow: hidden;
    margin-bottom: 15px;
}



/* Pulsante login pił adattabile */
.dx-button {
    width: 100% !important; /* riempie la card su piccoli schermi */
    max-width: 220px;
}

/* Media Queries per schermi piccoli */
@media (max-width: 768px) {
    .container-loginAs {
        padding: 10px;
    }

    .box-loginAs {
        padding: 15px 20px;
    }

    .avatar-loginAs {
        height: 120px;
        width: 120px;
    }
}

@media (max-width: 480px) {
    .container-loginAs {
        width: 95%;
    }

    .avatar-loginAs {
        height: 100px;
        width: 100px;
    }

    .dx-button {
        max-width: 100%;
    }
}

/*#endregion */


/*#region Menu aziende */

.form {
    display: flex;
}

    .form > div {
        display: inline-block;
        vertical-align: top;
    }

#treeviewDriveC,
#treeviewDriveD {
    margin-top: 10px;
}

.dx-treeview-item {
    box-sizing: border-box;
}

.drive-header {
    min-height: auto;
    padding: 0px;
    cursor: default;
}

.drive-panel {
    padding: 20px 30px;
    font-size: 115%;
    font-weight: bold;
    border-right: 1px solid rgba(165, 165, 165, 0.4);
    height: 100%;
}

    .drive-panel:last-of-type {
        border-right: none;
    }

.left_bar {
    max-width: 320px;
}
/*#endregion */

.shadow_custom {
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -o-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

/*#region logo */
#client-logo {
    object-fit: cover;
    height: 45px;
    border-radius: 50%;
    padding: 5px;
    background-color: whitesmoke;
}

@media only screen and (max-width: 280px) {
    #client-logo {
        width: 100%;
        box-sizing: content-box;
    }
}


/*#endregion */

/*#region Slider */

.slider {
    position: relative;
    overflow: hidden;
}

.slider__wrapper {
    display: flex;
    width: 70vw;
    /*justify-content: space-between;*/
    transition: transform 0.6s ease;
}

.prev, .next {
    text-align: center;
    background-color: #f5f5f59e;
    border-radius: 50%;
    border: 2px black solid;
    z-index: 1;
    position: absolute;
    top: 30%;
    transition: 0.4s;
}



    .prev:hover, .next:hover {
        background-color: black;
        color: white !important;
    }

.next {
    right: 0;
}


.thumb {
    /*flex: 0 1;*/
    display: flex;
    flex-direction: column;
    width: 270px;
    /*height: 350px;*/
    box-sizing: content-box;
    box-sizing: border-box;
    /*    height: 100%;*/
    padding-bottom: 10px;
    min-width: 270px;
}

.thumb-header {
    margin-bottom: 15px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
    display: block;
    margin-bottom: 5px;
    padding: 0 10px;
    width: 100%;
    min-height: 120px;
}

.curved {
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.hover-img {
    z-index: 1;
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 270px;
    max-height: 150px;
    background-color: red;
    min-height: 120px;
}

    .hover-img > img {
        max-width: 100%;
        max-height: 197px;
        height: 144px;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transition: all 0.8s;
        -moz-transition: all 0.8s;
        -o-transition: all 0.8s;
        transition: all 0.8s;
        min-width: 250px;
    }

.thumb:hover .hover-img > img, .thumb:focus .hover-img > img {
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.thumb:hover .hover-img:before, .thumb:focus .hover-img:before {
    display: block;
}

.thumb-caption {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: 'Open Sans', Tahoma, Arial, helvetica, sans-serif;
    font-size: smaller;
    /*line-height: 1.6em;*/
    font-weight: 400;
    box-sizing: border-box;
    padding: 0 13px;
}

.thumb-desc {
    margin-bottom: 0;
    margin-top: 6px;
    line-height: 1.5em;
}

.thumb-caption p {
    margin: 0 0 2px;
}

.thumb-caption a {
    text-decoration: none;
}

.thumb-caption h4 {
    padding-bottom: 0;
    margin-bottom: 0;
    font-weight: 700;
    color: #333;
    display: block;
    font-size: 18px;
    margin-bottom: 7px;
    line-height: 1.2;
}

.thumb-title {
    margin: 0;
    line-height: 1em;
}

/*#endregion */

/*#region badge notifiche */
.page_title {
    margin-bottom: 5px;
}

    .page_title::after {
        background: #3366cc none repeat scroll 0 0;
        content: "";
        display: block;
        height: 3px;
        margin-top: 1px;
        width: 100%;
        padding: 0;
    }

.button__badge {
    background-color: #ec6257;
    border-radius: 100%;
    color: white;
    padding: 1px 5px;
    font-size: 10px;
    position: relative;
    top: -18px;
    right: 20px;
}


/*#endregion */


.dx-textarea {
    transition: height 1.0s ease-in-out;
}

.dx-checkbox-icon {    
    border-radius: 2px;
    border: 1px solid #010101!important;
    background-color: whitesmoke!important;
}

.dx-checkbox.dx-state-hover .dx-checkbox-icon {
    border: 1px solid #3366cc !important;
}

.dx-checkbox.dx-state-focused .dx-checkbox-icon {
    border: 1px solid #3366cc !important;
}

#evasa_btn {
    background: lightgreen;
}

#evasa_no_resp_btn {
    background: #81D4FA;
}

#segnalata_btn {
    background: lightcoral;
}

#inLavorazione_btn {
    background: #FFF59D;
}