body {
    font-family: "Segoe UI", "Source Sans Pro", Calibri, Candara, Arial, sans-serif;

    background-color: #ffffff!important;
    padding: 0;
    margin: 0;
}
html {
    font-size: 16px!important;
}

form {
    margin: 0;
}

@media (min-width: 900px) {
    .textslider {
        font-size: 50px;
    }
    .scoreboard table {
        font-size: 1.2em!important;
    }
}

html, body, #map {
    height: 100%;
    width: 100%;
}

/*
   De #map div moet dezelfde achtergrondkleur hebben als de leaflet kaart
   en leaflet-container moet doorzichtig zijn zodat de achtergrond zichtbaar
   is waar de kaart ophoudt
*/
#map {
    background: #47cefe;
}
.leaflet-container .leaflet-control-attribution {
    background: none!important;
    background-color:rgba(255,0,0,0.0);
}

.leaflet-map-pane canvas {
    z-index: inherit!important;
}


.leaflet-tooltip.tpm-point-label,
.leaflet-tooltip.tpm-shape-label {
    font-family: 'Noto Sans', sans-serif;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 0;
    padding-bottom: 0;
    letter-spacing: 0.1em;
    background: none;
    border: none;
    box-shadow: none;
}
.leaflet-tooltip.tpm-point-label::before,
.leaflet-tooltip.tpm-shape-label::before {
    border: none;
}

.leaflet-marker-icon {
    -webkit-filter: drop-shadow(3px 3px 3px #636363);
    filter: drop-shadow(3px 3px 3px #636363);
}
.water-point-icon {
    -webkit-filter: drop-shadow(1px 1px 1px #cdcbcb);
    filter: drop-shadow(1px 1px 1px #cdcbcb);
}

.tpm-inactive {
    pointer-events: none!important;
    visibility: hidden!important;
}

.logo {
    position: absolute;
    pointer-events: none;
    left: 15px;
    top: 15px;
    z-index: 999;
    /*opacity: 0.4;*/
}

.rp-closebutton {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 999;
    opacity: 0.3;
}
.rp-closebutton:hover {
    opacity: 0.7;
}


.editpanel {
    /* position: relative; */
    /*top: 0;*/
    /*left: 0;*/
    /*z-index: 9999;*/
    display: table-cell;
}

.textslider {
    width: 100%;
    pointer-events: none;
    position: absolute;
    top: 10px;
    z-index: 999;
    color: #f8f8ff;
    overflow: hidden;
    font-family: 'Asap', sans-serif;
    font-weight: 600;
    font-size: 6vw;
    height: 65px;
    text-shadow: 2px 2px 2px #aaa;
    /*text-shadow: rgb(128, 128, 128) 4px 4px 4px!important;*/
}

@media (min-width: 900px){
    .textslider {
        font-size: 50px;
    }
}

#fullheight-container {
    display: flex;
    align-items: flex-end;
}

#bottom-container button {
    pointer-events: auto;
}

#bottom-container {
    display: flex;
    width: 99%;
    height: 100%;
    position: absolute;
    /*bottom: 10px;*/
    align-items: flex-end;
    left: 0;
    top: 0;
    z-index: 999;
    pointer-events: none;
}

#left-bottom-container {
    min-width: 220px;
    /*max-width: 212px;*/
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
#right-bottom-container {
    display: flex;
    flex-direction: row;
    /*margin-top: auto;*/
    flex-grow: 1;
    flex-wrap: wrap-reverse;

    align-self: flex-end;
    margin-bottom: 10px;
}

.gametypebuttons {
    opacity: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-left: 10px;
    white-space: nowrap;
}
.gametypebuttons > :last-child {
    margin-right: 0;
}


.scoreboard {
    opacity: 0;
    background-color: #4CAF50;
    padding: 5px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 4px;
    box-shadow: 3px 3px 5px #888888;
    border: 3px solid #368c3a;
    margin-left: 10px;
}
.settingbuttons {
    opacity: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-left: auto;
    margin-top: 5px;
    white-space: nowrap;
}
.settingbuttons > :last-child {
    margin-right: 0;
}

