@font-face {
    font-family: 'Gilroy Regular';
    src: local('Gilroy Regular'), url("assets/fonts/Gilroy/Gilroy-Light.otf"), url("assets/fonts/Gilroy/Gilroy-Light.eot");
}

@font-face {
    font-family: 'Gilroy Bold';
    src: local('Gilroy Bold'), url("assets/fonts/Gilroy/Gilroy-ExtraBold.otf"), url("assets/fonts/Gilroy/Gilroy-ExtraBold.eot");
}

@font-face {font-family: "SF Pro Text"; 
    src: url("//db.onlinewebfonts.com/t/1c45e28f8e86cc89876f003b953cc3e9.eot"); 
    src: url("//db.onlinewebfonts.com/t/1c45e28f8e86cc89876f003b953cc3e9.eot?#iefix") format("embedded-opentype"), url("//db.onlinewebfonts.com/t/1c45e28f8e86cc89876f003b953cc3e9.woff2") format("woff2"), url("//db.onlinewebfonts.com/t/1c45e28f8e86cc89876f003b953cc3e9.woff") format("woff"), url("//db.onlinewebfonts.com/t/1c45e28f8e86cc89876f003b953cc3e9.ttf") format("truetype"), url("//db.onlinewebfonts.com/t/1c45e28f8e86cc89876f003b953cc3e9.svg#SF Pro Text") format("svg"); 
}

.back-yellow {
    background-color: yellow !important;
    color: black !important;
}

.icone i, 
.icone img {
  display: block;
}

.testo {
  font-size: 14px;
  line-height: 1.3;
}

.button-elimina-pdf {
    z-index: 10000000;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -6px;
    right: 2px;
}

.class-assegnati {
    color: red;
    border-radius: 10px;
    border: #ff0000 solid 1px;
    padding: 6px;
}

.back-green {
    background-color: aquamarine;
}

.notification .badge {
    position: absolute;
    top: -8px;
    padding: 5px 7px;
    border-radius: 50%;
    background: red;
    color: white;
}

#eventi-assegnati-maps-link {
    color: orange;
    text-decoration : underline;
}

.btn-immagini {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#officina-choice-page .btn {
    font-size: 18px;
}

#profile-card {
    height: 500px;
    overflow-y: scroll;
}

