﻿/* ======   Base & Reset   ====== */
/*Style Standards - Always include these*/
html,
body {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px;
    font-weight: normal;
    font-family: 'Vazirmatn','Roboto Flex', 'Noto Sans', sans-serif !important;
    color: var(--cc-stdFont);
    min-height: 100% !important;
    min-width: 100% !important;
    overflow-y: initial;
}

html {
    height: 100% !important;
    width: 100% !important;
}

body {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100% !important;
}

/* ======   Layout   ====== */
header {
    width: 100%;
}

main {
    flex: 1 0 auto;
    width: 100%;
}

footer {
    width: 100%;
    flex-shrink: 0;
    border-top: 1px solid #ccc;
}

/* ======   Typography   ====== */
p {
    margin: .5rem .5rem 1rem .54rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Vazirmatn', 'Roboto Flex','Franklin Gothic Book', sans-serif;
    color: #333;
    padding: .2rem;
    position: relative;
    margin-top: 1rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.45rem;
    border-bottom: 1px solid #ddd;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.22rem;
}

h6 {
    font-size: 1.15rem;
}

a {
    color: #0d25ab;
}

    a:visited {
        color: #6e0088;
    }

    a:hover {
        color: var(--cc-blue);
    }

.titleCaps {
    text-transform: uppercase; /* makes all letters uppercase */
    font-variant-caps: small-caps; /* makes normal letters small caps */
}

.fullBody h2.sectionLabel {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    min-width: 24%;
    width: fit-content;
    color: #fff !important;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--cc-yellowAccent);
    padding: 0.25em 2em !important;
}

/* ======   County Branding and Defaults  ====== */
/*County Colors / CSS Variables*/
:root {
    --cc-blue: #293d97;
    --cc-darkBlue: #0b2244;
    --cc-navBlue: #2c3e50;
    --cc-blueAccent01: #172d4d;
    --cc-blueAccent02: #364758;
    --cc-red: #cc0000;
    --cc-darkRed: #a71414;
    --cc-darkGrey: #555;
    --cc-medGrey: #ccc;
    --cc-lightGrey: #f5f5f5;
    --cc-stdFont: #333;
    --cc-yellowAccent: #D7A31A;
}

/*Aesthetic / Effects*/
.pinBlueBG {
    /* background-color: #0f1116; */
    /* background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 10px); */
    /* background-color: #2f4159; */
    /* background-image: linear-gradient(
        rgba(255,255,255,0.02),
        rgba(0,0,0,0.05)
    ); */
    background: linear-gradient(to bottom, #294461, #203546);
}

.ccGlass {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.4) 90%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 10px 5px rgba(0, 0, 0, 0.3);
}

/*Widget Settings*/
.ccStdWidgetHomeOverride { /*added per judge feedback*/
    margin: unset !important;
}

.ccStdWidget {
    margin: 1rem .25rem;
}

/* ======   Components: Chat / Buttons / Accordion / Cards / Tree View  ====== */
/*Inline ChatBot*/
#ccChatBlock {
    display: flex;
    max-height: 45rem;
    overflow: hidden;
    overflow-y: scroll;
}

/* Buttons: Dark */
a.ccButton {
    display: inline-block;
    background-color: #2d4765;
    color: #ffffff;
    letter-spacing: 0.25px;
    text-decoration: none;
    padding: 1rem 1.5rem .7rem 1.5rem;
    margin: 1rem;
    border-radius: 0.15rem;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.2);
}

    a.ccButton:hover,
    a.ccButton:focus {
        background-color: rgba(44 62 80/.9);
        box-shadow: none;
        outline: none;
    }

    a.ccButton:focus-visible {
        outline: 3px solid #ffbf47;
        outline-offset: 2px;
    }

    a.ccButton:active {
        background-color: #16212b;
        box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.3);
    }

