header,
.header_text {
	max-height: 375px;
}

.header_text {
    display: flex;
    flex-direction: column;
    padding: 65px 4% 65px 9.5%;
    text-align: left;
}

@media screen and (max-width: 1300px) {	
    .header_text {
        padding: 65px 6% 65px 6%;
    }
}

@media screen and (max-width: 1000px) {	
    .header_text {
        padding: 65px 5% 65px 5%;
    }
}

@media only screen and (min-width: 500px) {
	header {
		margin-top: 0;
	}
}

.header_text h1 {
	color: white;
	text-align: left;
	font-weight: bold;
	margin-bottom: 0px;
	font-size: 55.2px;
	font-weight: bold;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.08;
	letter-spacing: normal;
}

.header_text h2 {
	color: white;
	text-align: left;
	font-size: 33px;
	font-weight: 300;
	font-stretch: normal;
	font-style: normal;
	line-height: normal;
	letter-spacing: normal;
}

@media (max-width: 1330px) {
	.header_text h1 {
		font-size: 46px;
	}

	.header_text h2 {
		font-size: 28px;
	}
}

@media (max-width: 1130px) {
	.header_text h1 {
		font-size: 36px;
	}

	.header_text h2 {
		font-size: 22px;
	}
}

@media (max-width: 768px) {
	.header_text {
		width: 100%;
		padding: 50px 12%;
	}

	.header_text h1 {
		font-size: 34px;
		line-height: 1.11;
		text-align: center;
	}

	.header_text h2 {
		font-size: 21px;
		font-weight: 300;
		font-stretch: normal;
		font-style: normal;
		line-height: 1.33;
		letter-spacing: normal;
		text-align: center;
	}
}

/* HEADER FORM */
.form-section {
	position: relative;
	z-index: 500;
}

.sub_hero h2 {
    margin-top: -10px;
	font-size: 33px;
	font-weight: 400 !important;
	font-stretch: normal !important;
	font-style: normal !important;
	line-height: normal !important;
	letter-spacing: normal;
}

.sub_hero .blue-heading {
	color: #0453a0;
	font-weight: bold !important;
}

.sub_hero p {
	text-align: left;
}

.sub_hero-ct {
	padding-left: 9.5%;
    padding-right: 40px;    
}

@media (max-width: 768px) {
	.sub_hero-ct {
		padding-left: 12% !important;
		padding-right: 12% !important;    
	}
}

@media screen and (max-width: 1300px) {
	.sub_hero-ct {
        padding-left: 6%;
    }
}

@media screen and (max-width: 1000px) {
	.sub_hero-ct {
        padding-left: 5%;
    }
}

form #form-quote-home h2 {
	background: #0653a0;
	font-weight: bold;
	text-align: center;
	color: white;
	text-transform: uppercase;
	padding: 20px 0;
	margin: 0;
	letter-spacing: 1px;
}

#home-form-container {
	padding: 20px;
	background: #ececec;
	display: flex;
	flex-direction: column;
}

#home-form-container .col {
	display: block;
	margin: 0;
	width: 100%;
}

.header_form {
	position: absolute;
	top: -320px;
	right: 138px;
	width: 427px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 1330px) {
	.header_form {
		width: 410px;
        right: 80px;
        top: -260px;
	}
}

@media (max-width: 1180px) {
	.header_form {
		width: 360px;
        right: 60px;
        top: -250px;
	}
}

@media (max-width: 998px) {
	.header_form {
		width: 320px;
		right: 40px;
	}
}

@media (max-width: 768px) {

    
    .sub_hero h2 {
        margin-top: 18px;
    }

	.form-section {
		display: flex;
		flex-flow: column-reverse;
	}

	.header_form {
		position: static;
		width: 100%;
	}

	.header_form-ct {
		width: 100%;
		margin-right: 0px;
		margin-left: 0px;
		margin-top: -5px;
	}

	.header_form h2 {
		font-size: 15.2px;
		font-weight: bold;
		font-stretch: normal;
		font-style: normal;
		line-height: normal;
		letter-spacing: 0.8px;
		text-align: center;
	}

	#home-form-container {
		padding: 25px 34px !important;
	}

	.sub_hero-ct {
		width: 100%;
        text-align: center;
        margin-bottom: -15px;
	}

	.sub_hero {
		padding-top: 20px !important;
	}

	.sub_hero h2 {
		font-size: 26px !important;
	}

	.sub_hero p {
		text-align: center !important;
		font-size: 18px !important;
		font-weight: normal !important;
		font-stretch: normal !important;
		line-height: 1.56 !important;
	}

	.sub_hero p:nth-child(3) {
		font-size: 14px !important;
	}

	.company_links.section.group {
		box-shadow: none !important;
		border: none !important;
	}

	.company_links > div {
		border: none !important;
		padding-bottom: 30px !important;
		margin-bottom: 30px !important;
	}

	.company_links > div:not(:last-of-type) {
		border-bottom: solid 1px #bbbbbb !important;
    }
    
    .company_links .col {
        width: 100% !important;
    }
}

