/*
Theme Name: NCJWNY
Theme URI: https://social-ink.net
Description: Architecture, custom code and templating created by Social Ink
Version: 1
Author: Social Ink
Author URI: https://social-ink.net
*/
/*****************
LAYOUT
***********************************************/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.onepage {
    clear: both;
    min-height: 600px;
    margin-top: 1em;
}

.single .onepage {
    margin-top: 2em;
}

.hero-none .onepage {
    padding-top: 3em;
}

.home .content,
.home .onepage {
    min-height: 0;
}

.content {
    min-height: 0;
}

main.singlepage.metadata-exists section.content {
    display: flex;
    margin-bottom: 2em;
    align-items: flex-start;
}

main.singlepage.metadata-exists section.content .main-content {
    width: 63%;
}

main.singlepage.metadata-exists section.content .metadatum {
    width: 34%;
    margin: 0 0 0 auto;
    border-radius: 10px;
    background: #4D2F8E;
    color: #fff;
    padding: 2em;
}

.metadatum h1 {
    font-size: 1.2em;
    text-transform: uppercase;
    margin-bottom: 1em;
}

main.singlepage.metadata-exists section.content .metadatum .metadatum-inner {}

.content .text {}

.content.nosidebar {
    float: none;
    width: 100%;
}

.metadata-featimg {
    margin-bottom: 3em;
}

.pageinfo {}

.herospot {
    height: calc(100vw / 2.8);

}

.home .herospot-uniqueimage {
    background-position: center center;
    /*   background-repeat: no-repeat;
  background-color: #0a00808f;
  background-blend-mode: lighten; */
}

.text a,
.module_wys p a {
    text-decoration: underline;
}

.content p a:not(.button):not(.nf), .text p a:not(.button), .text p a:not(.nf), .module_wys p a:not(.nf), .module_wys p a:not(.button) {
  color: #537700;
}

/*****************
HOME
***********************************************/
.homepage-footer {
    margin: 2em;
    max-width: 960px;
    margin: auto;
    margin-bottom: 2em;
}

.homepage-footer h3 {
    text-align: center;
    font-size: 1.8em;
}

.homepage-footer>h1 {
    color: #F8712B;
    text-align: center;
    font-family: Nunito;
    font-size: 60px;
}

.hpfooter-inner {
    border-radius: 35px;
    background: linear-gradient(138deg, #FFF4F0 6.29%, #FFB186 93.52%);
    min-height: 500px;
    padding: 2em;
}

.hpfooter-row.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    margin-bottom: 1em;
    max-width: none;
}

.hpfooter-row.grid>div {
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 1em;
}

.hpfooter-row.row-appeal {
    height: calc(100vw / 3);
    border-radius: 10px;
    background: #FFF;
    background-image: none;
    background-image: none;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: none;
}

.hpfooter-row.row-appeal a.button {
    border-radius: 50px;
    border: 0px solid #FFF;
    background: #84BD00;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    font-family: "Cerebri Sans Pro";
    color: #fff;
    font-weight: 700;
    padding: 1em 3em .9em;
    text-transform: uppercase;
    line-height: 1;
    font-size: 1.25em;
    height: auto;
}

h2.hp-bottomtext {
    margin-bottom: 0;
    margin-top: 1em;
    font-size: 1.5em;
    text-align: center;
}

h2.hp-bottomtext a {
    text-decoration: underline;
}

h2.hp-bottomtext p:last-child {
    margin-bottom: 0;
}

a:has(span.button) {
    text-decoration: none;
}

span.green-button {
    border-radius: 3px;
    border: 0px solid #FFF;
    background: #84BD00;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: #fff;
    line-height: 1;
    height: 38px;
    padding: .75em 2em;
    text-transform: none;
    font-family: "Cerebri Sans Pro";
    text-transform: uppercase;
    font-weight: 700;
}

span.blue-button {
    border-radius: 3px;
    border: 0px solid #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: #fff;
    line-height: 1;
    height: 38px;
    padding: .75em 2em;
    text-transform: none;
    font-family: "Cerebri Sans Pro";
    text-transform: uppercase;
    font-weight: 700;
    background: #003C69;
}

