/* 
 Theme Name:     YOUTHJUSTICELA.ORG child :         
 Author URI:     http://www.zumwinkle.com 
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

body h4, body h5, body h6 {
	font-weight: 700;
}

body:not(.home) #main-header {
	background-color: #FFFFFF !important;
}

#logo {
	max-height: 100%;
}

.et_header_style_left .logo_container {
	height: 120px;
}

body:not(.home) div#et-main-area {
    top: 120px;
    position: relative;	
}

body:not(.et_pb_pagebuilder_layout) div#et-main-area {
	margin-bottom: 6%;
}

.container {
	width: 100%;
}

.container.et_menu_container {
	width: 80%;
}

body:not(.home) div#content-area {
    width: 80%;
    margin: 0 auto;
}

body p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}

.et_boxed_layout #page-container, .et_fixed_nav.et_boxed_layout #page-container #main-header, .et_boxed_layout #page-container .container {
	max-width: 1300px !important;
}

.et_boxed_layout #page-container #main-content .container {
	width: 100%;
	padding: 0 10%;
}

body.home.et_boxed_layout #page-container #main-content .container, body.page-id-32.et_boxed_layout #page-container #main-content .container {
	padding: 0;
} 

#main-content .entry-content ol, #main-content .entry-content ul {
	margin: 0 40px;
}

#main-content .entry-content li {
	list-style-position: outside;
	margin-bottom: 10px;
	line-height: 20px;
}

#main-content a {
	font-weight: 700;
}

@media (min-width: 981px) {
	.et_right_sidebar #main-content .container:before {
    	right: 25.875% !important;
	}
}

/*-------------------- CONTACT PAGE ------------------------*/

article#post-4055 .entry-content p {
	margin: 0 0 0 5em;		
}

/*---------------FOOTER SECTION------------------*/

#main-footer #footer-widgets {
	width: 90%;
	margin: 0 auto;
}

body #main-footer .footer-widget a {
	color: #75bef9;
}

.main_title {
	margin-left: 5%;
	margin-top: 20px;
}

body #main-content h1 {
	font-size: 3.1rem;
	text-align: center;
}

.footer-widget h4 {
   	font-size: 24px !important;
	font-weight: normal;
}

@media only screen and (max-width: 600px) {
	body #main-content h1 {
		font-size: 30px;
	}
}

#main-content {
    margin-bottom: 10px !important;
    padding-bottom: 30px !important;
}

#main-content .container {
	padding-top: 0;
}

#footer-bottom .container {
	width: 100%;
	padding: 0 40px;
}

@media (min-width: 981px) {
    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget .fwidget {
        margin-bottom: 20px;
    }
	
	.et_pb_gutters3 .footer-widget {
		margin-bottom: 20px;
	}
}

/*---------------STYLING ON POSTS - AZ ------------------*/
body.single-post #main-content h1.entry-title, body.single-post #sidebar h4.widgettitle {
	margin-top: 30px;
}
body #sidebar .et_pb_widget ul li {
    margin-bottom: 1em;
	line-height: 20px;
}
/*---------------STYLING FOR MAIN MENU and DROPDOWN - AZ/DDB ------------------*/

body #main-header #et-top-navigation {
    padding-right: 10px;
    padding-top: 35px;
}

#top-menu li {
	padding-bottom: 35px;
}

header.et-fixed-header li a {
	color: #000000 !important;
}

#et_top_search {
	margin: 20px 0 0 22px
}

body #main-header #et-top-navigation nav > ul > li > a {
    padding-bottom: 20px;
}

body #main-header #et-top-navigation nav > ul > li.current-menu-parent > a {
	border-top: 3px #4C4C4C solid;
	padding-top: 5px;
}

body #main-header #et-top-navigation nav > ul > li.current-menu-parent > a:after {
	padding-top: 5px;
}

body #top-menu-nav li li {
    padding: 0 0;
}
body #top-menu-nav #top-menu li li a {
    width: 240px;
	color: white;
	line-height: 20px;
	font-size: .8rem;
    font-weight: 500;
	overflow-wrap: normal;
}
body #top-menu-nav > ul > li > a:hover {
	opacity: 1;
}
body #top-menu-nav > ul > li li a:hover {
	background-color: #6f7eb7;
	opacity: 1;
}
body #top-menu-nav li ul.sub-menu {
    padding: 0 0;
	background-color:#555555 !important;
}

body #top-menu-nav li ul.sub-menu a {
	color: #ffffff !important;
}

#top-menu ul.sub-menu li.current-menu-item  {
	background-color: #7C87E5;
}

body.home li#menu-item-4690 a {
	padding: 20px 20px 0px;
	background-color: #FFFFFF;
	color: #6f7eb7;
}

body:not(.home) li#menu-item-4690 a, header.et-fixed-header li#menu-item-4690 a {
	padding: 20px 20px 0px;
	background-color: #6f7eb7;
	color: #FFFFFF !important;
}

@media only screen and (min-width: 981px) {
	.et-fixed-header #top-menu li.current-menu-ancestor>a, .et-fixed-header #top-menu li.current_page_ancestor li.current-menu-item > a {
    	color: #FFFFFF !important;
	}
}

@media (max-width: 1275px) {
	#top-menu {
    	display: none;
	}
	
	#et_mobile_nav_menu {
    	display: block;
	}
	
	#et_top_search {
    	float: left;
		margin: 0 35px 0 0;
	}
	
	#page-container {
		padding-top: 125px !important;
	}
}


