@import url(font.css);
@import url(font-awesome.min.css);

:root {
    --top-field-height: 141px; /* Browse top field (met paginering) hoogte, kan worden aangepast door JS */
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, a, em, font, small, strong, sub, sup, b, u, i, center, dl, dt, dd, ol, ul, li, form, label, table, tbody, tr, th, td, fieldset {
    margin: 0px;
    padding: 0px;
    outline: 0;
}

html, body {
    overflow: hidden;
}

iframe {
    width: 100% !important;
}

input[type='text'], input[type='number'], input[type='email'], textarea {
    font-size: 15px !important;
}

body {
    font-family: 'Open Sans', helvetica, sans-serif;
    font-size: 0.9em;
    color: #2f2e2e;
    background-color: #fff;
    height: 100%;
}

::-moz-focus-inner {
    border: 0;
    padding: 0;
}

* {
    outline: none;
}

a, .show-link {
    color: #5680b9;
    text-decoration: none;
    outline: 0;
}

a:hover, .show-link:hover {
    color: #2f2e2e;
    cursor: pointer;
}

.show-link {
    font-weight: bold;
}

.show-link.active {
    text-decoration: underline;
}

::selection {
    background: #7ec2ef;
    /* WebKit/Blink Browsers */
}

::-moz-selection {
    background: #7ec2ef;
    /* Gecko Browsers */
}

input {
    border-radius: 0px;
}

h1, h2, h6 {
    font-family: 'OpenSans', helvetica, sans-serif;
    font-weight: 600;
}

h3, h5 {
    font-family: 'OpenSans', helvetica, sans-serif; 
    font-weight: 700;
}

h1 {
    color: #1c1d1d;
    font-size: 1.4em;
    text-align: right;
}

h2 {
    color: #222121;
    font-size: 1.4em;
    margin-bottom: 10px;
}

h3 {
    color: #3f4040;
    font-size: 1.3em;
    /* text-transform: uppercase; */
}

h5 {
    color: #222121;
    font-size: 1.1em;
}

h6 {
    color: #565555;
    font-size: 1em;
}

.clear {
    clear: both;
}

.rss-icon, .csv-icon, .kml-icon, .atom-icon {
    width: 30px;
    height: 30px;
    list-style: none;
    float: left;
    margin-right: 10px;
    cursor: pointer;
}

.geographic {
    vertical-align: bottom;
}

.rss-icon {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/rss-icon.png') no-repeat;
    background-size: 30px 30px;
}

.kml-icon {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/kml-icon.png') no-repeat;
    background-size: 30px 30px;
}

.csv-icon {
    background-color: #227849;
    /* background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/csv-icon.png'); */
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/file-csv-solid.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 65%;
    margin-right: 0px;

    width: 30px;
    height: 30px;
}

.atom-icon {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/atom-icon.png') no-repeat;
    background-size: 30px 30px;
}

/* home */

.content h3 {
    margin-right: 10px;
    display: inline-block;
}

.advanced-left {
    float: left;
    width: 45%;
    margin-right: 10px;
}

.advanced-right {
    float: right;
    width: 50%;
}

.advanced-category h4 {
    display: inline-block;
}

.advanced-category select {
    width: 100%;
    max-height: 100px;
    max-width: 90%;
}

.advanced-category select::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

.advanced-category select::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.advanced-category {
    margin-bottom: 15px;
}

.advanced-category.combo-special select {
    width: 350px;
    height: 70px;
}

.extended-search {
    margin-top: 18px;
    display: inline-block;
    max-width: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.extended-search.show {
    opacity: 1;
}

.advanced-left h3, .advanced-right h3 {
    margin-bottom: 10px;
    margin-right: 15px;
}



.search-form .treeview-item {
    display: inline-block;
    float: none;
}

.search-form {
    clear: right;
    /* margin-bottom: 30px; */
}

.top-field {
    border-bottom: 1px solid #c2c0c0;
    margin-bottom: 20px;
    padding: 0px;
}

.top-buttons button {
    margin-right: 10px;
    margin-top: 0px;
}

.top-buttons button:before {
    display: block;
    float: left;
    content: '\f053';
    font-family: fontawesome;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0.7em;
}

.top-buttons button.browse_view {
    background: #fe7c00;
    padding: 5px 10px 7px;
    display: inline-block;
}

.top-buttons button.browse_view:before {
    content: none;
}

.top-buttons button.excluded_records {
}

.top-buttons button.excluded_records:before {
    content: none;
}

/* Excluded records popup */

div.excluded-records-list {
    padding: 0.5rem;
    overflow-y: auto;
    max-height: 100%;

}

div.excluded-records-list p {}

div.excluded-records-list table {
    width: 100%;
    border-collapse: collapse;
    overflow: auto;
    height: 400px;
    display: block;
    margin-top: 1rem;

}
div.excluded-records-list table thead th { position: sticky; top: 0; z-index: 1; }


div.excluded-records-list th {
    text-align: left;
    border: 1px solid #ddd;
    padding: 8px;

    background-color: #5680B9;
    color: white;
}

div.excluded-records-list td {
    border: 1px solid #ddd;
    padding: 8px;
}

div.excluded-records-list td.title {
    font-weight: bold;
}

div.excluded-records-list td button {
    margin: 0;
}

/* ================================== */



.search-form dd.date input {
    margin-right: 10px;
    min-width: 125px;
    width: 40%;
    max-width: 180px;
}

.search-form dd.date input[type='date'] {
    font-family: Arial, helvetica, sans-serif;
    font-size: 0.9em;
    background: #fff url(/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/calendar-icon.png) 97% 50% no-repeat;
    background-size: auto 16px;
    border: 1px solid #c4c4c4;
    padding: 3px 5px;
}

.search-form dd.date [type='date']::-webkit-inner-spin-button {
    display: none;
}

.search-form dd.date [type='date']::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.more-details, .less-details {
    background: #7ec2ef;
    font-family: 'OpenSans', helvetica, sans-serif;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    padding: 5px 10px;
    float: right;
    margin-bottom: 0px;
    margin-top: 0px;
}

.more-details, .less-details {
    float: none;
    margin-top: 30px;
    margin-bottom: 20px;
}

.more-details:hover, .less-details:hover {
    background: #5680b9;
}

.advanced-search-off:after, 
.less-details:after, 
.advanced-search-on:after, 
.more-details:after {
    display: block;
    font-family: fontawesome;
    content: '\f077';
    float: right;
    margin-left: 10px;
    margin-top: 3px;
}

.advanced-search-on:after, 
.more-details:after {
    content: '\f078';
}

.btns-footer {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    float: left;
    width: 100%;
}

.btns-footer button {
    background-color: #5680b9;
    border: 0 none;
    color: #fff;
    cursor: pointer;
    margin-right: 10px;
    float: left;
    font-size: 1.3em;
    min-width: 100px;
    text-transform: uppercase;
    border-right: 1px solid #f6f3f2;
}

.btns-footer button.map-reference-layers,
.btns-footer button.advanced-search-off, 
.btns-footer button.advanced-search-on {
    /* margin-top: 0px; */
    float: right;
    /* font-size: 1.1em; */
    background-color: #fe7c00;
}

.button_search, .advanced-search-off:hover, .advanced-search-on:hover {
    background-color: #fe7c00 !important;
}



.btns-footer button:hover, .advanced-search-off:hover, .advanced-search-on:hover {
    opacity: 0.6;
}

.btns-footer button:hover {
    font-weight: bold;
}

.detail-bg {
    background: #fff !important;
}

.and-or input {
    padding: 0px;
    margin: 0;
}

.and-or input[type='radio'] {
    width: 10px;
    margin: 0px 10px;
}

.steps .free-search {
    width: 190px;
    border: 1px solid #bebebe;
    color: #666;
}

.and-or input[type='radio']:first-child {
    margin-left: 0px;
}

/* map icons */

#map {
    background-color: #a4d3de;
}

#map canvas {
    max-height: 100vh;
    max-width: 100vw;
}

