@font-face {
    font-family: "Gotham-Light";
    src: url("fonts/Gotham-Light.otf");
}

@font-face {
    font-family: "Gotham-Bold";
    src: url("fonts/Gotham-Bold.otf");
}

@font-face {
    font-family: "Gotham-Medium";
    src: url("fonts/Gotham-Medium.otf");
}

table, th, td {
    border: 1px solid black;
}

html{
    height: 100%;
    /* display: table; */
    /* margin: auto; */
    -webkit-tap-highlight-color: transparent;
    /* overflow-y: hidden;  */
}

body{
    height: 90%;
    width: 100vw;
    background-color: #2774AB;
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    /* justify-content: space-around; */
    text-align: center;
    font-family: 'Gotham-Light';
    color: white;
    touch-action: pan-y;
    padding: 0;
    margin: 0;
}

.uclaLogo{
    width: 70%;
}

.topdiv{
    margin-top: 5vh;
    margin-bottom: 5vh;
    /* flex: 1; */
    
}

#middlediv{
    display: flex;
    flex-direction: column;
    row-gap: 5vw;
    /* flex: 3; */
}

input[type=radio]{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    padding: 0;
}

#filterButtons{
    position: relative;
    /* bottom: 50px; */
    display: none;
}

.f1{
    background-image: url("../site_assets/f1-dark.png");
}
.f2{
    background-image: url("../site_assets/f2-dark.png");
}
.f3{
    background-image: url("../site_assets/f3-dark.png");
}
.f4{
    background-image: url("../site_assets/f4-dark.png");
}
.f5{
    background-image: url("../site_assets/f5-dark.png");
}


input:active + .filters{
    opacity: 0.9;
    /* background-color: #2774AB; */
}

input:checked + .filters{
    -webkit-filter: none;
    -moz-filter: none;
    filter: none;
}

input:checked + .f5{
    background-image: url(../site_assets/f5.png);
}

input:checked + .f1{
    background-image: url(../site_assets/f1.png);
}

input:checked + .f2{
    background-image: url(../site_assets/f2.png);
}

input:checked + .f3{
    background-image: url(../site_assets/f3.png);
}

input:checked + .f4{
    background-image: url(../site_assets/f4.png);
}

.filters{
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    width: 9vw; height: 9vw;
    -webkit-transition: all 100ms ease-in;
       -moz-transition: all 100ms ease-in;
            transition: all 100ms ease-in;
    -webkit-filter:  grayscale(1) opacity(.7);
       -moz-filter:  grayscale(1) opacity(.7);
            filter:  grayscale(1) opacity(.7);

}


label.filters{
    visibility: visible;
}

#retry{
    display: none;
    background-image: url("../site_assets/retry.png");
    /* transform: scaleX(-1); */
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    margin-top: 5vw;
    margin-left: 5vw;
    z-index: 9;
    border: none;
    border-radius: 5px;
    width: 20vw;
    height: 8vw;
    background-color: black;
    color: white;
    font-weight: 800;
    opacity: 0.5;
}

/* Bottom Div styling */

#bottomdiv{
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    /* padding-top: 5%; */
}

#camBtnHolder{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    vertical-align: middle;
}

#clickBtn{
    /* display: none; */
    background-image: url("../site_assets/captureBtn.png");
    background-color: #2774AB;
    background-repeat: no-repeat;
    background-position: center;
    /* opacity: 0.7; */
    width: 20vw;
    height: 20vw;
    background-size: 100%;
    border: none;
    border-radius: 50%;
}

#flipCamera{
    /* display: none; */
    position: absolute;
    left: 70%;
    /* top: 35%; */
    transform: translateY(40%);
    background-image: url("../site_assets/flipBtn.png");
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgba(255,255,255,0.5);
    /* opacity: 0.7; */
    width: 12vw;
    height:12vw;
    background-size: 50%;
    border: none;
    border-radius: 50%;
    /* float: right; */
}