span.blue-button:active,
span.green-button:active,
span.orange-button:active {
    box-shadow: inset 0 0 15px #333;
}

span.blue-button a,
span.green-button a,
span.orange-button a,
.module_wys p span.blue-button a:not(.nf),
.module_wys p span.blue-button a:not(.button),
.module_wys p span.green-button a:not(.nf),
.module_wys p span.green-button a:not(.button),
.module_wys p span.orange-button a:not(.nf),
.module_wys p span.orange-button a:not(.button) {
    color: #fff;
}

span.blue-button a:hover,
span.green-button a:hover,
span.orange-button a:hover,
.module_wys p span.blue-button a:not(.nf):hover,
.module_wys p span.blue-button a:not(.button):hover,
.module_wys p span.green-button a:not(.nf):hover,
.module_wys p span.green-button a:not(.button):hover,
.module_wys p span.orange-button a:not(.nf):hover,
.module_wys p span.orange-button a:not(.button):hover {
    text-decoration: none;
}

span.orange-button {
    background: #f8712b;
    border-radius: 3px;
    border: 0px solid #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: #fff;
    line-height: 1;
    height: 38px;
    padding: .75em 2em;
    text-transform: none;
    font-family: "Cerebri Sans Pro";
    text-transform: uppercase;
    font-weight: 700;
}

.button {
    border-radius: 3px;
    border: 0px solid #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: #fff;
    line-height: 1;
    height: 38px;
    padding: .75em 2em;
    text-transform: none;
    font-family: "Cerebri Sans Pro";
    text-transform: uppercase;
    font-weight: 700;
    background: #003C69;
}

.hpfooter-row a.button {

    color: #fff;
    padding: .75em 2em;
    height: auto;
}

.hpfooter-row a {
    color: #F8712B;
}

.hpfooter-row a span.button {
    color: #fff;
}

/*****************
EVENTS
***********************************************/
.events_container {
    margin: 2em 0;
}

.sink_event_metadata.metainfo {
    background: #fff;
    padding: .5em;
    border-radius: 10px;
    margin-bottom: .5em;
    display: inline-block;
    font-size: .8em;
}

.archive_post .sink_event_metadata.metainfo {
    padding: 0;
    background: transparent;
}

.meta_content.center_content {
    font-weight: 600;
}

/*****************
EXPANDERS
***********************************************/
h2.expanding_header {
    font-size: 1.15em;
    text-transform: uppercase;
    display: block;
    margin: 1em 0;
}

