/*
Theme Name:     Opl Divi Child
Description:    This is a child theme that requires its parent Divi
Author:         Lawrence J. Buckfire
Template:       Divi

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

/* global */
a {color: #4b90a8;}
a:hover {color:#9d5931;}

/* James Form */
#gform_wrapper_3 {
    margin: 16px 0;
    max-width: 100%;
    background: #4B90A8;
    padding: 10px;
    color: #ffffff;
}#gform_wrapper_2 div.ginput_recaptcha {transform: scale(0.680);
-webkit-transform: scale(0.680);
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
}

#gform_wrapper_6 {
    margin: 16px 0;
    max-width: 100%;
    background: #4B90A8;
    padding: 10px;
    color: #ffffff;
}

a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #4B90A8;
    text-decoration: none;
}

h2 {
    margin-top: 30px;
    font-size: 30px;
}
p, li {font-size: 1.2em; margin-bottom: 10px;}


body.home .home-phone a {color: #ffffff;}
body.home .home-phone a:hover {color: #BC2B33;}

a span#et-info-email {display: none;}

body.blog .et_pb_post h2 {margin-top: 0px;}
body.blog .et_pb_post a img {
	max-width: 25%;
	float: left;
	margin-right: 15px;
}

.clearfix {clear: both;}

body.home div#breadcrumbs-div {display: none;}
div#breadcrumbs-div {
    max-width: 60%;
    float: left;
    padding: 25px 0 10px 10%;
}


/* header */
#et-info {
    float: none;
	text-align: center;
	padding: 0 0 .5em;
}
#top-header a {
    font-size: 23px !important;
}
@media screen and (max-width: 625px) {
.et_fixed_nav #top-header {
    position: fixed;
}
}

#main-header .nav li ul a {
    color: #fff !important;
}
#top-menu li {
    display: inline-block;
    padding-right: 16px;
    font-size: 14px;
}


/* home page */
.slider-element-text {text-align: left; padding-left: 120px;}

#home-slide-contact {width: 30%; float: left; margin-top: -110px;}

#home-badges a, .home-city-states a {color: #4b90a8;}
#home-badges a:hover, .home-city-states a:hover {color:#9d5931;}

home .entry-content div.home-featured {margin-bottom: 0;}
.home .entry-content div.home-featured ul {
	list-style-type: circle;
	margin-left: 8%;
	padding-bottom: 0;}
.home .entry-content div.home-featured ul li {
    font-size: 28px;
	margin: 3px 0;
}
div.home-featured h3 a {
    color: #4B90A8; 
	font-weight: 700;
}
div.home-featured h3 a:hover {color: #9d5931;}



/* pages and posts */
h1.main_title {margin-top: 30px;}
.post-loop-snippet img {
	float: left;
	margin-right: 15px;
    max-width: 200px;
    width: 200px;
    margin-bottom: 15px;
}
.post-loop-snippet {clear: both;}
.post-loop-snippet hr {clear: both; margin: 15px auto;}

.state-news-featured {margin-bottom: 25px;}

body.archive .et_pb_post {margin-bottom: 25px;}

/* search Pages */
body.search .et_pb_post {margin-bottom: 25px;}
body.search h3 {
    font-size: 22px;
}
body.search h1 {margin-bottom: 20px;}


/* forms */




#home-slider input[type="text"], 
#home-slider input[type="password"], 
#home-slider input[type="tel"], 
#home-slider input[type="email"], 
#home-slider input.text, 
#home-slider input.title, 
#home-slider textarea, 
#home-slider select {
    padding: 8px 14px;
    border: 1px solid #bbb;
    color: #4e4e4e;
    background-color: #fff;
    width: 100%;
	border-radius: 20px;
}
#home-slider input[type="text"]:focus, 
#home-slider input[type="password"]:focus, 
#home-slider input[type="tel"]:focus, 
#home-slider input[type="email"]:focus, 
#home-slider input.text:focus, 
#home-slider input.title:focus, 
#home-slider textarea:focus, 
#home-slider select:focus {
    background-color: rgba(75,144,168,0.2);
	color: #ffffff;
}


