﻿.formsection {
	display: table;
	margin-top: 55px;
	margin-bottom: 55px;
	justify-content: space-between;
	max-width: 1200px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 80px;
}

.formsection .formfieldsbox {
	display: table;
}

.formsection .leftform {
	max-width: 550px;
	width: 100%;
	margin-right: 50px;
	float: left;
}

.formsection .leftform h2.maintitle {
	font-size: 32px;
	letter-spacing: -.9px;
	margin-bottom: 0;
	color: #4B5D54;
	margin-bottom: 15px;
	font-weight: 100;
}

.formsection .leftform p {
	margin-bottom: 25px;
	font-size: 16px;
	font-family: Playfair;
}

.formsection .leftform input, .formsection .leftform select {
	max-width: 100%;
	width: 100%;
	height: 55px;
	padding: 5px 50px 5px 16px;
	font-family: Open Sans,Arial,Helvetica Neue,Helvetica,sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #4B5D54;
	border: 1px solid #cbcbcb;
	border-radius: 3px;
	background-color: #fff;
	outline: none;
	margin-bottom: 20px;
}

.formsection .leftform select {
	color: #999;
}

.formsection .leftform input::placeholder, .formsection .leftform textarea::placeholder {
	color: #999;
	font-family: Open Sans,Arial,Helvetica Neue,Helvetica,sans-serif;
	font-size: 16px;
	font-weight: 400;
}

.formsection .leftform .half-row {
	width: 49%;
}

.formsection .leftform .half-row:first-child {
	margin-right: 2%;
}

.formsection .leftform textarea {
	display: block;
	max-width: 100%;
	width: 100%;
	height: 145px;
	padding: 15px 50px 15px 16px;
	border: 1px solid #cbcbcb;
	border-radius: 2px;
	color: #4B5D54;
	resize: none;
	font-size: 1.4em;
}

.formsection .leftform form .fmoptions {
	margin-top: 50px;
}

.formsection .leftform form .fmoptions a {
	color: #986542;
}

.formsection .leftform form .fmoptions input {
	width: 25px;
	height: 25px;
	float: left;
}

.formsection .leftform form .fmoptions p {
	width: calc(100% - 50px);
	float: left;
	margin-left: 20px;
	color: #4B5D54;
	font-size: 14px;
	font-weight: bold;
}

.formsection .leftform form > a {
	display: table;
	transition: background .3s ease-in-out;
	width: 166px;
	padding: 15px 5px;
	font-family: Open Sans,Arial,Helvetica Neue,Helvetica,sans-serif;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
	border: 0;
	border-radius: 2px;
	background-color: #986542;
	outline: 0;
	text-align: center;
}

.formsection .leftform form > a:hover {
	background: #8a7445;
}

.formsection .rightform {
	max-width: 271px;
	float: right;
	width: 100%;
	min-height: 238px;
	border: 1px solid #cbcbcb;
	border-radius: 2px;
	position: relative;
	padding-top: 19px;
	margin: 0 0 20px;
	background-color: #fff;
	color: #2c2c34;
	letter-spacing: -.6px;
}

.formsection .rightimage {
	max-width: 271px;
	float: right;
	width: 100%;
	min-height: 238px;
	border-radius: 2px;
	position: relative;
	margin: 0 0 20px;
	color: #2c2c34;
	letter-spacing: -.6px;
}

.formsection .rightform h5 {
	line-height: 1.263;
	margin: 0 0 10px;
	color: #4B5D54;
	letter-spacing: -.8px;
	font-size: 19px;
	padding: 0 20px;
	font-weight: 100;
}

.formsection .rightform p {
	margin: 0 0 15px;
	padding: 0 20px;
	font-family: 'Playfair';
	font-size: 15px;
}

.formsection .rightform a {
	-webkit-transition: color .3s ease-in-out;
	-o-transition: color .3s ease-in-out;
	transition: color .3s ease-in-out;
	border-top: 1px solid #cbcbcb;
	display: block;
	text-decoration: none;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	color: #4B5D54;
	text-align: center;
	padding: 16px 10px;
}


.rightimage .image {
	display: table;
	width: 100%;
	height: 250px;
	background-position: center;
}



.rightimage .listboxcontent {
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	padding: 24px 50px 24px 22px;
	border: 1px solid #e8e9e8;
	border-top: 0;
	color: #2c2c34;
	background: #FFF;
}

.rightimage .teamposition {
	min-height: 65px;
}

.outcomemsg {
	padding: 10px 0;
	font-size: 1.1em;
}

#formcontainerpopup {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0px;
	left: 0px;
	background: rgba(0,0,0,0.5);
	display: none;
	z-index: 1000;
}

#formcontainerpopup .formsection {
	position: relative;
	width: 90%;
	max-width: 550px;
	margin: 150px auto 0 auto;
	padding: 40px 5% 20px 5%;
	background: #f3f4f6;
}

#formcontainerpopup .formsection .leftform {
	max-width: 550px;
	width: 100%;
	margin-right: 0;
	float: none;
}

#btnformclose {
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
}

.formsection .leftform input {
	height: 45px;
}

.formsection .leftform textarea {
	height: 100px;
}

.formsection .leftform form .fmoptions {
	margin-top: 25px;
}

.formsection .leftform form .fmoptions p {
	font-size: 12px;
}

/*media queries*/

@media screen and (max-width:1050px) {
	.formsection .leftform {
		max-width: 400px;
	}
}

@media screen and (max-width:881px) {
	.formsection .rightimage {
		max-width: 230px;
	}
}

@media screen and (max-width:850px) {
	.formsection .leftform {
		float: none;
		max-width: none
	}

	.formsection .leftform, .formsection .rightform {
		float: none;
		margin: 0 auto;
	}

	.formsection .rightform {
		margin-top: 50px;
	}

	.formsection .rightimage {
		float: none;
		margin: auto;
		margin-top: 50px;
		max-width: 271px;
	}
}

@media (max-width: 500px) {
	.formsection {
		padding: 25px;
	}

	#formcontainerpopup .formsection {
		margin-top: 50px;
	}

	#formcontainerpopup .formsection .leftform input {
		height: 35px;
	}

	#formcontainerpopup .formsection .leftform textarea {
		height: 95px;
	}
}
