.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0rem white, 0 0 0 0rem #258cfb;
}
html {
    position: relative;
    background-color: #040603;
    /*min-height: 100%;*/
}
body {
    font-family: "Source Sans 3", sans-serif;
    padding-top: 0;
    overflow: visible;
    background-color: #040603;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    /*font-family: "Inter", sans-serif;*/
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
    display: block !important;
    font-size: 80%;
    font-weight: 400;
}

.bi-sm {
    position: relative;
    font-size: 10px;
    margin-left: 4px;
    top: -2px;
    color: #999;
}

.text-header-bg-gradient {
    background: rgba(77, 40, 0, 0.0);
    background: linear-gradient(356deg,rgba(77, 40, 0, 0) 55%, rgba(77, 40, 0, 0.1) 100%);
    padding: 8px 12px 4px !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#navigation .bi-file-pdf-fill,
#navigation .bi-box-arrow-up-right {
    color: #777 !important;
}

#navigation .bi-file-pdf-fill {
    margin-top: 2px;
}

.text-justify {
    text-align: justify;
}

a {
    color: #0070c9;
}

a:hover {
    color: #002e53;
    text-decoration: none !important;
}

ul.custom-bullets {
    list-style: none;
    padding-left: 0;
}

ul.custom-bullets > li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 0.5em;
}

ul.custom-bullets > li::before {
    content: "\F135";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
    color: #957f63;
    color: #48392b;
}

ol li {
    margin-bottom: 0.5em;
}

#navbar-container-main {
    background: linear-gradient(180deg, rgb(25, 18, 10) 0%, rgba(23, 15, 8, 1) 100%) !important;
}

.navbar-toggler {
    background-color: #fbbd52 !important;
    border-color: #fbbd52 !important;
    padding: 5px !important;
    border-radius: 2px !important;
}

.navbar-toggler-icon {
    color: #000 !important;
}

.offcanvas-body {
    background-color: inherit;
}

p.staff {
    line-height: 1;
}

p.staff span.staff-title {
    font-size: 12px;
    font-weight: normal !important;
}

.break {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.dropdown-header {
    padding: 0 10px 8px 10px;
    color: #d1b99b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.35em;
    vertical-align: 0.155em;
    content: "";
    border-top: 0.25em solid;
    border-right: 0.25em solid transparent;
    border-bottom: 0;
    border-left: 0.25em solid transparent;
    color: #87785c;
}

.dropdown-item::before {
    display: inline-block;
    margin-right: 0.35em;
    vertical-align: 0.1em;
    content: "";
    border-top: 0.25em solid transparent;
    border-right: 0;
    border-bottom: 0.25em solid transparent;
    border-left: 0.25em solid;
    color: #87785c;
}

.nav-explore-yellowstone a {
    background: rgba(255, 255, 255, 0.65);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    line-height: 1;
    font-size: 14px;
}

.nav-explore-yellowstone a:hover {
    background: rgba(255, 255, 255, 1) !important;
    text-shadow: none;
    color: #000;
}

#date,
#date2 {
    font-size: 14px;
    color: #fff;
}

/* Align image to the left */
.img-left {
    display: block;
    margin-right: 24px;
    margin-left: 0;
    margin-bottom: 16px;
    float: left;
}

/* Align image to the right */
.img-right {
    display: block;
    margin-left: 24px;
    margin-right: 0;
    margin-bottom: 16px;
    float: right;
}

/* Align image to the center */
.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    max-width: 100%; /* Optional: Ensures the image is responsive */
}

blockquote p {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
}

.yci-logo {
    /*mix-blend-mode: multiply;*/
    max-width: 140px;
    height: auto;
}

/* --------- Tables ---------- */

thead.table-dark {
    background-color: #040603 !important;
    color: #ffffff !important;
}

.top-nav a {
    font-weight: 600;
    transition: all 0.25s;
    font-weight: 700;
}

.top-nav a:hover {
    color: #fff !important;
    transition: all 0.25s;
}

.top-nav a i {
    padding-right: 0.5em !important;
}

