/*
 Theme Name: OWN NSW 2019 (Divi-Child)
 Theme URI: https://elegantthemes.com/documentation/divi/
 Description: Divi Child Theme built for OWN NSW
 Author: Melissa Adams
 Author URI: http://melissaadamsconsultant.com
 Template: Divi
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@media print {
  nav, aside, .sidebar, footer, #top-header, #main-header, .mobmenu, .et_social_sidebar_networks, .widget_breadcrumb_navxt  { display: none; }
  body, h1, h2, h3, h4, h5, h6, p, .et_pb_blurb_description p, .et_pb_blurb_description, .et_pb_text_inner,.et_pb_text_inner p, .et_pb_text_inner a, .et_pb_blurb_description a, article .et_pb_text a {color: #000!important;background: #fff;font-family: Arial, sans-serif;font-size: 12px;}
	h1, .et_pb_module_header, body .et_pb_fullwidth_header_0.et_pb_fullwidth_header .header-content h1 {font-size:36px!important; color:#000!important; text-shadow:none}
	h2, h2.et_pb_module_header {font-size:26px!important}
	h3, h3.et_pb_module_header {font-size:22px!important}
	h4 {font-size:20px!important}
	h5 {font-size:18px!important}
	h6 {font-size:16px!important}
	a[href]:after {content: " (" attr(href) ")";}
	
}

/*Typography*/
.et_pb_text_inner a, .et_pb_blurb_description a, article .et_pb_text a {border-bottom: 1px solid #8f9c39; font-weight:600} 

.et_pb_bg_layout_dark.et_pb_text a, .et_pb_bg_layout_dark p a {
	color:#fff!important;
	border-bottom: 1px solid #8f9c39;
}

body .et_pb_bg_layout_dark a:hover, body a.et_pb_button:hover{color:rgba(255,255,255,0.8)!important}

.et_pb_bg_layout_light .et_pb_post p {
	color:#434246;
	letter-spacing: 0.02em;
}
.et_pb_module.et_pb_text ol, .et_pb_module.et_pb_text ul, .et_pb_blurb_description ol, .et_pb_blurb_description ul,
#left-area ol, .entry-content ol, .et-l--body ol, .et-l--footer ol, .et-l--header ol, #left-area ul, .entry-content ol, .et-l--body ul, .et-l--footer ul, .et-l--header ul {padding: 15px 20px 15px !important;}
#left-area ol li, .entry-content ol li, .et-l--body ol li, .et-l--footer ol li, .et-l--header ol li{padding-bottom: 10px;}

#left-area ul, .entry-content ul, .comment-content ul, body.et-pb-preview #main-content .container ul {line-height:inherit}
#left-area ul, .entry-content ul li, .comment-content ul li, body.et-pb-preview #main-content .container ul li {padding-bottom: 15px;}
.et_pb_widget ul li {margin-bottom: 0; padding-bottom: 0.5em;}
.et_pb_toggle_content li {line-height:1.6em}


.et_pb_gallery_item, .et_pb_portfolio_item, .et_pb_blurb_content, .et_pb_tabs_controls, .et_pb_tab, .et_pb_slide_description, .et_pb_pricing_heading, .et_pb_pricing_content, .et_pb_promo_description, .et_pb_newsletter_description, .et_pb_counter_title, .et_pb_circle_counter, .et_pb_number_counter, .et_pb_toggle_title, .et_pb_toggle_content, .et_pb_contact_main_title, .et_pb_testimonial_description_inner, .et_pb_team_member, .et_pb_countdown_timer_container, .et_pb_post, .et_pb_text, .product, .et_pb_widget, .et_pb_wc_additional_info, .et_pb_wc_breadcrumb, .et_pb_wc_title, .et_pb_wc_stock, .et_pb_wc_rating, .et_pb_wc_price, .et_pb_wc_meta, .et_pb_wc_description, .et_pb_wc_add_to_cart {word-wrap:normal}


/*Nav/Menus*/
#et-top-navigation {text-align:right}
.secondary a {padding:10px; margin-bottom:5px; border-top-left-radius: 5px; border-bottom-right-radius: 10px;}
#et-secondary-nav li.secondary {margin-right:8px}
#et-secondary-nav li.secondary:last-child {margin-right:0}
.donate a {background:#697a1a; color:#fff!important}
.join a {background:#695d8c; color:#fff!important;}
.join a:hover {background:rgba(105, 92, 140, 0.95)}
.et_pb_blurb.own_tertiary_menu_items .et_pb_blurb_container {padding-top:4px}

body.et_fixed_nav.et_secondary_nav_enabled #main-header, body.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_enabled #main-header {top: 39px;}
body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header, body.admin-bar.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_enabled #main-header {top: 71px;}
#top-header {font-size:11px}
#top-header .container {padding-top: 5px;}
body #top-menu li a, body #top-header a {font-weight:600}
body #top-menu-nav #top-menu li a {font-weight:500}

#logo {margin-top: -43px;}
body #main-header {z-index: 100010;}
#wpadminbar {z-index: 100011;}

#top-header .et-social-icons {
	float:left;
}
#et-secondary-menu {height:34px}

#et-secondary-menu>ul>li>a:hover {
	color: #87974a;
}
#et-secondary-menu .et-social-icons {
    margin-right: 10px;
}