:root {
    --main-contrast-color: white;
    --block-bg-color: white;
    --accent-bg-color: linear-gradient(180deg, #FE7C2D 0%, #A2125A 100%);
    --pink: #8C0049;
    --lightgray-text: #D1D1D1;
    --darkgray-text: #525251;
    --ultralightgray-text: #E7E7E7;
    --ultralightgray-bg: #D1D1D1;
    --shadow-color: #00000029;
    --shadow-dark-color: #0000008c;
    --shadow-light-color: #ffffff9a;
    --ones-bg-color: linear-gradient(180deg, #000 3%, #000 3%, #FE7C2D 45%, #A2125A 100%);
    --main-bg-color: linear-gradient(180deg, #FE7C2D 0%, #A2125A 100%);/*linear-gradient(180deg, #000 3%, #000 3%, #FE7C2D 45%, #A2125A 100%)*/
    --btn-bg-color: transparent linear-gradient(161deg, #FE7C2D 0%, #A2125A 100%) 0% 0% no-repeat padding-box;
    --red: #D01414;
    --green: #229801;
    --green-light: #b5ffba;
    --yellow: #FDCC33;
    --yellow-light: #e8eb98;
}

.fw-bold {
    font-weight: bold;
}

.bg-primary-gradient {
    background: var(--main-bg-color);
}

.bg-ones-gradient {
    background: var(--ones-bg-color);
}

[class^="icon-"].active:before, [class*=" icon-"].bg-gradient:before, .nav-item i {
    filter: drop-shadow(0px 0px 6px white);
}
  
[class^="icon-"].bg-gradient:before, [class*=" icon-"].bg-gradient:before, .nav-item i {
    background: transparent linear-gradient(135deg, #EC660B 0%, #8C0049 100%) 0% 0% no-repeat padding-box;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
  
[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "webapp_icons";
    font-style: normal;
    font-weight: normal;
    speak: never;
   
    display: inline-block;
    text-decoration: inherit;
    width: auto;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
   
    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;
   
    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;
   
    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */
   
    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
   
    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    transition: all 300ms ease-in-out;
}

html, body {
    margin: 0px;
    /* font-family: 'Roboto', sans-serif; */
    font-family: 'Gilroy Regular', sans-serif;
    width: 100%;
    height: 100%;
}

body {
    background: var(--main-bg-color);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    /* overflow: hidden; */
    font-size: 14px;
}

.cassetteRealtimeListCloseButton {
    color: red;
    font-weight: bold;
}

.divider {
    width: 100%;
    border-bottom: 1px solid var(--lightgray-text);
}

.text-list {
    color: var(--darkgray-text);
    list-style: none;
    display: inline;
}

ul.text-list > li {
    margin: 10px 0px 15px 0px;
}

.text-list li.secondary {
    list-style: none;
    color: var(--lightgray-text);
    margin-left: 10px;
    font-size: 14px;
    font-weight: 100;
}

.content {
    box-sizing: border-box;
    width: 100%;
    padding: 0px 10px;
    /* top: 60px;
    position: fixed; */
}

#alert {
    position: fixed;
    padding: 10px;
    box-sizing: border-box;
    color: var(--darkgray-text);
    transition: all 300ms ease-in-out;
    z-index: 100;
    pointer-events: none;
}

.alert-popup {
    position: relative;
    width: 70%;
    padding: 10px;
    box-sizing: border-box;
    color: var(--darkgray-text);
    border-radius: 50px;
    margin: 15px 15% 0px;
    box-shadow: 2px 2px 5px var(--shadow-color);
    transform: scale(0);
    transition: all 300ms ease-in-out;
    z-index: 100;
}

#light-page.show .alert-popup {
    transform: scale(1);
}

#confirm-page.show .alert-popup {
    transform: scale(1);
}

#sidebar {
    position: fixed;
    top: 0px;
    background-color: var(--main-contrast-color);
    z-index: 10;
    right: 0px;
    height: 100%;
    height: -webkit-fill-available;
    transform: translate(100%);
    transition: all 300ms ease-in-out;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}

#sidebar.show {
    transform: translate(0%);
}

#side-topbar {
    position: unset;
    top: 0px;
}

#sidebar .content {
    position: unset;
}

.pill {
    background-color: var(--ultralightgray-bg);
    color: var(--darkgray-text);
    border-radius: 20px;
    display: inline-block;
    padding: 5px 12px;
    margin: 0px 5px 7px 0px;
}

#light-page {
    position: fixed;
    top: 0px;
    width: 100%;
    background-color: var(--shadow-light-color);
    height: 100%;
    height: -webkit-fill-available;
    pointer-events: none;
    z-index: 1000000;
}

#light-page.show {
    pointer-events: all;
}

#confirm-page {
    position: fixed;
    top: 0px;
    width: 100%;
    background-color: var(--shadow-light-color);
    height: 100%;
    height: -webkit-fill-available;
    pointer-events: none;
    z-index: 1000000;
}

#confirm-page.show {
    pointer-events: all;
}

#dark-page, #second-choice-page, #close-event-choice-page, #choice-chiusura-evento, #cassette-list-page, #del-cassette-confirm {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100%;
    height: -webkit-fill-available;
    transition: all 300ms ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

#dark-page {
    background-color: var(--shadow-color);
}

#second-choice-page, #close-event-choice-page, #choice-chiusura-evento, #cassette-list-page, #del-cassette-confirm {
    background-color: var(--shadow-dark-color);
}

#dark-page.show, #second-choice-page.show, #close-event-choice-page.show, #choice-chiusura-evento.show, #cassette-list-page.show, #del-cassette-confirm.show {
    opacity: 1;
    pointer-events: all;
}

#page {
    flex-shrink: 0;
    display: flex;
}

/* PROPERTIES */

.fill {
    width: 100%;
}

.text-capitalize-first::first-letter {
    text-transform: uppercase;
}

.v-align-middle {
    vertical-align: middle;
}

