/*---------------------------------------------------------------------------------


Theme Name:   CB Template
URI:
Description:
Author:       Cardwell Beach
Author URI:   http://cardwellbeach.com
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html


------------------------------ ADDITIONAL CSS HERE ------------------------------*/

html {

}

body {
	line-height: 2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Arial, sans-serif;
}

h1, h2, h3 {

}

h4, h5, h6 {

}

ol, ul, p, li {

}

ol, ul, li {
    
}

ol li, ul li {
    margin-bottom: 12px;
}

ol, ul {
	list-style: disc;
	padding-left:15px;
}

p {

}

/**
DIVI
 */
.et_pb_posts .et_pb_post {
    border-bottom: 1px solid #cccccc;
    padding: 0 0 25px 0;
    margin: 0 0 25px 0;
}
@media(min-width:980px){
    .et_pb_post .entry-featured-image-url {
        float: left;
        width: 30%;
        margin-right: 50px;
    }
}
.et_pb_bg_layout_light .et_pb_post .post-meta a {
    color:#228dba !important;
}

body p {
    /**line-height: 2;**/
}


/* PAGENAVI */
.wp-pagenavi {
    border-top: none;
}

/* EVENT CALENDAR */
a.tribe-events-button {
    color: #FFF !important;
    border-radius: 0 !important;
    padding: 10px !important;
    background: #228dba !important;
}
.tribe-events-cal-links {
    text-align: center;
}
.tribe-common * {
    font-family: 'Arial',Helvetica,Arial,Lucida,sans-serif;
}
.tribe-events .tribe-events-c-top-bar__nav-list {
    padding: 0;
}
.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn {
    background-color: #228dba !important;
}
div#tribe-events-pg-template {
    padding-top: 70px;
}
h1.tribe-events-single-event-title, .tribe-events-schedule.tribe-clearfix {
    text-align:center;
}
.tribe-events-cal-links {
    width: 100%;
}
.tribe-events-cal-links > a {
    margin: 0 5px;
}
.tribe-events-meta-group.tribe-events-meta-group-gmap {
    margin-top: 25px;
}
.single-tribe_events #main-content {
    background-color: #f0eff0!important;
}
ul.tribe-events-sub-nav > li:first-child {
    text-align: left;
}

.tribe-events-single-event-title {
	padding-top: 16px;
	padding-bottom: 16px;
}

.tribe-events-nav-pagination {
	padding-top: 8px;
	padding-bottom: 8px;
}

.tribe-events-sub-nav {
	display: flex;
	display: -ms-flex;
	
	align-items: center;
	-ms-align-items: center;
	
	justify-content: center;
	-ms-justify-content: center;
	
	flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	
	padding-left: 0;
}

@media(min-width:980px){
    ul.tribe-events-sub-nav > li:first-child {
        width:50% !important;
    }
}

ul.tribe-events-sub-nav > li:last-child {
    text-align: right;
}
div#tribe-events-pg-template {
    padding-bottom: 35px;
}

/* Custom CSS for Tribe Events Plugin */
.tribe-common ol, .tribe-common ul {
    list-style: none !important;
}
.tribe-events-page-template #main-content .container:before {
    content: none;
}

#main-content .tribe-events-list-widget .widgettitle {
    font-size: 1.2em;
    margin-bottom: 1em;
}

#main-content .tribe-events-list-widget-events .entry-title {
    font-size: 1em;
    padding-bottom: 0;
}

#main-content .tribe-events-list-widget-events .duration {
    font-size: 0.8em;
}

#main-content .tribe-events-list-widget ol {
    padding: 0;
}

.tribe-events-list-widget ol li {
    margin-bottom: 1em;
}

#main-content .tribe-events-widget-link a:hover, a.more-link:hover {
    text-decoration: underline;
}
#tribe-events-content {
    margin-bottom: 0;
}
.tribe-events-button {
    margin-bottom: 1.2em;
}

/* ACCORDION */
.et_pb_accordion .et_pb_toggle_title:before, .et_pb_toggle .et_pb_toggle_title:before {
    display:none;
}
.et_pb_accordion  .et_pb_toggle.et_pb_module.et_pb_accordion_item {
    padding:0;
}
.et_pb_accordion .et_pb_toggle.et_pb_module.et_pb_accordion_item h5 {
    padding-left: 30px;
}
.et_pb_accordion .et_pb_toggle.et_pb_module.et_pb_accordion_item .et_pb_toggle_content.clearfix {
    padding: 10px 0 0 20px;
}
.et_pb_toggle.et_pb_module.et_pb_accordion_item:before {
    content: "\f068";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 22px;
    height: 22px;
    display: flex;
    align-items: center;
}
.et_pb_toggle.et_pb_module.et_pb_accordion_item.et_pb_toggle_close:before {
    content: "\2b";
}



