/* Machine CSS */

.machine-photo {
  border: solid 1px #555555;
  border-radius: 10px;
}

.machine-photo-img {
  object-fit: contain;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  max-height: 230px !important;
  min-height: 230px;
}

.payment-logo-img {
    object-fit: contain;
    height: 100px;
    width: 100px;
    border-radius: 10px;
    max-height: 100px !important;
    min-height: 100px;
}

.photo-hovered {
  height: 90px !important;
  max-width: 100px !important;
}

.machine-list-thumbnail {
  object-fit: cover;
  height: 40px;
  max-width: 40px;
}

.today-route-row {
  background-color: lightgray;
}

.today-route-row #label {
  color: darkgray;
}

.today-route-row-active {
  background-color: white;
}

.today-route-row-active #label {
  color: black;
}

.today-route ul[dnd-list] .dndDraggingSource {
  display: none;
}

.today-route ul[dnd-list] .dndPlaceholder {
  background-color: #ddd;
  display: block;
  min-height: 42px;
}

/* my tickets */

.mis-tickets {
  align-items: center;
  display: flex;
  margin: 20px;
}

.mis-tickets h2 {
  margin: 0;
}

.mis-tickets span {
  font-size: 2em;
  margin-left: 10px;
  cursor: pointer;
}

.container-button{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container-button>div>img{
  width: 100%;
  margin-top: 20px;
  margin-bottom: 30px;
}

.product-grid-name {
  width: 100%;
  margin-top: 10px;
  white-space: normal;
  text-align: center;
  font-weight: bold;
  justify-content: center;
  line-height: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;      
  text-overflow: ellipsis;   
}

.product-container {
  border: solid 1px #e8e8e8;
  background-color: #ffffff;
  border-radius: 3px;
  padding: 1px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-grid-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-grid-numbers-row {
  border-top: 1px solid black;
  background-color: #e6e6e6;
  display: flex;
  justify-content: space-between;
  padding: 5px;
  width: 100%;
  margin-top: auto;
}

.arrows-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s;
  padding: 0 5px;
  pointer-events: none;
}

.row-actions-container {
  float: left;
}

@media only screen and (min-width: 768px) {
  .container-names>a{
    width: 10%;
  }
  .container-button>div{
    width: 100px;
  }
  .machine-at-locations-create-button {
    margin-top: 24px;
  }
  .traccar-content {
    position: absolute;
    height: 80%;
    width: 100%;
  }
  .client_logo {
    margin-left: 30px;
  }
  .extra-large-modal .modal-dialog {
    width: 1150px;
  }
  .user-data .dl-horizontal-wide dt {
    width: 160px;
  }
  .user-data .dl-horizontal-wide dd {
    margin-left: 180px;
  }
  .login-box {
    background-color: #ffffffed;
    border-radius: 10px;
    box-shadow: 0px 4px 10px #00000066;
    margin-top: 15%;
  }
  .btn-stock-column {
    width: 5%;
    padding: 0;
    height: 40px;
    padding-top: 1%;
  }
  .product-grid-icon {
    display: none;
  }

  .product-grid-name {
    font-size: 15px;
    margin-bottom: 5px;
    min-height: 40px;
  }

  .product-container {
    height: 190px;
  }

  .product-grid-img-container {
    height: 80px;
    max-height: 80px;
  }
  
  .product-grid-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .product-grid-reference {
    text-align: center;
    padding: 2px 0;
    font-weight: bold;
  }

  .product-grid-numbers-row {
    height: 31px;
  }

  .product-grid-number {
    font-weight: bold;
    font-size: 14px;
  }
  
  .none-product-minus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
  }
  .stock-row-container {
    position: relative;
  }
  .row-actions-container {
    position: absolute;
    left: -10%;
    top: 30%;
    padding: 1%;
    max-width: 95px;
    background-color: #e8fcff;
    border: solid 2px #e6e6e6;
  }
  .row-action {
    width: 100%;
    margin: 3%;
  }
  .grid-container {
    position: relative;
  }
  .dropdown-button {
    display: inline;
    position: absolute;
    right: 0;
    margin: 5px;
    padding: 2%;
    width: 20px;
    color: black;
    z-index: 5;
  }
  .dropdown-options {
    display: inline-block !important;
    margin-top: 30px;
  }
  .dropdown-menu-button{
    cursor: default;
  }

  .background-machine-image {
    position: fixed;
    width: 20%;
    height: 60%;
    right: 25px;
    bottom: 25px;
    z-index: 10;
    border: 3px solid #9e9e9e;
    border-radius: 10px;
    box-shadow: #000000 2px 2px 11px 0px;
  }
  .large-mt-15 {
    margin-top: 1.5em;
  }
}

