


@media screen and (min-width: 1279px) {
#grey-logo{
	padding:12px!important;
	max-width: 86%;
	margin-top: -22px;
}
}
@media screen and (min-width: 980px) and (max-width: 1279px) {
body {
	background: url('../img/bg-car.png') top right no-repeat;/*background: url('../img/bg-car-small.png') 100% 7% no-repeat;*/
}
#main-content {
	margin-left: 220px;
}

#grey-logo{
	padding:12px!important;
	max-width: 86%;
	margin-top: -22px;
}
#logo {
	width: 600px;
	}
}

@media (max-width: 480px) {
.form-line.form-line-column {
	width: 100% !important;
}
.form-textarea, .form-textbox, .form-dropdown {
	width: 100% !important;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.form-label-left, .form-label-right {
	width: auto !important;
}
.form-buttons-wrapper {
	margin-left: 0 !important;
}
.form-input {
	width: 100% !important;
}
.form-all {
	width: 75% !important;
}
.form-sub-label-container {
	width: 100% !important;
	display: block !important;
}
}



@media screen and (min-width: 980px) and (max-width: 1200px) {
.main-bg {
	width: 250px;
	background: url("../img/bg-car-small.png") no-repeat right 55px;
}
.quote-instant {
	margin-left: 0px;
}
form {
	margin-left: 53px;
}
.footer-nav {
	margin-right: 24%
}
.widget-area{
padding-top:120px;
}
.footer-nav {
    color: #272727;
    font-size: 11.5px;
}
.cnt-dtls p{font-size:10.8px !important;}

.ht-fix-cm-rf {
	margin-top: -490px;
}
.ht-fix-cm-rf1 {
	margin-top: -780px;
}
.ht-fix-cm-rf2 {
	margin-top: -1140px;
}
.ht-fix-cm-rf3 {
	margin-top: -1010px;
}
.ht-fix-cm-rf4 {
	margin-top: -672px;
}
.ht-fix-cm-rf5 {
	margin-top: -660px;
}
.ht-fix-cm-rf6 {
	margin-top: -840px;
}
.ht-fix-cm-rf7 {
	margin-top: -1050px;
}
.ht-fix-cm-rf8 {
	margin-top: -860px;
}
.no-brk{ display: block;}
#cpIframe{width:80% !important;}
#logo {
	width: 500px;
	}
}

@media screen and (max-width: 979px) {
.main-bg {
	display: none;
}
.content-main aside{
margin-top:auto !important;
text-align:left !important;
height:auto !important;
}
.content-main footer{
margin-left:0px;
}
.widget-area{
padding-top:10px;
}
#cpIframe{width:100% !important;}
}
@media screen and (min-device-width: 768px) and (max-device-width: 979px) {
	.zip-style {
		margin-top:10px;
	}
}
@media screen and (min-width: 768px) and (max-width: 979px) {
body {
	background-image: none;
}
.nav-collapse .dropdown-menu{
background-color:#D0202A;
}
.select-center {
	margin: 0px 165px 10px 0px !important;
	margin-left: 20% !important;
}
.main-bg {
	display: none;
}
#main-content {
	margin-left: 0px !important;
	padding: 0;
	width: 90%;
}
header .span4, .span8 {
	width: 100% !important;
	margin-left: 0 !important;
}
header .logo, header > .span4 {
	display: none !important;
}
header h1 {
	display: inline;
}
.nav > li > a:hover, .nav > li > a:focus {
	background-color: transparent !important;
	border: 0px !important;
}
.nav.nav-tabs.nav-stacked {
	width: 100% !important;
}
.quote_test {
	margin-left: 10px !important;
	margin-right: 20px !important;
	text-align: center;
}
.quote-instant {
	margin-left: 0px !important;
}
/*.quote_test form {
		width: 390px;
		padding-left: 50px;
	}*/
