body {
    background-color: #d8ffff;
    font-family: Verdana, sans-serif;
}

h3 {
    font-size: 100%;
    color: #006633;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 5px;
    font-variant: small-caps;
    font-family: sans-serif;
} 

div.lhitem {
    font-size: 90%;
    padding: 0px;
    margin: 0px;
    border: 0px;
    border-bottom: 1px dotted gray;
    margin-left: 10px;
    clear: both;
}

span.gazinfo {
    float:left;
}

span.content {
    float:right;
    margin-right: 0.2em;
}

span.geo-title {
    float: left;
}

span.geo-content {
    float: right;
    cursor: pointer;
}

div.breakline {
    clear:both;
    background: black;
    height: 1px;
    border: 0;
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
}

/* This goes between each piece of material on the gazetteer pages */
div.gazetteer-spacer {
    height: 0.7em;
}

div.breaking-gazetteer-spacer {
    height: 0.25em;
    clear:both;
}

/* for showing place-names on maps */

.maplabelstyle1 {background-color:#ffffff;font-weight:bold;border:2px #006699 solid; white-space:nowrap;}
.maplabelstyle2 {background-color:#ffffff;;border:2px #006699 solid; white-space:nowrap;}


/* To fix the overflowing copyright message on maps */
#map div span {
    white-space: normal;
}

div.photoclickmsg {
    font-size: 80%;
}

div.busybar {
    margin: 5px;
    vertical-align: text-top;
    display: none;
}

.map_marker_label {
    color: red;
    background-color: white;
    font-family: "Lucida Grande", "Arial", sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    border: 2px solid black;
    white-space: nowrap;
}

.nearroutedisplay {
    display:block;
}

.div-inline {
    display: inline-block;
}

.inset-box {
    border: 2px solid gray;
    border-radius: 20px;
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 0.5em;
    padding: 0.5em;
}

.picker_photo {
    height: 200px;
}

.gaz_title_block {
    display: flex;
}

.gaz_header_block {
    width: 100%;
}

.gaz_hh_block {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.place-section-banner {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em; 
    background-color: #aaffaa;
    font-size: 120%;
    border-radius: 10px;
}

.page-section-banner {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em; 
    background-color: #aaffaa;
    color: #006633;
    font-weight: bold;
    font-variant: small-caps;
    font-family: sans-serif;
    font-size: 130%;
    border-radius: 10px;
}

.page-plugin-dropdown-options {
    all: initial;
    font-family: Verdana, sans-serif;
}

.page-plugin-menu-button {
    float: right;
    margin-right: 0.5em;
    cursor: pointer;
}

.page-section-indicator {
    cursor: pointer;
    margin-right: 0.5em;
}

.page-plugin-detail {
    margin-top:1em;
}

.hidden-plugin {
    display: none;
}

.page-generic-options {
    margin-bottom: 1em;
}

/* Hide menu items on non-interactive gazetteer pages */
.onlyactive {
    display: none !important; 
}

/* CSS for options tabs - based on https://codepen.io/Wendy-Ho/pen/MWWBvmd */

.page-opts-tab-wrapper {
    display:flex;
    flex-direction: column;
    align-items: center;
}

.page-opts-tab-tab {
    cursor: pointer;
    padding:10px 20px;
    margin:0px 2px;
    background: #aaffaa;
    display:inline-block;
    color: black;
    border-radius:3px 3px 0px 0px;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-top: 1px solid black;
    text-transform: capitalize;
}

.page-opts-tab-panels {
    box-shadow: 0 2rem 2rem #00000080;
    min-height:100px;
    background: #90ee90;
    width:100%;
    max-width:500px;
    border-radius:3px;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    overflow:hidden;
    padding:20px;
    margin-bottom: 1em;
}

.page-opts-tab-panel {
    display:none;
    animation: fadein .8s;
}

@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}

.page-opts-tab-panel-title {
    font-size:1.5em;
    font-weight:bold
}

.page-opts-tab-radio {
    display:none;
}

#page-opts-tab-1:checked ~ .page-opts-tab-panels #page-opts-tab-1-panel,
#page-opts-tab-2:checked ~ .page-opts-tab-panels #page-opts-tab-2-panel,
#page-opts-tab-3:checked ~ .page-opts-tab-panels #page-opts-tab-3-panel {
    display:block
}

#page-opts-tab-1:checked ~ .page-opts-tab-tabs #page-opts-tab-1-tab,
#page-opts-tab-2:checked ~ .page-opts-tab-tabs #page-opts-tab-2-tab,
#page-opts-tab-3:checked ~ .page-opts-tab-tabs #page-opts-tab-3-tab {
    background: #90ee90;
    color: black;
    border-top: 3px solid #000;
}


.waterlevel_low {
    color: blue;
}

.waterlevel_normal {
    color: black;
}

.waterlevel_high {
    color: yellow;
}

.waterlevel_veryhigh {
    color: red;
}

.description-text-partwidth {
    width: 66%;
}

.description-text-fullwidth {
    width: 100%;
}

/* Narrow screens */
@media only screen and (max-width: 1023px) {
    .infotable-page {
        width: 100%;
        margin: 0.3em;
    }
    /* the map will have been pushed to below, so expand text to full width */
    .description-text-partwidth {
        width: 100%;
    }
    .breadcrumbs {
        display: none;
    }
    h1 {
        font-size: 130%;
    }
    #page-top-buttons {
        display: none;
    }
}

/* Wide screens */
@media only screen and (min-width: 1024px) {
    .infotable-page {
        float: right;
        width: 33%;
        margin: 0.3em;
    }
    #description-text-box {
        float: left;
    }
}

.column-list {
/*    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(auto-fit);
    grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));*/
    column-count: 6;
    column-width: 15em;
}

.column-list-wide {
    column-count: 2;
    column-width: 40em;
}