#top-header .et-social-icons li {margin-left: 5px;}

.et-social-facebook a.icon:before {
	    content: "\e0c1";
}
#top-header .et-social-icon a {
    font-size: 18px;
}
#et-secondary-menu>ul>li.et-social-icon a {
	padding-bottom:0;
	color: #858687;
}

#main-header .nav li ul {
	border-radius: 0 0 5px 5px;
}

.nav li li {
    line-height: 1.5em;
}

#top-menu li li a {padding: 8px 22px;}

body #top-menu-nav #top-menu li.current-menu-ancestor>a, body .et-fixed-header #top-menu li.current-menu-ancestor>a {
	color:#4d4d4d;
	font-weight:500;
	opacity: 1;
}

#top-header.et-fixed-header {background-color: #eff4db;}
@media (min-width: 981px) {
    #main-header.et-fixed-header {
        -webkit-box-shadow:none !important;
        box-shadow:none !important;
    }
}

/*Mobile Menu*/
body .mobmenu-left-panel .mobmenu-left-bt, .mobmenu-right-panel .mobmenu-right-bt {top:15px!important}
body .mobmenu-left-panel form#searchform, .mobmenu-right-panel form#searchform {margin-bottom:20px}
body .mobmenu-left-panel form#searchform input#s, .mobmenu-right-panel form#searchform input#s {
	font-size: 18px;
	padding: 8px 5px;
	border-radius: 3px ;
	margin-left: 12px;
	background-color: #d3d1d7;
	border:1px solid #fff;
	width:70%;
}
body .mobmenu-left-panel form#searchform input#searchsubmit, .mobmenu-right-panel form#searchform input#searchsubmit {
	font-size: 14px;
    background: transparent;
    color: #fff;
    padding: 10px 10px 11px;
    float: right;
    border-radius: 3px 3px 10px 3px;
	border: 1px solid #fff;
	width:24%;
}

.mob-expand-submenu {
	background: #4d426f;
    border-radius: 3px;
}

/*Breadcrumbs*/
body .et_pb_sidebar_0.et_pb_widget_area, body .et_pb_sidebar_0.et_pb_widget_area li, body .et_pb_sidebar_0.et_pb_widget_area li:before, body.et-db #et-boc .et-l .et_pb_sidebar_0.et_pb_widget_area, body.et-db #et-boc .et-l .et_pb_sidebar_0.et_pb_widget_area li, body.et-db #et-boc .et-l .et_pb_sidebar_0.et_pb_widget_area li:before
{
	font-weight:400; 
	color:#666!important
}

body .et_pb_sidebar_0.et_pb_widget_area a, body .breadcrumbs a, body.et-db #et-boc .et_pb_sidebar_0.et_pb_widget_area a, body.et-db #et-boc .et-l .et_pb_sidebar_0.et_pb_widget_area a {
    color:#61721f!important;
}