.break-spaces {
    white-space: break-spaces !important;
}

.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.halfturn {
    transform: rotateZ(180deg);
}

.quarterturn {
    transform: rotate(90deg);
}

.hidden-icon {
    color:  transparent;
}

.superlittleicon > [class^="icon-"]:before,[class^="icon-"].superlittleicon:before {
    font-size: 12px;
}

.littleicon > [class^="icon-"]:before,[class^="icon-"].littleicon:before {
    font-size: 15px;
}

.smallicon > [class^="icon-"]:before,[class^="icon-"].smallicon:before {
    font-size: 20px;
}

.normalicon > [class^="icon-"]:before,[class^="icon-"].normalicon:before {
    font-size: 24px;
}

.bigicon > [class^="icon-"]:before,[class^="icon-"].bigicon:before {
    font-size: 35px;
}

.megabigicon > [class^="icon-"]:before,[class^="icon-"].megabigicon:before {
    font-size: 60px;
}

.supermegabigicon > [class^="icon-"]:before,[class^="icon-"].supermegabigicon:before {
    font-size: 90px;
}

.supermegabiggericon > [class^="icon-"]:before,[class^="icon-"].supermegabiggericon:before {
    font-size: 135px;
}

.icon-le-mie-macchine:before {
    margin-right: 0px;
}

.icon-text-le-mie-macchine:before {
    margin: 0px;
}

[class^="icon-"].text-success {
    color: var(--success);
}

[class^="icon-"].text-danger {
    color: var(--danger);
}

[class^="icon-"].text-warning {
    color: var(--warning);
}

/* NAVBAR */

#navbar {
    box-sizing: border-box;
}

.nav-item > div{
    transition: all 300ms ease-in-out;
    background-color: #E8E8E8;
}

.nav-item.active > div{
    background: var(--main-bg-color);
}

.nav-item.active i:before {
    color: var(--white) !important;
    background: none;
    -webkit-text-fill-color: white;
}

.nav-item.active i {
    color: var(--white) !important;
    background: none;
    -webkit-text-fill-color: white;
}


/* BARS */

.bar {
    padding: 10px 15px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 18px;
    background-color: var(--main-bg-color);
    color: var(--main-contrast-color);
    min-height: 50px;
}

#topbar {
    position: sticky;
    top: 0px;
    z-index: 1;
}

#bottombar i {
    cursor: pointer;
}

@media (max-width: 767.98px) {
    #bottombar {
        position: relative;
        bottom: 0px;
        width: 100% !important;
    }
    
    #cart-count-container {
        margin-right: -20px;
    }

    #sidebar {
        width: 100%;
    }
}


@media (min-width: 768px) {
    #bottombar {
        position: relative;
        left: 0px;
        top: 0px;
        min-height: 50% !important;
        max-height: 70% !important;
    }
    
    #cart-count-container {
        right: 0px;
    }

    #sidebar {
        width: 40%;
    }
}

.card {
    width: 85%;
    max-width: 400px;
}

.card .bigtitle {
    color: var(--main-bg-color);
    font-size: 25px;
}

.card .title {
    color: var(--darkgray-text);
    font-size: 21px;
}

.card .icon-title {
    color: var(--main-bg-color);
}

.card .little-title {
    color: var(--main-bg-color);
    font-size: 18px;
}

.alert {
    color: var(--red);
    font-size: 12px;
    font-weight: normal;
    text-transform: none;
}

[class^="filled"] {
    font-size: 12px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    font-weight: normal;
    text-transform: none;
    border-radius: 0px 10px 10px 10px;
    padding: 2px 7px;
    bottom: 0px;
    left: 0px;
    max-width: 100%;
}

.filled-alert {
    background-color: var(--red);
    color: var(--main-contrast-color);
}

.filled-accent {
    background-color: var(--accent-bg-color);
    color: var(--main-contrast-color);
}

input:active, .card input:focus {
    outline: none;
    border-bottom: 1px solid var(--main-bg-color);
}

.form-control {
    padding: 5px;
    margin: 5px 0px;
}

