* {
box-sizing: border-box;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.logo-img {
  height: auto;
  border-radius: 1px;
}
.hidden-option,
.btn,
.thumbnail,
#DriverPin,
button,
canvas,
input {
  border-radius: 4px;
}
.footer {
  position: fixed;
  bottom: 0;
  background-color: #A73316 !important;
  color: black !important;
}
.dispatch-body {
  background-color: #A73316 !important;
  color: black !important;
}
.loader-body
{
  background-color: #00668f !important;
  color: #F1DDB8 !important;
}
.fa {
  color: white;
}
a {
  color: white !important;
}
h3 {
  color: white !important;
}
h2 {
  color: white !important;
}
.btn-primary {
  background-color: #8a8a8f !important;
}
.table>thead>tr>td,
.table>thead>tr>th,
.table>tbody>tr>td,
.table>tbody>tr>th {
  border-top: none;
}
table, th, td {
  border: 0px solid black;
}
.center {
  text-align: center;
  display: inline-block;
}
.left {
  text-align: left;
  display: inline-block;
}
.right {
  text-align: right;
  display: inline-block;
}
.number-circle {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 2px;
  margin: 25%;
  font-size: 24px;
  background: #00668f;
  border: 1px solid white;
  color: white;
  text-align: center;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}
.retake,
.close-modal {
  color: white;
  font-size: 24px;
  margin-right: 58px;
}
.close-modal:hover,
.close-modal:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
.corSlide {
  display: none;
}
.cursor {
  cursor: pointer;
}
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}
.active {
  opacity: 1;
}
img.hover-shadow {
  transition: 0.3s;
}
.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.cmn-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.cmn-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  user-select: none;
}
input.cmn-toggle-round + label {
  padding: 2px;
  width: 60px;
  height: 30px;
  background-color: #dddddd;
  border-radius: 30px;
}
input.cmn-toggle-round + label:before,
input.cmn-toggle-round + label:after {
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  content: "";
}
input.cmn-toggle-round + label:before {
  right: 1px;
  background-color: #dddddd;
  border-radius: 30px;
  transition: background 0.4s;
  content: 'NO';
  color: #e05959;
  font-weight: bold;
  text-align: right;
  padding-top: 3px;
  padding-right: 5px;
}
input.cmn-toggle-round + label:after {
  width: 28px;
  background-color: #fff;
  border-radius: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: margin 0.4s;
}
input.cmn-toggle-round:checked + label:before {
  /*background-color: #8ce196;*/
  content: 'YES';
  color: black;
  font-weight: bold;
  text-align: left;
  padding-top: 3px;
  padding-left: 4px;
 }
input.cmn-toggle-round:checked + label:after {
  margin-left: 30px;
}

div.spinner {
  position: relative;
  width: 54px;
  height: 54px;
  display: none;
  margin-left: 50%;
  margin-right: 50%;
  background: #094157;
  padding: 10px;
  border-radius: 10px;
}
div.spinner div {
  width: 6%;
  height: 16%;
  background: #FFF;
  position: absolute;
  left: 49%;
  top: 43%;
  opacity: 0;
  -webkit-border-radius: 50px;
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
  -webkit-animation: fade 1s linear infinite;
}
@-webkit-keyframes fade {
  from {opacity: 1;}
  to {opacity: 0.25;}
}
div.spinner div.bar1 {
  -webkit-transform:rotate(0deg) translate(0, -130%);
  -webkit-animation-delay: 0s;
}    
div.spinner div.bar2 {
  -webkit-transform:rotate(30deg) translate(0, -130%); 
  -webkit-animation-delay: -0.9167s;
}
div.spinner div.bar3 {
  -webkit-transform:rotate(60deg) translate(0, -130%); 
  -webkit-animation-delay: -0.833s;
}
div.spinner div.bar4 {
  -webkit-transform:rotate(90deg) translate(0, -130%); 
  -webkit-animation-delay: -0.7497s;
}
div.spinner div.bar5 {
  -webkit-transform:rotate(120deg) translate(0, -130%); 
  -webkit-animation-delay: -0.667s;
}
div.spinner div.bar6 {
  -webkit-transform:rotate(150deg) translate(0, -130%); 
  -webkit-animation-delay: -0.5837s;
}
div.spinner div.bar7 {
  -webkit-transform:rotate(180deg) translate(0, -130%); 
  -webkit-animation-delay: -0.5s;
}
div.spinner div.bar8 {
  -webkit-transform:rotate(210deg) translate(0, -130%); 
  -webkit-animation-delay: -0.4167s;
}
div.spinner div.bar9 {
  -webkit-transform:rotate(240deg) translate(0, -130%); 
  -webkit-animation-delay: -0.333s;
}
div.spinner div.bar10 {
  -webkit-transform:rotate(270deg) translate(0, -130%); 
  -webkit-animation-delay: -0.2497s;
}
div.spinner div.bar11 {
  -webkit-transform:rotate(300deg) translate(0, -130%); 
  -webkit-animation-delay: -0.167s;
}
div.spinner div.bar12 {
  -webkit-transform:rotate(330deg) translate(0, -130%); 
  -webkit-animation-delay: -0.0833s;
}


