/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


.elementor-nav-menu--main .menu-button a{
	border-bottom: 1px solid var(--e-global-color-70f1235 );
	min-width: 150px;
	justify-content: center;
	color: var(--e-global-color-70f1235 ) !important;
}
.elementor-nav-menu .donate-button a{
	border-color: var(--e-global-color-ca6c54e );
	background-color: var(--e-global-color-ca6c54e );
	    color: var(--e-global-color-secondary ) !important;
}
.elementor-nav-menu li.subscript-button {
    margin-left: 1rem;
}
.header-search .elementor-search-form__container {
    background: transparent !important;
}
.elementor-post{
	position: relative;
}
.elementor-post .elementor-post__meta-data{
	order: -1;
	position: absolute;
	top: 12px;
	left: 0;
	white-space: nowrap;
}
.arrow{
	background: url(https://percapita.org.au/wp-content/uploads/2023/02/arrow.png) center center no-repeat;
	width: 24px;
	height: 24px;
	display: inline-block;
	background-size: contain;
}

.post_container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.post_container > div {
    padding: 0 15px;
}

.title_section {
    max-width: 100%;
    flex: 0 0 auto;
    width: 25%;
}

.posts_section {
    max-width: 100%;
    flex: 0 0 auto;
    width: 75%;
}
.posts_section.full{
	width:100%;
}

.post_columns {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.post_column {
    max-width: 100%;
    flex: 0 0 auto;
    width: 33.33333333%;
    padding: 15px;
	margin-bottom: 3rem;
}
.columns-2 .post_column {
	width: 50%;
}
@media (min-width:1200px){
.columns-4 .post_column {
		width: 25%;
	}
}

.date_top {
    display: flex;
    justify-content: space-between;
   
	min-height: 69px;
}
.post__in{
	 border-top: 1px solid;
    padding-top: .75rem;
	padding-bottom: .75rem;
    position: relative;
}

.post__in h3 > a:before {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    content: "";
}

.post__in:hover a {
    text-decoration: underline;
}
.post__in:hover .cat_c{
	background-color: var(--e-global-color-secondary) !important;
}

.post__in:hover .cat_c svg path {
    stroke: white !important;
}

.cat_icon {
    width: 2.75rem;
	height: 2.75rem;
	min-width: 2.75rem;
    border-radius: 100%;
    display: flex;
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
	margin-bottom: 1.5rem;
	margin-left: auto;
	    background-color: var(--e-global-color-primary );
	    z-index: 2;
    position: relative;
}
.categories_section .cat_icon  {
	margin-left: auto;
	margin-right: auto;
}
.cat_icon svg {
    width: 100%;
    height: 100%;
}
.title_inner {
    border-top: 1px solid;
    padding-top: .5rem;
}

.content_p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2rem;
	min-height: 4.75rem;
    max-height: 4.75rem;
}
@media (max-width:767px) {
    .content_p {
        min-height: 3.9375rem;
        max-height: 3.9375rem;
    }
}


.post_column h3 {
    display: -webkit-box;
    /*-webkit-line-clamp: 3;*/
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
	/*min-height: 6.5rem;*/
}
.feature_thumb {
    margin-bottom: 1rem;
}
.view_more {
    border-top: 1px solid;
    padding-top: 1rem;
    display: block;
    max-width: 150px;
    margin-top: 4rem;
}


.view_more svg {
    display: block;
    margin-top: 1rem;
}
.post_more svg path,
.view_more svg path{
	   stroke: var( --e-global-color-primary );
}
.categories_section .post__in {
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
	position: relative;
    z-index: 3;
    min-height: 242px;
    overflow:hidden;
}

span.cats_bg {
position: absolute;
    background: linear-gradient(0deg,  var(--e-global-color-secondary),  var(--e-global-color-secondary)), url(analuzing-economics-2021-08-31-20-28-03-utc.jpg);
    background-blend-mode: color, normal;
    mix-blend-mode: multiply;
    opacity: 0.1;
    filter: blur(2px);
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
       opacity: 0;
    transition: .5s all ease;
}

.research-view .categories_section .post__in:before{
 background: var(--e-global-color-primary);
}

.categories_section .post__in:after {
    background-image: url(https://percapita.org.au/wp-content/uploads/2023/03/analuzing-economics-2021-08-31-20-28-03-utc-1.jpg);
    background-blend-mode: multiply;
    background-size: cover;
}


a.cover_link {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    top: 0;
}

.categories_section .content_p{
	display: none;
	margin-bottom:0;
}

.categories_section .post__in:hover:before,
.categories_section .post__in:hover:after{
 opacity: 0;
}
.categories_section .post__in:hover span.cats_bg{
	opacity: .1;	
}
.categories_section .post__in:hover h3{
	display: none;
}

.categories_section .post__in:hover .content_p{
	display: -webkit-box;
}
.categories_section .post_column{
	margin-bottom: 0;
}
.categories_section .post_column h3 {
    min-height: 3.75rem;
    margin-bottom: 0;
    -webkit-line-clamp: 2;
}

.home-button .elementor-button small {
    display: block;
    margin: .325rem 0;
}

.staff_detail .feature_thumb img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 200px 200px 200px 200px;
}

.pd_alm_loadmore_btn {
    text-align: center;
    margin: 0 auto;
    display: block;
    max-width: 240px;
    font-weight: normal;
}

.pd_alm_loadmore_btn svg {
    display: block;
    margin: 1rem auto;
}

.feature_thumb.circle_image {
	width: 50%;
    border-radius: 100%;
    background-size: contain;
    background-blend-mode: luminosity;
	    margin-left: auto;
    margin-top: -4rem;
	position: relative;
	max-width: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.feature_thumb.circle_image:after {
    content: "";
    padding-top: 100%;
    display: block;
}
.post_ftr {
    position: relative;
    z-index: 2;
}

.post_ftr a {margin-right: 2rem;display: inline-block;vertical-align: middle;}

.feature_thumb.circle_image > a {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.date_top >div {
    width: 50%;
}
.last_p .elementor-widget-container p:last-child{
	margin-bottom: 0;
}
.image_height img {
    object-fit: cover;
}

.single_cat .cat_icon {
    width: 4rem;
    height: 4rem;
    padding: 1.125rem;
    margin: 0 auto;
}

.display-none {
    display: none !important;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .8);
    z-index: 999;
    opacity: 1;
    transition: all 0.5s;
}

.lds-dual-ring {
    display: inline-block;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 5% auto;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




.contact-form .wpcf7-form label {
    display: none;
}

.contact-form .mc4wp-form-fields br,
.contact-form .wpcf7-form br {
    display: none;
}

.contact-form .mc4wp-form-fields input,
.contact-form .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.contact-form .mc4wp-form-fields input,
.contact-form .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control {
    display: block;
    width: 100%;
    background-color: rgba(222, 220, 211, 0.2);
    border-color: transparent;
    height: 50px;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

.contact-form .wpcf7-form .wpcf7-form-control-wrap .wpcf7-textarea {
    height: 152px;
}

.contact-form .mc4wp-form-fields .subscribe_button,
.contact-form .wpcf7-form .wpcf7-submit {
    font-weight: 500;
    background-color: #224D43;
    font-family: Montserrat, sans-serif;
    height: 50px;
    font-size: 18px;
    padding: 10px 55px;
    width: auto;
}

.elementor-nav-menu .menu-item-has-children a {
    border-bottom: 2px solid transparent;
    border-radius:0 !important;
}
.elementor-nav-menu > li.menu-item-has-children li a{
    border-color: var(--e-global-color-secondary ) !important;
	background-color: transparent !important;
}



.elementor-top-section {
    padding: 5rem;
}

.loading_posts svg {
    transform: rotate(360deg);
    transition: all 3s ease;
}

.elementor-editor-active .posts_section .owl-carousel {
    display: flex;
}
.owl-item .post_column {
    width: 100%;
}

.posts_section .owl-carousel:hover .owl-dots {
    opacity: 1;
}

.posts_section .owl-dots {
    display: flex;
    padding: 0 15px;
    opacity: 0;
    position: relative;
    top: -1rem;
}

.posts_section .owl-dots .owl-dot {
    background-color: var( --e-global-color-e67086b );
    flex: 1 1 auto;
    height: 2px;
    transition: all .25s ease;
    opacity: .2;
}

.posts_section .owl-dots .owl-dot.active {
    opacity: 1;
}

@media (max-width: 1600px) {
    .elementor-top-section {
            padding: 4rem;
    }
}
@media (max-width: 1024px) {

    .elementor-top-section {
        padding: 3rem;
    }

    .elementor-nav-menu__container {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        z-index: -1;
        padding: 150px 20px 20px;
        margin-top: 0 !important;
    }

    .elementor-nav-menu--toggle .elementor-menu-toggle {
        padding: 0;
    }

    .elementor-nav-menu li.subscript-button {
        margin-top: 2rem;
        margin-left: 0;
    }

    .elementor-nav-menu li.subscript-button .elementor-item {
        color: var(--e-global-color-70f1235) !important;
        border-top: 1px solid;
    }

    .menu-item-has-children>.sub-menu .menu-item:first-child a {
        border-top: 2px solid var(--e-global-color-secondary);
    }
	.elementor-nav-menu > li.menu-item-has-children:not(.menu-button):hover> a{
		border-color: transparent;
	}

}

.research-view .post_column {
    width: 50%;
}

.title_inner p:empty {
    display: none;
}




@media (max-width: 767px) {

    body,
    button,
    input,
    select,
    textarea {
        font-size: 14px;
    }

    .elementor-top-section {
        padding: 2rem 1rem;
    }

    .post_column h3 {
        min-height: auto;
    }

    .title_section {
        width: 100%;
        margin-bottom: 2rem;
    }

    .post_column {
        width: 100%;
        margin-bottom: 0;
    }

    .posts_section {
        width: 100%;
    }

    .categories_section .post__in {
        padding: 1rem;
    }

    /*.content_p {
        min-height: auto;
        max-height: none;
    }*/
	
	.enabled_scroll .title_section {
		width: 100%;
	}
    .title_section{
     margin-bottom: 1rem;
    }

	.enabled_scroll .posts_section {
		width: 100%;
	}
	
	.feature_thumb.circle_image {
		margin-left: 0;
		margin-top: auto;
	}
	
	.categories_section .post_column {
		width: 50%;
	}
    .research-view .categories_section .post_column {
		width: 100%;
	}
	
	.posts_section .owl-dots {
		opacity: 1;
	}
	
.staff_detail {
        text-align: center;
    }

    .staff_detail .feature_thumb.circle_image {
        margin: 0 auto 1rem !important;
    }
}
ul.elementor-nav-menu--dropdown a {
		border-left: 0 !important;
	}
@media (min-width:1024px){
	.elementor-nav-menu--dropdown {
		padding: 20px !important;
		margin-left: -20px !important;
		padding-top: 0 !important;
	}
	ul.elementor-nav-menu--dropdown a {
		display: inline-block;
	}
	.elementor-nav-menu--dropdown{
	    backdrop-filter: blur(20px) !important;
		background: rgb(34 77 67 / 10%) !important;
	}
	.elementor-nav-menu > li.menu-item-has-children:not(.menu-button):hover> a{
    border-color: var(--e-global-color-secondary ) !important;
	background-color: transparent !important;
}

}



.featured-image.page-header-image {
    display: none;
}

div#lsc_container {
    max-width: 100%;
    border-color: transparent;
    box-shadow: transparent;
}
h2#lsc_title {
    font-family: inherit;
	font-weight: normal !important;
}

#lsc_calculate_button {
    color: #fff;
    text-transform: none;
    border-radius: 0;
    font-weight: 500;
    background-color: #224D43 !important;
    font-family: Montserrat, sans-serif;
    height: 50px;
    font-size: 18px;
    padding: 10px 55px;
    width: auto;
    border: none !important;
    box-shadow: none !important;
}
div#lsc_submit_field {
    background: transparent;
    padding: 0;
}
.post__in.past-events .post_d.pastevent {
    display: block;
}
.post_d.currentevent {
    display: block !important;
}
.lsc_field_box input, .lsc_field_box select {
    min-width: 250px;
}
.elementor-menu-toggle{
	background-color: transparent !important;
}
.filter_cats {
    display: flex;
    justify-content: center;
    align-items: start;
    column-gap: 30px;
    text-align: center;
}