.btn {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    font-family: "Poppins", sans-serif;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.45);
    transition: all 0.5s;
    line-height: 1;
    padding: 10px 8px;
}

.weed-thumbnail {
    width: 130px;
    height: 130px;
    object-fit: cover;
}

/* department contact content*/

.column-divider {
    position: relative;
}

.column-divider:not(:last-child)::after {
    display: none;
}

#contact-content h6 {
    margin-bottom: 0.25em !important;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 0px dotted rgba(255, 255, 255, 0.35);
    padding: 0;
    width: 100%;
    color: #fbbd52;
    border: 0px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(0, 0, 0, 0);
    border-radius: 4px;
}

#contact-content i {
    /*display: none !important;
  font-size: 12px !important;*/
    margin-bottom: 0.35rem;
    opacity: 0.9;
}

#contact-content .card i {
    display: none !important;
}

#contact-content a:hover,
#navigation a:hover {
    text-decoration: none !important;
}

#contact-content {
    padding-top: 16px;
    padding-bottom: 65px;
    font-size: 14px;
    line-height: 1.3;
}

[data-department="general"] #contact-content {
    padding-bottom: 10px;
}

[data-department="general"] .contact-toggle {
    display: none;
}

.fs-xs {
    font-size: 14px !important;
    line-height: 1.3em;
}

.bg-whitesmoke {
    background-color: #f9f9f9 !important;
}

.modal {
    z-index: 99999;
}
.dotted-line {
    border: none;
    border-top: 2px dotted #957f63;
    margin: 1rem 0;
}

#GIS-cards .card:hover {
    background-color: #48392b;
    color: #fff;
    transition: all 0.4s;
}

#GIS-cards .card i {
    color: #ddd;
}

#GIS-cards .card:hover i,
#GIS-cards .card:hover h5 {
    color: #fbbd52;
    opacity: 1;
}

.road-list-toolbar a:hover {
    background-color: #000 !important;
}

/* Style the navbar toggler button */
.navbar-toggler {
    border: 1px solid #666666;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.125rem 0.25rem;
    font-size: 1rem;
    border-radius: 2px;
}

/* Style the navbar toggler icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    font-size: 1rem;
}

/* Style the navbar toggler icon when expanded */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    color: #333333;
    font-size: 1rem;
}

.list-group {
    border: none;
    background-color: transparent;
}
.list-group-item {
    border: none;
    background-color: transparent;
    border-radius: 0 !important;
    padding: 0;
    margin-bottom: 4px;
}

.data-table {
    font-size: 14px;
    line-height: 1.2;
    vertical-align: middle;
}

.card {
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 0px;
}
.card-header {
    border-bottom: none;
    background-color: #000;
    color: #f5f5f5;
    font-weight: bold;
    font-size: 14px !important;
    border-radius: 0px !important;
    text-align: left;
}
.material-icons {
    font-size: inherit !important;
    vertical-align: middle;
}
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}
.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

button:focus,
.btn:focus,
a:focus,
.btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #000 !important;
    border-color: #000 !important;
}

.navbar-nav > li {
    margin-right: 1em;
}
.dropdown-menu {
    border-radius: 0 !important;
    background-color: transparent;
    border: 0;
    margin-top: 4px !important;
    padding: 0;
}
.dropdown-menu a:hover,
.dropdown-menu a:active {
    color: #fff;
    background-color: #393a32 !important;
    border-color: #393a32;
}
.dropdown-item {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}
.navbar-brand {
    display: block;
    position: relative;
    /*filter: grayscale(1);*/
    opacity: 1;
    transition: all 0.35s;
}

.brand-yc-logo {
    max-width: 36px;
}

.sticky-top {
    top: 112px;
    z-index: 950;
}

.sticky-top.scrolled {
    top: 0px;
    position: fixed;
    width: 100%;
}

.sticky-top.scrolled .navbar-brand {
    display: block;
    filter: grayscale(0);
    opacity: 1;
    transition: all 0.35s;
}