.gamebuttons {
    opacity: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-left: auto;
    white-space: nowrap;
}
.gamebuttons > :last-child {
    margin-right: 0;
}
.game-btn {
    max-width: 100px;
}
.scoreboard table {
    font-family: 'Share Tech Mono', monospace;
    /*font-size: 1.1em;*/
    font-size: 2.5vw;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0 auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}
.scoreboard td.title {
    text-align: right;
}

.game-type-btn {
    width: 100%;
    height: 55px;
    min-width: 5px!important;
    font-size: 2em!important;
    padding: 0!important;
}

.game-type-btn.selected {
    border-color: #196bc7;
}


.map-level {
    pointer-events: all;
    background-color: #2196f3;
    color: #ffffff;
    font-family: "Roboto";
    border: 3px solid #196bc7;
    border-radius: 4px;
    margin-bottom: 5px;
}

.map-level-select {
    color: white!important;
}
.map-level-select svg {
    color: white!important;
}
.map-level fieldset {
    border: 0;
}

.gametype-desc {
    display: flex;
    background-color: #2196f3;
    color: #ffffff;
    text-align: center;
    padding: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1.1em;
    font-family: "Roboto";
    border: 3px solid #196bc7;
    border-radius: 4px;
}

.gametype-desc-text {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.gametype-desc-icon, .search-help-icon {
    display: flex;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
}


.split, .split-flex {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *
    overflow-y: auto;
    *
    overflow-x: hidden;
    /* overflow: scroll; */
}

.split.split-horizontal, .gutter.gutter-horizontal {
    height: 100%;
    float: left;
}


.gutter.gutter-vertical {
    background-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');
    cursor: ns-resize;
}

.gutter.gutter-horizontal {
    background-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
    cursor: ew-resize;
}

.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

.btn-save-edits {
    margin-right: 10px;
}

#namegame-container {
    z-index: 999;
    position: absolute;
}
#choicegame-container {
    z-index: 999;
    position: absolute;
}

.choicegame-choices {
    padding: 10px;
    background-color: #e2e2da!important;
}

#topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 55px;
    background-color: #25292F;
    border-bottom: solid #eeeeee 4px;
}

#tbtitle {
    order: -2;
    color: white;
    font-size: 20px;
    margin-right: auto;
}
#tbbuttons {
    order: -1;
    margin-right: 10px;
}
.tb-buttons .svg-inline--fa {
    font-size: 18px;
    margin-right: 7px;
}
.tb-button-text {
    margin-top: 3px;
}

.exam-timer {
    color: white;
    font-size: 20px;
}

#content {
    height: calc(100% - 55px); /* minus hoogte topbar + border */
}

#leftpanel {
    width: 0;
    height: 100%;
    overflow: hidden;
}
#rightpanel {
    position: relative;
    height: 100%;
    width: 100%;
}


#toppanel,
#bottompanel {
    overflow: auto!important;
}
.editpanel {
    padding: 10px;
    display: table;
}
.property-box {
    width: 100%;
    height: 100%;
}


.property-box .selected-info {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif!important;
    font-size: 0.825rem!important;
    color: rgba(0,0,0,0.87)!important;

    padding-left: 10px;
    background-color: #f1f1f1;
    border: 1px solid #bababa;
    height: 65px;
    /* tekst verticaal centreren */
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: row;
}

.property-box .mapitem-info {
    paddingTop: 5px;
    paddingBottom: 5px;
    width: 100%;
}

.property-box .selected-actions {
    display: flex;
    width: auto;
}

.property-box .property-info {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif!important;
    font-size: 0.825rem!important;
    color: rgba(0,0,0,0.87)!important;

    padding-left: 10px;
    background-color: #f1f1f1;
    border: 1px solid #bababa;
    border-top: none;
    height: 40px;
    /* tekst verticaal centreren */
    display: flex;
    justify-content: center;
    flex-direction: column;
}

property-box .section-title {
    font-size: 14px;
}

.property-box table {
    width: 100%;
    border-collapse: collapse;
}
.property-box tbody {
    vertical-align: middle;
}
.property-box tr {
    border-bottom: 1px solid #cccccc;
}

