/* Base styles */
body {
    font-size: 16px;
    font-weight: normal;
}

h1,
.h1 {
    font-weight: 300;
    font-size: 60px;
    border-bottom: 2px solid #e64626;
}

h2,
.h2 {
    font-size: 48px;
}

.horizontal-center {
    display: flex;
    justify-content: center;
}

.vertical-center {
    display: flex;
    align-items: center;
}

/* Header styles */
.midbar {
    position: relative;
    box-shadow: 0 3px 6px #00000029;
    margin-bottom: 20px;
}

.main-brand {
    text-align: center;
}

.main-logo {
    display: inline-block;
    width: 70%;
    padding-top: 5px;
}

.main-logo img {
    width: 100%;
}

.main-logo .main-logo-image {
    display: none;
}

.main-logo .main-logo-image-white {
    display: block;
}

@media (min-width: 992px) {
    .main-logo .main-logo-image {
        display: block;
    }

    .main-logo .main-logo-image-white {
        display: none;
    }

    .mobile-only {
        display: none;
    }
}

/* Navigation styles */
.navbar-nav .nav-link {
    font-size: 23px;
    font-weight: normal;
}

.search-dropdown {
    position: relative;
    display: inline-block;
}

.search-archive-button {
    background-color: #e64626;
    color: #ffffff;
    font-size: 24px;
    padding: 0.5em 0.5em;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.search-archive-button i {
    color: #ffffff;
}

.search-archive-button:hover {
    color: #ffffff;
}

.search-dropdown-content {
    display: none;
    width: 100%;
    position: absolute;
    background-color: #f2f2f2;
    min-width: 220px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: 2px;
    border: 2px solid #000;
}

.search-dropdown-content a {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    position: relative;
}

.search-dropdown-content a::after {
    content: "↗";
    position: absolute;
    right: 12px;
    color: #666;
    font-size: 14px;
}

.search-dropdown-content a:hover {
    background-color: #e0e0e0;
}

/* Breadcrumb styles */
.breadcrumb,
.breadcrumb a {
    font-size: 24px;
    font-weight: 300;
}

.breadcrumbs__current {
    color: #e64626;
}

/* Button styles */
.btn {
    /*font-size: 24px;*/
    /*font-weight: bold;*/
}

.btn .fa {
    /*margin-right: 0.6em;*/
}

.btn-outline-primary {
    color: #333;
}

.btn-outline-primary .fa {
    color: #e64626;
}

.btn-outline-primary:hover .fa {
    color: #ffffff;
}

.tile-button {
    display: inline-flex;
    align-items: center;
    width: 320px;
    height: 240px;
    border-radius: 0;
    border: none;
    padding: 40px;
    text-align: left;
    font-size: 65px;
    font-weight: bold;
    font-style: italic;
    line-height: 110%;
    color: #ffffff;
    background-color: #f6875f;
    overflow: hidden;
}

.tile-button a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}

.tile-button a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Tab styles */
.nav.nav-tabs {
    border: none;
    gap: 0 3px;
}

.nav.nav-tabs .nav-item .nav-link {
    font-size: 24px;
    color: #707070;
    border: 1px #707070 solid;
    border-bottom: none;
}

.nav.nav-tabs .nav-item .nav-link.active {
    background-color: #e64626;
    color: #ffffff;
    border: 1px #e64626 solid;
    border-bottom: none;
}

.nav.nav-tabs-small .nav-item .nav-link {
    font-size: 16px;
    color: #707070;
    border: 1px #707070 solid;
    border-bottom: none;
}

/* Control styles */
.custom-control-label:after,
.custom-control-label:before {
    top: 0.35em;
}

/* Post list styles */
.post-list {
    margin-bottom: 1em;
}

.post-list-item {
    margin-bottom: 1em;
}

.post-list-item-head {
    margin-bottom: 1em;
}

.post-list-item-title,
.post-list-item-author {
    display: inline-block;
    font-size: 24px;
}

.post-list-item-author {
    margin-left: 2em;
}

/* Utility styles */
.line-below {
    border-bottom: 2px solid #e64626;
    padding-bottom: 10px;
}

.margin-top-2 {
    margin-top: 2em;
}

.custom-control.custom-checkbox .custom-control-label.custom-label-top:before,
.custom-control.custom-checkbox .custom-control-label.custom-label-top:after {
    top: 0.2em !important;
}

@media (min-width: 992px) {
    #jsPrimaryMenu .navbar-nav .nav-link {
        border-left: 0;
    }
    #jsPrimaryMenu .navbar-nav > .nav-item > .nav-link {
        border-left: 1px solid #333;
    }
}

.navbar-nav .nav-item {
    position: relative !important;
}

.wp-block-post-title {
    padding-top: 1rem !important;
}

table,
th,
td {
    border: #ced4da 1px solid;
    padding: 10px;
}

th {
    background-color: #c3c3c3;
}

