/*
 Theme Name: Just Share
 Theme URI: https://justshare.org.za/
 Description: Divi child theme for Just Share
 Author: Pomegranite
 Author URI: https://pomegranite.co.za/
 Template: Divi
 Version: 1.0.1
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Header + Menu
------------------------------------------------------- */
#top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after {
	display: none; 
}
#top-menu .menu-item-has-children>a:first-child, #et-secondary-nav .menu-item-has-children>a:first-child {
    padding-right: 0;
}
#top-menu li a {
    font-weight: 500;
}
#top-menu li a:hover {
	color: #48AC9C;
	opacity: 1!important; 
}	

/* Buttons in header/navigation */
@media only screen and (min-width: 981px) {
    .et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a {
        padding-bottom: 16px !important; 
    }
    .et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
        padding: 16px 0 16px 0 !important;
    }
.nav-last-item {
	margin-right: 24px;
}
	.btn-donate {
		margin-right: 12px;
	}
}
.et-fixed-header #top-menu li.current-menu-item>a span, .et-fixed-header #top-menu li.current_page_item>a span {
	color: #fff!important; 
}
#top-menu li li a:hover {
    background: none !important; 
    color: #48AC9C !important;
}
#top-menu .et_pb_button a {
    color: #fff !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 16px 24px !important;
    padding-bottom: 16px !important;
}
.btn-agm {
    background-color: #2d3640 !important;
}
.btn-agm:hover {
	background-color: #48AC9C !important;
}
.et-fixed-header #top-menu .et_pb_button a {
	color: #fff !important; 
}
#top-menu li.et_pb_button {
    padding: 0 !important;
    min-width: 180px;
}
.menu-item.et_pb_button a {
    display: inline-block !important;
	min-width: 180px;
}
#et_top_search {
    margin: 20px 0 0 32px;
}
#et_search_icon:before, #et_search_icon:hover {
    font-size: 22px;
    transform: scaleX(-1);
    color: #2D3640 !important;
	animation: none !important; 
}

#resources-section .et_pb_module_header {
	padding-bottom: 0; 
}

#resources-section .et_pb_blurb {
    position: relative;
}

#resources-section .et_pb_blurb_container {
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    min-height: 56px; /* adjust if needed */
    text-align: left;
}

#resources-section .et_pb_module_header {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2em !important;
}

/* Buttons
------------------------------------------------------- */

.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button, .et_button_no_icon.et_button_left .et_pb_button:hover, .et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover, body .et_pb_button, body .et_pb_button:hover {
    padding-top: 16px !important;
    padding-bottom: 16px !important; 
    padding-left: 24px !important; 
    padding-right: 24px !important; 
    text-align: center;
	font-weight: bold; 
    min-width: 200px;
}


/* Forms
------------------------------------------------------- */
.form-legal label {
    font-size: 13px !important;
    margin-top: 12px;
}
.mailing-list-form input.large, .mailing-list-form select.large {
	background: transparent !important;
	color: #fff; 
	padding-left: 0!important;
	border: 0 !important; 
	border-bottom: 1px solid #fff !important; 
	font-size: 18px;
}
.mailing-list-form .gfield input::-webkit-input-placeholder {
        color: #fff;
}
.mailing-list-form .gfield input::-moz-placeholder {
        color: #fff;
}
.mailing-list-form .gfield input:-ms-input-placeholder {
        color: #fff;
}
.mailing-list-form .gfield input::placeholder {
        color: #fff;
}

