﻿:disabled {
    cursor: not-allowed;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.td-centred {
    text-align: center !important;
}

.nav-tabs .nav-link {
    color: #888a8c;
    border-color: #e5e9ee #e5e9ee #dee2e6;
    background-color: #F8F9FA;
}

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: -8px;
    display: none;
}

.dropdown-menu .sub-menu.sub-menu-left {
    left: initial;
    right: 100%;
}

.dropdown-menu div.dropdown-item:focus .sub-menu,
.dropdown-menu div.dropdown-item:hover .sub-menu,
.dropdown-menu span.dropdown-item:focus .sub-menu,
.dropdown-menu span.dropdown-item:hover .sub-menu {
    display: block;
}
.round-borders-left {
    border-radius: .25rem 0 0 .25rem !important;
}

.filter-hidden {
    display:none;
}
textarea {
    min-height: 2.35rem
}
abbr {
    text-decoration-thickness: 1px;
}
input[type=time] {
    width: 6rem !important;
}
.required-star {
    font-size: 7px;
    position: absolute;
    margin-left: 2px;
    margin-top: 2px;
}
.badge.record-count {
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0 0.18rem 0 0.25em;
    padding: 0 .4em .15em .4em;
    background-color: #ced4da;
    color: #333;
    font-weight: normal;
}
.project-btn.focus, .project-btn:focus {
    box-shadow: 0 0 0 .2rem rgba(148, 187, 147, 0.5) !important;
}

.ors-table {
    width: 100%;
}
    .ors-table thead tr th {
        background-color: #6C757D;
        color: white;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .ors-table th {
        font-weight: 600;
        font-size: small;
    }

    .ors-table td, .ors-table th {
        padding: 4px 6px;
    }

    .ors-table thead tr th:first-child {
        border-radius: 3px 0 0 3px;
    }

    .ors-table thead tr th:not(:first-child) {
        border-left: 1px solid #999;
        padding-left: 8px;
    }

    .ors-table thead tr th:last-child {
        border-radius: 0 3px 3px 0;
    }

    .ors-table tr td:first-child {
        padding: 4px 2px;
        border-radius: 3px 0 0 3px;
        width: 1px
    }

    .ors-table tr td:last-child {
        border-radius: 0 3px 3px 0;
    }

    .ors-table tr:nth-child(2n) td {
        background-color: #eee;
    }

    .ors-table tr.editing td {
        vertical-align: top;
    }

table > tbody > tr.stripe {
    background-color: rgba(0,0,0,.05)
}

.extra-field-holder {
    font-size: 0.85rem;
}
    .extra-field-holder b {
        font-weight: 600;
    }

/*Changes for phone display*/
@media only screen and (max-width: 767px) {
    .control-label {
        font-size: 1.1rem;
        background-color: #3B6F31 !important;
        color: white;
    }

    .form-control {
        font-size: 1.1rem
    }

    .hide-if-small {
        display: none;
    }

    .btn.bigger-if-small {
        font-size: 1.25rem;
    }
}
/*Change small screen display of the ORS table*/
@media only screen and (max-width: 991px) {

    
    /* Force table to not be like tables anymore */
    table .ors-table, table.ors-table thead, table.ors-table tbody, table.ors-table th, table.ors-table td, table.ors-table tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        table.ors-table thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    table.ors-table tr {
        border: 1px solid #ccc;
        border-radius: 4px;
        margin-bottom: 2px;
        overflow: hidden;
    }

    table.ors-table td {
        padding: 0 6px !important;
    }

        table.ors-table td:first-child {
            position: absolute;
            margin: 4px 0 0 4px;
        }

        table.ors-table td:nth-child(2) { /*Species name - padding allows buttons space to operate*/
            font-weight: 600;
            padding: 8px 0 6px 85px !important;
        }

        table.ors-table td:nth-child(2).extra-button { /*Add extra left padding to accommodate extra filter button*/
            padding-left: 118px !important;
        }
            
        table.ors-table td:nth-child(2).extra-two-buttons { /*Add extra left padding to accommodate two extra buttons - filter + verify or validate*/
            padding-left: 158px !important;
        }

        table.ors-table td:last-child {
            padding: 4px 0 !important;
        }
}

/*Bootstrap overrides*/
mark {
    padding: 0;
}
.tooltip-inner {
    background-color: antiquewhite;
    color: black;
    border: 1px solid black;
}
.form-control[readonly] {
    background-color: #f7f7f7;
}
.invalid-tooltip {
    position: static;
    background-color: transparent;
    font-weight: bold;
    text-align: right;
    color: rgb(220,53,69);
    padding: 0 .25rem 0 0;
    margin: 0;
}
.dropdown-menu { /*Add a shadow to menus*/
    box-shadow: 4px 4px 4px 0 rgba(0,0,0,0.25);
}
.dropdown-header {
    font-variant: small-caps;
}
.dropdown-toggle {
    height: 100%;
}
    .dropdown-toggle.nocaret::after {
        content: none;
    }
    .dropdown-toggle.select-replacement {
        border-color: rgb(206, 212, 218);
        color: #999;
        text-align: left;
    }
        .dropdown-toggle.select-replacement.item-selected {
            color: #495057;
        }
        .dropdown-toggle.select-replacement .caret {
            display: block;
            float: right;
            width: 0;
            height: 0;
            vertical-align: middle;
            border-top: 4px dashed;
            border-top: 4px solid\9;
            border-right: 4px solid transparent;
            border-left: 4px solid transparent;
            margin-top: 0.65rem;
        }

.autocomplete .dropdown-item:not(:last-child) {
    border-bottom: 1px solid #efefef;
}
.btn {
    padding: 0.35rem 0.75rem 0.4rem 0.75rem;
}
.btn-light {
    color: #808080;
    border-color: #e1e0d9;
}
.btn-link.focus, .btn-link:focus {
    box-shadow: none;
}

.hover-editable:hover::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f304";
    font-size: 0.75rem;
    color: white;
    position: relative;
    bottom: 7px;
}

