.preloader, .loader {
    position: fixed;
    z-index: 9999;
    background: white;
    width: 100%;
    height: 100%;
    top: 0;
    overflow: hidden;
}

.loader {
    opacity: 0.8;
}

.overflow {
    overflow-y: auto;
}

.loader>div {
    top: calc(50% - 60px);
    left: 50%;
    position: absolute;
}

.loader-center {
    width: 100px;
    height: 100px;
}

.loader-center>img {
    width: 100%;
    height: 100%;
}

.preloader-spinner>svg {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(1);
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

.stroke-still {
    stroke: #232323;
}

.stroke-animation {
    -webkit-animation: stroke-spacing 1.2s ease-in, stroke-color 4.8s linear;
    animation: stroke-spacing 1.2s ease-in, stroke-color 4.8s linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-delay: 0;
    animation-delay: 0;
    -webkit-animation-direction: normal;
    animation-direction: normal;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-play-state: running;
    animation-play-state: running;
    -webkit-transform-origin: center center;
    transform-origin: center center;
}

@-webkit-keyframes stroke-spacing {
    0% {
        stroke-dasharray: 0 200;
    }

    45% {
        stroke-dashoffset: 0;
        stroke-dasharray: 200 200;
    }

    90% {
        stroke-dashoffset: -200;
        stroke-dasharray: 200 200;
    }

    100% {
        stroke-dashoffset: -200;
        stroke-dasharray: 200 200;
    }
}

@keyframes stroke-spacing {
    0% {
        stroke-dasharray: 0 200;
    }

    45% {
        stroke-dashoffset: 0;
        stroke-dasharray: 200 200;
    }

    90% {
        stroke-dashoffset: -200;
        stroke-dasharray: 200 200;
    }

    100% {
        stroke-dashoffset: -200;
        stroke-dasharray: 200 200;
    }
}

@keyframes stroke-color {
    0% {
        stroke: #3498DB;
    }

    24% {
        stroke: #a72323;
    }

    25% {
        stroke: #d3b21e;
    }

    49% {
        stroke: #3498DB;
    }

    50% {
        stroke: #a72323;
    }

    74% {
        stroke: #d3b21e;
    }

    75% {
        stroke: #3498DB;
    }

    99% {
        stroke: #a72323;
    }
}

@keyframes stroke-color {
    0% {
        stroke: #3498DB;
    }

    24% {
        stroke: #a72323;
    }

    25% {
        stroke: #d3b21e;
    }

    49% {
        stroke: #3498DB;
    }

    50% {
        stroke: #a72323;
    }

    74% {
        stroke: #d3b21e;
    }

    75% {
        stroke: #3498DB;
    }

    99% {
        stroke: #a72323;
    }
}

.form-control.inline {
    display: inline-block;
    margin: 10px 2px;
}

.inline {
    display: inline;
}

@media only screen and (min-width: 768px) {
    .dt-buttons {
        top: 35px;
    }
}

html {
    scroll-behavior: smooth;
}

/*.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 {
    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] {
    width: 20px;
    height: 20px;
}

input[type="radio"] {
    cursor: pointer;
}

input[type="checkbox"]:focus {
    outline: 0;
}

input[type=checkbox] {
    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 {
    width: 20px;
    height: 20px;
    background-color: #cecece;
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 0.1rem;
    cursor: pointer;
}

input[type=checkbox]:checked {
    width: 20px;
    height: 20px;
    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;
    margin-top: 0.1rem;
}

/* 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;
}