/*
Theme Name:     Child Theme
Description:    Crescent Financial Solutions
Author:         lmilham
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* Color Schemes */
.et_color_scheme_green a {
	color: #106439;
}

.et_color_scheme_green .et_pb_counter_amount,
.et_color_scheme_green .et_pb_featured_table .et_pb_pricing_heading,
.et_color_scheme_green #top-header {
	background: #106439 !important;
}

.et_color_scheme_green.woocommerce a.button.alt,
.et_color_scheme_green.woocommerce-page a.button.alt,
.et_color_scheme_green.woocommerce button.button.alt,
.et_color_scheme_green.woocommerce-page button.button.alt,
.et_color_scheme_green.woocommerce input.button.alt,
.et_color_scheme_green.woocommerce-page input.button.alt,
.et_color_scheme_green.woocommerce #respond input#submit.alt,
.et_color_scheme_green.woocommerce-page #respond input#submit.alt,
.et_color_scheme_green.woocommerce #content input.button.alt,
.et_color_scheme_green.woocommerce-page #content input.button.alt,
.et_color_scheme_green.woocommerce a.button,
.et_color_scheme_green.woocommerce-page a.button,
.et_color_scheme_green.woocommerce button.button,
.et_color_scheme_green.woocommerce-page button.button,
.et_color_scheme_green.woocommerce input.button,
.et_color_scheme_green.woocommerce-page input.button,
.et_color_scheme_green.woocommerce #respond input#submit,
.et_color_scheme_green.woocommerce-page #respond input#submit,
.et_color_scheme_green.woocommerce #content input.button,
.et_color_scheme_green.woocommerce-page #content input.button,
.et_color_scheme_green .woocommerce-message,
.et_color_scheme_green .woocommerce-error,
.et_color_scheme_green .woocommerce-info {
	background: #106439 !important;
}

.et_color_scheme_green #et_search_icon:hover,
.et_color_scheme_green .mobile_menu_bar:before,
.et_color_scheme_green .footer-widget h4,
.et_color_scheme_green .et_pb_sum,
.et_color_scheme_green .et_pb_pricing li a,
.et_color_scheme_green .et_pb_pricing_table_button,
.et_color_scheme_green .comment-reply-link,
.et_color_scheme_green .form-submit .et_pb_button,
.et_color_scheme_green .et_pb_bg_layout_light .et_pb_newsletter_button,
.et_color_scheme_green .et_pb_contact_submit,
.et_color_scheme_green .et_password_protected_form .et_submit_button,
.et_color_scheme_green .et_pb_bg_layout_light .et_pb_more_button,
.et_color_scheme_green .et_pb_bg_layout_light .et_pb_promo_button,
.et_color_scheme_green .et_overlay:before,
.et_color_scheme_green .entry-summary p.price ins,
.et_color_scheme_green.woocommerce div.product span.price,
.et_color_scheme_green.woocommerce-page div.product span.price,
.et_color_scheme_green.woocommerce #content div.product span.price,
.et_color_scheme_green.woocommerce-page #content div.product span.price,
.et_color_scheme_green.woocommerce div.product p.price,
.et_color_scheme_green.woocommerce-page div.product p.price,
.et_color_scheme_green.woocommerce #content div.product p.price,
.et_color_scheme_green.woocommerce-page #content div.product p.price,
.et_color_scheme_green #top-menu li.current-menu-ancestor > a,
.et_color_scheme_green #top-menu li.current-menu-item > a,
.et_color_scheme_green .bottom-nav li.current-menu-item > a {
	color: #106439;
}

.et_color_scheme_green.woocommerce .star-rating span:before,
.et_color_scheme_green.woocommerce-page .star-rating span:before {
	color: #106439 !important;
}

.et_color_scheme_green .et-search-form,
.et_color_scheme_green .nav li ul,
.et_color_scheme_green .et_mobile_menu,
.et_color_scheme_green .footer-widget li:before,
.et_color_scheme_green .et_pb_pricing li:before {
	border-color: #106439 !important;
}



/*purple #352b73*/
/*green #106439*/





 /*logo fade in from left effect specified for the **** home page logo *** only - (Get all these from the w3.css style sheet)*/
.page-id-102
#logo {position:relative;-webkit-animation:animateleft 0.9s;animation:animateleft 0.9s}
@-webkit-keyframes animateleft{from{left:-200px;opacity:0} to{left:0;opacity:1}}
@keyframes animateleft{from{left:-200px;opacity:0} to{left:0;opacity:1}}