/* Buttons: Light */
a.ccButtonLight {
    display: inline-block;
    background-color: var(--cc-lightGrey);
    color: var(--cc-navBlue);
    letter-spacing: 0.25px;
    text-decoration: none;
    padding: 0.5em 1.5rem;
    margin: 1rem;
    border-radius: 0.15rem;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.15);
}

    a.ccButtonLight:hover,
    a.ccButtonLight:focus {
        background-color: #e4e9ee;
        box-shadow: none;
        outline: none;
    }

    a.ccButtonLight:focus-visible {
        outline: 3px solid #ffbf47;
        outline-offset: 2px;
    }

    a.ccButtonLight:active {
        background-color: #d8dde2;
        box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.3);
    }

/* Accordion */
.accordion {
    /* border-bottom: 1px solid #ccc; */
    margin: 1rem .75rem;
    width: 100%;
}

.accordion-section {
    /* border-bottom: 1px solid #fff; */
}

.accordion-header {
    background: #eef3f7;
    padding: 1.2rem 1rem .8rem 1rem;
    margin: .15rem;
    cursor: pointer;
    border: 1px solid #a1b0bb;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #333;
    /* font-weight: bold; */
    letter-spacing: .075rem;
    border-radius: .25rem;
    transition: all .2s ease;
    font-family: 'Vazirmatn';
}

.contentBody .accordion-header {
    font-size: 1.2rem;
}

.contentBody .accordion-content {
    padding: 0rem 1rem;
    margin: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    /* border-bottom: 2px solid #fff; */
}

.accordion-header.active + .accordion-content {
    max-height: 2000px;
    /*margin: 1.5rem 0 1rem 0;*/
    margin: 0;
}

.accordion-header.active:after {
    font-family: 'ccicons';
    content: '\f004';
    font-size: .8rem;
}

.accordion-header:not(.active):after {
    font-family: 'ccicons';
    content: '\f005';
    font-size: .8rem;
}

.contentBody .accordion-header.active {
    background: #f5f5f5;
    font-size: 1.28rem;
    letter-spacing: .08rem;
    border: 0;
    border-bottom: 1px solid #495b69;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Cards */
.cardGrp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

    .cardGrp ul {
        margin: 0;
        padding: 0;
    }

    .cardGrp li {
        list-style: none;
        background: #fff;
        border-radius: .25rem;
        padding: .5rem;
        margin: 1rem;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
        transition: transform .2s ease, box-shadow .2s ease;
    }

        .cardGrp li:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
        }

    .cardGrp p {
        font-size: .9rem;
        margin: .25rem;
    }

    .cardGrp .floatLeft {
        flex-shrink: 0;
    }

    .cardGrp .thumbSeal {
        width: 64px;
        height: auto;
    }

/* Tree View */
.ccTreeView {
    margin: 0 0 0 .5rem;
}

.ccTreeViewSection {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    margin-block: 0.5rem;
    overflow: clip;
}

.ccTreeViewToggle {
    display: grid;
    grid-template-columns: 2ch 1fr;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid var(--cc-blue);
}

    .ccTreeViewToggle:focus-visible {
        outline: 2px solid royalblue;
        outline-offset: 2px;
    }

    .ccTreeViewToggle .icon-right-dir {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1rem;
        height: 1rem;
        margin-bottom: .3rem;
        font-size: 1.25rem;
        transition: transform .2s ease;
        transform-origin: 50% 50%;
    }

    .ccTreeViewToggle[aria-expanded="true"] .icon-right-dir {
        transform: rotate(90deg);
    }

.ccTreeViewTitle h3 {
    font-size: 1.35rem;
    border-bottom: none !important;
}

.ccTreeViewPanel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 220ms ease;
    will-change: max-height;
}

    .ccTreeViewPanel > .ccTreeViewPanelDetails {
        padding: 0.5em 1rem;
    }

    .ccTreeViewPanel[hidden] {
        display: block;
    }

/* ======   Utilities: Floats, Grids, Tables, Tags, Lists   ====== */
.colGrp {
    display: flex;
    flex-direction: column;
}