#clickOk{
    display: none;
    width: 55%;
    height: 6vh;
    background-color: #EBBA5C;
    color: white;
    /* font-weight: 800; */
    font-size: medium;
    border: none;
    border-radius: 7px;
    margin: auto;
    font-family: 'Gotham-Bold';

}

.icon{
    width: 30%;
    margin-bottom: 1vh;
}

.action{
    display: none;
    width: 40%;
    
}

#upload{
    /* float: left; */
    width: 55%;
    margin: auto;
    padding-top: 10%;
    /* margin-left: 8%; */
}

#download{
    float: right;
    width: 40%;
    /* margin-right: 8%; */
}

.actionBtn{
    width: 100%;
    height: 6vh;
    /* background-color: #EBBA5C; */
    color: white;
    border: none;
    border-radius: 7px;
    font-size: medium;
    /* font-weight: 800; */
    letter-spacing: 0.05em;
    font-family: 'Gotham-Bold';
}

#uploadBtn{
    background-color: #69BCBA;
}

#uploadBtn:disabled{
    background-color: rgb(158, 158, 158);
}

#downloadBtn{
    background-color: #69BCBA ;
}


/* All styling for dialogue boxes */

dialog{
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    border: none;
    background-color: rgba(0, 59, 92, 0.9) ;
    font-family: 'Gotham-Medium';
    /* margin: auto; */
    padding: 0%;
    
}

#signupForm{
    position: relative;
    color: white;
}

label,input{
    display: flex;
    flex-direction: column;
    width: 70%;
    margin: auto;
    line-height: 3em;
}

input{
    /* margin: auto;
    width: 70%; */
    border: none;
    height: 30px;
    border-radius: 0.5em;
    background-color: rgba(255,255,255,0.44);
    color: white;
    text-indent: 5px;
}
::placeholder{
    color: white;
    opacity: 1;
}

#checkboxCont{
    width: 70%;
    margin: auto;
}

.tnclabel{
    font-size: x-small;
    text-align: left;
    margin-left: 4em;
}


#sweepstake {
    width: auto;
    position: relative;
    cursor: pointer;
    appearance: none;
    float: left;
  }
  
#sweepstake:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
    /* border: 1px solid #99AFC1; */
    border-radius: 3px;
    padding: 1px;
    background-color: rgba(255,255,255,0.44);
  }
  
#sweepstake:checked:before {
    background-color: rgba(255, 181, 28, 1);
  }
  
#sweepstake:checked:after {
    content: "";
    display: block;
    width: 10px;
    height: 18px;
    border: solid black;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 7px;
  }

#tnc{
    display: none;
    position: absolute;
    /* height: 50%; */
    top: 50%;
    left: 50%;
    text-align: center;
    border-radius: 10px;
    /* padding: 2em; */
    width: 80%;
    /* margin-left: 10%; */
    background-color: rgba(255,255,255,1);
    transform: translate(-50%, -50%);
}

#acceptBtn{
    width: 50%;
    background-color: #EBBA5C;
    margin-bottom: 30px;
}

#signupBtn{
    width: 35%;
    height: 4rem ;
    color: black;
    font-family: 'Gotham-Medium';
    /* font-size:medium; */
    background-color: rgba(255, 181, 28, 1);
    color: rgba(0, 59, 92, 1);
    /* font-weight: 800; */
}

label{
    visibility: hidden;
    text-align: left;
    font-size: x-small;
}

#uploadMsg{
    background-color: gray ;
    border-radius: 20px;
    width: 65%;
    min-height: fit-content;
    height:20%;
    overflow-wrap: break-word;
    border: none;
    color: white;
    font-size: large;
    font-family: 'Gotham-Medium';
    /* font-weight: 800; */
    /* display: flex; */
    
}

#uploadMsgText{
    text-align: center;
    /* padding: 20px; */
    /* margin: auto; */
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
}
