/*
Theme Name:     Divi Child
Description:    This theme requires its parent Divi
Author:         David Stanislaw
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)

site colors - therapy dark blue #24769C;

*/

/* global */

#main-content {
    background-color: #F4F8FA;
}

a:hover {color: #790000;}

h2.entry-title, h2, h3 {line-height: 1.3em;}
h1.entry-title {line-height: 1.3em;}

.clearfix {clear: both;}

/*.et_color_scheme_orange a {
    color: #926228;
}.et_color_scheme_orange a:hover {
    color: #edb059;
}
.et_color_scheme_orange #top-header {
    background: #926228 !important;
}*/

/* #F4F8FA  lt blue */

body #gform_2 body .gform_wrapper ul li.gfield {
    margin-top: 10px;
    padding-top: 0;
}

/* posts and pages */
.blog #left-area img {
width: 30%;
float: left;
margin-right: 15px;
}
.single-post #left-area .et_post_meta_wrapper img {
	width: 45%;
    float: left;
    margin-right: 15px;
    margin-bottom: 20px;
}
.single-post div.entry-content {padding-top: 0;}

.et_pb_post a img {
    width: 30%;
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}
/*.yarpp-thumbnails-horizontal .yarpp-thumbnail > img, .yarpp-thumbnails-horizontal .yarpp-thumbnail-default {
    display: block;
    width: 100%;
    float: none;
}*/
p.read-more a, a.read-more {margin-bottom: 25px;}
.more-link, p.read-more a, a.read-more {
    display: inline-block;
    text-transform: capitalize;
    float: right;
    margin-top: 10px;
    background: #24769C;
    color: #fff;
    font-weight: 400;
    border: 1px solid;
    border-radius: 2px;
    padding: 2px 16px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.more-link:hover, p.read-more a:hover, a.read-more:hover {
    background-color: #fff;
    border-color: #24769C;
    color: #24769C;
}

/* Post CTA */
div.new-cta {background: #24769C; width: 80%; margin: 5px auto 15px; padding: 9px;}
div.new-cta h3, div.new-cta p {color: #fff; padding: 15px 15px 0; text-align: center;}
div.new-cta hr {width: 60%; margin: 5px auto;}
div.new-cta p {color: #fff; padding: 0; text-align: center;}
div#gform_wrapper_3 {margin: 0; padding: 0;}

input#gform_submit_button_3 {
    padding: 5px 30px;
    background: #24769C;
    color: #fcfcfc;
    transition: all 0.4s;
    cursor: pointer;
    margin-top: -5px;
}

input#gform_submit_button_3:hover {
	background: #fff;
	color: #24769C;
    cursor: pointer;
}



/* related posts */

/*#left-area .relatedthumb ul {
	list-style-type: none;
	text-align: center;
	padding: 0;
}*/

.single .relatedposts .relatedthumb {
    display:inline-block;
    /*width: 30%;*/
	margin-right: 2%;
	float: left;
	/*border: 1px solid lightgray;*/
}

#left-area .relatedposts .post-meta a {
    text-decoration: none;
    color: #24769C;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#left-area .relatedposts .post-meta a:hover {
   color: #790000;}

#left-area .relatedposts h3.post-loop-title a {
    color: #790000;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#left-area .relatedposts h3.post-loop-title a:hover {
    color: #24769C;
}

div.read-more-post {
	margin-bottom: 12px;
}
.single .relatedposts a.read-post {
	background: #24769c;
    color: #fff;
    padding: 5px;
	float: right;
    border-radius: 3px;
    border: 1px solid #24769c;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.single .relatedposts a.read-post:hover {
	background: #fff;
    color: #24769c;
}

.single .relatedposts .relatedthumb img:hover {
	opacity: 50%;
}

.single .relatedposts .relatedthumb img {
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
	float: left;
	margin-right: 20px;
}

/* End Related Post css */

@media only screen and (max-width: 980px) {
  .single .relatedposts .relatedthumb {
     width: 100%;
	 margin-bottom: 10px;
  }
	.single .relatedposts .relatedthumb img {
		margin-left: 10%;
	}	
}

/* sidebar */

#sidebar .et_pb_widget a {
    color: #24769C;
    text-decoration: none;
}

#sidebar .et_pb_widget a:hover {
    opacity: 0.5;
    text-decoration: none;
}

.widget_search #searchsubmit {
    background-color: #24769C;
}
.widget_search input#searchsubmit {
	color: #fff;
}

.widget_search input#searchsubmit:hover {
	color: #fff;
}

/* forms */

input[type="text"].stanislaw {width: 10%;}

input[type="text"], input.text, input.title, input[type="tel"], input[type="email"], textarea, select {
   width: 100%;
}

#sidebar div#free-consultation {
	background: #24769C; 
	padding: 10px 15px;
	color: #fff;
}

#sidebar div#free-consultation h3 {
	text-align: center;
	color: #fff;
	line-height: 1.3em;
}

#sidebar div#free-consultation .gform_wrapper .gfield_required {
    color: #fff;
}

#sidebar div#free-consultation .gform_wrapper .gform_footer input[type=submit] {
-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#sidebar div#free-consultation .gform_wrapper .gform_footer input[type=submit]:hover {
	color: #fff;
	background: #24769C;
}

#sidebar #gform_wrapper_2 div.ginput_recaptcha {transform: scale(0.680);
-webkit-transform: scale(0.680);
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
}

@media only screen and (min-width: 641px) {
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
    font-size: 1em;
    width: 66%;
    /*margin: 0 0 0 14% !important;*/
    /*text-align: center;*/
    float: none;
    padding: 10px 20px;
    cursor: pointer;
}
}

/* footer ************************************************************************************* */

#footer-info a.tcgm:hover {color: #00C900;}

#main-footer .footer-widget h4 {
    color: #926228;
    line-height: 1.3em;
}

#footer-widgets .footer-widget li {
    padding: 0 0 0 14px;
    position: relative;
}

a.image-hover img:hover {
	opacity: 0.5;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}