.expanding_question .extended-content {
    height: 0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.expanding_question.opened .extended-content {
    height: inherit;
    overflow: inherit;
}

/*****************
TYPE
***********************************************/
h1,
h2,
h3,
h4,
h5 {
    margin-top: 0;
}

h1 {}

h2 {}

h3 {}

h4 {}

h5 {}

p {}

.fancyfont {}

.pageinfo h1 {
    color: #003C69;
}

.text {}

.text p {}

.text p:last-child {}

.text h1 {}

.text h2 {}

.text h3 {}

.text ul {}

.text ul li {}

.search_indicator {
    margin-left: 0;
    margin-top: 15px;
}

/*****************
BASIC INPUT AND FORMS
***********************************************/
input[type=text] {
    padding: .5em;
}

.wpcf7 input[type=submit],
input[type=submit],
.button {
    border: 0 none;
    display: inline-block;
}

input[type=submit]:hover,
.button:hover {
    text-decoration: none;
}

input[type=submit]:active,
.button:active {}

input[type=submit]:focus,
.button:focus {}

/*****************
HEADER ADDL
***********************************************/
.topheader-bottomline {}

.topheader-bottomline ul {
    display: flex;
}

.topheader-bottomline ul li {
    list-style: none inside;
    position: relative;
    padding: 3em 0 2em;
    height: 132px;
}

.topheader-bottomline ul li li {
    height: auto;
    padding: 0;
}

.topheader-bottomline ul li a {
    color: #535353;
    font-family: "Cerebri Sans Pro";
    text-transform: uppercase;
    font-weight: 700;
    padding: .75em 1.25em;
    display: inline-block;
    background: #fff;
    font-size: .9em;
}

.topheader-bottomline ul li li a {
    background: transparent;
    display: block;
    width: 100%;
}

.topheader-bottomline ul li li a:hover {
    background: #003C69;
    color: #fff;
}

.topheader-bottomline ul li:hover {
    /*    background: #84BD00;*/
}

.topheader-bottomline ul li:hover a {
    color: #0A5995;
    position: relative;
}

.topheader-bottomline ul>li.current-menu-item:after {
    content: '';
    border-right: 2px solid #84BD00;
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 3;
    min-height: 89px;
    margin-top: 0;
    right: 50%;
}

.topheader-bottomline ul.sub-menu>li.current-menu-item:after {
    border: none;
}

.topheader-bottomline ul.sink_dropdown>li:last-child>a {
    border-radius: 3px;
    border: 0px solid #FFF;
    background: #84BD00;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: #fff;
    line-height: 1;
    height: 38px;
    padding: .75em 2em;
}

.sink_dropdown li ul.sub-menu {
    background: #fff;
    z-index: 999;
    transition: .1s ease;
}

/*****************
MEGAMENU
***********************************************/
.megamenu-top {
    display: flex;
    justify-content: flex-end;
    z-index: 2;
    position: relative;
}

.mm-top-inner {
    background: #003C69;
    justify-content: flex-end;
    color: #fff;
    padding: 1em;
    font-family: "Cerebri Sans Pro";
    align-items: center;
    width: auto;
    border-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: .9em;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 96px;
}

.mm-top-inner .socialmedia {
    border-radius: 10px 0 0 10px;
    background: #F6F6F6;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    position: absolute;
    right: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mm-top-inner .socialmedia svg {
    fill: #000;
}

.mmnav {
    margin-right: 1em;
    font-size: .8em;
}

.mmnav:before {
    content: 'Program Areas';
    color: #84BD00;
    text-transform: uppercase;
    margin-right: .5em;
}

.megamenu-bottom {
    /*
  height: calc(100vw / 4.5);
  width: 100%;
  z-index: 30;*/
}

.mmnav .mm-chooser {
    cursor: pointer;
    text-transform: uppercase;
    display: inline-block;
    margin-left: 1.5em;
}

.mmnav .mm-chooser.opened,
.mmnav .mm-chooser:hover {
    color: #F8712B;
}

.mm-col {
    background: #003C69;
    position: absolute;
    color: #7EC8FF;
    padding: 1em 2em;
    height: 0;
    opacity: 0;
    z-index: 0;
    padding-top: 2em;
    width: 100%;
}

.mm-col.visible {
    z-index: 15;
    opacity: 1;
    height: auto;
    padding-top: 3em;
}

.col-inner.flexible {
    flex-wrap: nowrap;
    height: 100%;
}

.col-left-menu {
    width: 20%;
    flex-shrink: 0;
    font-family: 'Cerebri Sans Pro', Georgia;
    font-size: 1.1em;
}

.col-left-menu ul li {
    list-style: none inside;
    margin-left: 0;
    margin-bottom: .75em;
    font-size: .9em;
}

.col-left-menu ul li a {
    color: #fff;
}

.col-left-menu ul li:first-child a,
.col-left-menu ul li a:hover {
    color: #F8712B;
}

.col-left-menu ul li:first-child a {
    font-weight: bold;
    margin-bottom: .5em;
    display: block;
}

.col-right-excerpt {
    flex-shrink: 0;
    width: 75%;
    font-size: 1.5em;
    letter-spacing: -.02em;
    font-family: 'Cerebri Sans Pro', Georgia;
}

/*****************
HEADER
***********************************************/
#header {
    width: 100%;
    background: #fff;
    padding: 0;
    margin: 0;
    padding-bottom: 1em;
}

.megamenu-container {
    position: absolute;
    top: 114px;
    z-index: 5;
    right: 0;
    width: 100%;
}

.megamenu-bottom {
    margin-top: -27px;
    z-index: 1;
    position: absolute;
    width: 100%;
}

.megamenu-container .socialmedia li {
    margin-left: 5px;
    margin-right: 5px;
}

.megamenu-container .socialmedia li.first_item {
    margin-left: 10px;
}

.megamenu-container .socialmedia li.last_item {
    margin-right: 10px;
}

.header_inner.cb {
    max-width: 98%;
}

.logo {
    max-width: 220px;
    width: 100%;
    margin-right: 2em;
    padding-top: .5em;
    padding-bottom: .5em;
}

.header-menu-top {
    margin-top: -1em;
}

.logo img {
    width: 100%;
    /* for ie */
}

.topmenu {}

.topmenu ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.topmenu li {}

.topmenu li:after {}

.topmenu li.last_item {}

.topmenu li a {}

.topmenu li[class*="current"] a,
.topmenu li:hover a {}

.socialmedia {}

.socialmedia a {}

/*****************
SIDEBAR
***********************************************/
.sidebar {}

.sidebar_module {}

.sidebar_module .module_title {}

.sidebar_module .module_content {}

/*****************
BACKGROUNDS
***********************************************/
.herospot {
    margin-bottom: 0;
}

header+.herospot {
    margin-bottom: 2em;
}

.hero-inner {
    display: flex;
    flex-wrap: nowrap;
    position: absolute;
    bottom: 5%;
    width: 100%;
    align-items: center;
}

h1.call_to_action_text {
    background: #4D2F8E;
    color: #fff;
    font-size: .9em;
    display: block;
    margin: 0;
    font-family: 'Nunito', Arial, sans-serif;
    padding: 1em;
    height: 57px;
}

h1.call_to_action_text:after {
    background-image: url(images/border-arrow-right.svg);
    content: "";
    position: absolute;
    width: 100px;
    height: 93%;
    background-repeat: no-repeat;
    top: 2px;
    background-size: contain;
    margin-left: 5px;
}

.hero-buttons {
    margin-left: auto;
    margin-right: 1%;
    display: flex;
}

.hero-buttons>.button {
    margin-left: 1em;
    font-family: "Cerebri Sans Pro";
    text-transform: uppercase;
    font-weight: 800;
    font-size: .8em;
    padding: 1em;
    border-radius: 5px;
    width: 200px;
    text-align: center;
    line-height: 1.2;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slides li {
    margin: 0;
    list-style: none
}

.slideshow_area {}

.slideshow_area div.slide {}

#header .slideshow_area {
    top: 0;
    left: 0;
}

#header .slideshow_area div.slide {}

.slide_nav {}

.slide_nav a:before {}

.home .slide_nav {}

.slide_nav a {}

.slide_nav a:hover,
.slide_nav a:active,
.slide_nav a:focus {}

.slide_nav.left {}

.slide_nav.right {}

/*****************
LISTS
***********************************************/
/* single page view navigation */
div.next-post {}

div.prev-post {}

/* generated by wp_list_cat and wp_list_pages functions */
li.page_item {}

li.current_page_item {}

li.current_page_parent {}

li.cat-item {}

li.current-cat {}

/***
forms ninja
****/
.onepage .nf-form-content label {
    color: inherit;
    font-size: .7em;
    font-weight: 600;
    text-transform: uppercase;
}

.onepage .nf-form-content {
    padding: 0;
}

.onepage .nf-form-fields-required {
    font-size: .7em;
    font-style: italic;
    margin-bottom: 1em;
}

.onepage .nf-form-title {
    font-weight: 900;
    font-size: 1.3em;
    margin-bottom: .5em;
    display: block;
}

.onepage .nf-form-content .list-select-wrap .nf-field-element>div,
.onepage .nf-form-content input:not([type="button"]),
.onepage .nf-form-content textarea {
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-radius: 5px;
}

.onepage .textbox-wrap,
.onepage .email-wrap {
    max-width: 400px;
}

.onepage .nf-form-content input[type="submit"] {
    background: #003C69;
    text-transform: uppercase;
    font-weight: 900;
    height: auto;
    font-size: .8em;
    padding: .8em 3em;
}

/*****************
FOOTER
***********************************************/
.menu-blockified a:hover {
    color: #fff;
    text-decoration: underline;
}

#footer {
    color: #fff;
    display: block;
    position: relative;
}

