﻿/*bootstrap std*/
body {
    font-size: 0.8rem;
    line-height: 1.5;
}

.form-control {
    font-size: 0.8rem;
    line-height: 1.2;
    height: calc(0.8rem + 0.75rem + 2px);
    padding: 0.375rem 0.55rem;
}

.btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

@media (min-width: 1200px) {
    body {
        font-size: 1rem;
    }

    .form-control {
        font-size: 1rem;
        line-height: 1.5;
        height: calc(1.5em + 0.75rem + 2px);
        padding: 0.375rem 0.75rem;
    }

    .btn {
        padding: 0.375rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
        border-radius: 0.25rem;
    }
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #e5e5e5;
    background-image: url('../background2.jpg');
    background-position: left top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a, .btn-link {
    color: #0366d6;
    color: #074C8D;
}

.btn-primary {
    color: #fff;
    background-color: #074C8D;
    border-color: #074C8D;
}

.btn-outline-primary {
    color: #074C8D;
    border-color: #074C8D;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.spinner-container {
    height: 200px;
    margin-bottom: 20px;
}

    .spinner-container .spinner-border {
        width: 3rem;
        height: 3rem;
    }

.spinner-text {
    width: 600px;
    text-align: center;
}

.page-title {
    color: #074C8D;
    padding: 10px;
}

    .page-title i {
        margin-right: 10px;
    }

.table {
}

    .table.table-sm td, .table.table-sm th {
        padding: 0.15rem;
    }

    .table.table-sm.table-bordered {
        overflow-x: auto;
        overflow-y: auto;
        white-space: nowrap;
    }

    .table thead th input {
        max-width: 90px;
    }

    .table tr th.button-col {
        width: 45px;
    }

    .table tr th.state-col {
        width: 35px;
    }

    .table tr th.numeric-col,
    .table tr td.numeric-col,
    .table tr td.numeric-col input[type=number] {
        text-align: right;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .table tr th.check-col,
    .table tr td.check-col {
        text-align: center;
    }

    .table .thead-light th {
        background-color: #074C8D;
        border-color: #074C8D;
        color: #ffff;
    }

        .table .thead-light th.sortable {
            cursor: pointer;
            text-decoration: underline;
        }

.modal-form {
    min-width: 800px;
}

label.form-control, div.form-control {
    background-color: #e9ecef;
}

.benvenuto {
    color: #074C8D;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 1.45rem;
}

/*  header INIZIO  */
.top-row {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: #f7f7f7;
}

    .top-row .navbar {
        justify-content: normal;
    }

        .top-row .navbar .navbar-nav.logo {
            padding-left: 0.5rem;
        }

    .top-row .auth {
        padding: 0.5rem 0;
        width: 160px;
    }

        .top-row .auth button.btn.btn-link {
            padding: 0.375rem 0.2rem;
        }

/*Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .top-row .navbar .navbar-nav.logo {
        padding-left: 0;
        padding-right: 20px;
    }
}

@media (min-width: 1200px) {
    .top-row .auth {
        padding: 0.5rem 1rem;
        width: auto;
    }

        .top-row .auth button.btn.btn-link {
            padding: 0.375rem 0.2rem;
        }
}

.page-header {
    position: relative;
    height: auto;
    min-height: 200px;
    padding-bottom: 60px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
}

.header-image {
    background-image: url('/banner1.jpeg');
    transform: translate3d(0px, 0px, 0px);
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center center;
    background-size: cover;
}

    .header-image:before,
    .header-image:after {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: "";
    }

    .header-image::before {
        background-color: rgba(0, 0, 0, 0.5);
    }

/*  header FINE  */

.main {
    position: relative;
    min-height: 1024px;
    margin: -100px 0 0 0;
    background: #fff;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
}

.footer {
    padding: 30px 0 18px;
    color: #fff;
    background: #323437;
    text-align: center;
}

    .footer a {
        opacity: 0.86;
        color: #fff;
    }

.home-info {
    margin: 0 auto;
    padding: 20px 0 30px;
    max-width: 360px;
}

    .home-info .card {
        background: transparent;
        box-shadow: none;
        border: 0;
        margin-bottom: 30px;
    }

    .home-info .info-title {
    }

/*  Server Identity */

.identity-container {
    max-width: 960px;
}

/*  Server Identity */

.promotype-none {
    background-color: rgb(0 0 169) !important;
    color: #F5F5F5 !important;
}

.promotype-promotion {
    background-color: rgb(0, 128, 0) !important;
    color: #F5F5F5 !important;
}

.promotype-mix {
    background-color: rgb(255, 140, 0) !important;
    color: #F5F5F5 !important;
}

.promotype-none-light {
    background-color: rgb(173, 216, 230) !important;
}

.promotype-promotion-light {
    background-color: rgb(144, 238, 144) !important;
}

.promotype-mix-light {
    background-color: rgb(255, 165, 0) !important;
    /*background-color: rgb(255, 255, 0) !important;*/
}

.offerstatus-app {
}

.offerstatus-stored {
    background-color: rgb(255, 255, 0) !important;
}

.offerstatus-req_quote {
    background-color: #FF9052 !important;
}

.offerstatus-offerta {
    background-color: #19CF65 !important;
}

.offerstatus-ordine {
    background-color: #00A6FF !important;
    color: #F5F5F5 !important;
}

.offerstatus-ordinebloccato {
    background-color: rgb(255, 0, 0) !important;
}

.table-responsive-lg {
    overflow: auto;
}

/* Treeview begin*/
.treeview-ul {
    list-style-type: none;
    position: relative;
}

    .treeview-ul li {
        position: relative;
        padding-left: 5px;
        padding-top: 8px;
    }

    .treeview-ul.parentUl .treeview-ul {
        border-left: dashed 2px black;
        height: fit-content;
        border-start-end-radius: 2px;
    }

    .treeview-ul.parentUl ul li:before {
        content: "";
        position: absolute;
        top: 32px;
        left: -40px;
        width: 40px;
        border-bottom: dashed 2px black;
    }

    .treeview-ul .parent-text {
        cursor: pointer;
        -webkit-user-select: none; /* Safari 3.1+ */
        -moz-user-select: none; /* Firefox 2+ */
        -ms-user-select: none; /* IE 10+ */
        user-select: none;
    }

        .treeview-ul .parent-text::before {
            content: "\25B6";
            color: black;
            display: inline-block;
            margin-right: 6px;
            transition: all 0.45s;
        }

        .treeview-ul .parent-text.open::before {
            -ms-transform: rotate(60deg); /* IE 9 */
            -webkit-transform: rotate(60deg); /* Safari */
            transform: rotate(60deg);
            transition: all 0.45s;
        }

    .treeview-ul .children {
        display: none;
        transition: all 0.45s;
    }

        .treeview-ul .children.shown {
            display: block;
            transition: all 0.45s;
        }

.catalog {
    background-color: #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin: 30px;
}

    .catalog.treeview-ul li {
        padding-left: 16px;
    }

    .catalog.treeview-ul ul li:before {
        top: 45px;
    }

    .catalog.treeview-ul .parent-text {
        font-size: 18px;
        line-height: 36px;
        display: block;
    }

        .catalog.treeview-ul .parent-text::before {
            font-family: FontAwesome;
            content: "\f07b";
            color: #074C8D;
            margin-right: 8px;
            font-size: 25px;
        }

        .catalog.treeview-ul .parent-text.open::before {
            font-family: FontAwesome;
            content: "\f07c";
            -ms-transform: none; /* IE 9 */
            -webkit-transform: none; /* Safari */
            transform: none;
        }

    .catalog .treeview-a {
        font-size: 18px;
        line-height: 36px;
        display: block;
    }

        .catalog .treeview-a::before {
            font-family: FontAwesome;
            content: "\f56d";
            color: #074C8D;
            display: inline-block;
            margin-right: 8px;
            font-size: 25px;
        }

/*Treeview end*/
.offer-prev-box {
    border: 1px solid #333;
    border-right: 0;
}

    .offer-prev-box:last-child {
        border: 1px solid #333;
    }

.offer-prev-label {
    font-style: italic;
    font-weight: bold;
    white-space: nowrap;
}

/* Document type*/
.doc-type {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.doc-head-order {
    color: #00A6FF;
    border-color: #00A6FF;
}

    .doc-head-order.doc-type {
        background-color: #00A6FF;
    }

.doc-head-blanket_order {
    color: #CB2EDB;
    border-color: #CB2EDB;
}

    .doc-head-blanket_order.doc-type {
        background-color: #CB2EDB;
    }

.doc-head-quote {
    color: #19CF65;
    border-color: #19CF65;
}

    .doc-head-quote.doc-type {
        background-color: #19CF65;
    }

.doc-head-req_quote {
    color: #FF9052;
    border-color: #FF9052;
}

    .doc-head-req_quote.doc-type {
        background-color: #FF9052;
    }

.doc-head-open_shipment {
    color: #F3647F;
    border-color: #F3647F;
}

    .doc-head-open_shipment.doc-type {
        background-color: #F3647F;
    }

.doc-head-closed_shipment {
    color: #646464;
    border-color: #646464;
}

    .doc-head-closed_shipment.doc-type {
        background-color: #646464;
    }

.doc-row-order_shipment-header {
    background-color: #0093f7 !important;
    border-color: #0093f7 !important;
}
.doc-row-status-bold td {
    font-weight: bold;
}

.doc-row-status-red td {
    color: red;
}

.error-details {
    font-style: italic;
    font-size: 0.7rem;
}