.control-label {
    border: 1px solid #e1e0d9;
    border-radius: 0.25rem;
    background-color: #fffdf1;
    padding: 10px;
    line-height: 1;
    margin: 0;
    text-shadow: 0 0 1px #b5b5b5;
    width: 100%;
}
    .control-label.lockable {
        border-radius: 0.25rem 0 0 0.25rem
    }

.custom-control-label::after, .custom-control-label::before {
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
}
/*.custom-control-lg .custom-control-label::before,
.custom-control-lg .custom-control-label::after {
    width: 1.25rem !important;
    height: 1.25rem !important;
}*/

.custom-control-label {
    padding-left: 0.4rem;
}

/*Override green ticks for valid fields */
.form-control.is-valid, .was-validated .form-control:valid, .custom-select.is-valid, .was-validated .custom-select:valid {
    padding-right: initial;
    background-image: none;
}

.modal-header.slim {
    padding: 0.3rem 1rem;
}
    .modal-header.slim .close {
        padding: 0.3rem 1rem;
        margin: -0.3rem -1rem -0.3rem auto;
    }

.form-group {
    margin-bottom: 0.4rem;
}
.form-control::placeholder {
    color: #999;
}

/*Custom Select - change arrow svg and colour to match other buttons*/
.custom-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%236c757d' d='M2 4,0 2h4z'/%3e%3c/svg%3e");
}

select.custom-select option {
    color: rgb(33, 37, 41);
}
select.custom-select.empty {
    color: #999;
}

/*Validation*/
.field-validation-error {
    font-size: small;
    font-weight: bold;
    color: #dc3545;
}
.field-validation-error::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f071";
    margin-left: 4px;
    margin-right: 6px;
}