.footer_inner {}

.footerinner_top {
    display: flex;
    flex-direction: column;
    padding: 2em;
}

.footermenu {
    color: #fff;
    display: block;
    position: relative;
}

.footermenu ul.sub-menu {
    display: block;
}

.footermenu_bottom {
    background: #4D2F8E;
    display: flex;
    color: #fff;
    padding: .5em 1em;
    text-transform: uppercase;
    font-weight: 300;
    font-size: .8em;
}

.footermenu_bottom .socialmedia {
    margin-left: auto;
}

.footermenu_bottom .socialmedia svg {
    fill: #fff;
}

.footer-info.flexible {
    color: #fff;
    position: relative;
    margin-top: auto;
    font-weight: 800;
    margin-top: 2em;
}

.footer-info.flexible .left.info p:last-child {
    margin-bottom: 0;
}

.left.images.flexible {
    margin-left: auto;
}

.left.images .img-container {
    height: 75px;
    max-height: 75px;
}

.left.images .img-container img {
    max-height: 100%;
    width: auto;
    margin-left: 1em;
}

.footercredits {
    background: #fff;
    padding: .5em 1em;
    font-size: .8em;
    color: #003C69;
    font-weight: 900;
    justify-content: flex-start;
}

.footercredits a.privacy-note,
.footercredits p a {
    color: #003C69;
}

