@charset "utf-8";

/* Media Queries */

@media screen and (min-width: 980px) and (max-width: 1199px) {
.banner #main-img {
	height: auto;
}
.TitleStyle4 {
    font-size: 26px;
    margin: 5px 5px 0px 0;
}
.quotes {
    margin-left: 0px !important;
    margin-top: 5px;
}
.quotes .TitleStyle2 {
    font-size: 24px;
    margin: 8px 0;
}	
#headline {
    height: 191px !important;
}
#headline p {
    font-size: 13px;
    line-height: 20px;
}
.navbar .nav > li > a {
	line-height: 20px;
	font-size: 14px;
	padding:10px 10px;
}
/* Home */
ul.navbar li:nth-child(1) {
	width: 24.99%;
}
/* Auto Insurance */
ul.navbar li:nth-child(2) {
	width: 24.99%;
}
/* Home Insurance */
ul.navbar li:nth-child(3) {
	width: 24.99%;
}
/* Commercial Insurance */
ul.navbar li:nth-child(4) {
	width: 24.99%;
}
/* Other Insurance */
ul.navbar li:nth-child(5) {
	width: 20%;
}
/* Insurance Blog */
ul.navbar li:nth-child(6) {
	width: 13.7%;
}
/* Customer Service */
ul.navbar li:nth-child(7) {
	width: 14.3%;
}
.quotes {
	width: 106%;
	height: 100%;
}
.quotes input {
	width: 100px;
}
.quotes select {
	width: 140px;
}
.headline {
	height: 100%;
}
#headline {
	margin-top: 0px;
	float: left;
	width: 100%;
}
}

@media screen and (max-width: 979px) {
	.quotes {
    margin-top: 10px;
    margin-right: auto !important;
    margin-left: auto !important;
}
.banner #main-img {
	width: 100%!important;
}
.navbar .nav > li > a {
	color: #333333;
}

.navbar .nav > li > a:hover, .navbar .nav > li > a:focus {
    color: #333333;
}

/* Home */
ul.navbar li:nth-child(1) {
	width: 100%;
}
/* Auto Insurance */
ul.navbar li:nth-child(2) {
	width: 100%;
}
/* Home Insurance */
ul.navbar li:nth-child(3) {
	width: 100%;
}
/* Commercial Insurance */
ul.navbar li:nth-child(4) {
	width: 100%;
}
/* Other Insurance */
ul.navbar li:nth-child(5) {
	width: 100%;
}
/* Insurance Blog */
ul.navbar li:nth-child(6) {
	width: 100%;
}
/* Customer Service */
ul.navbar li:nth-child(7) {
	width: 100%;
}
.quotes {
	width: 106%;
	height: auto;
}
.quotes .TitleStyle2 {
	font-size: 20px;
}
#headline {
	margin-top: 30px;
	float: left;
	margin-left: -415px;
	width: 234%;
	height: auto;
}
.quotes input {
	margin-left: 0px;
}
input[type="text"] {
	width: 160px;
}
.quotes select {
	width: 170px;
}

footer{font-size:13px;}
form {
    margin: 0 0 10px;
}
.quotes {
    margin-left: 0px !important;
    margin-top: 15px;
}


}

@media screen and (max-width: 767px) {

.TitleStyle4 {
	margin-right: 40px;
}
.banner {
	margin-top: -20px!important;
}
.banner #main-img {
	width: 100%!important;
}
.quotes {
	width: 90%!important;
	margin-right: 20px !important;
margin-left: 20px !important;
}
.quotes input {
	margin-left: 20px;
}
#headline {
	margin-top: 0px;
	float: left;
	margin-left: 0px;
	width: auto;
	height: auto;
}
#main-text {
	padding-left: 20px;
	padding-right: 20px;
}
footer {
	font-size: 13px;}
	
#agency-logo {
    padding-left: 8px;
	margin-top: 10px;
	margin-bottom: 10px;
	max-width: 250px;
}

.TitleStyle4 {
    font-size: 26px;
}


}

@media screen and (max-width: 640px) {

.search-location {
	width: 100%;
}
#ZipCode {
	width: 90%;
	margin-left: 0px;
}
#Type {
	width: 92%;
	margin-left: 0px;
}
.search-button {
	margin-left:0px;
	margin-bottom: 20px;
}
#miniQuote {
	margin-bottom: 10px;
}
}




@media screen and (max-width: 359px) {
.quotes {
	width: 90%!important;
	margin-right: 20px!important;
}
.quotes .TitleStyle4 {
	margin-top: -40px;
}
.quotes input {
	margin-left: 20px;
}
.quotes select {
	width: 140px;
	margin-left: 20px;
}
.btn-custom {
	width: 140px;
	margin-top: -30px;
	margin-left: 10px;
}
#headline {
	height: auto!important;
}
#main-text {
	margin-top: 320px;
}
}




@media screen and (min-width: 768px) and (max-width: 979px) {
.TitleStyle4 {
    margin-top: 7px;
    font-size: 26px;
}
.quotes {
    width: 107%;
    height: auto;
}
}