.mapcontrols li {
    /* border: 1px solid #b9b9b9; */
    border-radius: 4px;

    box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 8px;

    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/add_layer.png');
    background-repeat: no-repeat;
    background-color: #fff;
    background-position: center;
    
    background-size: 1.5rem;

    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    vertical-align: middle;

    margin: 0 auto;
    background-position: 50%;
    margin-bottom: 10px;

    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;

    cursor: pointer;
    display: block;
    list-style: none;
    text-align: center;
}


.mapcontrols li.tool-active,
.mapcontrols li.active {
    background-color: #7ec2ef;
}

.mapcontrols li:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.mapcontrols li.graticule-icon,
.mapcontrols li.zoom-out-icon,
.mapcontrols li.zoom-in-icon {
    background-image: none;
    text-indent: 0;
}

/* .mapcontrols li.layer-icon {
    background-size: 98%;
} */

.mapcontrols li.geographic-icon {
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/geographic-search.png');
    /* background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/vector-square-solid.svg'); */
}

.mapcontrols li.identify-icon {
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/identify-icon-text.png');
    background-size: 98%;
}

.mapcontrols li.geojson-icon {
    /* background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/img-geojson@2x.png'); */
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/json_file.png') ;
}

.mapcontrols li.gml-icon {
    /* background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/img-gml-icon@2x.png') ; */
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/gml_file.png') ;
}

.mapcontrols li.position-icon {
    /* background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/position-icon@2x.png') ; */
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/crosshairs-pointer-solid.svg') ;
    background-size: 98%;

}

.mapcontrols li.distance-icon {
    /* background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icon-distance.png') ; */
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/measure_distance.png') ;
}

.mapcontrols li.graticule-icon {
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/table-cells-solid.svg') ;
}

.mapcontrols li.geojson-icon, 
.mapcontrols li.gml-icon {
    background-size: 99%;    
}

.mapcontrols li.layer-icon,
.mapcontrols li.distance-icon {
    background-size: 90%;
}


.gml-icon a,
.geojson-icon a {
    display: block;
}

.mapcontrols {
    display: block;
    position: absolute;
    z-index: 9999999;
    margin-top: 18px;
    margin-left: 20px;
    left: 0;
    top: 0;
}

ul.title-layers {
    width: 100%;
    list-style: none;
    margin-bottom: 10px;
    position: relative;
    display: block;
    height: 20px;
}

ul.title-layers li {
    float: left;
    width: 64%;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

ul.title-layers li:last-child {
    width: 1%;
}



/* standard sidebar */

#sidebar_content {
    max-height: calc(100vh - 100px);
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sidebar {
    background: #eee;
    height: 100vh;
    position: relative;
    max-width: 100%;
    z-index: 3000;
    box-shadow: -1px 0px 16px 0px rgba(0,0,0,0.53);
}

/* Warning if changed then also portal.js change */

.sidebar.big {
    width: 1050px;
}

.content {
    display: block;
    position: relative;
}

header {
    height: 100px;
    background: #fff;
    padding: 15px;
    border-bottom: 1px solid #d4d1d1;
}

/*.back_to_browse                 { margin-right:10px; }*/

.logo {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/logo-small.png');
    width: 190px;
    height: 63px;
    float: left;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    .logo {
        background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/logo-small@2x.png');
        background-size: 190px 63px;
    }
}

button {
    background: #7ec2ef;
    border: 0px;
    color: #fff;
    padding: 5px 10px 7px;
    cursor: pointer;
    font-family: 'OpenSans', helvetica, sans-serif;
    font-weight: 600;
    margin: 20px 0px;
}

button a {
    color: #fff;
}

button:hover {
    background: #5680b9;
}

button.small {
    margin: 2px 2px;
    padding: 3px 5px 4px;
    font-size: 1em;
}



main.main.hide-map {
    --map-size: 0px;
    --sidebar-size: 100vw;
}

main.main.hide-sidebar {
    --map-size: 100vw;
    --sidebar-size: 0px;
}

main.main.big {
    --sidebar-size: 1050px;
}


main.main {
    --map-size: auto;
    --sidebar-size: 750px;

    display: grid;
    grid-template-columns: var(--map-size) var(--sidebar-size);

}

/* Verstop header en content, maar niet alles in sidebar, anders zie je de knoppen niet meer om weer terug te gaan. */
main.main.hide-sidebar .sidebar header,
main.main.hide-sidebar .sidebar #sidebar_content {
    display: none;
}

main.main.hide-map .sidebar {
    max-width: none;
    width: 100vw;
}

main.main.hide-map .map-wrapper {
    display: none;
}

/* search */

.search-field {
    padding: 20px;
    padding-bottom: 0px;
    position: relative;

}

.search-field .search-form select {
    width: 88%;
}

.search-field h4 {
    margin-top: 5px;
}

.search-field h4.inline {
    display: inline;
    margin-right: 5px;
}

.search-field .content {
    overflow-y: auto;
    max-height: 700px;
    padding-bottom: 5vh;
}