.et_pb_gutters1 .et_pb_column_4_4 .et_pb_widget.widget_breadcrumb_navxt, .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .et_pb_widget.widget_breadcrumb_navxt, .et-db #et-boc .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .et_pb_widget.widget_breadcrumb_navxt {width:100%}




/*Buttons*/
body .et_pb_button {font-weight:500!important}

body a.et_pb_button, .sf-field-submit input {	
	border-radius: 5px 5px 20px 5px!important;
	padding: 11px 20px 10px;
}

.news-items .more-link, .archive .more-link, .search .more-link, body .post-grid .element.read_more, #post-grid-26433 .element_2.read_more, .timeline-navigation div > a, .timeline-navigation a.btn, body .caldera-grid input[type=submit], body .qpp-style.Membership input[type=submit],body .qpp-style input#submit, .sf-field-submit input, body .post-grid .element.read_more, body .post-grid .element .read-more, body .post-grid .excerpt_read_more a, .insta-gallery-button, .sb-loadmore  {
	border-radius: 5px 5px 20px 5px!important;
    font-weight: 500;
	font-size: 16px;
    font-style: normal;
    text-decoration: none;
	text-transform:uppercase;
    letter-spacing: 4px;
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif!important;
	position:relative;
	transition: all 300ms ease 0ms;
	cursor:pointer;
}

.sf-field-submit input, .timeline-navigation div > a, body .insta-gallery-button, body .insta-gallery-feed .insta-gallery-actions .insta-gallery-button.follow, .sb-loadmore {
	color: #87974b;
	font-size: 16px;
    background-color: rgba(255,255,255,0);
	border: 2px solid #90a15a;
	display:block;
}

.news-items .more-link, .archive .more-link, body .post-grid .element.read_more, body .post-grid .element .read-more, body .post-grid .excerpt_read_more a, .search .more-link {
	margin-top: 20px;
    display: table;
    padding: 3px 20px;
	color: #695d8c!important;
    border: 2px solid #7a6da0;
}
.search .more-link {margin-top: 0px;}
.archive .more-link {margin: 0 30px 30px 30px;}
.news-items .more-link:hover, .archive .more-link:hover, body .post-grid .element.read_more:hover, body .post-grid .element .read-more:hover, body .post-grid .excerpt_read_more a  {
	padding-right: 2em;
} 

.timeline-navigation div > a::after, .timeline-navigation a.btn::after, .timeline-navigation.defa .next-timeline a::after, .news-items .more-link::after, .archive .more-link::after, body .post-grid .element.read_more::after, body .post-grid .element .read-more::after,body .post-grid .excerpt_read_more a::after, .timeline-navigation div.previous-timeline > a::before, .timeline-navigation.defa .previous-timeline a::before, .sb-loadmore p::after  {
	position: absolute;
	margin-left: -1em;
	opacity: 0;
	text-shadow: none;
	font-family: 'ETModules';
	font-size: 28px;
	font-weight: 400;
	font-style: normal;
	font-variant: none;
	line-height: 1em;
	text-transform: none;
	content: "\35";
	-webkit-transition: all 300ms ease 0ms;
	-moz-transition: all 300ms ease 0ms;
	transition: all 300ms ease 0ms;
}
.sb-loadmore p::after {
	line-height: .7em;
	content: "\33";
}