/* STROKE */
.stroke {
    content: "";
	position: relative;
	background-image: url('/wp-content/themes/child-theme/assets/img/stroke-blue.png');
    background-repeat: no-repeat;
    background-position: bottom center;
	background-size: 100% .23em;
    display: inline-block;
    padding-bottom: 12px;
	font-family:"Georgia";
	text-transform:capitalize;
}

.stroke.blue {
    background-image: url('/wp-content/themes/child-theme/assets/img/stroke-blue.png');
}

.stroke.white {
    background-image: url('/wp-content/themes/child-theme/assets/img/stroke-white.png');
}

.stroke.green {
    background-image: url('/wp-content/themes/child-theme/assets/img/stroke-green.png');
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	span.stroke {
		content: "";
		position: relative;
		background: none;
		display: inline-block;
		padding-bottom: 0.1em;
	}

	span.stroke:before {
		content: "";
		position: absolute;
		background: url('/wp-content/uploads/2020/03/stroke.png') bottom center no-repeat;
		background-size: 100% .23em;
		width: 100%;
		height: 0.23em;
		bottom: 0;
		left: 0;
		right: 0;
	}

	span.stroke.filter-white:after {
		content: "";
		position: absolute;
		width: 100%;
		height: .23em;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: rgba(255,255,255,1);
	}
	
	span.stroke.filter-grey:after {
		content: "";
		position: absolute;
		width: 100%;
		height: .23em;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: rgba(90,90,90,1);
	}
}


h1 span.stroke {
    padding-bottom: 20px;
}

/* HELPERS */
.rotate-90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.filter-white {
    filter: brightness(100);
	color: white;
}

.filter-grey {
	filter: url('#desaturate');
	filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    filter: grayscale(100%) brightness(0.8);
	color: #3A3A3A!important;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-space-around {
    justify-content: space-around;
}

.justify-space-between {
    justify-content: space-between;
}

.et-db #et-boc .et-l .btn {
	background: #3A3A3A;
	color: #FFF;
	text-transform: uppercase;
	font-weight: 800;
	padding: 4px 14px;
	display: inline-block;
	font-size: 0.9em;
}

a.et_pb_button, .btn {
	font-weight: 800;
	font-family: "Georgia";
}

.et-arrow-right::after {
    content: "$";
    font-family: "ETModules";

    margin-left: 4px;
}

.valign-middle {
    vertical-align: middle
}

/* GLOBAL */
@media (min-width: 980px) {
    div.et_pb_section.et_pb_section_0 {
        /*padding-top: 116px;*/
    }
}

/* DYNAMIC DIVI THEME PAGE */
.et_pb_post_content_0_tb_body div.et_pb_section.et_pb_section_0 {
    background:transparent;
    padding:0;
}

/* MODAL */
/**************************\
  Basic Modal Styles
\**************************/
.modal {
    display: none;
}
.modal.is-open {
    display: block;
}
.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 220, 220, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.modal__container {
    background-color: #fff;
    padding: 30px;
    max-width: 880px;
    max-height: 100vh;
    border-radius: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

@media (max-width:480px) {
    .modal__container {
        max-height: calc(100vh - 160px);
        margin: 10px 25px;
    }
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #00449e;
    box-sizing: border-box;
}

.modal__close {
    background: transparent;
    border: 0;
    position: absolute;
    right: 30px;
    top: 15px;
    cursor: pointer;
}

.modal__header .modal__close:before { content: "\2715"; font-size:25px; }

.modal__content {
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #3A3A3A;
}

.modal__btn {
    font-size: .875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: rgba(0,0,0,.8);
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.modal__btn-primary {
    background-color: #00449e;
    color: #fff;
}



/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes mmslideIn {
    from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}


/* HEADER */
#page-container header.et-l.et-l--header {
    position: fixed;
    top:0;
    z-index: 99;
    width:100%;
}

.mm-menu-part {
    visibility: hidden;

    transition: 350ms ease-in-out;
}

header.et-l.et-l--header.open .mm-menu-part {
    visibility: visible;
}

header.et-l.et-l--header #mobile-menu-wrapper {
    visibility: hidden;

    position: fixed;
    top: -100%;
    left: 0;

    display: flex;
    display: -ms-flex;

    flex-direction: column;
    -ms-flex-direction: column;

    justify-content: space-between;
    -ms-justify-content: space-between;

    height: 100%;
    width: 100%;

    background-color: white;

    z-index: 1000000;
    overflow-y: auto;

    transition: 350ms ease-in-out;
}