textarea {
    font-family: inherit;
    border: none;
    border: 1px solid var(--lightgray-text);
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

input {
    border: none;
    border-bottom: 1px solid var(--lightgray-text);
    width: 100%;
    font-size: 17px;
    font-family: inherit;
    transition: all 300ms ease-in-out;
}

.in-edit input {
    width: 80%;
}

input.input-btn {
    border: none;
    box-shadow: 2px 2px 5px var(--shadow-color);
    padding: 10px 10px;
    box-sizing: border-box;
    border-radius: 3px;
}

input.invalid{
    /* 2 animations: shake, and glow red */
    border-color: indianred;
    animation-name: shake;
    animation-duration: 0.7s;
    animation-iteration-count: 1;
  }

@keyframes shake {
    0%, 20%, 40%, 60%, 80% {
        transform: translateX(8px);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-8px);
    }
}

.card select {
    padding: 10px 5px;
    box-sizing: border-box;
    border: none;
    box-shadow: 2px 2px 5px var(--shadow-color);
    color: var(--darkgray-text);
    font-size: 16px;
    border-radius: 3px;
    font-family: inherit;
    background-color: var(--main-contrast-color);
}

.card label {
    text-transform: capitalize;
}


.preview {
    width: 140px;
    min-width: 140px;
    margin-right: 10px;/*
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex; */
    display: inline-block;
    text-align: center;
}

.preview.supersmall {
    width: 50px;
    min-width: 50px;
}

.preview.small {
    width: 70px;
    min-width: 70px;
}

.preview img {
    max-width: 100%;
    max-height: 200px;
}


/* LISTS */

.list-item {
    /* margin-top: 49px; */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* max-height: 92%; */
    box-sizing: border-box;
    padding: 0px;
    overflow: auto;
    flex-grow: 1;
}

.list-row {
    height: auto;
    flex-shrink: 0;
}

.list-filter {
    padding: 8px 15px;
    color: var(--darkgray-text);
    border-bottom: 1px solid var(--ultralightgray-text);
}

.list-filter-child {
    padding: 8px 25px;
    color: var(--darkgray-text);
}

.list-filter-child [class^='icon'], .checkbox-man [class^='icon'] {
    color: transparent;
    transition: all 300ms ease-in-out;
}

.list-filter-child [class^='icon'].hidden-icon,.list-filter-child.selected [class^='icon'].hidden-icon {
    color: transparent;
    transition: none;
}

.list-filter-child.selected [class^='icon'],.checkbox-man.active [class^='icon'] {
    color: var(--darkgray-text);
}

.price {
    color: var(--main-bg-color);
    font-weight: bold;
    font-family: sans-serif;
}

.quantity-control {
    font-size: 17px;
}

.menu-icon {
    top: 15px;
    left: 15px;
}


.banner-count {
    top: 0%;
    left: 100%;
    transform: translate(-50%,-50%);
}

.banner-count span {
    color: var(--main-bg-color);
    left: 0px;
    font-size: 14px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}


/* BUTTONS */

label.btn-qr {
    text-transform: uppercase;
    display: inline-block;
    box-sizing: border-box;
}

button.bg-gradient {
    background: var(--btn-bg-color);
    color: var(--main-contrast-color);
}

/* button, .btn-qr {
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    box-shadow: 1px 1px 5px var(--shadow-color);
    font-size: 15px;
    font-family: inherit;
    transition: all 300ms ease-in-out;
} */

button.btn-contrast {
    color: var(--darkgray-text);
    background-color: var(--main-contrast-color);
    border: 4px solid var(--main-contrast-color);
    border-radius: 0px;
    padding: 20px 0px;
    font-size: 1.5em;
    margin: 5px 0px;
    transition: all 300ms ease-in-out;
}

.btn-contrast:active, .btn-contrast:focus {
    border: 4px solid var(--main-bg-color);
    color: var(--main-bg-color);
}

button.btn-rounded {
    background-color: var(--main-contrast-color);
    color: var(--main-bg-color);
    border-radius: 25px;
    border: 1px solid var(--main-bg-color);
    box-shadow: none;
    padding: 5px 12px;
    font-size: 13px;
}

button.btn-rounded a {
    color: var(--main-bg-color);
}

