body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    text-align: center;
    color: #000000;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    margin: 0;
    min-width: 320px;
    height: 100%;
    /*background-image: linear-gradient(#2A9544, #127B3D);*/
    /*background-image: linear-gradient(-15deg, #FCED1E, #127B3D);*/
    background-image: url("../images/background_green.jpg");
}

.wrapper {
    display: flex;
    min-height: 100%;
    flex-direction: column;
}

.content {
    flex: 1;
}

h2 {
    font-size: 1.25em;
}

/*HEADER*/

.header {
    background-color: white;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 30px;
    opacity: .9;
    display: flex;
    justify-content: space-between;
}

.header_welcome_container {
    text-align: left;
    margin-left: 10%;
}

.header_welcome {
    font-size: 1em;
}

.header_prh {
    font-size: 1.5em;
    font-weight: 600;
}

/*FOOTER*/

.footer {
    background-color: white;
    color: #414e59;
    padding-top: 10px;
    padding-bottom: 10px;
    opacity: .9;
    font-size: .75em;
}

.logout_button {
    font-size: 1em;
    padding: 8px 20px;
    background-color: #127B3D;
    border: none;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: auto;
    margin-bottom: 10px;
    color: white;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*LOGIN*/

.login_inner_container {
    max-width: 975px;
    margin: auto;
    margin-bottom: 30px;
    /*background-image: linear-gradient(#2A9544, #127B3D);
    /*background-image: url("../images/background_green.jpg");*/
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 25px;
}

.login_container {
    background-color: #FFFFFF;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 50%;
    margin: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
}

.login_welcome_container {
    background-color: #FFFFFF;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 70%;
    margin: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
}

.login_outer {
    font-size: 1em;
    width: 80%;
    margin: auto;
    text-align: left;
    /*margin-bottom: 5%;*/
}

.login_box {
    margin: auto;
    margin-top: 5px;
    background-color: white;
    border: 1px solid #414e59;
    border-radius: 5px;
    padding-top: 5%;
    padding-left: 8%;
    padding-right: 8%;
    padding-bottom: 6%;

}

.login_form_element {
    margin-top: 10px;
    margin-bottom: 10px;

}

.login_label {
    text-align: left;
    font-size: .85em;
    margin-bottom: 4px;
}

.login_input {
    font-size: 1.15em;
    padding: 8px 10px;
    box-sizing: border-box;
    border: 1px solid #414e59;
    border-radius: 5px;
    width: 100%;
}


.login_button,
.login_button_disabled {
    font-size: .85em;
    padding: 8px 20px;
    background-color: #127B3D;
    border: none;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.login_button_disabled {
    background-color: #CCCCCC;
}

.login_error_msg {
    color: crimson;
    font-size: .75em;
    margin-top: 4px;
    height: 20px;
}

.play_button {
    font-size: 1.25em;
    background-color: #FDF58E;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: 180px;
    height: 60px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
}

.game_info {
    font-size: .9em;
    text-align: left;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 30px;
}

.game_panel {
    margin: auto;
    width: 80%;
}

.game_title {
    margin: auto;
    margin-bottom: 30px;
}

.game_title img {
    width: 350px;
}

.game_board_container {
    border-radius: 5px;
    background: #ffffff;
    /*background: #2C353E;*/
    padding: 2px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 90%;
}

.game_board_container table {
    width: 100%;
    /*border-spacing: 2px;*/
    border-spacing: 5px;
    table-layout: fixed;
}

.game_board_container table th {
    color: #2C353E;
}

.round_complete_container {
    padding-left: 10px;
    padding-right: 10px;
}

.round_complete_text {
    font-size: 1.5em;
    font-weight: 800;
    color: white;
    margin-top: 40px;
    margin-bottom: 40px;
}

.board_category {
    background: #FDF58E;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25), 0 0px 0px 0 rgba(0, 0, 0, 0.19);
    border: 2px solid #26A33B;
    border-radius: 2px;
    height: 50px;
    padding: 5px;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.board_category_label {
    font-size: 1em;
    line-height: 110%;
    padding: 5px;
    width: 100%;
    margin: auto;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.board_question,
.board_question_disabled {
    font-family: serif;
    font-size: 1.5em;
    letter-spacing: 1px;
    border-radius: 2px;
    background-image: linear-gradient(45deg, #2A9544, #127B3D);
    color: white;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    border: 3px solid #0C6A33;
    width: 100%;
    height: 100%;
    cursor: pointer;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.board_question:hover {
    border: 3px solid #3CB859;
    color: #FDF58E;
}

.board_question_disabled {
    color: #ffffff;
    opacity: 0.5;
    cursor: default;
}

.score_outer_box {
    margin: auto;
    height: 40px;
    max-width: 300px;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 15px;
    box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.19);
}

.score_left_box {
    height: 100%;
    background-color: #FDF58E;
    font-size: 1.15em;
    float: left;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 40px;
    border-radius: 5px;

}

.score_right_box {
    height: 100%;
    padding-left: 50px;
    padding-right: 20px;
    text-align: right;
    background-color: white;
    font-size: 1.15em;
    font-weight: 800;
    line-height: 40px;
    border-radius: 5px;

}

.question_dialog {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 0px;
    max-width: 400px;
    background-color: white;
    border-radius: 5px;
}

.question_dialog_header {
    color: white;
    background-image: linear-gradient(#2A9544, #127B3D);
    height: 60px;
    padding-top: 10px;
    padding-bottom: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 20px;
}

.question_dialog_header_category {
    font-size: 1.05em;
    line-height: 175%;
}

.question_dialog_header_price {
    font-size: 2em;
    font-weight: 800;
    font-family: serif;
    letter-spacing: 1;
}

.question_dialog_title {
    font-size: 1.05em;
    margin: 15px;
    line-height: 110%;
    color: 000000;
    font-style: italic;
}

.question_dialog_content {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
    background: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.question_dialog_header_wager {
    font-size: 1.5em;
    line-height: 60px;
    font-weight: 800;
}

.wager_element_title {
    font-size: 1.15em;
    padding-top: 30px;
    padding-bottom: 10px;
}

.question_dialog_wager_input {
    margin-bottom: 5px;
    color: #000000;
    border-radius: 5px;
    border-width: 0px;
    border: solid 2px #127B3D;
    font-size: 1em;
    padding: 8px 10px;
    box-sizing: border-box;
    width: 90%;
    height: 50px;
}

.question_dialog_wager_play {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.15em;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #127B3D;
    color: #ffffff;
    border-radius: 5px;
    border: 0;
    font-weight: 800;
    cursor: pointer;
}

.question_dialog_wager_play_disabled {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.15em;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #cccccc;
    color: #777777;
    border-radius: 5px;
    border: 0;
    font-weight: 800;
    cursor: default;
}

.question_dialog_current_score {
    margin-top: 10px;
    font-size: 1.5em;
}

.question_dialog_wager_footer {
    font-size: .8em;
}

.question_dialog_wager_hrule {
    width: 90%;
    margin-top: 10px;
    background-color: #127B3D;
}

.question_timer {
    height: 40px;
    width: 100%;
    position: relative;
}

.timer_background {
    background: white;
    border-radius: 5px;
    height: 100%;
    width: 100%;
    position: absolute;
    box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0.2), 0 0 5px 0 rgba(0, 0, 0, 0.19);
}

.timer_foreground {
    background: #F9EC23;
    border-radius: 5px;
    height: 100%;
    width: 100%;
    position: absolute;
    box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0.2), 0 0 5px 0 rgba(0, 0, 0, 0.19);

}

.answer_button,
.answer_button_disabled,
.answer_button_correct,
.answer_button_incorrect {
    background-color: #127B3D;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    height: auto;
    min-height: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    border: 3px solid #127B3D;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.answer_button:hover {
    border: 3px solid #FDF58E;
}

.answer_button_disabled {
    border: 3px solid #cccccc;
    background-color: #cccccc;
    color: #777777;
    cursor: default;
}

.answer_button_correct {
    border: 3px solid #3CB859;
    cursor: default;
}

.answer_button_incorrect {
    border: 3px solid #C63B3B;
    background-color: #cccccc;
    cursor: default;
    color: #C63B3B;
}

.close_question_button {
    color: white;
    background: #127B3D;
    border-radius: 5px;
    height: 100%;
    width: 100%;
    border: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0.2), 0 0 5px 0 rgba(0, 0, 0, 0.19);
    font-size: 1.05em;
}

.thank_you_text {
    font-size: 1.15em;
    color: #ffffff;
}

.thank_you_text a {
    color: #FDF58E;
}

.outer {
    display: table;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #00000080;

    /* Safari, Chrome and Opera > 12.1 */
    -webkit-animation: fadein 0.25s;

    /* Firefox < 16 */
    -moz-animation: fadein 0.25s;

    /* Internet Explorer */
    -ms-animation: fadein 0.25s;

    /* Opera < 12.1 */
    -o-animation: fadein 0.25s;
    animation: fadein 0.25s;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}




@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*VIDEO*/

.video_wrapper {
    position: relative;
    margin-top: 5px;
    padding-bottom: 56.25%;
    /* 16:9 */
    width: 100%;
    height: 0;
    overflow: hidden;
}

.video_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*MEDIA TAGS*/

@media only screen and (max-width: 650px) {

    .login_container {
        width: 90%;
    }

    .login_outer {
        width: 90%;
    }

    .login_welcome_container {
        width: 90%;
    }

    .game_panel {
        width: 100%;
    }

    body {
        font-size: 14px;
    }

    .board_question,
    .board_question_disabled {
        font-size: 1.10em;
    }

    .board_category_label {
        font-size: .70em;
    }

    .game_board_container table {
        border-spacing: 2px;
    }

    .answer_button:hover {
        border: hidden;
    }

}

@media only screen and (max-width: 415px) {

    .header {
        margin-bottom: 0;
    }

    .game_title {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .game_title img {
        width: 250px;
    }

    .game_board_container {
        width: 98%;
    }

    .question_dialog_header {
        padding-bottom: 10px;
    }

    .board_question,
    .board_question_disabled,
    .board_category {
        padding-left: 2px;
        padding-right: 2px;
    }
}

@media only screen and (max-width: 374px) {

    .header_welcome_container {
        margin-left: 10px;
    }

    .game_board_container {
        width: 98%;
    }

    .board_question,
    .board_question_disabled,
    .board_category {
        padding-left: 0;
        padding-right: 0;
        letter-spacing: 0;
    }

    .game_board_container table {
        border-spacing: 1px;
    }

}