tr:nth-child(odd) {
    background-color: #f2f2f2;
}

table.center {
    margin-left: auto;
    margin-right: auto;
}

.slick-track {
    margin: 0;
    padding: 0;
    width: 100%;
}

.slick-slider {
    margin: 0;
    padding: 0;
}

.slick-slide {
    width: 100%;
    padding: 0;
    margin: 0;
}

.slick-slide img {
    width: 100%;
    max-width: 100%;
}

.pagination-numbers {
    display: flex;
    justify-content: center;
}

.pagination-numbers a,
.pagination-numbers span {
    padding: 6px 12px;
    border-radius: 5px;
    background: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
    margin-left: 8px;
}

.pagination-numbers a.active {
    background: #e64626;
    color: white;
}

.pagination-numbers span.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.bor-stop {
    padding-bottom: 15px;
    min-height: 53px;
}
.bor-stop .bor-stop-label,
.bor-stop .bor-stop-image {
    border: 1px solid #e5e5e5;
    text-align: center;
    float: left;
    background-color: white;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    font-weight: bold;
    font-size: 80%;
    line-height: 36px;
    margin-right: 19px;
    width: 38px;
    height: 38px;
}
.bor-stop .bor-stop-image {
    width: 38px;
    height: 38px;
    overflow: hidden;
}
.bor-stop .bor-stop-image.bor-stop-image-placeholder {
    background: white url("assets/portraits/portrait.png") no-repeat center
        center;
    background-size: 38px 38px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2),
    (min-resolution: 192dpi) {
    .bor-stop .bor-stop-image.bor-stop-image-placeholder {
        background-image: url("assets/portraits/portrait@2x.png");
    }
}
.bor-stop .bor-stop-description {
    margin: 0px;
    padding-top: 7px;
    overflow: hidden;
    line-height: 22px;
}
.bor-stop.bor-stop-large {
    min-height: 80px;
}
.bor-stop.bor-stop-large .bor-stop-label,
.bor-stop.bor-stop-large .bor-stop-image {
    line-height: 63px;
    margin-right: 32.5px;
    width: 65px;
    height: 65px;
    font-size: 120%;
}
.bor-stop.bor-stop-large .bor-stop-image {
    width: 65px;
    height: 65px;
}
.bor-stop.bor-stop-large .bor-stop-image.bor-stop-image-placeholder {
    background: white url("assets/portraits/portrait.png") no-repeat center
        center;
    background-size: 65px 65px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2),
    (min-resolution: 192dpi) {
    .bor-stop.bor-stop-large .bor-stop-image.bor-stop-image-placeholder {
        background-image: url("assets/portraits/portrait@2x.png");
    }
}
.bor-stop.bor-stop-large .bor-stop-description {
    padding-top: 18px;
    line-height: 22px;
}

.bor-stories {
    list-style-type: none;
    margin: 25px 0 0 0;
    padding: 0;
    overflow: hidden;
}
.bor-stories .bor-stop {
    float: left;
    width: 50%;
    padding-right: 10px;
}
.bor-stories .bor-stop:nth-child(odd) {
    clear: left;
}

.bor-path {
    list-style-type: none;
    position: relative;
    padding: 0;
    margin: 30px 50px 0;
}
.bor-path .bor-stop {
    padding-bottom: 25px;
    min-height: 63px;
    border-left: 1px solid #e5e5e5;
}
.bor-path .bor-stop .bor-stop-label,
.bor-path .bor-stop .bor-stop-image {
    margin-left: -19px;
}
.bor-path .bor-stop.bor-stop-large .bor-stop-label,
.bor-path .bor-stop.bor-stop-large .bor-stop-image {
    margin-left: -32.5px;
}
.bor-path .bor-stop:nth-last-child(2) {
    padding-bottom: 25px;
}
.bor-path .bor-stop:last-child {
    border: 0px;
    padding-bottom: 0px;
}
.bor-path .bor-stop.bor-stop-large {
    min-height: 90px;
}

@media (max-width: 991px) {
    .bor-path {
        margin: 50px 5px 50px 35px;
    }
}

.leaflet-control.leaflet-control-attribution {
    display: none;
}

.search-dropdown {
    display: none;
}

#search-archive-input {
    display: none;
    justify-content: center;
    align-items: center;
}

#mapping-section {
    display: none;
}

.circle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    justify-items: center;
    margin: 30px auto;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.circle {
    width: 180px;
    height: 180px;
    border: 2px solid black;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
}

.circle-img {
    max-width: 100%;
    max-height: 100%;
}

.circle-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ddd;
}

.label {
    color: red;
    text-align: center;
    margin-top: 10px;
}

#search-archive-input-field{
    border: 2px solid black; 
    padding: 0; 
    padding-left: 3% !important;
    padding-bottom: 2% !important;
    background: #f2f2f2;
}

#search-archive-input-field::placeholder {
    font-size: 15px;
}