/* PRELOADER */
.preloader {
    position: fixed;
    z-index: 10000;
    background: white;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    top: 0;
    overflow: hidden;
}

.overflow {
    overflow-x: auto;
    overflow-y: auto;
}

.preloader-center {
    top: 50%;
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
}

.loader-center {
    width: 90%;
    top: 50%;
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
}

.loader-center>img {
    width: 100%;
    height: 100%;
    max-width: 328px;
    max-height: 196px;
}

/* PRELOADER END */

.form-control.inline {
    display: inline-block;
    margin: 10px 2px;
}

.inline {
    display: inline;
}

@media only screen and (min-width: 768px) {
    .dt-buttons {
        top: 35px;
    }
}

/*.dt-buttons .table-responsive{
    margin-top:-35px
}*/

.btn {
    /* margin: 0px 0.5rem; */
    /*rimosso per alcuni bug, da verificare*/
    cursor: pointer;
}

/*
.btn+.btn {
    margin: 0px 0.5rem;
}*/

.btn-group>.btn {
    margin: 0;
}

.input-group-prepend>.btn {
    margin: 0;
}

.upload-wrap {
    display: block;
    width: 200px;
    height: 200px;
    margin: 10px auto;
    display: none;
}

table .btn-warning:hover {
    background-color: #ffd455;
    border-color: #ffd455;
}

table .btn-danger:hover {
    background-color: #fb727f;
    border-color: #fb727f;
}

table .btn-info:hover {
    background-color: #1bb0c7;
    border-color: #1bb0c7;
}

.uppercase {
    text-transform: uppercase;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    text-transform: none;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    text-transform: none;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    text-transform: none;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    text-transform: none;
}

::placeholder {
    /* Recent browsers */
    text-transform: none;
}

.card {
    /*border: -4px solid;*/
    /* border-color: transparent; */
    /* margin-left: 5px; */
    /* margin-right: 5px; */
}

.column-selector {
    margin-top: 4px;
}

.nav-sidebar .nav-treeview {
    width: 95%;
    float: right;
}

.myRow {
    cursor: pointer;
}

#addElementoArea {
    margin-top: 15px;
}

#confirmAddElemento button {
    border-radius: 0px .25rem .25rem 0px;
    -webkit-border-radius: 0px .25rem .25rem 0px;
    -moz-border-radius: 0px .25rem .25rem 0px;
    -ms-border-radius: 0px .25rem .25rem 0px;
    -o-border-radius: 0px .25rem .25rem 0px;
}

.btn-sm,
.clickable {
    cursor: pointer;
}

#nessunRisultato {
    margin: 10px 0;
}

/* checkbox */

.form-check-label {
    margin-left: 4px;
}

input[type="radio"] {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

input[type="checkbox"]:focus {
    outline: 0;
}

input[type=checkbox] {
    margin-right: 5px;
    width: 20px;
    height: 20px;
    background-color: #eee;
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 0.1rem;
}

input[type=checkbox]:hover {
    background-color: #cecece;
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type=checkbox]:checked {
    background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iQ2FwYV8xIiBkYXRhLW5hbWU9IkNhcGEgMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDM4NCI+PHBhdGggZD0iTTAsMjcyLjMzLDE3NS4zMyw0NDgsNTEyLDExMS42Niw0NjMuNjcsNjQsMTc1LjMzLDM1Miw0Ny42NiwyMjQuMzNaIiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNjQpIi8+PC9zdmc+");
    background-color: #2196F3;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* end checkbox */

.href {
    cursor: pointer;
}

.tab-pane {
    margin-top: 10px;
}

.input-group .btn {
    margin: 0;
}

/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */

input[type=number] {
    -moz-appearance: textfield;
}

.pac-container {
    z-index: 10000 !important;
    /*FIX BUG GOOGLE FOR MODAL*/
}

.swal2-content input.qty {
    position: relative;
    top: 2px;
    width: 3em;
    height: 2em;
    margin-right: 8px;
}

.swal2-content label.label-qty {
    margin-right: 8px;
}

/*.swal2-content button.plus {
    width: 3em;
    height: 2em;
}

.swal2-content button.minus {
    width: 3em;
    height: 2em;
}*/

.sidebar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.sidebar::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #949494;
    border: 0px none #ffffff;
    border-radius: 50px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #787878;
}

.sidebar::-webkit-scrollbar-thumb:active {
    background: #454545;
}

.sidebar::-webkit-scrollbar-track {
    background: #e0e0e0;
    border: 0px none #ffffff;
    border-radius: 50px;
}

.sidebar::-webkit-scrollbar-track:hover {
    background: #e0e0e0;
}

.sidebar::-webkit-scrollbar-track:active {
    background: #e0e0e0;
}

.sidebar::-webkit-scrollbar-corner {
    background: transparent;
}

#video {
    border: 2px solid #212121;
    max-width: 100%;
    height: auto;
}

.title-swal-custom {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.supercontainer {
    margin-top: 17px;
    border-top: 1px solid;
    padding-top: 8px;
}

.qty.swal2-input {
    margin-top: 6px;
    margin-bottom: 6px;
}

.qty.form-control {
    width: 3em;
}

.alert {
    text-align: initial;
}

.brand-link {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.brand {
    width: 200px;
}

/* Custom Font */

@font-face {
    font-family: "font-sagra";
    src: url("../media/custom-font.ttf");
}

.custom-font {
    font-family: "font-sagra";
}

a.custom-font {
    font-size: 60px;
    letter-spacing: 5px;
}

span.custom-font {
    font-size: 32px;
    letter-spacing: 5px;
}

.custom-accesso-rapido {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.custom-accesso-rapido .small-box {
    width: 300px;
    height: 100px;
    margin: 30px;
}

.custom-accesso-rapido .inner p {
    font-size: 20px;
}

/*modal*/

.modal-xxl {
    max-width: 1000px;
}

i.corner-down-right {
    background-image: url(../media/svg/corner-down-right.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: 100px;
    background-repeat: no-repeat;
    background-size: auto;
}

i.sumup-icon {
    background-image: url(../media/icon/Sumup_icon.svg);
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px;
    background-repeat: no-repeat;
}

.custom-checkbox-flex-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.custom-checkbox-flex-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.overflow-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.overflow-hide {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.form-group.inline {
    margin-bottom: 0;
    margin-right: 0.6rem;
}

input.inline[type=checkbox] {
    display: inline-block;
}

label.inline {
    position: relative;
    top: -0.2rem;
    margin-left: 0.1rem;
    display: inline;
}

.inline-block {
    display: inline-block;
}

.swal2-actions>button {
    margin: 0px 0.5rem;
}

.nowidth {
    width: fit-content;
}

.ordine-body {
    font-family: monospace;
}

/*LOADER*/

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

.lds-roller {
    margin-left: 50%;
    transform: translateX(-40px);
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.backpanel {
    position: fixed;
    z-index: 9999;
    background-color: #000000ad;
    width: 100%;
    height: 100%;
}

.loader-text {
    text-align: center;
    color: #ffffff;
    width: 100%;
}

/*END LOADER*/

/*SLIDER*/

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* END SLIDER */


.sidebar-padding-b {
    padding-bottom: 50px;
}

.btn-lg.swal2-styled {
    padding: 0.7rem 1.7rem;
}

.modal-dialog.modal-numeric {
    max-width: 320px;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: scroll;
    max-height: calc(100vh - 250px);
}