/*------------------------------------*\
    CONTACT SECTION
\*------------------------------------*/

.contactsec {
	padding-top: 40px;
	padding-bottom: 40px;
}

.ts-contact {
	background: #fff;
	padding: 40px 0;
}

.cs-intro {
	margin-bottom: 30px;
}

label {
	display: block; text-transform: uppercase;
	font-weight: 500; letter-spacing: 0.02em;
	margin-bottom: 8px; font-size: 1.6rem;
}

.form-row {
	margin-bottom: 30px;
}

.form-row.full-row:last-of-type {
	margin-bottom: 0;
}

.form-row br {
	display: none;
}

input[type="text"], 
input[type="tel"], 
input[type="email"],
input[type="search"],
select, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    border-bottom: 1px solid rgba(22, 39, 59, 0.3);
    border-radius: 0; outline: 0; 
    box-shadow: none; display: block; width: 100%;
    font-size: 1.6rem; line-height: 35px; 
    height: 36px; background: none;
	font-family: var(--ffBody);
	padding: 0; letter-spacing: 0.02em;
}

select {
	background: url(../img/select.png) no-repeat right center;
	background-size: 17px;
}

textarea {
	padding: 0 0 12px; line-height: 1.35;
	height: 130px;
}

.required {
	font-size: 1.2rem;
	margin-bottom: 30px;
}

.submitrow {
	text-align: right;
}

.submitrow p {
	margin: 0;
}

.wpcf7-spinner {
	display: block;
}

#offices {
	margin-bottom: 30px;
}

#offices h2 {
	margin-bottom: 20px;
}

.office-card {
	margin-bottom: 30px;
	border-radius: 10px;
	box-shadow: 0px 3px 30px rgba(22, 77, 160, 0.15);
}

.oc-inner {
	position: relative; border-radius: 10px;
	overflow: hidden; background: #fff;
}

.oci-content {
	position: absolute; top: 0; 
	left: 0; right: 0;
	padding: 24px 24px 0;
}

.oci-content h4 {
	color: #1578C5; margin-bottom: 12px;
}

.office-address {
	padding-left: 24px;
	background: url(../img/icn-pin.png) no-repeat left 3px;
	background-size: 18px;
	margin-bottom: 6px;
}

.office-phone {
	padding-left: 24px;
	background: url(../img/icn-phone.png) no-repeat left 3px;
	background-size: 18px;
}

@media only screen and (min-width: 768px) {

	.contactsec {
		padding-top: 64px;
		padding-bottom: 84px;
	}

	.cs-intro {
		width: 40%; max-width: 480px;
	}

	.cs-formwrap {
		width: 55%;
	}

	#offices h2 {
		margin-bottom: 30px;
	}

	.offices-row {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-column-gap: 10px;
		column-gap: 10px;
	}

	.office-card {
		margin-bottom: 0;
	}

	.oc-inner {
		padding-top: 72px;
	}

	.oci-content {
		padding: 12px 10px 0;
		font-size: 1.4rem;
	}

}

@media only screen and (min-width: 1024px) {

	.ts-contact {
		padding: 60px 0;
	}

	.contactsec {
		padding-top: 96px;
		padding-bottom: 100px;
	}

	.form-inner {
		display: flex; flex-wrap: wrap;
		justify-content: space-between;
	}

	.form-row {
		width: 48%;
	}

	.form-row.full-row {
		width: 100%;
	}

	#offices {
		margin-bottom: 48px;
	}

	.oc-inner {
		padding-top: 48px;
	}

	.oci-content {
		padding: 24px 16px 0;
	}

}

@media only screen and (min-width: 1280px) {

	.ts-contact {
		padding: 96px 0;
	}

	.contactsec {
		padding-top: 148px;
		padding-bottom: 140px;
	}

	.contactsec h2 {
		line-height: 1.4;
	}

	input[type="text"], 
	input[type="tel"], 
	input[type="email"],
	select, textarea {
		line-height: 40px; 
    	height: 41px;
	}

	textarea {
		padding: 8px 0 16px; line-height: 1.35;
	}

	.required {
		font-size: 1.6rem;
		margin-bottom: 48px;
	}

	#offices {
		margin-bottom: 70px;
	}

	#offices h2 {
		margin-bottom: 48px;
	}

	.offices-row {
		grid-column-gap: 20px;
		column-gap: 20px;
	}

	.oc-inner {
		padding-top: 0;
	}

	.oci-content {
		padding: 40px 40px 0;
		font-size: 1.6rem;
	}

}