*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body{
    scroll-behavior: smooth;
    height: 100%;
    padding: 0px;
    margin: 0px;
    font-family: 'Roboto', sans-serif;
}
.page-wrapper{
    min-height: 100%;
}

p::selection, a::selection, h1::selection, h2::selection, i::selection, img::selection, span::selection{
    background: #fffa64;
    color: #222c37;
    text-shadow: none;
}

/*-------------------------------------- Header --------------------------------*/

.header{
    z-index: 2;
    display: block;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
}
nav{
    padding: 30px;
    padding-top: 60px;
    width: 100%;
}
.homebut{
    width: 100%;
    height: auto;
}
.homebut img{
    display: block;
    width: 100%;
    height: auto;
}
.menubut{
    align-self: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.menubut img{
    margin: auto;
    height: 100%;
    width: 100%;
}
.nav-block{
    width: min-content;
    margin-top: 40px;
}
.nav-block ul li{
    list-style: none;
}
.nav-block ul li a{
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    letter-spacing: 0em;
    color: #707070;
    font-style: normal;
    display: block;
    padding-left: 0;
    padding-right: 0;
    transition: 0.3s;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.4em;
    padding: .2em;
}
.nav-block ul li a:hover{
    color: black;
    transition: all 0.3s ease;
}
.nav-footer ul li a{
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6em;
    padding: .2em;
}
.nav-footer{
    display: block;
    position: absolute;
    bottom: 60px;
}
@media (max-width: 790px) {
    .header{
        height: auto;
        width: 100%;
        z-index: 8;
    }
    nav{
        margin: 0 0;
        padding: 20px 40px;
        width: 100%;
        height: min-content;
        display: flex;
        justify-content: space-between;
    }
    .homebut{
        margin: 0px 20px;
        width: 100%;
        height: auto;
    }
    .nav-block{
        pointer-events: none;
        display: block;
        opacity: 0;
        position: fixed;
        margin: auto;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        transition: all 0.2s ease-out;

    }
    .nav-block ul li a{
        font-weight: 300;
        font-size: 23px;
        line-height: 1.4em;
        padding: .2em;
    }
    .nav-footer{
        display: block;
        position: fixed;
        bottom: 20px;
        top: unset;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        width: max-content;
    }
    .background{
        position: fixed;
        width: 100%;
        height: 0%;
        background-color: white;
        top: 40px;
        left: 0;
        z-index: -1;
        transition: all 0.2s ease-out;
    }
}
@media (min-width:791px) {
    .menubut{
        display: none !important;
    }
    .nav-block{
        display: block !important;
    }
}

/*------------------------------------- Main ---------------------------------*/
.page-wrapper{
    position: absolute;
    width: 100%;
    padding-left: 250px;
    height: auto;
    background-color: #eeeeee;
}

.centerform{
    width: auto;
    height: auto;
    position: fixed;
    padding-left: 250px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.listview{
    display: table;
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
}
.listraw{
    display: table-row;
    padding-right: 10px;
    width: 100%;
    height: 30px;
    background: #ffffff;
}
.listraw:nth-child(even) {
    background: #eeeeee;
}
.listcell{
    padding: 5px 10px;
    display: table-cell;
    vertical-align: middle;
    border-right: 3px solid #eeeeee;
}
.listname{
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}
.listnum{
    padding-left: 0;
    width: 40px;
    text-align: center;
}


.itemview{
    display: block;
    margin: 0 auto;
    padding: 30px;
    width: 100%;
    height: auto;
    max-width: 400px;
}
.itemname{
    padding-bottom: 10px;
    float: left;
    width: 100%;
}
.itemname span{
    float: right;
}
.itemcenter{
    float: none;
    text-align: center;
}
.itemh1{
    display: block;
    text-align: center;
    padding-bottom: 30px;
}
.search{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
label[for="mySearch"]{
    margin-right:15px;
}
.searchblock{
    position: relative;
}
#mySearch{
    margin-bottom: 0;
    position: relative;
}
.searchcl, .searchst{
    display: block;
    position: absolute;
    top: 50%;
    right: 0.175rem;
    transform: translateY(-50%);
    width: auto; 
    height: 20px;
    cursor: pointer;
}
.searchcl{
    right: 28px;
    height: 15px;
    transform: translateY(calc(-50% - 1px));
}
.searchcl img, .searchst img{
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 790px) {
    .page-wrapper{
        padding-left: 20px;
        padding-top: 80px;
        padding-right: 20px;
    }
    .centerform{
        padding-left: 0;
    }
}
/*------------------------------------- inputs ---------------------------------*/
input[type=submit]{
    display: table;
    margin: 0 auto;
    margin-bottom: 10px;
    cursor: pointer;
    width: 50%;
    height: 30px;
    background-color: #ffffff;
    border: 1px solid #000000;
    transition: all 0.3s ease;
}
input[type=submit]:hover{
    background-color: #e2e2e2;
    border: 1px solid #343434;
    transition: all 0.3s ease;
}
input[type=text], input[type=password]{
    display: block;
    height: 30px;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    padding: .375rem .75rem;
    color: #000000;
    border: 1px solid #000000;
    text-rendering: auto;
    text-align: start;
    cursor: text;
    box-sizing: border-box;
}
form#login td{
    padding-bottom: 10px;
    padding-right: 10px;
}
#formerror{
    display: table;
    margin: 0 auto; 
    padding-bottom: 10px;
    color: red;
}
.but{
    display: table;
    margin: 0 auto;
    margin-bottom: 10px;
    cursor: pointer;
    width: 50%;
    max-width: 300px;
    height: 30px;
    background-color: #ffffff;
    border: 1px solid #000000;
    transition: all 0.3s ease;
    line-height: 30px;
}
.but:hover{
    background-color: #e2e2e2;
    border: 1px solid #343434;
    transition: all 0.3s ease;
}
.but a{
    display: flex;
    justify-content: center;
    text-decoration: none;
    color: #000000;
    height: auto;
}