.sb-loadmore:hover {background-color:#fff}

.timeline-navigation div > a:hover::after, .timeline-navigation a.btn:hover::after, .timeline-navigation.defa .next-timeline a:hover::after,  .news-items .more-link:hover::after, .archive .more-link:hover::after, body .post-grid .element.read_more:hover::after, body .post-grid .element .read-more:hover::after,body .post-grid .excerpt_read_more a:hover::after, .sb-loadmore p:hover::after  {
    left: auto;
    margin-left: -5px;
    opacity: 1;
	transition: none !important;
}


.et_pb_button:hover, .et_pb_module .et_pb_button:hover, .timeline-navigation div > a:hover, .timeline-navigation a.btn:hover  {
	padding: 11px 2em 10px 20px;
	border-radius: 5px 5px 20px 5px;
}

.sf-field-submit input:hover {
	border: 2px solid rgba(144, 161, 90, 0.6);
	color: 2px solid rgba(144, 161, 90, 0.6);
}

/*Cookies Notice*/
body #cookie-notice {
	position: fixed;
    right: 1vw;
    left: auto;
    width: 400px;
    min-width: 1px;
    max-width: 500px;
    top: auto;
	bottom:0;
    height: auto;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95) !important;
	box-shadow: 1px 1px 10px #aaa;
}
body #cookie-notice.cn-bottom {
    bottom: 1vw;
}
body #cookie-notice #cn-notice-text {
    color: #333333;
    font-size: 18px;
    line-height: 1.2em;
}
body #cookie-notice .button {
	background-color: #829052;
	background-image:none;
	color:#fff;
	text-transform: uppercase;
	border: none;
    width: 100%;
    font-size: 16px;
    text-shadow: none;
    padding: 8px;
    margin-top: 20px;
}

body #cookie-notice.cookie-notice-hidden {box-shadow: none}

/*force button hover colour -divi overrides not working*/
.et_pb_slider .et_pb_button:hover, body .cta .et_pb_button:hover, .secondary-button.et_pb_button:hover, .et_pb_module .secondary-button.et_pb_button:hover {border-color: #fff!important;}


/*Footer*/
footer #footer-info {
	padding:0;
	text-align:center;
	width:100%;
}
footer #footer-bottom {padding: 5px 0;}
footer .et-social-icons {display:none;}

/*Search*/
.search #main-content .container {padding-top: 0; width:90%; max-width:90%}
.search h1, .search h2 {text-align:center}
.search h2 {color:#434246}
.search .et_pb_image_container img, .search .et_pb_post a img {width:100%;height:100%}
.search .et_pb_section.vsp-search-form, .search.et-db #et-boc .et-l .et_pb_section.vsp-search-form {padding-top:0}
.search .et_pb_section.vsp-search-form .et_pb_row, .search.et-db #et-boc .et-l .et_pb_section.vsp-search-form .et_pb_row
 {width:40%; padding:0}
.search .et_pb_section_first {padding-top:0px!important}
.search .et_pb_section_first .et_pb_row {padding:0}
.search article {margin-bottom:60px;overflow:hidden;}

.inline-search input.et_pb_searchsubmit,
.widget_search input#searchsubmit, .search input.et_pb_searchsubmit, .error404 input.et_pb_searchsubmit, .search.et-db #et-boc .et-l .et_pb_search input.et_pb_searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}
.inline-search input.et_pb_s,
.widget_search input#s, .search input.et_pb_s, .error404 .search input.et_pb_s, .search.et-db #et-boc .et-l .et_pb_search input.et_pb_s{
    padding-right: 55px !important;
	font-size:18px;
}

.error404 .et_pb_search input.et_pb_s{
    margin: 0;
    padding: 0.715em;
    border: none;
    font-size: 18px;
    line-height: normal !important;
	background:rgba(255, 255, 255, 0.7);
}
.error404 .et_pb_search input.et_pb_s::placeholder {color: rgba(0, 0, 0, 0.6)!important;}

.inline-search .et_pb_searchform::before, .widget_search::before, .search .et_pb_searchform::before, .error404 .et_pb_searchform::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 18px;
    padding: 10px 20px;
	color: #434246
}

.inline-search .et_pb_searchform:hover::before,
.widget_search:hover::before, .search .et_pb_searchform:hover::before, .error404 .et_pb_searchform:hover::before{
	opacity:0.5;
}


/*404*/
.error404 .et_pb_search {width:50%; margin: 0 auto}

/*Accessbility*/
#et-secondary-menu>ul>li.font-size a {padding-bottom: 0}

.font-size {
    background: #e7e8e4;
    padding: 10px 10px 9px 10px;
	border-top-left-radius: 5px;
    border-bottom-right-radius: 10px;
	top: 1px;
	margin-left:5px;
}

