/*Internal page styles*/


/*--------------------------------
# Content
--------------------------------*/

#page-head {
    background: url(../img/dot.svg) left top / 20px 20px repeat;
    position: relative;
    height: 296px;
    overflow: hidden;
}

.header-img,
header.entry-header,
.entry-header-content,
#page-head:after {
    bottom: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.header-img {
    background-color: #fff;
    margin: auto 0;
    width: 55%;
}

#page-head:after {
    background-color: #6d7601;
    content: '';
    left: 0;
    margin: auto 0;
    mix-blend-mode: multiply;
    right: auto;
    width: 21px;
    z-index: 20;
}

header.entry-header,
.entry-header-content {
    left: 0;
    margin: auto;
    text-align: left;
}

header.entry-header {
    z-index: 6;
}

.entry-header-content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    margin: auto;
    max-width: 1340px;
    padding: 0 20px;
    width: 100%;
}

h1.entry-title {
    color: #fff;
    font-size: 2.5em;
    line-height: 1.3em;
    position: relative;
    text-transform: uppercase;
}

#page-head.has_thumbnail h1.entry-title {
    width: 50%;
}

.entry-title-contain {
    position: relative;
}

h1.entry-title:before {
    background-color: #04569a;
    border-bottom: 5px solid #fff;
    bottom: 0;
    content: '';
    display: block;
    margin: auto 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 200vw;
    z-index: 1;
}

h1.entry-title span {
    display: block;
    padding: 3.5rem 20px 0 0;
    position: relative;
    top: 8px;
    z-index: 5;
}

h2.entry-subtitle {
    background-color: #fff;
    bottom: -.8em;
    display: inline-block;
    font-size: 1.125em;
    left: 0;
    line-height: 1em;
    margin: 0;
    padding: 5px;
    position: absolute;
}

p#breadcrumbs {
    font-size: .875rem;
    margin: 0 auto;
    max-width: 1340px;
    padding: 20px;
    width: 100%;
}

p#breadcrumbs a {
    color: #415464;
}

.page-icon {
    background-color: #fff;
    border-radius: 50%;
    bottom: -18px;
    height: 111px;
    left: -130px;
    position: absolute;
    width: 111px;
    z-index: 7;
}


/* Change colors depending on menu location */


/*.in-menu-primary-1 h1.entry-title:before, .single-news h1.entry-title:before, .single-events h1.entry-title:before, .single-team h1.entry-title:before {
    background-color: #6FC7B6;
}*/


/*.in-menu-primary-1 #page-head:after, .single-news #page-head:after, .single-events #page-head:after, .single-team #page-head:after {
    background-color: #F68B1F;
}*/


/*.in-menu-primary-2 h1.entry-title:before {
    background-color: #0099D6;
}*/


/*.in-menu-primary-2 #page-head:after {
    background-color: #FEC340;
}*/


/*.in-menu-primary-3 h1.entry-title:before, .single-resources h1.entry-title:before, .single-post h1.entry-title:before {
    background-color: #F68B1F;
}*/


/*.in-menu-primary-3 #page-head:after, .single-resources #page-head:after, .single-post #page-head:after {
    background-color: #6FC7B6;
}*/


/* override the auto colors */


/*.color-scheme-green h1.entry-title:before {
    background-color: #6FC7B6;
}*/


/*.color-scheme-green #page-head:after {
    background-color: #F68B1F;
}*/


/*.color-scheme-blue h1.entry-title:before {
    background-color: #0099D6;
}
.color-scheme-blue #page-head:after {
    background-color: #FEC340;
}
.color-scheme-orange h1.entry-title:before {
    background-color: #F68B1F;
}
.color-scheme-orange #page-head:after  {
    background-color: #6FC7B6;
}
*/

@media only screen and (max-width: 1622px) {
    .page-icon {
        left: 0;
    }
    #page-head.has_icon h1.entry-title {
        padding-left: 125px;
    }
}

@media only screen and (max-width: 1370px) {
    .page-icon {
        left: 20px;
    }
    h1.entry-title {
        padding-left: 20px;
    }
    #page-head.has_icon h1.entry-title {
        padding-left: 145px;
    }
}

