@media screen and (min-width: 768px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        width: 98% !important;
        max-width: 98% !important;
    }
}

.table th, .text-wrap table th {
    color: #495057
}

.table-white {
    color: #000;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 40, 100, 0.12);
    border-radius: 3px;
}

@media screen and (min-width: 577px) {
    div.dataTables_wrapper div.dataTables_length {
        float: left;
    }

    div.dataTables_wrapper div.dataTables_paginate {
        float: right;
    }
}

@media screen and (max-width: 576px) {
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center !important;
    }
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0
}

.header-cliente {
    color: inherit;
    margin-right: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0;
    transition: .3s opacity;
}

.nav-tabs .nav-item i {
    margin-right: 10px;
    font-size: 1rem;
}

@media screen and (max-width: 576px) {
    .header-cliente {
        font-size: 1rem;
    }
}

.descr-cliente {
    display: block;
    font-size: 14px !important;
}

.form-control.qta {
    width: 5rem !important;
    padding: 5px;
}

@media screen and (max-width: 767px) {
    .form-control.qta {
        width: 3.5rem !important;
    }

    .table th, .text-wrap table th, .table td, .text-wrap table td {
        padding-left: 0.50rem;
        padding-right: 0.50rem;
    }
}

.top-cart {
    position: relative
}

.top-cart .badge {
    margin-top: 5px;
}

.btn {
    text-transform: uppercase;
}

.table_catalogo .btn-sm {
    width: 40px;
}

.nav-tabs .nav-link {
    border: 0;
    color: inherit;
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    transition: .3s border-color;
    font-weight: 400;
    font-size: 1rem;
    padding: 1rem 0;
}

@media screen and (max-width: 991px) {
    #headerMenuCollapse .nav-tabs .nav-link {
        width: 100%;
        padding: 0.8rem 0;
    }
}

#headerBar .nav-item {
    padding: 0 .50rem;
}

#headerMenuCollapse .nav-item.active > a {
    font-weight: bold;
    border-color: #467fcf;
    color: #467fcf;
}

/* goto top*/
.gototop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.gototop.active {
    opacity: 1;
    visibility: visible;
}

.gototop a {
    width: 50px;
    height: 50px;
    display: table;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

.gototop a i {
    height: 50px;
    display: table-cell;
    vertical-align: middle;
}

.gototop a:hover, .gototop a:active, .gototop a:focus {
    text-decoration: none;
    outline: none;
}

/* select2 */
.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 22px;
    margin-right: 10px;
}

.select2-selection.select2-selection--single, .select2-selection.select2-selection--multiple {
    background-color: #ffffff;
    border: 1px solid rgba(0, 40, 100, 0.12);
    min-height: 38px;
    padding-top: 4px;
    font-size: 18px;
    border-radius: 3px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
}

.header-user {
    font-size: 2rem
}

.nav-last-b {
    border-right: 1px solid #ccc;
    padding-right: 15px !important;
}

.page-header {
    margin-top: 0 !important;
}

.my-md-5 {
    margin-top: 0.5rem !important;
}

.breadcrumb {
    flex-wrap: wrap;
    padding: 0.25rem 0;
    margin-bottom: 0.15rem;
    background-color: transparent;
    border-radius: 0px;
    font-size: 0.8rem;
}

.page-header-2 {
    margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
    .select2 {
        width: 100% !important;
    }
}

@media screen and (min-width: 1200px) {
    .modal-dialog {
        max-width: 800px !important;
    }
}

@media screen and (min-width: 992px) {
    .modal-dialog {
        max-width: 80% !important;
    }
}

@media screen and (max-width: 991px) {
    .modal-dialog {
        max-width: 95% !important;
    }
}

.header {
    padding-top: 0;
    padding-bottom: 0;
}

.header-toggler {
    top: 1rem;
}

.header-toggler-icon {
    position: absolute;
    width: 1.5rem;
    height: 3px;
    color: inherit;
    background: currentColor;
    border-radius: 3px;
    top: 50%;
    left: 30%;
    margin: -2px 0 0 -.5rem;
    box-shadow: 0 8px currentColor, 0 -8px currentColor;
}

.table-striped tbody tr.selected {
    background-color: #d4edda;
}

.custom-o-nav .nav-item {
    padding: 0 10px 0 0;
}

.custom-o-nav .nav-link {
    display: block;
    padding: .5rem 1rem;
    font-size: 1rem;
    text-transform: uppercase;
}

.custom-o-nav .tab-content {
    padding-top: 20px;
}

.btn-admin,
.btn-admin .nav-link:hover,
.btn-admin .nav-link:active,
.btn-admin .nav-link:focus {
    background-color: #45aaf2;
    color: #ffffff !important;
}

@media screen and (min-width: 992px) {
    .btn-admin {
        position: absolute !important;
        right: 20px;
    }
}

@media screen and (max-width: 992px) {
    .btn-admin {
        margin-bottom: 10px !important;
    }
}

.select2-container .select2-search--inline .select2-search__field {
    padding-left: 8px;
}

.page-single {
    display: block;
}

label.error {
    font-weight: bold;
    color: #ff0000;
}

.testo {
    padding-right: 30px;
}

@media screen and (max-width: 991px) {
    /* .testo{
        display: none;
     }*/
}

.testo-title {
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 22px;
}

.login-body {
    background-color: #fff;
}

@media screen and (min-width: 992px) {

    .login-body {
        background-image: url('../images/login_bg.jpg');
        background-position: top center;
        background-size: cover;
    }

    .login-body.cliente {
        background-image: url('../images/login_bg_cliente.jpg');
    }

}

@media screen and (max-width: 991px) {
    .footer .copy,
    .footer .info {
        text-align: center;
    }
}

@media screen and (min-width: 992px) {
    .footer .info {
        text-align: right;
    }
}

.card-body .form-control,
.card-body .select2-selection.select2-selection--single,
.card-body .select2-selection.select2-selection--multiple {
    background-color: #f1f1f1;
    border: 1px solid #d4d4d4;
    border-radius: 0 !important;
}

.btn{
    border-radius: 0;
}

.page-title small {
    font-size: 14px;
}

.card-shadow {
    -webkit-box-shadow: 0px 0px 26px -10px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 26px -10px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 26px -10px rgba(0, 0, 0, 0.75);
}


.badge2 {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 3px;
}


.card-header.text-right {
    text-align: right !important;
    display: unset;
}

@media (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm {
        display: none !important;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .hidden-md {
        display: none !important;
    }
}
@media (min-width: 1200px) {
    .hidden-lg {
        display: none !important;
    }
}
.nav-tabs .nav-link.active{
    font-weight: bold;
}

.card-table tr td:first-child, .card-table tr th:first-child {
    padding-left: 1rem;
}
.card-header {
    padding: 0.5rem 1rem;
}

/* loader */
.loading-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    background: #e6ecf3;
    background: rgba(230, 236, 243, 0.5)
}

.loading-iframe {
    position: relative;
}

.loading-wrapper .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -30px;
    margin-top: -30px;
    width: 60px;
    height: 60px;
}

.loading-wrapper .loader:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin-left: -24px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 2px solid #d0d6e9;
    border-top-color: #118cf1;
    -moz-animation: spinner .6s linear infinite;
    -webkit-animation: spinner .6s linear infinite;
    animation: spinner .6s linear infinite;
}

@-moz-keyframes spinner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spinner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}