#contact {
	font-family:'Montserrat','Gothic A1';
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

#contact #form {
	max-width: 1350px;
	position: relative;
	background: white;
	margin: auto;
	top: 10vh;
	height: 80vh;
	padding:6px 3px 6px 6px;
}

#contact label {
	display: inline-block;
	margin-right:3rem;
	font-weight:500;
	font-size:20px;
}

#contact input[type="radio"]:checked+label {
	color:#2727FB;
	font-weight:700;
}

#contact input[type="radio"] {
	display: inline-block;
	margin-right: 0.5rem
}

#contact #form h2 {
	font-size:72px;
	color: black;
	font-family: Montserrat;
	text-align: center;
	line-height: 1em;
	top: 0px;
	font-weight:800 !important;
}

#contact #form h2 .blue {
	color: #2727FB;
	display: inline;
	transform:initial;
	transition:initial;
	background:unset;
	font-family:Montserrat, 'Gothic A1' !important;
	font-weight:800;
}

#contact #form small {
	display: block;
	font-size: 18px;
	font-weight:400;
	line-height: 1.5em;
	margin-top: 24px;
}

#contact #form .full {
	width: 100%
}

#contact #form h5 {
	font-size: 24px;
	margin-bottom: 24px;
	color:#000;
}

#contact #form h5 s {
	color:#2727fb;
	text-decoration: none;
}

#contact #form p {
	margin: 3rem 0;
}

#contact #form span.text {
	display:block;
	border: 1px solid #A1A4AE;
	padding:16px 13px 16px 16px;
	width:100%;
	height:286px;
}

#contact #form p span.text:focus {
	border-color:#000;
}

#contact #form input {
	font-size:18px;
	font-weight:400;
}

#contact #form input::placeholder {
	color:#707070;
}

#contact #form input.full {
	padding: 0 0 1rem 0;
	border: 0;
	border-bottom: 1px solid #A1A4AE
}

#contact #form textarea {
	padding:0;
	border:0;
	resize: none;
	font-size:18px;
	height:100%;
	width:100%;
}

#contact #form textarea::placeholder {
	color:#707070;
}

#contact #form textarea:read-only {
	font-size:15px;
	color:#707070;
}

.alert_layer {
	background:rgba(0, 0, 0, 0.5);
	opacity:0;
	transition:opacity 0.5s;
	position:fixed;
	width:100vw;
	height:100vh;
	z-index:1001;
	left:100000px;
	top:0;
}

.alert_layer.show {
	opacity:1;
	left:0;
}

.alert_layer .alert {
	background:#FAFAFA;
	width: 383px;
    height: 203px;
	display:flex;
	flex-direction: column;
	align-items: center;
	top:calc( 50vh - 100px );
	position:relative;
	margin:0 auto;
}

.alert_layer .alert div {
	height:149px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
	font-size:18px;
	line-height:28px;
	color:#707070;
	padding:60px;
}

.alert_layer .alert button {
	height:54px;
	background:#fff;
	border:0;
	border-top: 1px solid #A1A4AE;
	width:100%;
	font-size:20px;
	font-weight:bold;
	color:#111;
}

.alert_layer .alert button:hover {
	background:#2727FB;
	border-top:1px solid #2727fb;
	color:#fff;	
}

textarea:focus,
input:focus {
	outline: none;
}

#contact #form input.full:focus {
	border-bottom: 2px solid #2727fb !important
}

textarea {
	border-color:#a1a4ae;
	height: 7rem;
	padding: 2rem
}

textarea:read-only {
	color: #A1A4AE;
	height: 10rem;
}

#contact {
	opacity: 0;
	left: 100000px;
	transition: opacity 0.5s;
}

#contact.show {
	opacity: 1;
	left: 0px
}

#contact #form>div {
	overflow: auto;
	height: 100%;
	width: 100%;
	padding:74px 132px;
}

#contact #form>div>.customscroll {
	padding: 0 96px;
}

#contact #form>div>div {
	margin-top:80px;
	overflow:auto;
}

#contact #form>div>div:nth-of-type(1) {
	margin-top:112px;
}

#contact #form>div>div:nth-of-type(2) {
	margin-top:112px;
}
#contact #form>div>div:last-of-type {
	margin-top:30px;
}

#contact #form {
	transform: translate(0, 10rem);
	transition: all 0.25s;
}

#contact.show #form {
	transform: translate(0, 0rem);
}

#contact #form .btn {
	float: right;
	width:214px;
	height:60px;
	font-size:18px;
	margin:0;
	margin-top:20px;
}

