/*
Theme Name: Responsive JP Stewart Associates
Theme URI: http://www.jpstewartassociates.com
Description: Responsive WordPress Theme
Version: 2014
Author: Laura
Author URI: http://wwww.rmsoft.org
Tags: stewart, stewart associates theme, jp stewart associates wordpress theme
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
}
body {
	border-top:10px solid #0a5ca6;
	margin:auto;
	padding:0px;
	font-family: 'AgencyFB-Reg';
	width:100%;

}
@font-face {
 font-family: 'AgencyFB-Reg';
 src: url('font/agencyr1.eot');
 src: url('font/agencyr1.eot?#iefix') format('embedded-opentype'), url('font/agencyr1.woff') format('woff'), url('font/agencyr1.ttf') format('truetype'), url('font/agencyr1.svg#agencyr1') format('svg');
 font-weight: normal;
 font-style: normal;
}
#wrapper,.wrapper{
	width:90%;
	max-width:1048px;
	height:auto;
	margin:auto;
	position:relative;
}
.youtube,.youtube iframe{max-width:100%!important; }
.body_left_shadow:before {
  content: " ";
	background:url(images/left_shadow.jpg) no-repeat left top;
	position:absolute;
	left:0px;
	width:54px;
	height:955px;
}
.body_right_shadow:before {
  content: " ";
	background:url(images/right_shadow.jpg) no-repeat right top;
	position:absolute;
	right:-0px;
	width:54px;
	height:955px;
}
.body_middle {
width:100%;
	max-width:940px;
	height:auto;
	margin:auto;
	background:#fff;overflow:hidden;
}
/***********************************Header=Container**********************************/
.responsiveMenuSelect { background:#0A5CA6}
.header_container {
	width:100%;
	height:auto;
}
#menu-header-menu li{list-style:none; display:block; float:left; }
#menu-header-menu{display:block; float:right; margin-right:54px; margin-top:10px }
#menu-header-menu li a{text-decoration:none;font-size:18px; color:#0A5CA6!important; padding-left:7px; padding-right:7px;}
#menu-header-menu li:last-child {border-right:none; padding-right:0px}
.logo {
	float:left;
	margin-top:24px;
	margin-left:5px;
	max-width:770px;
  min-width: 300px;
  width: 60%;
}
.phone_email_container {
	float:right;
	width:39%;
	max-width:770px;
	text-align:right;
	color:#666666;
	font-size:20px;
	font-weight:normal;
	font-family:Arial, Helvetica, sans-serif;
	padding-top:18px;
}
.phone_email_container span {
	color:#0a5ca6;
	font-family: 'AgencyFB-Reg';
	font-size:28px;
}
/*-------------------- Main Menu ----------------------*/
.main_menu {
	width:100%;
	height:58px;
	background:url(images/menu_bg.jpg) repeat-x;
	margin-top:20px;

}

.main_menu li a{text-decoration:none;}
.main_menu li{}
.main_menu ul {
	
}
.main_menu ul li a{
	list-style:none;
	/*display: block;            /*For Drop Down
	position: relative;       
	float: left;               */
	color:#005480;
	text-align:center;
    padding-bottom: 16px;
    padding-top: 19px;
}
.main_menu ul li a {
	color:#fff;
	font-size:20px;
	font-weight:normal;
	text-decoration:none;
	text-transform:uppercase;
	 /*padding-left: 17px;
	padding-right: 17px;*/
}
.main_menu ul li a:hover {
	background:url(images/menu_hover.jpg) repeat-x;
	color:#000;

}
.main_menu li.current_page_item {
	background:url(images/menu_hover.jpg) repeat-x;
	color:#000;

}
.main_menu li.current_page_item a {
	color:#000;
}
.main_menu li.current-page-ancestor {
	background:url(images/menu_hover.jpg) repeat-x;
	color:#000;

}
.main_menu li.current-page-ancestor a {
	color:#000;
}

/*############ Drop Down ################*/
.main_menu ul li:hover a {
	background:url(images/menu_hover.jpg) repeat-x;
	color:#000;

}
.main_menu ul li ul {
	display: none;
	margin:0px;
	left:0px;
	padding:0px;
}
.main_menu ul li ul li {
	line-height:55px;
}
.main_menu li:hover a {
	color:#2B5FA3;
}
.main_menu ul li:hover ul {
	display: block;
	position: absolute;
	z-index:9999;
	width:280px;
	text-align:left;
	top:58px;
        padding-bottom:1px;
	left:0px;
}
.main_menu ul li:hover ul li {
	float: none;
	font-size: 15px;
	margin:0px;
	text-align:left;
	padding:0px;
	margin:0px;
}
.main_menu ul li:hover ul li a {
	color:#fff;
	font-size:21px;
	font-weight:normal;
	text-decoration:none;
	text-transform:uppercase;
	display:block;
	text-align:left;
	padding-left:15px;
	line-height:30px;
	background:#0a5ca6;
	margin:0px;
	padding-top:3px;
	padding-bottom:3px;
}
.main_menu ul li:hover ul li a:hover {
	text-decoration:none;
	color:#000;
	font-size:21px;
	text-align:left;
	background:#efefef;
	line-height:30px !important;
	padding-top:3px;
	padding-bottom:3px;
}
.main_menu ul li.current-menu-ancestor a{
	background:url(images/menu_hover.jpg) repeat-x;
	color:#000;
	padding-bottom: 13px;
	padding-top: 20px;
}
.main_menu ul li ul li.current-menu-item a{
	text-decoration:none;
	color:#000;
	font-size:21px;
	text-align:left;
	background:#efefef;
	line-height:30px !important;
	padding-top:3px;
	padding-bottom:3px;
}
/*--------------------------------- Banner ----------------------------*/
.banner_bg{
width:100%;
	background:#efefef;
	padding:10px;
	max-width:880px;
}
.banner_border{
	border:8px solid #0a5ca6;
	padding:6px;

}
.service_banner{
width:100%;
	max-width:852px !important;
	position:relative;
}
.banner_text{
	float:left;
	/*width:52%;*/
	max-width:430px;
	padding-left:20px;
}
.banner_text h1{
	color:#0a5ca6;
	font-size:24px;
	text-transform:uppercase;
	font-weight:normal;
	padding-top:3px;
}
.banner_text p{
	color:#3f3f3f;
	font-size:16px;
	font-weight:normal;
	line-height:22px;
	font-family:Arial, Helvetica, sans-serif;
	padding-top:5px;
        padding-right:20px;
}
.banner_text img{
	margin-top:15px;
}
.banner_image{
	float:left;
	/*width:45%;*/
	display:block;
	text-align:left;
	margin-left:20px
	
}
.banner_image img{

}
.service_banner{min-height:236px!important}
.services_container{
	margin-top:30px;
}
.service_box{
display:block;
	float:left;
	width:140px;
	height:auto;
	margin-left:5px;
	margin-right:5px;
}
.service_box h1{
        height: 60px;
		line-height:12px;
}
.service_box h1 a{
	color:#0a5ca6;
	font-size:20px;
	font-weight:normal;
	font-family: 'AgencyFB-Reg';
	text-decoration:none;
        line-height: 20px;
}
.service_box h1 a:hover{
	color:#000;
}
.service_box p{
	color:#3f3f3f;
	font-size:13px;
	font-family:Arial, Helvetica, sans-serif;
	padding-bottom:6px;
        padding-top:10px;
}
.service_box a{
	color:#0a5ca6;
	font-size:13px;
	text-decoration:underline;
	font-family:Arial, Helvetica, sans-serif;
}
.service_box a:hover{
	text-decoration:none;
}


/***********************************Body=Container**********************************/
.body_container {
	height:auto;
	width:100%;
	max-width:900px;
	margin:auto;
	margin-top:22px;
}
.content_box {
	background:#f7f7f7;
	float:left;
	display:block;
	width:75%;
	max-width:576px;
	height:auto;
	margin-top:22px;
	font-size:14px;
	color:#666;
	font-weight:normal;
	padding:0px 10px;
	font-family:Arial, Helvetica, sans-serif;
}
.content_box h1 {
	font-size:23px;
	color:#0a5ca6;
	font-weight:normal;
	margin-top:15px;
	line-height:40px;
	padding-left:10px;
	background:#efefef;
        margin-bottom: 15px;
        font-family: 'AgencyFB-Reg';
        margin:0px -10px;
        
}
.single h1{
       margin:0px -10px;
}
.content_box h2 {
	font-size:22px;
	color:#0a5ca6;
	margin-top:15px;
	font-weight:normal;
	background:#efefef;
        padding-left: 10px;
        font-family: 'AgencyFB-Reg';
}
.content_box h3 {
	font-size:20px;
	color:#0a5ca6;
	margin-top:15px;
	background:#efefef;
	font-weight:normal;
        padding: 5px 10px;
        font-family: 'AgencyFB-Reg';
}
.content_box h1:first-child, .content_box h2:first-child, .content_box h3:first-child {
	margin-top:0px;
}
.content_box p {
	font-size:14px;
	color:#666;
	font-weight:normal;
	padding:10px 0px;
	font-family:Arial, Helvetica, sans-serif;

}
.content_box ul {
	font-family:Arial, Helvetica, sans-serif;
}
.content_box ul li {
	list-style:circle;
	font-size:14px;
	color:#666;
	font-weight:normal;
	margin-left:28px;
        padding-left:10px;
	line-height:22px;
}
.content_box ol {
	font-family:Arial, Helvetica, sans-serif;
}
.content_box ol li {
	font-size:14px;
	color:#666;
	font-weight:normal;
	margin-left:28px;
        padding-left:10px;
	line-height:22px;
}

.content_box h1 a, .content_box h2 a, .content_box h3 a, .content_box p a, .content_box ul li a, .content_box ol li a {
	text-decoration:underline;
	color:#0a5ca6;
}
.content_box a:hover {
	text-decoration:none;
}
.content_box p object{
	float: left;
	margin: 0px 1em 12px 0 !important;
        border: 1px solid #222;
        padding: 1px;
}
.alignleft {
	float: left;
	margin: 0px 1em 12px 0 !important;
        border: 1px solid #222;
        padding: 1px;
}
.alignright {
    border: 1px solid #222;
    float: right;
    margin: 0 0 12px 1em !important;
    padding: 1px;
}
.aligncenter {
	display: block;
	text-align: center !important;
	margin: 1em auto !important;
}
/*------------------- For Widget -----------------*/
.widget_section {
width:33%;
	max-width:290px;
	height:auto;
	float:right;
	margin-top:22px;
}
.widget_section ul {
	margin:0px;
	padding:0px;
}
.widget_section ul li {
	list-style:none;
	margin-bottom:18px;
	background:#fff;
	border:8px solid #eeeeee;
}
.widgettitle {
	color:#0a5ca6;
	font-size: 23px;
	font-weight: bold;
	line-height: 23px;
	background:#eee;
	padding-left:10px;
	float:left;
	padding-right:15px;
	padding-bottom:10px;
}
.widget_section ul li ul {
	color: #8e340f;
	padding:10px;
	clear:both;
}
.widget_section ul li ul li {
	font-size:16px;
	line-height:22px;
	list-style:square;
	border:none;
	color:#0a5ca6;
	margin-bottom:0px;
	background:none;
	margin-left:15px;
	padding-bottom:0px;
	padding-left:0px;
}
.widget_section ul li ul li a {
	text-decoration:none;
	color:#0a5ca6;
	font-size:14px;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:normal;
}
.widget_section ul li ul li a:hover {
	text-decoration:underline;
	color:#0a5ca6;
	font-size:14px;
	font-weight:normal;
}
.widget_section ul li ul li ul {
	padding:0px;
}
.widget_text {
	padding-left:0px !important;
	clear:both;
}
.textwidget {
	text-align:center;
	color:#0a5ca6;
	font-size:14px;
	font-weight:normal;
	padding:10px;
	clear:both;
	font-family:Arial, Helvetica, sans-serif;
}
.textwidget a {
	text-decoration:underline;
	color:#0a5ca6;
	font-size:14px;
	font-weight:normal;
	text-align:center;
}
.textwidget a:hover {
	text-decoration:none;
}
/*--------------------------------------------------------- Contact Form ------------------------------------------------------*/
.wpcf-form {
	padding:15px 0px;
}
.wpcf-form p {
	padding-top:5px;
}
.wpcf-form-control-wrap input[type="text"] {
	background: none repeat scroll 0 0 #FFFFFF;
	border: 1px solid #ccc;
	color: #000000;
	font-size: 13px;
	padding: 3px;
	width: 441px;
	outline:none;
	clear:both;
	display:block;
}
.wpcf-form-control-wrap select {
	background: none repeat scroll 0 0 #FFFFFF;
	border: 1px solid #ccc;
	color: #000000;
	font-size: 13px;
	padding: 3px;
	width: 450px;
	outline:none;
	clear:both;
	display:block;
}
.wpcf-form-control-wrap textarea {
	background: none repeat scroll 0 0 #FFFFFF;
	border: 1px solid #ccc;
	color: #000000;
	font-size: 13px;
	height: 197px;
	padding: 3px;
	width: 442px;
	outline:none;
	margin-left:0px;
	display:block;
}
span.wpcf-not-valid-tip-no-ajax {
	clear: both !important;
	color: #FF0000;
	display: block;
	font-size: 10pt;
	text-align: left;
	padding-left:2px;
}
img.wpcf-captchac {
	display: inline;
	margin-bottom: -28px;
	margin-left: 104px;
}
span.captcha-817 input[type="text"] {
	border: 1px solid #ccc;
	color: #000000;
	font-size: 13px;
	padding: 3px;
	width: 315px;
	outline:none;
	display:block;
	float:none;
	clear:both;
	margin-right: 79px;
	margin-top:10px;
}
span.your-message span {
	text-align:left !important;
}
span.reviewUs span {
	text-align:left !important;
}
.wpcf-submit {
	background: none repeat scroll 0 0 #ddd;
	border: medium none;
	color: #0A5CA6;
	cursor: pointer;
	font-size: 17px !important;
	font-weight: normal;
	margin-top: 10px;
	padding: 5px 10px;
	text-transform: uppercase;
}
.wpcf-submit:hover {
	background: none repeat scroll 0 0 #0A5CA6;
	color: #fff;
}
/*=============================================== For Blog Start =========================================*/
/*====================== Social =========================*/
.custom_social_media {
	padding-bottom:18px;
}
ul.social {
	margin:0;
	padding:0;
	height:30px;
}
ul.social li {
	margin:0px !important;
	padding:0 !important;
	list-style-type:none;
	display:inline !important;
}
ul.social li a {
	display:block;
	float:left;
	width:50px;
	height:51px;
	background-repeat:no-repeat;
}
ul.social li:last-child {
	clear:both;
}
/*---------------------- For Meta ------------------------*/
.meta {
	color:#505050;
	padding-top:10px;
	line-height:16px;
	font-size:13px;
	background:#F7F7F7;
	font-family:Arial, Helvetica, sans-serif;
}
.meta a {
	text-decoration:underline;
	color:#0A5CA6;
}
.meta a:hover {
	text-decoration:none;
}
/*--------------- For Comments ------------------------*/

ol.commentlist {
	margin: 0 0 40px 0;
	list-style-type: none;
	overflow: visible;
}
li.comment {
	margin: 0 20px 20px 0;
	border: none;
}
li.comment .comment-body {
	border-bottom: 1px solid #eaeaea;
	padding-bottom: 1px;
	margin: 20px 0 0 70px;
	font-family:Arial, Helvetica, sans-serif;
	position: relative;
}
li.comment .comment-body p {
	padding-top:0px;
}
li.comment .comment-meta {
	overflow: hidden;
	float: left;
	display: block;
	width: 50%;
}
li.comment .comment-text {
	border-bottom: 1px solid #eaeaea;
	padding-bottom: 1px;
	width: 100%;
}
li.comment .avatar {
	position: absolute;
	left: -59px;
	padding: 2px;
	background: #f8f8f8;
	border: 1px solid #eee;
}
li.comment p {
	clear: both;
	font-size:12px;
	color:#666;
	padding-bottom:5px;
}
li.comment cite, li.bypostauthor li.comment cite {
	color: #5a5a5a;
	font-weight: bold;
	background: url(images/bullet1.html) right center no-repeat;
	font-style: normal;
	padding: 0 20px 0 0;
	margin: 0 8px 0 0;
	float: left;
	line-height:12px;
	font-size:12px;
}
li.comment cite a, li.bypostauthor li.comment cite a {
	color: #0A5CA6;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	text-decoration:none;
}
li.comment cite a:hover {
	text-decoration: none;
	color:#000;
}
.commentmetadata, .commentmetadata a {
	font-size: 10px;
	text-transform: uppercase;
	color: #999;
	text-decoration:none;
}
.commentmetadata a:hover {
	color: #0A5CA6;
	text-decoration: none;
}
.says {
	display: none;
}
.comment-meta {
	margin: 0 0 10px 0;
	line-height: 16px;
	position: relative;
}
li.comment .comment-body a.comment-reply-link {
	display: block;
	position: absolute;
	right: 0;
	top: 0px;
	color: #0A5CA6;
	font-weight: bold;
	padding: 0 10px 0 0;
	font-size: 10px;
	text-transform: uppercase;
	text-decoration:none;
}
li.comment .comment-body a.comment-reply-link:hover {
	color: #000;
	text-decoration: none;
}
.children {
	list-style-type: none;
	margin: 20px 0 0 70px;
}
.children li.comment {
	margin: 0;
	font-size: 1em;
}
#respond {
	margin-top:15px;
        margin-left:-10px;
}
#respond h2 {
	background: none repeat scroll 0 0 #c1d3d3;
	color: #000;
	font-size:19px;
	line-height: 30px;
	text-indent: 9px;
	font-weight:normal;
}
#comments_template h2 {
	background: none repeat scroll 0 0 #EFEFEF;
	color:##0A5CA6;
	font-size:24px;
	line-height:40px;
	text-indent: 9px;
	font-weight:normal;
}
#respond h3 {
	margin-top: 10px;
}
#commentform {
	font-family:Arial, Helvetica, sans-serif;
}
#commentform p {
	font-size:13px;
	color:#666;
	margin-left:10px;
	margin-bottom:10px;
	padding:0px;
}
#commentform p a {
	text-decoration:none;
	color:#0A5CA6;
}
#commentform p a:hover {
	text-decoration:underline;
}
#commentform div.wrap {
	margin-bottom: 10px;
	margin-left:10px;
	margin-right:10px;
}
#commentform div.input-container {
	display: inline-block;
	width:97%;
}
#commentform input[type=text] {
	width: 90%;
	border: 1px solid #c1d3d3;
	padding: 5px;
	margin:0px !important;
	background:#FFF;
}
#commentform div.textarea-container {
	display: inline-block;
	width:97%;
}
#commentform textarea {
	width: 90% !important;
	height: 155px !important;
	padding: 5px !important;
	border: 1px solid #c1d3d3 !important;
	margin:0px !important;
	background:#FFF;
}
#commentform label {
	font-style: italic;
	font-size:17px;
	color: #666;
}
label {
	display: block;
	margin-bottom: 5px;
}
#commentform input#submit {
	background:#ddd;
	border: medium none;
	color: #0A5CA6;
	cursor: pointer;
	font-size:19px;
	text-transform:uppercase;
	font-weight: normal;
	margin-top: 15px;
	padding:5px 10px;
	margin-bottom:20px;
	margin-left:10px !important;
}
#commentform input#submit:hover {
	background:#0A5CA6;
	font-weight: normal;
	color: #fff;
}
.cancel-comment-reply {
	margin: 0 0 10px;
	text-align: right;
}
.cancel-comment-reply a {
	text-decoration:none;
	color:#0053BB;
	font-size:15px;
	font-style:italic;
}
.cancel-comment-reply a:hover {
	font-style:italic;
	color:#f16325;
}
.wp-caption {
	background: none repeat scroll 0 0 #EEEEEE;
	border: 1px solid #DDDDDD;
	margin: 0 auto;
}
.wp-caption img {
	margin-bottom: 0;
	border: 1px solid #CCCCCC;
	margin: 4px;
	margin-bottom: 0px;
	max-width: 99%;
}
.child-page img {
	border: 4px solid #E3E3E3;
	margin: 5px;
}
.wp-caption {
	height: auto;
	max-width: 98%;
}
.wp-caption-text {
	margin-top: 0;
	padding:0px;
}
.wp-caption-text {
	color: #5E5E5E !important;
	font: 11px arial !important;
	margin: 0 5px !important;
	padding-bottom: 5px !important;
	text-align: center !important;
}
/*=============================================== For Blog End =========================================*/