@media only screen and (max-width: 1024px) {
    #page-head.has_thumbnail h1.entry-title {
        width: 75%;
    }
    h1.entry-title {
        font-size: 2.25em;
    }
}

@media only screen and (max-width: 959px) {
    .page-icon {
        bottom: -12px;
        height: 90px;
        width: 90px;
    }
    #page-head.has_icon h1.entry-title {
        padding-left: 125px;
    }
}

@media only screen and (max-width: 767px) {
    h1.entry-title {
        font-size: 1.75em;
        line-height: 1.2em;
        margin: 0;
    }
    h1.entry-title span {
        top: 4px;
    }
    #page-head.has_thumbnail h1.entry-title {
        width: 90%;
    }
    #page-head.has_icon h1.entry-title {
        padding-left: 20px;
    }
    #page-head.has_icon h1.entry-title span {
        padding-top: 1rem;
    }
    .page-icon {
        bottom: auto;
        height: 60px;
        left: auto;
        position: relative;
        top: 5px;
        width: 60px;
    }
}


/*--------------------------------
# Events
--------------------------------*/

.feed-list.row,
.event-row.row,
.page-template-news #resource-content {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
}

.event-form .ninja-forms-all-fields-wrap {
    margin-top: 30px;
}

.event-form.card {
    text-align: left;
}

.event-form-title {
    padding-bottom: 15px;
    text-transform: none;
}

.headline {
    padding-top: 1em;
    text-transform: uppercase;
    font-size: .75em;
}

.event-meta {
    margin-bottom: 1em;
    font-size: 1.1em;
}


/*--------------------------------
# Resource Library
--------------------------------*/

.resource-feed {
    padding-bottom: 2.125em;
}

h3.filter-title {
    display: inline-block;
    text-transform: none;
}

button.loader {
    background: transparent;
    border-radius: 0;
    border: 0;
    border-top: 2px solid #eceff2;
    color: #ec008c;
    display: block;
    font-size: 1.125em;
    margin: 0 0 2.125rem;
    width: 100%;
}

button.loader:before {
    content: none;
}

button.loader:hover,
button.loader:focus {
    color: #5c2d91;
    outline: 0;
}

.load-more {
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease;
}

.load-more.active {
    opacity: 1;
    visibility: visible;
}

.resource-meta span {
    display: block;
}


/*--------------------------------
# Page Styles
--------------------------------*/

#primary {
    padding: 3.125em 0 0;
}

#secondary {
    padding: 3.125em 20px 0;
}


/* Fig Caption */

.wp-caption-text {
    padding: 0 1em;
    width: 85%;
}

.wp-caption .wp-caption-text {
    margin: 1em auto;
    border-left: 4px solid #b4b4b4;
}


/* Misc */

.entry-content a.btn {
    color: #fff;
}

span.lower {
    text-transform: lowercase;
}

#breadcrumbs span.lower {
    font-size: .9em;
}

.no-results {
    padding: 0 20px;
}


/*404 Page*/

.error-404 {
    padding: 4em 20px;
    text-align: center;
}


/* Pagination */

.pagination {
    padding: 1.71rem 0 0;
    text-align: center;
}

.pagination a {
    border: 0;
    color: #333;
    display: inline-block;
}

span.page-numbers.current {
    border-bottom: 1px solid #00B5C6;
    color: #00B5C6;
}

.pagination a.next {
    margin-left: 20px;
}

.pagination a.prev {
    margin-right: 20px;
}

.pagination a i:before {
    margin: 0;
    width: .7em;
}


/* Search Results */

.search-result {
    border-bottom: 3px solid #eceff2;
    ;
}

.entry-content .search-result a {
    border-bottom: none;
}

.search-result .card {
    box-shadow: none;
}

.search-result .card-content {
    height: auto;
    padding: 3.5rem 9rem;
}

.search-result .card-content:before {
    width: 9rem;
}


/* News Page */

ul.filter-list {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0 0 2rem 2rem;
}

ul.filter-list li {
    display: inline-block;
    font-size: 1.25em;
    padding: 7px;
}


/* Sidebar */

.side-menu-part li {
    display: none;
}

