
/*
:root {
  --input-padding-x: .75rem;
  --input-padding-y: .75rem;
}

html,
body {
  height: 100%;
}

.___body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}
  */

    :root {
      --input-padding-x: .75rem;
      --input-padding-y: .75rem;
    }

    ::-webkit-scrollbar {
        width: 6px; /* for vertical scrollbars */
        height: 6px; /* for horizontal scrollbars */
    }

    ::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.5);
    }

    html {
      position: relative;
      min-height: 100%;
    }

    body {
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        -ms-flex-align: center;
        -ms-flex-pack: center;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        margin-top: 55px;
        margin-bottom: 60px;
        /*background-color: rgba(0,0,0,.1);*/ /* #f5f5f5;*/
        background-color: rgba(255,255,255,1);
    }

    .navbar-nav li:hover > ul.dropdown-menu {
        display: block;
    }

    .dropdown-submenu {
        position: relative;
    }
        .dropdown-submenu > .dropdown-menu {
            top: 0;
            left: 100%;
            margin-top: -6px;
        }
        /* rotate caret on hover */
        .dropdown-menu > li > a:hover:after {
            text-decoration: underline;
            transform: rotate(-90deg);
        }

    .container {
        /*padding-top: 20px !important;*/
    }

    #container {
        padding-top: 45px !important;
        /* height: calc(100vh - 150px); */
    }

    #content {
        width: 100%;
        /*padding: 20px;
        min-height: 100vh;*/
        transition: all 0.3s;
        position: absolute;
        top: 0;
        right: 0;

        margin-top: 58px !important;
        height: calc(100vh - 78px)
    }


    button.navbar-toggler:focus {
        outline: 5px auto red !important; /*cambio il colore del bordo da blu a rosso solo per navbar-toggler */
    }

    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        /*height: 60px;*/
        line-height: 40px;
        background-color: rgba(0,0,0,.4);
        display: flex;
    }

    footer div:first-child {
        padding: 0 1rem !important;
        width: 100% !important;
    }


    #pbGotop {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 5px; /* Place the button at the bottom of the page */
        right: 10px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
    }
    #pbGotopB {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 20px; /* Place the button at the bottom of the page */
        right: 30px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        border: 1px solid; /*none Remove borders */
        outline: none; /* Remove outline */
        background-color: rgba(255,0,0,0); /* Set a background color */
        color: rgba(255,0,0,1); /* Text color */
        cursor: pointer; /* Add a mouse pointer on hover */
        padding: 5px; /* Some padding */
        border-radius: 4px; /* Rounded corners */
        font-size: 18px; /* Increase font size */
    }
    #pbGotopB:hover {
        background-color: rgba(255,0,0,.2); /* #555 Add a dark-grey background on hover */
    }

    .form-label-group {
      position: relative;
      margin-bottom: 1rem;
    }

    .form-label-group > input,
    .form-label-group > label {
        padding: var(--input-padding-y) var(--input-padding-x);
    }

    .form-label-group > label {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        margin-bottom: 0; /* Override default `<label>` margin */
        line-height: 1.5;
        color: #495057;
        border: 1px solid transparent;
        border-radius: .25rem;
        transition: all .1s ease-in-out;
    }

    .form-label-group input::-webkit-input-placeholder {
        color: transparent;
    }

    .form-label-group input:-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input:-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input::-moz-placeholder {
        color: transparent;
    }

    .form-label-group input::placeholder {
        color: transparent;
    }

    .form-label-group input:not(:placeholder-shown) {
        padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
        padding-bottom: calc(var(--input-padding-y) / 3);
    }

    .form-label-group input:not(:placeholder-shown) ~ label {
        padding-top: calc(var(--input-padding-y) / 3);
        padding-bottom: calc(var(--input-padding-y) / 3);
        font-size: 12px;
        color: #777;
    }

    /*workaround per Bootbox con Bootstrap v4*/
    .bootbox .modal-header {
        display: block !important;
    }
    
    .btn-outline-help {
        color: #ffc107;
        background-color: transparent;
        background-image: none;
        border-color: #7386D5;
    }

    .btn-outline-help:hover {
        color: #212529;
        background-color: #7386D5;
        border-color: #7386D5;
    }

    .hidden {
        display: none;  /*!important;*/
    }

    .hiddenField, .hideOnStart, .hideOnHelpError {
        display: none;
    }

/*.bg-dark {
    background-color: #000000 !important;
    border-bottom: 2px solid #6d8696;
}

.btn-outline-danger {
    border-color: rgba(228,5,20,1) !important;
}
    .btn-outline-danger:hover, .btn-outline-danger:active, .btn-outline-danger:visited, .btn-outline-danger:focus {
        color: aliceblue;
        background-color: rgba(228,5,20,1) !important;
        border-color: rgba(228,5,20,1) !important;
    }
    .btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):active, .show > .btn-outline-danger.dropdown-toggle {
        color: #fff;
        background-color: rgba(228,5,20,1) !important;
        border-color: rgba(228,5,20,1) !important;
    }

.btn-danger, .btn-danger:hover, .btn-danger:active, .btn-danger:visited, .btn-danger:focus {
    background-color: rgba(228,5,20,1) !important;
    border-color: rgba(228,5,20,1) !important;
}

.bg-danger {
    background-color: rgba(228,5,20,1) !important; 
}*/