.rowGrp {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.floatLeft {
    float: left;
    margin: .25em 1em .5em 0;
    clear: left;
    max-width: 30%;
}



.floatRight {
    float: right;
    margin: .25em 0 .5em 1rem;
    clear: left;
    max-width: 30%;
}

.dblBlock {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    justify-content: flex-start;
    align-items: flex-start
}

    .dblBlock .blockItem {
        flex: 1 1 auto;
        width: 50%
    }

.dblBlockList {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 25%);
    border: 2px solid #f5f5f5;
    margin: 10px 0
}

    .dblBlockList .blockItem {
        flex: 1 1 auto
    }

        .dblBlockList .blockItem ul {
            padding: 0;
            margin: 0
        }

            .dblBlockList .blockItem ul li {
                list-style: none;
                padding: 5px 10px
            }

                .dblBlockList .blockItem ul li:nth-child(odd) {
                    background: #f5f5f5
                }

.stdTable {
    display: flex;
    flex-direction: column;
}

    .stdTable .rowGrp {
        flex: 1 0 100%;
        justify-content: space-between;
        padding: .75rem .5rem .5rem .5rem;
    }

        .stdTable .rowGrp div {
            width: 100%;
            padding-left: .75rem;
        }

.stdHead {
    font-size: 1.15rem;
    display: flex;
    border-bottom: 1px solid var(--cc-blueAccent01);
    flex: 1 0 100%;
    justify-content: space-between;
}

.stdTable .rowGrp:nth-child(even) {
    background: var(--cc-lightGrey);
}

.stdHead div {
    width: 100%;
}

/*Tags*/
.ccTagBlock {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: .2rem;
}

    .ccTagBlock .ccTags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

        .ccTagBlock .ccTags .icon-tag {
            display: block;
            align-items: center;
            background-color: #f5f5f5;
            color: #2f3c4a;
            font-size: 0.7rem;
            font-weight: 500;
            padding: .5rem .75rem .25rem .5rem;
            border-radius: 1rem;
            text-transform: capitalize;
            cursor: default;
            transition: background-color 0.2s ease;
            box-shadow: rgba(0, 0, 0, 0.15) 1px 1px 5px inset;
        }

            .ccTagBlock .ccTags .icon-tag:hover {
                background-color: #e4effb;
            }

/*Lists*/
.ccStdList {
    list-style: none;
    margin: 0rem .5rem;
    padding: 0 !important;
}

