﻿body {
    padding-top: 50px;
    padding-bottom: 0;
}

#root {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto auto 1fr;
    grid-template-rows: auto auto 1fr;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column  */
.dl-horizontal dt {
    white-space: normal;
}

.btn-site {
    background-color: #325664;
    padding: 5px 10px;
    color: white;
    outline: 0;
    border: 1px solid black;
    white-space: nowrap;
}

a.btn-site,
a.btn-site:hover,
a.btn-site:focus,
a.btn-site:active {
    text-decoration: none;
    color: white;
}

.btn-user .user {
    text-align: center;
    margin: 0;
    padding: 5px 10px 10px 10px;
    border-bottom-color: #ddd;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-radius: 0;
}

.navbar-fixed-top {
    z-index: 3;
    border-width: 0;
}

/* nav bar ----------------- */
.navbar-inverse .navbar-brand {
    color: #dddddd;
    max-height: 48px;
    margin-top: 1px;
}

.navbar-inverse {
    background-color: #325664;
    border-color: #325664;
}

.navbar-brand {
    float: left;
    max-height: 50px;
    padding: 0;
}

.navbar-nav > li > .dropdown-menu {
    z-index: 999;
}

input#EAN {
    position: static;
    z-index: 0;
}

/* Form  e validazione ----------------- */
.field-validation-error {
    color: red;
}

.text-danger {
    font-size: 14px;
}

/* Footer ----------------- */
footer {
    height: 50px;
    margin-top: 50px;
    padding-top: 15px;
    color: #325664;
    border-top: 1px solid #325664;
}

    footer a, footer a:hover, footer a:visited, footer a:active {
        text-decoration: none;
        color: #325664;
    }

.container-full {
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
}

.container-no-padding {
    padding-left: 0;
    padding-right: 0;
}