.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
    font-family: 'Inter',Helvetica,Arial,Lucida,sans-serif;
    box-sizing: border-box;
    margin: 0;
    outline: 0;
    -webkit-text-size-adjust: 100%;
    vertical-align: baseline;
    background: transparent;
    line-height: 1.7em!important;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    transition-property: all!important;
    position: relative;
    transition: all 300ms ease 0ms;
    display: inline-block;
    font-size: 14px;
    background-color: #48ac9c;
    border-width: 0px!important;
    border-radius: 32px;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    text-align: center;
    font-weight: bold;
    min-width: 200px;
    color: #ffffff;
}
.gform_wrapper.gravity-theme .gform_footer button:hover, .gform_wrapper.gravity-theme .gform_footer input:hover, .gform_wrapper.gravity-theme .gform_page_footer button:hover, .gform_wrapper.gravity-theme .gform_page_footer input:hover {
	color: #2D3640; 
	background-color: #DBE8E5; 
	cursor: pointer;
}
	.gform_wrapper.gravity-theme .gfield input.large, .gform_wrapper.gravity-theme .gfield select.large {

    font-size: 18px;
}
div.heateor_sss_follow_ul, div.heateor_sss_sharing_ul {
    padding-left: 0 !important;
    margin: auto;
    float: right;
}

/* Blog + Gridbuilder
------------------------------------------------------- */

.wpgb-next-button svg,
.wpgb-prev-button svg,
.wpgb-nav-next svg,
.wpgb-nav-prev svg,
.wpgb-next svg,
.wpgb-prev svg,
.wpgb-arrow svg {
  display: none !important;
}

.wpgb-next-button,
.wpgb-prev-button,
.wpgb-nav-next,
.wpgb-nav-prev,
.wpgb-next,
.wpgb-prev,
.wpgb-arrow {
  display: inline-block !important;
  width: 44px;
  height: 44px;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  border: none !important;
  background-color: transparent !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.wpgb-next-button,
.wpgb-nav-next,
.wpgb-next {
  background-image: url('http://stg-justshare-staging.kinsta.cloud/wp-content/uploads/2025/11/arrow-right.svg') !important; 
}

.wpgb-prev-button,
.wpgb-nav-prev,
.wpgb-prev {
  background-image: url('http://stg-justshare-staging.kinsta.cloud/wp-content/uploads/2025/11/arrow-left.svg') !important; 
}

.wpgb-block-term {
	margin-bottom: 4px !important; 
}
.wpgb-prev-button,
.wpgb-nav-prev,
.wpgb-prev {
  left: -18px !important;
}
.wpgb-next-button,
.wpgb-nav-next,
.wpgb-next {
  right: -18px !important;
}
.wpgb-grid-2 .wpgb-area-left {
    margin-top: -48px !important;
}
.wpgb-grid-2 .wpgb-area-right {
    margin-top: -48px !important;
}
.wpgb-next-button:focus,
.wpgb-prev-button:focus,
.wpgb-nav-next:focus,
.wpgb-nav-prev:focus {
  outline: 2px solid rgba(0,0,0,0.12);
  outline-offset: 3px;
}

/* Other */
.legal-page h2 {
	font-size: 24px; 
	line-height: 34px;
	margin-top: 24px; 
	padding-bottom: 16px;
}
.bg-column {
	display: block !important; 
	min-height: 360px !important; 
}

#page-header {
    min-height: 560px;
    display: flex;
    align-items: center;
}
.donate-table td, .donate-table {
    border:none!important 
}
.entry-content table:not(.variations) {
    border: 0;
}
.entry-content tr td {
	padding-left: 0; 
}
.tablepress>:where(thead,tfoot)>tr>* {
    background-color: #DBE8E5;
}
.tablepress thead .dt-orderable-asc:hover, .tablepress thead .dt-orderable-desc:hover, .tablepress thead .dt-ordering-asc, .tablepress thead .dt-ordering-desc {
    background-color: #2d3640 !important;
    color: #fff !important;
}
.entry-content thead th, .entry-content tr th {
	color: #000; 
}
.dt-container {
    clear: both;
    margin-bottom: 1rem;
    position: relative;
    padding: 32px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
    border-radius: 32px;
}
/* Target all Divi Blurbs in the bottom section (adjust the section class if needed) */
.et_pb_section.et_pb_section_bottom .et_pb_blurb {
    display: flex;
    flex-direction: column; /* Stack icon, title, content vertically */
    justify-content: center; /* Vertical alignment */
    align-items: center;     /* Horizontal alignment */
    text-align: center;      /* Center text */
    height: 100%;            /* Ensure it fills the blurb container */
}