.input-validation-error {
    border-color: #dc3545 !important;
    background-color: #ffe6e6;
}

.validation-summary-errors {
    padding: .75rem 1.25rem;
    margin-top: .5rem !important;
    color: #721c24;
    background-color: #f8d7da;
    border: solid 1px #f5c6cb;
    border-radius: 0.25rem
}
.validation-summary-errors ul li::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f071";
    margin-right: 4px;
}
.validation-summary-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*Species Lookup*/
.species-lock-item.locked-group::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f0b0";
    margin-right: 4px;
    color: #FFC107;
}

/*Vertical Input Group*/
.vertical-input-group .input-group:first-child:not(:last-child) {
    padding-bottom: 0;
}

    .vertical-input-group .input-group:first-child:not(:last-child) * {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

.vertical-input-group .input-group:last-child:not(:first-child) {
    padding-top: 0;
}

    .vertical-input-group .input-group:last-child:not(:first-child) * {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.vertical-input-group .input-group:not(:last-child):not(:first-child) {
    padding-top: 0;
    padding-bottom: 0;
}

    .vertical-input-group .input-group:not(:last-child):not(:first-child) * {
        border-radius: 0;
    }

.vertical-input-group .input-group:not(:first-child) * {
    border-top: 0;
}

.species-prompt {
    font-size: smaller;
    margin-bottom: .25rem;
    padding: .2rem 1rem .3rem 1rem;
}

/*Busy Popup*/
#mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9000;
    background-color: rgba(128, 128, 128, 0.7);
    display: none;
    width: 100vw;
    height: 100vh;
}

#busyPopup {
    display: none;
    position: fixed;
    top: 5vw;
    left: calc(50vw - 100px);
    z-index: 9001;
    text-align: center;
    padding: 30px 10px;
    width: 200px;
    height: 200px;
    max-width: 200px;
    max-height: 200px;
    border: 14px solid #006158;
    border-radius: 260px;
    background-color: #fff;
    color: #000;
}


.standard-outline {
    border: 1px solid #ced4da;
}

/*Bootstrap Toggle*/
div[data-toggle="toggle"] {
    flex-grow: 0 !important; /*Stop from expanding when included in a btn-group*/
    /*height: auto !important; /*Prevent height staying at larger size when resizing screen*/
}
.toggle-on.btn, .toggle-off.btn {
    padding-top: 0.25rem;
}

.dropdown-menu .scrollable-area {
    height: auto;
    max-height: 40vh;
    overflow-x: hidden;
}

.inline-search {
    border-radius: 0;
    border-left: none;
}
    .inline-search + .input-group-append .input-group-text {
        border-radius: 0;
    }

/*Rating Stars*/
.rating {
    border: none;
    float: left;
}

    .rating > input {
        display: none;
    }

    .rating > label::before {
        margin: 5px;
        font-size: 1.25em;
        font-family: 'Font Awesome 5 Free';
        display: inline-block;
        content: "\f005";
        font-weight: bold;
    }

    .rating > .half::before {
        content: "\f089";
        position: absolute;
        font-weight: bold;
    }

    .rating > label {
        color: #ddd;
        float: right;
        margin-bottom: 0;
    }

    /***** CSS Magic to Highlight Stars on Hover *****/

    .rating > input:checked ~ label, /* show gold star when clicked */
    .rating:not(:checked) > label:hover, /* hover current star */
    .rating:not(:checked) > label:hover ~ label {
        color: #FFD700;
    }
        /* hover previous stars in list */
        .rating > input:checked + label:hover, /* hover current star when changing rating */
        .rating > input:checked ~ label:hover,
        .rating > label:hover ~ input:checked ~ label, /* lighten current selection */
        .rating > input:checked ~ label:hover ~ label {
            color: #FFED85;
        }

/* Sticky footer styles
-------------------------------------------------- */
/*html {
    font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}*/