.search-field .content-scrollable-overlay {
    z-index: 5;
    pointer-events: none;
    --my-height: 2.5vh;
    height: 2.5vh;
    transform:  translateY(-2.5vh);
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    position: absolute;
    width: calc(100% - 40px); /* 20 px padding * 2 */
}

.search-field .content-scrollable-overlay span.chevron-down {
    width: 2rem;
    height: 2rem;
    display: block;
    margin: 0 auto;
}
.search-field .content-scrollable-overlay span.chevron-down::before {
    content: '\f078';
    font-family: fontawesome;
    font-size: 2rem;
    color: rgba(0,0,0,0.8);
    display: block;
    text-align: center;
    line-height: 2rem;
}

.search-form input:not([type="checkbox"]), .search-form select {
    border: 1px solid #bebebe;
    min-width: 150px;
    width: 44%;
    padding: 5px 10px;
    color: #666;
}

.search-form input:not([type="checkbox"]).free-search-main {
    width: 88%;
    min-width: 250px;
}

#form_search_extended h3 {
    float: none;
    margin-bottom: 10px;
    padding-top: 20px;
}

.search-form dt, .advanced-category dt {
    color: #2f2e2e;
    font-size: 0.85em;
    margin-bottom: 10px;
}

.search-form dl {
    clear: left;
}

.search-form dd {
    font-size: 0.85em;
    margin-bottom: 30px;
}

.search-container {
    --col-width: calc(50% - 2.5px);
    display: grid;
    grid-template-columns:  1fr 1fr;
    gap: 1rem;

}

.search-container-item {
    vertical-align: top;
    display: block;
    overflow-x: wrap;
}

.search-container-item p.nofloat {
    float: initial;
}

.search-container-item h3 a {
    color: #3c5068;
}

.search-container-item .provider-data-collections {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.partner-mlb-container .partner-btn-grid,
.search-container-item .partner-btn-grid {
    display: grid;
    grid-template-columns: 8em 2em;
    gap: 1px;
}

.partner-mlb-container .partner-btn-grid {
    grid-template-columns: calc(100% - 2em - 1px) 2em;
    margin-bottom: 5px;
}

.partner-mlb-container .partner-btn, 
.search-container-item .partner-btn {
    display: block;
    background-color: #7ec2ef;
    color: white;
    padding: 3px;
    text-align: center;
    cursor: pointer;
}

.partner-mlb-container .csv-btn, 
.search-container-item .csv-btn  {
    display: block;
    background-color: #227849;
    color: white;
    padding: 3px;
    text-align: center;
    cursor: pointer;
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/file-csv-solid.svg');
    background-size: 1em;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -1000vw;
}

.partner-mlb-container .csv-btn:hover, 
.search-container-item .csv-btn:hover {
    background-color: #1b5f3e;
}

.partner-mlb-container .partner-btn {
    text-align: left;
}

.partner-mlb-container .partner-btn>.count {
    float: right;
}

.partner-mlb-container .partner-btn:hover, .search-container-item .partner-btn:hover {
    background-color: #5680b9
}

.partner-mlb-container h3 {
    padding: 5px;
}

.partner-mlb-container p {
    text-align: center;
}

.partner-mlb-container {
    padding: 0 10px;
}

.button_extended_search::after, .less-result::after {
    color: #3a85a1;
    content: '';
    cursor: pointer;
    font-family: FontAwesome;
    font-size: 1.6em;
    margin-left: 5px;
    vertical-align: middle;
}

.combo-special {
    max-width: calc(100% - 2em);
    /*    
    min-width:200px;
    max-width:95%;
    padding-right:5px;
    margin-right:0px;
*/
}

.combo-special dt {
    font-size: 0.9em;
}

.combo-special:nth-child(3) {
    margin-left: 36px;

    max-width: calc(100% - 2em - 36px);

}

dl.combo-special::before {
    content: '';
    float: left;
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/arrow-extended.png') no-repeat;
    background-size: auto 24px;
    color: #5680b9;
    width: 36px;
    height: 36px;
}

dl.combo-special:nth-child(1)::before {
    display: none;
}

.treeview_root div.treeview-item {
    -moz-user-select: none;
}

.treeview_branch>div {
    display: inline-block;
}

.search-geo-location {
    /* background-color: #e4e4e4; */
    padding: 8px;
    max-width: 400px;
}

.search-geo-location .input-checkbox {
    font-weight: bold;
}

.search-geo-location input, .search-geo-location select, .search-form select {
    width: 100%;
}

.input-north, .input-south {
    margin: 5px 0px;
    margin-left: 75px;
    clear: left;
}

.search-geo-location .input-west, .search-geo-location .input-north, .search-geo-location .input-south, .search-geo-location .input-east {
    cursor: pointer;
    max-width: 40%;
    min-width: 50px;
    text-align: center;
    width: 40%;
    display: inline-block;
}

.input-west:hover, .input-north:hover, .input-south:hover, .input-east:hover {
    background: #eee;
    cursor: pointer;
}

.input-west {
    clear: left;
    margin-right: 10px;
}

.input-west, .input-east {
    /* float: left; */
}

.input-checkbox {
    padding-top: 18px;
    display: block;
    clear: both;
}

.input-checkbox input {
    width: initial;
    vertical-align: middle;
}

div.treeview-item {
    line-height: 20px;
    width: 20px;
    height: 20px;
    float: left;
    vertical-align: bottom;
}


.mo-lb-item .fa-question {
    cursor: help;

    width: 1rem;
    height: 1rem;

    line-height: 1rem;
    text-align: center;
    /* padding: 3px 6px; */
    border-radius: 50%;
    font-size: 0.8em;

    background: #7ec2ef;
    color: #fff;
    vertical-align: top;

}


.mo-lb-item .mo-desc::before {
    content: ' ';
    display: block;
    height: 20px;
    left: 0;
    position: absolute;
    top: -20px;
    width: 100%;
}

.mo-lb-item .mo-desc {
    background: #5680b9;
    color: #fff;

    font-weight: normal;
    padding: 14px;

    pointer-events: none;
    text-align: left;
    text-transform: none;

    transition: opacity 0.3s ease 0s, top 0.2s ease 0s, bottom 0.2s ease 0s;

    position: fixed;
    left: auto;
    top: auto;

    opacity: 0;

    min-width: 20vw;

    max-width: 380px;
    max-height: 420px;
    overflow-y: auto;
    z-index: 9999;

    border-radius: 6px;
    box-shadow: -1px 0px 16px 0px rgb(0 0 0 / 53%);
}

.mo-lb-item .mo-desc.active {
    position: fixed;
    opacity: 1;
    display: inline-block;;
    pointer-events: auto;
    
}

/* .mo-lb-item .mo-desc.mo-bottom.active {
    /* bottom: 0; */
    margin-top: -10vh;
} */