.filter_cats .cat_icon.cat_c {
    margin: 0 0 .75rem 0;
    justify-content: center;
    align-items: center;
	transition: transform .25s ease;
}

.cat_link {
	display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    max-width: 90px;
	cursor: pointer;
}
.cat_link.active .cat_icon {
    transform: scale(1.25);
    background: #DEDCD3 !important;
}

.cat_link.active .cat_icon svg {
    transform: scale(.75);
}

body:not(.elementor-editor-active) .filter_content {
	display: block !important;
	visibility: hidden;
	opacity: 0;
	overflow: hidden;
	height: 0;
	margin: 0;
	transition: all .25s ease;
	position: relative;
	top: 40px;
}

body:not(.elementor-editor-active) .filter_content.active_filter_tab {
	display: block !important;
    height: auto;
    visibility: visible;
    opacity: 1;
    top: 0;
}

body:not(.elementor-editor-active) .filter_content .title_section {
    display: none;
}

body:not(.elementor-editor-active) .filter_content .posts_section {
    width: 100%;
}
.cat_link.active .cat_icon svg path, .cat_link.active .cat_icon svg circle {
    stroke: var( --e-global-color-primary);
}

@media (max-width:1023px) {
	.filter_cats {
		background-color: var(--e-global-color-ca6c54e);
		flex-direction: column;
		padding: 0 1rem;
		border-radius: .5rem;
		min-height: 52px;
		padding-top: 52px;
	}

.filter_cats .cat_icon.cat_c {
    display: none;
}
	.filter_cats .cat_link{
		display:none;
	}
	.filter_cats:hover .cat_link{
		display:flex;
	}
	
.filter_cats h6 {
    margin-bottom: 0;
}

.filter_cats .cat_link {
    padding: 1rem;
    max-width: 100%;
    width: 100%;
    border-bottom: 1px solid var( --e-global-color-secondary );
}

.filter_cats .cat_link.active {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0;
    width: auto;
	display: flex;
	font-weight: bold;
}
	.filter_cats:before {
		content: "";
		width: 12px;
		position: absolute;
		right: 1rem;
		top: 1rem;
		border: 3px solid var(--e-global-color-secondary);
		height: 12px;
		border-top-color: transparent;
		border-left: transparent;
		border-radius: 2px;
		transform: rotate(45deg);
	}
}