/* Optional: Make the title itself centered (if needed) */
.et_pb_section.et_pb_section_bottom .et_pb_blurb .et_pb_blurb_content h4 {
    margin: 0;
    line-height: 1.2;
}
.et_pb_main_blurb_image {
    margin-bottom: 0 !important;
    max-width: 16px !important;
}
#et-boc .area-outer-wrap[data-da-color=light] .da-close {
    background: #48ac9c !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff !important;
    opacity: 1 !important;
}
.popup .et_pb_column_2_3 {
    padding-top: 0;
}
.wp-grid-builder .wpgb-card.wpgb-no-result>div {
    font-size: 18px !important; 
    padding: 0 !important; 
    text-align: left !important; 
}
/* Footer
------------------------------------------------------- */

#footer-widgets .footer-widget li:before {
	display: none; 
}
#footer-widgets .footer-widget li {
	padding-left: 0; 
}
.footer-widget li a:hover {
	color: #48ac9c !important; 
}
.textwidget a {
	color: #48ac9c !important; 
}
#footer-info a {
    font-weight: normal;
    text-decoration: underline;
}
#main-footer .footer-widget h4 {
	padding-bottom: 24px; 
}
.et_pb_main_blurb_image img {
    border-radius: inherit;
    margin-top: 8px;
    max-width: 56px;
}
#resources-section .et_pb_blurb_container {
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    min-height: 40px;
    margin-top: 0;
    position: absolute;
    left: 20%;
}
.et_pb_scroll_top.et-pb-icon {
    background: #48ac9c;
    -webkit-border-top-left-radius: 32px;
    -webkit-border-bottom-left-radius: 32px;
    -moz-border-radius-topleft: 32px;
    -moz-border-radius-bottomleft: 32px;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    font-size: 24px;
    padding: 8px;
}
#text-4 .textwidget {
    font-size: 15px !important;
    line-height: 24px;
    background: url(http://stg-justshare-staging.kinsta.cloud/wp-content/uploads/2025/11/icon-address.svg);
    background-repeat: no-repeat;
    padding-left: 30px;
    padding-right: 21px;
}
.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child .fwidget {
        margin-bottom: 32px;
}
	.no-hover:hover {
		background: rgba(219,232,229,0.4) !important;
	}

/* Inline buttons */

.inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}
.inline-buttons {
    text-align: center !important;
}


/* Specific */
@media only screen and (min-width: 768px) and (max-width: 1380px) {
.container.et_menu_container {
    z-index: 99;
    max-width: 96%;
    width: 100%;
}
}
@media only screen and (min-width: 981px) and (max-width: 1380px) {
	.et_pb_row {
		width: 90%; 
	}
#main-footer .container {
    max-width: 90%;
    width: 90%;
}
}

/* Change main menu mobile breakpoint to 1160px */
@media (max-width: 1160px) {
  #et_mobile_nav_menu {
    display: block !important;
  }
  #top-menu {
    display: none !important;
  }
  .et_pb_row #et_mobile_nav_menu {
    display: block !important;
  }
  .et_pb_row #top-menu {
    display: none !important;
  }
#et_top_search {
    margin: 16px 0 0 32px;
}
.et_header_style_left #et-top-navigation .mobile_menu_bar {
    padding-bottom: 12px;
    top: 8px;
}
}
@media (max-width: 1024px) {
    .footer-widget:nth-child(n) {
        width: 100% !important;
        margin: 0 0 7.5% 0 !important;
    }
#text-5 {
    display: block;
    clear: both;
	margin-bottom: 32px;
}
    #footer-widgets .footer-widget .fwidget {
        margin-bottom: 48px !important; 
    }