#top-header a.top-link-size {display:inline-block; margin: 0 3px;}
#top-header a.size-1 {font-size: 14px;}
#top-header a.size-2 {font-size: 16px;}
#top-header a.size-3 {font-size: 18px;}

.screen-reader-text {
    display: none;
}

/*Responsive iframe*/
iframe {aspect-ratio: 16 / 9;width: 100%;height: 100%;}

/*Fullwidth Module*/


/*Latest News blog/Archive/Group/Events/Related*/
.news-items .et_pb_blog_grid .et_pb_post, .archive #articles .et_pb_post, .search article, .crp_related ul li{
	padding: 0;
	border-radius: 0 0 30px 30px;
    border: none;
}

.crp_related ul {list-style-type: none; text-align:center; padding:0}
.crp_related ul li {margin: 0 25px; vertical-align:top}
.crp_related ul li .crp_image_wrap {display:block; height:132px!important;overflow:hidden; background:#333}
.crp_related ul li img {width:100%; height:auto; position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%);filter: saturate(0%) contrast(104%);}
.crp_related figure { margin: 0;box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);border-radius: 10px;}
.crp_related figure span {border-radius: 10px;}
.crp_related .crp_title {display:block; text-transform:none; font-family:'Montserrat',Helvetica,Arial,Lucida,sans-serif;padding-top: 20px;}
.crp_related .crp_excerpt, .crp_related .crp_title {text-align:left}
.crp_related.crp-grid ul li a.crp_link {overflow:visible}