header.et-l.et-l--header.open #mobile-menu-wrapper {
    visibility: visible;
    top: 0%;
}

#page-container header.et-l.et-l--header .hide-on-menu-open {
    transition: 350ms ease-in-out;
}

#page-container header.et-l.et-l--header.open .hide-on-menu-open {
    visibility: hidden;
}

/*
#page-container header.et-l.et-l--header > .et_builder_inner_content > .et_pb_section:not(:first-child) {
    position: fixed;
    left: 0;
    right: 0;
    opacity: 0;
    z-index: 0;
    display:none;
}
*/
#page-container header.et-l.et-l--header > .et_builder_inner_content > .et_pb_section[data-show] {
    opacity: 1;
    display:block;
    z-index: 1;
}
#page-container header.et-l.et-l--header > .et_builder_inner_content > .et_pb_section:not(:first-child) .et_pb_row {
    padding:0 !important;
    display: flex;

    align-items: center;
}
.et-menu a, .et-menu a:hover {
    transition: none !important;
}
button.et_pb_menu__icon.et_pb_menu__search-button {
    transform: scaleX(-1);
}
@media(min-width:981px) and (max-width:1200px) {
    .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
        font-size:14px !important;
    }
}
@media(min-width:981px) and (max-width:1090px) {
    .et_pb_menu__logo-wrap {
        max-width:140px;
    }
    .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
        font-size:13px !important;
    }
    .et_pb_fullwidth_menu .et-menu>li, .et_pb_menu .et-menu>li {
        padding-left: 0;
        padding-right: 0;
    }
}

@media(min-width:996px) {
    nav.et-menu-nav ul.et-menu.nav li.current-menu-item a {
        color: #80a638 !important;
    }
    nav.et-menu-nav li {
        margin-right: 3px !important;
    }
    nav.et-menu-nav li.current-menu-item {
        position: relative;
    }
    nav.et-menu-nav li.current-menu-item:after, nav.et-menu-nav li:hover:after {
        content: "";
        width: 100%;
        height: 3px;
        background: #80a638;
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    nav.et-menu-nav li:hover:after {
        background: #afacaf;
    }
}

/* FEED SMALL */
.feed-small-item {
    display: flex;
}
.feed-small-item .feed-small-item-image {
    padding-right: 20px;
    width: 50%;
}
.feed-small-item .feed-small-item-content {
    width:50%;
}
.feed-small-item .feed-small-item-content a {
    color: #3a3a3a;
}
.feed-small-item .feed-small-item-content h3 {
    color: #3a3a3a;
	padding: 0;
    line-height: 1.2em;
}
.feed-small-item .feed-small-item-content p em {
    font-size:0.9em;
	color:#A0A0A0;
}


/* GRID TEAM */
.grid-team {
    display:flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.grid-team .grid-team-item {
    width: calc(50% - 20px);
    margin: 0 15px 30px 15px;
    cursor: pointer;
}
@media(min-width:981px){
    .grid-team .grid-team-item {
        width: calc(25% - 30px);
    }
}
@media(max-width:980px){
    .grid-team .grid-team-item {
        max-width:480px;
        margin: 0 auto 30px auto;
    }
}

.grid-team .grid-team-item .team-meta h4 {
    font-size: 22px;
}

.grid-team .grid-team-item .team-job-title {
    line-height: 1.2em;
    font-size: 15px;
    font-style: italic;
}

.grid-team .grid-team-item .team-member-name {
    display: block;
    
    font-family: "Arial";
    font-weight: 600;
    font-size: 1rem;

    line-height: 1.2;

    margin-bottom: 6px;

    color:#3A3A3A;
}

.grid-team .grid-team-item .team-meta h5 {
    color:#3A3A3A;
    text-transform: uppercase;
    font-size: 0.9em;
    line-height: 1.2em;
    font-weight: 800;
}
.grid-team .grid-team-item .team-image {
    background-size:cover;
    background-position: center;
    position: relative;
}
.grid-team .grid-team-item .team-image a.btn {
    background: #228dba;
    text-transform: uppercase;
    font-size: 0.8em;
    padding: 3px 11px;
    position: absolute;
    bottom: 0;
    right: 0;
}
.grid-team .grid-team-item .team-image:after {
    padding-bottom:100%;
    display:block;
    content:"";
}
.grid-team .grid-team-item .team-meta {
    padding: 18px 0;
}

.team-modal main#modal-1-content .team-content {
    max-height: 175px;
    overflow-y: auto;
}

/* TEAM MODAL */
@media (min-width:981px) {
    .team-modal main#modal-1-content {
        display: flex;
    }
    .team-modal main#modal-1-content .team-image {
        width: 25%;
        margin-right:25px;
    }
    .team-modal main#modal-1-content .team-content {
        width: 75%;
        max-height: 250px;
    }
}

