body {
    font-family: Arial, Helvetica, sans-serif;
}

h2 {
    margin-block-start: 0px;
}

.main-container {
    padding-bottom: 80vh;
}

.mxcw-banner {
    font-size: 36px;
}

.mxcw-container {
    display: flex;
}

.mxcw-leftPane {
    display: flex;
    flex-direction: column;
    width: 65%;
    /* For God's sake I really mean it! */
    min-width: 65%;
}

.mxcw-map {
    height: 65%;
}

.mxcw-data {
    height: 35%

}

.mxcw-content {
    width: 35%;
    font-size: 18px;
    padding: 0 1rem 0 1rem;
    height: calc(100vh - 100px);
    overflow-y: scroll;
}

.mxcw-content h2:hover {
    outline: 1px solid grey;
    cursor: pointer;
}

.mxcw-content .section {
    padding: 8px;
}

.mxcw-content img {
    width: 100%;
}

.mxcw-mapPane {
    opacity: 0;
    visibility: hidden;
    transition-property: opacity, visibility;
    transition-duration: 400ms;
}

.mxcw-mapPane.mxcw-activeMapPane {
    opacity: 1;
    visibility: visible;
}

.mxcw-mapSubPane.mxcw-mapPane {
    transition-duration: 0ms;
}

.mxcw-widgetPane {
    display: none;
    padding: 2em;
}

.mxcw-widgetPane.mxcw-activeWidgetPane {
    display: block;
}

.mxcw-activeSection {
    background-color: #eee;
    outline: 1px solid black;
    transition-property: background-color, outline;
    transition-duration: 400ms;
}

.mxcw-mapLabel {
    z-index: 999 !important;
}

.mxcw-mapLabel > div {
    transform: translateX(-50%) translateY(-50%);
}

body ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 12px;
    background-color: #eee
}

body ::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #C1C1C1;
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #A8A8A8;
}

body .mx-header ::-webkit-scrollbar {
    width: 8px;
}

body .mx-header ::-webkit-scrollbar-thumb {
    border-radius: 4px;
}

/* Override Xetthecum definition */
.fl-imerss-container {
    margin: 0px;
}

/* Styling for native legends */

.legend {
    line-height: 18px;
    color: #555;
}

.legend i {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    opacity: 0.7;
    display: inline-block;
    vertical-align: top;
    zoom: 1;
}

.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgb(0 0 0 / 20%);
    border-radius: 5px;
}

.mxcw-hidden.legend {
    opacity: 0;
    visibility: hidden;
    display: none;
}