.sticky-top .navbar-brand-text {
    display: none !important;
    opacity: 0 !important;
}

.sticky-top.scrolled .navbar-date {
    display: none !important;
}

@media (max-width: 767.98px) {
    .sticky-top .navbar-date {
        display: block !important;
    }
}

@media (max-width: 991.98px) {
    .sticky-top .navbar-brand-text {
        display: none !important;
        opacity: 0 !important;
    }

    .sticky-top.scrolled .navbar-brand-text {
        display: block !important;
        opacity: 1 !important;
    }
}

#main-header {
    background-size: 100% 100%;
    background-position: 0px 0px;
    /*
    background-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0) 90%
    );
    */
    position: absolute;
    z-index: 999;
    width: 100%;
    left: 0;
}
#main-header:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fbbd52;
}
/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #fff;
    border-top-color: #fbbd52;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.btn-notice {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1044;
    font-weight: 700;
    width: 62px;
    height: 60px;
    text-align: center;
    font-size: 28px !important;
    padding-left: 12px;
}

.btn-notice:hover {
    background-color: #fff;
    border-color: #fff;
}

.btn-notice:hover i {
    color: #e5255f;
}

.offcanvas-body {
    background-color: inherit;
}
#hero {
    position: relative;
    padding-top: 195px;
    /*background-image: linear-gradient(0deg,rgba(0, 0, 0, 0.75) 10%,rgba(0, 0, 0, 1) 48%), url(../img/backgrounds/natalie-nicks-EL4NWSPhNDI-unsplash.jpg);*/
    background-image: url(../img/backgrounds/natalie-nicks-EL4NWSPhNDI-unsplash.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll;
    padding-bottom: 45px;
    background-color: #48392b;
    transition: background-image 1s ease;
}

#hero.sheriff {
    background-image: linear-gradient(6deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 1) 100%), url(../img/backgrounds/sheriff2.jpg) !important;
    background-position: center;
}

#hero.purple-heart {
    background-image: linear-gradient(6deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 1) 100%), url(https://www.yellowstonecountymt.gov/includes/ResponsiveWeb/images/Background_Images/PurpleHeart.JPG) !important;
    background-position: center;
}

#hero::after {
    content: "";
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 10;
    display: block;
    height: 60px;
    background-image: url(../img/mtns-trees-wht.png);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: cover;
    height: 144px;
}
.hero-title {
    position: relative;
    text-shadow: 4px 4px rgba(0, 0, 0, 0.9);
    padding-top: 24px !important;
}

.hero-title small {
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.125em;
}

body.home #hero {
    padding-top: 210px;
    padding-bottom: 110px;
}

/*
.hero-title:before {
    display: block;
    content: "YELLOWSTONE COUNTY";
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    letter-spacing: 0.35rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: none;
}
*/
#hero.department::after {
    height: 54px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: repeat-x;
    /*background-image: url(../img/mtns-trees-primary-alt2.png);*/
    background-image: url(../img/mountains-silhouette-drk-brwn-ol-light.png);
    bottom: -1px;
}

.dept-contact-info {
    background: #2d2216;
    background: linear-gradient(180deg, rgba(45, 34, 22, 1) 40%, rgba(23, 15, 8, 1) 100%);
    position: relative;
}

#page-content {
    position: relative;
    background-color: #fff;
    padding-top: 0 !important;
    padding-bottom: 120px !important;
}

#page-content::before {
    display: none;
    content: "";
    position: absolute;
    left: 5px;
    top: 0;
    width: 5%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ctext x='0' y='15' font-size='14' fill='Gainsboro'%3E%2B%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    background-position: left top;
    background-size: 18px 18px;
    pointer-events: none; /* Keeps it non-interactive */
    z-index: 0;
}

#page-content.homepage {
    padding-bottom: 0px !important;
    position: relative;
    z-index: 5;
}

#page-content.homepage::before {
    display: none;
}

#page-content.treasurer::after {
    background-image: url(../img/mtns-trees-primary.png);
    background-image: url(../img/mtn-trees-primary-shallow.png);
}

