@font-face {
    font-family: BebasNeue Bold;
    src: url(fonts/BebasNeue_Bold.otf);
}

@font-face {
    font-family: BebasNeue Regular;
    src: url(fonts/BebasNeue_Regular.otf);
}

@font-face {
    font-family: FontAwesome;
    src: url(fonts/fa-solid-900.ttf);
}

html, body {
    height: 99%;
    background-color: #2e2e2e;
    overflow-y: scroll;
}

body {
    font-family: BebasNeue Regular;
    color: white;
    width: 99%;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
}

main {
    height: 100%;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start safe;
}

button:focus {
    outline: 0;
}

button:hover {
    cursor: pointer;
}

/*LOADER CSS*/
#loader {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 20;
}
#spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid rgba(136, 133, 131, 0.425);
    border-radius: 50%;
    border-top: 16px solid #ed7303;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/*LOGIN VIEW CSS*/

.login-View {
    background-color: #262626;

    border-radius: 25px;
    height: 26.8125em;
    width: 26.25em;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;

    padding: 1%;

    margin-top: 7%;

    align-self: center;
}

.login-View * {
    align-self: center;
}

.login-View .img-container {
    max-width: 8.5625em;
}

.login-View .img-container img {
    width: 100%;
}

.login-View p {
    font-size: 2em;
}

.login-View #username input, .login-View #password input {
    width: 12.3em;
    height: 2em;

    margin-bottom: 0.3125em;

    border-radius: 0.4375em;

    padding-left: 1em;

    font-family: BebasNeue Regular, FontAwesome;
    font-size: 1.5em;
}

.login-View button {
    background-color: #ed7303;
    color: white;
    border: none;
    font-size: 1.6em;
    font-family: BebasNeue Bold;

    width: 8em;
    height: 1.4em;

    border-radius: 7px;

    margin-top: 0.375em;
    align-self: center;
}

.login-View button:hover {
    background-color: #cc6302;
}

.login-View button:active {
    background-color: #cc6302;
    color: #262626;
}

/*END OF LOGIN VIEW CSS************************************************************************************* */

#indexHeader {
    max-height: 35%;
    width: 100%;
    display: none;
    justify-content: space-between;
    flex-direction: row;
}

.titleSpan {
    flex: 1;
}

.titleSpan .imgWrapper {
    height: 70%;
    width: 32%;
}

.titleSpan img {
    width: 100%;
}

.titleSpan p {
    font-family: BebasNeue Bold;
    font-size: 230%;
    padding-bottom: 50%;
}

#festivalDropdown {
    font-family: BebasNeue Regular;
}

.classificationSpan {
    margin: 0 5% 0 0;
    flex: 2;
}

.classificationSpan .colorRowClassifications {
    display: flex;
    justify-content: space-between;
}

.colorRowClassifications .colorClassification {
    font-size: 110%;
}

.classificationSpan .topRowClassifications {
    display: flex;
    justify-content: space-between;
}

.topRowClassifications .classificationHeader {
    font-size: 120%;
    margin-top: 0;
}

.topRowClassifications .classificationExplanation {
    margin: 0;
}

.classificationSpan .bottomRowClassifications {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.bottomRowClassifications p, .bottomRowClassifications i {
    display: inline-block;
}

.bottomRowClassifications p {
    margin-left: 5px;
}

.banner {
    background-color: #262626;

    width: 100%;
}

#dayButtons, #bannerbuttons {
    position: relative;

    left: 2%;
}

.dayBtn, .bottomBanner button {
    background-color: transparent;
    border-color: transparent;
    color: white;

    font-size: 1.5em;

    margin: 1em;
    padding-left: 0.2em;
    padding-right: 0.6em;

    position: relative;
}

#bannerButtons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#bannerButtonsLeft {
    flex: 3;
}

#bannerButtonsRight {
    flex: 1;
}