.property-box td {
    vertical-align: middle;
    padding-top: 0;
    padding-bottom: 0;
}

.property-box input {
    border: none;
    width: 100%;
    height: 22px;
    padding-left: 5px;
}
.property-box input[type="number"] {
    max-width: 70px;
}
.property-box .property-cat {
    background-color: #3F97F6;
}

.property-cat-label {
    width: 100%;
    height: 22px;
}
.property-cat-label-restylebutton {
    width: 80%;
    height: 22px;
}

.property-cat svg {
    color: #ffffff;
}

.cat-label {
    display: flex;
    white-space: nowrap;
}
.cat-title {
    color: #ffffff;
    display: flex;
    margin-right: 5px;
    width: 100%;
}
.cat-subtitle {
    color: #ffffff;
    display: flex;
    align-self: flex-end;
    text-align: right;
}

.cat-button svg {
    color: #ffffff!important;
}
.property-box .property-name {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif!important;
    font-size: 0.825rem!important;
    color: rgba(0,0,0,0.87)!important;

    height: 24px;
    padding-left: 10px;
    min-width: 110px;
    max-width: 110px;
    white-space: nowrap;
    width: 110px;
    border-right: 1px solid #cccccc;
}
.property-box .property-name.selected {
    background-color: #f0f0f0;
}

.property-box .property-name.disabled {
    color: lightgrey!important;
}



.property-box .property-value {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif!important;
    font-size: 0.825rem!important;
    color: rgba(0,0,0,0.87)!important;

    height: 24px;
    display: inline-flex;
    width: 99.3%;
}

.property-box .property-value.disabled {
    color: lightgrey!important;
}

.property-box .svg-inline--fa {
    color: #7b7b7b;
    opacity: 20;
}
.property-box .property-value.disabled .svg-inline--fa {
    color: lightgrey!important;
}

.property-box .fa-pencil-alt,
.property-box .fa-percent,
.property-box .fa-adjust
{
    margin-top: 4px;
    margin-left: 7px;
}

.property-box .selectdiv {
    position: relative;
    height: 100%;
    width: 100px;
    margin-left: 4px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.editsettings-form {
    padding: 5px;
    overflow-y: auto;
}

.carretbox {
    position: absolute;
    border-color: rgba(0, 0, 0, 0.1);
    border-style: solid;
}

.filter-wrapper {
    margin-top: 1px!important;
    margin-bottom: 0!important;
    border: 1px solid #e0e0e0;
    border-top: none;

}
.filter-title {
    margin-bottom: 0!important;
    min-height: 0!important;
}
.filter-title > div {
    margin-bottom: 10px!important;
}


.filter-details {
    padding-bottom: 0!important;
    padding-top: 0!important;
}

.MuiTypography-body1-47 {
    font-size: inherit!important;
}

.property-box .react-numeric-input input {
    border: none!important;
}
.property-box .react-numeric-input b:nth-of-type(1) {
    top: 0!important;
}
.property-box .react-numeric-input b:nth-of-type(2) {
    bottom: 0!important;
}

.fontstyles .svg-inline--fa {
    margin-left: -10px;
}

.search-item-name {
    font-size: 16px;
}

.search-item-type,
.search-item-latlon {
    font-size: 12px;
    color: blue;
}

/* settings-container */
#settings-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    background-color: #ffffff;
}

#settings-container .root {
    display: flex;
}

#settings-container .toolbar {
    padding-right: 24px;
}

