.dl-horizontal dt {
    white-space: normal;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
    background-color: white;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    font-weight: normal;
    color: #4e4e4e;
}

.footer {
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    background-color: #4877b4;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}

.container-custom {
    margin-right: 10px;
    margin-left: 4px;
    padding-top: 60px;
}

.container-messages {
    display: block;
}

.btn-primary {
    background-color: #005d9b;
    border-color: #005d9b;
}

    .btn-primary:hover {
        background-color: #0378c7;
        border-color: #005d9b;
    }

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    width: 120px;
}

input {
    outline: none !important;
    border: 1px solid #f2f2f2;
}

    input:focus {
        outline: none !important;
        border: 1px solid #0378c7;
    }

/*CSS per Pagina di Login*/
.form-signin-custom {
    max-width: 310px;
    padding: 35px 35px 35px;
    margin: 0 auto;
    margin-top: 100px;
    background-color: #fff;
    border-radius: 5px;
}

.form-signin-heading {
    color: #4e4e4e;
}

.form-control-custom {
    position: relative;
    height: auto;
    padding: 10px;
    background-color: #f2f2f2;
    border-radius: 5px;
    color: #4e4e4e;
}

input[type="text"] {
    margin-bottom: 10px;
    width: 100%;
}

input[type="password"] {
    margin-bottom: 10px;
    width: 100%;
}

.allerta {
    padding-left: 0;
    color: #b94a48;
    border-color: #eed3d7;
    text-align: center;
    padding: 10px;
    list-style: none;
}

.login {
    margin: 20px 0px 20px 0px;
}

    .login select {
        border: none;
        width: 85%;
        background-color: #f2f2f2;
        color: #4e4e4e;
    }

.btm-custom {
    width: 100%;
    margin-top: 10px;
}

/*TENDINA DROPDOWN UTENTE*/
.dropbtn {
    background-color: #4877b4;
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
}

    .dropbtn:hover {
        background-color: #3a6299;
    }

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-user-info {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    color: #4e4e4e;
    font-size: 14px;
}

    .dropdown-user-info .user-name {
        font-weight: bold;
        font-size: 15px;
    }

    .dropdown-user-info .user-company {
        color: #666;
    }

    .dropdown-user-info .user-email {
        color: #999;
        font-size: 13px;
    }

/*EXTRA*/
.langSelectLogin {
    background-color: #f2f2f2;
    display: inline-block;
    border-radius: 5px;
    width: 100%;
    padding: 2px;
}

.zondicon-headers {
    width: 30px;
    margin-right: 10px;
    vertical-align: text-top;
}

.topline {
    height: 6px;
    background: #4877b4;
}

.copyright {
    text-align: center;
    color: #999999;
    padding-top: 20px;
}

a:hover, a:focus {
    text-decoration: none;
}

/*NAVBAR*/
header {
    background-color: #4877b4;
    color: white;
}

    header a {
        color: white;
        text-decoration: none;
    }

.nav-custom {
    display: inline-block;
    height: 100%;
}

    .nav-custom a {
        padding: 16px 18px;
        display: inline-block;
        text-decoration: none;
        transition: background-color 0.2s;
    }

        .nav-custom a:hover {
            background-color: #3a6299;
            color: white;
            text-decoration: none;
        }

        .nav-custom a:active {
            background-color: #2d4f80;
        }

    /* Admin dropdown nel nav */
    .nav-custom.dropdown a.dropdown-toggle {
        padding: 16px 18px;
        text-decoration: none;
    }

        .nav-custom.dropdown a.dropdown-toggle:hover {
            background-color: #3a6299;
            color: white;
        }

    .nav-custom .dropdown-menu {
        border-radius: 0 0 5px 5px;
        margin-top: 0;
        border-top: none;
    }

        .nav-custom .dropdown-menu .dropdown-item {
            padding: 8px 16px;
            color: #4e4e4e;
        }

            .nav-custom .dropdown-menu .dropdown-item:hover {
                background-color: #4877b4;
                color: white;
            }

.nav-displayname {
    display: none;
}

.current {
    background-color: #3a6299;
    color: #ffffff;
}

.stickyheader {
    width: 100%;
    top: 0;
    position: fixed;
    z-index: 11000000;
}

/*LEFT*/
.nav-left {
    display: inline-flex;
    align-items: center;
}

/*RIGHT*/
.nav-right {
    float: right;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.nav-company-name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: white;
    pointer-events: none;
}

/*HOME*/
.panel {
    margin-bottom: 0px;
    box-shadow: none;
}

.panel-custom {
    margin-top: 20px;
    margin-bottom: 0px;
    border: 5px solid transparent;
}

.panel-custom-table {
    border-left: 0px;
    border-right: 0px;
}

.panel-badge {
    border: 1px solid transparent;
    background-color: #f1f2f4;
    padding: 3px;
    font-size: 18px;
}

#panel-hover:hover {
    background-color: #4877b4;
    color: white;
    fill: white;
}

