@font-face {
    font-family: 'Heebo Thin';
    src: url("fonts/Heebo-Thin.ttf") format("truetype");
}

@font-face {
    font-family: 'Heebo Light';
    src: url("fonts/Heebo-Light.ttf") format("truetype");
}

@font-face {
  font-family: 'Heebo';
    src: url("fonts/Heebo-Regular.ttf") format("truetype");
}

@font-face {
  font-family: 'Heebo-Bold';
    src: url("fonts/Heebo-Blod.ttf") format("truetype");
}

html, body {
    height: 100%;
    margin: 0;
    background: url("../images/DriverBox.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    overflow: auto;
    font-family: Times New Roman;
}

#p1{
    position: relative;
    color: #F59A23;
    top: 24vh;
    width: 100%;
    height: 38px;
    font-family: 'Assistant ExtraBold', 'Assistant', sans-serif;
    font-weight: 800;
    font-size: 28px;
    text-align: center;
}

#p2{
    position: relative;
    color: #F59A23;
    top: 24vh;
    width: 100%;
    height: 64px;
    font-family: 'Assistant Light', 'Assistant', sans-serif;
    font-weight: 300;
    font-size: 48px;
    text-align: center;
}

#p3{
    position: relative;
    color: #7F7F7F;
    top: 48vh;
    width: 100%;
    height: 25px;
    font-family: 'Assistant Light', 'Assistant', sans-serif;
    font-weight: 300;
    font-size: 18px;
    text-align: center;
}

#name{
    display: inline-block
}

a:link, a:visited {
    background-color: #F59A23;
    color: white;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

#leftside{
    position: absolute;
    height: 100%;
    width: 461px;
    border-radius: 80px 0px 0px 80px;
    float: right;
    background: white;
    top: 0%;
    right: 0%;
    color: #F59A23;
    overflow: auto;
}

@media (max-width:460px){
    #leftside{width: 100%!important;}
    input{width: 75%!important;left: 12.5%!important;}
    #eye{left: -59%!important;}
}

#eye{
    position: relative;
    width: 20px;
    height: auto;
    left: -297px;
    top: 34.5vh;
}

#logo{
    width: 100%;
    align-items: center;
    position: relative;
    top: 48vh;
}

#logo img{
    width: 130px;
    position: relative;
    left: calc(50% - 95px);
}

#loginbutton {
    position: relative;
    left: calc(50% - 84.5px);
    top: 38vh;
    width: 169px;
    height: 54px;
    font-family: 'Assistant Bold', 'Assistant', sans-serif;
    font-weight: 700;
    font-size: 28px;
    border: solid;
    border-radius: 70px;
    text-align: center;
    color: white;
    background-color: orange;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}

input {
    box-sizing: border-box;
    border: 1px solid rgba(121, 121, 121, 1);
    border-radius: 20px;
    left: 50.5px;
    top: 30vh;
    width: 360px;
    height: 40px;
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #666666;
    text-align: right;
    position: relative;
    align-self: center;
    padding: 0px 20px 0px 0px;
}

.textlogin {
    position: relative;
    float: left;
    text-align: center;
    line-height: 10px;
    top: 15%;
}

#changeUser{
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    font-size: 22px;
    text-decoration: underline;
    color: #F59A23;
    text-align: center;
    cursor: pointer;
}

input:focus,#loginbutton:focus,.selectBox:focus,#loginbuttonB:focus{
    outline-width: 0;
}

/* Add Zoom Animation */

.choise-modal{
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(115, 107, 90, 0.8); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.choise-content {
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: none;
    width: 600px;
    height: 350px;
    background: none;
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s;
    max-height: 80%;
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    .cancelbtn {
        width: 100%;
    }
}

.choiseTop{
    position: fixed;
    margin: 0% 0% 0% 0%;
    padding: 0;
    width: inherit;
    height: 50px;
    background: linear-gradient(80.9980641174034deg, rgba(120, 29, 125, 1) 3%, rgba(22, 30, 105, 1) 122%);;
    border-radius: 0px 0px 45px 45px;
    text-align: center;
    font-weight: bolder;
    z-index: 3;
}

.topText{
    font-family: 'Heebo';
    font-size: 25px;
    color: #F59A23;
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 175px;
}

.choiseDown{
    direction: rtl;
    position: relative;
    padding-right: 50px;
    height: 75%;
    background-color: white;
    z-index: 2;
    box-sizing: border-box;
    border: 1px solid rgba(132, 0, 255, 1);
    border-radius: 10px;
}

.choiseDown img{
    position: absolute;
    bottom: 0;
    transform: translate(-50%,-50%);
    height: 23px;
    width: auto;
}

.selectBox{
    position: absolute;
    top: 10%;
    max-height: 60%;
    overflow: auto;
}

#loginbuttonB {
    position: absolute;
    bottom: 7%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 40px;
    font-weight: bold;
    font-size: 25px;
    border-radius: 70px;
    text-align: center;
    width: 255px;
    color: white;
    background-color: orange;
    border: none;
    cursor: pointer;
}