.results .mo-lb-item .mo-desc.active {
    left: auto;
}


.close_btn_desc {
    cursor: pointer;
    float: right;
    height: 24px;
    text-indent: -1000vw;
    width: 24px;
}

.close_btn_desc::after {
    font-family: "fontawesome";
    font-size: 1.7em;
    font-weight: 300;
    content: "\f00d";
    color: white;
    /* display: inline-block; */
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    margin-top: 6px;
    margin-right: 6px;
    float: right;
    text-indent: 0px;
}

.mo-title {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
    margin-bottom: 20px;
}

.mo-text {
    font-size: 12px;
}

div.treeview-item p {
    display: inline-block;
    max-width: 95%;
    vertical-align: top;
}

div.treeview-item span.description_content {
    display: block;
}



.sidebar .toggle-map, 
.sidebar .toggle-sidebar {
    background: rgba(86, 128, 185, 0.9);
    border: 1px solid #fff;
    border-radius: 5px 5px 0 0;
    border-right: 0px;
    color: #fff;
    cursor: pointer;
    padding: 3px 10px 5px 8px;

    z-index: 99999;

    width: 40px;
    height: 40px;

    position: absolute;
    left: -20px;
    top: 10px;
}

main.main.hide-map .sidebar .toggle-map,
main.main.hide-map .sidebar .toggle-sidebar {
    left: 10px;
}

main.main.hide-sidebar .sidebar .toggle-map,
main.main.hide-sidebar .sidebar .toggle-sidebar {
    left: -20px;
    right: 10px;
}


.sidebar .toggle-map.disabled, 
.sidebar .toggle-sidebar.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sidebar .toggle-map {
    border-radius: 0 0 5px 5px;
    top: 50px;
}

.sidebar .toggle-map::after,
.sidebar .toggle-sidebar::after, 
.sidebar .sidebar-open::after  {
    color: #fff;
    content: '\f053';
    display: block;
    font-family: fontAwesome;
    font-size: 25px;
    margin-top: 5px;
    vertical-align: middle;
}

main.main .sidebar .toggle-map::after {
    content: '\f053';
}

main.main.hide-map .sidebar .toggle-map::after {
    content: '\f054';
    transform: translateX(3px);
}

main.main.hide-map header {
    padding-left: 40px;
}

/* normaal sidebar */
main.main .sidebar .toggle-sidebar::after {
    content: '\f054';
    transform: translateX(3px);
}

/* verstopte sidebar */
main.main.hide-sidebar .sidebar .toggle-sidebar::after {
    content: '\f053';
    transform: none;
}


/* map */

.map {
    /* border-right: 750px solid #aad3df; */
    box-sizing: border-box;
    height: 100%;
    /* left: 0;
    position: absolute;
    top: 0;
    width: 100%; */
    position: relative;
    z-index: 0;
}

/* browse */

.block-results {
    position: relative;
    height: calc(100vh - 100px);
        display: block;
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/bg-results.png') repeat-y;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 260px, rgba(230,230,230,1) 260px);

}

.steps {
    width: 260px;
    height: 100%;
    overflow-y: scroll;
    position: relative;
    display: block;
}

h4.step-more:after, h4.step-less:after {
    content: '\f0d7';
    display: block;
    margin-right: 15px;
    color: #fff;
    font-family: fontawesome;
    float: right;
    margin-top: 3px;
}

h4.step-more:hover:after, h4.step-less:hover:after {
    color: #7ec2ef;
}

h4.step-less:after {
    content: '\f0d8';
}

.results {
    position: absolute;
    vertical-align: top;
    right: 0;
    top: 0;
    height:100%;
    width: calc(100% - 260px);


}

.question-box {
    display: grid;
	grid-template-columns: auto 5ch;
}

.question-box span {
    display: none;
}

/* Always show first 6: */
.question-box span:nth-of-type(-n+12) {
    display: block;
}

.question-box.show-all span {
    display: block;
}

.question-box::after {
    /* Clearfix */
    clear: both;
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
}

.step_more_spacer {
    color: #003092;
    cursor: pointer;
    font-weight: bold;
    margin-top: 5px;
}

.step_less_spacer:after {
    content: '\f106';
    font-family: fontawesome;
    display: block;
    color: #003092;
    display: inline-block;
    margin-left: 5px;
}

.step_more_spacer:after {
    content: '\f107';
    font-family: fontawesome;
    display: block;
    color: #003092;
    display: inline-block;
    margin-left: 5px;
}

.step-count {
    font-size: 0.9em;
    text-align: right;
}

.step_link.active a {
    color: #2f2e2e;
}

.browse-results-big th:first-child {}

/* .browse-results-big th:nth-child(2) {
    width: 20%;
}

.browse-results-big th:nth-child(3) {
    width: 20%;
}

.browse-results-big th:nth-child(4) {
    width: 12%; 
} */

.browse-results-big td span.resource-text-2 {
    display: none;
}


.browse-results-big th, 
.browse-results-big td {
    font-weight: normal;
    padding: 5px;
    vertical-align: top;
}

.browse-results-big td p.date { 
    min-width: 100px;
}

.browse-results-big tr {
    padding: 10px 0px;
}

.browse-results-big tr:nth-child(even) {
    background-color: rgba(128,128,128, 0.1);
}

.browse-results-big tr:hover {
    background-color: rgba(128,128,128, 0.2);
}

.browse-results-big th {
    background: #5680b9;
    color: #fff;
    text-align: left;
}

.browse-results-big td.search-score {
    text-align: center;
}

.browse-results-big th.score {
    width: 4ch;
}
.browse-results-big th.title {
    width: 33%;
}

.browse-results span.search-score:before    { content: '(' }
.browse-results span.search-score:after     { content: ')' }
.browse-results span.search-score {
    -webkit-user-select: none;
    user-select: none;
    opacity: 0.6;
    padding-right: 0.2rem;
}

th.browse_order {
    cursor: pointer;
}

th.browse_order.active {
    font-weight: bold;
}   

.browse-results-big th.browse_order:hover {
    filter: brightness(1.1);
}

.browse-results-big th.browse_order span::after {
    display: inline-block;
    color: #fff;
    font-family: fontawesome;
    width: 16px;
    height: 16px;
    margin-left: 3px;
    cursor: pointer;
    opacity: 0.75;
}

.browse-results-big th.browse_order.active span::after {
    opacity: 1;
}

