/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
.entry-content ol, .entry-content ul {
    padding: 10px 0px 10px 50px;
    list-style-position: outside;
}
 
.entry-content ol li, .entry-content ul li {
    margin-bottom: 10px;
}

#top-header #et-info-phone, 
#top-header #et-info-email, 
#top-header .et-social-icon a { 
    font-size: 16px; 
}
@media screen and (max-width: 960px) {
.hide-mobile {
	display: none!important;}
}
@media screen and (max-width: 960px) {
#sidebar .et_pb_widget {
	display: none!important;}
}
#sidebar .et_pb_widget {
	 background-color: #ffffff;
 color: #575757;
 border-radius: 10px;
 text-align: center;
 box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
 margin-bottom: 25px;
 padding-top: 35px;
 padding-right: 8%;
 padding-bottom: 35px;
 padding-left: 8%;
	
}
div#custom_html-4.widget_text.et_pb_widget.widget_custom_html{
	 background-color: #1b334b;
   padding: 30px;
	border-radius: 10px;
 text-align: center;
 box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
 margin-bottom: 25px;
}
div#custom_html-14.widget_text.et_pb_widget.widget_custom_html{
	 background-color: #1b334b;
   
}
div#custom_html-15.widget_text.et_pb_widget.widget_custom_html {
	background-color: #1b334b !important;
}
.samp {
	color: white !important;
		font-size: 20px;
	font-weight: 300;
}
.samp2 {
  color: #fffaef !important;
  font-size: 16px;
 font-weight: 300;
}

body.et_pb_button_helper_class .et_pb_button {
    color: #ffffff!important;
    font-size: 23px;
    background: #e02b20;
    font-weight: 600 !important;
   
    background-color: #e02b20;
  
  
}
.et_pb_widget ul li {
	border-bottom: 1px solid #e1e1e1;
}

div#custom_html-3.widget_text.et_pb_widget.widget_custom_html{
	 padding: 30px !important;
}


#et_mobile_nav_menu {
    display: none !important;
   
}
#mega-menu-wrap-primary-menu .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block {
    position: relative;
        top: 7px;
}


@media only screen and (max-width: 1024px) {
   
    #top-menu, #top-menu-nav {
    line-height: 0;
    margin-left: 175px;
}

}
#mega-menu-wrap-primary-menu .mega-menu-toggle .mega-toggle-block-1:after {
    
    color: #fffaef  !important
    
}
.et_pb_widget a {
    color: #1b334b; 
}
#main-content {
    background-color: #fffaef;
}

p a:hover {
color: #174b76 !important;
}
#some-id {
	color: white !important;

}

#some-id:hover{
	color: rgb(40, 129, 203) !important;
	
}
#some-id2 {
	color: white !important;
	font-weight: 400;
}

#some-id2:hover{
	color: rgb(40, 129, 203) !important;
	
}

.wid {
	color: #1b334b;
	font-size: 13px;
	font-weight: 300;
}
.wid2 {
color: #1b334b;
	font-size: 13px;
}
.bb {
	color: #1b334b !important;
}
.bb:hover {
	color: #b71919 !important;
}
.et_pb_bg_layout_light .et_pb_widget li a {
	color: #1b334b;
}
@media only screen and (max-width: 980px) {
div.et_pb_section.et_pb_section_0 {
background-image: none !important;
}
}
.abcccc {
	max-width: 15%;
	padding-bottom: 0px;
}
.subm {

     color: #ffffff!important;
    background: #b71919;
    border-color: rgba(0,0,0,0) !important;
    font-size: 16px;
    padding-left: 0.7em;
    padding-right: 2em;
    background-color: #b71919;
	transition: border 300ms ease 0ms,border 300ms ease 0ms,letter-spacing 300ms ease 0ms,letter-spacing 300ms ease 0ms;
	position: relative;
    padding: .3em 1em;
    border: 2px solid;
	

}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid #e02b20;
}

.abcd {
 
   padding: 15px !important;;
margin-bottom: 10px !important;
    border-width: 0 !important;;
    border-color: transparent !important;;
    border-style: solid !important;;
	box-shadow: none !important;;
    background-color: #eee!important;
	     color: #1b334b!important;
	width: 99%;
}
.foot {
	
	color: white !important;
}
.foot:hover{
	color: rgb(40, 129, 203) !important;
	
}

body.single .et_post_meta_wrapper h1{
    font-size: 40px;
}

