/*Header Tags*/
h1 {
    color: #147bd1;
    font-size: 1.875rem;
    margin: 1em 0
}

h2 {
    font-size: 1.5em !important;
    color: #323a45;
}

h3 {
    font-size: 1.25em !important;
}

h4 {
    font-size: 1em !important;
}

h5 {
    font-size: .75em !important;
}

/*Template Layout*/
.sectionBorders {
    border-top: 5px solid #f1f1f1;
    border-bottom: 5px solid #f1f1f1;
    border-spacing: 5px;
}

.topBorder {
    border-top: 5px solid #f1f1f1;
    border-spacing: 5px;
}

.bottomBorder {
    padding-top: 5px;
    border-bottom: 2px solid #f1f1f1;
    border-spacing: 5px;
}

/*Homepage*/
#homeImage {
    background-color: #E6EBF2;
}

#content {
    background-color: white;
}

#content1.container {
    background-color: white;
    padding-top: 10px;
}

/*#homeImage.container {

}*/

.k-treeview {
    overflow: unset !important;
}

.k-top a,
.k-mid a,
.k-bot a {
    width: 100%;
    font-size: .9em;
    white-space: normal;
}

.k-item a:hover {
    background-color: #f0a818;
}

.RadRotator {
    padding-bottom: 5px;
}

/*Home Page Calendar Rad Tab Strip*/
.calendarTabstrip .rtsUL {
    width: 100%;
}

.calendarTabstrip .rtsLI {
    margin-left: 2% !important;
    width: 32% !important;
    color: #323a45 !important;
}

.calendarTabstrip .rtsFirst {
    margin-left: 0 !important;
}

.calendarTabstrip .rtsLast {
    float: right !important;
}

.calendarTabstrip .rtsLink {
    font-size: large;
    font-weight: bold;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #e6e6e6;
    color: #205493 !important;
    border-bottom: #c6d9f0 !important;
}

.calendarTabstrip .rtsLink:hover:not(.rtsSelected) {
    background-color: #aeb0b5 !important;
    color: #ffffff !important;
}

.calendarTabstrip .rtsSelected,
.calendarMultiPage.RadMultiPage {
    background-color: #c6d9f0 !important;
    color: #323a45 !important;
}

/*HomePage Mobile Panels*/
.mobilePanels {
    margin-top: 5px;
    background: url("../images/app_images.png") no-repeat -122px -72px !important;
    width: 7px;
    height: 6px;
}

#mobilePanels .btn {
    text-align: left !important;
}

/*Main Menu*/
#menuItms .dropdown-menu {
    margin: 0;
    left: 20% !important;
    right: 0;
    background-color: #fcfcfc;
    box-shadow: 0px 03px 15px #323a45;
    padding: 0;
    z-index: 1001;
}

#menuItms h3 {
    border-bottom: #f0a818 solid;
}

#menuItms li {
    border-left: solid 2px white;
    width: 125px;
}

#menuItms li .row {
    padding-left: 5px;
    padding-right: 5px;
}

#menuItms li:last-child {
    border-right: solid 2px white;
}

#menuItms li:hover,
#menuItms li:not(.show):hover a.nav-link,
#menuItms li:not(.show) a:hover.nav-link {
    background-color: #c6d9f0;
    color: #323a45 !important;
}

#menuItms .show,
#menuItms .show .dropdown-toggle {
    background-color: #323a45 !important;
}

#menuItms .dropdown-menu a:hover {
    background-color: #205493;
    text-decoration: unset;
    color: white;
}

#menuItms li:not(.show):hover .deptIcon {
    filter: invert(85%);
}

#menuItmsExtra a:hover.nav-link {
    background-color: #c6d9f0;
    color: #323a45 !important;
}

/*Top Menu*/
#homeMainMenu_iconUTube.active .fa-stack-2x {
    font-size: .55em;
    color: white;
    margin-top: 15px;
}

#homeMainMenu_iconUTube.active .fa-stack-1x {
    color: red;
    margin-top: -2px;
    font-size: 1.1em;
}

#homeMainMenu_iconUTube .fa-stack-2x {
    font-size: .55em;
    color: transparent;
    margin-top: 15px;
}

#homeMainMenu_iconUTube .fa-stack-1x {
    color: rgba(255, 255, 255, .5);
    margin-top: -2px;
    font-size: 1.1em;
}

#homeMainMenu_iconUTube:not(.active) .fa-stack-1x:hover {
    color: rgba(255, 255, 255, .75);
}

