﻿

body {
    font-size: .875rem;
    font-family: 'Roboto', sans-serif;
}

html,
body {
    height: 100%;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.mask {
    position: absolute;
    background-color: rgba(0,0,0,0.4);
    z-index: 1;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.loading {
    position: absolute;
    background-color: rgba(255,255,255,0.8);
    z-index: 2;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-file {
    display: none
}

.loading .fa {
    margin-top: 30%;
    color: #273140
}

.logo {
    max-height: 60px
}

.btn-grey {
    background-color: #999 !important;
    Color: #fff;
}

.btn-blu, .btn-blu:hover {
    background-color: #1F5778 !important;
    Color: #fff;
}

.btn-blu-navy, .btn-blu-navy:hover {
    background-color: #1F5778 !important;
    Color: #fff;
}

.nav .nav-item:hover {
    background-color: #1F5778;
}

.box-folder .shared {
    position: absolute;
    top: 8px;
    right: 25px;
}

.box-folder .canc {
    position: absolute;
    top: 8px;
    right: 35px;
}

.box-file:hover, .box-folder:hover {
    border: 1px solid #1F5778;
}

.box-file, .box-folder {
    position: relative;
}

    .box-file .shared {
        position: absolute;
        top: 8px;
        right: 5px;
    }

    .box-file .canc {
        position: absolute;
        top: 8px;
        left: 5px;
    }

        .box-file .shared .fa, .box-folder .shared .fa, .box-file .canc .fa, .box-folder .canc .fa {
            font-size: 16px
        }

.data-ticket-inner {
    float: right;
}
.elenco-cartelle ul{list-style-type:none;margin:0 0 20px 0;padding:0}
.elenco-cartelle ul li{
    margin:5px 0;
    cursor:pointer
}
.elenco-cartelle .fa-folder-open, .elenco-cartelle .fa-folder{
    color: #D5A923;
}
.small-font{font-size:12px;font-style:italic}
.header-blu {
    background-color: #cce4fc;
}

.form-control {
    font-size: 14px
}

.btn-small {
    font-size: 12px
}

.breadcrumb {
    padding: 8px 10px;
    margin-top: 10px;
}

    .breadcrumb li {
        font-size: 13px
    }

h1, h2 {
    font-size: 25px;
    color: #1F5778
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0px;
    content: ">";
}

.badge-risposto {
    color: #fff;
    background-color: #6c757d;
}

.badge-risposto-dal-cliente {
    color: #fff;
    background-color: #ffc107;
}

.badge-chiuso {
    color: #fff;
    background-color: #28a745;
}

.badge-aperto {
    color: #fff;
    background-color: #dc3545;
}
/*
 * Sidebar
 */
.bg-navy {
    background-color: #fff !important
}

.navbar {
    border-bottom: 1px solid #f1f1f1;
}

.msguploadAll {
    display: none
}

.nav-item .dropdown-menu {
    position: absolute;
}

.navbar-nav .nav-link {
    color: #5b5b60;
}

    .navbar-nav .nav-link:hover {
        color: #fff;
    }

    .navbar-nav .nav-link .icons {
        color: #1F5778;
    }

    .navbar-nav .nav-link:hover .icons, .nav-item .nav-link:hover .fa {
        color: #fff !important
    }


.navbar-nav {
    flex-direction: row;
}

.color-grey {
    color: #999
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 70px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 88px);
    /*padding-top: .5rem;*/
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.row-filter input {
    width: 100%;
}

.dataTables_length {
    float: left
}

#TabellaLog_length select, .row-filter input, #TabellaLog_filter input {
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid #e1e1e1
}

.paginate_button, .paginate_button:focus {
    padding: 5px 10px;
    cursor: pointer;
    border: 1px solid #ccc;
    margin: 0 5px;
}

    .paginate_button.disabled {
        display: none
    }

    .paginate_button.current {
        background-color: #ccc;
        color: #fff
    }

.dataTables_paginate {
}

.dataTables_info {
    float: left
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}
.color-blu {
    color: #1F5778
}
.sidebar .nav-link {
    /*color: #5b5b60;*/
    color:#1F5778
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.dropzone .dz-preview .dz-error-message {
    color: #fff !important
}

.dropzone {
    border: 2px dotted rgba(0,0,0,0.1) !important;
}

.loginForm {
    margin: 100px auto;
    max-width: 400px;
}
/*
 * Content
 */
[role="main"] {
    padding-top: 80px; /* Space for fixed navbar */
}

/*
 * Navbar
 */

.navbar-brand {
    /*padding-top: .75rem;
    padding-bottom: .75rem;*/
    font-size: 1.7em;
    font-weight: 400;
}

.navbar .navbar-brand {
    text-transform: uppercase;
    color: #1F5778
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

/*
 * Utilities
 */

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-folder {
    padding: 8px 12px 4px;
}

    .box-folder > a {
        width: 85%;
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .box-folder .fa, .box-folder .far {
        margin-right: 5px;
        font-size: 16px;
    }

.drop-btn {
    cursor: pointer;
}

.box-file .preview {
    width: 100%;
    height: 70px;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
}

.box-file .image-preview + .preview {
    display: none;
}

.box-file .image-preview {
    width: 100%;
    height: 100px;
    text-align: center;
    overflow: hidden;
}

    .box-file .image-preview img {
        max-width: 100%;
        max-height: 100%;
    }

.box-file .preview .fa {
    margin-top: 10px;
    font-size: 50px;
}

.box-file .title {
    padding: 8px 12px 4px 12px;
    font-size: 13px;
    line-height: 16px;
}

    .box-file .title > a, .box-file .title > span {
        width: 85%;
        display: inline-block;
        /*white-space: nowrap;*/
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .box-file .title > span {
        color: #9c9ca8;
    }

.text-tiny {
    font-size: 11px
}

#BoxUpload {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 35%;
    z-index: 3;
}

.nav .nav-item {
    border-bottom: 1px solid #f1f1f1 !important;
    font-size: 14px;
    font-weight: normal;
}

    .nav .nav-item .nav-link {
        padding: 10px 15px;
        text-transform: uppercase
    }

        .nav .nav-item .nav-link:hover, .navbar-nav .nav-link:hover, .nav .nav-item.active .nav-link {
            background-color: #1F5778;
        }

            .nav .nav-item.active .nav-link, .nav .nav-item.active .nav-link i {
                color: #fff
            }

    .nav .nav-item .fa, .nav .nav-item .far, .nav .nav-item .fas {
        font-size: 21px;
        margin-right: 10px;
        color: #1F5778
    }

        .nav .nav-item:hover .fa, .nav .nav-item:hover .far, .nav .nav-item:hover .fas,
        .nav .nav-item .fa:hover, .nav .nav-item .far:hover, .nav .nav-item .fas:hover {
            color: #fff
        }

.dropdown .dropdown-menu {
    right: 0px !important;
    left: auto !important;
}

.my-drop-zone {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

    .my-drop-zone.nv-file-over::after {
        content: "\f0ee";
        display: inline-block;
        font-family: 'FontAwesome';
        font-size: 70px;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        text-align: center;
        padding: 45%;
        background: rgba(0, 123, 255,0.15);
        border: 1px solid #007bff;
        color: #007bff;
    }

.text-white {
    color: #fff
}

.panel-messaggio {
    padding: .75rem 1.25rem;
}

#Messaggio {
    font-size: 14px;
}

.progress-bar {
    background-color: #1F5778
}
/*Esternsioni File*/
.fa-ext-pdf:before {
    content: "\f1c1";
}

.fa-ext-jpg:before,
.fa-ext-jpeg:before,
.fa-ext-png:before,
.fa-ext-tif:before,
.fa-ext-gif:before,
.fa-ext-bmp:before {
    content: "\f1c5";
}

.fa-ext-doc:before,
.fa-ext-docx:before {
    content: "\f1c2";
}

.fa-ext-xls:before,
.fa-ext-xlsx:before {
    content: "\f1c3";
}

.fa-ext-rar:before,
.fa-ext-zip:before,
.fa-ext-7z:before {
    content: "\f1c6";
}

.fa-ext-rar,
.fa-ext-zip,
.fa-ext-7z {
    color: #FFD65D
}

.fa-ext-pdf {
    color: #E22F2F
}

.fa-ext-doc,
.fa-ext-docx {
    color: #185ABD;
}

.fa-ext-xls,
.fa-ext-xlsx {
    color: #107C41
}
/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

    /* Hide the tooltip content by default */
    [data-tooltip]:before,
    [data-tooltip]:after {
        visibility: hidden;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
        opacity: 0;
        pointer-events: none;
    }

    /* Position tooltip above the element */
    [data-tooltip]:before {
        position: absolute;
        bottom: 150%;
        left: 50%;
        margin-bottom: 5px;
        margin-left: -80px;
        padding: 7px;
        width: 160px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        background-color: #000;
        background-color: hsla(0, 0%, 20%, 0.9);
        color: #fff;
        content: attr(data-tooltip);
        text-align: center;
        font-size: 14px;
        line-height: 1.2;
    }

    /* Triangle hack to make tooltip look like a speech bubble */
    [data-tooltip]:after {
        position: absolute;
        bottom: 150%;
        left: 50%;
        margin-left: -5px;
        width: 0;
        border-top: 5px solid #000;
        border-top: 5px solid hsla(0, 0%, 20%, 0.9);
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
        content: " ";
        font-size: 0;
        line-height: 0;
    }

    /* Show tooltip content on hover */
    [data-tooltip]:hover:before,
    [data-tooltip]:hover:after {
        visibility: visible;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
        opacity: 1;
    }

.sidebar, .nav-desktop, [role="main"] {
    transition: all 0.3s ease 0s !important;
}

.menumobile {
    cursor: pointer;
    color: #1F5778;
    float: right;
    margin-top: 4px;
    font-size: 16px !important;
}

.menuprincipale {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1 !important;
    color: #5b5b60;
    overflow: hidden
}

    .menuprincipale span {
        font-size: 12px;
    }

.menu-close .sidebar {
    width: 55px;
}

.menu-close .ml-sm-auto {
    margin-left: 45px !important
}

.menu-close .mobile {
    display: block !important
}

.menu-close .nav-desktop span, .menu-close .menuprincipale span, .menu-close .spazio-content {
    display: none
}

.spazio-content p {
    margin-bottom: 5px;
    font-size: 13px;
}

.page {
    background-color: #f1f1f1;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.close-page {
    position: absolute;
    cursor: pointer;
    right: 15px;
}

footer p {
    text-align: right;
    padding-right: 10px
}

.link-blu {
    color: #1F5778;
}

.red {
    color: #a30e0e
}

.setVisualizzazione a {
    padding: 5px 10px;
    background-color: #e1e1e1;
    cursor: pointer;
}

    .setVisualizzazione a:hover, .setVisualizzazione a.active {
        color: #fff !important;
        background-color: #1F5778;
    }

.testo-e {
    display: none
}

.elencofile .dropdown {
    display: none
}

.elencofile .div-file {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    overflow: hidden
}

    .elencofile .div-file .image-preview, .elencofile .div-file .preview {
        width: 20% !important;
        float: left
    }

.elencofile .div-file, .elencofile .box-file {
    overflow: hidden
}

    .elencofile .div-file .title {
        width: 80% !important;
        float: left
    }

    .elencofile .div-file .testo-e {
        display: block
    }

@media only screen and (max-width: 575px) {
    .breadcrumb li {
        font-size: 18px;
    }

    .dropdown .dropdown-menu {
        right: inherit !important;
    }

    .logo-titolo {
        white-space: break-spaces;
    }

    .navbar-nav .nav-link {
        padding: 10px 12px !important;
    }

    .navbar-nav {
        padding-left: inherit
    }

    #BoxUpload {
        width: 90%;
        z-index: 5000
    }

    .sidebar, [role="main"] {
        padding-top: 130px;
    }

    .elencofile .div-file .image-preview, .elencofile .div-file .preview, .elencofile .div-file .title {
        width: 100% !important;
    }
}