#page-content.homepage::after {
    background-image: none !important;
}

#page-content .container {
    position: relative;
}

.btn-outline-primary:hover {
    color: #fff !important;
    text-decoration: none !important;
}

#explore-yellowstone h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
    padding-bottom: 32px;
}
.section {
    position: relative;
    padding-top: 105px;
    padding-bottom: 105px;
    background-image: url(../img/backgrounds/jordan-vandyke-VFP2I848o6Q-unsplash.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
}
.section:before {
    content: "";
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 2;
    background-image: url(../img/mtns-divider-t-fh-alt-3.png);
    background-size: contain;
    background-position: center top;
    background-repeat: repeat-x;
    height: 75px;
}

.tax-notice-message {
    border: 1px solid #e5255f;
    padding: 0 20px 0;
    margin: 0;
}

.list-report li {
    margin-top: 6px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li {
    position: relative;
    line-height: 1.2;
    margin-bottom: 6px;
    padding-left: 16px;
    font-size: 14px;
}
.sidebar-list li:before {
    position: absolute;
    left: 0;
    top: 3px;
    content: "\F231";
    font-family: "bootstrap-icons";
    color: #fbbd52;
    font-size: 8px;
    vertical-align: middle;
}
.text-shadow {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}
.lead {
    position: relative;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.25);
    margin-top: -80px;
    border: 0px solid #fff;
    background: linear-gradient(to bottom, #fbbd52 0%, #ed9d3b 100%);
    box-shadow: 0 0 0 12px #ffffff;
    font-size: 0.9rem;
}

/* accordion styles */

.accordion-button:not(.collapsed) {
    background-color: #f5f5f5;
}

/* === Accordion container === */
.accordion {
    border: none;
}

/* === Accordion item === */
.accordion-item {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
}

/* === Accordion button  === */
.accordion-button {
    background-color: #fff;
    color: #212529;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 1rem;
    padding-right: 5rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    font-family: "Poppins", sans-serif;
}

.accordion-button:hover {
    background-color: #f8f9fa;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Remove default accordion caret icon */
.accordion-button::after {
    content: "";
    background-image: none !important;
}

/* Create circle background and plus icon */
.accordion-button::after {
    content: "\f4fe";
    font-family: "bootstrap-icons";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--bs-info);
    color: #fff;
    font-size: 1rem;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transition: transform 0.3s ease;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: center center;
}

/* Rotate/Swap icon to minus when open */
.accordion-button:not(.collapsed)::after {
    content: "\F2EA";
    transform: translateY(-50%) rotate(180deg);
    background: var(--bs-primary);
    color: #fff;
}

/* === Arrow icon === 
.accordion-button .bi {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}*/

/* Rotate the arrow up when expanded */
.accordion-button:not(.collapsed) .bi.bi-arrow-down-short {
    transform: rotate(180deg);
}

/* Optional: hide focus border when open */
.accordion-button:not(.collapsed) {
    background-color: #fdfdfd;
}

/* === Accordion body === */
.accordion-body {
    padding: 1rem 1rem 1.25rem;
    font-size: 0.95rem;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    color: #000;
}

.navbar-nav.flex-wrap {
    flex-wrap: wrap !important;
}
.navbar-nav .nav-item {
    margin: 0 0.75em;
}
.dropdown-menu.mega-dropdown {
    left: 0 !important;
    right: 0 !important;
    top: 100%;
    background-color: rgba(0, 0, 0, 0) !important;
    border-top: 0px solid #dee2e6;
    padding: 0;
    margin-top: 0px !important;
}
#megaContent {
    padding: 20px 0 20px 48px;
    background-color: rgba(0, 0, 0, 0) !important;
}
.mega-column h6 {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0;
}
.dropdown-item {
    padding: 4px 10px !important;
    color: inherit;
}
.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

#main-menu .nav-link {
    color: #f9f9f9;
}
#main-menu .nav-link:hover,
.dropdown-menu a:hover,
.dropdown-menu a:active {
    color: #fbbd52;
    background-color: transparent !important;
    border-color: #393a32;
}
.tax-form-wrapper-h {
    position: relative;
    margin-bottom: -110px;
    z-index: 100;
    border-top: 2px solid #fbbd52;
}
.tab-card {
    padding: 1rem 0;
    margin-top: 1rem;
    border-radius: 0.25rem;
    background: none !important;
    box-shadow: none !important;
}
.sidebar-box {
    background: none !important;
    padding: 0;
    color: #555;
    border: none !important;
    box-shadow: none !important;
    text-align: left;
}
.nav-pills .nav-link {
    padding: 0.5rem 1.75rem 0.5rem 0.5rem;
    border-radius: 0;
    background: none !important;
    border: none !important;
    color: #444;
    font-weight: 500;
    text-align: left;
    box-shadow: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: normal;
}
.nav-pills .nav-link:hover {
    background-color: #f5f5f5 !important;
    color: #222;
}
.nav-pills .nav-link.active {
    background-color: #f5f5f5 !important;
    color: #000 !important;
    border-left: 0px solid #f5f5f5;
    box-shadow: none !important;
    position: relative;
}