.browse-results-big th.browse_order .order-desc::after {
    content: '\f0d8';
}

.browse-results-big th.browse_order .order-asc::after {
    content: '\f0d7';
}


.results h3, .steps h3 {
    float: left;
    margin-right: 10px;
    margin-bottom: 15px;
}

.results h6, .steps h6 {
    clear: left;
}

.steps h6 {
    margin-bottom: 10px;
}

.step-remove, .edit-free-search {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/remove-icon.png');
    width: 13px;
    height: 13px;
    position: relative;
    float: right;
    cursor: pointer;
    display: inline-block;
}

.edit-free-search {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/edit-free-search.png');
    text-indent: -1000vw;
    display: inline-block;
}

.step-link {
    display: block;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.step-link, .step-desc {
    /* float: left; */
}

.step-desc {
    color: #fe7c00;
    clear: left;
    margin-right: 5px;
}

.step-search-for {
    width: 50%;
    border: 1px solid #f00;
}

.step-desc-newline {
    width: 100%;
    display: block;
}

.search-for-container {
    position: relative;
    padding-right: 18px;
}

.search-for-container .step-remove {
    position: absolute;
    top: 2px;
    right: 0px;
    float: none;
}

.search-for-desc {
    color: #fe7c00;
}

.search-for-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 85%;
}

.search-for-line {
    width: auto;
    display: inline;
}

.openstreetmap-copyright {
    bottom: 0;
    right: 0;

    margin-right: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(128,128,128,0.3);

    z-index: 1;
    position: absolute;
    color: #fff;

    font-size: 0.9em;
    
    padding: 0.25rem;
    border-radius: 0.25rem;

}

.openstreetmap-copyright a {
    color: #fff;
}

/* Blink animation for measure & position box  */
@keyframes blinkOrange {
    0%, 100% { 
        background-color: #7ec2ef; 
        outline: none;
    } 
    25%, 75% { 
        background-color: orange; 
        outline: orange;
    } 
}


.show-measure-box, 
.show-position-box {
    bottom: 1rem;

    background-color: #7ec2ef;
    font-size: 0.9em;
    padding: 0.25rem;
    padding-left: 1rem;
    text-align: center;
    z-index: 40;
    width: 100%;
    position: absolute;
    font-weight: bold;
    background-position: 0.25rem center;
    background-size: 1rem;
    background-repeat: no-repeat;
    border-radius: 0.25rem;
    display: none;

}

.show-position-box {
    max-width: 180px;
    left: 1rem;
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/crosshairs-pointer-solid.svg');
}

.show-measure-box {
    max-width: 120px;
    left: calc(2rem + 180px);
    background-image: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/measure_distance.png');
    background-size: 1.4rem
}

.show-measure-box:empty, 
.show-position-box:empty {
    padding: 0;
}

.show-measure-box.show, 
.show-position-box.show {
    display: block;
    animation: blinkOrange 0.75s ease-out 0s 5; /* Run the animation 3 times */
}




.top-field span.step-desc:first-child {
    width: 100%;
    font-weight: bold;
}

.steps h4 {
    text-transform: uppercase;
    color: #fff;
    background: #5680b9;
    padding: 5px;
    text-align: center;
    margin-bottom: 1px;
    font-family: 'OpenSans', helvetica, sans-serif;
    font-weight: 600;
    cursor: pointer;
}

/* #content_steps .loading {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/spin.gif');
    width: 100px;
    height: 70px;
    position: relative;
    display: block;
    margin: 0 auto;
    background-size: 100px 70px;
} */

.search-field.top-field, .steps .top-field, .results .top-field, .question-box, .inner-step-box {
    padding: 15px;
    margin-bottom: 0px;
    border: none;
}

.steps input {
    margin-right: 14px;
    width: 28%;
    border: 1px solid #bebebe;
    color: #666;
}

.inner-step-box {
    position: relative;
}

.inner-step-box label {
    font-size: 0.9em;
    margin-right: 5px;
}

.geolocation-browse .fieldset-column .input-west, .geolocation-browse .fieldset-column .input-east {
    display: inline-block;
    float: none;
    margin-bottom: 5px;
    margin-top: 5px;
}

.geolocation-browse .fieldset-column .input-north, .geolocation-browse .fieldset-column .input-south {
    margin-left: 55px;
}

.geolocation-browse {
    overflow: hidden;
}

.geolocation-browse .fieldset-column input {
    width: auto;
    max-width: 37%;
    border: 1px solid #bebebe;
    color: #666;
}

.geolocation-browse .search-geo-location {
    background-color: transparent;
    padding: 0px;
}

.geolocation-browse .search-geo-location input {
    margin-right: 5px;
}

.inner-step-box .fieldset-column {
    float: left;
}

.time-period {
    font-size: 0.95em;
}

.time-period label {
    margin-bottom: 5px;
    margin-right: 24px;
    display: block;
}

.steps input.date-formatter, .time-period input[type='date'] {
    font-family: Arial, helvetica, sans-serif;
    font-size: 0.9em;
    width: 90%;
    margin-right: 0px;
    background: #fff url(/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/calendar-icon.png) 97% 50% no-repeat;
    background-size: auto 16px;
    border: 1px solid #c4c4c4;
    padding: 3px 5px;
}

.time-period [type='date']::-webkit-inner-spin-button {
    display: none;
}

.time-period [type='date']::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.geo-options input {
    margin-right: 5px;
    vertical-align: top;
}

.browse-go {
    float: right;
    height: 10px;
    position: absolute;
    right: 10px;
    top: 28%;
    vertical-align: top;
}

.browse-go:after {
    content: '\f061';
    color: #5680b9;
    display: block;
    cursor: pointer;
    font-size: 20px;
    font-family: fontawesome;
}

.geolocation-browse .browse-go {
    bottom: 15px;
    top: auto;
}



.sort-by select {
    min-width: 120px;
    height: 30px;
    padding: 0px 5px;
}

ul.data-found {
    display: inline-block;
}

ul.data-found li, .display-results {
    list-style: none;
    margin-right: 3px;
    display: inline-block;
}

ul.data-found li:after {
    content: '|';
    float: right;
    margin-left: 3px;
}

ul.data-found li:last-child:after, .display-results button:before {
    content: none;
}

.display-results {
    float: right;
    margin-right: 0px;
}

.display-results button {
    padding: 1px 5px;
    padding-top: 0px;
    margin-left: 5px;
}