/* ----------- smartphone (portrait) ----------- */
@media only screen 
and (max-device-width : 650px)
and (orientation : portrait) {
  /* keypad login screen */
  .logo {
    margin: 8% 1% 1%;
  }
  .dispatch-pin {
    padding: 0.375rem 0.75rem;
    font-size: 1.5rem;
    border: 0;
    color: white;
    background-color: #a73316 !important;
  }
  .loader-pin {
    padding: 0.375rem 0.75rem;
    font-size: 1.5rem;
    border: 0;
    color: white;
    background-color: #00668f !important;
  }
  .pin-entry {
    margin: 0px 14px;
  }
  .keypad-home {
    //margin: 5% 0px;
    //position: absolute;                  
    //bottom:0;
    //left: 0;
    //margin-bottom: 50px;
  } 
  .keypad-row {
    margin: 10px 0px;
  }
  .keypad-nbr {
    font-size: 8vw;
  }
  .keypad-nbr-m {
    font-size: 8vw;
    margin: 0px 10px;
  }
  .keypad-btn {
    font-size: 6vw;
  }

  /* 2nd screen - iphone*/
  form {
    border-radius: 2px;
  }
  .header {
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    padding-top: 20px;
    background-color: #094157 !important;
    z-index: 10;
    padding-left: 25px;
  }
  .content {
    z-index: 5;
    padding-top: 130px;
    padding-bottom: 30px;
  }
  .footer {
    width: 100%;
    position: fixed;
    bottom: 0px;
    height: 240px;
    background-color: #00668f !important;
    z-index: 10
  }
  .page-title {
    color: #F1DDB8;
    font-size: 14px;
    margin: 0px 0px;
  }
  .page-line {
    background-color: #FF4D00;
    height: 6px;
    margin: 0px 0px;
    margin-bottom: 10px;
  }
  .btn-close {
    font-size: 18px;
    padding: 5px 12px;
  }
  .btn-cancel {
    font-size: 18px;
    padding: 5px 12px;
  }
  .question {
    font-size: 16px;
    margin: 0px 10px;
  }
  .field {
    font-size: 16px;
    height: 1.5rem;
    padding: 0px 4px;
    padding-bottom: 2px;
  }
  .btn-yes {
    font-size: 16px;
    padding: 0px 4px;
    margin-right: 10px;
  }
  .btn-no {
    font-size: 16px;
    padding: 0px 4px;
  }
  .cor-hdr1 {
    font-size: 3vw;
    margin-left: 10px;
  }
  .cor-hdr2 {
    font-size: 3vw;
    margin-left: 10px;
  }
  .cor-item-div {
    white-space: pre-line;
  }
  .cor-item {
    width: 76%
  }
  .cor-opt1 {
    margin-left: 10px;
  }
  .cor-opt2 {
    margin-left: 10px;
  }
  .soq-item {
    width: 85%;
    margin-right: 10px;
  }
  .item-text {
    color: #F1DDB8;
    font-size: 16px;
  }
  .pad-out {
    background-color: #F1DDB8;
    height: 100px;
    width: 220px;
  }
  .pad-load {
    background-color: #F1DDB8;
    height: 80px;
    width: 100%;
  }
  .pad-filler {
    background-color: #F1DDB8;
    height: 10px;
    width: 100%;
  }
  #completeSignIn {
    width: 220px;
  }
  #completeSignOut {
    width: 220px;
  }
  .thumbnail {
    background-color: white;
    height: 32.5px;
    width: 50px;
  }
  .camera-button {
    padding: 0px;
  }
}

