/*
Theme Name: Divi Child
Version: 1.1
Description: Child Theme of Divi
Author: Voice & Reason
Template: Divi
*/


/* --------------------------- GLOBAL LAYOUT --------------------------- */

#page-container #main-header .container {
	width: 80%;
    max-width: 1080px;
    margin: auto;
	padding: 0;
}
#top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after {
	color: #0089B7 !important;
}

span.mobile_menu_bar:before {
    color: #FFFFFF !important;
}

/*--Position anchor links lower to account for fixed nav--*/
.anchor {
    display:block;
    padding-top:100px;
    margin-top:-100px;
 }

/* Vertically center the top navigation */
	#et-top-navigation { display:table-cell; vertical-align: middle; float:none !important;}
	.container { display:table; }


/* Right align the contents of the top navigation area */
#et-top-navigation { text-align:right; }
#et-top-navigation > * { text-align:left; }
#top-menu-nav, #et_top_search { float:none !important; display:inline-block !important}
#et_top_search { vertical-align: top !important; margin-top:3px }

#footer-bottom {
	background: #08908F !important;
}

/* --------------------------- TYPOGRAPHY --------------------------- */


body h1 {
    font-size: 40px; 
    color: #0089B7;
    margin-top: 30px;
	padding-bottom: 25px;
}
body h2 {
    font-size: 30px; 
    color: #08908F;
    margin-top: 30px;
	padding-bottom: 25px;
}
body h3 {
    font-size: 20px; 
    color: #072946;
    margin-top: 25px;
	padding-bottom: 20px;
}
body h4 {
    font-size: 16px; 
    color: #0089B7; 
    font-weight: 700; 
    text-transform:uppercase;
    margin-top: 25px;
	padding-bottom: 1em;
}
body h5 {
    font-size: 16px; 
    font-weight: 700; 
    color: #072946;
    margin-top: 20px;
	padding-bottom: 1em;
}
body h6 {
    font-size: 14px; 
    color: #0089B7; 
    font-weight: 700;
    margin-top: 20px;
	padding-bottom: 1em;
}

body h1:first-child,
body h2:first-child,
body h3:first-child,
body h4:first-child,
body h5:first-child,
body h6:first-child {
    margin-top: 0; 
}


p a {
    text-decoration: underline;
}


/*---orederd list formatting--*/
ol ol {
list-style-type: lower-alpha !important;
}
ol ol ol{
list-style-type: lower-roman !important;
}
#left-area ol, .comment-content ol, .entry-content ol, body.et-pb-preview #main-content .container ol {
list-style-position: outside !important;
}

.et_pb_text ul, .et_pb_text ol {
    padding-left: 15px;
	padding-bottom: 1.5em;
}

.et_pb_text li { 
    margin: 5px 0;
}

.et_pb_text li:last-child { 
    margin-bottom: 0;
}

.et_pb_text li:first-child { 
    margin-top: 0;
}

p + ul,
p + ol {
    padding-top: 1.5em;
}

body p {
	padding-bottom: 1.5em;
}

.et_pb_text_inner > *:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}