.browse-results-big {
    width: 100%;
    overflow-y: scroll;
    position: relative;
    display: block;
    height: calc(100% - var(--top-field-height));
    border-collapse: collapse;
    border-top: 1px solid #bebebe;

    padding: 0px;
    padding-left: 4px;
}

.sidebar.big .browse-results-big {
    border-top: 0px;
}

/* RESOURCE BUTTON */

span.present, 
span.not-present {
    /* background-color: #289548; */
    background-color: #7EC2EF;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    text-align: center;
}

span.not-present:after,
span.present:after {
    display: inline-block;
    color: white;
    font-family: fontawesome;
    content: '\f019';
    margin-top: 7.5px;
}

span.not-present:after {
    content: '\f00d';
}

span.not-present {
    background: #dd1010;
    border-radius: 12%;
}

.detail span.present, 
.detail span.not-present {
    transform: translateY(-5px);
}

.browse-results span.present, 
.browse-results span.not-present {
    margin: 5px;
    display: inline-block;
}

span.detail-present {
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}

.browse-results a[target="_blank"] {
    display: inline-block;
}

/* EXCLUDE RECORD BUTTONS */

.browse-results-big span.exclude_record,  
.browse-results span.exclude_record {
    background-color: #94949483;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    margin: 5px;
    display: block;
    cursor: pointer;
    text-align: center;
}

.browse-results-big span.exclude_record {
    margin-left: auto;
    margin-right: auto;
}

.browse-results span.exclude_record {
    display: inline-block;
}

.browse-results-big span.exclude_record:after,
.browse-results span.exclude_record:after {
    display: inline-block;
    color: white;
    font-family: fontawesome;
    content: '\f05e';
    margin-top: 8px;
    
}



.browse-results ul li, .browse-results-big ul li {
    list-style: none;
    float: left;
    margin-right: 10px;
    padding: 5px;
    margin-top: 5px;
    width: 25px;
    height: 32px;
    background-size: 25px 32px;
}

.export-by {
    float: right;
}

.browse-results {
    width: 100%;
    overflow-y: scroll;
    position: relative;
    padding: 15px;
    height: 85%;
    border-collapse: collapse;
    padding-top: 0px;
    display: block;
    padding-top: 15px;
    border-top: 1px solid #bebebe;
    display: block;
}

.display-results {
    margin-bottom: 10px;
}

.data-found.small, .display-results.small {
    font-size: 0.85em;
    margin-bottom: 0px;
    display: inline-block;
    vertical-align: middle;
}

.browse-results tr {
    padding: 10px 0px;
    border-bottom: 1px solid #bebebe;
}

.browse-results td {
    vertical-align: top;
    padding: 10px 5px;
    font-weight: normal;
    width: 100vw;
}

.browse-results p.date {
    font-weight: bold;
}

.browse-results p.date {
    margin: 5px 0px;
}

.csv {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/csv_icon.png');
}

.wms {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/wms_icon.png');
}

.trademark {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/trademark-icon.png');
}

.net-cdf {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/net-cdf-icon.png');
}

.odv {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/odv-icon.png');
}

.data_form_1 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/data_form_1.png');
}

.data_form_2 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/data_form_2.png');
}

.data_form_3 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/data_form_3.png');
}

.data_form_4 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/data_form_4.png');
}

.data_form_5 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/data_form_5.png');
}

.data_form_6 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/data_form_6.png');
}

.data_form_7 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/data_form_7.png');
}

.data_form_8 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/data_form_8.png');
}

.bin {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/bin-icon.png');
}

.digaud {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/digaud-icon.png');
}

.patent-pending {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/patent-pending-icon.png');
}

.constraint_1 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/constraint_1.png');
}

.constraint_2 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/constraint_2.png');
}

.constraint_3 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/constraint_3.png');
}

.constraint_4 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/constraint_4.png');
}

.constraint_5 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/constraint_5.png');
}

.constraint_6 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/constraint_6.png');
}

.constraint_7 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/constraint_7.png');
}

.constraint_8 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/constraint_8.png');
}

.resource_14 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/resource_14.png');
}

.resource_5 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/resource_5.png');
}

.resource_6 {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/resource_6.png');
}

.detail-table .info i.info {
    vertical-align: top;
    font-family: fontawesome;
    font-size: 0.95em;
    color: rgba(128, 128, 128, 0.2);
    cursor: pointer;
    font-style: normal;
    font-weight: 800;
    width: 1em;
    height: 1em;
    margin: 3px;
    display: inline-block;
    position: relative;
}
.detail-table .info i.info span[info-key] {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    position: absolute;
    bottom: 0.65em;
    left: 0.65em;
    min-width: 300px;
    max-width: 500px;
    max-height: 500px;
    background-color: rgb(16, 16, 16);
    border-radius: 0.5em;
    padding: 0.5em;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95em;
    font-weight: initial;
    cursor: initial;
}

.detail-table .info i.info:hover {
    color: rgba(128, 128, 128, 0.9);
}

.detail-table .info i.info.active span[info-key],
.detail-table .info i.info:hover span[info-key] {
    visibility: visible;
    opacity: 1;
}

/* detail */

.detail-table {
    margin-top: 20px;
    border-collapse: collapse;
    border-top: 1px solid #d4d1d1;
    border-bottom: 0px;
}

.detail-table th {
    border: 1px solid #d4d1d1;
    border-bottom: 0px;
    border-right: 0px;
    text-align: left;
    padding: 10px;
    text-transform: uppercase;
    color: #3f4040;
    font-family: 'OpenSans', helvetica, sans-serif; 
    font-weight: 800; 
    font-size: 1.2em;
}

.detail-table td {
    padding: 5px 0px;
    vertical-align: top;
}

.detail-table td:first-child {
    min-width: 150px;
    padding: 5px;
    width: 35%;
    padding-right: 10px;
    vertical-align: top;
    font-family: 'OpenSans', helvetica, sans-serif;
    font-weight: 600;
}

.detail-table td.sub-header {
    background: #5680b9;
    color: #fff;
}

.detail-table td a {
    word-break: break-all;
}

.detail-table tr:nth-child(even) {
    background-color: rgba(128,128,128, 0.1);
}

.detail-table tr:hover {
    background-color: rgba(128,128,128, 0.2);
}

.detail-table tr td.lineage,
.detail-table tr td.abstract {
    white-space: pre-wrap;
}

.content.detail p.abstract {
    white-space: pre-wrap;
}


.detail-table tr.organisation {
    background: #eee;
}

.detail-table tr.organisation:not(.first-organisation) {
    border-top: 14px solid white;
}