.team-modal main#modal-1-content .team-content h2,
.team-modal main#modal-1-content .team-content h4
{
    color:#228dba !important;
    font-size: 26px;
}
.team-modal main#modal-1-content .team-content h5 {
    color: #3A3A3A;
    text-transform: uppercase;
    font-size: 0.9em;
    line-height: 1.2em;
    font-weight: 800;
}

/* TABS */
.tab-buttons div.et_pb_module.active {
    background: #228dba!important;
}
.tab-buttons div.et_pb_module.active {
    background: #228dba!important;
    position: relative;
}
.tab-buttons div.et_pb_module.active:after {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #228dba;
    content: "";
    position: absolute;
    bottom: -20px;
    left: auto;
    right: auto;
    margin-left: -20px;
}

#page-container .tab-content {
    display:none;
}
#page-container .tab-content.active {
    display:block;
}

/* GRID GALLERY */
.grid-gallery {
    display: flex;
    flex-wrap: wrap;
}
.grid-gallery .grid-gallery-item {
    width: 100%;
    background-position: center;
    background-size:cover;
    position: relative;
    overflow: hidden;
    min-height:400px;
}
.grid-gallery .grid-gallery-item > a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
}
.grid-gallery-item-overlay {
    position: absolute;
    background: rgba(106, 100, 106, 0.9);
    color: #FFF;
    padding: 5%;
    text-align: center;
    top: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display:none;
    height: 100%;
}
.grid-gallery-item-overlay h1,
.grid-gallery-item-overlay h4
{
    color:#FFF !important;
}
#et-main-area .grid-gallery-item-overlay .et_pb_button, .grid-gallery-item-overlay .et_pb_button:hover {
    margin-top:25px;
    background:#FFF !important;
    color: rgba(106, 100, 106, 1) !important;
    border-color:#FFF !important;
}
@media(min-width:981px) {
    .grid-gallery .grid-gallery-item {
        width:50%;
    }
    #et-main-area .grid-gallery .grid-gallery-item:hover .grid-gallery-item-overlay {
        display: flex;
    }
}
.grid-gallery .grid-gallery-item .project-meta {
    position: absolute;
    bottom: 0;
    left:0;
}
.grid-gallery .grid-gallery-item:after {
    content: "";
    display: block;
    padding-bottom:50%;
}
.grid-gallery .grid-gallery-item.grid-gallery-item-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bolder;
    text-transform: uppercase;
}
.grid-gallery .grid-gallery-item.grid-gallery-item-cta img {
    position: relative;
    bottom: -7px;
    margin-left: 10px;
}

/* GRID GALLERY SINGLE */
@media(min-width:981px) {
    .grid-gallery.single .grid-gallery-item {
        width:100%;
    }
    .grid-gallery.single .grid-gallery-item:after {
        padding-bottom:65%;
    }
}

/* FOOTER */
footer.et-l.et-l--footer .et_pb_text_inner > ul {
	padding-left:0;
}
footer.et-l.et-l--footer .et_pb_text_inner ul {
	padding-bottom:0;
}
a.et_pb_newsletter_button.et_pb_button {
	max-width: 50%;
	float: right;
	font-size: 0.9em;
	font-weight: 900;
}
.et_pb_newsletter_field input {
	font-weight: 700;
}
.et_pb_newsletter_field input::placeholder {
	font-weight: 700;
}

.footer-subnav-top {
    display: block;
    margin-bottom: 6px;
}

