html, body {
    height: 100%;
    user-select: none;
}

body {
    background-color: #242424;
    color: #FFFFFF;
    font-family: "Grobold";
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

th {
    font-weight: normal !important;
}

b {
    font-weight: normal !important;
}

/*
    Inputs
*/
input, button, .custom_button, .custom_field {
    color: #000;
    font-size: 22px;
}

input:disabled, button:disabled, .custom_button:disabled, .custom_field:disabled {
    cursor: not-allowed !important;
    color: #BBBBBB !important;
}

/*
    Buttons
*/
input[TYPE=SUBMIT], input[TYPE=BUTTON], button, .custom_button {
    padding: 20px;
    background-color: #EA581A;
    color: #FFFFFF;
    border-radius: 10px;
    margin: 20px;
    border: none;
    transition: background .5s ease-in-out;
    background-image: linear-gradient(to right, #EA581A 33.33%, #F8C115, #EA581A 66.66%);
    background-size: 300%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Animate */
input[TYPE=SUBMIT].animate, input[TYPE=BUTTON].animate, button.animate, .custom_button.animate {
    background-position: 100% 0;
}

/* Danger */
input[TYPE=SUBMIT].danger, input[TYPE=BUTTON].danger, button.danger, .custom_button.danger {
    background-image: linear-gradient(to right, #C90E0E 33.33%, #F75858, #C90E0E 66.66%);
}

/* Selected */
input[TYPE=SUBMIT].selected, input[TYPE=BUTTON].selected, button.selected, .custom_button.selected {
    box-shadow: inset 0px 0px 0px 5px #FFFFFF;
}

/* Hovering */
input[TYPE=SUBMIT]:hover, input[TYPE=BUTTON]:hover, button:hover, .custom_button:hover {
    box-shadow: inset 0px 0px 0px 5px #FFFFFF !important;
}

/* Disabled */
input[TYPE=SUBMIT].disabled, input[TYPE=BUTTON].disabled, button.disabled, .custom_button.disabled {
    color: #777777 !important;
    background: #444444 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

/* Disabled image */
button.disabled img, .custom_button.disabled img {
    filter: grayscale(1);
}

/*
    Fields
*/
input[TYPE=TEXT], input[TYPE=PASSWORD], input[TYPE=TEL], .custom_field {
    background-color: #FFFFFF;
    border: none;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    border: 4px solid #242424;
}

input[TYPE=TEXT]:focus, input[TYPE=PASSWORD]:focus, input[TYPE=TEL]:focus, .custom_field:focus {
    box-shadow: 0px 0px 0px 4px #EA581A;
}

input[TYPE=TEXT].error, input[TYPE=PASSWORD].error, input[TYPE=TEL].error, .custom_field.error {
    box-shadow: 0px 0px 0px 4px #C90E0E;
}

input[TYPE=TEXT]::placeholder, input[TYPE=PASSWORD]::placeholder, input[TYPE=TEL]::placeholder, .custom_field::placeholder {
    color: #dddddd;
    opacity: 1;
}

a {
    color: #EA581A;
    font-family: SourceSansPro;
}

a:hover {
    color: #EA581A;
    text-decoration: underline;
}

.loading_animation_container {
    position: relative;
    margin: auto;
    width: 198px;
    top: 150px;
}

.loading_status {
    font-size: 30px;
    margin-top: 40%;
    float: left;
    text-align: center;
    width: 100%;
}

.loading_animation {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.2;
}

.loading_animation img {
    position: absolute;
    left: 0;
    top: 0;
    width: 198px;
    filter: grayscale(100%);
}

.liner-text {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid white;
    line-height: 1px;
    margin: 10px 0 30px;
    font-family: Montreal-Heavy;
}

.liner-text span {
    background: #242424;
    padding: 0 10px;
}

.wrappable-liner-text {
    width: 100%;
    text-align: center;
    display: inline-block;
    position: relative;
    margin: 10px 0 30px;
}

.wrappable-liner-text .line-container {
    position: absolute;
    top: 50%;
    height: 2px;
    width: 100%;
    background-color:white;
}

.wrappable-liner-text .text-container {
    background: #242424;
    position: relative;
    display: inline-block;
    max-width: 60%
}

.wrappable-liner-text span {
    background: #242424;
    position:relative;
    padding: 0 10px;

}

.custom_select {
    background: #EA581A;
    color: #FFF;
    border-radius: 5px;
    padding: 10px;
    font-family: "Grobold";
    border: none;
    font-size: 20px;
    height: 50px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    padding-right: 40px !important;
    background-image: url('/booking/assets/chevron-down-solid.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center right 10px !important;
    background-size: 20px !important;
}

.custom_select.error {
    box-shadow: 0px 0px 0px 2px red;
}

.custom_select::-ms-expand {
    display: none;
}

.custom_select:disabled {
    background: #AAA !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

.custom_select:hover {
    cursor: pointer;
    box-shadow: inset 0px 0px 0px 7.5px rgba(0, 0, 0, 0.1);
}

#giftcards_backoffice {
    position: absolute;
    margin: 0;
    left: 20px;
    top: 20px;
    z-index: 100000000000;
}

#progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #EA581A;
    transition: 1s;
}

#flow_container {
    width: 100%;
    overflow: hidden;
    transform-origin: 50% 0;
    transition: 0.2s all;
}

#timer {
    position: absolute;
    top: 70px;
    right: 50px;
    font-size: 30px;
    font-family: 'Montreal-Heavy';
    color: #C90E0E;
    z-index: 100000;
}

#timer:hover {
    text-decoration: underline;
    cursor: pointer;
}

.game .available {
    text-align: right;
    float: right;
}

.game {
    width: calc(25% - 20px);
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 10px;
    text-align: center;
    margin: auto;
    margin: 10px;
    padding: 10px;
    text-shadow: 0px 0px 5px #000000;
    cursor: pointer;
    float: left;
    height: 105px;
}

.game.hidden {
    cursor: default;
    opacity: 0.1;
    transition: opacity linear 0.15s;
}

.game.hidden:hover {
    transform: scale(1);
}

.game:hover {
    transform: scale(1.03);
}

.game.selected {
    box-shadow: inset 0px 0px 0px 5px #FFFFFF;
}

.game.unselected {
    opacity: 0.5;
}

.game.greyed {
    opacity: 0.1;
}

.game.striped {
    background-image: none !important;
    background: repeating-linear-gradient(
        45deg,
        #4e4e4e,
        #4e4e4e 10px,
        #333333 10px,
        #333333 20px
    ) !important;
}

.game.disabled {
    background-color: #4e4e4e !important;
    cursor: not-allowed !important;
}

.game.disabled:hover {
    transform: none !important;
}

.gamemodes_timeline {
    margin-top: 15px;
    margin-bottom: 0px;
    width: 100%;
    padding: 5px;
}

.gamemodes_timeline .gamemode_round {
    height: 20px;
}

.gamemodes_timeline .gamemode_round img {
    height: 30px;
}

.preset .gamemodes_timeline .gamemode_round {
    height: 30px;
}

.preset .gamemodes_timeline .gamemode_round img {
    height: 40px;
}

.preset .gamemodes_timeline {
    height: 40px;
}

.game_time {
    display: block;
    font-size: 25px;
    width: 100%;
}

.game_text {
    width: 100%;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 20px;
    height: 30px;
    font-family: SourceSansPro;
}

.game.striped .game_text, .game.disabled .game_text {
    color: red;
}

.mode-preview {
    width: 100%;
    float: left;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    cursor: pointer;
    transition: 0.1s;
}

.mode-preview-iframe {
    width: 100%;
    margin-bottom: 20px;
    height: 315px;
    border-radius: 10px;
}

.mode-preview-header-modal {
    display: block;
    margin: auto;
    float: left;
    width: 100%;
}

.mode-preview-intro-modal {
    float: left;
    margin: 0;
    text-align: left;
}

.mode-preview-text-modal {
    display: block;
    height: 60px;
    float: left;
    margin-left: 20px;
}

.mode-preview-icon-modal {
    display: block;
    height: 60px;
    float: left;
}

.mode-preview:hover {
    transform: scale(1.03);
}

.mode-preview-icon, .mode-preview-text, .mode-preview-amount {
    float: left;
    height: 80px;
    margin: 0;
    display: block;
}

.mode-preview-amount {
    font-size: 60px;
    margin-left: 10px;
    margin-right: 20px;
    width: 100px;
}

.mode-preview-text {
    margin-left: 20px;
}

.mode-preview i {
    float: right;
    display: block;
    font-size: 80px;
    line-height: 80px;
}

.mode-preview-description {
    font-size: 14px;
}

#games_content {
    width: 88%;
    margin-left: 6%;
    margin-right: 6%;
    margin-top: 50px;
    float: left;
}

#presets_games_content {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    float: left;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
}

#height_confirmation_checkbox, #center_confirmation_checkbox {
    font-size: 25px;
    font-family: "SourceSansPro";
    margin-bottom: 40px;
    margin: auto;
    display: inline-block;
}

#height_confirmation_checkbox p, #center_confirmation_checkbox p {
    display: inline-block;
}

#switch_center {
    font-size: 25px;
    font-family: "SourceSansPro";
    margin-bottom: 60px;
    display: inline-block;
}

.datepicker--cell.halloween-day .datepicker-pumpkin-svg {
    width: 12px;
    height: 12px;
    color: #EA581A;
    margin-left: 2px;
    top: -10px;
    position: relative;
}

.pumpkin-description .datepicker-pumpkin-svg  {
    width: 20px;
    color: #EA581A;
}

.pumpkin-description {
    display: flex;
    justify-content: center;
}

.pumpkin-description p {
    margin: auto 0;
    font-family: "Source-Sans", sans-serif;
}