#home-slider input[type="submit"] {padding: 8px 20px;
	font-size: 1.2em;
	border-radius: 5px;
	background: #4B90A8;
	color: #ffffff;	
	cursor: pointer;
}
#home-slider input[type="submit"]:hover {background: #274957;}

input.opl-math {width: 10%;}

#gform_widget-2 .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] {
    font-size: 1em;
    width: auto;
    margin: 0;
    padding: 7px 12px;
    border-radius: 6px !important;
    color: #fff;
    background: #ec0000 !important;
    cursor: pointer;
}

#gform_widget-2 .gform_wrapper .gform_footer input.button:hover, .gform_wrapper .gform_footer input[type="submit"]:hover {background: #BC2B33 !important;}


#site-search, #site-search-2  {
    padding: 3px;
    background: rgba(75,144,168,.1);
    border-radius: 50px;
    width: 100%;
    margin: 10px auto 15px;
    z-index: 99;
    min-height: 65px;
    border: 1px solid #ccc;
}
#home-slide, #home-slide-2 {
    padding: 1% 0 15%;
    max-width: 50%;
    margin-left: 5%;
}
#home-slide {float: left;}
#home-slide-2 {float: right;}
#site-search input[type="text"], #site-search-2 input[type="text"] {
    width: 100%;
    float: left;
    border-radius: 25px;
    font-size: 15px;
    padding: 14px 20px;
}
#site-search input[type="submit"], #site-search-2 input[type="submit"] {
    float: right;
    margin-top: -48px;
    border-radius: 0 25px 25px 0;
    background: #4B90A8;
    color: #f0f0f0;
    min-height: 48px;
    z-index: 1;
    width: 70px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
}

.et_pb_post a img {
    max-width: 15%;
    vertical-align: bottom;
    float: left;
    margin: 2px 15px 0px 0px;
}

/* Recent news */
.opl-morenews-1 {
    max-width: 1080px;
    margin: 0 auto 30px;
}

.opl-morenews-1 .widgettitle {
    text-align: center;
    color: #282727;
    clear: both;
    margin: 0 0 10px;
    padding: 0 0 10px;
    font-size: 25px;
}
.opl-morenews-1 .blog_list li {
    width: 47%;
    float: left;
    clear: none !important;
    min-height: 150px;
    border: none;
    padding: 0 10px 10px 0;
    border-bottom: dotted 1px #000;
    margin-bottom: 10px;
    margin-right: 1%;
}
.read-more-nwz {
    text-align: center;
    clear: both;
    width: 100%;
    background: 0 0;
    padding-top: 22px;
}
.opl-morenews-1 div.blog-title {
    margin-bottom: 5px;
}
div.blog-title {
    font-size: 1.3em;
}
.opl-morenews-1 .entry-meta {
    float: left;
    margin-right: 7px;
    padding: 8px 5px 3px;
    background: #7CC68D;
    color: #fff;
    margin-top: 5px;
    text-align: center;
}
.opl-morenews-1 .posted_day {
    font-size: 24px;
    font-weight: 700;
    line-height: 20px;
    padding-bottom: 0;
}
.opl-morenews-1 .posted_month {
    margin-top: -1px;
    text-align: center;
}

.drugpage_sidebar .read-more-nwz, .read-more-nwz {
    text-align: center;
    clear: both;
    width: 100%;
    background: 0 0;
    padding-top: 22px;
}
.read-more-nwz a /*, h3.drug-device-read-more a */ {
    padding: 10px 20px;
    background: #4B90A8;
    color: #fff !important;
    border-radius: 3px;
    text-transform: uppercase;
    transition: all .4s ease 0s;
}
.read-more-nwz a:hover {
	background: #274957;
}

/* city and state boxes */
.city-state-box {
    height: 500px;
    text-align: left;
    background: #4B90A8;
    border-radius: 4px;
    width: 46%;
    float: left;
}
.city-state-sidebox {
    padding: 8px;
    color: #046;
    border: 1px solid #046;
    margin: 5px 8px 15px;
    text-align: justify;
    font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
    font-size: 14px;
}
p.box-title {
    color: #FFF;
    text-align: center;
    font-weight: 700;
    font-size: 23px;
    margin: 0 0 10px;
    text-shadow: 1px 1px 1px #202020;
}
.area-box {
    /*font-family: Arial,Helvetica,sans-serif;*/
    font-size: 17px;
    /*color: #293E6A;*/
    background-color: #F5F3EB;
    height: 400px;
    width: 100%;
    border: 1px solid #293E6A;
    font-weight: 700;
    text-align: left;
    padding: 5px 10px;
    margin-top: 3px;
    overflow: auto;
    border-radius: 4px;
}