h3 {
	font-size: 21px !important;
	font-weight: 300 !important;
}
h2 {
	font-size: 29px;
	font-weight: 300 !important;
}    
h1 {
	font-weight: 300 !important;
}
h4 {
	font-weight: 300 !important;
}
h5 {
	font-weight: 300 !important;
}
h6 {
	font-weight: 300 !important;
}
.asdd {
	background-color: #174b75 !important;
}

.foo {
	color: white !important;
		font-weight: 400;
}
.abcde {
	color: white;
		
}
.faith {
      width: 150px;
        height: 195px;
      background: url('https://stonegatecenter.com/wp-content/uploads/2019/04/icon-faith-based-rehab-texas-1.svg') no-repeat;

        
    }
    .faith:hover {
        background: url('https://stonegatecenter.com/wp-content/uploads/2019/04/icon-faith-based-rehab-texas-2.svg') no-repeat;
		color: #b71919;

    }
.a {
font-weight: 700;
    font-style: normal;
font-size: 18px;

}
.gende {
      width: 150px;
        height: 195px;
        background: url('https://stonegatecenter.com/wp-content/uploads/2019/04/icon-gender-separate-rehab-texas-1.svg') no-repeat;

        
    }
    .gende:hover {
        background: url('https://stonegatecenter.com/wp-content/uploads/2019/04/icon-gender-separate-rehab-texas-2.svg') no-repeat;
			color: #b71919;

    }
.da {
      width: 150px;
        height: 195px;
        background: url('https://stonegatecenter.com/wp-content/uploads/2019/04/icon-long-term-rehab-texas-1.svg') no-repeat;
        
    }
    .da:hover {
        background: url('https://stonegatecenter.com/wp-content/uploads/2019/04/icon-long-term-rehab-texas-2.svg') no-repeat;
		color: #b71919;

    }
.aaaa {
	width: 35% !important;
}
.wp-pagenavi { text-align:center; }

/* Add a border */
.wp-pagenavi span, .wp-pagenavi a, .wp-pagenavi :last-child { 
    border: 1px solid #bbb !important; 
    padding: 6px 12px; 
    margin: 0;  
}
.wp-pagenavi span, .wp-pagenavi a { border-right: none !important; }

/* Style the default text */
.wp-pagenavi span, .wp-pagenavi a { 
    font-weight: bold !important; 
    color: #999 !important
}

/* Style the current / hovered page link */
.wp-pagenavi span.current,
.wp-pagenavi a:hover { 
    color: #666 !important; 
    background-color: #ddd !important; 
}

/* Style the page count text */
.wp-pagenavi :first-child { color: #666 !important; }

/* Add text to the "next" link */
.wp-pagenavi .nextpostslink:before { content: 'Next '; }
.wp-pagenavi .previouspostslink:after { content: ' Prev'; }
@media (max-width: 767px) {
 
p.et_pb_contact_field {
max-width: 100% !important;
}
}
/*Styling for the posts*/

.ds-thumbnail-blog .et_pb_post {
    background-color: #fff;
    min-height: 350px;
    margin-bottom: 50px;
}


/*Sets the image size posts and moves it to the left of the text*/

.ds-thumbnail-blog .et_pb_post a img {
    float: left;
    width: 400px;
    height: 350px;
    object-fit: cover;
    margin: 0 40px 0 0;
}


/*Resize the overlay to fit the image*/

.ds-thumbnail-blog .et_overlay {
    width: 400px !important;
    height: 350px !important;
}


/*Stack the image and content on smaller screens*/

@media only screen and (max-width: 980px) {
    .ds-thumbnail-blog .et_pb_post a img {
        width: 100%;
        height: auto;
        object-fit: cover;
        margin: 0 0 40px 0;
    }
    /*Resize the overlay on smaller screens*/
    .ds-thumbnail-blog .et_overlay {
        width: 100% !important;
        height: 500px !important;
    }
    .ds-thumbnail-blog .et_pb_post h2 {
        margin: 40px 30px 20px 30px !important;
    }
    .ds-thumbnail-blog .et_pb_post p {
        margin: 0 30px;
    }
    .ds-thumbnail-blog a.more-link {
        margin: 20px 0 30px 30px;
    }
    
    .ds-thumbnail-blog .post-content {
        padding: 30px 30px 80px 30px;
    }
}


/*Add a little top padding to the post titles*/

.ds-thumbnail-blog .et_pb_post h2 {
    padding: 40px 0 20px 0 !important;
}

.ds-thumbnail-blog .et_pb_post p {
    font-size: 18px;
    margin-right: 40px;
}

.ds-thumbnail-blog .post-meta {
    font-size: 14px !important;
}

/*This styles the read more link*/

.ds-thumbnail-blog a.more-link {
    display: inline-block;
    position: absolute;
    left: 440px;
    border: 1px solid #000;
    padding: 10px !important;
    color: #000;
    margin-top: 50px;
    text-transform: uppercase;
}

@media only screen and (max-width: 980px) {
    .ds-thumbnail-blog a.more-link {
        margin: 40px 0 20px 0;
    }
}

/*This styles the read more link on hover*/

.ds-thumbnail-blog a.more-link:hover {
    border: 1px solid #fff;
    color: #fff;
    background: #000;
}


/*This adds the double arrow icon to the read more link*/

.ds-thumbnail-blog a.more-link:after {
    font-family: 'ETmodules';
    content: "\39";
    color: #000;
    margin-left: 5px;
    vertical-align: middle;
	font-display: swap;
}

/*This styles the double arrow on hover*/

.ds-thumbnail-blog a.more-link:hover:after {
    color: #fff;
}


/*This styles the post pagination links*/

.pagination a {
    background: #fff;
    color: #000;
    padding: 10px;
    margin-top: 30px !important;
    -webkit-box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.75);
    box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.75);
}


