/* Spinner */

.spinner {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 5em;
  height: 5em;
  border-radius: 50%;
  background: #2667d2;
  background: -moz-linear-gradient(left, #2667d2 10%, rgba(38,103,210, 0) 42%);
  background: -webkit-linear-gradient(left, #2667d2 10%, rgba(38,103,210, 0) 42%);
  background: -o-linear-gradient(left, #2667d2 10%, rgba(38,103,210, 0) 42%);
  background: -ms-linear-gradient(left, #2667d2 10%, rgba(38,103,210, 0) 42%);
  background: linear-gradient(to right, #2667d2 10%, rgba(38,103,210, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner:before {
  width: 50%;
  height: 50%;
  background: #2667d2;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.spinner:after {
  background: white;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}



/* Machine CSS */

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

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

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

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

.today-route-row {
    height: 30px;
    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;
}

@media only screen and (min-width: 768px) {
    .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 {
      width: 100%;
      white-space: normal;
      font-size: 15px;
      text-align: left;
      font-weight: bold;
      text-shadow: #0e0e0e 4px 4px 2px;
      position: relative;
    }

    .product-container {
      border: solid 1px #e8e8e8;
      border-radius: 3px;
      height: 170px;
      padding-left: 10px;
      padding-right: 10px;
      width: 100%;
    }

    .product-grid-number-container {
      position: absolute;
      left: 50%;
      top: 0px;
    }

    .product-grid-number {
      font-weight: bold;
      font-size: 30px;
      display: inline-block;
      position: relative;
      top: 20px;
      left: -50%;
      text-shadow: #000000 4px 4px 4px;
    }

    .product-grid-img-container {
      position: absolute;
      top: 0px;
      width: 100%;
      height: 100%;
      margin: 0 -10px;
    }

    .product-grid-img {
      object-fit: cover;
      height: 100%;
      width: 100%;
      filter: brightness(0.4);
    }

    .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;
    }

    .arrows-container {
      width: 100%;
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 5;
      opacity: 0;
    }

    .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; }
}

@media only screen and (max-width: 768px) {
    .machine-at-locations-create-button {
      margin: 0 15px;
    }

    .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 {
      display: none;
    }

    .product-container {
      border: solid 1px #e8e8e8;
      border-radius: 3px;
      height: 100px;
      padding: 0;
      width: 100%;
    }

    .product-grid-img-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .product-grid-img {
      object-fit: cover;
      max-width: 100%;
      height: 100%;
      filter: brightness(0.4);
    }

    .product-grid-number {
      z-index: 2;
      position: relative;
      font-size: 15px;
      font-weight: bold;
      text-shadow: #000000 4px 4px 4px;
    }

    .product-grid-number-container {
      margin-top: 15px;
    }

    .grid-container {
      display: contents;
      font-size: 0px;
    }

    .dropdown-button {
      position: absolute;
      padding: 2%;
      width: 20px;
      color: black;
      z-index: 5;
      margin-top: 5px;
    }

    .dropdown-options {
    display: inline-block !important;
    top: 10px;
    left: 0 !important;
    }

    .arrows-container {
      width: 100%;
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 4;
    }

    .background-machine-image {
      position: fixed;
      width: 60%;
      height: 50%;
      right: 25px;
      bottom: 25px;
      z-index: 6;
      border: 3px solid #9e9e9e;
      border-radius: 10px;
      box-shadow: #000000 2px 2px 11px 0px;
    }
}

.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;
}
.flex {
  display: flex;
}
.justify-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}
.flex-column{
  display: flex;
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.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;
}

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

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


.today-route-task-label {
  max-width: 350px;
  text-overflow: ellipsis;
  white-space: nowrap;
  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;
}

.mp-base-logo {
  object-fit: cover;
  height: 18px;
  max-width: 100px;
}

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

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

.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;
}

.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;
}

.dropdown-container {
  position: relative;
}

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

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

.grid-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-container {
    transform: scale(0.80,0.7) !important;
  }
  .qr-bulk-logo {
    object-fit: cover !important;
    height: 35px !important;
    max-width: 100px !important;
  }
  .col-md-20 {
    width: 19% !important;
    margin-right: 1% !important;
    overflow: visible !important;
  }
  .mp-base-logo {
    object-fit: cover !important;
    height: 15px !important;
    max-width: 100px !important;
  }
}