@font-face {
    font-family: 'roboto';
    src: url('../fonts/roboto.ttf') format('truetype');
}

@font-face {
    font-family: 'roboto thin';
    src: url('../fonts/Roboto-Thin.ttf') format('truetype');
}

body {
    margin: 0;
    font-family: "roboto";
    background-color: black;
    position: relative;
    height: 100vh;
    user-select: none;
    -webkit-user-select: none;
    /* webkit (safari, chrome) browsers */
    -moz-user-select: none;
    /* mozilla browsers */
    -khtml-user-select: none;
    /* webkit (konqueror) browsers */
    -ms-user-select: none;
}

#main-section {
    background: rgba(0, 0, 0, 1);
    background-size: cover;
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: hidden;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#controls {
    position: absolute;
    height: 100%;
    width: 30%;
    border-right: 0.18vw solid #403f3f;
    left: 0;
    text-transform: uppercase;
    background-color: #252525;
    box-sizing: border-box;
}

#results {
    position: absolute;
    right: 0;
    width: 70%;
    height: 100%;
    background-color: #171616;
}

#shadow-overlay {
    position: absolute;
    pointer-events: none;
    height: 100%;
    width: 100%;
    left: 0;
    -webkit-box-shadow: inset 53px 0px 98px -20px rgba(0, 0, 0, 0.81);
    -moz-box-shadow: inset 53px 0px 98px -20px rgba(0, 0, 0, 0.81);
    box-shadow: inset 53px 0px 98px -20px rgba(0, 0, 0, 0.81)
}

#controls-wrapper {
    position: absolute;
    width: 90%;
    left: 5%;
    height: 80%;
    top: 10%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.control-option,
input[disabled],
textarea[disabled],
select[disabled='disabled'],
.control-option[disabled] {
    -webkit-text-fill-color: white;
    opacity: 1;
    color: white;
    text-align: center;
    background-color: #3e3e3e;
    font-size: 1.9vw;
    line-height: 2.5vw;
    cursor: pointer;
    border: 2.85px solid rgba(255, 255, 255, 0.8);
    border-radius: 5px;
}

.control-title {
    font-size: 2vw;
    margin: 5% 0 5% 0;
    color: white;
}

.dropdown-item {
    cursor: pointer;
    text-decoration: none;
    display: block;
}

#datepicker {
    user-select: none;
    -webkit-user-select: none;
    /* webkit (safari, chrome) browsers */
    -moz-user-select: none;
    /* mozilla browsers */
    -khtml-user-select: none;
    /* webkit (konqueror) browsers */
    -ms-user-select: none;
}

#games {
    /*width: 100%;*/
    text-align: center;
    color: white;
    background-color: #3e3e3e;
    border: none;
    font-size: 1.9vw;
    line-height: 2.5vw;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    /* webkit (safari, chrome) browsers */
    -moz-user-select: none;
    /* mozilla browsers */
    -khtml-user-select: none;
    /* webkit (konqueror) browsers */
    -ms-user-select: none;
}

#game-input {
    position: fixed;
    cursor: pointer;
}

.show {
    display: block !important;
}

.dropdown-content {
    display: none;
    /*position: absolute;*/
    position: fixed;
    z-index: 1;
    color: white;
    background-color: #3e3e3e;
    border: 2.85px solid rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    /*left: 0;*/
    max-height: 25%;
    /*width: 100%;*/
    text-align: center;
    font-size: calc(1vmax + 1vmin);
    line-height: calc(1.7vmax + 1.8vmin);
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: inset 0 0 6px black;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    cursor: pointer;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #636363;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
    background: #333333;
}

.button {
    border: 2.85px solid rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2vw;
    padding-top: 0.7vw 0 0.7vw 0;
    position: absolute;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.button:active {
    background: rgba(255, 255, 255, 0.5) !important;
    -webkit-transition: background-color 0.5s ease;
    -moz-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
    transition-duration: 0.2s;
    -ms-transition-duration: 0.2s;
    transform: scale(0.95);
    -ms-transform: scale(0.95);
    -webkit-transition-duration: 0.2s;
    -webkit-transform: scale(0.95);
    -moz-transition-duration: 0.2s;
    -moz-transform: scale(0.95);
    -o-transition-duration: 0.2s;
    -o-transform: scale(0.95);
}

#resolve-list {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.res-row:nth-child(even) {
    background-color: #101010;
}

.res-row:nth-child(odd) {
    background-color: black;
}

#res-wrapper {
    position: absolute;
    left: 3%;
    top: 10%;
    width: 94%;
    height: 80%;
    overflow: auto;
    border: 1px solid #505050;
}

.res-row {
    color: white;
    border-bottom: 1px solid #505050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.res-row th {
    width: 16.5% !important;
    text-align: center;
    font-size: 1.2vw;
    word-break: break-all;
    overflow: auto;
    /* border-left: 1px solid #505050; */
    font-family: 'roboto thin';
}

.res-row th:nth-child(1) {
    border-left: none;
}

.res-row.normal th {
    height: 3.3vw;
    align-items: center;
    justify-content: center;
    display: flex;
}

.res-button {
    position: relative;
    font-size: 1.2vw;
    border: 1px solid white !important;
    /* padding: 0.3vw 1vw; */
    max-width: 66%;
    padding: 3%;
    margin: 5% auto;
}

#buttons {
    margin: 10% 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center
}

#buttons div {
    width: 47%;
    font-size: 1.4vw;
    position: relative;
}

#message {
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2.5vw;
}

#datepicker-overlay {
    position: fixed;
    opacity: 0;
    cursor: pointer;
}

.ui-widget.ui-widget-content {
    /*min-width: 23.5%;*/
    background-color: rgb(62, 62, 62);
}

.ui-timepicker.ui-widget {
    display: flex !important;
    border: none !important;
    background-color: rgb(187, 187, 187);
    font-size: calc(1vmax + 1vmin);
}

.ui-timepicker-viewport>ui-menu-item>a {
    color: white;
}

.ui-datepicker table {
    color: white;
}


/* LOADING */

#loading-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #171616;
}