.header_form h2 {
	font-size: 19px;
}

#home-form-container {
	padding: 48px 45px !important;
}

form input,
form select {
	font-family: 'Proxima Nova', proxima-nova, sans-serif;
	font-style: normal;
	font-weight: 400;
	color: #787c81;
	height: 45px !important;
	font-size: 13px !important;
	letter-spacing: 0.72px;
	margin-bottom: 10px !important;	
}

.header_form ::placeholder,
.header_form ::-ms-input-placeholder,
.header_form ::-webkit-input-placeholder {
	font-family: 'Proxima Nova';
	font-size: 13px;
	font-weight: 400 !important;
	letter-spacing: 0.72px;
	color: #03273f;
}

#home-form-container > div:nth-child(2) div:first-child {
	display: block;
}

#home-form-container > div:nth-child(2) {
	display: inline-block;
}

#home-form-container > div:nth-child(2) > div:nth-child(2) {
	margin-right: 1%;
}

#home-form-container > div:nth-child(2) > div:last-child {
	margin-left: 1%;
}

#home-form-container > div:nth-child(2) > div:nth-child(2),
#home-form-container > div:nth-child(2) > div:last-child {
	width: 49%;
	display: inline-block;
}

#home-form-container input,
#home-form-container select {
	border: none;
	font-size: 13px;	
	color: #03273f !important;
	margin: 4px 0 !important;
	outline: none;
	padding-left: 20px;
	border-radius: 0%;
}

#home-form-container select {
	border: none;
	font-size: 10px;
	color: #03273f;
	margin: 4px 0;
	outline: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-left: 20px;
}

#home-form-container input::placeholder,
#home-form-container select::placeholder {
	text-transform: uppercase;
	font-size: 13px;
	color: #03273f;
}

#home-form-container input[type="submit"] {
	box-sizing: border-box;
	display: inline-block;
	position: relative;
	background: #ffca30;
	margin-top: 8px !important;
	padding: 15px 0;
	border-radius: 0;
	margin-top: 15px;
	letter-spacing: 1px;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	font-size: 16px !important;
	font-weight: bold !important;
	height: 57px !important;
}

.ajax-loader {
	position: absolute;
	left: 46%;
}

/* SUB HERO */
.sub_hero {
	padding: 35px 0;
}

.sub_hero h1 {
	margin: 0;
	text-align: center;
	font-size: 26px;
	color: #0453a0;
	padding: 0 7%;
}

.sub_hero h1:last-of-type {
	color: black;
}

.sub_hero p:first-of-type {
	line-height: 1.56;
	text-align: left;
	color: black;
	font-size: 21px;
	font-weight: 300;
	margin: 20px 0;
}

.sub_hero p a {
	color: #0453a0;
	text-decoration: underline;
	font-weight: inherit;
}

.sub_hero p:last-of-type {
	text-align: left;
	margin-top: 25px;
	margin-bottom: 0px;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	font-stretch: normal;
	font-style: normal;
	line-height: normal;
	letter-spacing: 0.87px;
	color: #656565;
}

.sub_hero p span {
	margin: 0 10px;
}

/* Quote Form */
@media screen and (max-width: 920px) {
	.quote-form {
		width: 100%;
		transform: translateX(0) translateY(150%);
	}
	
	.quote-form.form-open ~ .slide-in-overlay {
		position: absolute;
		width: 100%;
		height: 100%;
		z-index: 9000;
		background-color: #0008;
		top: 0;
		left: 0;
	}

}
.quote-form-header {
	background-color: #0453a0;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	font-size: 19px;
	padding: 20px;
	font-weight: 300;
}
.quote-form-inputs {
	padding: 40px;
	padding-bottom: 20px;
}
@media screen and (max-width: 920px) {
	.quote-form-inputs {
		padding: 30px;
		padding-bottom: 10px;
	}
}
.quote-form input {
	width: 100%;
	border: none;
	padding: 17px 20px;
	outline: none;
}
.quote-form .w100 {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.quote-form .w50 {
	width: 47%;
}
.quote-form .input-box {
	position: relative;
	margin-bottom: 7px;
}
.quote-form .input-box-name {
	position: absolute;
	font-size: 13px;
	color: #03273f;
	text-transform: uppercase;
	top: 0;
	left: 8px;
}
.quote-form-submit-container {
	width: 100%;
}
.quote-form-submit {
	border: none;
	background-color: #ffca30;
	color: #03273f;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 300;
	padding: 20px;
	text-align: center;
	width: 100%;
	cursor: pointer;
}

.quote-form-close {
	margin-top: 20px;
	text-align: end;
	text-decoration: underline;
	cursor: pointer;
	color: #717171;
	text-transform: capitalize;
	font-weight: 300;
}
.quote-form form h2 {
  font-size: 19px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: 1px;
  text-align: center;
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}
