/*   
Theme Name: Divi-child
Description: A Child Theme of Divi for Astin Consulting		
Template: Divi
*/
@import url(../Divi/style.css);

/* change colour of social media buttons in footer */
.et-social-icon a { color: #fff; }
.et-social-icon a:hover { color: #ff0000;}

/* hide search box in header */
#et_top_search {
display:none
}

/* change body text to be in Centuray Gothic */
p .top-menu {
font-family: "Century Gothic", CenturyGothic, AppleGothic,  'Comfortaa', sans-serif;
}


/* Moved from custom css */
body, p, h1, h2, h3, h4, h5, h6 {
font-family: "Century Gothic", CenturyGothic, AppleGothic,  'Comfortaa', sans-serif;
}

h1 {
line-height: 1.2em;
}

h2, h3, h4, h5, h6 {
color: #e57a65;
padding-bottom: 0.2em;
padding-top: 1em;
line-height: 1.2em;
}

.et_pb_image {
	padding-top: 2em;
}

.homepage-image {
	padding-top: 0;
}

.et_pb_slide_description h2 {
padding-bottom: 10px;
line-height: 1.2em;
}

.et_pb_image {
margin-bottom: 0;
}

blockquote {
	border-color: #e57a65;
}

#footer-info {
color: #FFF;
}


#footer-info a {
color: #FFF;
}

.bottom-nav a {
	color: #FFF;
}

#main-header {
box-shadow: 0 2px 0 rgba(46, 183, 197, 1);
-moz-box-shadow: 0 2px 0 rgba(46, 183, 197, 1);
-webkit-box-shadow: 0 2px 0 rgba(46, 183, 197, 1);
}

.et-fixed-header {
box-shadow: 0 2px 0 rgba(46, 183, 197, 1) !important;
-moz-box-shadow: 0 2px 0 rgba(46, 183, 197, 1) !important;
-webkit-box-shadow: 0 2px 0 rgba(46, 183, 197, 1) !important;
}



.homepage-textboxes {
box-sizing: border-box;

background-color: #86aeb7;
padding: 20px 20px 40px 20px;
margin-top: -6px;

}

.homepage-textboxes a {
color: #181f4c;
}

.et_mobile_menu {
border-color: #e57a65;
}

.et_pb_contact_message{
min-height:180px;
}

#footer-info{
float:right;
}

#footer-info img{
	width: 32px;
	height: 32px;
}



.et_pb_row {
padding: 0;
}

p ol,p ul {
list-style-type:disc;
margin-left:45px;
font-style:italic
}

.homepage-header h2 {
margin: 0;
padding: 1em 0;
}

.homepage-divider {
margin: 0;
padding: 0;
line-height: 1em;
border-top: 5px solid
}

.homepage-image {
width:100%;
}

/* testimonal styling */
.et_pb_testimonial_0.et_pb_testimonial {
	background-color: #eaf4f5;
}


/*footer styling */

.et_pb_text {
margin-bottom: 0 !important;
}


.et-social-icon a { display: inline-block; font-size: 24px; position: relative; text-align: center; transition: color 300ms ease 0s; color: #fff; text-decoration: none;}

.et-social-icon a:hover { color:#F00;}

#footer-bottom .et-social-twitter a:hover {
	color: #F5FFE5!important;
}

#footer-bottom .et-social-linkedin a:hover {
        color: #F5FFE5!important;
}

.et-social-icons {
float: left;
}

.et-social-icons li {
	margin-right: 20px;
	margin-left: 0;
}


.et_pb_section {
	padding: 25px 0;
}

#logo {
        max-width:250px;
}

#footer-logo {
	float:right;
	max-width:35px;
}


/* #footer-tagline {
margin-left:auto;
margin-right:auto;
} */

#footer-tagline p {
	color:#fff;
	text-align:center;
}

@media ( max-width: 782px ) {
	#footer-tagline p {
		display:none;
	}
}




h4 {
font-size: 13px;
font-weight: bold;
}

.et_pb_testimonial {
margin-top: 40px;
}