#contact #form .accept input {
	margin-right: .5rem
}

#contact #form .accept {
	width: 500px;
	color:#000;
	font-size:15px;
	font-weight:500;
}

#contact .close {
	position: fixed;
	top: 0px;
	right: 0px;
}

#contact .close {
	position: absolute;
    right: 30px;
    top: 30px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    background: none;
    border: none;
}

#contact .close:hover {
	opacity: 1;
}

#contact .close:before,
#contact .close:after {
	position: absolute;
	left: 15px;
	content: ' ';
	height: 44px;
	width: 2px;
	background-color: #333;
	margin-top:-22px;
}

#contact .close:before {
	transform: rotate(45deg);
}

#contact .close:after {
	transform: rotate(-45deg);
}

#contactUs {
	position: fixed;
	bottom:80px;
	right: 80px;
	border: 0;
	background: url(../images/misc/Contact_Us_icon_01@2x.png) no-repeat right;
	background-size: auto 100%;
	height: 92px !important; 
	width: 255px !important; 
	padding-left: 5rem;
	text-align: left;
	z-index: 100;
	background-color: #2727FB;
	border-radius: 6rem;
	font-size: 1.5rem;
	color: white;
	overflow: hidden;
	transition: all 0.2s;
	border:2px solid #fff;
}
/* 
#contactUs:hover {
	width: 255px;
} */

#contactUs strong {
	font-family: Montserrat,
		'Gothic A1';
	display: inline-block;
	width: 155px;
	position: absolute;
	right: 4.7rem;
	top: 2rem;
}

#contact label {
	font-weight:500;
}

.customscroll::-webkit-scrollbar {
	width:3px;
}

.customscroll::-webkit-scrollbar-thumb {
	background-color:#A1A4AE;
}

.customscroll::-webkit-scrollbar-track {
	background-color:transparent;
}


@media (max-width:1495px) {
	#contact span {
		width:32%;
		display:inline-block;
	}

    #contact label {
        display: inline-block;
		margin-right:0;
        height: 2rem;
    }

	#contactUs {
		right:34px;
		bottom: 78px;
		height: 92px !important; 
		width: 255px !important; 
		padding: 0;
	}
	
	#contact #form h5 {
		font-size:20px;
	}
	
	#contact #form label.accept {
		display:block;
		height:unset;
		font-size:12px;
	}
	
	#contact #form .btn {
		padding:0;
	}
	
}

@media (max-width: 1495px) and (min-width:980px) {
	#contact #form {
		height:100%;
	}
	
	#contact #form h2 {
		font-size:48px;
	}
	
	#contact label {
		font-size:18px;
	}
	
	#contact #form {
		top:0;
	}
	
	#contact #form>div {
		padding:83px 132px 86px 132px;
	}
	
	#contact #form h5 {
		margin-bottom:16px;
	}
	
	#contact h2+div {
	    display: grid;
	    grid-template-columns: 1fr 1fr 1fr;
	    grid-column-gap: 150px;
		grid-row-gap:30px;
	    flex-wrap: wrap;
	}
	
	#contact h2+div h5 {
		grid-row: 1;
    	grid-column: 1 / 4;
	}
	
	#contact h2+div span:nth-of-type(1) {
		grid-row: 2;
    	grid-column: 1;
	}
	
	#contact h2+div span:nth-of-type(1) {
		grid-row: 2;
    	grid-column: 1;
		width:185px;
	}
	
	#contact h2+div span:nth-of-type(2) {
		grid-row: 2;
    	grid-column: 2;
		width:169px;
	}
	
	#contact h2+div span:nth-of-type(3) {
		grid-row: 2;
    	grid-column: 3;
		width:100%;
	}
	
	#contact h2+div span:nth-of-type(4) {
		grid-row: 3;
    	grid-column: 1;
		width:100%;
	}
	
	#contact h2+div span:nth-of-type(5) {
		grid-row: 3;
    	grid-column: 2;
		width:100%;
	}
	
	#contact #form>div>div:nth-of-type(1) {
		margin-top:52px;
	}
	
	#contact #form>div>div:nth-of-type(2) {
		margin-top:64px;
	}
	
	#contact #form>div>div {
		margin-top:64px;
	}
	
	#contact #form input {
		font-size:16px;
	}
	
	#contact #form textarea {
		font-size:16px;
	}
	
	#contact #form textarea:read-only {
		font-size:12px;
	}
	
	#contact #form .accept {
		font-size:12px;
	}
	
	#contact #form .btn {
		margin-top:0;
		height:40px;
		width:164px;
		padding:0;
	}
}