.btn-rounded:active, .btn-rounded:focus {
    color: var(--main-contrast-color);
    background-color: var(--main-bg-color);
    box-shadow: none;
    border-color: var(--main-contrast-color);
}

.btn-rounded:active a, .btn-rounded:focus a{
    color: var(--main-contrast-color);
}

/* button.fill {
    padding: 10px 6px;
} */

.btn-user {
    background-color: var(--main-contrast-color);
    color: var(--darkgray-text);
    border-radius: 0px;
    border: 2px solid var(--main-contrast-color);
}

.btn-user:active, .btn-user:focus, .btn-user.selected {
    color: var(--main-bg-color);
    box-shadow: none;
    border: 2px solid var(--main-bg-color);
}

.btn-dest {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
}

.btn-dest span {
    font-size: 1rem;
    font-weight: bold;
}

#dest-sel {
    font-style: italic; 
}

#destinazioni-list .main-list-name span {
    font-weight: bold;
}

button:disabled {
    opacity: 0.6;
}

button:focus,button:active {
    outline: none;
    box-shadow: inset 1px 1px 5px var(--shadow-color);
}

.qrcode-text-btn > input[type=submit] {
    overflow:hidden; width:1px; height:1px; opacity:0
}


#sidebar [class^="icon-right-open"] {
    transition: all 300ms ease-in-out;
}

.favourite-filling {
    left: 0px;
    transition: all 300ms ease-in-out;
    transform: scale(0);
    color: var(--pink);
}

.fill .favourite-filling {
    transform: scale(1);
}

.check-filling {
    left: 0px;
    transition: all 300ms ease-in-out;
    transform: scale(0);
    color: var(--accent-bg-color);
}

.fill .check-filling {
    transform: scale(1);
}

.close-icon {
    left: 0px;
    transition: all 300ms ease-in-out;
}

.open .close-icon {
    opacity: 0;
}

.bg-yellow{
    background-color: var(--yellow-light) !important;
}

.bg-green{
    background-color: var(--green-light) !important;
}

.little-desc{
    font-size: 12px;
}

.text-avvisi{
    font-size: 25px;
    text-align: center;
}

.lds-ellipsis {
    position: absolute;
    width: 25px;
    height: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 50%;
    left: 87%;/*50%*/
    transform: translate(-50%,-50%);
}

/* #loading {
    top: 50%;
    transform: translate(0px, -50%);
} */

.btn-immagini button {
    width: 200px;
}
.redbg-for-assistenze{
    background-color: #ff6a6af0;
}
.none-component{
    display: none !important;
}

#loading.element-active .lds-ellipsis div {
    animation-name: lds-ellipsis-end;
    animation-iteration-count: 1;
}
#loading-cogs {
    background-color: #00000069;
    z-index: 1000;
}
.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


#loading.element-active {
    animation-timing-function: ease-out;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    animation-name: logo-slide-top;
    animation-fill-mode: forwards;
}

@keyframes logo-slide-top {
    0% {
        top: initial;
        transform: translate(0px, 0px) scale(1);
    }
    20% {
        top: initial;
        transform: translate(0px, 0px) scale(1);
    }
    100% {
        top: initial;
        transform: translate(0px, -250%) scale(0.6);
    }
}

#login-card {
    position: absolute;
    opacity: 1;
    bottom: 50%;
    transform: translate(0px, 50%);
    min-width: 300px;
    max-width: 100%;
}

#login-card.element-active {   
    display: flex;
    animation-timing-function: ease-out;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    animation-name: card-slide-top;
    animation-fill-mode: forwards;
}

@keyframes card-slide-top {
    0% {
        opacity: 0;
        bottom: 0%;
        transform: translate(0px, 70%);
    }
    20% {
        opacity: 1;
        bottom: 0%;
        transform: translate(0px, 70%);
    }
    100% {
        opacity: 1;
        bottom: 50%;
        transform: translate(0px, 50%);
    }
}

.element-fade-out {
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-name: element-fadeout;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

@keyframes element-fadeout {
    0% {
        opacity: 1;
        transform: translate(0px,0px);
    }
    20% {
        opacity: 1;
        transform: translate(0px,0px);
    }
    90% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: translate(0px,-50%);
    }
}