.download_icon a {
    display: flex;
    align-items: center;
}

.download_icon a svg {
    margin-right: 1rem;
}

.post_container  .owl-carousel .owl-item img {
    display: block;
    width: auto;
    max-width: 100%;
}

.feature_thumb.circle_image.podcast_featured {
    margin-top: 0;
    margin-right: auto;
    margin-left: 0;
    border-radius: 0.5rem;
}

.podcast_featured > svg {
    position: absolute;
    width: 100%;
    padding: 0.5rem;
    bottom: 0;
    left: 0;
    right: 0;
    display:none;
}

.podcast_featured .cat_icon {
    position: absolute;
    right: .5rem;
    transform: scale(0.75);
    top: .5rem;
    background-color: var( --e-global-color-e67086b ) !important;
}
.staff_detail p {
 margin-bottom: 0;
}

.research-view .categories_section .content_p {
    height: auto;
    display: block;
    max-height:none;
}


.research-view .categories_section .post__in:hover h3 {
    display: block;
}

.research-view .categories_section .post__in:hover .content_p {
    display: block;
}


.video_ratio {position: relative; aspect-ratio: 16/9;}

.video_ratio iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
.post__in.not-found-post {
    color: var(--e-global-color-primary);
}
.single_cat h5{
	text-align:center;
    margin-top:1rem;
}

body:not(.elementor-editor-active) .not_found_post{
display:none;
}

.elementor .elementor-widget-text-editor a,.elementor .content_editor a, div[data-widget_type="text-editor.default"] a{
    text-decoration: underline
}