.product-grid-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  .container-button>div{
    width: 45px;
    min-width: 45px;
  }
  .traccar-content {
    position: absolute;
    height: 88%;
    width: 100%;
  }
  .traccar-map-title {
    display: none;
  }
  .client_logo {
    margin: 30px 0;
  }
  .login-box {
    background-color: #ffffffed;
    border-radius: 10px;
    box-shadow: 0px 4px 10px #00000066;
    margin-top: 8%;
  }
  .btn-stock-column {
    width: 10%;
    padding: 0;
    height: 40px;
    padding-top: 1%;
  }

  .product-grid-name {
    font-size: 13px;
    margin-bottom: 5px;
    min-height: 35px;
  }

  .product-container {
    height: 160px;
  }

  .product-grid-img-container {
    height: 60px;
    max-height: 60px;
  }
  
  .product-grid-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .product-grid-reference {
    text-align: center;
    padding: 2px 0;
    font-weight: bold;
    font-size: 12px;
  }

  .product-grid-numbers-row {
    height: 28px;
  }

  .product-grid-number {
    font-weight: bold;
    font-size: 12px;
  }

  .grid-container {
    width: 50% !important;
    padding: 5px;
    display: inline-block;
  }

  .stock-row {
    display: flex;
    flex-wrap: wrap;
  }

  .row-action {
    width: auto;
    margin: 0 5px;
  }

  .product-container:hover .arrows-container {
    opacity: 1;
  }
 
  .dropdown-button {
    display: inline;
    position: absolute;
    right: 0;
    margin: 5px;
    padding: 2%;
    width: 20px;
    color: black;
    z-index: 5;
  }

  .dropdown-options {
    display: inline-block !important;
    margin-top: 30px;
  }

  .stock-grid-background {
    margin-bottom: 15px;
  }

  .background-machine-image {
    display: none;
  }

  .product-grid-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .none-product-minus {
    font-size: 20px;
  }
}

.navbar-nav>li>a>p {
  display: none;
}

.navbar-nav>li>a:hover>p {
  display: inline;
}

.alert-box {
  width: 500px;
  right: -107px;
  z-index: 5;
  background: white;
  border: lightgray 1px solid;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 5px 8px 0px #888888;
  top: 65px;
  font-size: 11px;
  line-height: 14px;
}

@media only screen and (max-width: 768px) {
  .alert-box {
    width: 100%
  }
}

.help-box {
  margin: 0 auto;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 20px;
}

.help-gif {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
}

.alert {
  margin-bottom: 10px;
}

.panel-info-routes {
  padding: 3px 5px;
}

.list-item-routes {
  padding: 3px 5px;
}

.options-in-front{
  position: absolute;
  z-index: 999;
}

.money-collection-input {
  width: 85px;
}

.help-area {
  background-color: #e8e8e8;
  border-radius: 5px;
  padding: 10px;
}

.today-route-task-label {
  max-width: 100%;
  overflow: hidden;
}

.traccar-map {
  width: 100%;
  height: 100%;
}

.actions {
  width: 15%;
}

.company_logo {
  object-fit: cover;
  height: 70px;
  margin-top: 15%;
}

.mp-background {
  background-color: #FED201;
}