.side-menu-part li.current-page-ancestor,
.side-menu-part li.current-page-ancestor li,
.side-menu-part li.current-page-parent,
.side-menu-part li.current-page-parent li,
.side-menu-part li.current_page_item,
.side-menu-part li.current_page_item li,
.single-news .side-menu-part li.news-ancestor,
.single-news .side-menu-part li.news-ancestor li,
.single-events .side-menu-part li.event-ancestor,
.single-events .side-menu-part li.event-ancestor li,
.single-resources .side-menu-part li.resources-ancestor,
.single-resources .side-menu-part li.resources-ancestor li,
.single-post .side-menu-part li.posts-ancestor,
.single-post .side-menu-part li.posts-ancestor li {
    display: block;
}

.side-menu-part li a {
    /*background-color: #6FC7B6;*/
    background-color: #415464;
    color: #fff;
    display: block;
    font-family: "MuseoSansW01-Rounded700";
    font-size: 1.25em;
    line-height: 1em;
    margin: 0 0 12px;
    padding: 29px 0 0 26px;
    position: relative;
    text-transform: uppercase;
    transition: all .4s ease;
}

.side-menu-part li a:after {
    background-color: #fff;
    bottom: 0;
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    width: 100%;
}

#side-menu-2 li a {
    /*background-color: #0099D6;*/
    background-color: #415464;
}

#side-menu-3 li a {
    /*background-color: #F68B1F;*/
    background-color: #415464;
}

.side-menu-part li li a {
    background-color: transparent !important;
    color: #333;
    font-family: "MuseoSansW01-Rounded300";
    font-size: 1.125em;
    line-height: 2em;
    margin: 0 0 5px;
    padding: 0;
    text-transform: none;
}

.side-menu-part ul.sub-menu {
    margin: 0;
    padding-left: 26px;
}

.side-menu-part li li.current_page_item>a,
.side-menu-part li li a:hover,
.single-news .side-menu-part li li.news-active a,
.single-post .side-menu-part li li.posts-active a {
    font-family: "MuseoSansW01-Rounded700";
    padding-left: 18px;
}

.side-menu-part li li a:before {
    /*background-color: #F68B1F;*/
    background-color: #EC008C;
    bottom: 0;
    content: '';
    display: block;
    left: 0;
    margin: auto 0;
    position: absolute;
    top: 0;
    -webkit-transform: translateX(-6px) scale(0);
    transform: translateX(-6px) scale(0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
    transition: all .4s ease;
    width: 6px;
}

.side-menu-part li li.current_page_item>a:before,
.side-menu-part li li a:hover:before,
.single-news .side-menu-part li.news-active a:before,
.single-post .side-menu-part li.posts-active a:before {
    -webkit-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
}

.side-menu-part #side-menu-2 li li a:before {
    background-color: #FEC340;
    background-color: #EC008C;
}

.side-menu-part #side-menu-3 li li a:before {
    background-color: #6FC7B6;
    background-color: #EC008C;
}

.share-btns {
    border-bottom: 3px solid #F68B1F;
    border-top: 3px solid #F68B1F;
    margin: 0 0 2rem 2rem;
    padding: 10px 0;
    padding: 1rem 0;
    text-align: center;
}

.share-btns h3 {
    /* border-bottom: 3px solid #415464; */
    font-family: 'MuseoSansW01-Rounded700';
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 3px;
    text-transform: uppercase;
}

.side-menu-part .menu {
    margin-bottom: 2rem;
}

.sidebar-cta {
    background: #eceff2;
    margin: 0 0 2rem 2rem;
    padding: 1rem;
    text-align: center;
}

.sidebar-cta p {
    color: #415464;
    font-family: "MuseoSansW01-Rounded300";
    font-size: 1.25rem;
    line-height: 1.5em;
    margin-bottom: .9rem;
}

.sidebar-cta a.btn {
    font-size: 1rem;
}

@media only screen and (max-width: 1023px) {
    #secondary {
        padding-left: 0;
    }
    .side-menu-part li a,
    .side-menu-part li li a {
        font-size: 1em;
    }
    .side-menu-part li a,
    .side-menu-part ul.sub-menu {
        padding-left: 18px;
    }
    .side-menu-part ul.menu {
        margin-left: 0;
    }
}

@media only screen and (max-width: 767px) {
    #primary {
        width: 100%;
    }
    #secondary {
        padding: 0;
        width: 100%;
    }
}