.full-responsive {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.validation-summary-valid {
    display: none;
}

.input-xs, .input-group-xs > .form-control,
.input-group-xs > .input-group-addon,
.input-group-xs > .input-group-btn > .btn,
.form-group-xs .input-group > .form-control,
.form-group-xs .input-group > .input-group-addon,
.form-group-xs .input-group > .input-group-btn > .btn,
.form-group-xs .form-control {
    height: 23px;
    padding: 2px 3px;
    font-size: 10px;
    line-height: 15px;
    border-radius: 2px;
}

.colorpicker-element.input-group-xs .input-group-addon i,
.colorpicker-element.input-group-xs .add-on i,
.form-group-xs .colorpicker-element .input-group-addon i,
.form-group-xs .colorpicker-element .add-on i {
    width: 10px;
    height: 10px;
}

select.input-xs, .input-group-xs > select.form-control,
.input-group-xs > select.input-group-addon,
.input-group-xs > .input-group-btn > select.btn,
.form-group-xs .input-group > select.form-control,
.form-group-xs .input-group > select.input-group-addon,
.form-group-xs .input-group > .input-group-btn > select.btn {
    height: 23px;
    line-height: 23px;
}

textarea.input-xs, .input-group-xs > textarea.form-control,
.input-group-xs > textarea.input-group-addon,
.input-group-xs > .input-group-btn > textarea.btn,
.form-group-xs .input-group > textarea.form-control,
.form-group-xs .input-group > textarea.input-group-addon,
.form-group-xs .input-group > .input-group-btn > textarea.btn {
    height: auto;
}

.input-group-addon.input-xs,
.input-group-xs > .input-group-addon,
.input-group-xs > .input-group-btn > .input-group-addon.btn,
.form-group-xs .input-group > .input-group-addon,
.form-group-xs .input-group > .input-group-btn > .input-group-addon.btn {
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 2px;
}

.input-group-xs > .form-control,
.input-group-xs > .input-group-addon,
.input-group-xs > .input-group-btn > .btn {
    height: 23px;
    padding: 2px 5px;
    font-size: 10px;
    line-height: 15px;
    border-radius: 2px;
}

select.input-group-xs > .form-control,
select.input-group-xs > .input-group-addon,
select.input-group-xs > .input-group-btn > .btn {
    height: 23px;
    line-height: 23px;
}

textarea.input-group-xs > .form-control,
textarea.input-group-xs > .input-group-addon,
textarea.input-group-xs > .input-group-btn > .btn {
    height: auto;
}

.inline-label {
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}

.input-inline {
    display: inline-block;
    width: auto;
}

@media (min-width: 768px) {
    .form-inline .form-group-xs .control-label,
    .form-horizontal .form-group-xs .control-label {
        padding-top: 4px;
        font-size: 12px;
    }

    .form-inline .form-group-sm .control-label,
    .form-inline .form-group-sm .checkbox-inline label,
    .form-horizontal .form-group-sm .checkbox-inline label {
        padding-top: 6px;
        font-size: 12px;
    }

    .form-inline .form-group-xs .checkbox-inline label .form-horizontal .form-group-xs .checkbox-inline label {
        padding-top: 4px;
        font-size: 12px;
    }

    .form-inline .form-group-sm .checkbox-inline input[type=checkbox],
    .form-inline .form-group-xs .checkbox-inline input[type=checkbox],
    .form-horizontal .form-group-sm .checkbox-inline input[type=checkbox],
    .form-horizontal .form-group-xs .checkbox-inline input[type=checkbox] {
        margin-top: 1px;
    }
}

.form-group-xs .form-control-static {
    height: 23px;
    padding: 2px 3px;
    font-size: 10px;
    line-height: 15px;
    min-height: 23px;
}

.text-normal {
    font-size: 14px;
    line-height: 1.42857143;
    font-weight: normal;
}

.smalltext {
    font-size: small;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-addon:first-child {
    border-right: 0;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child) {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.input-group-addon:last-child {
    border-left: 0;
}

.form-inline .riga {
    display: flex;
    width: 100%;
}

    .form-inline .riga:before,
    .form-inline .riga:after {
        display: table;
        content: " ";
    }

    .form-inline .riga .fill {
        flex: 1;
    }

        .form-inline .riga .fill .form-control-static,
        .form-inline .riga .fill .input-group,
        .form-inline .riga .fill .form-control {
            width: 100%;
        }

    .form-inline .riga:after {
        clear: both;
    }

.nomargin {
    margin: 0;
}

.nopadding {
    padding: 0;
}

.vertical textarea {
    resize: vertical;
}

textarea.vertical {
    resize: vertical;
}

.nav-sm > li > a {
    padding: 1px 10px;
}

.nav-sm > li > a,
.nav-xs > li > a {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    border: 1px solid transparent;
}

.nav-xs > li > a {
    padding: 1px 5px;
}

.nav-info > li > a {
    color: #ffffff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

    .nav-info > li > a:hover,
    .nav-info > li > a:focus {
        color: #ffffff;
        background-color: #39b3d7;
        border-color: #269abc;
    }

.nav-info > li.disabled > a {
    color: #999999;
}

    .nav-info > li.disabled > a:hover,
    .nav-info > li.disabled > a:focus {
        background-color: #5bc0de;
        border-color: #46b8da;
        text-decoration: none;
        cursor: not-allowed;
    }

.nav-info .open > a,
.nav-info .open > a:hover,
.nav-info .open > a:focus {
    color: #ffffff;
    background-color: #39b3d7;
    border-color: #269abc;
}

.nav-info > li.active > a,
.nav-info > li.active > a:hover,
.nav-info > li.active > a:focus {
    color: #ffffff;
    background-color: #39b3d7;
    border-color: #269abc;
}

.table > thead > tr > .info,
.table > tbody > tr > .info,
.table > tfoot > tr > .info,
.table > thead > .info > td,
.table > tbody > .info > td,
.table > tfoot > .info > td,
.table > thead > .info > th,
.table > tbody > .info > th,
.table > tfoot > .info > th {
    background-color: #d9edf7;
}

.table-hover > tbody > tr > .info:hover,
.table-hover > tbody > .info:hover > td,
.table-hover > tbody > .info:hover > th {
    background-color: #c4e3f3;
}

.table-nopadding > tbody > tr > td {
    padding: 0px;
}

@media only screen and (max-width: 800px) {
    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }

    #no-more-tables table {
        empty-cells: hide;
    }
    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #no-more-tables tr {
        border: 1px solid #ccc;
    }

    #no-more-tables td {
        /* Behave like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }

        #no-more-tables td:not(:empty):before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
            /* Label the data */
            content: attr(data-title);
        }
}

