.entry-content ul {
    list-style-type: disc !important;
}

.detpic {
    padding-bottom: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 30px;
}

.resources {
    margin: 30px 0;
    text-align: center;
}

.agency {
    text-align: center;
    margin-bottom: 20px;
}

img.agency-logo {
    height: 200px;
    width: auto;
}

img.resources-logo {
    height: 70px;
    width: auto;
}

.bheader {
    position: relative;
    height: 184px;
    padding: 25px 0px 35px 0px;
}

.molding {
    position: absolute;
    top: 0;
    width: 100%;
    height: 6px;
}

.logopic {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 100%;
}

.logopic img {
    margin-right: 10px;
}

.topsec {
    position: relative;
    height: 600px;
    color: white;
    background-color: #07006a;
}


/*new header css*/

.rightbkimg {
    float: right;
}

.blutransp {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 50px;
}


/*new header css*/

.rightimage {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 70%;
    margin-left: 30%;
    height: 100%;
}

.topsec h1 {
    color: white;
    position: relative;
    margin-bottom: 34px;
}

.topsec h1:after {
    content: "";
    height: 3px;
    width: 120px;
    background-color: #fea501;
    position: absolute;
    bottom: -18px;
    left: 0
}

.topsec p {
    color: white;
}

.topsec .btn {
    background: transparent;
    color: white;
    border: solid 1px white;
    border-radius: 0px;
    text-transform: uppercase;
    text-align: center;
    padding: 14px 35px;
}

.topsec .btn:after {
    content: none;
}

.bluetransp {
    position: absolute;
    top: 0;
    left: 0;
    right: 50%;
    bottom: 0;
    background-image: linear-gradient(to right, #07006a, #07006acc);
}

.bluetransp::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -128px;
    content: "";
    border-bottom: 307px solid transparent;
    border-left: 64px solid #07006acc;
    border-top: 294px solid #07006acc;
    border-right: 64px solid transparent;
}

.topmessage {
    position: relative;
    background: #909295;
    color: white;
    top: -22px;
    padding: 15px 20px;
    z-index: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    width: 80%;
    margin: auto;
}

@media screen and (max-width: 1200px) {
    .topmessage {
        width: 91%;
    }
}

.triangles,
.triangle {
    position: relative;
}

.triangles:after {
    position: absolute;
    content: "";
    right: -31px;
    top: -15px;
    width: 0px;
    height: 0px;
    border-top: 0px solid transparent;
    border-bottom: 23px solid transparent;
    border-left: 11px solid #909295;
}

.triangles:before {
    position: absolute;
    content: "";
    right: -31px;
    top: 8px;
    width: 0px;
    height: 0px;
    border-top: 23px solid transparent;
    border-bottom: 0px solid transparent;
    border-left: 11px solid #909295;
}

.triangle:after {
    position: absolute;
    content: "";
    left: -31px;
    top: -15px;
    width: 0px;
    height: 0px;
    border-top: 0px solid transparent;
    border-bottom: 23px solid transparent;
    border-right: 11px solid #909295;
}

.triangle:before {
    position: absolute;
    content: "";
    left: -31px;
    top: 8px;
    width: 0px;
    height: 0px;
    border-top: 23px solid transparent;
    border-bottom: 0px solid transparent;
    border-right: 11px solid #909295;
}

@media screen and (max-width: 1060px) {
    .triangles:before,
    .triangles:after,
    .triangle:before,
    .triangle:after {
        display: none;
    }
    .topmessage {
        width: 100%;
        left: 0;
    }
}

.toptable {
    display: table;
    height: 100%;
    vertical-align: middle;
    width: 50%;
    position: absolute;
    top: 0;
}

@media screen and (max-width: 843px) {
    .toptable {
        width: 100%;
    }
}

.innercont {
    display: table-cell;
    vertical-align: middle;
    padding: 0 50px;
}

.innercont .form-control {
    position: relative;
    background: transparent;
    border: 1px solid white;
    border-radius: 0;
    height: 50px;
    margin-top: 16px;
    color: white;
    padding-right: 40px;
    font-size: 16px;
}

.innercont .form-control::placeholder {
    color: white;
    font-weight: bold;
}