@media(min-width:1100px){
    #copyright-text .et_pb_text_inner {
        display:flex; justify-content:space-between;
		grid-gap: 5px;
    }
}
/* NEWSLETTER SCRIPT */
div#id_ab0a2ef5-28b6-4812-8fc6-95ef7ab42bb8, div#id_9c7c962b-5df4-44dd-bd9c-8cd777e294a5, .sli-form {
    margin: 0 !important;
    padding: 0 !important;
}
.id_c1453b31-ac76-4783-b29d-89a24efbd51e .sli-element, a.sli-button.sli-flat.sli-large {
    font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif !important;
}
a.sli-button.sli-flat.sli-large {
    font-weight: 800 !important;
    color:#FFF !important;
    padding: 15px 25px;
}
.id_c1453b31-ac76-4783-b29d-89a24efbd51e .sli-content-pane#id_4da48976-387d-40c1-bec4-dfb5dd4266e3_contentView {
    background: transparent !important;
}
.sli-form .sli-input:not(textarea) {
    padding: 10px !important;
    border: 2px solid #666666 !important;
    margin-bottom: 0 !important;
    color: #666 !important;
    font-weight: 600;
    font-size: 17px;
}
.sli-form .sli-input:not(textarea)::placeholder {
    color: #666 !important;
}
.sli-widget .sli-element p {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
    font-weight: 600;
    font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif !important;
}

/* CB SLIDER */
.cb-slide {
    background-position: center center;
    background-size: cover;
}
.cb-slide .cb-slide-caption {
    margin: 0 auto;
    text-align: center;
    width: 80%;
    max-width: 1080px;
    background: rgba(233, 233, 233, .89);
	color: #228dba;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.2em;
    letter-spacing: 1px;
    padding: 14px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
	font-family:'Georgia',Georgia,"Times New Roman",serif;
}
.cb-slider.slick-slider {
    margin-bottom:0;
}

.cb-slider .slick-dots li button:before {
    display:none;
}
.cb-slider .slick-dots {
    bottom:auto;
	top:0;
}
.cb-slider .slick-dots li button {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 100%;
    width:10px;
    height:10px;
    margin:0 auto;
}
.cb-slider .slick-dots li.slick-active button {
    width:15px;
    height:15px;
    background: rgba(255, 255, 255, 1);
}

.cb-slider .slick-arrow {
    background:#3A3A3A;
    height: 30px;
    width: 30px;
}
.cb-slider .slick-arrow:hover {
    background: rgba(106, 100, 106, 0.95);
}
.cb-slider .slick-prev {
    left: 0;
}
.cb-slider .slick-next {
    right: 0;
}
/*.cb-slider .slick-arrow:before {
    content: "";
    background: url(http://deltainstdev.wpengine.com/wp-content/uploads/2020/03/arrow.png) center center no-repeat;
    display: block;
    width: 15px;
    height: 20px;
    background-size: contain;
    filter: brightness(100);
    margin:0 auto;
}
.cb-slider .slick-prev:before {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}*/

/* TOP SLIDER */
#main-feature .et_pb_section_video_bg {
    display: flex;
    justify-content: center;
}

/* POSITIONS */
.no-career-opp {
    background: #f0eff0;
    padding: 50px !important;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.positions .position {
    border-bottom: 1px solid #c4c2c3;
    padding-bottom: 25px;
    margin-bottom: 25px;
}
.positions .position .position-content {
    padding-left: 25px;
}
.positions .position .position-content h2 a {
    color: #80a637;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.positions .position .position-content h5 {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}
.position-buttons .et_pb_button {
    display: block;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 800;
}
.position-buttons .et_pb_button:first-child {
    background-color:#80a637 !important;
    border-color:#80a637 !important;
	color:#FFF;
}
@media(min-width:980px) {
    .positions .position {
        display: flex;
    }
}

/* CONTACT US */
form.wpcf7-form ul li {
    list-style: none;
    display: flex;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    align-items: center;
}
form.wpcf7-form ul li .wpcf7-form-control-wrap {
    width:80%;
}
form.wpcf7-form ul li label {
    width: 20%;
    text-align: right;
    margin-right: 10px;
    font-weight: 800;
}
form.wpcf7-form ul li label i {
    color: #fd9540;
    position: relative;
    left: -3px;
    top: -1px;
    font-size: 1.2em;
}
form.wpcf7-form ul li input[type=text], form.wpcf7-form ul li input[type=email], form.wpcf7-form ul li textarea {
    padding: 10px;
    width:100%;
    border: 2px solid #3A3A3A;
}
input.wpcf7-form-control.wpcf7-submit {
    background: #228dbb;
    border: 5px solid #228dbb;
    padding: 10px;
    color: #FFF;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1em;
}

/* LATEST NEWS & EVENTS */
#latest-news-events span.stroke {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 900;
	z-index: 9;
	margin: 25px;
}
.latest-news-events-title-bar {
    justify-content: center;
    align-items:center;
}
@media(min-width:981px){
    .news-events.latest-news-events:not(.single) {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        max-width: 1080px;
        margin: 0 auto;
    }
    .news-events.latest-news-events .news-event.latest-news-event {
        margin: 20px;
        width:calc(33.333% - 40px);
        display: flex;
        flex-direction: column;
    }
    .news-events.latest-news-events.single .news-event.latest-news-event {
        margin:0;
        width:100%;
    }
}
@media(max-width:980px){
    .news-event.latest-news-event {
        margin-bottom:20px;
    }
    .news-events.latest-news-events:not(.single) {
        max-width: 480px;
        margin:0 auto;
    }
}

.news-events.latest-news-events .news-event-details {
	padding-top: 20px;
    height: 100%;
}
.news-event-image {
	position: relative;
    background-size: contain;
    background-position: center;
	
	padding-top: 56.25%;
    height: 0;
    background-size: cover;
}
/*.news-event-image:after {
    content: "";
	display: block;
	
    padding-bottom: 65%;
}*/
.news-event-image img {
	width:100%;
}
.news-event-image > a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
	top:0;
}
.news-event-cat {
	position: absolute;
	bottom: 0;
	left: 0;
}
.news-event-cat a.btn {
	background:#228dba;
}
.news-event-details h4 {
    font-family: "Arial";
    color: #3a3a3a;
    font-weight: 400;
    padding: 0;
}
.news-event-details p {
	font-size:0.8em;
	/*color:#969296;*/
}