.et_pb_widget {
    float: none !important; 
}
}

/* Responsive (Desktop)
------------------------------------------------------- */
@media only screen and (min-width: 1025px) {
	    .et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(-n+3):not(:nth-child(1)) .fwidget {
        margin-bottom: 32px;
    }
}
/* Responsive (Table/iPad)
------------------------------------------------------- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
	    #et_top_search {
        margin: -8px 20px 0 32px;
    }
    .et_header_style_left #et-top-navigation .mobile_menu_bar {
        padding-bottom: 12px;
        top: -5px;
    }
.et_mobile_menu .menu-item-has-children>a {
    font-weight: 600;
    background-color: transparent;
}
	.et_mobile_menu li.et_pb_button a {
		color: #fff!important; 
	}
	.et_mobile_menu .et_pb_button {	
padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
    font-weight: bold;
    min-width: 200px;
    margin-bottom: 10px !important;
    color: #fff !important;
}
.et_mobile_menu li.et_pb_button a {
    border-bottom: none;
	}
.dt-container {
    padding: 4px;
	border-radius: 8px;
}
.dt-container tr td {
    font-size: 13px;
    line-height: 20px;
    padding-left: 8px !important;
}
.no-hover:hover {
	background: none!important; 
}
}

/* Responsive (Smartphone)
------------------------------------------------------- */
@media only screen and (max-width: 767px) {
	#page-header h1 {
font-size: 40px;
}
#page-header {
    min-height: 320px;
}
.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
	min-width: 100%; 
	}
.footer-widget h4 {
    font-size: 28px;
}
#main-footer {
    padding-top: 24px;
}
.container.et_menu_container {
    width: 94%;
}
	    #et_top_search {
        margin: -8px 20px 0 32px;
    }
.et_mobile_menu .menu-item-has-children>a {
    font-weight: 600;
    background-color: transparent;
}
.mobile_menu_bar:before {
    font-size: 40px;
	}
    .et_header_style_left #et-top-navigation .mobile_menu_bar {
        padding-bottom: 12px;
        top: -5px;
    }	
.wpgb-facet>fieldset:last-child {
    margin-bottom: 12px !important; 
}
	.et_mobile_menu li.et_pb_button a {
		color: #fff!important; 
	}
.et_mobile_menu li.et_pb_button a {
    border-bottom: none;
	}
#menu-item-42 a {
    border-bottom: none;
    margin-bottom: 15px;	
	}
    #resources-section .et_pb_column {
        width: 100% !important;
        margin-bottom: 16px;
    }	
	#resources-section .et_pb_column.et-last-child {
		margin-bottom: 0;
	}
	.et_mobile_menu .et_pb_button {	
padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
    font-weight: bold;
    min-width: 200px;
    margin-bottom: 10px !important;
    color: #fff !important;
}
.inline-buttons .et_pb_button_module_wrapper {
    display: block;
    margin-bottom: 16px;
}
	
.et-search-form-active #logo {
    display: none !important;
}
#et_search_icon:before, #et_search_icon:hover {
    font-size: 20px;
}
    #et_search_icon:before {
        top: 12px;
}
	.wpgb-grid-2 .wpgb-prev-button, .wpgb-grid-2 .wpgb-next-button {
		display: none!important; 
	}
.dt-container {
    padding: 4px;
	border-radius: 8px;
}
.dt-container tr td {
    font-size: 13px;
    line-height: 20px;
    padding-left: 8px !important;
}
.et-search-form input {
    width: 120%;
    background: #fff;
    padding-left: 16px;
    font-size: 15px !important;
}

.no-hover:hover {
	background: none!important; 
}
}


.vacancy-details h4 {
	margin-top: 16px;
	margin-bottom: 8px;
}