/*------------------------------------- qrcode ---------------------------------*/
#qr-scanner{
    border: 0 !important;
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: 80vh;
    margin: 0 auto;
    display: block;
}
#autoadd{
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 1px solid #000000;
}
label[for='autoadd']{

}
#autoadddiv{
    width: auto;
    display: flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}
#ticketdiv{
    height: auto;
}
#ticketdiv .but{
    max-width: 400px;
}
#ticket{
    height: 100px;
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    overflow: hidden;
    margin: 10px auto;
}
#ticket .item-right, #ticket .item-left{
    position: relative;
    padding: 10px;
    height: 100%;
}
#ticket .item-left{
    text-align: left !important;
    float: left;
    width: 75%;
    border-right: 3px dashed #eeeeee;
}
#ticket .item-right{
    float: right;
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#ticket .item-right > div{
    width: 80%;
}
#ticket .item-right > div img{
    width: 100%;
    height: auto;
}
.circle{
    z-index: 5;
    position: absolute;
    background-color: #eeeeee;
    width: 20px !important;
    height: 20px !important;
    -webkit-border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    border-radius: 10px !important;
}
#left-content p{
    box-sizing: border-box;
    padding-bottom: 10px;
}
#left-content{
    padding-left: 20px;
    padding-top: 5px;
    
}
.error-block{
    color: #000000;
    background-color: red;
    border: 1px solid #000000;
    padding: 10px;
}
.selected .listname{
    color: white;
    background-color: #0d46d8 !important;
}
#select-event{
    display: block;
    overflow: scroll;
    height: 300px;
    padding: 0 10px;
    margin-bottom: 10px;
}
#oldevent{
    display: none;
}
.selection div{
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    padding-left: 10px;
}
.selection div input{
    width: 20px;
    height: 20px;
}
#qr-reader__scan_region{
    border: 2px solid #000000;
}


/*------------------------------------- loading cont ---------------------------------*/

.loadcont{
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}
.wave{
    width: 5px;
    height: 80px;
    background: black;
    margin: 10px;
    animation: wave 0.8s linear infinite;
    border-radius: 20px;
}
.wave:nth-child(2) {
    animation-delay: 0.1s;
  }
  .wave:nth-child(3) {
    animation-delay: 0.2s;
  }
  .wave:nth-child(4) {
    animation-delay: 0.3s;
  }
  .wave:nth-child(5) {
    animation-delay: 0.4s;
  }
  .wave:nth-child(6) {
    animation-delay: 0.5s;
  }
  .wave:nth-child(7) {
    animation-delay: 0.6s;
  }
  .wave:nth-child(8) {
    animation-delay: 0.7s;
  }
  .wave:nth-child(9) {
    animation-delay: 0.8s;
  }
  .wave:nth-child(10) {
    animation-delay: 0.9s;
  }
  @keyframes wave {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  