/* FEATURED PROJECT SLIDER */
#projects-featured .slick-arrow {
    display: none !important;
}

.projects-featured-slider.slick-slider {
    margin-bottom: 0;
}

#projects-featured span.stroke {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    position: absolute;
    top: 0;
    z-index: 9999;
    margin: 25px;
}

#projects-featured .project.project-featured {
    background-position: center center;
    background-size: cover;
    position: relative;
}

#projects-featured .project.project-featured {
    display: flex;
    padding-top: 20vh;
    justify-content: center;
}
#projects-featured .project.project-featured .project-details {
    width:80%;
    max-width: 1080px;
}
#projects-featured .project.project-featured .project-details .project-content {
    background: #FFF;
    padding: 40px 50px;
    text-align: center;
}

@media(min-width:981px){
    #projects-featured .project.project-featured {
        padding-top: 40vh;
    }
    #projects-featured .project.project-featured .project-details .project-meta {
        align-items: flex-end;
    }
}
@media(max-width:980px) {
    #projects-featured .project.project-featured .project-details .project-meta {
        display:block;
    }
    #projects-featured .project.project-featured .project-details .project-meta .project-cats {
        display:none;
    }

    #projects-featured .project.project-featured .project-details .project-read-more .btn {
        display: block;
        width:100%;
        text-align:center;
    }
}

#projects-featured .project.project-featured .project-details .project-read-more .btn {
	font-size: 1em;
	background-color:#3A3A3A;
	padding: 12px 22px;
}

#projects-featured .project.project-featured .project-details .project-content h2 {
    color: #228dba;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 30px;
}

#projects-featured .project.project-featured .project-details .project-content p {
    max-width: 768px;
    margin: 0 auto;
	font-weight: bold;
}

/* Collapse section */
#page-container [id$="-more"]:not(.show) {
    height:0;
    padding:0 !important;
    opacity: 0;
}

/* GFORMS */
@media(min-width:980px) {
    .gform-horizontal .gform_body ul.gform_fields li {
        list-style: none;
        display: flex;
        font-weight: 800;
        text-transform: capitalize;
        letter-spacing: 1px;
        margin-bottom: 10px;
        align-items: center;
		font-family: "Georgia";
    }
    .gform_wrapper .gform-horizontal .top_label .gfield_label, .gform_wrapper .gform-horizontal legend.gfield_label {
        width: 20%;
        text-align: right;
        margin-right: 10px;
        font-weight: 800;
    }
    body .gform_wrapper .gform-horizontal .top_label div.ginput_container {
        width:80%;
    }
}
.gform_wrapper ul.gform_fields li.gfield {
    padding-right:0 !important;
}
#page-container .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), #page-container .gform_wrapper textarea {
    padding: 10px;
    width: 100%;
    border: 2px solid #3A3A3A;
}
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] {
    background: #228dbb;
    border: 5px solid #228dbb;
    padding: 10px;
    color: #FFF;
    font-weight: 800;
    text-transform: capitalize;
    font-size: 1em;
    margin-right: 0 !important;
    cursor: pointer;
	font-family: "Georgia";
}
.gform_footer { text-align:right; }