.nav-pills .nav-link.active::before {
    position: absolute;
    content: "\F124";
    font-family: bootstrap-icons;
    font-size: 16px;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

#tax-btn-group.nav-pills .nav-link {
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
}

#tax-btn-group.nav-pills .nav-link.active {
    background-color: #957f63 !important;
    color: #fff !important;
}

#tax-btn-group.nav-pills .nav-link.active::before {
    content: "";
}

.nav-tabs .nav-link.active {
    background: linear-gradient(to top, #fff 20%, #eeeeee 90%) !important;
    color: #000;
    font-weight: bold;
}

#bids-sidebar .bi {
    font-size: 12px !important;
}

.tooltip-inner {
    text-align: left !important;
    line-height: 1.2;
}

#yci-feature {
    position: relative;
    margin-bottom: -110px;
    z-index: 200;
    background: linear-gradient(180deg, rgba(45, 34, 22, 1) 40%, rgba(23, 15, 8, 1) 100%);
    border: 1px solid rgba(23, 15, 8, 1);
}

#yci-feature-v2 {
    position: relative;
    margin-bottom: -120px;
    z-index: 200;
    background: linear-gradient(180deg, rgba(45, 34, 22, 1) 40%, rgba(23, 15, 8, 1) 100%);
    /*border: 1px solid rgba(23, 15, 8, 1);*/
    padding: 28px 0 28px 0;
}

/* news swiper slider */

.news-swiper.swiper {
    padding: 0 0;
}

.news-swiper .swiper-slide:hover h6 {
    color: #fbbd52 !important;
}

.news-swiper .swiper-slide p {
    font-size: 14px;
    color: rgb(233, 233, 233);
    margin-bottom: 0;
}

.news-swiper .swiper-pagination {
    position: relative !important;
    padding-top: 16px;
}

.news-swiper .swiper-pagination-bullet {
    opacity: 1;
    background: #fff;
    border: 0px solid #fff;
    width: 8px;
    height: 8px;
}
.news-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fbbd52;
    background: #000;
}

.news-swiper .swiper-pagination-bullet:hover {
    opacity: 1;
    background: #fff;
}

.news-swiper .swiper-button-next,
.news-swiper .swiper-button-prev {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 0.5rem 1rem rgba(16, 28, 38, 0.05);
    color: #fbbd52;
    color: #fff;
    color: #957f63;
    /*
    background-color: #fbbd52;
    */
    background-color: #957f63;
    background-color: rgba(0,0,0,0.35);
    transition: all 0.25s;
    top: 16px;
    /*margin-top: -16px;*/
}

.news-swiper .swiper-button-prev:hover,
.news-swiper .swiper-button-next:hover {
    /*background-color: #fbbd52;*/
    color: #fbbd52;
    color: #fff;
    color: #48392b;
    background-color: #fbbd52;
}

