.agency-background {
    background-color: #446f9c;
    background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.0) 2%, rgba(0,0,0,0) 10%),  linear-gradient(to top, rgba(0,0,0,.25) 0%, rgba(0,0,0,.0) 2%, rgba(0,0,0,0) 10%),  linear-gradient(to top, #820000 0%, #820000 100%) no-repeat bottom left/100% .5rem,  linear-gradient(to bottom, #446f9c 0%, #446f9c 25%, transparent 50%),  url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23820000' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"),  linear-gradient(to bottom, #446f9c 0%, #446f9c 50%, #003368 100%);
}
a.slider-next:hover, a.slider-prev:hover {
    background-color: #003368 !important;
    opacity: 1;
}
.module-agency-columns h2, .about-description h2, .module-agency-columns h3, .about-description h3, .module-agency-columns h4, .about-description h4 .module-agency-columns h5, .about-description h5 {
    color: #003368;
}
.module-agency-columns a, div.about-description a {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #446f9c;
}
.module-agency-columns a:hover, .about-description a:hover {
    color: #003368;
}
.row.bg-highlighted {
}
.agency-content-padding {
    background-color: #FFFFFF;
    padding: 20px 20px 20px 20px;
}
.agency-logo-center {
    text-align: center;
}
.about-description {
    width: 100% !important;
}
.agency-top-padding {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}
.agency-top-shadow {
    -webkit-box-shadow: 0px 16px 30px -18px rgba(130, 130, 130, 0.8);
    -moz-box-shadow: 0px 16px 30px -18px rgba(130, 130, 130, 0.8);
    -ms-box-shadow: 0px 16px 30px -18px rgba(130, 130, 130, 0.8);
    box-shadow: 0px 16px 30px -18px rgba(130, 130, 130, 0.8);
}
#nav .active {
    background: #426f9e !important;
}
.subheader {
    background: #446f9c !important;
    background: linear-gradient(to top, #820000 0%, #820000 100%) no-repeat bottom left/100% .25rem,  linear-gradient(to bottom, #446f9c 0%, #446f9c 25%, transparent 50%),  url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23682168' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"),  linear-gradient(to bottom, #446f9c 0%, #446f9c 50%, #003368 100%)!important;
    min-height: 0px;
}
.subheader a {
    background: #42689e !important;
    transition: all .3s ease-in-out 0s;
}
.subheader a.main-filter-category, .subheader a.main-filter-category:link, .subheader a.main-filter-category:visited {
    background-color: #003368 !important;
    background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 33.84%, rgba(0, 0, 0, 0.05) 42.85%, rgba(255, 255, 255, 0.05) 56.4%, rgba(255, 255, 255, 0.05) 66.67%, rgba(255, 255, 255, 0.05) 100%) !important;
    background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 33.84%, rgba(0, 0, 0, 0.05) 42.85%, rgba(255, 255, 255, 0.05) 56.4%, rgba(255, 255, 255, 0.05) 66.67%, rgba(255, 255, 255, 0.05) 100%) !important;
    background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 33.84%, rgba(0, 0, 0, 0.05) 42.85%, rgba(255, 255, 255, 0.05) 56.4%, rgba(255, 255, 255, 0.05) 66.67%, rgba(255, 255, 255, 0.05) 100%) !important;
    background-image: linear-gradient(bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 33.84%, rgba(0, 0, 0, 0.05) 42.85%, rgba(255, 255, 255, 0.05) 56.4%, rgba(255, 255, 255, 0.05) 66.67%, rgba(255, 255, 255, 0.05) 100%) !important;/*border-color: #426f9e;*/
    /* box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,.75); */
}
.subheader a.main-filter-category:hover, .subheader a.main-filter-category:active, .subheader a.main-filter-category.active {
    border: 1px solid #fff !important;
    background-color: #820000 !important;
    background-image: none !important;
    /* box-shadow: inset 0px 0px 0px 0px rgba(0,0,0,.75); */
    outline: none;
}
.agency-bottom-margin {
    margin-bottom: 20px;
}
.agency-home-resources-padding-ul li {
    padding: 20px 0 15px !important;
}
.agencies-index-ul li a {
    color: #820000;
}
.column.span3 {
    margin: 0 2% 30px 0;
}