.white-background {
  background-color: white;
}
.text-alarm {
  color:#FA8900;
}
.mp-base-logo {
  object-fit: cover;
  height: 32px;
}

.qr-base-logo {
  object-fit: cover;
  height: 35px;
  max-width: 80px;
}

.small-pic {
  object-fit: cover;
  height: 150px;
  max-width: 200px;
}

@media only screen and (max-width: 768px) {
  .image-and-info > img {
    max-width: 100%;
    margin-bottom: 10px;
  }
}
@media only screen and (min-width: 768px) {
  .image-and-info {
    display: flex;
  }
  .image-and-info > img {
    max-width: 200px;
    min-width: 200px;
    max-height: 200px;
    object-fit: cover;
  }

  .image-and-info dt {
    text-align: left;
  }
}

.login-background-img {
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: url('../img/login-background.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.col-md-20 {
  width: 19%;
  margin-right: 1%;
  overflow: visible;
  display: inline-block;
}

.qr-bulk-logo {
  object-fit: cover !important;
  height: 35px !important;
  max-width: 100px !important;
}

.general-qrs-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stock-grid-background {
  background-color: #e8fcff;
  border: solid 2px #e6e6e6;
  border-radius: 2px;
  padding: 1% 0;
}

.stock-row {
  padding: 1%;
  width: 100%;
  display: inline-flex;
}

.product-data {
  text-align: center;
  padding: 10px;
}

.max-width-td {
  overflow-wrap: break-word;
  max-width: 300px;
  white-space: normal !important;
}

.max-width-td-shorter {
  overflow-wrap: break-word;
  max-width: 150px;
  white-space: normal !important;
}

.dropdown-container {
  position: relative;
}

.movement-arrow {
  color: #c2c2c3;
  font-size: 23px;
  text-shadow: #000000 2px 2px 5px;
  margin: 6px;
  z-index: 2;
}

.grid-container:hover {
  filter: none;
}

.product-container:hover {
  filter: brightness(0.8);
}

.product-container:hover .product-grid-numbers-row {
  filter: none;
}

.product-container:hover .arrows-container {
  opacity: 1;
}

.input-color-picker {
  width: 3%;
  padding: 1px 3px;
  display: inline-flex;
}

@media print {
  .routes-col-md {
    width: 14.285714% !important;
  }
  .list-item-routes {
    padding: 3px 5px !important;
  }
  .panel-info-routes {
    padding: 3px 5px !important;
  }
  .small-padding {
    padding: 2px !important;
  }
  .white-background {
    background-color: white !important;
  }
  .mp-background {
    background-color: #FED201 !important;
  }
  .qr-bulk-logo {
    object-fit: cover !important;
    height: 35px !important;
    max-width: 100px !important;
  }
  .col-md-20 {
    width: 30% !important;
    margin-right: 1% !important;
    overflow: visible !important;
  }
  .mp-base-logo {
    object-fit: cover !important;
    height: 30px !important;
  }
}

.ui-datepicker {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  border: none;
  padding: 10px;
  display: none;
  z-index: 9999 !important;
}

.ui-widget-header {
  background: none;
  border: none;
}

.ui-state-default {
  background: none !important;
  color: black
}

.ui-state-highlight {
  background-color: #18a04a !important;
  color: #ffffff !important;
}

.pastDates a {
  background-color: #29f274 !important;
  color: #ffffff !important;
}

.futureDates a {
  background-color: #3719bd !important;
  color: #ffffff !important;
}

.roundedPastRoutes {
  width: 12px;
  height: 12px;
  background-color: #29f274;
  border-radius: 100%;
  display: inline-block;
}

.roundedFutureRoutes {
  width: 12px;
  height: 12px;
  background-color: #3719bd;
  border-radius: 100%;
  display: inline-block;
}

.panel-heading.hasRoute {
  background: linear-gradient(to top, #bbbaba, #d8d8d8);
}
dl.dl-horizontal.mservice{
  margin-bottom: 0;
}
.carousel-control.right{
  background-image: none;
}
.carousel-control.left{
  background-image: none;
}
audio{
  width: 100%;
}
.dl-horizontal.mservice dt{
  text-align: left
}
.roundHasRoute {
  width: 12px;
  height: 12px;
  background-color: #bbbaba;
  border-radius: 100%;
  display: inline-block;
}
.mb-3{
  margin-bottom: 16px
}
.collapse-text{
  cursor: pointer;
  background: #f3f3f3;
  padding: 10px;
  margin-bottom: 0;
  border-radius: 4px;
  border: 1px solid #e5e5e5;

}
.collapse-text:hover{
  background: #ececec
}
.collapse-text .glyphicon{
  font-size: 18px;
}
.well{
  background-color: white;
  background-image: none;
  border-radius: 0 0 4px 4px;
  border-top: none;
  margin-top: -2px;
  box-shadow: none;
}

.table-borderless td, .table-borderless th {
  border: none !important;
}
.w-100{
  width: 100%;
}
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{
  vertical-align: middle;
}
.sizeAutocomplete{
  overflow-y: scroll;
  height: 300px;
}

.floating-spinner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 30px;
  height: 30px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #428bca;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* Absolute Center Spinner */

.loading {
  position: fixed;
  z-index: 99999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */

.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7));
  background: -webkit-radial-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7));
}