.news-swiper .swiper-button-prev {
    left: auto;
    right: 0;
    margin-top: -16px;
}
.news-swiper .swiper-button-next {
    right: 0;
    left: auto;
    margin-top: 24px;
}

.news-swiper .swiper-button-prev::after,
.news-swiper .swiper-button-next::after {
    content: ""; /* Remove default icon */
    font-family: bootstrap-icons;
    font-size: 32px;
}

.news-swiper .swiper-button-next::after {
    content: "\F135";
}

.news-swiper .swiper-button-prev::after {
    content: "\F12C";
}

/* Public Works construction map */

#map {
    height: 45dvh;
    width: 100%;
    position: relative;
    z-index: 1;
}
.visually-hidden-focusable {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.visually-hidden-focusable:focus {
    position: static;
    width: auto;
    height: auto;
}

tr[class^="row-hover-"] {
    transition: background-color 0.3s ease;
}

.table > :not(caption) > * > * {
    background-color: transparent !important;
    vertical-align: middle;
}

#navigation .back-link {
    margin-top: 32px;
    line-height: 1;
}

#mp-tip {
    border: 1px solid rgba(255, 193, 7, 0.125);
    border-color: #f4f2ef;
    background-color: rgba(255, 255, 255, 0.75);
}

.mp-tip {
    position: relative;
}

.mp-tip.mosquitoes::before {
    position: absolute;
    content: "";
    width: 40px;
    height: 25px;
    background-image: url(../img/mosquitoe-sm.png);
    background-size: contain;
    right: 40px;
    left: auto;
    top: -15px;
}

#document-search {
    position: relative;
}

.cr-docs {
    position: absolute;
    right: 40px;
    top: -20px;
    width: 96px;
    display: none;
}

.jury-note {
    font-size: 12px;
    font-style: italic;
    line-height: 1.2;
    margin: 10px 0;
    padding: 0 8px;
}

#news-announcements {
    position: relative;
    border-top: 0px dashed #fff;
    background: #48392b;
    background: linear-gradient(360deg, rgba(72, 57, 43, 1) 13%, rgba(33, 27, 19, 1) 100%);
}

#news-announcements a {
    color: #fffbd9;
}

.list-2col {
    -webkit-columns: 2;
    columns: 2;
}

#gotoTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    display: none;
    padding: 12px !important;
}

#footer {
    position: relative;
    /*
    background-color: #48392b;
    background-color: #2d2216;
    */
    background: linear-gradient(180deg, rgba(45, 34, 22, 1) 10%, rgba(23, 15, 8, 1) 100%);
    font-size: 14px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 0px solid #fbbd52;
}
#footer:before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -69px;
    background-image: url(../img/mountains-silhouette-drk-brwn.png);
    background-size: contain;
    background-position: 72px bottom;
    background-repeat: repeat-x;
    height: 70px;
    z-index: 2;
}

#footer img#ycmt-logo {
    position: absolute;
    left: 50%;
    transform: translate3d(-50%, -50%);
    top: 0;
    margin-top: -32px;
    margin-left: -24px;
    z-index: 10;
    width: 48px;
    border: 3px solid #2d2216;
}

.owner-name {
    position: relative;
}
.prop-search-or {
    position: absolute;
    right: -15px;
    top: 28px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 5px;
    background-color: #000;
    color: #fff;
    border: 4px solid #f4f2ef;
}

.prop-srch-pagination {
    
}

#homepage-features.homepage-gradient {
    background: linear-gradient(350deg, rgba(139, 103, 24, 0.15) 0%, rgba(139, 103, 24, 0) 65%);
    background: linear-gradient(350deg, rgba(255, 225, 161, 0.25) 0%, rgba(244, 219, 165, 0) 65%);
background: 
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255, 0.5) 0,
      rgba(255,255,255, 0.5) 3px,
      transparent 3px,
      transparent 6px
    ),
    linear-gradient(350deg, rgba(255, 225, 161, 0.25) 0%, rgba(244, 219, 165, 0) 65%);
  background-size: cover;


}