.footercredits p {
    margin-bottom: 0;
}

.footercredits p.sinkcredits {
    margin-left: auto;
}

.copy-notice {
    display: inline-block;
}

.copy-notice:after {
    content: ' | ';
    margin-left: 10px;
}

.footermenu ul li {
    margin-left: 0;
    margin-right: 3%;
    display: block;
}

#menu-footer {
    display: flex;
    margin-bottom: 0;
}

#menu-footer li {
    list-style: none;
}

.footermenu ul li.three-tier>ul.sub-menu li {
    font-weight: 900;
}

.footermenu ul li.three-tier>ul.sub-menu li ul.sub-menu {
    margin-bottom: 1em;
}

.footermenu ul li.three-tier>ul.sub-menu li ul.sub-menu li {
    font-weight: 300;
}

.footermenu ul li#menu-item-222>ul.sub-menu>li {
    font-weight: 600;
}

.footermenu ul li#menu-item-222>ul.sub-menu>li li {
    font-weight: 100;
    font-size: 1em;
}

.footermenu ul li:last-child {
    margin-right: 0;
}

.footer_inner .menu-blockified>ul>li ul li {
    list-style: outside none none;
    margin-bottom: .5em;
    margin-left: 0;
    font-size: .9em;
}

.sitecredits {}

.sitecredits p {}

.sitecredits a {}

.sinkcredits {}

.sinkcredits p {}

.sinkcredits a {}

/*****************
RELATED
***********************************************/
.related_content {
    text-align: center;
    margin: 2em 0;
}

.related_content .field_divlist {
    display: -ms-flexbox;
    display: flex;
    margin: 2em 0;
}

.related_content .field_divlist>div {
    background: #ccc none repeat scroll 0 0;
    border-right: 1px solid #fff;
    height: 250px;
    min-width: 25%;
    padding: 1em 2%;
}

.metadatum {}

.metadatum a:hover {
    color: #fff;
    text-decoration: underline;
}

.metadatum .meta_item {}

.metadatum .meta_item .lbl {
    display: block;
    font-weight: normal;
    text-transform: uppercase;
    font-size: .7em;
}

.metadatum .obj-show_sidebar {
    display: none;
}

.metadatum .meta_item .val {
    word-wrap: break-word;
}