@media (min-width: 768px) {
    .position-absolute-md {
        position: absolute !important;
    }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  height: 60px;
}


/*Mapping*/
.map-wrapper {
    float: left;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#div_map_copyright {
    position: absolute;
    bottom: 5px;
    left: 124px;
    font-size: 10px;
    color: rgb(0, 0, 0);
    padding: 0px 5px;
    cursor: default;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
}

.Infobox {
    border-radius: 6px;
}

.Infobox .infobox-title {
    user-select: text;
}

.grabbing {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.display-type-toggle {
    z-index: 1050;
    padding: 18px;
}

    .display-type-toggle .toggle-handle {
        border-color: #343a40 !important;
    }
    .display-type-toggle .toggle-on, .display-type-toggle .toggle-off {
        line-height: 1;
        font-size: 13px;
    }

.search-result {
    padding-left: 10px;
}

#div_zoom_holder {
    position: absolute;
    top: 59px;
    right: 20px;
    z-index: 151;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap-reverse;
}

#div_derived_gr {
    width: 190px;
    margin: 15px auto 0 auto;
    padding-bottom: 3px;
    font-size: larger;
    text-align: center;
}

#span_derived_gr {
    user-select: all;
    -moz-user-select: all;
}

#div_cursor_prompt {
    white-space: nowrap;
    display: none;
    position: absolute;
    z-index: 11;
    background-color: white;
    border: 1px solid #555;
    border-radius: 3px;
    padding: 2px 4px;
    color: #000;
    pointer-events: none;
}
#div_map_key {
    position: absolute;
    right: 10px;
    bottom: 24px;
    width: 165px;
    z-index: 1040;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
}

.map-btn-switcher {
    display: flex;
    flex-direction: row-reverse;
    width: 38px;
    transition: width 1s;
}

    .map-btn-switcher.hover-active:hover, map-btn-switcher.hover-active:focus, map-btn-switcher.taphover {
        width: auto !important;
    }

        .map-btn-switcher.hover-active:hover > .hidden-btn, .map-btn-switcher.hover-active:focus > .hidden-btn, .map-btn-switcher.taphover > .hidden-btn {
            display: block !important;
        }

.map-btn {
    width: 30px;
    height: 30px;
    margin: 4px;
    border: 1px solid #555;
    background-color: #f5eee9;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    align-content: center;
}

    .map-btn.highlight {
        background-color: #DAFF1E !important;
    }

    .map-btn:hover {
        background-color: #93ddf3;
        border-color: #333;
    }

    .map-btn.hidden-btn {
        display: none;
    }

/*Map Switching*/
#div_map_switcher {
    position: absolute;
    width: auto;
    height: auto;
    bottom: 24px;
    left: 10px;
    z-index: 1040;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
}

    #div_map_switcher.hover-active:hover > div, #div_map_switcher.hover-active:focus > div, #div_map_switcher.taphover > div {
        display: block;
        margin-top: 10px;
        margin-right: 10px;
    }

        #div_map_switcher.hover-active:hover > div:first-child, #div_map_switcher.hover-active:focus > div:first-child {
            opacity: 0.6;
        }


.map-switch {
    width: 80px;
    height: 80px;
    border: 1px solid black;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
    .map-switch:not(:first-child):not(.unavailable):hover, .map-switch:not(:first-child):not(.unavailable):focus {
        box-shadow: 0 0 0 8px rgba(10, 10, 10, 0.75);
    }
    .map-switch.unavailable::after {
        content: '×';
        font-size: 200px;
        font-weight: bold;
        cursor: not-allowed;
        color: #f009;
        position: absolute;
        top: -136px;
        left: -32px;
    }
    .map-switch > span {
        display: inline-block;
        text-align: center;
        color: black;
        background-color: rgb(255, 255, 255);
        background-color: rgba(255, 255, 255, 0.75);
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
    }

#main_switch {
    background: url("/images/mapping/OSM.jpg") no-repeat center center;
}