body .et_pb_bg_layout_light .et_pb_post p, body .et_pb_bg_layout_dark .et_pb_post p, .search article p {font-size:20px!important}
.search article p {padding: 15px 30px 1em 30px!important;}
.news-items .et_pb_image_container, .archive .et_pb_image_container, .search article .et_pb_image_container {margin:0}
.news-items .entry-title, .archive .entry-title, .search article .entry-title {padding: 20px 30px;}
.archive #articles .et_pb_post .entry-title, .search article .entry-title, .crp_title {
	font-size: 22px !important;
	font-weight: 700;
    color: #A7B94E !important;
    text-align: center !important;
	text-transform: none;
}
.search article > a {display:flex;}
.archive #articles .entry-featured-image-url, .archive .et_pb_post > a, 
.news-items .et_pb_post .entry-featured-image-url, .archive .et_pb_post .entry-featured-image-url, .search article > a  {margin-bottom:0; }
.news-items .et_pb_post p.post-meta, .archive .et_pb_post .post-meta {color: #999; font-weight:500; font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif; padding: 15px 30px 2px 30px; font-size:16px!important}
.search article .post-meta {display:none}
.news-items .post-content, .archive .post-content, .crp_excerpt {padding: 0 30px 30px 30px!important;}
.crp_excerpt {padding-top:30px!important; background: #fff; border-radius: 0 0 30px 30px;}
.archive .post-content, .crp_excerpt {font-size: 18px}
.wp-pagenavi {text-align:center; font-family:'Montserrat',Helvetica,Arial,Lucida,sans-serif}
body .wp-pagenavi a, body .wp-pagenavi span {font-size:16px!important; color:#757575}
body .wp-pagenavi span.current, body .wp-pagenavi a:hover {color:#61721f!important; font-weight:600!important}

.et_post_meta_wrapper, .post-navigation {display:none}

/*Post Grid*/
.generic-grid .post-grid .element.excerpt, .generic-grid .post-grid .element.excerpt_read_more {
	font-size:20px;
    padding: 20px 20px 20px 20px!important;
}

.generic-grid .post-grid .element.title_link a{
	color: #ffffff;
	display:block;
	letter-spacing: 1px!important;
    line-height: 1.4em!important;
	background: #695d8c;
	padding: 20px 20px!important;
	font-size: 19px;
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
	text-align:left;
	text-decoration:none;
	text-transform: uppercase;
}

.generic-grid  .post-grid .item h3 {
	background: #695d8c;
	padding-bottom:0;
}

.generic-grid  .post-grid .item {
    border-radius: 0 0 30px 30px;
    box-shadow: 1px 1px 15px #d2d1d175;
    border: none;
	text-align:left;
	margin-top:5px;
}

#post-grid-26433 .element_0 {padding:0!important;}

body .generic-grid .post-grid .element.read_more, body .generic-grid .post-grid .element .read-more, body .post-grid .excerpt_read_more a {margin: 20px 20px 10px 0; text-align:center; margin-right: 0;}

body .generic-grid .post-grid .pagination .current, body .generic-grid .post-grid .pagination .pager.active, body .post-grid .pagination .page-numbers:hover {
	opacity:1;
	background: transparent!important;
    color: #61721f!important;
    font-weight: 600;
}


/*Testiminial Module*/
body .et_pb_testimonial_0.et_pb_testimonial, body .et_pb_testimonial {overflow: visible!important}

/*Forms*/

form#searchform {
float: left;
margin-right:15px;
}

.et_contact_bottom_container {width:100%}
body #page-container #et_pb_contact_form_0.et_pb_contact_form_container.et_pb_module .et_pb_button, .et_pb_contact_form .et_pb_contact_submit.et_pb_button {width:97%}
.et_pb_contact_submit, .et_pb_contact_reset {margin: 0 0 0 3%;}


/**Documents**/
/*filter*/
.tab-filters li ul li {border:1px solid rgba(0,0,0,0.12); padding:.25em 1.4em .3em .8em;margin-right: -1px;}
.tab-filters li ul li:hover, .tab-filters li ul li label:hover {cursor:pointer}
.tab-filters li ul li input {display:none}
.tab-filters li ul li label {font-size: 18px;}

@media (max-width: 767px) {
	.entry-content .tab-filters ul li.sf-field-taxonomy-document_types, .entry-content .tab-filters ul li.sf-field-sort_order, .entry-content .tab-filters.sf-field-search {padding-bottom: 0;}
	.tab-filters li ul li {padding:.25em 0.5em .3em .1em}
	.tab-filters li ul li label, .tab-filters .sf-input-select, .tab-filters input[type=text].sf-input-text {font-size: 14px;}
	.tab-filters .sf-input-select {padding: 1em 1.4em .9em .8em;}
	.tab-filters  input[type=text].sf-input-text {padding: 1em; width:100px}
	.tab-filters .searchandfilter select.sf-input-select {
    	min-width: 140px;
	}
}    

.tab-filters .sf-field-sort_order label {position:relative;}
.tab-filters .sf-field-sort_order label:after {
	content:"3";
	font-family:'ETmodules';
    right: 12px;
    top: 5px;
    position: absolute;}

.entry-content .tab-filters .searchandfilter ul {
    padding:0 0 0 0;
	text-align:center;
}
.searchandfilter ul li.sf-item-170 {display:none;}

.documents .post-grid .item {
	border-radius: 0 0 30px 30px;
    box-shadow: 1px 1px 15px #d2d1d175;
}

.documents .post-grid .item .meta_key a {
	
    display: block;
    padding: 0px 20px;
    margin: 0;
    color: #fff!important;
    border-radius: 0px 0px 20px 0px!important;
    font-weight: 500;
    font-size: 12px;
    font-style: normal;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif!important;
    position: relative;
    transition: all 300ms ease 0ms;
    cursor: pointer;
    background: #61721f!important;
    position: absolute;
    top: 56%;
	width:60%;
    box-shadow: 1px 1px 15px #d2d1d175;
}

.documents .acf_text, .documents  .acf_textarea {
	background: #a7b84e;
    color: #fff;
    width: 60%;
    border-radius: 0 0 15px 0;
	font-size: 15px;
    text-transform: uppercase;
    padding-left: 20px;
	margin-top: -10px;
    z-index: 9999999;
    position: relative;
	box-shadow: 1px 1px 15px #d2d1d175;
}

.documents .thumb_link {line-height:0}

.documents .post-grid .item .title_link a {
	font-weight: 600;
    font-size: 18px;
	color: #695d8c;
    text-transform: uppercase;
    padding: 10px 15px;
	line-height: 1.3em;
}

.documents .post-grid .item .excerpt {
	text-align: left;
    padding: 0 15px 20px 15px;
	margin:0;
	font-size:18px;
	line-height:1.4em;
}

.searchandfilter ul li.sf-item-175 {display:none}

/*doc grid*/
.thumbnail-wrap {
	height: 396px;
    overflow: hidden;
}

.grid-items h3 {padding-bottom:0}
.post-title-wrap, .post-exerpt-wrap {
	height:auto!important;
    overflow: hidden;
    margin-bottom: 0px!important;
}

.post-title-wrap a{
   display: -webkit-box;
   text-overflow: ellipsis;
   -webkit-line-clamp: 5;
   -webkit-box-orient: vertical;  
}


/* Media query for devices with a minimum width of 767 pixels */
@media (min-width: 767px) {
    /* Flexbox display for blurb content */
    .pa-vertical-align-blurb .et_pb_blurb_content {
        display: flex!important;
    }
    
    /* Flexbox display for blurb container */
    .pa-vertical-align-blurb .et_pb_blurb_container {
        display: flex!important;
        justify-content: center; /* Center align blurb container horizontally */
        flex-direction: column; /* Arrange blurb container content in a column */
    }
    
    /* Flexbox display for main blurb image */
    .et-db #et-boc .et-l .pa-vertical-align-blurb .et_pb_main_blurb_image {
        display: flex;
        width: auto!important; /* Ensure blurb image width adjusts automatically */
        margin-bottom: 0px!important; /* Remove bottom margin for better alignment */
    }
}

/*Monarch*/
.et_monarch .et_social_mobile {background: rgba(37, 30, 56, 0.82);}
.et_monarch .et_social_mobile_button:before {height: 40px;}

/*Tabs*/
.et_pb_tabs .et_pb_tabs_controls {text-align: center;}
.et_pb_tabs .et_pb_tabs_controls li {border-radius: 0 0 5px 5px; display: inline-block; float:none}
.et_pb_tabs .et_pb_tabs_controls li a {padding: 4px 20px 4px;}

/*Taxonomy Filters*/
.cpt-filter .filterable-blogposts article {opacity:1!important}
.searchandfilter ul li, #search-filter h3, #search-filter form{
    display: inline-block;
}
#search-filter h3 {padding: 0 0 0 1em;}
.entry-content .searchandfilter ul {padding: 0 0 0 1em;}
.searchandfilter ul li {margin-right:20px}
.sf-input-select {
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    width: 100%;
    max-width: 100%; 
    box-sizing: border-box;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
	font-size:18px;
	cursor:pointer;
}
.sf-field-taxonomy-postcode label, .sf-field-taxonomy-genre label {position:relative}
.sf-field-taxonomy-postcode label:after, .sf-field-taxonomy-genre label:after {
	position: absolute;
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    margin-top: 3px;
    border: 6px solid;
    border-color: #666 transparent transparent transparent;
    content: "";
    transform: translateY(-50%);
    pointer-events: none;
}

.select-css::-ms-expand {
    display: none;
}

.select-css:focus {
    border-color: #666;
    outline: none;
}
.select-css option {
    font-weight:normal;
}
input[type=text].sf-input-text {
	font-size: 18px;
    padding: 0.55em;
}
.search-filter-reset {
	font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*Masonry archive*/
/*
* Remove sidebar on all archive pages
*/
.search #main-content .container::before,
.archive #main-content .container::before {
    display: none;
}
.search #left-area,
.archive #left-area {
    width: 100%;
    float: none;
    padding-right: 0;
}
.search #sidebar,
.archive #sidebar {
    display: none;
}
 