.lds-ellipsis div {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(1, 0, 0, 1);
    animation-duration: 0.6s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: all 300ms cubic-bezier(1, 0, 0, 1);
    animation-fill-mode: forwards;
}

/*animation: name duration timing-function delay iteration-count direction fill-mode play-state;*/
.lds-ellipsis div:nth-child(1) {
    left: 0px;
    animation-name: lds-ellipsis1;
}
.lds-ellipsis div:nth-child(2) {
    opacity: 0.25;
    width: 4px;
    height: 4px;
    animation-name: lds-ellipsis2;
}

.lds-ellipsis div:nth-child(3) {
    width: 3px;
    height: 3px;
    opacity: 0.25;
    animation-name: lds-ellipsis3;
}
  @keyframes lds-ellipsis1 {
    0% {
        width: 7px;
        height: 7px;
        opacity: 1;
    }
    50% {
        width: 4px;
        height: 4px;
        opacity: 0.25;
    }
    100% {
        width: 3px;
        height: 3px;
        opacity: 0.25;
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
        width: 4px;
        height: 4px;
        opacity: 0.25;
    }
    50% {
        width: 7px;
        height: 7px;
        opacity: 1;
    }
    100% {
        width: 3px;
        height: 3px;
        opacity: 0.25;
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
        width: 3px;
        height: 3px;
        opacity: 0.25;
    }
    50% {
        width: 4px;
        height: 4px;
        opacity: 0.25;
    }
    100% {
        width: 7px;
        height: 7px;
        opacity: 1;
    }
  }
  @keyframes lds-ellipsis-end {
    0% {}
    100% {
        width: 7px;
        height: 7px;
        opacity: 1;
    }
  }

  #logo-row {
    position: relative;
    transform-origin: top;
    transform: scale(1.5) translate(0px,50%);
  }

  .js-set-max-height {
      overflow: auto;
      padding-top: 1rem;
      padding-bottom: 1rem;
      min-height: 150px;
  }

  
  .before-js-max-height::after {
    content: '';
    width: 100%;
    height: 2rem;
    left: 0px;
    bottom: -2rem;
    position: absolute;
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%);
    z-index: 100;
    pointer-events: none;
}

  .after-js-max-height::before {
    content: '';
    width: 100%;
    height: 2rem;
    left: 0px;
    top: -2rem;
    position: absolute;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%);
    z-index: 100;
    pointer-events: none;
}

.icon-cancel-1:before {font-weight:bold !important;}
.icon-camera:before {margin-left: -3px !important;margin-right:0px !important;}
.icon-carrello:before {margin-left: 0px !important;}

.to-open,.all-transition {
    transition: all 300ms ease-in-out;
}

.indicator {
    width: 8px;
    height: 8px;
    box-shadow: 0px 3px 6px #00000029;
}

.indicator.active {
    width: 12px;
    height: 12px;
}