#os_switch {
    display: none;
    background: url("/images/mapping/OS.jpg") no-repeat center center;
}

#road_switch {
    display: none;
    background: url("/images/mapping/Road.jpg") no-repeat center center;
}

#aerial_switch {
    display: none;
    background: url("/images/mapping/Aerial.jpg") no-repeat center center;
}

#osm_switch {
    display: none;
    background: url("/images/mapping/OSM.jpg") no-repeat center center;
}

.key-swatch {
    display: inline-block;
    height: 18px;
    width: 18px;
    background-color: white;
    border: 2px solid black;
    border-radius: 2px;
    vertical-align: text-bottom;
    line-height: 12px;
    text-align: center;
}

.site-group-swatch {
    display: inline-block;
    height: 16px;
    width: 16px;
    border: 2px solid #333;
    border-radius: 4px;
    vertical-align: text-bottom;
    flex-shrink: 0;
}

.habitat-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: text-bottom;
    background: url(/images/habitats.svg) no-repeat center center;
}

    .habitat-icon.inverse {
        vertical-align: bottom;
        background: url(/images/habitats-white.svg) no-repeat center center;
    }

.icon-xs {
    display: inline-block;
    vertical-align: -20%;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    mask-repeat: no-repeat;
}

.icon-small {
    display: inline-block;
    vertical-align: -20%;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    mask-repeat: no-repeat;
}

.icon-pointer-pin {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.778 12.222l3.113 -2.09a1.2 1.2 0 0 0 -.309 -2.228l-13.582 -3.904l3.904 13.563a1.2 1.2 0 0 0 2.228 .308l2.09 -3.093l.381 .381" /><path d="M21.121 20.121a3 3 0 1 0 -4.242 0c.418 .419 1.125 1.045 2.121 1.879c1.051 -.89 1.759 -1.516 2.121 -1.879z" /><path d="M19 18v.01" /></svg>');
}

.icon-pointer-gridref {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M14.778 12.222l3.113 -2.09a1.2 1.2 0 0 0 -.309 -2.228l-13.582 -3.904l3.904 13.563a1.2 1.2 0 0 0 2.228 .308l2.09 -3.093l.381 .381"></path><text x="14" y="18" fill="black" dominant-baseline="middle" font-family="Calibri, Arial, sans-serif" font-size="8" stroke-width="0.5">SH12</text></svg>');
    width: 28px;
    height: 20px;
}

.icon-draw-polygon {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M19 8m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M5 11m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M15 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M6.5 9.5l3.5 -3" /><path d="M14 5.5l3 1.5" /><path d="M18.5 10l-2.5 7" /><path d="M13.5 17.5l-7 -5" /></svg>');
}

.icon-draw-square {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path><path d="M19 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path><path d="M5 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path><path d="M19 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path><path d="M5 7l0 10"></path><path d="M7 5l10 0"></path><path d="M7 19l10 0"></path><path d="M19 7l0 10"></path></svg>');
}

.icon-draw-line {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path><path d="M19 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path><path d="M19 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path><path d="M5 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path><path d="M6.5 17.5l11 -11m-12.5 .5v10m14 -10v10"></path></svg>');
}

.icon-draw-circle {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 10m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path><path d="M17 10m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path><path d="M10 3m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path><path d="M10 17m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"></path><path d="M19 10a5 5 0 0 0 -5 -5"></path><path d="M19 14a5 5 0 0 1 -5 5"></path><path d="M5 14a5 5 0 0 0 5 5"></path><path d="M5 10a5 5 0 0 1 5 -5"></path></svg>');
}

.icon-measure {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 3l4 4l-14 14l-4 -4z"></path><path d="M16 7l-1.5 -1.5"></path><path d="M13 10l-1.5 -1.5"></path><path d="M10 13l-1.5 -1.5"></path><path d="M7 16l-1.5 -1.5"></path></svg>');
}

