/* ================================
   Top
================================ */
.urban-forestry-top {
    padding-left: 45px;
    padding-right: 45px;
    display: flex;
}

@media screen and (max-width:640px) {
    .urban-forestry-top {
        padding: 0;
    }
}

.urban-forestry-top .content-boxes {
    grid-template-columns: 40% 60%;
    gap: 25px;
}

.urban-forestry-top-intro {
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.2em;
}

@media screen and (max-width:880px) {
    .urban-forestry-top .content-boxes {
        grid-template-columns: repeat(1, 1fr);
    }

    .urban-forestry-top-intro {
        margin-top: 0;
    }
}

.urban-forestry-top-intro-header {
    color: #054f05 !important;
}

.urban-forestry-top-intro-header,
.urban-forestry-top-intro-text {
    display: inline;
}

/* ================================
   Gradient Top
================================ */
.urban-forestry-gradient-top-img .contentBoxBG {
    background-position: bottom left;
    min-height: 50px;
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin-left: -50px;
    margin-right: -50px;
}

@media screen and (max-width: 1280px) {
    .urban-forestry-gradient-top-img .contentBoxBG {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media screen and (max-width: 650px) {
    .urban-forestry-gradient-top-img .contentBoxBG {
        background-size: 190vw 100%;
    }
}

/* ================================
   Buttons
================================ */
.urban-forestry-btns {
    margin-left: -50px;
    margin-right: -50px;

    padding: 20px 15px;

    background-image: url(/Content/Images/Departments/PublicWorks/UrbanForestry/buttonBG.png);
    background-position: top left;
    background-size: 101%;
    background-repeat: no-repeat;

    overflow: hidden;
}

@media screen and (max-width: 1280px) {
    .urban-forestry-btns {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media screen and (max-width: 900px) {
    .urban-forestry-btns {
        padding: 20px 22vw;
        background-size: cover;
        background-position: center;
    }
}

@media screen and (max-width: 750px) {
    .urban-forestry-btns {
        padding: 18px 15vw;
        background-size: cover;
        background-position: center;
    }
}

@media screen and (max-width: 580px) {
    .urban-forestry-btns {
        padding: 15px 45px;
        width: auto;
    }
}

@media screen and (max-width: 570px) {
    .urban-forestry-btns {
        padding: 12px 15px;
        text-align: center;
    }
}

.urban-forestry-btns .content-boxes {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(6, 125px);
    justify-content: space-between;
}

@media screen and (max-width: 900px) {
    .urban-forestry-btns .content-boxes {
        grid-template-columns: repeat(3, 125px);
        row-gap: 10px;
    }
}

@media screen and (max-width: 570px) {
    .urban-forestry-btns .content-boxes {
        max-width: 257px;
        text-align: center;
        grid-template-columns: repeat(2, 125px);
        row-gap: 6px;
    }
}

@media screen and (max-width: 300px) {
    .urban-forestry-btns .content-boxes {
        max-width: 257px;
        text-align: center;
        grid-template-columns: repeat(1, 125px);
        row-gap: 6px;
    }
}

.urban-forestry-btns .contentBox {
    position: relative;
    width: 125px;
    height: 125px;
    overflow: hidden;
}

.urban-forestry-btns .contentBoxBG {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}

.urban-forestry-btns .contentBoxLink {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 10px 5px 5px;
    padding-top: 85px;
    text-align: center;

    text-decoration: none;
    color: #000 !important;
    font-size: 12px;
    font-weight: 600;
}

/* ================================
   Gradient Bottom
================================ */
.urban-forestry-gradient-bottom-img .contentBoxBG {
    display: block;
    min-height: 50px;
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin-left: -50px;
    margin-right: -50px;
}

@media screen and (max-width: 1280px) {
    .urban-forestry-gradient-bottom-img .contentBoxBG {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media screen and (max-width: 650px) {
    .urban-forestry-gradient-bottom-img .contentBoxBG {
        background-size: 190vw 100%;
    }
}

/* ================================
   TOTM
================================ */
.urban-forestry-totm {
    padding-top: 50px;
    padding-bottom: 57px;
    margin-top: -50px;
    margin-bottom: -57px;
    width: 100%;
    display: inline-block;
    overflow: hidden;
}

.urban-forestry-totm .content-boxes {
    position: relative;
    margin-top: 45px;

    width: 100%;
    margin-bottom: 30px;
}

.urban-forestry-totm-text {
    margin-right: 14%;
    margin-left: 45px;
}

.urban-forestry-totm-text contentBoxContent {
    display: table;
    width: 100%;
    min-height: 280px;
}

.urban-forestry-totm-text-container {
    width: 40%;
    padding-left: 6%;
    padding-right: 10%;
    display: table-cell;
}

@media screen and (max-width: 1100px) {
    .urban-forestry-totm-text-container {
        padding-left: 0;
        padding-right: 0;
    }
}

.urban-forestry-totm-text-container::before {
    content: '';
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 50%);
    left: 195px;
    transform: rotate(135deg) skew(-12deg, -12deg);
    width: 350px;
    height: 350px;
    position: absolute;
    top: -50px;
    font-size: 0px;
    line-height: 0px;
}

.urban-forestry-totm-text-title {
    color: #000;
    margin-top: 0;
    margin-bottom: 0;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 1em;
    word-spacing: initial;
    letter-spacing: initial;
}

.urban-forestry-totm-text-name {
    color: #008000;
    margin-top: 0;
    margin-bottom: 0;
    font-style: normal;
    font-weight: bold;
    font-size: 2em;
    line-height: 1em;
    word-spacing: initial;
    letter-spacing: initial;
    z-index: 1;
    position: relative;
}

.urban-forestry-totm-text-details {
    max-height: 201px;
    overflow: hidden;
}

.urban-forestry-totm-text-link {
    display: inline-block;
    margin-top: 5px;
    position: relative;
    z-index: 1;
}

.urban-forestry-totm-text-link-img {
    margin: 0 !important;
    display: inline !important;
}

.urban-forestry-totm-text-link-text {
    font-size: 14px;
    vertical-align: top;
    color: #214D14;
    text-decoration: underline;
    font-weight: 500;
    padding-left: 8px;
}

/* ================================
   TOTM Image
================================ */
.urban-forestry-totm-img {
    width: 106%;
    min-height: 280px;
}

.urban-forestry-totm-img .contentBoxContent {
    display: table;
    width: 100%;
    min-height: 280px;
}

.urban-forestry-totm-img-container {
    display: table-cell;
    vertical-align: middle;
    padding-right: 4%;
}

.urban-forestry-totm-img-container-inner {
    background-repeat: no-repeat;
    position: relative;
    line-height: 0px;
    font-size: 0px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    background-size: 100% 100%;
}

.urban-forestry-totm-img-container-inner a img {
    width: 100%;
    margin: 0 !important;
    border-radius: 4px;
    object-fit: contain;
    max-height: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

@media screen and (max-width: 680px) {
    .urban-forestry-totm-text-container::before {
        display: none;
    }

    .urban-forestry-totm .content-boxes {
        grid-template-columns: repeat(1, 1fr);
        margin: 0;
    }

    .urban-forestry-totm-img {
        grid-row: 1;
        width: 100%;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
        min-height: 0px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .urban-forestry-totm-text {
        grid-row: 2;
        margin-right: auto;
        margin-left: auto;
        max-width: 440px;
    }

    .urban-forestry-totm-img-container {
        padding-right: 0;
    }

    .urban-forestry-totm-img-container-inner {
        max-width: 100%;
    }
}

@media screen and (max-width: 570px) {
    .urban-forestry-totm {
        padding-top: 15px;
    }
}

@media screen and (max-width: 470px) {
    .urban-forestry-totm-text-name {
        font-size: 6.8vw;
    }
}

/* ================================
   Bottom
================================ */

.urban-forestry-bottom {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.urban-forestry-bottom .content-boxes {
    gap: 30px;
}

/* ================================
   Bottom Left
================================ */

.urban-forestry-bottom-left {
    flex: 1 1 50%;
    min-width: 0;
    /* critical */
}

.urban-forestry-bottom-left-title {
    text-align: center;
    padding-bottom: 26px;
    font-weight: 700;
    font-size: 40px;
    line-height: 0.9;
    color: #008000;
    border-bottom: 1px solid rgba(0, 128, 0, 0.53);
}

.urban-forestry-bottom-left-content {
    display: flex;
    gap: 20px;
}

.urban-forestry-bottom-left-content>* {
    min-width: 0;
}

.urban-forestry-bottom-left-img {
    flex: 1 1 50%;
}

.urban-forestry-bottom-left-img img {
    width: 100%;
    height: auto;
    display: block;
}

.urban-forestry-bottom-left-list-container {
    flex: 1 1 50%;
    font-size: 20px;
    line-height: 1.2;
    border-left: 1px solid rgba(0, 128, 0, 0.53);
    padding-left: 20px;
    box-sizing: border-box;
}

.urban-forestry-bottom-left-list-title {
    font-weight: 700;
    color: #054f05;
    padding-top: 12px;
}

.urban-forestry-bottom-left-list ul {
    max-height: 295px;
    overflow: hidden;
}

.urban-forestry-bottom-left-list ul li {
    font-size: 16px;
}

.urban-forestry-bottom-left-list-link {
    display: inline-block;
    margin-top: 5px;
}

.urban-forestry-bottom-left-list-link-text {
    font-size: 14px;
    color: #214D14;
    text-decoration: underline;
    font-weight: 500;
    padding-left: 8px;
}

/* ================================
   Bottom Right
================================ */

.urban-forestry-bottom-right {
    flex: 1 1 50%;
    min-width: 0;
}

.urban-forestry-bottom-right-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 0.9;
    padding-left: 23px;
    padding-bottom: 26px;
}

.urban-forestry-bottom-right-content {
    background: linear-gradient(180deg,
            rgba(225, 237, 210, 0.76) 0%,
            rgba(26, 72, 119, 0) 100%);
    display: flex;
    align-items: flex-start;
    min-height: 425px;
    padding: 15px;
}

.urban-forestry-bottom-right-employee1,
.urban-forestry-bottom-right-employee2 {
    display: none;
}

.selected {
    display: flex;
    gap: 15px;
    flex: 1;
}

.selected-img img {
    width: 13vw;
    max-width: 220px !important;
    height: auto;
    display: block;
}

.urban-forestry-bottom-right-employee-info {
    flex: 1;
    min-width: 0;
}

.urban-forestry-bottom-right-employee-info-name a {
    color: black !important;
    text-transform: uppercase;
    font-weight: 600;
}

.urban-forestry-bottom-right-employee-info-title {
    font-weight: 600;
}

.urban-forestry-bottom-right-employee-info-text {
    overflow: hidden;
    max-height: 18em;
    line-height: 1.2em;
}

.urban-forestry-bottom-right-employee-info-link {
    display: inline-block;
    margin-top: 5px;
}

.urban-forestry-bottom-right-employee-info-link-text {
    font-size: 14px;
    color: #214D14;
    text-decoration: underline;
    font-weight: 500;
    padding-left: 8px;
}

/* ================================
   Responsive
================================ */

@media screen and (max-width: 1200px) {

    .urban-forestry-bottom-left-title,
    .urban-forestry-bottom-right-title {
        font-size: 28px;
    }

    .selected-img img {
        width: 200px;
    }
}

@media screen and (max-width: 880px) {
    .urban-forestry-bottom .content-boxes {
        grid-template-columns: repeat(1, 1fr);
        padding: 5vw;
    }

    .urban-forestry-bottom-left-img img, .selected-img img {
        width: 30vw;
    }
}

@media screen and (max-width: 380px) {
    .urban-forestry-bottom {
        margin-top: 10px;
    }
    .urban-forestry-bottom-left-content,
    .selected {
        flex-direction: column;
    }

    .urban-forestry-bottom-left-title {
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .urban-forestry-bottom-left-content {
        align-items: center;
    }

    .selected-img img {
        width: 150px;
    }

    .urban-forestry-bottom-left-title, .urban-forestry-bottom-left-list-container {
        border: none;
    }

    .urban-forestry-bottom-right-title {
        padding-left: 0;
        text-align: center;
    }
}