/***********************************Footer=Container**********************************/
.footer_container {
	background:url(images/footer_bg.jpg) repeat-x #efefef;
	width:100%;
	height:auto;
	margin-top:34px;
	min-height:160px;
}
.footer {
width:100%;
	max-width:940px;
	height:auto;
	margin:auto;
	font-family:Arial, Helvetica, sans-serif;
}
.footer_menu {
	float:left;
	width:80%;
	max-width:630px;
	height:auto;
}
.footer_menu ul {
	margin-top:50px;
}
.footer_menu ul li {
	list-style:none;
	color:#3b3b3b;
	font-size:10px;
	display:inline;
	border-right:1px solid #3b3b3b;
	padding-left:4px;
	padding-right:7px;
}
.footer_menu ul li a {
	list-style:none;
	color:#3b3b3b;
	text-decoration:none;
	font-size:13px;
	font-weight:normal;
}
.footer_menu ul li a:hover {
	color:#3b3b3b;
	text-decoration:underline;
}
.footer_menu ul li:first-child {
	padding-left:0px;
}
.footer_menu ul li:last-child {
	border:none;
}
.copy {
	font-size:13px;
	color:#7e7e7e;
	font-weight:normal;
	text-align:left;
	padding-top:20px;
}
.powered {
	font-size:13px;
	color:#3b3b3b;
	font-weight:normal;
	text-align:left;
	padding-top:10px;
}
.powered a {
	font-size:13px;
	color:#3b3b3b;
	font-weight:bold;
	text-decoration:underline;
}
.powered a:hover {
	text-decoration:none;
}
.footer_address {
	float:right;
	text-align:right;
	font-size:12px;
	color:#3b3b3b;
	width:215px;
	font-weight:normal;
}
.footer_address h2 {
	text-align:right;
	font-size:17px;
	color:#0a5ca6;
	width:215px;
	padding-top:50px;
	padding-bottom:2px;
	font-weight:normal;
}
.wp-pagenavi {
    margin-bottom: 15px;
}