/* ======   Locations   ====== */
.locationsContainer {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.locationBlock {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    flex: 1 1 50%;
}

    .locationBlock .locationImage {
        width: 125px;
        height: 125px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-color: #f5f5f5;
    }

    .locationBlock .locationDetails {
        padding: .5rem;
    }

/* ======   Officials List   ====== */
.genOfc .officialLine {
    display: flex;
    flex-direction: row;
    padding: .5rem;
    flex: 0 0 0;
}

.genOfc .officialCell {
    flex: 1 1 20%;
    display: flex;
    flex-direction: column;
}

    .genOfc .officialCell .rowHead {
        font-weight: bold;
        border-bottom: 1px solid #ccc;
    }

.genOfc .officialLine:nth-child(even) {
    background-color: #f5f5f5;
}

.genOfc .officialLine.colHead {
    font-weight: bold;
    font-size: 1.1rem;
}

.genOfc .officialContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ======   Social Follow Styles   ====== */
/*Homepage Buttons*/
.social-follow {
    display: flex;
    flex-direction: column;
    border-radius: .25rem;
    height: fit-content;
    align-items: stretch;
    position: relative;
    padding: .5rem 1.5rem;
    border-radius: .5rem;
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .social-follow h3 {
        color: #eee;
        letter-spacing: 1px;
        border-bottom: 2px solid var(--cc-yellowAccent);
    }

    .social-follow ul {
        list-style: none;
        margin: 0;
        padding: .5rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .social-follow a,
    .social-follow a:visited {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 18rem;
        height: 3.5rem;
        border-radius: .25rem;
        background: #fff;
        text-decoration: none;
        box-shadow: 2px 2px 8px rgba(0, 0, 0, .85);
        color: var(--cc-blue);
    }

        .social-follow a:focus-visible {
            outline: 3px solid #005fcc;
        }

        .social-follow a:hover {
            transform: translateX(-1rem);
            /* border: 2px solid rgba(255 255 255 /.65); */
        }

    .social-follow .icon {
        font-size: 1.25rem;
        display: flex;
        flex-direction: row;
        height: 80%;
        width: 100%;
        align-items: center;
        padding-top: .2rem;
    }

        .social-follow .icon:before {
            /* color: #fff; */
            /* background-color: #3a557a; */
            border-right: 1px solid #ccc;
            /* height: stretch; */
            min-height: 3rem;
            /* border-radius: .25rem; */
            width: 3.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2rem;
            margin-left: 0;
        }

        .social-follow .icon .iconPic {
            background-position: center;
            background-size: contain;
            background-repeat: no-repeat;
            padding: .25rem;
            display: flex;
            flex-direction: row;
            height: 100%;
            width: 3.5rem;
            align-items: center;
        }

    .social-follow a.facebook:hover,
    .social-follow a.facebook:focus-visible {
        background-color: rgb(24 119 242 / 50%);
        color: #fff;
    }

    .social-follow a.x:hover,
    .social-follow a.x:focus-visible {
        background-color: rgb(0 0 0 / 50%);
        color: #fff;
    }

    .social-follow a.linkedin:hover,
    .social-follow a.linkedin:focus-visible {
        background-color: rgb(10 102 194 / 50%);
        color: #fff;
    }

    .social-follow a.youtube:hover,
    .social-follow a.youtube:focus-visible {
        background-color: rgb(183 0 30 / 75%);
        color: #fff;
    }

    .social-follow a.contact:hover,
    .social-follow a.contact:focus-visible {
        background-color: #0b2244;
        color: #fff;
    }

/*quick icon setup*/

.quickIcons {
    background: #d9dce0;
    /* background: #4b5563; */
    /* background: #4c5766; */
    /* background: #546c81; */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 2rem 0;
    border-top: .75rem solid #1b395a;
}

    .quickIcons .sectionHeader {
        color: #3a557a !important;
        border-bottom: 2px solid var(--cc-yellowAccent);
        width: 25%;
        font-size: 1.8rem;
        font-weight: bold;
        letter-spacing: 1px;
    }

.iconGrid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4%;
    padding: 3rem;
}

    .iconGrid .iconItem {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        max-width: 20rem;
        flex: 1 1 20%;
        text-decoration: none;
        box-shadow: 3px 4px 15px rgba(0, 0, 0, 0.45);
        background-color: #fff;
        padding: 1rem;
        border-radius: .5rem;
        /* border-bottom: 8px solid #557d99; */
        /* border-bottom: 8px solid var(--cc-yellowAccent); */
        position: relative;
        overflow: hidden;
        transition: all .15s ease;
    }

    .iconGrid .stamp {
        width: 100%;
        /* height: 100%; */
        /* flex: 1 0 auto; */
        /* border-radius: .25rem; */
    }

        .iconGrid .stamp span {
            width: 65%;
            height: 5rem;
            display: block;
            /* border-radius: 50%; */
            background-position: center;
            background-size: contain;
            background-repeat: no-repeat;
            /* background-color: #3a557a; */
            /* background-color: #4a6585; */
            /* background-color: #5a708c; */
            /* box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); */
        }

    .iconGrid .iconItem h3 {
        height: 3rem;
        justify-content: center;
        display: flex;
        align-items: flex-end;
        margin-top: .5rem;
    }

    .iconGrid .stamp.back {
        width: 100%;
        /* border-top: 1px solid #ccc; */
        color: #333;
        padding-top: .5rem;
    }

    .iconGrid .stamp.borderSheet {
        /*width: 225px;
            height: 150px;*/
        /* width: 15rem; */
        /* height: 10rem; */
        /* background: #fff; */
        display: flex;
        justify-content: center;
        align-items: center;
        /* box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); */
    }

    .iconGrid .stamp.inner {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background: #fff;
        width: 90%;
        height: 90%;
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }

    .iconGrid .iconItem:hover::after {
        /* box-shadow: none; */
        /* border-bottom: 8px solid var(--cc-yellowAccent); */
        width: 100%;
    }

    .iconGrid .iconItem::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 6px;
        background: var(--cc-yellowAccent);
        background: #cc3333;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    .iconGrid .iconItem::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: #557d99;
    }

    .iconGrid .iconItem:hover {
        /* border: 2px solid #cc3333; */
        /* box-shadow: none; */
        transform: scale(1.07);
    }

.stdLayout .iconGrid .iconItem {
    flex: 0 1 20%;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    max-width: 16rem;
    min-width: 14rem;
    margin: 1rem;
}

.stdLayout .quickIcons {
    background: #f5f5f5;
    background: #fff;
    border-top: 0;
    /* box-shadow: inset 0px 0px 4px rgba(0, 0, 0, 0.2); */
    border-radius: 3rem;
}

.stdLayout .iconGrid {
    justify-content: space-evenly;
    gap: 0;
    width: 100%;
    flex-wrap: wrap;
}

    .stdLayout .iconGrid .stamp span {
        width: 50%;
        background-size: contain;
    }

/*end quick icon style*/
/* ======   Accessibility / Screen Reader   ====== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ======   Responsive   ====== */
@media (max-width: 1400px) {
}

}