/* header shadow */
  #main-header{ 
    box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
    -webkit-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
    -moz-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
}

#main-header.et-fixed-header {
    box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
    -webkit-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
    -moz-box-shadow: 0 0 30px rgba(7, 51, 84, 0.17) !important;
}

   

/* font weight for main menu */   
#et-top-navigation {
    font-weight: 500;
}

/*hover effect on top nav menu*/
#top-menu a:hover,
#mobile_menu_slide a:hover { 
    color: #352b73; 
    opacity:1 !important;
}

.et-fixed-header #top-menu a:hover {
	color: #352b73!important;
}



/*** style the menu button ***/
.freeconsultation a {
	color: #ffffff !important;
    line-height: 12px;
    padding: 13px 16px !important;
    text-transform: uppercase;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    display: block;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
	background-color: #352b73!important;
}
 
.freeconsultation a:hover {
	opacity: 1 !important;
	color: #ffffff!important;
    background-color: #ffffff!important;
}
 
.et-fixed-header #top-menu .freeconsultation a {
    color: #ffffff !important;
    background-color: #ff6600!important;
    box-shadow: 0px 5px 20px #d6dee4;
    -moz-box-shadow: 0px 5px 20px #d6dee4;
    -webkit-box-shadow: 0px 5px 20px #d6dee4;
}
	
.et-fixed-header #top-menu .freeconsultation a:hover {
	color: #ffffff !important;
	background-color: #ff6600!important;
}
 



/*position of the serch icon on navigation menu*/
 #et_top_search {
	display: block;
	float: right;
	position: relative;
	width: 18px;
	margin: 18px 0 0 40px;
}
 
 
 
 /*position of the serch icon on navigation menu*/
@media only screen and (max-width : 980px) {
	#et_top_search {
	display: none;
}}



/* Setting the breakpoint of the mobile menu */
@media only screen and ( max-width: 1260px ) {
#top-menu-nav, #top-menu {display: none;}
#et_top_search {display: none;}
#et_mobile_nav_menu {display: block;}
}



 /*mobile menus*/
@media only screen and ( max-width: 1260px ){
.et_mobile_menu {
    border-color: #352b73;
    border-top: 0px solid;
    background-color: #ffffff;
    padding: 20px;
	width: 50%;
}}

@media only screen and ( max-width: 980px ){
.et_mobile_menu {
    border-color: #352b73;
    border-top: 0px solid;
    background-color: #ffffff;
    padding: 20px;
	width: 100%;
}}

.et_mobile_menu li a {
    display: block;
    padding: 20px;
    border-top: 1px solid #352b73;
	font-size: 17px!important;
	font-weight: 700;
	line-height: 22px;
}
 
.et_mobile_menu li a:hover {
    color: #352b73;
	background-color: #f7f7f7;
	opacity: 1;
}


.freeconsultation a {
border: none!important;
}

.freeconsultation a:hover {
background-color: #106439!important;
color: #ffffff!important;
}


 
/*imported google font*/
body {
font-family: “Poppins”, sans-serif;
}



/*Fixes For Ipad*/
/*To Do With The Front Page Text Heading Padding*/
@media only screen and ( max-width: 1260px ) {
.et_pb_column_0 {padding-top: 0px!important;}}






/*------------------------------------------------*/
/*---------------[Custom Subscribe]---------------*/
/*------------------------------------------------*/


.horizontal-optin p{
display: inline-block;
}

.et_pb_signup_0.et_pb_subscribe {display: inline-block;}
.et_pb_signup_0.et_pb_subscribe .et_pb_newsletter_description {display: inline-block; width: auto; padding-right: 60px; margin-top: -18px;}
.et_pb_signup_0.et_pb_subscribe .et_pb_newsletter_form {width: auto; display: inline-block; padding-left: 0px;}
.et_pb_signup_0.et_pb_subscribe .et_pb_newsletter_form input{display: inline-block; width: 290px; padding-right: 20px;}
.et_pb_signup_0.et_pb_subscribe.et_pb_subscribe .et_pb_newsletter_button.et_pb_button {display: inline-block;width: auto; padding-left: 0px;}


