/* General */
html, .template-plan-page, .main-content {
    height: 100%;
    width: 100%;
    margin: 0px;
}

.main-content {
    display: flex;
    justify-content: space-between;
}

/* Plan Selection Panel */
.plan-header {
    width: 100%;
    background-color: #fbfbfb;
    display: flex;
    align-items: center;
}

.plan-header .h2 {
    color: #190F10;
    margin-left: 15px !important;
}

.plan-header a {
    text-decoration: none !important;
}

.property-block {
    background-color: #eee;
    color: #222;
    font-size: 14px;
}

#toggle-details {
    color: #222;
}

#toggle-details.active {
    background-color: #eee;
    margin: 0px !important;
}

#toggle-details:hover {
    cursor: pointer;
    text-decoration: underline;
}

.arrow-toggle .icon-arrow-expanded,
.arrow-toggle.active .icon-arrow-collapsed {
    display: none;
}

.arrow-toggle .icon-arrow-collapsed,
.arrow-toggle.active .icon-arrow-expanded  {
    display: inline-block;
}

.property-block a {
    color: #636363;
}

.property-block p {
    margin: 7px 0px !important;
    color: #636363;
}

.property-title {
    display: flex;
    justify-content: space-between;
}

.property-content {
    vertical-align: center;
}

.property-block h3 {
    font-size: 25px;
}

.reset-button i {
    font-size: 15px;
}

.fa-location-arrow {
    font-size: 20px;
}

.plan-heading {
    background-color:  #636363;
    color: white;
}

.historical-plan-versions .plan-heading {
    background-color: #006778;
}

.clickable-section:hover {
    cursor: pointer;
}

.section-collapsible {
    background-color: white;
}

.section-collapsible p {
    margin: 0px;
}

.section-nav-block {
    background-color: white;
    margin: 5px;
}

.selectable-plan-title {
    color: #444;
}

.selectable-plan-title:hover {
    opacity: 0.8;
}

/* Main Content Blocks */
.main-content-block {
    height: 100%;
    width: 75%;
}

/* Map */
.map-block {
    position: relative;
}

.map {
    height: 100%;
    width: 100%;
}

.small-map {
    height: 200px;
    width: 100%;
}

.small-map .leaflet-interactive {
    cursor: default;
}

.map:hover {
    cursor: pointer;
}

#full-plan-content table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #CCE1E4;
    margin-bottom: 1rem;
}

#full-plan-content table caption {
    color: black;
    font-style: italic;
    caption-side: top;
}

#full-plan-content table td,
#full-plan-content table th {
    padding: 10px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #CCE1E4;
}

#full-plan-content table th {
    background-color: #99C2C9;
}

.district-plan-definition {
    color: black;
    padding-bottom: 0.5px;
    border-bottom: 1px dashed black;
}

.tooltip.show {
    opacity: 1;
}
.tooltip-inner {
    max-width: 500px !important;
    background-color: #E5F0F1;
    color: black;
    text-align: left;
    border-radius: 6px;
    border: 1px dashed black;
    padding: 10px 10px 0 10px;
}

#display-toggle {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 10px;
    padding: 5px;
    font-size: 14px;
}

.section-heading {
    opacity: 0.9;
    padding-left: 0px;
    color: black;
}

.nav-section-1 {
    border-bottom: 1px solid #a0a0a0 !important;
    background-color: #eee !important;
}

.section-heading-1 {
    opacity: 0.95;
    font-weight: bold;
    padding-left: 4px;
}

.nav-section-2 {
    padding-left: 2rem;

}

.section-heading-2 {
    opacity: 0.9;
}

.section-heading-3 {
    opacity: 0.85;
    padding-left: 12px;
}

.section-heading-4 {
    opacity: 0.8;
    padding-left: 16px;
}

.section-heading-5 {
    opacity: 0.75;
    padding-left: 24px;
}

.section-heading-6 {
    opacity: 0.7;
    padding-left: 28px;
}

.section-heading-7 {
    opacity: 0.65;
    padding-left: 32px;
}

.section-collapsible {
    background-color: white;
    margin: 0px;
}

.plan-list hr {
    margin: 0px;
}

.expand-plan-arrow:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* Full Plan */
.plan-block {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    width: 25%;
    background-color: white;
    z-index: 100;
    box-shadow: 5px 0px 5px 0px rgba(82,82,82,0.61);
    -webkit-box-shadow: 5px 0px 5px 0px rgba(82,82,82,0.61);
    -moz-box-shadow: 5px 0px 5px 0px rgba(82,82,82,0.61);
}