/* ----------- smartphone (landscape) ----------- */
@media only screen 
and (max-device-width : 650px)
and (orientation : landscape) {
    /* rounded corners */
  .logo-img {
    width: 54%;
  }
  /* keypad login screen - phone */
  .logo {
    margin: 10px 0;
    text-align: center;
  }
  .dispatch-pin {
    padding: 0.375rem 0.75rem;
    font-size: 1.5rem;
    border: 0;
    color: white;
    background-color: #a73316 !important;
  }
  .loader-pin {
    padding: 0.375rem 0.75rem;
    font-size: 1.5rem;
    border: 0;
    color: white;
    background-color: #00668f !important;
  }
  .pin-entry {
    margin: 0px 14px;
  }
  .keypad-home {
    width: 60%;
  } 
  .keypad-row {
    margin: 10px 0px;
  }
  .keypad-nbr {
    font-size: 2vw;
  }
  .keypad-nbr-m {
    font-size: 2vw;
    margin: 0px 10px;
  }
  .keypad-btn {
    font-size: 2vw;
  }
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
  /* keypad login screen */
  .logo {
    margin: 8% 13% 13%;
  }
  .dispatch-pin {
    padding: 0rem 0.75rem;
    font-size: 2.5rem;
    border: 0;
    color: white;
    background-color: #a73316 !important;
  }
  .loader-pin {
    padding: 0rem 0.75rem;
    font-size: 2.5rem;
    border: 0;
    color: white;
    background-color: #00668f !important;
  }
  .pin-entry {
    margin: 0px 115px;
  }
  .keypad-rows {
    margin: 0px 100px;
  }
  .keypad-row {
    margin: 20px 0px;
  }
  .keypad-nbr {
    font-size: 5vw;
  }
  .keypad-nbr-m {
    font-size: 5vw;
    margin: 0px 10px;
  }
  .keypad-btn {
    font-size: 5vw;
  }


  /* 2nd screen */
  form {
    margin: 35px 60px;
  }
  .header {
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    padding-top: 20px;
    background-color: #094157 !important;
    z-index: 10;
  }
  .content {
    z-index: 5;
    padding-top: 130px;
    padding-bottom: 100px;
  }
  .content-signout {
    z-index: 5;
    padding-top: 50px;
    padding-bottom: 100px;
  }
  .footer {
    width: 100%;
    position: fixed;
    bottom: 0px;
    height: 240px;
    background-color: #00668f !important;
    z-index: 10
  }
  .page-title {
    color: #F1DDB8;
    font-size: 20px;
    margin: 0 0 10px 60px;
  }
  .page-text {
    color: #F1DDB8;
    font-size: 20px;
  }
  .thumbnails {
    margin-left: 60px;
  }
  .page-line {
    background-color: white;
    height: 1px;
  }
  .btn-close,
  .btn-cancel,
  .btn-cancel-load {
    font-size: 24px;
    padding: 5px 24px;
  }
  .btn-replace,
  .btn-keep {
    font-size: 2.6vw;
    padding: 0px 10px;
  }  
  .question,
  .answer {
    font-size: 2.6vw;
    color: white !important;
  }
  .btn-yes {
    font-size: 2.6vw;
    padding: 0px 24px;
  }
  .btn-no {
    font-size: 2.6vw;
    padding: 0px 24px;
    margin-left: 10px;
    margin-right: -15px;
  }
  .cor-hdr1,
  .cor-hdr2 {
    font-size: 2.6vw;
    margin-left: 20px;
  }
  .cor-item-div {
    white-space: pre-line;
  }
  .cor-item {
    width: 76%
  }
  .cor-opt1 {
    margin-left: 10px;
  }
  .cor-opt2 {
    margin-left: 33px;
  }
  .soq-item-div {
    white-space: pre-line;
  }
  .soq-item {
    width: 90%;
    margin-right: 15px;
  }
  .item-text {
    font-size: 2.6vw;
    color: white !important;
  }
  #photoIndex {
    text-align: center;
  }
  .pad-out {
    background-color: #F1DDB8;
    height: 150px;
    width: 400px;
  }
  .pad-load {
    background-color: #F1DDB8;
    height: 120px;
    width: 100%;
  }
  .pad-filler {
    color: #00668f;
    background-color: #F1DDB8;
    height: 0px;
    width: 100%;
  }
  .pad-label {
    font-size: 2.2vw;
  }
  #completeSignOut {
    width: 400px;
  }
  #loadExistDiv {
    display: none;
  }
  #completeSignIn,
  #submitLoad {
    width: 320px;
  }
  .thumbnail {
    background-color: white;
    height: 62.5px;
    width: 100px;
  }
  #photoIndex {
    display: none;
  }
  .camera-button {
    padding: 0px;
    margin-left: 30px;
  }
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1080px) {
}