.metadatum .tax_item .lbl:before {}

/*****************
ARCHIVE
***********************************************/
article.archive_post {
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 2em;
    padding-bottom: 2em;
    flex-wrap: nowrap;
    border-bottom: 1px solid #9FC3EC;
}

.archive_post .sink_event_metadata {
    display: none;
}

aside.readmore {
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: flex-start;
    display: none;
}

article.archive_post.archivepost_last {
    border-bottom: 0;
}

.archive_post .featimg {
    flex-shrink: 0;
    margin-right: 1em;
    width: 250px;
}

.archive_post .featimg img {
    border-radius: 25px;
}

.archive_post .featimg:hover img {
    border: 2px solid #fff;
}

.archive_post.thumb_exists .mainpost {
    height: 100%;
}

article.archive_post h2 {
    margin-bottom: .5em;
    font-size: 1.25em;
}

article.archive_post h3 {
    font-size: 1em;
}

article.archive_post h2 a {
    text-decoration: none;
}

article.archive_post p.post_header_meta {}

article.archive_post .post_meta {
    border-top: 1px solid #eaeaea;
    padding-top: 5px;
}

article.archive_post a.readmore {
    font-size: 90%;
    text-transform: uppercase;
}

article.archive_post a.readmore:after {
    content: '>';
    padding-left: 2px;
}

.relatedposts {
    border-top: 0;
}

.relatedposts ul {}

.relatedposts li {}

.relatedposts .prev {}

.relatedposts .next {}

.single_relatedposts {}

.archive_relatedposts {}

p.readmore {
    margin-bottom: 0;
}

/*****************
MODULES
***********************************************/
.module-threecol .module_inner {
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
    padding: 2em;
}

.module-threecol h2 {
    text-align: center;
    display: block;
    width: 100%;
    color: #003C69;
    font-size: 1.5em;
    font-weight: 900;
}

.module-threecol h3 {
    color: #F8712B;
    font-family: Nunito;
    margin-bottom: .5em;
    font-size: 2em;
}

.module-threecol .columns-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2em;
}

.module-threecol .onecolumn {
    border-right: 5px solid #E4E4E4;
    transform: rotate(5deg);
}

.module-threecol .onecolumn:after {
    /*    content: "";
    position: absolute;
    border-top: 1px solid red;
    width: 100%;
    transform: rotate(-65deg);
    transform-origin: 0% 100%;
    top: 0;
    right: 0;
    height: 100%;
    background: yellow;*/
}

.module-threecol .onecolumn:last-child {
    border-right: 0;
}

.column-inner {
    transform: rotate(-5deg);
    padding-right: 1em;
}

.column-inner:after {
    /*    content: "";
    position: absolute;
    border-top: 5px solid #E4E4E4;
    width: 100%;
    transform: rotate(-65deg);
    transform-origin: 43% 100%;
    height: 100%;
    overflow: hidden;*/
}

.module-threecol .textholder:last-child .column-inner:after {
    width: 0;
}

a.fullcolumn-link {
    color: #003C69;
    font-family: "Cerebri Sans Pro";
    font-weight: 800;
    margin-top: 2em;
    display: block;
    border-top: 4px solid #E4E4E4;
    padding-top: 2em;
}

.module-testimonial {
    margin: 3em 0;
}

.module-testimonial .module_inner {
    border-radius: 25px;
    background: #381E70;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    max-width: 740px;
}

.module-testimonial .fld-basic_text {
    border-radius: 25px;
    background: #4D2F8E;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: #fff;
    padding: 3em;
    text-align: center;
    position: relative;
    z-index: 15;
    top: -25px;
    left: -25px;
}

.module-testimonial .fld-quote_author {
    display: inline-block;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 1em;
    position: absolute;
    right: -15px;
    bottom: -15px;
    z-index: 20;
}

.module-testimonial .fld-quote_author p {
    color: #4D2F8E;
    font-family: Nunito;
    margin-bottom: 0;
}

.css-gridoo {
    width: 95%;
    max-width: 960px;
    margin: auto;
    column-count: 2;
}