a.nourl {
    text-decoration: none;
    color: inherit;
}

.dropdown-menu > li > .menu-item {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.box {
    position: relative;
    padding: 45px 15px 15px;
    margin: 0 -15px 15px;
    border-color: #e5e5e5 #eee #eee;
    border-style: solid;
    border-width: 1px 0;
    -webkit-box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.05);
}

.btn-top-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: block;
    padding: 5px 8px;
    font-size: 12px;
    color: #777;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #e1e1e8;
    border-radius: 0 4px 0 4px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        background: red;
        cursor: inherit;
        display: block;
    }

    .btn-file input[readonly] {
        background-color: white !important;
        cursor: text !important;
    }

.table > tbody > tr.selected > td {
    background-color: lightblue;
}

.margin-xs {
    margin: 5px;
}

.margin-sm {
    margin: 10px;
}

.margin-md {
    margin: 20px;
}

.margin-lg {
    margin: 50px;
}

.padding-xs {
    padding: 5px;
}

.padding-sm {
    padding: 10px;
}

.padding-md {
    padding: 20px;
}

.padding-lg {
    padding: 50px;
}

.padding-top-xs {
    padding-top: 5px;
}

.padding-top-sm {
    padding-top: 10px;
}

.padding-top-md {
    padding-top: 20px;
}

.padding-top-lg {
    padding-top: 50px;
}

.padding-bottom-xs {
    padding-bottom: 5px;
}

.padding-bottom-sm {
    padding-bottom: 10px;
}

.padding-bottom-md {
    padding-bottom: 20px;
}

.padding-bottom-lg {
    padding-bottom: 50px;
}

.padding-left-xs {
    padding-left: 5px;
}

.padding-left-sm {
    padding-left: 10px;
}

.padding-left-md {
    padding-left: 20px;
}

.padding-left-lg {
    padding-left: 50px;
}

.padding-right-xs {
    padding-right: 5px;
}

.padding-right-sm {
    padding-right: 10px;
}

.padding-right-md {
    padding-right: 20px;
}

.padding-right-lg {
    padding-right: 50px;
}