#cart-count-container {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    font-size: 11px;
    top: -4px;
    line-height: 1;
}
/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */
@media (min-width: 1000px) {
    #timeline .demo-card:nth-child(odd) .head::after, #timeline .demo-card:nth-child(even) .head::after {
      position: absolute;
      content: "";
      width: 0;
      height: 0;
      border-top: 15px solid transparent !important;
      border-bottom: 15px solid transparent !important;
    }
    #timeline .demo-card:nth-child(odd) .head::before, #timeline .demo-card:nth-child(even) .head::before {
      position: absolute;
      content: "";
      width: 9px;
      height: 9px;
      background-color: #bdbdbd;
      border-radius: 9px;
      box-shadow: 0px 0px 2px 8px #f7f7f7;
    }
  }
  /* Some Cool Stuff */
  .demo-card:nth-child(1) {
    order: 1;
  }
  .demo-card:nth-child(2) {
    order: 4;
  }
  .demo-card:nth-child(3) {
    order: 2;
  }
  .demo-card:nth-child(4) {
    order: 5;
  }
  .demo-card:nth-child(5) {
    order: 3;
  }
  .demo-card:nth-child(6) {
    order: 6;
  }
  /* Border Box */
  * {
    box-sizing: border-box;
  }
  #timeline {
    padding: 30px 0;
  }
  #timeline h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 20px;
  }
  #timeline p.leader {
    text-align: center;
    max-width: 90%;
    margin: auto;
    margin-bottom: 45px;
  }
  #timeline .demo-card-wrapper {
    position: relative;
    margin: auto;
  }
  @media (min-width: 1000px) {
    #timeline .demo-card-wrapper {
      width: 870px;
      margin: 0 auto;
      padding-top: 115px;
    }
  }
  #timeline .demo-card-wrapper::after {
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 4px solid #dddddd;
  }
  @media (min-width: 1000px) {
    #timeline .demo-card-wrapper::after {
      border-left: 1px solid #bdbdbd;
    }
  }
  #timeline .demo-card {
    position: relative;
    display: block;
    margin: 10px auto 80px;
    max-width: 94%;
    z-index: 2;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  @media (min-width: 480px) {
    #timeline .demo-card {
      max-width: 60%;
      box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.2);
    }
  }
  @media (min-width: 720px) {
    #timeline .demo-card {
      max-width: 40%;
    }
  }
  @media (min-width: 1000px) {
    #timeline .demo-card {
      max-width: 350px;
      min-height: 200px;
      margin: -100px 45px 45px 45px;
    }
    #timeline .demo-card:nth-child(odd) {
      margin-right: 45px;
     }
    #timeline .demo-card:nth-child(odd) .head::after {
      border-left-width: 15px;
      border-left-style: solid;
      left: 100%;
    }
    #timeline .demo-card:nth-child(odd) .head::before {
      left: 385px;
    }
    #timeline .demo-card:nth-child(even) {
      margin-left: 475px;
    }
    #timeline .demo-card:nth-child(even) .head::after {
      border-right-width: 15px;
      border-right-style: solid;
      right: 100%;
    }
    #timeline .demo-card:nth-child(even) .head::before {
      right: 385px;
    }
    #timeline .demo-card:nth-child(2) {
      margin-top: -50px;
    }
  }
  #timeline .demo-card .head {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 400;
  }
  #timeline .demo-card .head .number-box {
    display: inline;
    float: left;
    margin: 15px;
    padding: 10px;
    font-size: 35px;
    line-height: 35px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.17);
  }
  #timeline .demo-card .head h2 {
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: inherit;
    letter-spacing: 2px;
    margin: 0;
    padding: 6px;
  }
  @media (min-width: 480px) {
    #timeline .demo-card .head h2 {
      font-size: 165%;
    }
  }
  #timeline .demo-card .head h2 span {
    display: block;
    font-size: 0.6rem;
    margin: 0;
  }
  @media (min-width: 480px) {
    #timeline .demo-card .head h2 span {
      font-size: 0.8rem;
    }
  }
  #timeline .demo-card .body {
    background: #fff;
    border: 1px solid rgba(191, 191, 191, 0.4);
    border-top: 0;
    padding: 15px;
  }
  @media (min-width: 1000px) {
    #timeline .demo-card .body {
      min-height: 115px;
    }
  }
  #timeline .demo-card .body p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px;
  }
  #timeline .demo-card .body img {
    display: block;
    width: 100%;
  }

#timeline .demo-card-terminato {
background-color: #EBD7CD;
}
#timeline .demo-card-terminato .head {
background-color: #EBD7CD;
}
#timeline .demo-card-terminato .head::after {
border-color: #EBD7CD;
}

#timeline .demo-card-terminato.interna {
background-color: #6e71ff;
}
#timeline .demo-card-terminato.interna .head  {
background-color: #6e71ff;
}
#timeline .demo-card-terminato.interna .head::after {
border-color: #6e71ff;
}

  #timeline .demo-card-terminato .body {
    color: #EBD7CD;
  }


#timeline .demo-card-da_eseguire {
    background-color: #A2125A;
}
#timeline .demo-card-da_eseguire .head::after {
    border-color: #A2125A;
}

#timeline .demo-card-da_eseguire.interna {
    background-color: #0100ff;
}
#timeline .demo-card-da_eseguire.interna .head::after {
    border-color: #0100ff;
}