.content {
	/*padding: 0 10px 0 10px !important;*/
	margin-right: 10px !important;
	padding-left:10px;
}
article {
	padding: 0 30px 0 20px !important;
}
.span7, .span10 {
	width: 100% !important;
}
.social_media {
	width: 100px;
}
.center {
	display: inline-block!important;
	margin-left: auto!important;
	margin-right: auto!important;
}
.logo {
	margin-bottom: 10px !important;
}
.navbar {
	border-bottom: 5px solid rgb(61,63,136);
	margin: 0 !important;
}
.nav {
	/*margin-top:10px !important;*/
	float: right !important;/*text-align: center;*/
}
/*-- Navbar --*/
.innermenu {
	background: #759f20; /* Old browsers */
	background: -moz-linear-gradient(top, #759f20 0%, #4f7e01 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #759f20), color-stop(100%, #4f7e01)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #759f20 0%, #4f7e01 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #759f20 0%, #4f7e01 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #759f20 0%, #4f7e01 100%); /* IE10+ */
	background: linear-gradient(to bottom, #759f20 0%, #4f7e01 100%); /* W3C */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#759f20', endColorstr='#4f7e01', GradientType=0 ); /* IE6-9 */
}
.navbar-inner {
	padding: 0!important;
	border: 0!important;
	border-radius: 0px !important;
	-webkit-border-radius: 0px !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
	filter: none;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}
.nav-collapse .nav > li > a {
	font-weight: normal;
	color: #fff;
	padding: 6px 0 6px 20px;
}
.nav-collapse .nav > li > a:hover {
	color: #7f8eb5;
}
.nav-tabs > li > a.active {
	color: #7f8eb5;
}
.menu {
	background-image: none !important;
	background: none !important;
	border: none !important;
	margin-top: 5px;
	box-shadow: none !important;
}
.socialright {
	margin-right: 10px!important;
}
.social img {
	background: none;
}
.social > img:active, .social > img:hover {
	background: rgba(0,0,0,0.15);
	padding: 0;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
.social > li {
	margin: 0px 10px 10px 0;
	float: left;
}
.social > li > a {
	background: none;
	margin: 0;
}
.social > li > a:focus, .social > li > a:hover {
	background: rgba(0,0,0,0.15);
	padding: 0;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
footer {
	margin-left: 10px;
	margin-right: 10px;
	width:100%;
}
footer div {
	margin-bottom: 10px;
}
.footer-nav {
    font-size: 12px;
}
aside {
	margin-top: 10px;
	border-left: none;
	text-align: center;
	padding-left: 0px;
	height: auto;
}
aside ul li {
	margin-top: 10px;
}
footer {
	border-top: 0;
}

.top-img{margin-right:0%;}
.lob-error {
    color: #ff0000;
    margin-right: 35%;
	margin-left:0%;
}
.no-brk{display:block;
}
.cnt-dtls{position: relative; z-index:99; }
.cnt-dtls a{font-size:12px !important;}
@-moz-document url-prefix() {
                      .zip-style {
		margin-top:-35px;
	}
	}
}
@media screen and (max-width: 767px) {
body {
	
	background-image: none;
}
.staff-pic {
margin-left:auto;
margin-right:auto;
display:block;
float:none;
}
.h-fix h2, .h-fix h4 {
text-align:center;
}
.cnt-dtls {
text-align:center;
}
.myaccount-mobile-section{
margin-bottom:10px;
}
.myaccount-mob-expand ul{
margin:0px;
padding-bottom:5px!important;
}
.myaccount-mobile-section button.mobile-go{
margin-bottom:10px!important;
}
.myaccount-mob-expand{
text-align:left;
}
.btn:hover, .btn:focus{	transition: none; }
.quote-form-lob {
	width: 100%;
	border: none;
	height: 660px!important;
}
.quote-icon {
	margin-right: 12px;
	width: 20px;
	margin-top: -3px;
}
.ht-fix {
	margin-top: 0px !important;
}
.quote-btn, .quote-btn:hover {
	font-size: 14px;
	width: 85%;
	text-align: left;
	height: 30px;
	line-height: 30px;
	margin: 5px 0px;
}
#main-content {
	margin-left: 0px;
	padding: 0;
	width: 90%;
}
header > .span4 {
	display: none !important;
}
header h1 {
	display: inline;
}
.log {
	display: none;
}
.navbar {
	border-bottom: 5px solid rgb(61,63,136);
	margin: 0 !important;
}
.nav {
/*margin-top:10px !important;
		text-align: center;*/
}
/*-- Navbar --*/
.innermenu {
	background: #759f20; /* Old browsers */
	background: -moz-linear-gradient(top, #759f20 0%, #4f7e01 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #759f20), color-stop(100%, #4f7e01)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #759f20 0%, #4f7e01 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #759f20 0%, #4f7e01 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #759f20 0%, #4f7e01 100%); /* IE10+ */
	background: linear-gradient(top bottom, #759f20 0%, #4f7e01 100%); /* W3C */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#759f20', endColorstr='#4f7e01', GradientType=0 ); /* IE6-9 */
}
.border-grey-light {
	border-bottom: none;
}
.navbar-inner {
	padding: 0!important;
	border: 0!important;
	border-radius: 0px !important;
	-webkit-border-radius: 0px !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
	filter: none;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}
.nav {
	margin-bottom: 0;
	margin-top: 5px;
}
.nav > li > a:hover, .nav > li > a:focus {
	background-color: transparent !important;
	border: 0px !important;
}
.nav-collapse .nav > li > a {
	font-weight: normal;
	color: #fff;
	padding: 6px 0 6px 20px;
}
.nav-collapse .nav > li > a:hover {
	color: #7f8eb5;
}
.nav-tabs > li > a.active {
	color: #7f8eb5;
}

.go {
	padding: 20px 5px 20px 5px!important;
	letter-spacing: 2px;
	font-size: 30px;
	width: 100% !important;
}
.menu {
	background-image: none !important;
	background: none !important;
	border: none !important;
	margin-top: 1px;
	box-shadow: none !important;
}
.social {
	float: right !important;
}
.socialright {
	margin-right: 10px!important;
}
.social img {
	background: none;
}
.social > img:active, .social > img:hover {
	background: rgba(0,0,0,0.15);
	padding: 0;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
.social > li {
	margin: 0px 10px 0 0;
	float: left;
}
.social > li > a {
	background: none;
	margin: 0;
}
.social > li > a:focus, .social > li > a:hover {
	background: rgba(0,0,0,0.15);
	padding: 0;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.center {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
}
footer {
	margin-left: 10px;
	margin-right: 20px;
	margin-top: 20px !important;
	border-top: 1px solid #DFDFDF;
}
footer div {
	margin-bottom: 10px;
}
aside, .ht-fix-cm, .ht-fix-cm-rf, .ht-fix-cm-rf1, .ht-fix-cm-rf2, .ht-fix-cm-rf3, .ht-fix-cm-rf4, .ht-fix-cm-rf5, .ht-fix-cm-rf6, .ht-fix-cm-rf7, .ht-fix-cm-rf {
	margin-top: 10px;
	border-left: none;
	text-align: center;
	padding-left: 0px;
	height: auto;
}
aside ul li {
	margin-top: 10px;
}
.quote-instant {
	margin: 0;
}
.content h1 {
	font-size: 24px;
	line-height: 26px;
}
.content {
	margin-top: 20px;
}
.rssfeedsclass div {
	width: 215px;
}
.is_box {
	width: 90%!important;
}
/*#main-content1 {
	margin-left: -15px!important;
}*/
/* Mobile-fixes */
	
.content {
	padding:10px 10px;
}
.mobile-quote {
	padding-left: 10px;
	padding-right: 10px;
}
iframe{width:100%;}
.span6.ht {
	padding-right: 50px;
}
.jPanelMenu-panel{position:absolute!important;}
	.container{padding:0 20px;}
	.top-img{margin-right:0%;}
	.nt-altr{width:none!important;margin-left:auto!important;}
}

/* Career Grid Style */

@media screen and (max-width: 480px) {
.quote-form {
	height: 500px!important;
}
.quote-form-lob {
	height: 675px!important
}
.jt-rfrl{height:500px!important; border:0;}
#insurance-lob p strong, .content p strong{font-size:23px;}
.top-img{margin-left:40%; margin-right:10%}
}

@media screen and (max-width: 380px) {
#content h2 {
	margin-top: 10px;
}
.staff-pic {
	width: 100%;
}
}