.btn-transparent {
    color: black;
    background-color: transparent;
    border-color: transparent;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.fixed-top {
    position: fixed;
    top: 0px;
}

.fixed-bottom {
    position: fixed;
    bottom: 0px;
}

.border-rounded {
    border: 1px solid transparent;
    border-radius: 4px;
}

.border-squared {
    border: 1px solid transparent;
    border-radius: 0px;
}

.border-black {
    border-color: black;
}

.border-red {
    border-color: red;
}

.border-white {
    border-color: white;
}

.fill-page {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.scrollable {
    overflow-y: auto;
}

.margin-top-xs {
    margin-top: 5px;
}

.margin-top-sm {
    margin-top: 10px;
}

.margin-top-md {
    margin-top: 20px;
}

.margin-top-lg {
    margin-top: 50px;
}

.margin-bottom-xs {
    margin-bottom: 5px;
}

.margin-bottom-sm {
    margin-bottom: 10px;
}

.margin-bottom-md {
    margin-bottom: 20px;
}

.margin-bottom-lg {
    margin-bottom: 50px;
}

.margin-left-xs {
    margin-left: 5px;
}

.margin-left-sm {
    margin-left: 10px;
}

.margin-left-md {
    margin-left: 20px;
}

.margin-left-lg {
    margin-left: 50px;
}

.margin-right-xs {
    margin-right: 5px;
}

.margin-right-sm {
    margin-right: 10px;
}

.margin-right-md {
    margin-right: 20px;
}

.margin-right-lg {
    margin-right: 50px;
}

.relative-position {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.wait-animation {
    display: none;
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.8) 50% 50% no-repeat;
    justify-content: center;
    align-items: center;
}

    .wait-animation span {
        color: white;
        font-size: 70px;
    }

body.loading {
    overflow: hidden;
}

    body.loading .wait-animation {
        display: flex;
    }

.modal-content {
    border-radius: 0;
}

.modal-dialog-center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}

.modal-wide .modal-dialog {
    width: 80%;
    max-width: 1600px;
}

@media (min-width: 992px) {
    .modal-larger .modal-content {
        width: 750px;
    }
}

@media (max-width: 767px) {
    .modal-dialog-center {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .modal-lg {
        width: auto;
        margin: 10px;
    }
}


.modal-header.tab-header {
    padding-bottom: 0;
    border-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

    .modal-header.tab-header .nav-tabs {
        padding-left: 15px;
    }

@media (min-width: 768px) {
    .nav .nav-divider {
        width: 1px;
        height: auto;
        background-color: #e5e5e5;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

.week .bootstrap-datetimepicker-widget .datepicker-days table tbody tr:hover td {
    background-color: #eee;
    border-radius: 0;
}

.week .bootstrap-datetimepicker-widget .datepicker-days table tbody td.day.active:hover,
.week .bootstrap-datetimepicker-widget .datepicker-days table tbody .day.active ~ .day,
.week .bootstrap-datetimepicker-widget .datepicker-days table td.active,
.week .bootstrap-datetimepicker-widget .datepicker-days table td.active:hover {
    background-color: #337ab7 !important;
    color: white;
    border-radius: 0;
}

.week .bootstrap-datetimepicker-widget .datepicker-days table tbody td.day.active:hover,
.week .bootstrap-datetimepicker-widget .datepicker-days table tbody tr:hover td:first-child {
    border-radius: 4px 0 0 4px;
}

.week .bootstrap-datetimepicker-widget .datepicker-days table tbody tr:hover td:last-child {
    border-radius: 0 4px 4px 0;
}

.week .bootstrap-datetimepicker-widget .datepicker-days table tbody .day.active ~ .day:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.week .bootstrap-datetimepicker-widget .datepicker-days table tbody .day.active {
    border-radius: 4px 0 0 4px;
}

.navbar .manuale {
    font-size: 18px;
}

/*----------------------------------------------------*/


.box-color {
    height: 16px;
}

.btnSite {
    padding: 10px;
    background-color: #325664;
    color: white;
    box-shadow: 0 0 1px black;
    display: inline-block;
    margin: 10px 0;
}

    .btnSite:hover, .btnSite:focus {
        color: white;
        text-decoration: none;
    }

a.btnDelete,
a.btnDefault,
a.btnModify,
button.btnDelete,
button.btnDefault,
button.btnModify {
    float: right;
    margin: 0 5px;
    cursor: pointer;
    transition: 0.5s;
    background: transparent;
    border: none;
    outline: none;
}

    a.btnDelete.no-pull,
    a.btnDefault.no-pull,
    a.btnModify.no-pull,
    button.btnDelete.no-pull,
    button.btnDefault.no-pull,
    button.btnModify.no-pull {
        float: none;
    }

    a.btnDelete:hover,
    a.btnDefault:hover,
    a.btnModify:hover,
    button.btnDelete:hover,
    button.btnDefault:hover,
    button.btnModify:hover {
        transition: 0.5s;
        transform: scale(1.3);
    }

    a.btnDelete,
    a.btnDelete:hover,
    button.btnDelete,
    button.btnDelete:hover {
        color: red;
    }

    a.btnDefault,
    a.btnDefault:hover,
    button.btnDefault,
    button.btnDefault:hover {
        color: #325664;
    }

    a.btnModify,
    a.btnModify:hover,
    button.btnModify,
    button.btnModify:hover {
        color: green;
    }

button.btnModify,
button.btnModify:focus {
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: green;
}

.jconfirm .jconfirm-box {
    border-radius: 0 !important;
}

.alert {
    z-index: 999999999999 !important;
    width: auto;
}

    .alert .close {
        margin-left: 15px;
    }

.darkbackground {
    color: white;
}

.lightbackground {
    color: black;
}


.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #555;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.container-centro-logistico-select {
    margin-top: 10px;
}