#localita_pianificazione .row {
    margin-top: 5px;
    border-bottom: 1px dotted #dddddd;
}

.rotate {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

/* #table_dati_manut th {
    padding: 5px;
    border-left: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
    font-weight: bold;
    color: #ec660c;
}

#table_dati_manut td {
    padding: 5px;
    border-left: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
}

#table_dati_manut table {
    border-right: 1px dotted #ccc;
    border-top: 1px dotted #ccc;
} */


.rowmanut {
    padding: 20px 0;
    border-bottom: 1px dotted #ddd;
}

.first-timeline {
    border-bottom: 1px dotted #ddd;
    margin-bottom: 8px;
    padding-bottom: 4px;
}

#table_dati_manut .row {
    margin: 2px 0;
}

.ora-timeline {
    border: 1px dotted #ddd;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: orange;
    color: #fff;
    font-weight: bold;
    padding: 5px 0;
}
  
@media (min-width: 768px) {
    #order-just-sent {
        margin-left: -3rem !important;
    }
}

@media (max-width: 768px) {
    #main-list .d-flex {
        display: block !important;
    }

    #main-list .preview {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }

    #main-list .normalicon i {
        text-align: right;
        margin-top: 15px;
    }
}

.delete-button::before {
    content: 'x';
    position: absolute;
    width: 20px;
    height: 20px;
    right: 2px;
    background-color: var(--primary);
    top: -6px;
    z-index: 10;
    display: block;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 13px;
}

.idPos {
    margin-top: 4px;
    float: left;
    margin-right: 10px;
}

.ricambi {
    border-left: 1px solid #000;
    border-top: 1px solid #000;
}

.ricambi td, .ricambi th {
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 8px;
}

.ricambi th {
    font-weight: bold;
}



/* The Modal (background) */
#modal-img-zoom {
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    overflow: auto !important;
}

/* Modal Content (Image) */
.modal-content-img-zoom {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 0px;
}

/* Add Animation - Zoom in the Modal */
.modal-content-img-zoom {
    animation-name: zoom;
    animation-duration: 0.3s;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close-img-zoom {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-img-zoom:hover,
.close-img-zoom:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content-img-zoom {
        width: 90%;
    }
}

.demo-card-da_eseguire i.areamanut-macchina-cliente {
    font-weight: bold;
    color: darkblue;
    display: block;
    padding-top: 10px;
}

.demo-card-terminato i.areamanut-macchina-cliente {
    font-weight: bold;
    color: rgb(210, 210, 252);
    display: block;
    padding-top: 10px;
}
.red {
    color: #dc3545;
}

#officina-stato-select option:disabled {
    background-color: #d2d2d2;
}

input#event_cod,input#collaudo_cod, #id_macchina_alt {
    font-size: 2em;
    text-align: center;
}

input#event_cod:focus,input#collaudo_cod:focus {
    outline: none;
}

.field-icon {
    right: 10px;
    top: 50%;
    position: absolute;
    z-index: 2;
    transform: translate(0px, -50%);
}

.dato-riepilogo {
    margin-bottom: 10px;
    text-align: left;
}

#login_form .form-control {
    font-size: 17px;
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

#officina_form, #collaudo_form{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#accesso_rapido_form {
    display: flex;
    align-items: center;
}

#cassetteNecessarieTitle {
    text-align: center;
}

.border-non-evaso{
    border-left: .5rem solid orange
}

.border-parz-evaso{
    border-left: .5rem solid yellow
}

.border-evaso{
border-left: .5rem solid green
}

.brick-non-evaso{
    background-color: orange;
    padding: .1rem 1rem;
    border: 1px solid black;
}
.brick-parz-evaso{
    background-color: yellow;
    padding: .1rem 1rem;
    border: 1px solid black;
}

.brick-evaso{
    background-color: green;
    padding: .1rem 1rem;
    border: 1px solid black;
}

#waitarea {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 10000;
    opacity: 0.8;
    background-image: url('../images/loader.gif');
    background-position: center center;
    background-repeat: no-repeat;
    display: none;
}