.innercont .cbtn {
    background: transparent;
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 24px;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.42857;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.innercont .cbtn i {
    color: white;
}

@media screen and (max-width: 991px) {
    .innercont h1 br {
        display: contents;
    }
}

@media screen and (max-width: 510px) {
    .innercont {
        padding: 20% 5%;
    }
}

.whitesec {
    text-align: center;
    padding: 60px 18%;
}

.whitesec h2 {
    margin-top: 0;
    margin-bottom: 25px;
}

.aboutcont h2 {
    margin-bottom: 55px;
    margin-top: 0;
}

.whitesec h2:after,
.aboutcont h2:after {
    content: "";
    height: 3px;
    width: 100px;
    left: calc(50% - 50px);
    background-color: #fea501;
    position: absolute;
    bottom: -14px;
}

.aboutcont h2:after {
    bottom: -20px;
}

.flexpics {
    display: flex;
    flex-wrap: wrap;
}

.aboutpic {
    height: 168px;
    width: 168px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: calc(50% - 84px);
    border-radius: 50%;
    border: 1px solid white;
}

@media screen and (max-width: 450px) {
    .aboutpic {
        height: 134px;
        width: 134px;
        margin-left: calc(50% - 62px);
    }
}

.aboutcont {
    padding-top: 60px;
    padding-bottom: 20px;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.aboutcont h2,
.aboutcont h4,
.aboutcont p {
    color: white;
}

.aboutcont p {
    font-size: 12px;
}

.aboutcont .col-md-3 {
    margin-bottom: 40px;
}

.scnd {
    padding-bottom: 45px;
    padding-top: 35px;
}

.scnd h2 {
    margin-bottom: 30px;
}

.scnd p {
    margin-bottom: 0;
    color: #07006a;
}

.scnd .form-control {
    position: relative;
    background: transparent;
    border: 1px solid #909295;
    border-radius: 0;
    height: 50px;
    margin-top: 16px;
    color: #000029;
    width: 30%;
    display: inline-block;
    margin-right: 30px;
}

.scnd .form-control::placeholder {
    color: #000029;
    font-weight: 600;
}

@media screen and (max-width: 991px) {
    .scnd {
        padding-bottom: 35px;
    }
}

@media screen and (max-width: 895px) {
    .scnd .form-control {
        margin-right: 0;
        width: 100%;
    }
    .scnd .cbtn {
        margin-top: 16px;
    }
}

.scnd .cbtn {
    height: 50px;
    width: 50px;
    background: #07006a;
    color: white;
    font-size: 24px;
    border-radius: 0px;
    box-shadow: none;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    line-height: 1.42857;
    webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bfooter {
    width: 100%;
    padding: 40px 0;
    background-image: linear-gradient(to right, #000029, #07006a);
}

.flexitems {
    display: flex;
    flex-wrap: wrap;
}

.ochre {
    color: #ffa500 !important;
}

.bfooter h5,
.bfooter a {
    color: white;
    font-weight: 500;
}

.bfooter h5 {
    font-size: 12px;
    margin-bottom: 13px;
    line-height: 1.4;
}

.bfooter span {
    color: #ffa500;
    font-size: 11px;
}

.bfooter p {
    color: white;
    margin-top: 18px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 12px;
}

.ftpic {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 60px;
}

@media screen and (min-width: 769px) {
    .bfooter .fborders {
        border-right: 1px solid white;
        border-left: 1px solid white;
    }
}

@media screen and (min-width: 769px) {
    .bfooter .col-sm-5 {
        width: 40%;
    }
    .bfooter .col-sm-3 {
        width: 30%;
    }
}

.fborders h5 i {
    position: absolute;
    left: 0;
    top: 1px;
    color: white;
}

.fborders h5 {
    padding-left: 17px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.4;
}

.fborders h5:nth-child(2) {
    padding-left: 0;
    font-weight: 600;
}

.social-icons {
    margin-top: 15px;
}

.social-icons i {
    border: 1px solid;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    margin-right: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.fimgtxt {
    padding-top: 24px;
}

@media screen and (min-width: 769px) {
    .cdiv {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .bfooter {
        text-align: center;
        padding-bottom: 60px;
    }
    .fborders h5 i {
        position: relative;
        left: -4px;
        top: 0px;
    }
    .cdiv {
        margin: 40px 0;
    }
}

.underfooter {
    background-image: radial-gradient(#828487, #9b9ea1);
    padding: 10px 30px;
}

.underfooter h6,
.underfooter h4 {
    color: #000029;
    display: inline-block;
}

.underfooter h6 {
    font-weight: 500;
    font-size: 11px;
}

.underfooter h4 {
    float: right;
    font-size: 15px;
}

@media screen and (max-width: 768px) {
    .underfooter h4 {
        float: none;
    }
    .underfooter h6,
    .underfooter h4 {
        display: block;
        text-align: center;
    }
}

.portrait {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 100%;
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
    .portrait {
        padding-bottom: 135%;
    }
}

@media screen and (max-width: 991px) {
    .portrait {
        margin-bottom: 40px;
        background-size: contain;
        padding-bottom: 70%;
    }
    #resources-details .col-md-12 {
        text-align: center;
    }
}

.dettitle {
    font-size: 30px;
}

.detsubtitle {
    color: #ffa500!important;
    font-weight: 500;
    font-size: 24px;
    border-bottom: 1px solid #d9dada;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.listsubtitle {
    color: #ffa500!important;
    font-weight: 500;
    font-size: 17px !important;
}

#resources-details h6 {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    margin: 12px 0;
    margin-left: 15px;
    line-height: 1.4;
}

#resources-details h6 a {
    color: #07006a;
}

.theme-red #resources-details h6 a {
    color: #8C1918;
}

#resources-details h6 i {
    position: absolute;
    font-size: 18px;
    left: -24px;
    top: -1px;
}

@media screen and (max-width: 991px) {
    #resources-details h6 i {
        position: relative;
        left: -3px;
        top: 1px;
    }
}

#resources-details a h6 {
    background: #ffa500;
    color: white;
    padding: 13px 15px;
    display: inline-block;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    margin-left: -10px;
}