@media (max-width: 767px) {
.column.span3 {
    width: 48%;
}
}
.column.span3:last-child {
    margin: 0;
}
sup {
    font-size: 12px;
}
a.connect-link {
    background-color: #36add5 !important;
}
a.connect-link:hover {
    background-color: #0a5796 !important;
}
.agencies-about-links ul li.active a {
    color: #003368;
    text-decoration: underline;
    pointer-events: none;
}
.agencies-about-links ul li a {
    color: #820000;
}
.agencies-about-links ul li a:hover {
    color: #003368;
    text-decoration: underline;
    text-decoration-color: #446f9c;
}
a, a:link, a:visited {
    color: #820000;
    transition: all .3s ease-in-out 0s;
    text-decoration-skip: ink;
    text-decoration-color: #4470a0;
}
.module-stats a {
    color: #ffffff;
    font-weight: bold;
}
.main-content-width {
    width: 100% !important;
    margin: 0px 0px 20px;
}
.law-buttons a {
    height: 37px;
    background-color: #446f9c;
    border-radius: 3px;
    margin-bottom: 10px;
    text-align: center;
    padding: 10px 15px;
    color: #ffffff !important;
    text-decoration: none;
    display: block;
}
.law-buttons a:hover {
    background-color: #820000;
}
/*DIRECTORY STYLES START*/

