﻿body {
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size:medium;
}

.container {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.grid-container {
    display: grid;
    background-color:transparent;
}


#div-action-grid {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 800px;
    height: 100px;
    border-radius: 3px;
}
.quizBodyTextArea {
    background-color: wheat;
    width: 200px;
    min-height: 100px;
    margin-left: auto;
    margin-right: auto;
}

.trumbowyg-box {
    min-height: 20px;
    min-width: 100px;
}

.trumbowyg-editor {
    min-height: 20px;
    min-width: 100px;
    padding:10px;
}
.trumbowyg-button-pane {
    min-height: 0px;
    height: 0px;
}


.quizLabel {
    display: inline-block;
    background-color: azure;
    text-align: right;
}

.quizLabelVertical {
    writing-mode: tb-rl;
    display: inline-block;
    bottom: 0;
}
* {
    box-sizing: border-box;
}

body {
  margin: 0;
}


/* Style the top navigation bar */
.topnav {
    overflow: hidden;
    background-color: #333;
}

/* Style the topnav links */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Create three equal columns that floats next to each other */
.column {
    float: left;
    width: 33.33%;
    padding: 15px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
    .column {
        width: 100%;
    }
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
    font-size:smaller;
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -110px;
        /* Fade in tooltip */
        opacity: 0;
        transition: opacity 0.3s;
        font-size:smaller
    }

        /* Tooltip arrow */
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 90%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

/* Modal Header */
.modal-header {
    padding: 2px 16px;
    background-color: deepskyblue;
    color: white;
    display:block;
}

/* Modal Body */
.modal-body {
    padding: 2px 16px;
    width:100%;
}

/* Modal Footer */
.modal-footer {
    padding: 2px 16px;
    background-color: deepskyblue;
    color: white;
    position:absolute;
    bottom:0px;
    width:100%
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    opacity:0.8
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 200px;
        opacity: 0.8
    }
}


@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}
/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.multipleChoiceQuestion {
    font-size:28px;
    font-weight:bold;
    padding:12px 16px 16px 10px;
    vertical-align:text-top;
}
.multipleChoiceOption {
    font-size: 22px;
    padding: 6px 16px 3px 12px;
    vertical-align:top;
}
.multipleChoiceAnswer {
    padding: 24px 16px 3px 12px;
}

.quizOptionText {
    padding: 6px 16px 3px 12px;
}

.quizOptionText:hover, .quizOptionText:active {
    background-color: lightcyan;
    cursor: pointer;
}

@media (hover: none) {
    .quizOptionText:hover, .quizOptionText:active {
        background-color: inherit;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    grid-gap: 10px;
    padding: 10px;
}

.reward-container {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    grid-gap: 10px;
    padding: 10px;
}

.rewardName {
    font-size:2vw;
}

.rewardCount {
    font-size:3vw;
}

.flashyText {
    text-align: center;
    font-size: 5vw;
    color:goldenrod;
    font-weight: 700;
    text-transform: uppercase;
    animation: blur 1.25s ease-out infinite;
    text-shadow: 0px 0px 5px #fff, 0px 0px 7px #fff;
}

@keyframes blur {
    from {
        text-shadow: 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 25px #fff, 0px 0px 25px #fff, 0px 0px 25px #fff, 0px 0px 25px #fff, 0px 0px 25px #fff, 0px 0px 25px #fff, 0px 0px 50px #fff, 0px 0px 50px #fff, 0px 0px 50px #7B96B8, 0px 0px 150px #7B96B8, 0px 10px 100px #7B96B8, 0px 10px 100px #7B96B8, 0px 10px 100px #7B96B8, 0px 10px 100px #7B96B8, 0px -10px 100px #7B96B8, 0px -10px 100px #7B96B8;
    }
}

.cool-link {
    animation-name: cool-link-animation;
    animation-duration: 5s;
    animation-fill-mode: forwards;
}

@keyframes cool-link-animation {
    from {
        color: orangered;
    }

    to {
        color: blue;
    }
}

.cool-grow-link {
    text-align:center;
    display:inline-block;
    animation-name: cool-grow-link-animation;
    animation-duration: 5s;
    animation-fill-mode: forwards;
}

@keyframes cool-grow-link-animation {
    from {
        color: orangered;
        transform: scale(1);
    }

    to {
        color: blue;
        transform: scale(1.5);
    }
}

footer {
    background-color: #f0f0f0;
    padding: 20px;
    clear:both;
}

    footer a {
        color: #555;
        text-decoration: none;
        margin-right: 20px;
    }

        footer a:hover {
            color: #000;
        }

/* Modal Footer */
.page-footer {
    padding: 2px 16px;
    background-color: #f0f0f0;
    color: white;
    position: absolute;
    bottom: 0px;
    width: 100%;
    font-size:small;
    text-align:center;
}