.settings-input input {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.gi-popover {
    color: #4e4e4e;
    font-family: "Trebuchet MS", "Roboto";
    font-size: 16px;
}
.gi-title {
    background-color: #0a8dff;
    color: #f2f2f2;
    border-radius: 4px;
    font-size: 18px;
    text-align: center;
    vertical-align: center;
    padding-top: 7px;
    padding-bottom: 7px;
    margin-bottom: 10px;
}

ul.game-info {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.game-info li {
    background: url('../images/list-bullet-orange2.svg') no-repeat left top;
    background-size: 16px;
    background-position-y: 2px;
    padding-left: 22px;
    padding-bottom: 10px;
}

.dialog-content {
    padding: 10px;
    background: #f1f0ed;
    border: 2px solid #4e4e4e;
    border-radius: 4px;
    color: #0a0a0a;
    width: 480px;
    /*height: 220px;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2), 0px 5px 8px 0px rgba(0,0,0,0.14), 0px 1px 14px 0px rgba(0,0,0,0.12);*/
    /*border-radius: 17px;*/
    outline: 0;
}

.dialog-text {
    margin-bottom: 20px;
}

.dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.dialog-buttons > * {
    flex: 0!important;
    white-space: nowrap!important;
}

.highscore-dialog-close {
    float: right;
    margin-right: 110px!important;
    margin-top: 35px!important;
}

.highscore-dialog-message {
    font-size: 25px;
    letter-spacing: 1.1px;
    color: #0a0a0a;
}

.highscore-dialog-content {
    background-image: url("../images/highscorebg.svg");
    background-repeat: no-repeat;
    width: 611px;
    height: 418px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2), 0px 5px 8px 0px rgba(0,0,0,0.14), 0px 1px 14px 0px rgba(0,0,0,0.12);*/
    /*border-radius: 17px;*/
    outline: 0;
}

.highscore-dialog-stats {
    margin-top: -25px;
    font-family: 'Sriracha', cursive;
    color: #414141;
    text-align: center;
    width: 500px;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}
.highscore-dialog-title {
    font-size: 35px;
    letter-spacing: 1.5px;
    color: #0d4080;
}
.highscore-dialog-type {
    font-size: 22px;
    margin-bottom: 7px;
}
.highscore-dialog-score {
    font-size: 25px;
}
.highscore-dialog-time {
    font-size: 25px;
    margin-bottom: 10px;
}
.highscore-dialog-saved {
    font-size: 18px;
    width: 80%;
    margin: 0 auto;
}

.exam-next-dialog-content,
.exam-results-dialog-content {
    padding: 10px;
    background: #E8A541;
    border: 4px solid white;
    border-radius: 10px;
    color: white;
    width: 480px;
    /*height: 220px;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2), 0px 5px 8px 0px rgba(0,0,0,0.14), 0px 1px 14px 0px rgba(0,0,0,0.12);*/
    /*border-radius: 17px;*/
    outline: 0;
}
.exam-explain-next-part,
.exam-grade {
    font-size: 24px;
    text-align: center;
    color: white;
    margin: 0 auto;
    margin-top: 10px!important;
}

.exam-next-part-button,
.exam-ok-button {
    width: 100px;
    height: 40px;
    font-size: 20px!important;
    padding: 0!important;
    margin: 0 auto!important;
    margin-top: 45px!important;
}

.selectitem_info, .noresults_info, .errorresults_info {
    margin-top: 20px;
    padding: 20px;
    font-size: 18px;
    font-style: italic;
    color: blue;
    opacity: 0.7;
    text-align: center;
}

.errorresults_info {
    color: red;
}


.exam-panel {
    height: 100%;
    padding: 10px;
}

.exam-header {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 10px;
}
.exam-name {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 10px;
}

.exam-settings {
    width: 95%;
    margin: 0 auto;
    margin-bottom: 10px;
}

.exam-settings table {
    font-family: "Cabin Condensed";
    font-size: 1.1em;
    color: #0a8dff;
    border: 3px solid #dcdcdc;
    padding: 7px;
    margin: 0 auto;
    width: 95%;
}

.exam-settings th {
    vertical-align: top;
    text-align: right;
}

.exam-settings td.exercises {
    padding-top: 0;
}
.exam-settings th, td {
    padding: 2px;
}

.exam-explain {
    font-family: "Cabin Condensed";
    font-size: 1.2em;
    color: #666666;
    text-align: left;
    padding: 10px;
}

.exam-start button {
    margin: 0 auto;
    text-transform: uppercase;
}

.worksheet-panel {
    background-color: snow;
    height: 100%;
    padding: 10px;
}

.worksheet-header {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 10px;
}

.worksheet-create button {
    margin: 0 auto;
    text-transform: uppercase;
}

.loader {
    z-index: 99999; position: absolute; height: 100vh; width: 100%; opacity: 1; background: white;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}