.navCalendar {
    display: inline-block;
    font-weight: 400;
    font-size: .875rem;
    line-height: 1.5;
    margin-top: .3rem !important;
    margin-bottom: 0 !important;
    padding: .25rem .5rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: .25rem;
    /*border: solid 1px rgb(0,153,119) !important;*/
    background-color:rgba(4,98,114,.2) !important;

    /*box-shadow: inset 10px 10px 10px #000;
    -webkit-box-shadow: inset 10px 10px 10px #000;
    -moz-box-shadow: inset 10px 10px 10px #000;
    -o-box-shadow: inset 10px 10px 10px #000;*/
}

.navCalendar-date {
    color: rgba(25,255,204,.5) !important;
    text-shadow: 0 0 5px rgba(255,255,255,.5), 0 0 0px rgba(255,255,255,.5), 0 0 0px rgba(255,255,255,.5), 0 0 0px rgba(73,255,24,.5), 0 0 10px rgba(73,255,24,.5), 0 0 20px rgba(73,255,24,.5), 0 0 35px rgba(73,255,24,.5), 0 0 45px rgba(73,255,24,.5);
    /*text-shadow: 0 0 5px #FFF, 0 0 0px #FFF, 0 0 0px #FFF, 0 0 0px #49ff18, 0 0 10px #49FF18, 0 0 20px #49FF18, 0 0 35px #49FF18, 0 0 45px #49ff18;*/
}

.navCalendar-time {
    color: rgba(25,255,204,1) !important;
}

.titoletto {
    text-transform: uppercase !important;
    font-size: 1rem !important; 
}

/*OVERRIDE*/
    /*.dropdown-menu:not(.dropdown-nav3) {
        font-size: .8rem !important;
    }
    .dropdown-menu:not(.dropdown-nav3) > a {
        font-weight: 400 !important;
    }
    .dropdown-menu:not(.dropdown-nav3) > a em, .dropdown-menu:not(.dropdown-nav3) > a ul {
        font-weight: normal;
    }

    */
table.dataTable > thead > tr > th, table.tblDettaglioLotti > thead > tr > th, table.innerTable > thead > tr > th {
    font-size: .8rem !important;
    font-weight: 400 !important;
}
td.details-control {
    background: url('../img/icons/PLUS.png') no-repeat center center;
    background-size: 20px 20px !important;
    cursor: pointer;
}

tr.details td.details-control {
    background: url('../img/icons/CLOSE.png') no-repeat center center;
    background-size: 20px 20px !important;
}

/*evidenziatore righe tabella*/
.mat-elevation-z8:hover {
    box-shadow: 0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12);
}

/* TYPEHEAD RULES*/
.typeahead {
    border: 2px solid #FFF;
    border-radius: 4px;
    padding: 8px 12px;
    max-width: 300px;
    min-width: 400px;
    background: rgba(66, 52, 52, 0.8);
    color: #FFF;
}

ul.typeahead {
    margin: 0px;
    padding: 10px 0px;
}

    ul.typeahead.dropdown-menu {
        min-width: 400px !important;
        overflow: hidden !important;
    }

        ul.typeahead.dropdown-menu li a {
            padding: 10px !important;
            border-bottom: #CCC 1px solid;
            color: #FFF;
        }

        ul.typeahead.dropdown-menu li:last-child a {
            border-bottom: 0px !important;
        }

.typeahead-label {
    font-size: 1.5em;
    color: #686868;
    font-weight: 500;
    color: #FFF;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    text-decoration: none;
    background-color: #1f3f41;
    outline: 0;
}

.progress-mini, .progress-mini div {
    height: 5px;
}
/**/

@media (min-width: 345px) and (max-width: 999px) {
}
@media (max-width: 999px) {
    #nav1 #img_brand_small, #nav2 #img_brand_small, #nav3 #img_brand_small {
        display: inline !important;
    }

    #nav1 #img_brand, #nav2 #img_brand, #nav3 #img_brand, #nav2 #nav-clock, #nav3 #nav-clock {
        display: none !important;
    }
}
@media (min-width: 1000px) {
    #nav1 #img_brand_small, #nav2 #img_brand_small, #nav3 #img_brand_small {
        display: none !important;
    }

    #nav1 #img_brand, #nav2 #img_brand, #nav3 #img_brand, #nav2 #nav-clock, #nav3 #nav-clock {
        display: inline !important;
    }
}