form.s2w-form label{
    display: block;
    font-size: 23px;
    margin-top: 15px;
    margin-bottom:0px;
    text-align: center;
    clear: both;
}
form.s2w-form br{
   display: none;
}
form.s2w-form input[type="text"]{
    border: 1px solid #EEEEEE;
    display: block;
    float: none;
    margin: auto;
    padding: 6px;
    width: 205px;
    text-align:center;
}
form.s2w-form input[type="submit"]{
    background: none repeat scroll 0 0 #EEEEEE;
    border: 1px solid #CCCCCC;
    color: #0A5CA6;
    cursor: pointer;
    display: block;
    font-size: 17px;
    margin-bottom: 11px;
    margin-left: 77px;
    margin-top: 11px;
    padding: 5px 21px;
    text-align: center;
}
.s2w-alert.s2w-validation {
    background-color: #F2DEDE;
    border-color: #EED3D7;
    color: #B94A48;
    margin: 40px auto auto;
    width: 83%;
}
.s2w-alert.s2w-success {
    background-color: #DFF0D8;
    border-color: #D6E9C6;
    color: #468847;
    margin: 40px auto auto;
    margin-bottom:10px;
    width: 83%;
}
.clear {
	clear:both;
}
/*  All Responsive CSS */
@font-face {
    font-family: 'FontAwesome';
    src: url('font/fontawesome-webfont.eot');
    src: url('font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('font/fontawesome-webfont.woff') format('woff'), url('font/fontawesome-webfont.ttf') format('truetype'), url('font/fontawesome-webfont.svgz#FontAwesomeRegular') format('svg'), url('font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* Custom Drop-Down
================================================== */
#masternav .selector option{ background:#eee; -webkit-appearance:none; padding: 5px; }
#masternav .selector, 
#masternav .selector span{ cursor: pointer !important; -webkit-font-smoothing:antialiased; }
#masternav .selector, 
#masternav .selector *{ margin:0; padding:0; }
#masternav .selector select{ top:0px; left:0px; }
#masternav .selector{ width: 100%; font-size:12px;  font-weight:bold; }
#masternav .selector span:after { padding-left: 5px; padding-right: 5px; content: "\f039"; font-family: 'FontAwesome'; position:absolute; right:15px;top:0px; font-size:24px; font-weight:normal}
#masternav .selector span{ cursor:pointer; font-size:18px; font-weight:normal; text-transform:uppercase}
#masternav .selector{ height: 30px; line-height: 30px; display:-moz-inline-box;  display:inline-block;  vertical-align:middle;  zoom:1;  *display:inline; }
#masternav .selector select:focus{outline:0; }
#masternav .selector{ position:relative;  padding-left:10px;  overflow:hidden; }
#masternav .selector span{ display:block;  overflow:hidden;  text-overflow:ellipsis;  white-space:nowrap; }
#masternav .selector select{ position:absolute;  height:35px;  background:none;  width:97%; font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;  font-size:12px;  font-weight:500;  border:0 !important; }


/* General
================================================== */
img{ max-width: 100%; height:auto }

/*hide redundant menu*/
#masternav select { display: none; width: 100% !important; }
#masternav .selector { display: none;  }


/* Apply To All Responsive Layouts
================================================== */
@media only screen and (device-width: 768px) {
#wrapper,.wrapper{ width: 680px; }

}

/* #Tablet (Portrait)
================================================== */
@media only screen and (min-width: 220px) and (max-width: 1200px) {
.body_left_shadow:before{left:-54px}
.body_right_shadow:before{right:-54px}
}
/* Note: Design for a width of 740px */


/*  #Mobile (Portrait)
================================================== */

/* Note: Design for a width of 290px */

@media only screen and (max-width: 767px) {
	

	
	/*display dropdown nav*/
	#masternav .selector,
	#masternav select { display: inline-block; }
	#masternav ul { display: none; }
	#masternav{ padding: 0; height: 40px; line-height: 40px; float: none; padding: 0 5px; margin: 0; background: #0A5CA6; color: #fff; top: 0; right: 0; cursor: pointer; margin-top:20px}
	
	#wrapper,.wrapper{ width: 230px; }
	.services_container{display:none!important}
#menu-header-menu{margin-right:0px;}
.banner_text p{font-size:14px; line-height:16px;}
.banner_text h1{font-size:22px;}
.service_banner{min-height:250px!important}
}

@media only screen and (max-width: 769px) {
.banner_bg{display:none!important}
}

/* #Mobile (Landscape)
================================================== */

/* Note: Design for a width of 420px */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
#wrapper,.wrapper{ width: 100%; overflow:hidden}
.content_box{width:96%; padding-left:2%; padding-right:2%}
.widget_section{width:100%; float:left}
.phone_email_container{width:100%}
.banner_bg{width:96%}
.banner_border{overflow:hidden}

.services_container{display:none!important}

}

@media only screen and (min-width: 220px) and (max-width: 481px) {
#wrapper,.wrapper{ width: 95%; overflow:hidden }
.logo{min-width:280px}
.phone_email_container span{font-size:24px}

.phone_email_container{width:100%}
.phone_email_container{font-size:17px}
.content_box{width:96%; padding-left:2%; padding-right:2%; margin-bottom:30px}
.widget_section{width:100%; float:none; margin:0 auto; clear:both; display:block}
.phone_email_container{width:100%}
.body_left_shadow:before{display:none!important}
.body_right_shadow:before{display:none!important}
.service_box{margin-bottom:20px; width:130px}
.banner_bg{width:96%}
.banner_border{overflow:hidden}

.services_container{display:none!important}
.content_box .alignright, .content_box .alignleft{display:block; float:none; margin:10px auto!important}
.wpcf-form-control-wrap input[type="text"], .wpcf-form-control-wrap textarea,span.captcha-817 input[type="text"],#commentform input[type="text"], #commentform textarea{width:95%;}
.page-id-993 .wp-table-reloaded td.column-1,.page-id-993 .wp-table-reloaded td.column-2{width:45%!important; display:block!important; float:left!important}
.page-id-993 .wp-table-reloaded td.column-1,.page-id-993 .wp-table-reloaded td.column-2{width:45%!important; display:block!important; float:left!important}
.pmtable td{width:100%!important; display:block; float:left; padding-bottom:20px}

}
@media only screen and (min-width: 300px) and (max-width: 340px) {
.youtube, .youtube iframe {
  max-width: 280px !important;
}
}
@media only screen and (min-width: 479px) and (max-width: 481px) {
/*.banner_text,.banner_image{width:95%!important; float:none}
.banner_image{margin:10px auto;}*/
}
@media only screen and (min-width: 283px) and (max-width: 400px) {
.banner_text,.banner_image{width:240px!important; float:none;}
.banner_image{margin-top:10px; margin-bottom:10px}

}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
/*.main_menu ul li a{padding-left:8px !important; padding-right:8px}*/
	#wrapper,.wrapper{ width: 89% }
	.phone_email_container{width:100%; position:absolute; right:0px}
	.service_box{width:135px}
	.main_menu ul li a{font-size:18px!important;}
	#menu-header-menu{margin-right:0px;}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	#menu-header-menu{margin-right:0px;}
	#wrapper,.wrapper{ width: 640px; }
.content_box{width:55%}	
.widget_section{width:40%}
/*.main_menu ul li a{font-size:18px!important; padding-left:14px!important; padding-right:13px!important}*/
.main_menu ul li a{font-size:15px!important; padding-bottom:20px}
.banner_bg{width:96%}
.banner_border{overflow:hidden}

.phone_email_container{position:absolute; right:0; width:70%}
.services_container{display:none!important}
.wpcf-form-control-wrap input[type="text"], .wpcf-form-control-wrap textarea,span.captcha-817 input[type="text"],#commentform input[type="text"],#commentform textarea{width:300px;}
}
@media only screen and (min-width: 560px) and (max-width: 769px) {
.phone_email_container{width:100%; position:absolute; right:0px; font-size:16px}
.phone_email_container span{font-size:24px}
.services_container{display:none!important}
}
@media only screen and (min-width: 700px) and (max-width: 950px) {.pmtable td{width:100%!important; display:block; float:left; padding-bottom:20px}}
@media only screen and (min-width: 200px) and (max-width: 240px) {
#wrapper,.wrapper{overflow:hidden; width:100% }
.logo{min-width:180px!important}
.banner_text{width:180px!important; padding-left:10px}
}
@media only screen and (min-width: 979px) and (max-width: 981px) {
.content_box{width:63%!important}
/*.main_menu ul li a{padding-left:11px!important; padding-right:11px}*/
}
@media only screen and (min-width: 760px) and (max-width: 810px) {
.widget_section{width:45%!important}
.content_box{width:51%!important}
}
.dataTables_paginate:after{clear:both}
.banner_border{overflow:hidden}

.main_menu ul{display:table; position:relative; width:100%}
.main_menu ul li{display: table-cell; text-align: center; }
.main_menu ul li a{display:block; font-weight:bold;padding-left:5px; padding-right:5px}
.phone_email_container a{color:#666!important; text-decoration:none!important}