.pB{
    position: absolute;
    left: 60%;
    transform: translate(-50%,-50%);
    bottom: 10px;
    color: grey;
    font-size: 14px;
    font-family: 'Assistant Light', 'Assistant', sans-serif;
}

#selectBox{
    width: 500px;
    border-collapse: separate;
    border-spacing:0 15px;
    margin-left: 15px;
}

#selectBox td{
    border: 1px solid rgba(121, 121, 121, 1);
    border-radius: 5px;
}

#selectBox .leftCell{
    width: 40%;
    border-right: none;
    border-radius: 5px 0px 0px 5px;
}

#selectBox .rigthCell{
    width: 60%;
    border-left: none;
    border-radius: 0px 5px 5px 0px;
}

#selectBox tr{
    width: 518px;
    height: 46px;
    font-family: 'Assistant Regular', 'Assistant', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #666666;
    text-align: center;
    cursor: pointer;
}

#selectBox th{
    text-decoration-line: underline;
    text-align: center;
    background: white;
    cursor: default;
    position: -webkit-sticky;
    position: sticky;
    top: 14px;
}

#selectBox tr:hover {background: #ddd;}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.closeDiv{
    text-align: center;
    position: relative;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

#errorpas, #errorAdminLogout{
    position: relative;
    color: red;
    top: 38vh;
    font-weight: bolder;
    height: 50px;
    direction: rtl;
    width: 100%;
    text-align: center;
    font-family: 'Heebo';
}

#errorAdminLogout{
    height: fit-content;
    position: inherit;
    padding-top: 10px;
}

::-webkit-scrollbar {
    width: 18px;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: white;
    border: 1px solid rgba(121, 121, 121, 1);
    border-radius: 50px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: grey; 
    background-color: rgba(242, 242, 242, 1);
    box-sizing: border-box;
    border: 1px solid rgba(121, 121, 121, 1);
    border-radius: 50px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    opacity: 0.8; 
}

.lockedText{
    font-family: 'Assistant Regular', 'Assistant', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    color: #666666;
}

.freeByAdmin{
    font-family: 'Assistant Bold', 'Assistant Regular', 'Assistant', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
    text-decoration: underline;
    color: #555555;
    border: none;
    background: none;
}

.backToChoose{
    background-color: rgba(242, 242, 242, 1);
    box-sizing: border-box;
    border: 2px solid rgba(51, 51, 51, 1);
    border-radius: 30px;
    font-family: 'Assistant Bold', 'Assistant Regular', 'Assistant', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
    color: #555555;
}

.buttonDiv{
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

button{
    cursor: pointer;
}

.mainTextDiv{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.inputAdmin{
    top: 0px;
    left: 0px;
    width: 400px;
    height: 55px;
    background: inherit;
    background-color: rgba(255, 255, 255, 1);
    box-sizing: border-box;
    border: 1px solid rgba(121, 121, 121, 1);
    border-radius: 10px;
    font-family: 'Assistant Regular', 'Assistant', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    text-align: center;
    color: #666666;
}

.cancelOpenWithAdmin{
    width: 215px;
    height: 40px;
    background: inherit;
    background-color: rgba(242, 242, 242, 0);
    box-sizing: border-box;
    border: 2px solid rgba(51, 51, 51, 1);
    border-radius: 30px;
    font-family: 'Assistant Bold', 'Assistant Regular', 'Assistant', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 25px;
    color: #555555;
}

.okOpenWithAdmin{
    width: 215px;
    height: 40px;
    background: inherit;
    background-color: rgba(245, 154, 35, 1);
    box-sizing: border-box;
    border: 2px solid rgba(51, 51, 51, 1);
    border-radius: 30px;
    font-family: 'Assistant Bold', 'Assistant Regular', 'Assistant', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 25px;
}