
html, body, *
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-text-stroke: 1px rgba(0,0,0,0);
}

html, body
{
    width: 100%;
    height: 100%;
}

body
{
    /*background: #94d4f2;*/
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    color: #212529;
}

a:hover
{
    text-decoration: none;
}

.btn
{
    margin-bottom: 0;
    cursor: pointer;
}
.btn.bottommargin
{
    margin-bottom: 1rem;
}

.right
{
    float: right;
}
.block
{
    display: block;
}
.wide-centertext
{
    width: 100%;
    text-align: center;
}

.pad
{
    width: 100%;
    height: 1em;
    clear: both;
}

.loading_container
{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;

    z-index: 1000;

    display: none;

    opacity: 0;
    transition: opacity 0.5s;
}

.loading_container.visible
{
    opacity: 1;
}

.loading_overlay
{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;

    background-color: #000;
    opacity: 0.35;

    z-index: 1001;
}

.loading_frame
{
    position: fixed;
    top: 50%;
    left: 50%;

    width: 128px;
    height: 92px;

    transform: translate(-64px, -46px);
    background: white;
    background-image: url(../img/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;

    z-index: 1002;
}

.titlepage_box
{
    width: 70vw;
    min-height: 50vh;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: stretch;

    overflow: auto;

    background: #c1ffc9;
    -webkit-box-shadow: 0px 0px 12px 25px #c1ffc9;
    -moz-box-shadow: 0px 0px 12px 25px #c1ffc9;
    box-shadow: 0px 0px 12px 25px #c1ffc9;
}

.titlepage_box_cont
{
    width: 50%;
    height: 100%;
    min-height: 100%;
    float: left;
    padding: 0.8em;

    position: absolute;
    top: 0;
    bottom: 0;
}
.titlepage_box_cont.sep
{
    border-right: 1px solid #333;
}

.titlepage_box_cont .loginregisterbox
{
    width: 100%;
    text-align: center;

    padding: 1.5em;
}
.titlepage_box_cont.right
{
    right: 0;
}

.titlepage_copyright
{
    text-align: center;
    font-size: 0.75em;
    padding: 0.7em;
}

.login_box
{
    width: 35vw;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: stretch;

    overflow: auto;

    background: #c1ffc9;
    -webkit-box-shadow: 0px 0px 12px 25px #c1ffc9;
    -moz-box-shadow: 0px 0px 12px 25px #c1ffc9;
    box-shadow: 0px 0px 12px 25px #c1ffc9;

    padding: 1em;
}

form
{
    width: 100%;
}

.dashboard-parent
{
    display: flex;
    flex-flow: column;
    height: 100%;
    width: 100%;
}

.dashboard-header
{
    width: 100%;
    flex: 0 1 0px;

    background-color: #3af;
}
.dashboard-header h3
{
    color: black;
    font-size: 1.4em;
    margin: 0.3em 0 0.5em 0.5em;

    position: relative;
}
.dashboard-header h4
{
    margin: 0.2em 0 0.6em 0.9em;
    font-size: 14pt;
}

.navbar
{
    background-color: #4bf;
    padding: 0;
}
.nav-link
{
    padding: 0;
    color: black;
}
.navbar-light .navbar-nav .nav-link
{
    color: black;
}
.nav-item:hover
{
    background-color: #3af;
}
.nav-item
{
    border-right: 1px solid #17c;
    padding: 0.3em;
    font-size: 0.9em;
    line-height: 1.6em;
}
.nav-item:last-of-type
{
    border-right: none;
}

@media (max-width: 991px)
{
    .nav-item
    {
        border-right: none;
        border-bottom: 1px solid #17c;
        padding: 0.3em;
        padding-left: 0.8em;
        font-size: 0.9em;
        line-height: 1.6em;
    }

    .nav-item:last-of-type
    {
        border-bottom: none;
    }
}

.navbar-toggler
{
    border: none;
    outline: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: -0.2em;

    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(50,50,180, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
}
.navbar-toggler:focus
{
    outline: none;
}

.form-error-message
{
    color: red;
    font-size: 0.8em;
    position: relative;
    height: 0;
    max-height: 0;
    overflow: visible;
    display: block;
    float: right;
}

.form-errors
{
    margin: 0;
    margin-top: 1em;
    padding: 0;
    list-style-type: none;
}

.form-errors li
{
    color: red;
    font-size: 0.8em;
}

.submitbtn
{
    margin-top: 1em;
}

.topmenu
{
    width: 100%;
}
.topmenu-item, .topmenu-item:focus
{
    width: auto;
    padding: 0.5em 0.6em;
    background: #6494a2;
    float: left;
    margin-left: 0.5em;
    display: block;
    color: black;

    font-size: 10pt;

    transition: background-color 0.5s;
}
.topmenu-item:hover
{
    color: black;
    background: #74b4d2;
}

.dashboard-content
{
    width: 100%;
    flex: 1 1 auto;
    position: relative;
}

.dashboard-content.white
{
    background: white;
}

.dashboard-content.padded
{
    padding: 2em 0 2em 0;
}

.dashmember
{
    float: left;
    position: absolute;
}

.dashboard-leftpanel
{
    width: 20%;
    height: 100%;

    background-color: white;

    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.dashboard-map
{
    width: 80%;
    height: 100%;

    background-color: white;

    top: 0;
    right: 0;
    bottom: 0;
}
.dashboard-map-inner
{
    width: 100%;
    height: 100%;
    position: relative;
}
.dashboard-map-inner-mapdiv
{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.dashboard-map-toolbox
{
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 1em;
    background: white;
    border: 1px solid #ccc;
}

.dashboard-wide
{
    width: 100%;
    height: 100%;
    background-color: white;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.list-group.selectable li
{
    cursor: pointer;
}

ul.gamelist li:hover
{
    background-color: #a4e4f2;
}
ul.gamelist li.selected
{
    background-color: #94d4f2;
}

ul.pointlist li:hover
{
    background-color: #a4e4f2;
}
ul.pointlist li.selected
{
    background-color: #94d4f2;
}

ul.grouplist li:hover
{
    background-color: #a4e4f2;
}
ul.grouplist li.selected
{
    background-color: #94d4f2;
}

.grouplist-title
{
    width: 100%;
    padding: 0.2em;
    font-weight: bold;
}

.arrow-up
{
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url(../img/arrow-up.png);
}

.arrow-down
{
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url(../img/arrow-down.png);
}

.dummy-icon
{
    width: 16px;
    height: 16px;
    display: inline-block;
}

.point-name
{
    font-weight: bold;
    vertical-align: middle;
}

.flag-icon
{
    width: 28px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
}

.flag-type-checkpoint
{
    background-image: url(../img/pointmarker.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.flag-type-checkpoint-hidden
{
    background-image: url(../img/pointmarker_hidden.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.flag-type-question
{
    background-image: url(../img/pointmarker2.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.flag-type-question-hidden
{
    background-image: url(../img/pointmarker2_hidden.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.flag-type-starting
{
    background-image: url(../img/pointmarker_s.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.flag-type-starting-hidden
{
    background-image: url(../img/pointmarker_s_hidden.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.flag-type-ending
{
    background-image: url(../img/pointmarker_e.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.flag-type-ending-hidden
{
    background-image: url(../img/pointmarker_e_hidden.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.tutorial-row
{
    padding: 2em 0 2em 0;
    border-bottom: 1px solid #cccccc;
}

.homepage-row
{
    padding: 2em 0 2em 0;
    border-bottom: 1px solid #cccccc;
}

h1.main
{
    text-align: center;
    width: 100%;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

@media(max-width: 480px)
{
    h1.main
    {
        font-size: 1.8em;
    }
}

.logobox
{
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.4em;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: -0.35em;
}

.tutorial-row img
{
    max-width: 100%;
}
.tutorial-row p
{
    padding: 1em;
}

.game-name-dashboard
{
    font-size: 1.1em;
    vertical-align: middle;
}

.modal-xlg
{
    max-width: 1200px;
}

.result-name
{
    font-weight: bold;
}

.log-icon
{
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    float: left;
    margin-right: 0.6em;
    vertical-align: central;
}
.log-icon.start
{
    background-image: url('../img/events/log_type_start.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.log-icon.point
{
    background-image: url('../img/events/log_type_point.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.log-icon.question-correct
{
    background-image: url('../img/events/log_type_question_correct.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.log-icon.question-incorrect
{
    background-image: url('../img/events/log_type_question_incorrect.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.log-icon.question-popup
{
    background-image: url('../img/events/log_type_question_popup.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.log-icon.question-start
{
    background-image: url('../img/events/log_type_question_start.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.log-icon.end
{
    background-image: url('../img/events/log_type_end.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.log-icon.entered-code
{
    background-image: url('../img/events/log_type_entered_code.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.log-span-hinttext
{
    display: inline-block;
    padding-left: 2.6em;
    color: black;
    font-size: 0.9em;
}

.timeline-speed-btn
{
    display: inline-block;
    float: right;
    cursor: pointer;
    margin-left: 0.5em;
    width: 3em;
}