.directoryWrap {
    margin: 1.5rem 0;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    font-size: 1rem;
    line-height: 1.5;
}
.directoryWrap * {
    box-sizing: inherit;
}
.directoryControls, .directoryRow {
    flex-basis: 100%;/*    box-shadow:0 0 0 1px red;*/
}
.directoryControls {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    background: #f1f1f1;
    padding: .5rem;
}
.directoryControls>* {
    margin-left: .5rem;
    font-weight: 700;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5;
}
.directoryControls-button, .directoryButton {
    border: none;
    background: transparent;
    color: #426f9e;
    border-radius: 3px;
    box-shadow: 0 0 0 0px transparent, 0 0 0 0px transparent;
    transition: all .3s ease-in-out 0s;
}
.directoryControls-button:focus, .directoryButton:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #820000 !important;
    border: none;
    outline: none;
}
.directoryControls-button:hover {
    color: #1c3766;
}
.directoryContainer {
    width: 100%;
}
.directoryRow:not(.expanded) .directoryButton:hover {
    background: #1c3766;
}
.directoryRow {
    display: flex;
    flex-flow: row wrap;
}
.directoryButton {
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
    font-size: 1rem;
    line-height: 1.5;
    padding: .5rem;
    background-color: #777677;
    color: #fff;
    text-align: left;
    margin-top: .5rem;
    position: relative;
    box-shadow: 0 0 0 0px transparent, 0 0 0 0px transparent;/*    display:flex;*/
    /*    flex-flow:row nowrap !important;*/
    /*    justify-content: flex-start;*/
}
xx.directoryButton::before {
    content: "";
    left: .5rem;
    position: absolute;
    flex-basis: auto;
    display: inline-block;
    border: .46em solid transparent;
    border-left-color: #fff;
    align-self: center;
    top: 50%;
    transform: translateY(-50%);
}
.directoryButton::after {
    content: "Expand";
    /*    flex-grow:1;*/
    text-align: right;
    /*    flex-shrink:1;*/
    display: inline-block;
    position: relative;
    float: right;
    padding-right: 1.5rem;
    background: linear-gradient(to right, #fff 0%, #fff 100%) no-repeat right .3rem center/.125rem .75rem, linear-gradient(to top, #fff 0%, #fff 100%) no-repeat right center/.75rem .125rem;
}
.directoryCollapse.collapsed {
    display: none;
}
.directoryCollapse {
    flex-basis: 100%;
    display: block;
    width: 100%;/*    box-shadow:0 0 0 5px green;*/
}
.directoryRow.expanded {
}
.directoryRow.expanded .directoryButton {
    background: #1c3766;
    font-size: 1.25rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    font-weight: 700;
}
.directoryRow.expanded .directoryButton::after {
    content: "Collapse";
    background-size: 0rem .75rem, .75rem 0.125rem;
}
.directoryTable {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    border: 1px solid #1c3766;
}
.directoryTable th, .directoryTable td {
    padding: .5rem;
}
.directoryTable thead {
    background: #426f9e;
    color: #fff;
}
.directoryTable abbr {
    text-decoration: none!important;
    border: none !important;
}
.directoryTable tbody tr:nth-of-type(n+2) {
    background: linear-gradient(to bottom, rgba(66, 111, 158, .25) 1px, transparent 1px);
}
.directoryResults-info {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    /* background: #f1f1f1; */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, .5);
}
.directoryResults-info p {
    background: #fff;
    padding: 1rem 1rem 1.5rem 1rem;
    margin: 0;
}
.directoryResults-info .imgWrap {
    /* flex-basis: 480px; */
    position: relative;
    flex-basis: 15rem !important;
    max-width: 480px;
    flex-shrink: 0;
    height: 100%;
    flex-grow: 0;/* box-shadow: 0 0 0 1px #777677; */
}
.directoryResults-info img {
    max-width: 350px;
}
.directoryResults-info ul {
    flex-basis: 20%;
    list-style: none;
    margin: 0!important;
    align-self: stretch;
    background: #f1f1f1;
    /*    padding:1rem .5rem 1.5rem .5rem;*/
    padding: .5rem .5rem;
    /* border-radius: 5px; */
    box-sizing: border-box;
    flex-grow: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: center!important;
    align-content: space-between;
}
.directoryResults-info ul>li {
    flex-basis: 100%;
    align-self: flex-end;
}
.directoryResults-info ul strong {
    display: block;
    color: #820000;
}
.directoryResults-info li:nth-of-type(n) {
    margin: 0!important;
    align-self: flex-end!important;
}
.directoryResults-controls {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 1.5rem 0;
    background: #f1f1f1;
    padding: .5rem;
    border-radius: 5px;
}
.directoryResults-controls select {
    box-shadow: 0 0 0 1px #777677, 0 0 0 0px transparent;
    transition: all .3s ease-in-out 0s;
}
.directoryResults-controls a {
    background: #426f9e!important;
    color: #fff;
    text-shadow: none!important;
    font-weight: 500 !important;
    padding: .5rem 1rem!important;
    line-height: 1.5;
    align-self: center;
    border-radius: 5px;
    position: relative;
}
.directoryResults-controls a {
    box-shadow: 0 0 0 0px transparent, 0 0 0 0px transparent;
    text-align: center;
}
.directoryResults-controls a:first-of-type::before {
    content: "\027A1";
    transform: rotate(180deg);
    position: relative;
    display: inline-block;
    margin-right: .5rem;
}
.directoryResults-controls a:first-of-type {
    margin-right: auto;
}
.directoryResults-controls a:last-of-type {
    margin-left: auto;
    order: 10;
}
.directoryResults-controls a:last-of-type::after {
    content: "\027A1";
    position: relative;
    display: inline-block;
    margin-left: .5rem;
}
.directoryResults-controls a:hover {
    background: #1c3766!important;
    color: #fff;
}
.directoryResults-controls a:focus, .directoryResults-controls select:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #820000 !important;
    text-decoration: none;
    overflow: visible;
    border: none;
    outline: none;
}
.directoryResults-controls .pagination {
    display: flex;
    flex-flow: row wrap;
    flex-grow: .5;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    align-self: center!important;
}
.directoryResults-controls .pagination>select {
    max-width: 4rem;
    margin: 0 .5rem;
    align-self: center;
}
.directoryResults-controls .nameSelect {
    padding: 0;
    flex-basis: 100%;
    margin: .5rem 0;
    text-align: center;
}
.directoryResults-controls .nameSelect select {
    width: auto !important;
    margin: 0;
}

@media(max-width:750px) {
.directoryResults-info .imgWrap {
    padding: .5rem;
}
.directoryResults-controls a:nth-of-type(2) {
    order: 0 !important;
}
.directoryResults-info ul {
    background: #fff;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
}
.directoryResults-controls {
    margin-bottom: 3rem;
}
.directoryResults-controls a {
    flex-basis: 48%;
    box-sizing: border-box;
}
.directoryResults-controls .pagination {
    margin: 1rem 0 0;
}
.directoryResults-controls .nameSelect {
    margin: 1rem 0 0;
}
}
hr {
    border-top-color: #b7882f;
}
