/* Fire Department Page Styles */
.main-middle {
    min-width: 100px;
    width: 60vw;
}

h2 {
    color: #d32f2f;
}

main h3 {
    color: #388E3C;
    margin-top: 2rem;
}

.wildfire-warning {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 15px;
    right: 10px;
    align-items: center;
    z-index: 1000;
}

.wildfire-warning img {
    width: auto;
    height: 105px;
    margin-right: 10px;
}

.warning-scale {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid brown 5px;
    border-radius: 10px;
    height: fit-content;
    background-color: brown;
    box-shadow: black 3px 3px 10px;
}

.warning-scale-levels {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: brown;
}

.scale-level {
    padding: 5px;
    border: black 5px solid;
    border-radius: 5px;
    color: white;
    font-weight: bold;

}

.warning-scale-levels div:nth-child(1) {
    background-color: rgb(62, 211, 62);
}

.warning-scale-levels div:nth-child(2) {
    margin: 0 5px;
    background-color: rgb(218, 218, 0);
}

.warning-scale-levels div:nth-child(3) {
    margin-right: 5px;
    background-color: rgb(255, 153, 0);
}

.warning-scale-levels div:nth-child(4) {
    background-color: rgb(255, 0, 0);
}

.warning-scale-title {
    color: white;
    font-weight: bold;
    font-size: 4.5rem;
    text-align: center;
    margin-top: 5px;
    background-color: black;
    width: 100%;
    border-radius: 5px 5px 10px 10px;
}

.warning-scale-img {
    position: absolute;
    top: 11px;
    right: 337px;
    /* L1(337) L2(230) L3(125) L4(25) */
}

.warning-scale-img img {
    width: auto;
    height: 50px;
}

.firedep-header {
    min-height: 150px;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cell-heading {
    max-width: 515px;
    width: 100%;
    max-height: 40px;
    text-align: center !important;
    padding: 10px 0;
}

.cell-heading h3 {
    margin: 0;
}

.cell,
.cell-heading {
    max-width: 515px;
    width: 100%;
    height: auto;
    text-align: left;
    padding: 10px 0;
    box-shadow: #d32f2f 3px 3px 10px;
    border-radius: 10px;
    background-color: #f4f4f4;
}

.disc-paragraph::before {
    content: "• ";
    color: green;
    /* optional */
    font-weight: bold;
    padding: 0 10px 0 20px;
}

.numbered-paragraphs {
    counter-reset: item;
}

.numbered-paragraphs .cell::before {
    counter-increment: item;
    content: counter(item) ". ";
    font-weight: bold;
    color: green;
    /* Optional */
    padding: 0 10px 0 20px;
}

.department-member-list .disc-paragraph::before {
    content: "• ";
    color: green;
    /* optional */
    font-weight: bold;
    padding: 0 10px 0 100px;
}

.fire-map-container {
    width: 100%;
    height: 55vh;
    margin-top: 20px;
}

.cell-with-list ul {
    list-style-type: circle;
    padding: 0 0 0 220px;
    margin: 0;
}

.volunteer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 25px;
    width: 100%;
    margin: 25px 0;
    background-color: #ebebeb;
}

.training-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.training-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.firedep-image {
    max-width: 300px;
    width: 300px;
    max-height: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #d32f2f;
    border-radius: 10px;
    box-shadow: #d32f2f 3px 3px 10px;
    background-color: #f4f4f4;
    overflow: hidden;
}

.firedep-image img {
    width: 100%;
    height: 300px;
    background-color: #9cf;
    object-fit: cover;
    justify-self: center;
}

.firedep-image.resc-train img {
    object-position: -95px center;
    height: 115%;
}

.training-text {
    position: relative;
    max-width: 300px;
    width: 100%;
    max-height: 200px;
    height: 200px;
    text-align: center;
}

.training-text h3 {
    margin-bottom: 0;
    font-size: 2.5rem;
}

.training-text p {
    margin: 0;
    padding: 10px;
    color: #333;
    max-width: 300px;
}

.training-text div p:last-of-type {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.volunteer>p {
    margin-top: 35px;
    padding: 10px;
    color: #333;
    max-width: 100%;
    text-align: center;
    background-color: #f4f4f4;
    box-shadow: #d32f2f 3px 3px 10px;
    border-radius: 10px;
}

.burning-ban {
    margin: 0 20px 0 0;
    background-color: transparent;
    border: solid #d32f2f 3px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: #520000 3px 3px 10px;
}

.burning-ban-header {
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 3rem;
    text-align: center;
    width: 100%;
    background: transparent;
    padding-top: 5px;
}

.burning-ban-text div:first-of-type,
.ban-details,
.burning-ban-footer {
    background-color: transparent;
    box-shadow: #d32f2f 3px 3px 5px;
    border-radius: 10px;
}

.burning-ban-text div:first-of-type p {
    margin: 5px 10px 20px 10px;
}

.ban-details p:first-of-type {
    margin: 0;
    padding: 0;
}

.short-line {
    font-size: 5px;
    color: transparent;
}

.burning-ban-footer p {
    margin-bottom: 0;
}

.firedep-container {
    margin-bottom: 25px;
    max-width: 96.5vw;
    width: 100%;
}

.carousel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: auto;
    position: relative;
    background: #f5f5f5;
    border-radius: 12px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.carousel-window {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 100%;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}

.slide img {
    height: 100%;
    max-height: 600px;
    width: 50%;
    max-width: 1500px;
    display: block;
    border-radius: 10px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.arrow {
    font-size: 4rem;
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
    margin: auto 20px;
}

.arrow:hover {
    color: green;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.carousel-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dots button.active {
    background-color: green;
}