#resources-details a h6 i {
    margin-left: 5px;
    margin-right: 0;
    position: relative;
    left: unset;
    top: unset;
}

#resources-details h3 {
    font-size: 22px;
}

#resources-details p {
    font-size: 14px;
}

#resources-details #accordion {
    margin-top: 60px;
}

#resources-details .panel-default>.panel-heading {
    color: #838588;
    background-color: white;
    border-color: transparent;
}

#resources-details .panel-default {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #d9dada;
}

#resources-details .panel-default>.panel-heading+.panel-collapse>.panel-body {
    border-top-color: #d9dada;
}

#resources-details #accordion .panel-heading a:after {
    font-family: "FontAwesome";
    position: absolute;
    font-size: 20px;
    right: 0;
    top: calc(50% - 10px);
    color: #838588;
    font-weight: 100;
}

#resources-details #accordion .panel-heading a[aria-expanded="false"]:after {
    content: "\f067";
}

#resources-details #accordion .panel-heading a[aria-expanded="true"]:after {
    content: "\f068";
    color: #07006a;
}

#resources-details #accordion .panel-heading a[aria-expanded="true"] {
    color: #07006a;
}

.theme-red #resources-details #accordion .panel-heading a[aria-expanded="true"]:after,
.theme-red #resources-details #accordion .panel-heading a[aria-expanded="true"] {
    color: #8C1918;
}

.topsearchbar {
    background-image: linear-gradient(to right, #000029, #07006a);
    color: white;
    padding: 35px;
    margin-bottom: 45px;
}

.topsearchbar input,
.topsearchbar select {
    display: inline-block;
    height: 50px;
    border: 1px solid white;
    background: transparent;
    color: white;
    margin-right: 10px;
    margin-bottom: 10px;
}

.topsearchbar select:disabled {
    cursor: no-drop;
}

.topsearchbar select {
    border-radius: 4px;
    padding: 6px 12px;
}

.topsearchbar select option {
    color: #07006a;
}

.firstinp {
    width: 334px;
}

.secondinp {
    width: 172px;
}

.topsearchbar .form-group {
    margin-bottom: 0;
    position: relative;
}

.topsearchbar button {
    height: 50px;
    width: 50px;
    border: none;
    border-radius: 5px;
    background: orange;
    font-size: 25px;
    position: relative;
    top: 4px;
}

@media screen and (max-width: 700px) {
    .topsearchbar select {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .topsearchbar input {
        margin-bottom: 10px;
        width: 100%;
        margin-right: 10px;
    }
    .topsearchbar button {
        position: relative;
        top: 5px;
    }
}

.underlined {
    text-decoration: underline;
}

.direction {
    color: #07006a;
    margin-left: 16px;
    font-size: 15px;
}

@media screen and (max-width: 991px) {
    .direction {
        margin-left: 0;
    }
}

@media screen and (min-width: 1074px) {
    #resources-details .rightsec {
        padding-left: 40px;
    }
}

@media screen and (max-width: 1073px) {
    #resources-details .col-md-6 {
        width: 100%;
    }
}

#resources-listing .col-md-6 {
    position: relative;
    border: 2px solid #dbdcdc;
    margin-bottom: 3%;
    padding: 30px;
    padding-left: 20px;
}

#resources-listing a.btn.btn-home {
    position: absolute;
    right: 20px;
    top: -67px;
}

