* {
    box-sizing: border-box;
    margin:0;
}

body {
    z-index: 1;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 99;
    padding: 20px 20px;
    background-color: rgb(238, 238, 238);
}

header .logo{
    position: fixed;
    top: 15px;
    left: 30px;
    width: 150px;
}

.user {
    float: left;
    color :#005eab;
    border: 1px solid #005eab;
    cursor: pointer;
}

.logout {
    color :#ee1800;
}

.login {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login_footer{
    text-align: center;
}

.login_logo {
    width: 100px;
    margin: auto;
}

.reader {
    z-index: 97;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%; 
    max-width:500px;
    transform: translate(-50%,-50%);
}

.preview {
    text-align: center;
    z-index: 100;
    background-color: #ffffff94;
    color: #000;
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 500px;
    position: fixed;
    top: 50%;
    left: 50%;
    display: none;
    padding: 10px 10px;
    transform: translate(-50%,-50%);
}

.result {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    max-width: 600px;
    border-radius: 10px;
    padding: 20px 10px;
    margin: auto;
}

.result h2 {
    color: #005eab;
}

.ck_msg {
    color: #4caf00;
    text-align: center;
}

.err_msg {
    color: #bf2413;
    text-align: center;
}

p.ck_msg {
    font-weight: bold;
    font-size: 20px;
    padding-top: 20px;
    display: none;
}

span.ck_msg {
    font-size: 15px;
}

p.err_msg {
    font-weight: bold;
    font-size: 20px;
}

span.err_msg {
    font-size: 15px;
}

.preview .ck_date {
    color: #4caf00;
    font-size: 15px;
    text-align: center;
}

.preview .loader {
    width: 100px;
    display: none;
    text-align: center;
    margin: auto;
}

.result button {
    padding: 8px 20px;
    background-color: #00af9a;
    border-radius: 6px;
    border: none;
    color: #fff;
    margin-top: 20px;
    cursor: pointer;
}

table.details {
    margin: 20px auto;
    padding: 5px;
    border: none;
    text-align: left;
    font-size: 18px;
}

table.details td{
    color: #005eab;
    font-weight: bold;
}

table.details th{
    color: #131313;
}

button.html5-qrcode-element{
    padding: 8px 20px;
    background-color: #00af9a;
    border-radius: 6px;
    border: none;
    color: #fff;
    margin-top: 20px;
    cursor: pointer;
}
a.html5-qrcode-element{
    padding: 8px 20px;
    background-color: #eeecec;
    border-radius: 6px;
    border: none;
    color: #121212;
    margin-top: 20px;
    cursor: pointer;
}

a.html5-qrcode-element img{
    height: 13px;
}

button#html5-qrcode-button-camera-permission {
    margin-bottom: 20px;
}

select.html5-qrcode-element{
    padding: 8px 20px;
    border-radius: 6px;
    border: 1px solid #006695;
    cursor: pointer;
}

/* Check Mark */
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4caf00;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  
  .checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto 0 auto;
    box-shadow: inset 0px 0px 0px #4caf00;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  }
  
  .checkmark__check.animateElement {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  }
  
  @keyframes stroke {
    100% {
      stroke-dashoffset: 0;
    }
  }
  @keyframes scale {
    0%, 100% {
      transform: none;
    }
    50% {
      transform: scale3d(1.1, 1.1, 1);
    }
  }
  @keyframes fill {
    100% {
      box-shadow: inset 0px 0px 0px 30px #4caf00;
    }
    
  }

  .crossmark__circle.animateElement {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #ff0000;
    fill: none;
   animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  
  .crossmark.animateElement {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #ff0000;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #ff0000;
    animation: fillred .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  }
  
  .crossmark__check.animateElement {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
  }
  
  .cross__path.animateElement {
    stroke: #ffffff;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    transform-origin: 50% 50% 0;
  }
  .cross__path--right.animateElement {
    animation: 0.3s ease 0.8s normal forwards 1 running stroke;
  }
  .cross__path--left.animateElement {
    animation: 1s ease 0.8s normal forwards 1 running stroke;
  }
  @keyframes fillred {
    100% {
      box-shadow: inset 0px 0px 0px 30px #ff0000;
    }
    
  }
  @keyframes stroke {
    100% {
      stroke-dashoffset: 0;
    }
  }

/* DropDown */

ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
  }
  
  .accordion-menu {
    margin: 0px auto;
    right: 10px;
    position: fixed;
    top: 10;
  }
  
  .accordion-menu li.open .dropdownlink {
    color: #006695;
  }
  .accordion-menu li.open .dropdownlink .fa-chevron-down {
    transform: rotate(180deg);
  }
  
  .accordion-menu li:last-child .dropdownlink {
    border-bottom: 0;
  }
  
  .dropdownlink {
    cursor: pointer;
    display: block;
    padding: 15px 15px 15px 40px;
    font-size: 18px;
    color: #006695;
    border-radius: 8px;
    position: relative;
    transition: all 0.4s ease-out;
  }
  .dropdownlink i {
    position: absolute;
    top: 17px;
    left: 16px;
  }
  .dropdownlink .fa-chevron-down {
    right: auto;
    left: auto;
  }
  
  .submenuItems {
    display: none;
    background: #e7e7e7;
  }
  
  .submenuItems a {
    display: block;
    color: #ee1800;
    padding: 12px 12px 12px 12px;
    transition: all 0.4s ease-out;
  }
  .submenuItems a:hover {
    background-color: #d4f2ff;
  }