.icon-skew-y {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" ><path d="M4.326 19h15.348a1 1 0 0 0 .962 -1.275l-3.429 -12a1 1 0 0 0 -.961 -.725h-8.492a1 1 0 0 0 -.961 .725l-3.429 12a1 1 0 0 0 .962 1.275z" /></svg>');
}

.icon-file-waveform {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path fill="currentColor" d="M96 0C60.7 0 32 28.7 32 64V288H144c6.1 0 11.6 3.4 14.3 8.8L176 332.2l49.7-99.4c2.7-5.4 8.3-8.8 14.3-8.8s11.6 3.4 14.3 8.8L281.9 288H352c8.8 0 16 7.2 16 16s-7.2 16-16 16H272c-6.1 0-11.6-3.4-14.3-8.8L240 275.8l-49.7 99.4c-2.7 5.4-8.3 8.8-14.3 8.8s-11.6-3.4-14.3-8.8L134.1 320H32V448c0 35.3 28.7 64 64 64H352c35.3 0 64-28.7 64-64V160H288c-17.7 0-32-14.3-32-32V0H96zM288 0V128H416L288 0z"></path></svg>');
}
/*Sticky Tables*/

table.sticky {
    margin: 0;
    border: none;
    background-color: #fff;
    border-collapse: separate;
    border-spacing: 0;
}
    table.sticky th {
        background: #777;
        color: #fff;
        padding: 3px;
        font-weight: 500;
    }
        table.sticky th[scope=row] {
            border-top: 1px solid #999;
            border-right: 1px solid #999;
        }
        table.sticky th[scope=row]:not(:first-child) {
            text-align: center;
        }

        table.sticky th[scope=col] {
            border-right: 1px solid #999;
            position: sticky;
            top: 0; /* ensure header row sits atop everything else when scrolling down */
            z-index: 1;
        }

    table.sticky td {
        text-align: center;
        background: #fff;
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        padding: 4px 5px;
    }
    
    /* ensure first header cell sits atop everything else when scrolling right */
    table.sticky th:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
    }
    /* make first column sticky when scrolling right */
    table.sticky td:first-child {
        position: sticky;
        left: 0;
        border-right-color: #aaa;
    }

    /* make top left cell sit above both column and row headers */
    table.sticky thead th:first-child {
        z-index: 3;
        border-radius: 4px 0 0 0;
    }

    table.sticky thead th:last-child {
        border-radius: 0 4px 0 0;
    }

/*Collapsible lists*/
ul.tree {
    -moz-user-select: none;
    user-select: none;
    -ms-user-select: none;
}

    ul.tree, ul.tree ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        ul.tree ul {
            margin-left: 18px;
        }

        ul.tree li {
            margin: 0;
            padding: 0 7px;
            line-height: 1.4rem;
            border-left: 2px solid rgb(100,100,100);
            cursor: pointer;
        }

            ul.tree li:last-child {
                border-left: none;
            }

            ul.tree li::before {
                position: relative;
                top: -0.35em;
                height: 1.2em;
                width: 20px;
                border-bottom: 2px solid rgb(100,100,100);
                content: "";
                display: inline-block;
                left: -7px;
            }

            ul.tree li:last-child::before {
                border-left: 2px solid rgb(100,100,100);
                width: 22px;
            }

            ul.tree li:first-child { /*Extend left border higher for first item*/
                margin-top: -5px;
                padding-top: 5px;
            }

            ul.tree li > span {
                margin-left: -7px;
            }

            ul.tree li.branch-open > span::before {
                font-family: 'Font Awesome 5 Free';
                content: "\f146";
                padding-right: 6px;
            }

            ul.tree li.branch-closed > span::before {
                font-family: 'Font Awesome 5 Free';
                content: "\f0fe";
                padding-right: 6px;
            }

            ul.tree li.branch-closed > ul {
                display: none;
            }

            ul.tree li.branch-empty:not(.clickable) {
                cursor: default;
            }

            ul.tree li.branch-empty > span::before {
                content: '';
                padding-right: 7px;
            }

            ul.tree li.branch-empty::before {
                width: 33px;
            }

            ul.tree li:hover > span > span.rank-info, ul.tree li:focus > span > span.rank-info {
                display: inline !important;
            }
        /*hide leading stem*/
        ul.tree > li:first-child {
            margin-top: 0;
            padding-top: 0;
        }

            ul.tree > li:first-child > span {
                margin-left: -8px;
            }

            ul.tree > li:first-child::before {
                left: -9px;
                border-left: 2px solid white;
                width: 22px;
                margin-right: -1px;
            }