#homeMainMenu_iconUTube2 {
    margin-top: 2px;
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('/CustomUserControls/images/YouTube-icon-icon-small-dark.png');
}

#homeMainMenu_iconUTube2:hover {
    background-image: url('/CustomUserControls/images/YouTube-icon-icon-small-light.png');
}

#homeMainMenu_iconUTube2.active,
#homeMainMenu_iconUTube2.active:hover {
    background-image: url('/CustomUserControls/images/YouTube-icon-icon-small-red.png');
}

/*side navigation*/
li.isParent1,
li.isParent2,
li.isChild {
    padding: 3px;
}

li.isParent1 a,
li.isParent2 a {
    color: #f1f1f1;
}

li.isParent1 div {
    padding: 5px;
    color: #f1f1f1;
    background-color: #205493;
    font-weight: bold;
}

li.isParent2 div {
    padding: 5px;
    color: #f1f1f1;
    background-color: #323a45;
}

li.isChild div {
    padding: 5px;
    color: #205493;
    background-color: #f1f1f1;
}

li.isChild a {
    color: #205493;
}

/*action buttons*/
#actionBtns .btn:hover {
    background-color: #c6d9f0;
    color: #323a45 !important;
}

/*button default*/
.btn-default {
    color: #fff;
    background-color: #323a45;
    border-color: #323a45;
}

.btn-default:hover {
    color: #fff;
    background-color: #205493;
    border-color: #205493;
}

.btn-default:focus,
.btn-default.focus {
    -webkit-box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.5);
    box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.5);
}

.btn-default.disabled,
.btn-default:disabled {
    background-color: #aeb0b5;
    border-color: #aeb0b5;
}

.btn-default:active,
.btn-default.active,
.show>.btn-default.dropdown-toggle {
    color: #fff;
    background-color: #025aa5;
    background-image: none;
    border-color: #01549b;
}

/*Commissioner Widget*/
.commissionersUl {
    list-style: none;
    padding: 0;
}

.commissionerLi {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: solid #f1f1f1;
    font-size: 0.9em;
}

/*Popular Resources*/
.popularResources {
    padding-top: 25px;
}

/*Spotlight News - Homepage*/
#spotlightNews {
    padding: 0;
    display: inline-flex;
    justify-content: space-between;
}

#spotlightNews li {
    list-style-type: none;
    box-shadow: 5px 5px 20px #dfdfdf;
    width: 31%;
    line-height: 1.35;
    background-color: #f1f1f1;
}

#spotlightNews .card {
    line-height: 1.15;
    border: none;
    background-color: #f1f1f1;
}

#spotlightNews .sfsummary {
    line-height: 1.35;
    margin-top: 3px;
}

/*Manually created breadcrumb navigation*/
ul.breadcrumb {
    padding: 8px 16px;
    list-style: none;
    background-color: #eee;
    font-size: small;
}

ul.breadcrumb li {
    display: inline;
}

ul.breadcrumb li+li:before {
    padding-right: 8px;
    color: black;
    content: "\25B8";
}

ul.breadcrumb li a {
    color: black;
}

ul.breadcrumb li a:hover {
    background-color: #E7E7E7;
    border-color: #E7E7E7;
}

ul.breadcrumb li a:link {
    text-decoration: none;
}

/*Calendar Events*/
.rsApt.rsAptSimple {
    height: 35px !important;
    font-size: .85em !important;
    line-height: 1.25 !important;
}

.rsAptContent {
    margin: 0 !important;
}

.boardMeeting .rsApt {
    height: 35px !important;
    font-size: .85em !important;
    line-height: 1.25 !important;
}

.boardMeeting .rsWrap {
    height: 40px !important;
}

.rsCancelled {
    text-decoration: line-through;
}

/*department page image*/
.sfimageWrp img {
    max-width: 100%;
}

/*Sitefinity Forms*/
.sfFormsEditor .sfTxt {
    width: 100%;
}

.sfFormsEditor .sfFormTitle {
    padding-top: 10px;
}

/*format page numbers*/
.sf_pagerNumeric ul a {
    border-right: dashed;
    background-color: aqua;
}

/*Commissioner Meeting Documents Rad Tab Strip*/
.meetingTabstrip .rtsUL {
    width: 100%;
}

.meetingTabstrip .rtsLI {
    margin-left: 2% !important;
    width: 32% !important;
    color: #323a45 !important;
}

.meetingTabstrip .rtsFirst {
    margin-left: 0 !important;
}

.meetingTabstrip .rtsLast {
    float: right !important;
}