.subscribe-section .et_pb_newsletter_form p {display: inline-block; padding-right: 20px;}
.subscribe-section .et_pb_newsletter_form p input {padding: 8px 4%!important; width: 290px;}
.subscribe-section .et_pb_newsletter_form p:nth-child(3) {display: none;}



.subscribe-section .et_pb_newsletter_button {padding: 2px 6px;}
.subscribe-section a.et_pb_newsletter_button:hover {padding: 2px 6px!important;}
.subscribe-section a.et_pb_newsletter_button:after {display:none;}




 
@media only screen and (max-width: 1100px) {
.subscribe-section .et_pb_newsletter_form p input {
padding: 8px 4%!important;
width: 275px;}
}
 
@media only screen and (max-width: 980px) {
.subscribe-section .et_pb_newsletter_form p input { 
padding: 8px 4%!important;
width: 220px;}
.subscribe-section .et_pb_newsletter_description { width: 100% !important;}
}
 
@media only screen and (max-width: 767px) {
.subscribe-section .et_pb_newsletter_form p input { 
padding: 8px 4%!important;
width: 240px;}
}
 
@media only screen and (max-width: 479px) {
.subscribe-section .et_pb_newsletter_form p input { 
padding: 8px 4%!important;
width: 150px;}
}
 
/*-------------[End Custom Subscribe]-------------*/
/*````````````````````````````````````````````````*/
/*````````````````````````````````````````````````*/


/*Blog Grid*/

.elegantdesign a.more-link {
    font-size: 14px;
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 20px;
    float: none;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 15px;
    background-color: #352b73;
    border: 2px solid #352b73;
}
 
.elegantdesign a.more-link:hover {
    font-size: 14px;
    color: #352b73 !important;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 20px;
	float: none;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 15px;
    background-color: #ffffff;
    border: 2px solid #352b73;
}

.elegantdesign .entry-title {
margin-top: 0px;
padding-bottom: 20px;
}


/*blog image position on grid*/
.elegantdesign .et_pb_image_container {
margin-top: 30px;
margin-bottom: 30px;
margin-left: -30px;
margin-right: -30px;
}
 
.et_overlay {
    border: 0px solid #e5e5e5;
}


/*Media Sizes*/
@media only screen and ( min-width: 1260px ) {
.elegantdesign .et_pb_column .et_pb_blog_grid[data-columns]::before { content: '3 .column.size-1of3' !important;
}
.elegantdesign .et_pb_column .column.size-1of3 {
width:30% !important;
margin-right:0%;
margin-left:1%;
}}

	
@media only screen and ( max-width: 1260px ) {
.elegantdesign .et_pb_column .et_pb_blog_grid[data-columns]::before { content: '2 .column.size-1of2' !important;
}
.elegantdesign .et_pb_column .column.size-1of2 {
width:45% !important;
margin-right:1%;
margin-left:3%;
}}

@media only screen and ( max-width: 980px ) {
.elegantdesign .et_pb_column .et_pb_blog_grid[data-columns]::before { content: '1 .column.size-1of1' !important;
}
.elegantdesign .et_pb_column .column.size-1of1 {
width:100% !important;
margin-right:0%;
}
}

	
@media only screen and ( max-width: 767px ) {
.elegantdesign .et_pb_column .et_pb_blog_grid[data-columns]::before { content: '1 .column.size-1of1' !important;
}
.elegantdesign .et_pb_column .column.size-1of1 {
width:100% !important;
margin-right:0%;
}
}

	
 
.elegantdesign .et_pb_blog_grid .et_pb_post {
    margin-bottom: 80px;
    width: 100%;
	padding-top: 50px;
		padding-bottom: 50px;
			padding-right: 30px;
				padding-left: 30px;
    background-color: #fff;
    border-radius: 20px!important;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-shadow: 0px 20px 120px #d9d9d9;
	border: none;
	text-align:center;
}
 
.elegantdesign .et_pb_post .post-meta {
margin-bottom: 40px;
}

/*****pagination*****/

/* WP Page Navi */
.pagination {
	clear: both;
}

.wp-pagenavi {
	clear: both;
	margin-bottom: 30px;
	padding-top: 30px;
	border-top: 1px dotted #352b73;
	text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
	margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
	border: none !important;
	color: #000000;
	font-size: 22px !important;
	font-weight: 400 !important;
	text-decoration: none;
}




.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
		color: #000000 !important;
}