.detail-table tr.organisation-details td, .detail-table tr.organisation-details td:first-child {
    font-size: 0.9em;
}

.detail-table tr.organisation-details td:first-child {
    padding: 1px 5px;
}

.detail-table tr.organisation-details td {
    padding: 1px 0px;
}

.detail-table td a {
    word-break: break-all;
}

/* RELATED RECORDS (PARENT & CHILDREN) */
/* MORE LIKE THIS */

div.child-records-wrapper,
div.more-like-this-wrapper {
    width: 100%;
    overflow-x: auto;
}

div.parent-records,
div.child-records,
div.more-like-this {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem;
}

div.parent-records div.parent-record,
div.child-records div.child-record,
div.more-like-this div.item-like-this {
    display: inline-block;
    flex-shrink: 0;
    max-width: 400px;
    margin-top: 0.5rem;
    padding: 0.5rem;

    background-color: #FAFAFA;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 8px;
    cursor: pointer;

}

div.parent-records div.parent-record:hover,
div.child-records div.child-record:hover,
div.more-like-this div.item-like-this:hover {
    background-color: #F0F0F0;
}

div.parent-records div.parent-record .title,
div.child-records div.child-record .title,
div.more-like-this div.item-like-this .title {
    font-size: 1.1em;
    font-weight: bold;
}


/* SIDEBAR FOOTER */

.sidebar-footer h5 {
    padding-left: 1rem;
    margin-top: 1rem;
}
.sidebar-footer {
    bottom: 0;
    border-top: 1px solid #d4d1d1;
    width: 100%;
}

.sidebar-footer {
    padding-bottom: 0px;
}

.sidebar-footer ul {
    display: block;
    list-style: none;
    padding: 20px;
}

.sidebar-footer ul li {
    display: inline-block;
    margin-left: 0.5rem;
}


.sidebar-footer p {
    display: inline-block;
    max-width: 190px;
}

.breadcrumb {
    border-bottom: 1px solid #d4d1d1;
    padding: 0 15px;
    background: #fff;
}

.breadcrumb ul.download-icons {
    float: right;
    margin-top: 20px;
}

.breadcrumb ul.download-icons li {
    list-style: none;
    text-indent: -1000vw;
    float: left;
    width: 33px;
    height: 33px;
    display: block;
}

.breadcrumb button {
    margin-right: 10px;
}

.kml-icon {
    background: url('/ukgwa/20260902050146oe_/https://portal.medin.org.uk/grfx/icons/kml-icon.png') no-repeat;
    background-size: 30px 30px;
}

.results-btn {
    background: #fe7c00;
}

.results-btn:before {
    display: block;
    float: left;
    content: '\f053';
    font-family: fontawesome;
    margin-right: 10px;
    margin-top: 3px;
}

.small-map {
    width: 100%;
    height: 300px;
    background: #e6eff5;
    border: 1px solid #bebebe;
}


.metadata {
    text-align: center;
    font-size: 0.8em;
}

.content h5, .content h2 {
    margin-bottom: 3px;
    margin-top: 20px;
}

.content.detail {
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 0px 15px;
    background: #fff;
    height: auto !important;
    flex-grow: 1;
    padding-bottom: 100px;
}

.content.detail ul li {
    list-style: none;
    display: inline-block;
}

.detail-table div.treeview-item {
    float: none;
    display: inline-block;
}

input[type='number']::-webkit-outer-spin-button, input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='number'] {
    -moz-appearance: textfield;
}


.select2-dropdown {
    z-index: 99999 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin: initial;
}

.jq-select2-clear {
    margin-left: 4px;
    cursor: pointer;
    color: rgba(16, 16, 16, 0.8);
    display: none;
}

.jq-select2-clear::after {
    font-family: fontawesome;
    content: '\f056';
}

.ui-autocomplete.ui-front {
    z-index: 100000
}

#featureInfoContent {
    max-width: 100%;
    max-height: 100%;
    overflow: scroll;
}

#featureInfoContent table {
    border-collapse: collapse;
    margin: 1em;
}

#featureInfoContent table tr td {
    border: 1px solid grey;
    min-width: 100px;
    width: fit-content;
    padding: 2px;
}

/* select 2 tweaks */
.select2-container--default .select2-search--inline .select2-search__field::placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(0,0,0,0.8) !important;
    font-family: 'Open Sans', helvetica, sans-serif;
}

/* MEDIA QUERIES */

@media screen and (max-height: 1150px) {
    .content.detail { /* max-height 1150px */
        height: 75vh;
    }
}

@media screen and (max-height: 1000px) {
    .content.detail { /* max-height 1000px */
        height: 70vh;
    }
}

@media screen and (max-height: 900px) {
    .content.detail { /* max-height 900px */
        height: 60vh;
    }
}

@media screen and (max-width: 768px) {
    .advanced-category.combo-special select {
        height: auto;
    }
    input[type='radio'] {
        -webkit-appearance: none;
        border-radius: 50%;
        vertical-align: bottom;
    }
    h1 {
        font-size: 1.3em;
    }
}

@media screen and (max-width: 760px) {
    .mapcontrols, .toggle-map, .toggle-search {
        display: none;
    }
    header {
        height: 125px;
    }
}

@media screen and (max-width: 690px) {
    .controls, #map, .toggle-search, .toggle-map {
        display: none;
    }
    header h1 {
        font-size: 1.2em;
    }
    #map {
        width: 0;
        height: 0;
    }
    .steps, .browse-results {
        overflow: auto;
    }
    .search-form input:not([type="checkbox"]), .search-form select {
        width: 80%;
        max-width: 30%;
        font-size: 16px !important;
    }
    .steps .free-search, .steps input {
        font-size: 16px !important;
    }
    #form_search p {
        margin-top: 7px;
    }
    .search-form dd.date input {
        width: 30%;
        font-size: 16px !important;
    }
    .sidebar, .steps, .results, .data-found.small, .display-results.small {
        max-width: 100vw;
        width: 100vw;
        position: relative;
    }
    .browse-results td {
        width: 100vw;
    }
    .search-field .content {
        overflow-x: hidden;
    }
    .geolocation-browse .fieldset-column .input-north, .geolocation-browse .fieldset-column .input-south {
        margin-left: 70px;
    }
    html, body {
        overflow-y: auto;
    }
    .block-results {
        background: #fff;
    }
    .display-results.small {
        margin-bottom: 10px;
        margin-top: 5px;
    }
    .geolocation-browse .fieldset-column .input-west, .geolocation-browse .fieldset-column .input-east {
        float: left;
    }
    .search-container-item {
        width: 100%;
    }
}