/* jobs slider */
#yc-careers {
    position: relative;
    background-color: #fbbd52;
    background-image: linear-gradient(to bottom, rgba(255, 252, 221, 0), rgba(255, 252, 221, 0.5));
    padding: 24px 0 28px 0;
    border-bottom: 0px dotted #48392b;
}

#yc-careers::before {
    position: absolute;
    content: '';
    top: -1px;
    width: 100%;
    height: 0px;
    border-bottom: 2px dotted #fbbd52;
}

#yc-careers::after {
    position: absolute;
    content: '';
    bottom: -1px;
    width: 100%;
    height: 0px;
    border-bottom: 2px dotted #48392b;
}

.jobs-links a {
    font-size: 14px;
    color: #222;
    padding: 0;
    margin: 0;
}

/* job-swiper container */
.job-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

.job-swiper .job {
    max-width: 600px;
    width: 100%;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.job-swiper .job-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    font-family: "Poppins", sans-serif;
    line-height: 1.4;
}

.job-swiper .job-desc {
    margin-top: 4px;
    font-size: 14px;
    color: #222;
    line-height: 1.2;
}

.job-swiper .apply {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    margin-top: 20px;
    text-decoration: none;
    color: #222;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    /*
    box-shadow:  -1px -1px 2px rgba(0, 0, 0, 0.125);
    */
}

.job-swiper .apply:hover {
    color: #fff;
    background-color: #48392b;
}

.job-swiper .apply i {
    transition: transform 0.2s ease;
}

.job-swiper .apply:hover i {
    transform: translateX(2px);
}

/* Navigation buttons */
.job-swiper .swiper-button-next.job-next,
.job-swiper .swiper-button-prev.job-prev {
    color: #fff;
}

/* Pagination dots */
.job-swiper .swiper-pagination.job-pagination {
    text-align: center;
    margin-top: 10px;
}

.job-swiper .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.5;
}

.job-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}


@media (max-width: 639px) {
    .news-swiper .swiper-button-next,
    .news-swiper .swiper-button-prev {
        display: none;
    }
}

@media (min-width: 768px) {
    .offcanvas-body {
        background-color: inherit;
    }
    .dropdown-menu {
        margin-top: 16px !important;
        padding: 20px 8px;
    }
    .news-swiper.swiper {
        padding: 0 50px 0 0;
    }

    .news-swiper .swiper-pagination {
        display: none;
    }

    .column-divider:not(:last-child)::after {
        display: block;
        content: "";
        position: absolute;
        top: 2%;
        bottom: 2%;
        right: 0;
        width: 1px;
        background-color: rgba(255, 255, 255, 0);
        border-right: 1px dotted rgba(224, 206, 139, 0.65);
    }

    body.home #hero {
        padding-top: 240px;
        padding-bottom: 110px;
    }

    #hero {
        padding-top: 240px;
        padding-bottom: 110px;
    }

    #hero::after {
        background-size: contain;
    }

    #hero.department::after {
        height: 54px;
        background-size: contain;
        background-position: center bottom;
    }

    #page-content::before {
        display: block;
    }

    .lead {
        font-size: 1.25rem;
    }

    .sticky-top.scrolled {
        top: 0px;
    }

    .nav-pills .nav-link.active::before {
        content: "\F135";
    }

    #megaContent {
        background-color: rgb(14, 8, 4) !important;
    }
    #hero,
    .section {
        background-attachment: fixed;
    }
    .department-card {
        text-align: left;
    }
    .dropdown-menu {
        background-color: #040603;
        background-color: rgb(14, 8, 4);
    }

    .list-columns {
        -webkit-columns: 2;
        columns: 2;
    }

    #footer {
        padding-top: 16px;
    }
    #footer img#ycmt-logo {
        margin-top: -72px;
        margin-left: -32px;
        width: 64px;
    }
}

@media (min-width: 992px) {
    #navigation .back-link {
        margin-top: -16px;
    }
}

@media (max-width: 991.98px) {
    .mega-column {
        padding-left: 0;
    }
    #megaContent {
        padding: 0;
    }
}