/* MODAL BUTTON */
.et_pb_dp_dmb_module_7658 {

}
.modal-altbutton {
	display: inline-block;
	
	font-family: "Georgia";
	
    background-color: #80a638;
	
    border: 2px solid #80a638;
	
	font-size: 16px;
    font-weight: bold;
    font-style: normal;
	
    text-decoration: none;
	
    padding: .6em 1.2em !important;
    color: #ffffff;
	
	transition: 175ms ease-in-out;
    cursor: pointer;
}

.modal-altbutton:hover {
	background-color: white;
	color: #80a638;
}

.modal-altbutton::after {
	content: "\f061";
	
	font-family: "Font Awesome 5 Free";
	font-size: 14px;
	
	padding-left: 8px;
}

.modal-button {
    position: relative;
	font-weight: 600;
	font-size: 16px;
	
	cursor: pointer;
}
.modal-button::before {
    content: "\f067";
	
    font-family: "Font Awesome 5 Free";
	font-size: 14px;
    font-weight: 900;
	
    /* position: absolute; */
    left: 0;
    bottom: 0;
    color: black;
    padding: 0 8px;
}


/* DONATE SCRIPT */
#id_dad4dbaa-1eb5-4893-acb1-ad7cd792819a {
    padding: 0 !important;
    border: none !important;
}
#id_dad4dbaa-1eb5-4893-acb1-ad7cd792819a div#id_ea84775c-389f-4dd3-8e54-fd0c3570204c {
    max-width: 100%;
}


a[href$=".pdf"]:before {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f1c1";
    margin-right:5px;
}

.fa-arrow-right {
	font-size: 32px;
}

.arrow-small {
	margin-left: 6px;
	font-size: 24px;
	display: inline;
	vertical-align: middle;
}

.mmenu-trigger-container {}

.mmenu-trigger-container a {
    display: flex;
    display: -ms-flex;
    align-items: center;
    -ms-align-items: center;
    gap: 14px;
}

.mmenu-trigger, .mmenu-trigger-container h4 {
    color: white !important;
}

.mmenu-trigger-container h4 {
    padding-bottom: 0;
}

.mmenu-trigger-container i {
	font-size: 36px;
}

.menu-close, .menu-close h4, .menu-close i {
    color: #3a3a3a !important;
}

.home-hero-heading {
    position: absolute !important;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

.home-hero-heading h1 {
    font-size: 30px;
    font-weight: 400;

    text-align: center;

    color: white;
	padding: 0 10px;
    line-height: 1.3;
}

.stats-container {
    display: flex;
    display: -ms-flex;

    flex-wrap: wrap;
    -ms-flex-wrap: wrap;

    gap: 38px 0;
}
.stat-item {
    width: 50%;
    color: white;
    text-align: center;
}
.stat-item h3, .stat-item h4 {
    color: white;
}
.stat-item h3 {
    font-size: 40px;
    line-height: 1.1;
}
.stat-item h4 {
    font-size: 20px;
}
.stat-item img {
    height: 82px;
}

#main-header {
	background-color: transparent !important;
}

body.single-tribe_events #main-header, body.single-post #main-header, body.single-project #main-header, body.single-delta_publication #main-header {
	background-color: rgba(34, 141, 186, 0.7) !important;
}

#main-header {
    transition: 175ms ease-in-out;
	box-shadow: none !important;
}

#main-header .et_pb_image_wrap img {
    transition: 175ms ease-in-out;
}

body.nav-sticky #et-boc #main-header {
    left: 0 !important;


    background-color: rgba(34, 141, 186, .7) !important;
    box-shadow: 0.12rem 0.12rem 0.22rem 0.22rem rgb(0 0 0 / 16%);
}

body.nav-sticky #et-boc #main-header .et_pb_image_wrap img {
    width: 235px;
}

#main-header .et_pb_column:first-child, #main-header .et_pb_column:last-child {
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: auto !important;
}

.home-hero-container img {
    object-fit: cover;
    height: 800px;
}

/* Mmenu */
.mm-menu {
    --mm-listitem-size: 56px;
}

/* Global */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
}

.hide {
    display: none;
}

.darkened-overlay {
    position: absolute !important;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,.25);
}

.cover-element {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 5;
}

/* Mobile Menu */
body.menu-open {
    overflow-y: hidden;
}

.mobile-menu-container {}

.mobile-menu-container #menu-main-navigation-2 {
    display: flex;
    display: -ms-flex;

    flex-direction: column;
    -ms-flex-direction: column;

    text-align: center;

    list-style-type: none;

    gap: 54px;
	
	padding-left: 0;
	padding-bottom: 0;
}