@media screen and (max-height: 5000px) {
    .search-field .content {
        max-height: 75vh;
        height: 100%;
    }
}
@media screen and (max-height: 2000px) {
    .search-field .content {
        max-height: 70vh;
        height: 100%;
    }
}

@media screen and (max-height: 1400px) {
    .search-field .content {
        max-height: 900px;
        height: 100%;
    }
    .content.detail { /* max-height 1400px */
        height: 83vh;
    }
}

@media screen and (max-height: 1300px) {
    .search-field .content {
        max-height: 830px;
        height: 100%;
    }
    .content.detail { /* max-height 1300px */
        height: 82vh;
        width: 100%;
    }
}

@media screen and (max-height: 1230px) {
    .search-field .content {
        max-height: 800px;
        height: 100%;
    }
    .content.detail { /* max-height 1230px */
        height: 81vh;
    }
}

@media screen and (max-height: 1200px) {
    .search-field .content {
        max-height: 760px;
        height: 100%;
    }
}

@media screen and (max-height: 1165px) {
    .search-field .content {
        max-height: 720px;
        height: 100%;
    }
    .content.detail { /* max-height 1165px */
        height: 80vh;
    }
}

@media screen and (max-height: 1125px) {
    .search-field .content {
        max-height: 690px;
        height: 100%;
    }
    .content.detail { /* max-height 1125px */
        height: 79vh;
    }
}

@media screen and (max-height: 1100px) {
    .search-field .content {
        max-height: 670px;
        height: 100%;
    }
    .content.detail { /* max-height 1100px */
        height: 78vh;
    }
}

@media screen and (max-height: 1070px) {
    .search-field .content {
        max-height: 640px;
        height: 100%;
    }
}

@media screen and (max-height: 1040px) {
    .search-field .content {
        max-height: 620px;
        height: 100%;
    }
    .content.detail { /* max-height 1040px */
        height: 77vh;
    }
}

@media screen and (max-height: 1010px) {
    .search-field .content {
        max-height: 590px;
        height: 100%;
    }
    .content.detail { /* max-height 1010px */
        height: 76vh;
    }
}

@media screen and (max-height: 980px) {
    .search-field .content { 
        max-height: 550px;
        height: 100%;
    }
}

@media screen and (max-height: 950px) {
    .search-field .content {
        max-height: 520px;
        height: 100%;
    }
    .content.detail { /* max-height 950px */
        height: 75vh;
    }
}

@media screen and (max-height: 920px) {
    .search-field .content {
        max-height: 490px;
        height: 100%;
    }
    .content.detail { /* max-height 920px */
        height: 74vh;
    }
}

@media screen and (max-height: 890px) {
    .search-field .content {
        max-height: 460px;
        height: 100%;
    }
}

@media screen and (max-height: 860px) {
    .search-field .content {
        max-height: 430px;
        height: 100%;
    }
    .content.detail { /* max-height 860px */
        height: 73vh;
    }
}

@media screen and (max-height: 830px) {
    .search-field .content {
        max-height: 400px;
        height: 100%;
    }
    .content.detail { /* max-height 830px */
        height: 72vh;
    }
}

@media screen and (max-height: 800px) {
    .search-field .content {
        max-height: 370px;
        height: 100%;
    }
    .content.detail { /* max-height 800px */
        height: 70vh;
    }
}

@media screen and (max-height: 770px) {
    .search-field .content {
        max-height: 340px;
        height: 100%;
    }
    .content.detail { /* max-height 770px */
        height: 69vh;
    }
}

@media screen and (max-height: 740px) {
    .search-field .content {
        max-height: 310px;
        height: 100%;
    }
    .content.detail { /* max-height 740px */
        height: 68vh;
    }
}

@media screen and (max-height: 710px) {
    .search-field .content {
        max-height: 280px;
        height: 100%;
    }
    .content.detail { /* max-height 710px */
        height: 67vh;
    }
}

@media screen and (max-height: 680px) {
    .search-field .content {
        max-height: 250px;
        height: 100%;
    }
    .content.detail { /* max-height 680px */
        height: 66vh;
    }
}

@media screen and (max-height: 650px) {
    .search-field .content {
        max-height: 220px;
        height: 100%;
    }
    .content.detail { /* max-height 650px */
        height: 65vh;
    }
}

@media screen and (max-height: 620px) {
    .search-field .content {
        max-height: 190px;
        height: 100%;
    }
    .content.detail { /* max-height 620px */
        height: 63vh;
    }
}

@media screen and (max-height: 590px) {
    .search-field .content {
        max-height: 160px;
        height: 100%;
    }
    .content.detail { /* max-height 590px */
        height: 60vh;
    }
}

@media screen and (max-height: 560px) {
    .search-field .content {
        max-height: 130px;
        height: 100%;
    }
    .content.detail { /* max-height 560px */
        height: 56vh;
    }
}

@media screen and (max-height: 700px) {
    .advanced-category.combo-special select {
        height: 30px;
    }
}

@media screen and (max-width: 500px) {
    .search-form input:not([type="checkbox"]), .search-form select {
        width: 80%;
        max-width: 40%;
    }
}

@media screen and (max-width: 670px) {
    .search-field .content {
        height: 100%;
        max-height: none !important;
    }
    .sidebar {
        overflow-y: scroll;
    }
}

@media screen and (max-width: 400px) {
    .search-form dd.date input {
        width: 35%;
    }
    .input-west, .input-north, .input-south, .input-east {
        max-width: 35%;
    }
    header {
        height: 170px;
    }
    h1 {
        font-size: 1.2em;
    }
    .search-field .content {
        max-height: 100%;
        height: 100%;
    }
    .sidebar-footer ul:last-child {
        padding-bottom: 20px;
        padding-top: 0px;
    }
    .sidebar {
        background: #fff;
    }
    .treeview-item, 
    dl.combo-special::before, 
    .select-by-box-btn, 
    #form_search dl dt:nth-child(5), 
    .bbox, 
    /* .geolocation-browse,  */
    #form_search h4:nth-child(5) {
        display: none;
    }
    .combo-special:nth-child(4), .combo-special:nth-child(3), .input-north, .input-south {
        margin-left: 0px;
    }
    .advanced-category select, .combo-special, .search-form select {
        max-width: 100%;
    }
    .detail-table td {
        word-break: break-all;
    }
    .search-form dd {
        margin-bottom: 10px;
    }
    .search-form {
        margin-top: 50px;
    }
    .advanced-search-off, .advanced-search-on {
        float: left;
        width: 100%;
    }
}