@media (max-width: 1366px) {
    .quickIcons .sectionHeader, .homepageCal > h2 {
        width: 30%;
    }
}
/* Large desktops */
@media (max-width: 1200px) {
    /*Homepage Buttons*/
    .social-follow {
        padding: 0;
    }
}
/* Low Res Desktop*/
@media (max-width: 1080px) {
}
/* Small desktops / large tablets */
@media (max-width: 992px) {
    .quickIcons .sectionHeader, .homepageCal > h2 {
        width: 50%;
    }

    .iconGrid {
        justify-content: space-evenly;
        gap: unset;
        padding: 1rem 0;
        width: 100%;
    }

        .iconGrid .iconItem {
            max-width: 14rem;
            flex: 1 1 14rem;
            margin: 0 .5rem;
            padding: .5rem .5rem .8rem .5rem;
        }
}

@media (max-width: 896px) {
    .iconGrid .iconItem {
        max-width: 11rem;
    }

        .iconGrid .iconItem h3 {
            font-size: 1.25rem;
        }

    .iconGrid .stamp span {
        height: 4rem;
        background-size: 70%;
    }

    .iconGrid .stamp.back {
        padding-top: 0;
        flex: 1 1 auto;
    }
}

@media (max-width: 800px) {
    .iconGrid .iconItem {
        max-width: 10rem;
    }

        .iconGrid .iconItem h3 {
            font-size: 1.2rem;
        }
}
/* Tablets */
@media (max-width: 768px) {
    .quickIcons .sectionHeader {
        width: 80%;
    }
}

@media (max-width: 675px) {
    .iconGrid {
        flex-wrap: wrap;
    }

        .iconGrid .iconItem {
            max-width: 40%;
            margin: 1rem;
            flex: 1 0 40%;
        }

        .iconGrid .stamp span {
            height: 4rem;
            background-size: contain;
        }

        .iconGrid .iconItem h3 {
            height: auto;
            padding-top: .5rem;
        }
}
/* Large phones */
@media (max-width: 576px) {
    .social-follow h3 {
        text-align: center;
    }

    /* .social-follow {
        top: 95%;
    }*/

    .social-follow ul {
        gap: 1rem;
        margin-bottom: 1rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .social-follow .icon:before {
        border-right: 0;
    }

    .social-follow .icon {
        font-size: 0;
    }

    .social-follow a, .social-follow a:visited {
        width: min-content;
    }

    #ccMainSection .floatRight, #ccMainSection .floatLeft {
        float: none;
    }
    /*Top Navigation*/
    /*Float*/
    .floatRight {
        max-width: unset;
    }
}
/* Small phones */
@media (max-width: 480px) {
}
/* Very small devices */
@media (max-width: 360px) {
}