#homepage-slider{
padding: 0;

}

/* Style blog to have green header */
#left-area article h1 {
	color:#1d747d;
}

#left-area article h2 a {
	color:#1d747d;
}

/* style blockquote with green BG */
#left-area blockquote {
	background-color: #ffece9;
	padding: 25px;
	border-color:#e57a65;

}

/* style homepage to make left image smaller on big screens - not working*/

/* @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
	.et_pb_slide_with_image .et_pb_slide_description {
		width: 250px;
	}

	.et_pb_slide_image {
		width: 250px;
	}
} */




/* even up image and paragraph top padding in pages without headings */
.et_pb_image {
 padding-top: 1em; 
}

.et_pb_row {
	padding: 1em 0 1em 0;
}




/* reduce height of homepage stapline */ 
#homepage-tagline {
	padding: 0;
}
#homepage-tagline p {
	padding: 2em 0 2em 0;
}

#homepage-tagline h1{
	display:none;
}

#legal-info {
float: right;
}

.bottom-nav {
padding: 0;
}

/*
@media only screen and ( min-width: 1405px ) {
	.et_pb_slider .et_pb_slide { height:680px;}
	.et_pb_slide_description {padding-top: 150px;}

	.et_pb_slide_image {
		
		width: 350px;
		bottom: auto;
		top: 60%;
	}

	.et_pb_slide_with_image .et_pb_slide_description {
		width: 650px;
	}
}


@media only screen and ( min-width: 1101px ) and ( max-width: 1405px) {
	.et_pb_slider .et_pb_slide { height:680px;}
	.et_pb_slide_description {padding-top: 130px;}

	.et_pb_slide_image { 
		width: 330px;
	}
	.et_pb_slide_with_image .et_pb_slide_description {
		width: 650px;
	}
}

/*-------------------[960px]------------------*/
@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) {
	.et_pb_slider .et_pb_slide { height:680px;}
	.et_pb_slide_description {padding-top: 130px;}

	.et_pb_slide_image { 
	width: 300px;
	}
	.et_vertical_nav .et_pb_slide_with_image .et_pb_slide_image {
	width: 330px;
	}

	.et_pb_slide_with_image .et_pb_slide_description {
		width: 600px;
	}
}


/*-------------------[768px]------------------*/
@media only screen and ( max-width: 980px ) {
	.et_pb_slide_image { 
		max-width:250px;
		top: 65%;
	}

	.et_pb_slide_with_image .et_pb_slide_description {
		max-width: 385px;
	}
}


/* reduce spacing around blog header */
.et_monarch .et_social_inline_top {
margin-bottom: 0px;
}

.et_pb_post h2 {
margin-top: 0px;
}

/* reduce spacing above philosophy page header */ 
#philosophy-container .et_pb_slide_description {
  padding-top: 5px;
}


/*Reduce width of featured image in blog preview */
@media only screen and ( min-width: 768px ) {
	body.blog #left-area article a img {
  		float: left;
		max-width: 230px;
 		margin-right: 20px;
	}
}

@media only screen and ( max-width: 767px ) {
	body.blog #left-area article a img {
		display: block;
   		margin-left: auto;
    		margin-right: auto;
		max-width: 65%;
	}
}

@media screen and (min-width: 982px) {
	.homepage-text-v3 ul {
		padding-top: 12%;
	}
}


.homepage-text-v3 li {
	margin-bottom: 0.8em;
	line-height: 1.2em
}

.homepage-text-v3 li a {
	color: #FFFFFF;
	text-decoration: underline;
}

/* reduce width of homepage images on mobile */
@media screen and (max-width: 980px) {
	#homepage-portrait {
		max-width: 40%;
		height: auto;
	}
}

#homepage-portrait {
  margin-bottom: 30px;
}

/* Blog page add Share text before inline social share buttons */
.et_social_inline {
	white-space: nowrap;
}

.et_social_inline:before {
	content: "Share: ";
	margin-top: 0;
	position: relative;
	top: -29px;
	margin-right: 10px;
	font-weight: bold;

}