/*Devices*/




@media only screen and (min-width: 981px) {
	#logo {
		max-height: 100px!important;
	}
	body #top-menu-nav #top-menu li.current-menu-ancestor>a, body .et-fixed-header #top-menu li.current-menu-ancestor>a{
	    color:#7e9603!important;
    }
	
	body #cookie-notice {
		bottom:0px;
	}
	

}


@media (max-width: 980px) {
	
	body #main-header {z-index: 0;}
	#wpadminbar {z-index: 100011;}
	
    
	#fat-footer .et_pb_column, body.et-db #et-boc .et-l #fat-footer .et_pb_column_4_tb_body, body.et-db #et-boc .et-l #fat-footer .et_pb_column {width:100%!important; margin-right:0!important; text-align:center}
	
	
	.mobmenu-content #mobmenuright li:hover, .mobmenu-content #mobmenuright > li > a:hover {background-color: #8779af}
	
	/*** Re-order columns on smaller devices ***/
	/*** wrap row in a flex box ***/
	.reorder_row {
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	  display: flex;
	-webkit-flex-wrap: wrap; /* Safari 6.1+ */
	flex-wrap: wrap;
	}

	/*** custom classes that will designate the order of columns in the flex box row ***/
	.first-on-mobile {
	-webkit-order: 1;
	order: 1;
	}

	.second-on-mobile {
	-webkit-order: 2;
	order: 2;
	}

	.third-on-mobile {
	-webkit-order: 3;
	order: 3;
	}

	.fourth-on-mobile {
	-webkit-order: 4;
	order: 4;
	}
	
	.fifth-on-mobile {
	-webkit-order: 5;
	order: 5;
	}
	
	.sixth-on-mobile {
	-webkit-order: 6;
	order: 6;
	}
	
	.seventh-on-mobile {
	-webkit-order: 7;
	order: 7;
	}
	
	.eigth-on-mobile {
	-webkit-order: 8;
	order: 8;
	}
	/*** add margin to last column ***/
	.custom_row:last-child .et_pb_column:last-child {
	margin-bottom: 30px;
	}
	.impact-stats.et_section_specialty .et_pb_row > .et_pb_column {margin-bottom:0}
	.impact-stats .et_pb_row {width:98%;max-width:100%}
	
	/*post grid*/
	#events-highlights .post-grid .item {width: 100%; display: inline-block;}

	/*Related posts*/
	.crp_related { text-align: center; width: 100%;}
	.crp_related ul li { margin: 0 25px 30px; width: 80%;}
	.crp_related ul li img {height:auto}
	/*Related Posts*/
	.crp_related ul li .crp_image_wrap { height:300px;}
	

}