.panel-badge-murgente {
    color: #b94a48;
}

.panel-badge-urgente {
    color: #d7a44f;
}

.panel-badge-post {
    color: #7ba6e6;
}

.panel-badge-saldo {
    color: #468846;
}

.panel-badge-scaduti {
    color: #3f526b;
}

.panel-badge-scaduti-content {
    padding-left: 15px;
    font-size: 20px;
}

.col-lg-3.col-md-6 {
    padding-right: 5px;
    padding-left: 5px;
}

.row {
    margin: 0;
    padding: 5px 0px;
}

.badge {
    font-size: 20px;
    padding: 5px 10px;
}

/*colori badge*/
.badge-murgente {
    background-color: #b94a48;
}

.badge-urgente {
    background-color: #d7a44f;
}

.badge-post {
    background-color: #7ba6e6;
}

.badge-saldo {
    background-color: #468846;
}

.panel-footer {
    border-top: 0;
}

.icon {
    display: inline-flex;
    align-self: center;
}

    .icon svg, .icon img {
        fill: currentColor;
    }

    .icon.baseline svg, .icon img {
        top: .125em;
        position: relative;
    }

/*bottone per tornare in cima alla pagina*/
#myBtnTop {
    display: none;
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: orangered;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50px;
    font-size: 0;
}

    #myBtnTop:hover {
        background-color: #014c84;
    }

/*PARTE RESPONSIVE*/
.responsive-menu {
    display: none;
}

.responsive-menu-list {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #4877b4;
    position: fixed;
    top: 53px;
    right: 0;
    width: 280px;
    z-index: 10000;
    box-shadow: -2px 4px 8px rgba(0,0,0,0.2);
    max-height: calc(100vh - 53px);
    overflow-y: auto;
    border-bottom-left-radius: 5px;
}

    .responsive-menu-list li a {
        display: block;
        padding: 7px 20px;
        color: white;
        text-decoration: none;
        font-size: 14px;
        transition: background-color 0.2s;
    }

        .responsive-menu-list li a:hover {
            background-color: #3a6299;
        }

        .responsive-menu-list li a.active {
            font-weight: bold;
        }

.responsive-user-info {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    color: white;
    font-size: 14px;
}

.responsive-divider {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 2px 0;
}

.responsive-section-title {
    padding: 4px 20px 2px 20px;
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1300px) {
    .panel-custom {
        margin-top: 0;
        box-shadow: none;
        background-color: transparent;
    }
}

@media (max-width: 992px) {
    .nav-custom {
        display: none !important;
    }

    .nav-right .dropdown {
        display: none !important;
    }

    .nav-right .nav-custom {
        display: none !important;
    }

    .nav-company-name {
        display: none !important;
    }

    .responsive-menu {
        display: block;
        position: absolute;
        top: 12px;
        right: 15px;
    }

        .responsive-menu a#pull {
            display: block;
        }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.home-image {
    height: 35px;
    width: 35px;
    fill: #FFFFFF;
    color: #FFFFFF;
}

#home-svg:hover {
    fill: aliceblue;
}

.icon_pdf {
    height: 24px;
    width: 24px;
}

    .icon_pdf:hover {
        fill: white;
    }

.btn-toolbar {
    color: #ffffff !important;
    background-color: #4877b4 !important;
}

    .btn-toolbar:hover {
        background-color: #7ba6e6 !important;
    }

.icona_priorita {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    line-height: 24px;
    fill: inherit;
}

#Molto_urgente-image {
    fill: #b94a48;
    filter: invert(37%) sepia(25%) saturate(7060%) hue-rotate(341deg) brightness(84%) contrast(65%);
}

#Urgente-image {
    fill: #d7a44f;
    filter: invert(66%) sepia(18%) saturate(1252%) hue-rotate(359deg) brightness(100%) contrast(84%);
}

#da-posticipare-image {
    filter: invert(65%) sepia(9%) saturate(2396%) hue-rotate(180deg) brightness(101%) contrast(80%);
}

#normale-image {
    filter: invert(76%) sepia(79%) saturate(1%) hue-rotate(106deg) brightness(101%) contrast(100%);
}

.btn-link.btn-download-ordine:hover,
.btn-link.btn-download-disegno:hover,
.btn-link.btn-download-step:hover {
    background-color: #e9ecef;
    border-radius: 4px;
    text-decoration: none;
}

.btn-download-ordine i,
.btn-download-disegno i,
.btn-download-step i {
    font-size: 24px;
}

.dataTables_paginate .paginate_button {
    padding: 3px 8px;
    font-size: 12px;
}

/* Filtri scadenziario */
.btn-filtro {
    transition: all 0.2s;
}

    .btn-filtro:hover {
        opacity: 0.8;
        transform: scale(1.02);
    }

    .btn-filtro.active {
        font-weight: bold;
        box-shadow: 0 0 0 2px rgba(0,0,0,0.2);
    }

/* Gestione utenti */
#gridSettimanale .icona_priorita {
    width: 24px;
    height: 24px;
}