@media screen and (min-width: 769px) {
    #resources-listing .col-md-6 {
        width: calc(50% - 20px);
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media screen and (max-width: 768px) {
    #resources-listing .col-xs-12 {
        margin-left: 15px;
        margin-right: 15px;
    }
    #resources-listing a.btn.btn-home {
        right: 30px;
    }
}

#resources-listing .col-md-6:hover {
    border: 2px solid #07006a;
}

.theme-red #resources-listing .col-md-6:hover {
    border: 2px solid #8C1918;
}

#resources-listing .col-md-6 h4 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 5px;
}

#resources-listing .col-md-6 h6 {
    width: 60%;
    line-height: 1.5;
    font-size: 15px;
    color: #000029;
    margin-bottom: 0;
    margin-top: 5px;
    font-weight: 500;
}

#resources-listing .direction {
    margin-left: 0;
    font-weight: 600;
}

#resources-listing .topics {
    color: #ffa700;
    font-size: 24px;
    padding-right: 5px;
}

#resources-listing .zip {
    color: #0a0269;
    font-size: 24px;
}

.resicon {
    position: absolute;
    left: 20px;
    top: 30px;
    height: 34px;
    width: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.whitesec .gform_title,
.whitesec label {
    display: none;
}

.scnd input.medium {
    width: 266px !important;
    float: left;
}

.scnd #input_1_1 {
    margin-left: calc(50% - 321px);
}

.scnd .gform_footer button {
    margin: 0;
    border-radius: 0;
    height: 50px;
    width: 50px;
    background: #07006a;
    padding: 0;
}

.scnd .gform_footer {
    display: inline-block;
    padding: 0;
}

.scnd .btn:after {
    font-size: 24px;
    width: initial;
    font-weight: normal;
    right: 16px;
    top: 6px;
}

@media screen and (max-width: 1020px) {
    .scnd input.medium {
        width: 100% !important;
        float: none;
    }
    .scnd #input_1_1 {
        margin-left: 0;
    }
    .scnd .gform_wrapper form {
        text-align: center;
    }
}

.agadmin,
.agnadmin {
    display: inline-block;
    text-transform: uppercase;
}

.agnadmin {
    padding-top: 5px;
    width: 100%;
}

.agadmin a,
.agnadmin a {
    color: #ffa600;
}

@media screen and (min-width: 711px) {
    .agnadmin {
        display: none;
    }
}

@media screen and (max-width: 710px) {
    .agadmin {
        display: none;
    }
    .agnadmin {
        display: block;
    }
}

@media screen and (max-width: 550px) {
    .resources-section {
        padding-top: 10px;
    }
    .resource-details img {
        height: 55px;
        margin-bottom: 10px;
    }
    .resource-details h4 {
        font-size: 12px;
    }
    .resource-details {
        flex: none;
        width: 20%;
    }
}

@media screen and (max-width: 534px) {
    .header-agency .login {
        position: absolute;
        right: -100px;
    }
}

@media screen and (max-width: 430px) {
    .search-social .form-group {
        width: 160px;
    }
    .search-social .social-icons-header a {
        padding-left: 15px;
    }
}

@media screen and (max-width: 368px) {
    .search-social .form-group {
        width: 120px;
    }
    .search-social .social-icons-header a {
        padding-left: 12px;
    }
}


/* News Page */

.news-post-title a {
    color: #07006a;
}

.additional-open-html {
    margin-bottom: 10px;
}


/* Custom Menus - Firs Item style according to theme */

.theme-red #menu-item-0 {
    background-color: #8C1918;
}

.theme-red #menu-item-0 a {
    color: #fff;
}

.theme- #menu-item-0 {
    background-color: #06006c;
}

.theme- #menu-item-0 a {
    color: #fff;
}

.menu-item {
    position: relative;
}

.open-menu-item {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.open .open-menu-item {
    position: absolute;
    right: 2%;
    top: 8%;
    transform: translate(-50%, -50%);
}

.delete-event {
    background-image: none !important;
    margin: 0px;
    margin: auto;
    padding: 5px 10px;
    background-image: none;
}

.delete-event::after {
    display: none;
}

.agency-help-line-number {
    font-weight: bolder;
}

@media(max-width: 691px) {
    .topsec {
        height: 800px;
    }
}

.enter-link {
    width: 100%;
    max-width: 530px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid;
    background: transparent;
    border: 1px solid white;
    border-radius: 0;
    margin-top: 16px;
    color: white;
    font-size: 16px;
    padding: 6px 12px;
}

.enter-link i {
    font-size: 24px;
}