@media only screen and ( min-width: 768px ) {
 /* 3 column portfolio grid */
	.three-column-grid .et_pb_portfolio_grid_items .et_pb_grid_item {
	width: 28.333% !important;
	margin: 0 7.5% 30px 0 !important;
	}

	.three-column-grid .et_pb_grid_item:nth-child(3n) {
	margin-right: 0 !important;
	}

	.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
	clear: left;
	}

	.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
	clear: unset !important;
	}


}
@media (max-width: 767px) {
	
	
	/*Related Posts*/
	.crp_related ul {padding-left:0}
	.crp_related ul li .crp_image_wrap { height:250px;}
	.crp_related ul li {width:100%;margin: 0 0px 30px;}
	.crp_related ul li img {width:100%; max-height:inherit!important; max-width:inherit!important}

	
	/*Groups grid*/
	body .generic-grid .post-grid .item {margin:0 0 30px 0!important; border:1px solid #d2d1d175}
	

	/*Footer adjustment for Monarch social share*/
	#main-footer{
	    margin-bottom:40px!important;
	}
}

@media (max-width: 520px){
	
	/*Related Posts*/
	.crp_related ul li .crp_image_wrap { height:150px;}
	
	/*Cookie Bar*/
	body #cookie-notice {
		width: 100%;
		bottom:40px;
	}
	
	
}

@media screen and (min-width: 480px) {
	
	body #et-secondary-menu .et-social-icons {
		margin-top: 7px;
	}
	
 	/*Cookie Bar*/
	body #cookie-notice {
		width: 80%;
		bottom:40px;
	}
}


@media only screen and (min-width: 1299px) {
	body #post-grid .item, body #post-grid-28548 .item {
		height: 650px;
	}
}