.mobile-menu-container #menu-main-navigation-2 .menu-item {
    color: #80A638;
}

.mobile-menu-container #menu-main-navigation-2 .sub-menu .menu-item:not(:last-child) {
    margin-bottom: 16px;
}

.mobile-menu-container #menu-main-navigation-2 > .menu-item.menu-item-has-children::before {
    content: "\f067";
    font-family: "Font Awesome\ 5 Free";
    font-weight: 900;

    margin-right: 16px;
}

.mobile-menu-container #menu-main-navigation-2 > .menu-item.menu-item-has-children.open::before {
    content: "\f068";
}

.mobile-menu-container #menu-main-navigation-2 > .menu-item.open .sub-menu {
    display: block;

    list-style-type: none;
}

.mobile-menu-container #menu-main-navigation-2 > .menu-item > a {
    font-family: "Georgia";
    font-size: 32px;
    font-weight: bold;

    color: #80A638 !important;
}

.mobile-menu-container #menu-main-navigation-2 > .menu-item .sub-menu {
    display: none;

    padding-top: 22px;
    padding-bottom: 16px;
}

.mobile-menu-container #menu-main-navigation-2 .menu-item .sub-menu a {
    font-size: 19px;

    text-decoration: none;
    color: #3A3A3A;
}

/*.mobile-menu-container #menu-main-navigation-2 .menu-item .sub-menu a::before {
    content: "\2022";

    display: inline-block;

    text-decoration: none !important;
    margin-right: 12px;
}*/

.flex-col {
    display: flex;
    display: -ms-flex;
}

.mobile-menu-footer {

}

.mobile-menu-footer p {
    font-size: 14px;
    line-height: 1.5;
}

.mobile-menu-footer-row {
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;

    gap: 18px 0;
}

/* Reduce Mobile Margin/Padding */
@media all and (min-width: 576px) {

}

@media all and (min-width: 768px) {
    .home-hero-container img {
        height: 920px;
    }
}

@media all and (min-width: 992px) {
    .home-hero-heading h1 {
        font-size: 56px;
    }

    .mobile-only {
        display: none;
    }

    .stat-item {
        width: 33%;
    }

    .mobile-menu-container #menu-main-navigation-2 > .menu-item > a {
        font-size: 46px;
    }
}

@media all and (max-width: 992px) {
    .desktop-only {
        display: none;
    }
}

@media all and (min-width: 1080px) {
    .home-hero-heading h1 {
        font-size: 61px;
    }
}

@media only screen and (min-width: 1425px) {
    .et_pb_row {
        padding: 24px 0;
    }

    /*.et_pb_section {
        padding: 44px 0;
    }*/
}

@media (max-width: 992px) {
	.et_pb_row > .et_pb_column {
		padding-left: 24px;
		padding-right: 24px;
	}
	.et_pb_row, .container {
		width: 100%;
	}
}

#event-content .et_pb_button {
    background-color: #3A3A3A !important;
    border-color: #3A3A3A !important;
	text-decoration:none !important;
}


.hero-content-container {
    padding-top: 90px;
}
.hero-image {
    height: 330px;
}
@media(min-width:981px) {
	.hero-image {
		height: 500px;
	}
	.hero-content-container {
		padding-top: 50px;
	}
}

.excerpt-container {
    padding: 20px;
}
@media(min-width:981px){
	.excerpt-container > div {
		display: grid;
		grid-template-columns: 1fr 4fr;
	}
}
.excerpt-container > div {
    text-align: left;
	margin-bottom: 20px;
}
.excerpt-container > div > div:first-child {
    font-weight: bold;
}

h1.hero-title {
    font-weight: normal !important;
}
@media(max-width:480px) {
	h1.hero-title {
		font-size: 2em;
	}
}
.wp-pagenavi {
    display: flex !important;
    justify-content: center;
}
.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: 1px solid #228dba;
    margin: 2px;
    background: #228dba;
    color: #FFF;
	padding: 5px 15px;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #228dba;
    background: #fff;
    color: #228dba;
}


@media(max-width:348px){
	
	/** mobile header **/
	#head-donate-button {
		    background: #228dba !important;
		width: 100%;
		text-align: center;
	}
	#main-header .et_pb_row .et_pb_column.et-last-child {
		position: fixed;
		bottom: 0;
		width: 100% !important;
		left: 0;
	}
	body .uwy.userway_p3 .uai {
		bottom: 50px !important;
	}
	
	/** project roster **/
	.initiatives-list {
		flex-direction: column;
	}
	.initiatives-list .initiative-item {
		width: 100% !important;
	}
}