/* :not(:required) hides these rules from IE9 and below */

.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

caption {
  text-align: left;
  font-size: x-large;
}

.generic-dropdown-warning{
  font-size: small;
  color: #dc3545;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 45px;
  height: 45px;
  margin: 8px;
  border: 5px solid #2667d2;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #2667d2 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.glyphicon.spinning {
  animation: spin 1s infinite linear;
  -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}

.floating-alert {
  position: fixed;
  top: 0.5em;
  right: 0.5em;
  z-index: 9999;
}

.modal-xlg{
  width:1200px;
}

.glyphicon.spin{
  animation: spin 1s infinite linear;
  -webkit-animation: spin2 1s infinite linear;
}

.generic-dropdown-container{
  display: flex;
  column-gap: 4px;
}

.generic-dropdown-container multiselect{
  flex-grow: 1;
}

.img-max-width{
  max-width: 250px;
}

.center-content {
  text-align: center;
  display: block;
}

@media only screen and (max-width: 768px) {
  .flex-column-sm {
    flex-direction: column;
    text-align: end;
    gap: 10px;
  }
}

@media only screen and (min-width: 768px) {
  .mt-md-8 {
    margin-top: 8px;
  }
}
.multiselect-dropdown-button {
  overflow: hidden;
  text-overflow: ellipsis;
  padding-inline: 5px;
}

@media (max-width: 1200px) {
  .table-responsive {
    overflow-x: auto;
  }
}

.disabled-link {
  pointer-events: none;
  opacity: 0.65;
  cursor: not-allowed;
}

@media print { 
  .print-black-box { 
    background-color: black !important; 
    width: 0.8cm; 
    height: 0.6cm; 
    display: block 
    !important; 
  } * {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  } 
}

.badge-wrap {
  white-space: normal;
  word-wrap: break-word;
  display: inline-block;
  max-width: 100%;
}

.validation-button-wrapper {
  display: inline-block;
  position: relative;
}

.validation-tooltip-container {
  position: absolute;
  top: -14px;
  right: -10px;
  cursor: help;
  padding: 8px;
  z-index: 10;
}

.validation-icon {
  font-size: 10px;
  background-color: #f0ad4e;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.validation-tooltip .tooltip-inner {
  min-width: 250px;
  max-width: 400px;
  text-align: left;
  padding: 10px 15px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.mp-pos-dropdown-wrapper {
  position: relative;
}

.mp-pos-info-tooltip {
  position: absolute;
  top: 0;
  left: 235px;
  cursor: help;
  color: #f0ad4e;
  font-size: 14px;
}

.mp-pos-tooltip .tooltip-inner {
  min-width: 280px;
  max-width: 350px;
  text-align: left;
  padding: 8px 12px;
}