.dayBtn:hover, .dayBtn:active, .active, .bottomBanner button:hover, .bottomBanner button:active {
    background-image: url('../pictures/daybtnPaintBack.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.dayBtn:active, .active, .bottomBanner button:active {
    color: #2e2e2e;
}

.dayBtn:disabled, .event-area-btn:disabled{
    cursor: not-allowed;
    color:#575252;
}

.icon {
    font-size: 1.5em;
}

.bottomBanner {
    margin-top: 0.8em;
}

.bottomBanner button {
    font-family: BebasNeue Regular;
    font-size: 1.2em;
}

.dayBtn {
    font-family: BebasNeue Regular;
}

/*MODAL WINDOWS*/
.modalWindow {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

    font-size: 120%;
}

.messageModalWindow {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */

    font-size: 120%;
}

.modalWindow .modalContent {
    background-color: Black;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 20px;
    border-radius: 4px;
    border: 2px solid white;
    width: 50%; /* Could be more or less, depending on screen size */
    max-width: 450px;
    overflow: hidden;
}

.messageModalContent {
    background-color: white;
    color: black;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 5px;
    border-radius: 4px;
    border: 2px solid red;
    width: 40%; /* Could be more or less, depending on screen size */
    max-width: 450px;
    overflow: hidden;
}

.modalWindow .modalContent h2, .modalWindow .modalContent h3 {
    text-align: center;
    vertical-align: middle;
}

.modalWindow .modalContent button, .messageModalContent button {
    background-color: #ed7303;
    color: white;
    border-radius: 7px;
    border: 1px solid transparent;
    font-family: BebasNeue Regular;
}

.modalWindow .modalContent p {
    margin-bottom: 0;
}

.modalWindow .modalContent .paperclip, 
.modalWindow .modalContent select, 
.modalWindow .modalContent input {
    font-family: BebasNeue Regular, FontAwesome;
}

.modalWindow .modalContent .filesContainer {
    margin-top: 10px;
    width: 100%;
    display: flex;
    overflow: hidden;
    padding-top: 10px;
}

.modalWindow .modalContent .eventFiles {
    /*margin-right: 40%;
    */width: 60%;
    flex: 1;
}

.modalWindow .modalContent .attach {
    flex: 0 0 35%;
}

.modalWindow .modalContent .attach .addFileButton {
    background-color: transparent;
    opacity: 0;
    z-index: 2;
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
}

.modalWindow .modalContent .attach .paperclip {
    position: relative;
}

.modalWindow .modalContent .attach .paperclip p {
    z-index: 1;
    margin: 0;
    font-size: 120%;
}

.modalWindow .modalContent .fileLine {
    display: flex;
}

.modalWindow .modalContent .fileName {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modalWindow .modalContent .deleteFileButtonContainer {
    float: right;
    width: 30px;
}

.modalWindow .modalContent .deleteFileButtonContainer button,
.modalWindow .modalContent .attach button {
    background-color: transparent;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
}

.modalWindow .modalContent .deleteFileButtonContainer button:hover,
.modalWindow .modalContent .attach button:hover {
    color: #ed7303;
}

.modalWindow .modalContent .modalButtonsContainer {
    margin-top: 20px;
    float: right;
}

.modalWindow .modalContent .modalButtonsContainer button {
    font-size: 130%;
}

.modalWindow .modalContent .modalButtonsContainer .okButton:hover {
    background-color: #af5502;
}
.modalWindow .modalContent .modalButtonsContainer .okButton:active {
    color: black;
}

.modalWindow .modalContent .modalButtonsContainer .cancelButton, 
.modalWindow .messageModalContent .modalButtonsContainer .cancelButton {
    background-color: transparent;
    margin-right: 15px;
}

.modalWindow .modalContent .modalButtonsContainer .cancelButton:hover,
.modalWindow .messageModalContent .modalButtonsContainer .cancelButton:hover {
    box-shadow: 0 0px 21px 0 rgba(156, 155, 155, 0.45);
}

.classification {
    text-align: right;
}

.classification {
    text-align: right;
}

.textWrapper p {
    display: inline;
}

.textWrapper {
    padding-top: 20px;
    padding-bottom: 5px;
}

#addEventNameInput, #newAreaInput, #newUserNameInput, #newUserEmailInput {
    width: 99%;
}

.modalRightSide {
    float: right;
    text-align: right;
}

.modalLeftSide {
    float: left;
    text-align: left;
}

.modalMainWrapper {
    display: inline-block;
    width: 100%;
}

#aaSelectorWrapper {
    width: 100%;
}

#addAreaDateChecklist .addAreaCheckboxLine, #removeAreaDateContainer>div {
    padding: 0px;
}

#fetchLogsButton {
    margin-left: 1.5em;
}

#logViewTable {
    width: 100%;
    background-color: white;
    color: black;
}

#tableWrapper {
    margin-top: 1em;
    max-height: 40vh;
    overflow-y: auto;
}

#logViewTable th {
    border: 0px solid transparent;
    background-color: rgb(94, 92, 92);
}

#logViewTable th:nth-child(odd) {
    background-color: rgb(58, 57, 57);
}

#logViewTable td:nth-child(odd) {
    background-color: lightgray;
}

#logViewTable td {
    overflow-x: auto;
}

.pdfViewBody {
    position: relative;
}

.pdfArrows {
    position: absolute;
    top: 50%;
    height: 100%;
    margin-top: -50px;
    font-size: 150%;
}

.leftArrow {
    left: 0;
}

.rightArrow {
    right: 0;
}

.pdfViewBody div {
    display: inline;
}

.pdfMainContainer {
    max-width: 90%; 
    max-height: 100%;
    min-height: 60vh;
    overflow: scroll;
}

.pdfMain {
    max-width: 90%; 
    max-height: 100%;
    min-height: 60vh;
}

.pdfViewBody .downloadWrapper {
    display: block;
    align-content: center;
}

.pdfViewBody .downloadWrapper #downloadFileButton {
    width: 100%;
    color: #ed7303;
}

.pdfViewBody .downloadWrapper #downloadFileButton:hover, .pdfViewBody,
#imageViewerModal .modalContent #resizeButton {
    color: #af5502;
    cursor: pointer;
}

#noEventsMessage {
    display: "none";
    justify-content: center;
    font-size: 400%;
}

.eventCheckboxes .highEnergyCheckline {
    padding: 0;
}

#viewLoginsModal .modalContent {
    max-width: 90%;
}

#contactInfo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contactInfo .img-wrapper, #contactInfo .a-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-self: center;
    max-width: 50%;
}

#contactInfo img {
    max-height: 40px;
}

#contactInfo a {
    color: white;
    text-decoration: none;
    margin: 0% 1%;
    white-space: nowrap;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