.wp-pagenavi span.current,
.wp-pagenavi a:hover {
	color: #ff6600 !important;
}


span.pages{
margin-right: 40px;}

a.nextpostslink {
margin-right: 15px;
margin-left: 15px;}

span.extend{
	margin-right: 15px;
}

a.previouspostslink {
margin-right: 15px;
margin-left: 15px;}

a.page.larger {
	margin-left: 10px!important;
}

a.page.smaller {
	margin-right: 10px!important;
}


/*============================================
Blog Post Article Page Setup
==============================================*/


/*Title & Meta Container*/
.et_pb_title_container { display: inline-block; width: 100%; position: relative; z-index: 98; max-width: 100%; word-wrap: break-word; }





/*=============================================
Archive Pages
===============================================*/

/*results display*/

.et_pb_gutters2.et_right_sidebar #left-area {
padding-right: 50px;
}

/*sidebar line*/

#main-content .container:before {
position: absolute;
width: 0px;
height: 100%;
background-color: #352b73;
content: "";
}

/*sidebar*/
.et_right_sidebar #sidebar {
	padding-top: 0px;
	padding-left: 0px;
}

/*sidebar widgets*/

/*search bar*/

.widget_search input#s,
.widget_search input#searchsubmit {
	height: 40px !important;
	margin: 0;
	/* padding: 20px; */
	border: 1px solid #352b73;
	color: #ffffff;
	font-size: 14px;
	line-height: normal !important;
}
.widget_search #searchsubmit {
	position: absolute;
	top: 0;
	right: 0;
	width: 70px;
	background-color: #352b73;
}


/*widgets*/

#sidebar .et_pb_widget {
    float: left;
    width: 100%;
    margin-bottom: 45px;
    padding-bottom: 0px;
}

.et_pb_widget a {
    color: #000000;
    text-decoration: none;
}

.et_pb_widget a:hover {
	color: #352b73!important;
}

.widgettitle {
 font-size: 26px!important;
font-weight: 600 !important;
}


/*
Create Mansonory styles for archive pages
*/

/*image changes*/
.archive .et_pb_post > a img,
.search .et_pb_post > a img {
	max-width: 50%;
	vertical-align: bottom;
	padding-bottom: 0px;
}

.archive .et_pb_post > a,
.search .et_pb_post > a {
    margin-left: 0px;
	    margin-right: 0px;
		    margin-top: 0px;
			    margin-bottom: 30px;
    display: block;
	
}

/*archive area*/ 
.search #left-area .et_pb_post,
.archive #left-area .et_pb_post {
    column-count: 1;
width: 100%;
    padding: 40px;
    border: 1px solid #d8d8d8;
	border-radius: 15px;
    background-color: #ffffff;
    word-wrap: break-word;
    display: inline-block;
	box-shadow: 0px 20px 120px #d9d9d9;
}
 
.search #left-area .et_pb_post h2,
.archive #left-area .et_pb_post h2 {
    font-size: 18px;
	margin-top: 0px;
}
 
.et_pb_post h2 a {
    text-decoration: none;
	color: #352b73;
}
.et_pb_post h2 a:hover {
    text-decoration: none;
	color: #ff6600;
}

.et_pb_blog_0 .et_pb_post .post-meta, .et_pb_blog_0 .et_pb_post .post-meta a:hover {
    color: #ff6600 !important;
    line-height: 1.5em;
}
 
/*other changes when required*/
 
.archive .et_pb_post.format-audio .et_audio_content{
    margin: 0px -38px 0px;
}
 
.archive .et_pb_post .et_pb_slider .et_pb_slide,
.search .et_pb_post .et_pb_slider .et_pb_slide {
    min-height: 180px;
}


/* Media Queries
*/

/*remove padding right so that box is even on screen*/
@media screen and (max-width: 980px){
.et_pb_gutters2.et_right_sidebar #left-area {
		padding-right: 0%;
	}
	
	
@media screen and (max-width: 767px){
.et_pb_gutters2.et_right_sidebar #left-area {
		padding-right: 0%;
	}


/*
Remove sidebar on all archive pages in mobile view
*/
@media screen and (max-width: 980px){
.search #sidebar,
.archive #sidebar {
    display: none;
}


@media screen and (max-width: 767px){
.search #sidebar,
.archive #sidebar {
    display: none;
}




















 

