.highlight-entry {
    color: orangered;
}

.user-select-text {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.list-group.slim-padding .list-group-item {
    padding: .25rem .75rem .4rem;
}

.clickable { cursor: pointer; }

/* image attachment preview */

.transition {
    transition: all 0.2s ease-in-out;
}

.modalRevealBG {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modalRevealBG:hover {
    opacity: 1;
}

.modalReveal i {
    color: white;
    cursor: pointer;
}

/* added max-width for samsung mobile devices which have a bug that prevents them from registering as a touch device */
@media (hover: none), (pointer: course), (max-width: 500px) {
    .modalRevealBG {
        opacity: 1;
    }
}

/* issue with small screens and large fontsizes pushing the modal close button off the page */
button.abs-top-right {
    position: absolute;
    top: 1px;
    right: 1px;
    background-color: white;
    border-radius: 50%;
    border: none;
    padding: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 500px) {
    .mobile-fs-sm {
        font-size: 14px;
    }
}

/* video controls */
/* chrome only, safari and firefox don't currently allow styling of their video controls */
video::-webkit-media-controls-enclosure {
    
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

video::-webkit-media-controls-panel {
    justify-content: flex-start;
    background: unset;
    background-color: rgba(0,0,0,0.3);
    background-size: auto 112px;
    background-position: top;
    background-repeat: no-repeat;
    border-radius: 1rem;
    height: 70px;
    margin-top: 10px;
}
video:hover::-webkit-media-controls-enclosure {
    visibility: visible;
    opacity: 1;
}

@media (hover: none), (pointer: course), (max-width: 500px) {
    video:hover::-webkit-media-controls-enclosure {
        visibility: visible;
        opacity: 1;
    }

    video::-webkit-media-controls-overlay-play-button {
        height: 100px;
        top: 130px;
    }
}

/* fixing carousel buttons blocking other onscreen elements from recieving click events */
.carousel-control-next, .carousel-control-prev {
    top: 50%;
    bottom: 50%;
}

@media print {
    * {
        box-shadow: none !important;
        text-shadow: none !important;
        transition: none !important;
    }
    a, a:visited {
        text-decoration: none;
    }

        a[href]:after {
            content: "";
        }

        a[href^="javascript:"]:after, a[href^="#"]:after {
            content: "";
        }

    abbr[title]:not(.doNotPrintTitle):after {
        content: " (" attr(title) ")";
    }

    abbr {
        text-decoration: none;
    }

    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr, td, img {
        page-break-inside: avoid;
    }

    .avoidBreak {
        page-break-inside: avoid;
        page-break-before: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p, h1, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    fieldset {
        margin-bottom: 0;
    }

    .map-wrapper {
        width: 100% !important;
    }

    .container {
        padding:0;
        margin:0;
    }

    .row {
        margin: 0;
    }

    #div_map {
        width: 100% !important;
        height: auto !important;
        border-style: none !important;
    }

    #printable_map {
        height: auto !important;
        padding: 1px;
        border: solid 1px black !important;
    }

    #div_zoom_holder, .maplibregl-control-container, .atlas-control-container, .hidden-accessible-element, #btn_print {
        display: none !important;
    }
}