.meetingTabstrip .rtsLink {
    font-size: large;
    font-weight: bold;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #e6e6e6;
    color: #205493 !important;
    border-bottom: #c6d9f0 !important;
}

.meetingTabstrip .rtsLink:hover:not(.rtsSelected) {
    background-color: #aeb0b5 !important;
    color: #ffffff !important;
}

.meetingTabstrip .rtsSelected,
.meetingTabstrip.RadMultiPage {
    background-color: #c6d9f0 !important;
    color: #323a45 !important;
}

/*MEDIA QUERIES*/
@media (min-width: 250px) and (max-width: 424px) {

    .sfitemsList.commissionersUl li.commissionerLi td:first-child,
    .sfitemsList.commissionersUl li.commissionerLi img {
        display: none;
    }

    .sfitemsList.commissionersUl li.commissionerLi td {
        font-size: 1.1em !important;
    }

    #imgDirector {
        display: none;
    }

    #secondaryContact {
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 5px;
    }
}

@media (max-width: 575px) {
    .container-fluid .container {
        width: unset;
    }

    .sectionBorders {
        border-bottom: none;
    }

    #menuItms li,
    #menuItmsExtra li a {
        border-left: none;
        border-right: none !important;
        border-bottom: 1px #f1f1f1 solid;
        width: 100%
    }

    #containerMenuItms {
        margin-left: 1em;
        width: 75%;
    }

    #menuItms li:hover,
    #menuItms li:not(.show):hover a.nav-link,
    #menuItms li:not(.show) a:hover.nav-link {
        background-color: #323a45;
        color: white !important;
    }

    #actionBtns {
        font-size: .9em !important;
    }

    #actionBtns .col-4 {
        padding-right: 5px;
        padding-left: 5px;
    }

    #topSocial {
        margin: auto;
        font-size: .85em;
    }

    #topSocial .fa-lg {
        padding-left: .6em;
        padding-right: .6em;
    }

    .copyright .container {
        font-size: .85em !important;
        margin-left: 5px;
    }

    .RadPanelBar_Bootstrap .rpLink {
        background-color: #205493 !important;
        color: white !important;
    }

    .RadPanelBar_Bootstrap .rpTemplate {
        overflow-x: hidden !important;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .sfitemsList.commissionersUl li.commissionerLi td:first-child,
    .sfitemsList.commissionersUl li.commissionerLi img {
        width: 100px !important;
    }

    .sfitemsList.commissionersUl li.commissionerLi td {
        font-size: .95em;
    }

    .sfNavWrp,
    .sfNavWrp.mainMenu a.sfNavToggle:before,
    .sfNavWrp.mainMenu a.sfNavToggle,
    .sfNavWrp.mainMenu a.sfNavToggle:hover {
        color: #205493;
        content: "Main ";
    }

    .sfNavWrp a.sfNavToggle:before,
    .sfNavWrp a.sfNavToggle,
    .sfNavWrp a.sfNavToggle:hover {
        color: #a90f03;
        content: "Popular ";
    }

    #imgDirector {
        display: none;
    }

    #secondaryContact {
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 5px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .container-fluid .container {
        width: unset;
    }

    .sectionBorders {
        border-bottom: none;
    }

    #menuItms li,
    #menuItmsExtra li a {
        border-left: none;
        border-right: none !important;
        border-bottom: 1px #f1f1f1 solid;
        width: 100%
    }

    #containerMenuItms {
        margin-left: 1em;
        width: 75%;
    }

    #menuItms li:hover,
    #menuItms li:not(.show):hover a.nav-link,
    #menuItms li:not(.show) a:hover.nav-link {
        background-color: #323a45;
        color: white !important;
    }

    #topSocial {
        margin: auto;
        font-size: .85em;
    }

    .copyright .container {
        font-size: .85em !important;
        margin-left: 5px;
    }

    .RadPanelBar_Bootstrap .rpLink {
        background-color: #205493 !important;
        color: white !important;
    }

    .RadPanelBar_Bootstrap .rpTemplate {
        overflow: hidden !important;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .sfNavWrp,
    .sfNavWrp.mainMenu a.sfNavToggle:before,
    .sfNavWrp.mainMenu a.sfNavToggle,
    .sfNavWrp.mainMenu a.sfNavToggle:hover {
        color: #205493;
        content: "Main ";
    }

    .sfNavWrp a.sfNavToggle:before,
    .sfNavWrp a.sfNavToggle,
    .sfNavWrp a.sfNavToggle:hover {
        color: #a90f03;
        content: "Popular ";
    }

    #secondaryContact {
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 5px;
    }
}