.plan-block .h2, .plan-block p {
    margin: 5px;
}

.full-plan-block {
    overflow-y: auto;
}

.sidebar {
    flex: 1;
    overflow-y: auto;
}

.list-footer {
    border-top: 1px solid #dee2e6 !important;
}

.provision-heading {
    color: #222;
    font-weight: bold;
}

.provision-id {
    margin-right: 10px;
}

.provision-title {
    margin-left: 10px;
}

.full-plan-heading {
    background-color: white;
}

.full-plan-content {
    margin-top: 104px;
}

.full-plan li {
    padding-left: 1rem;
}

figure {
    display: table;
    margin: 0 auto;
}

figure img {
    display: block;
}

figcaption {
    padding-top: .75rem;
    padding-bottom: .75rem;
    color: black;
    font-style: italic;
    display: table-caption;
    caption-side: bottom;
    text-align: center;
}

.scrollable-section {
    scroll-margin: 150px
}

.proposed-change-label {
    vertical-align: top;
    font-size: smaller;
    text-decoration: underline;
    text-align: right;
    padding-right: 5px;
}

.negative-margin {
    margin-left: -14px;
}

.component-proposed-change {
    border-left: 5px solid #007bff;
    padding-left: 5px;
}

/* Ruler icon for leaflet measuring tool */

.leaflet-control-measure .leaflet-control-measure-toggle {
    background-image: url("../../images/ruler-solid.b6801ffdbcdc.svg") !important
}

/* Hiding last point coordinates */

.leaflet-control-measure .results .group:first-child {
    display: none;
}

.leaflet-control-measure .results .group:nth-child(2), .leaflet-control-measure .tasks {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.leaflet-control-measure .results .group:last-child,
.leaflet-control-measure .js-starthelp,
.leaflet-control-measure h3 {
    border-bottom: 1px solid #ddd;
    padding: 0 0 10px;
    margin: 0 0 10px;
}


label.leaflet-layerstree-header-label {
    margin: 0;
}

.leaflet-control-layers-header {
    font-size: large;
}

.leaflet-control-layers-header div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.leaflet-control-layers-header button {
    background: none;
    border: none
}

.leaflet-control-layers-list {
    padding: 0 5px;
    width: 375px;
}

.leaflet-control-layers-list label, .leaflet-control-layers-list span {
    font-size: 1.05em;
}

.leaflet-layerstree-node {
    padding: 2px 0;
}

.leaflet-legend-image {
    margin: 0 4px 2px 0;
}

.leaflet-control-layers-selector {
    top: 0px;
}

.geocoder-label-header {
    font-weight: 700;
    font-size: 1rem;
}

/* Definition Modal Dialog */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 640px;
        margin: 0 auto;
    }
}

#definition-modal {
    padding: 1rem;
    border: 0;
    box-shadow: 0px 5px 10px 0.5rem rgba(0,0,0,.25);
}

#definition-modal .modal-dialog {
    margin-top: 0;
}

#definition-modal .modal-content {
    border: 0;
}

#definition-modal .modal-footer {
    justify-content: center;
}

#definition-modal .version-modal-footer {
    border-top: 0;
}

/* List Blocks */
.child-list > .child-list {
    padding-left: 2.5rem;
}
.child-list .italics {
    font-style: italic;
}

#layer-block h4 {
    padding-top: 5px;
}

.lower-roman {
    list-style-type: lower-roman;
}

.disc {
    list-style-type: disc;
}

.lower-alpha {
    list-style-type: lower-alpha;
}

.decimal {
    list-style-type: decimal;
}

.note {
    font-style: italic;
}

.list-style-none {
    list-style-type: none;
    padding-left: 0;
}

.list-style-none > li {
    padding-left: 0;
}

ol.letter-indent > li {
    list-style-type: none;
    position: relative;
    counter-increment: letter-list;
}

ol.letter-indent > li::marker {
    /* The bracket styling is not included with CSS */
    /* Use counter as the :marker is not in modern browsers  */
    content: counter(letter-list, lower-alpha) ") ";
}

.disclaimer-modal {
    margin-top: 2rem;
}

.disclaimer-button, .disclaimer-button:hover {
    background-color: #006778;
    border: none;
}

.modal-body {
    padding-bottom: 0;
}

#property-info-table th {
    font-weight: 600;
    padding-right: 20px;
}

.matching-layer-legend {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.version-subtitle {
    font-weight: 400;
}

.property-content {
    text-wrap: wrap;
}