p.city-state-link {line-height: 1.0em; padding-bottom: 10px;}

/* sidebar */
#sidebar h4.widgettitle {font-size: 16px; color: #003399; font-weight: 700; margin-bottom: 0;}
#sidebar ul  {list-style: disc;}
#sidebar .FaqCategry ul.blog_list li {margin-left: 15px; font-size: 16px; line-height: 1.2em;}

/* gravity forms */

#sidebar #gform_widget-2 {float: none;
width: 100%;
margin-bottom: 30px;
border: 1px solid #808080;
border-radius: 3px;
padding: 15px;
background: #4B90A8;
color: #ffffff;}

#gform_widget-2 h4.widgettitle.sidebar-case-review {
	padding-bottom: 5px;
	color: #ffffff;
	font-weight: 700;
	line-height: 0.9em;
	text-align: center;
	font-size: 1.5em;
	margin-top: 0px;
}

#gform_widget-2 .gform_wrapper .top_label input.medium {
	width: 100%;
}
#gform_widget-2 .gform_wrapper ul.gform_fields li.gfield {
	padding-right: 0px;
}

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

#gform_widget-2 .gform_wrapper .gform_footer {
    padding: 0px;
    margin: 5px 0 0;
    clear: both;
    width: 100%;
	text-align: center;
}

#gform_widget-2 .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] {
    font-size: 1em;
    width: auto;
    margin: 0;
    padding: 7px 12px;
    border-radius: 0px;
    color: #ffffff;
    background: #F15A29;
}
#gform_widget-2 #input_2_5_5_label {display: none;} 



/* footer */

#pre-footer {
	width: 70%;
	margin: 10px auto;
	color: #fcfcfc;
	padding: 25px;
}

#footer-bottom p {color: #eeeeee;}
#mobile-text-widget {background-color: #505050; border-radius: 0px; /*border: 1px solid rgb(205, 54, 46);*/ display: none; /*inline-block; */    cursor: pointer;    color: rgb(255, 255, 255);    font-family: Arial;    width: 100%;    text-align: center;    position: fixed;    bottom: 0px;	left: 0px;    z-index: 100;	margin: 0 auto;	padding: 10px 0;	font-size: 1.5em;}

#mobile-text-widget .text-now a {	padding: 10px 20px;	cursor: pointer;	font-family: Arial;	color: #ffffff;	font-weight: bold;	/*font-size: 20px;*/	text-decoration: none;	}div.text {display: none; visibility: hidden;}
/* media queries */

@media screen and (max-width: 1000px) {
	
}
@media (max-width: 980px) {
	#top-header, div#et-secondary-menu, ul#et-secondary-nav {
		display: block !important; 
	}
	#top-header .container {
		padding-top: 0.75em !important;
	}
}

@media screen and (max-width: 800px) {
	
}

@media only screen and (max-width: 800px) {
    body {
        
    }
	#home-slide, #home-slide-2 {    max-width: 100%;	width: 80%;	float: none;	padding: 5% 0 0 9%;	}	/*#home-slide-2 {padding: 0;}*/
.et_pb_slider .et_pb_container {    width: 100%;}
.et_pb_slide_description {    padding: 10% 0%;}

}@media screen and (max-width: 600px) {	#apex-chat-widget {display: none;}	#mobile-text-widget {display: inline-block; }		#apex-chat-widget, 	#apex-chat-widget, 	#apexchat_invitation_container_wrapper, 	#apexchat_invitation_container_minimized_wrapper, 	#apexchat_invitation_container_inprogress_wrapper		{display: none !important; z-index: 0 !important;}	div.text {display: none;}}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	.slider-element-text {text-align: left; padding-left: 0px;}
	#pre-footer {width: 100%;}

}