.css-gridoo .masonry-item {
    display: grid;
    grid-template-rows: 1fr auto;
    break-inside: avoid;
    grid-template-rows: masonry;
    grid-gap: 1em;
}

.css-gridoo .masonry-item img {
    grid-row: 1 / -1;
    grid-column: 1;
}

@media (min-width: 768px) and (max-width: 1040px) {
    .css-gridoo {
        /*            display: grid;
            grid-gap: 1em;
            grid-template-columns: repeat( auto-fill, minmax( 200px, 1fr ) );
            grid-auto-rows: 150px;
            width: 740px;
            margin: auto;*/
    }
}

iframe.centered {
    display: block;
    margin: auto;
    background: #fff;
    padding: 2em;
    border-radius: 15px;
}

.masonry-item img {
    border-radius: 2em;
}

.masonry_transition {
    position: relative;
    width: 100%;
}

.xmasonry_transition>.masonry-item:hover {
    /*     position: absolute;
    border-radius: 25px; */
    cursor: pointer;
}

.xmasonry_transition>.masonry-item .item-base {
    height: auto;
}

.xmasonry_transition>.masonry-item .item-hover {
    display: none;
    background: #F8712B;
    position: absolute;
    top: 0;
    z-index: 50;
    height: auto;
    color: #fff;
    border-radius: 2em;
    /*width: auto;*/
    width: 100%;
    padding: 0 1.5em 1.5em;
    font-size: .8em;
    height: 98%;
}

.xmasonry_transition>.masonry-item:hover .item-hover {
    display: block;
}

.masonry-item {
    position: relative;
}

.item-hover-inner {
    display: flex;
    flex-direction: column;
    padding: 1em;
    font-size: .9em;
    height: 100%;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
}

.item-hover-inner p:last-child {
    margin-bottom: 0;
}

.item-hover-inner a.morelink {
    margin-top: auto;
}

.module-addcontent.view-list {}

.module-addcontent.view-list .module_inner {
    border-radius: 25px;
    background: #FFF;
    padding: 2em;
}

.module-addcontent.view-list .module_inner .archive_post {}

.module-addcontent.view-list .module_inner .archive_post:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

section[class*="view-grid"] .module_inner {
    border-radius: 25px;
    background: #FFF;
    padding: 2em;
}

.module-addcontent.view-grid-2 .module_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}

.module-addcontent.view-grid-4 .module_inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2em;
}

section[class*="view-grid"] .module_inner .archive_post {
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 0;
    padding: 0;
    border: 0;
}

.archive_post .grid-only {
    display: none;
}

section[class*="view-grid"] .sink_event_metadata.metainfo {
    padding: 0;
}

section[class*="view-grid"] .module_inner .archive_post .featimg {
    width: 100%;
    margin-bottom: 1em;
}

section[class*="view-grid"] .module_inner .archive_post .mainpost {
    width: 100%;
    height: inherit;
    color: #003C69;
}

section[class*="view-grid"] .archive_post .grid-only {
    display: block;
}

section[class*="view-grid"] .module_inner .archive_post .text {
    display: none;
}

.module-heroimage .module_inner {
    background-size: cover;
    background-repeat: no-repeat;
}

.single-people .cpt-label {
    display: none;
}

/* TWEANERS ****/
@media (min-width: 768px) and (max-width: 1040px) {

    .socialink-module.module-threecol,
    .homepage-footer {
        padding: 1em;
    }

    .mmnav {
        font-size: 1.2vw;
    }
}

/* end 1040 twean */
@media (min-width: 768px) and (max-width: 1160px) {
    .hero-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    h1.call_to_action_text::after {
        width: 100px;
        height: 72px;
        background-repeat: no-repeat;
        top: -9px;
        background-size: contain;
        margin-left: 5px;
    }

    h1.call_to_action_text {
        margin-bottom: 1em;
        position: absolute;
        left: 0;
        top: 0;
    }

    .hero-buttons {
        margin-top: 5em;
    }
}

/* END TWEANERS ****/