/*This styles the post pagination links on hover*/

.pagination a:hover {
    background: #000;
    color: #fff;
}

.et_pb_gutters3 .et_pb_column_1_3 .et_pb_blog_grid .column.size-1of1 .et_pb_post, .et_pb_gutters3 .et_pb_column_1_3 .et_pb_grid_item, .et_pb_gutters3 .et_pb_column_1_3 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3 .et_pb_column_1_3 .et_pb_widget, .et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_blog_grid .column.size-1of1 .et_pb_post, .et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_grid_item, .et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_widget {
background-color: #fff;
    color: #575757;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 2px 0px rgba(0,0,0,.2);
    margin-bottom: 25px;
    padding-top: 35px;
    padding-right: 8%;
    padding-bottom: 35px;
    padding-left: 8%;
}

@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.sd {
  width: 33% !important;
	margin: 0 0 0px !important;
	
}
}
@media all and (max-width: 600px) {
	.dp-col {
		padding-top: 10px !important;
	}

.faith {
      width: 95px;
     height: auto;
      background: url('https://stonegatecenter.com/wp-content/uploads/2019/04/icon-faith-based-rehab-texas-1.svg') no-repeat;

        
    }
	.gende {
   width: 95px;
     height: auto;
        background: url('https://stonegatecenter.com/wp-content/uploads/2019/04/icon-gender-separate-rehab-texas-1.svg') no-repeat;

        
    }
 
.da {
     width: 95px;
     height: auto;
        background: url('https://stonegatecenter.com/wp-content/uploads/2019/04/icon-long-term-rehab-texas-1.svg') no-repeat;
        
    }
	.abb {
	
	padding-top: 90px !important;
}
	}
.abb {
	
	padding-top: 130px;
}
.et_pb_text_0 {
	font-weight: 300 !important;
}
h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p {
	font-size: 30px !important;
}
.abcdef {
 max-width: 50% !important;
}
.one-half,
.one-third {
    position: relative;
    margin-right: 4%;
    float: left;
        margin-bottom: 20px;
 
}
 
.one-half { width: 48%; }
.one-third { width: 30.66%; }
 
.last {
    margin-right: 0 !important;
    clear: right;
}
 
@media only screen and (max-width: 767px) {
    .one-half, .one-third {
        width: 100%;
        margin-right: 0;
    }
}

.footer-widget {
    
    font-weight: 300;
}
span.fn, span.fn a {
   
    font-weight: 300 !important;
    
}

body, input, textarea, select {
	font-weight: 300 !important;
}

.body.single .et_post_meta_wrapper h1 {
	line-height: 40px !important;
}
.sfsi_outr_div .sfsi_FrntInner_chg {
	display: none !important;
}
.cp-affilate-link a {
	display: none !important;
}
.dipe-cf7 .wpcf7 form>div, .dipe-cf7 .wpcf7 form>p {

    margin-bottom: 1em !important;
}


.icon-tools-2:before {
    font-family: ETmodules !important;
    content: "\e090";
    font-size: 18px;
    
}
.grecaptcha-badge { opacity:0;}


	