/* 
Theme Name:		 Social Justice
Theme URI:		 http://childtheme-generator.com/
Description:	 Social Justice is a child theme of Divi, created by ChildTheme-Generator.com
Author:			 Carl Manere
Author URI:		 http://childtheme-generator.com/
Template:		 Divi
Version:		 1.0.0
Text Domain:	 social-justice
*/

.wp-caption p.wp-caption-text {
    padding: 10px !important;
    line-height: 1.1;
    text-align: left;
}


.et_pb_menu__wrap .mobile_menu_bar {
    transform: translateY(23%);
}

div#popmake-1033 {
    padding: 50px 30px !important;
}

div#pum-1033 h2 {
    font-weight: 600;
	font-size: var(--gvid-ghx4160sgw);
}

/** HOVER BOX CSS **/

.hover-box:hover {
	background-color: #3B4913;
	overflow: hidden;
}

/* Visible content - shown by default */
.hover-box h4 {
	opacity: 1;
	transform: scaleY(1);
	transition: opacity 0.3s ease, transform 0.3s ease;
	transform-origin: top;
	max-width: 310px;
	margin: auto;
	padding-bottom: 0;
}

.hover-box .et_pb_text {
	width: 100%;
}

.hover-box .et_pb_text .et_pb_text_inner {
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hover-box p {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: scaleY(0) translate(-50%, -50%);
	width: 100%;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	transform-origin: center;
	pointer-events: none;
	max-width: 410px;
	margin: auto;
}

/* On hover, switch content */
.hover-box:hover h4 {
  opacity: 0;
  transform: scaleY(0);
  pointer-events: none;
}

.hover-box:hover p {
  opacity: 1;
  transform: scaleY(1) translate(-50%, -50%);
  pointer-events: auto;
  color: #ffffff;
}

@media (max-width:1024px) {
	.hover-box p {
		max-width: 600px;
	}
}

ul.slick-dots {
    bottom: 30px;
    padding: 0;
}

.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}

ul#menu-wpforo-navigation li.current-menu-item a {
    color: #839829 !important;
}

#eeSFL_UploadForm {
	padding: 1em !important;
}

#eeSFL_UploadForm button, #eeSFL_UploadForm input[type=file] {
    margin: auto !important;
    font-size: inherit !important;
}

h2.eeSFL_UploadFilesTitle {
    font-weight: bold;
}

#eeSFL_UploadForm textarea {
    height: 7em;
    padding: 1em;
    margin-bottom: 1em;
	cursor: pointer;
}

#eeSFL #eeSFLS_SearchFiles input[type=text],
.eeSFL .eeSFL_ListOpsBar select, .eeSFL .eeSFL_ListOpsBar input[type=text], .eeSFL .eeSFL_BulkDownloadBar input[type=text], .eeSFL .eeSFL_ListOpsBar input[type="submit"], .eeSFL .eeSFL_BulkDownloadBar input[type="submit"] {
    padding: 0.8em;
	cursor: pointer;
}

.eeSFL input.button {
    background-color: #db4d40;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid #db4d40;
    font-family: 'Onest', Helvetica, Arial, Lucida, sans-serif !important;
}

#wpforo #wpforo-wrap #wpforo-title {
    font-weight: bold;
}

.et_pb_menu--style-left_aligned .et_pb_menu_inner_container, .et_pb_menu--style-left_aligned .et_pb_row {
    align-items: center;
    align-content: center;
}

ul.et_mobile_menu {
    padding: 0;
    list-style: none;
    text-align: left;
}

span.mobile_menu_bar {
    display: flex;
    align-items: center;
}

.mobile_menu_bar:before {
    font-size: 40px !important;
}

.mobile_menu_bar:after {
    content: "MENU";
    font-weight: bold;
    font-size: 1.5em;
	position: absolute;
	right: 45px;
}

.news-author-main {
    line-height: 1.6em;
    background-color: rgba(131, 152, 41, 0.05);
  	padding: clamp(30px, 20px + 2.083vw, 60px);
    max-width: 1400px;
    display: block;
    margin: auto;
}

.news-author-wrapper {
    display: flex;
    gap: 30px;
    max-width: 900px;
    margin: auto;
    align-items: center;
}

.author-image {
    width: 180px;
    flex-shrink: 0;
}

.author-image img {
    border-radius: 50%;
    width: 100%;
}

.author-content {
	flex: 1;
}

h2.author, p.name {
    font-weight: bold;
}

p.name {
    padding-bottom: 0;
    text-transform: uppercase;
    font-size: 18px;
}

h2.author {
    padding-bottom: 20px;
}

h2.author {
    color: #839829;
}


.author-content .description {
    font-size: 14px;
    line-height: 1.3;
    margin-top: 10px;
    max-width: 500px;
}

@media (max-width:480px){
	.news-author-wrapper {
		flex-direction: column;
		align-items: center;
	}

	.author-content.custom {
		text-align: center;
	}
}

/*change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}


/*adjust the new toggle element which is added via jQuery*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}


/*some code to keep everyting positioned properly*/

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}


/*remove default background color from menu items that have children*/

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}


/*hide the submenu by default*/

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}


/*show the submenu when toggled open*/

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}


/*adjust the toggle icon position and transparency*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}


/*submenu toggle icon when closed*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
    position: relative;
    font-family: "ETModules";
    content: '\33';
    color: #fff;
    background: var(--gcid-u7ui8f54v6);
    border-radius: 50%;
    padding: 4px;
}


/*submenu toggle icon when open*/

ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}


/*add point on top of the menu submenu dropdown*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}


/*adjust the position of the hamburger menu*/

.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}

/*show hamburger menu on desktop for specific menu module*/

@media (max-width: 1400px) {
	.pa-hamburger-menu .et_pb_menu__menu {
		display: none;
	}

	.pa-hamburger-menu .et_mobile_nav_menu {
		display: flex;
		float: none;
		margin: 0 6px;
		align-items: center;
	}
}

@media (min-width: 1401px) {
	.hide-desktop {
		display: none;
	}

}

@media (min-width: 981px) {
	.jcap-community {
		margin-left: 20px !important;
	}

}

.jcap-community > a:before {
    font-family: 'Font Awesome 5 Free';
    content: '\f0c0';
    text-align: center;
    vertical-align: middle;
	color: #db4d40;
    margin-right: 10px;
    margin-left: -10px;
    font-size: 1em;
    transition: all .3s ease;
}

#wpforo #wpforo-wrap #wpforo-menu li a {
    color: #555555;
    font-family: 'Onest';
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
}

#wpforo #wpforo-wrap h3.wpforo-forum-title {
	font-weight: bold;
}