@media (max-width: 1495px) and (min-width:980px) and (max-height:699px) {
	#contactUs {
		height: 92px !important; 
		width: 255px !important; 
	}
}

@media (max-width:767px) {
	#contact #form {
		width: 100vw;
		height: 100vh;
		top: 0;
		left: 0;
	}
	
	#contact #form h2 {
		font-size:52px;
		margin-top:42px;
	}
	
	#contact #form h2 span {
		font-size:52px;
	}
	
	#contact .close {
	    top:24px;
		right:24px;
		z-index:1001;
	}
	
	#contact .close:before, #contact .close:after {
	    left: 15px;
	    height: 24px;
	    width: 3px;
		margin-top:-14px;
	}

	#contact #form>div {
		overflow: auto;
		overflow-x: hidden;
		height: 100%;
		width: 100%;
		padding: 14px;
	}
	
	#contact #form small {
		font-size:16px;
		color:#000;
	}
	
	#contact #form h5 {
		font-size:20px;
	}

	#contact #form .btn {
		margin: 2rem auto;
		display: block;
		float: none;
		height:40px;
		width:164px;
		margin-top:36px;
		margin-bottom:100px;
		font-size:16px;
	}

	#contactUs {
		right:24px;
		bottom: 24px;
		height: 92px !important; 
		width: 255px !important; 
		padding: 0;
	}
	
	#contact span {
		display:block;
		width: 100%;
	}

	#contact label {
		display: inline-block;
		margin-right:0;
		height: 62px;
		font-size:16px;
	}
	
	#contact #form>div>div:nth-of-type(1) h5 {
		margin-bottom:32px;
	}
	
	#contact #form .accept {
		width:100%;
		text-indent: -24px;
    	padding-left: 24px;
	}
	
	#contact #form input {
		font-size:16px;
	}
	
	#contact #form textarea {
		font-size:16px;
	}
	
	#contact #form textarea:read-only {
		font-size:12px;
		line-height:22px;
		padding-right:12px;
	}
	
	#contact #form>div>div:nth-of-type(1) {
		margin-top:60px;
	}
	
	#contact #form>div>div:nth-of-type(2) {
		margin-top:24px;
	}
	
	#contact #form>div>div {
		margin-top:60px;
	}
	
	#contact #form>div>div:last-of-type {
		margin-top:60px;
	}
	
	#contact #form .accept {
		height:unset;
		font-size:12px;
	}
	
	.alert_layer .alert {
		max-width:80vw;
	}
	
	.alert_layer .alert div {
		font-size:16px;
		padding:40px;
	}
	
	.alert_layer .alert button {
		font-size:16px;
	}
	
}

@media (max-width: 980px) and (min-width: 768px) {
	
	#contact .close {
	    top:70px;
		right:90px;
		z-index:1001;
	}
	
	#contact .close:before, #contact .close:after {
	    left: 15px;
	    height: 24px;
	    width: 3px;
		margin-top:-14px;
	}

	
	#contactUs {
		right:60px;
		bottom: 95px;
		height: 92px !important; 
		width: 255px !important; 
	    padding: 0;
	}
	
	#contact #form {
		width:100%;
		height:100%;
		top:0;
	}
	
	#contact #form>div {
		padding:90px;
	}
	
	#contact #form h2 {
		font-size:48px;
		margin-top:0;
	}
	
	#contact #form h5 {
		color:#000;
	}
	
	#contact span {
		width:unset;
		margin-bottom:32px;
	}
	
	#contact label {
		margin-right: 60px;
		font-size:18px;
	}
	
	#contact div:first-of-type span:nth-of-type(3) label {
		margin-right:0;
	}
	
	#contact div:first-of-type span:nth-of-type(4) label {
		margin-right:145px;	
	}
	
	#contact #form>div>div {
		margin-top:60px;
	}
	
	#contact #form>div>div:nth-of-type(1) {
		margin-top:60px;
	}
	
	#contact #form textarea {
		font-size:16px;
	}
	
	#contact #form>div>div:nth-of-type(2) {
		margin-top:28px;
	}
	
	#contact #form textarea:read-only {
		font-size:12px;
	}
	
	#contact #form input {
		font-size:16px;
	}
	
	#contact #form>div>div:last-of-type {
		margin-top:0;
	}
	
	#contact #form .btn {
		margin-top:0;
		height:40px;
		width:164px;
		padding:0;
	}
}

@media (max-width: 980px) and (min-width: 768px) and (max-height:1024px) {
	#contactUs {
		height: 92px !important; 
		width: 255px !important; 
	}
}