.contact {
	background: var(--w);
}
.contact-container {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
}

.contact-form {
	width: 50%;
	padding: 50px 40px;
}
.contact-map {
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: stretch;
	position: relative;
}
.contact-map .map-legend {
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px;
	background: var(--theme-blue-dark);
	color: #fff;
}
.contact-map iframe {
	width: 100%;
	height: 100%;
	min-height: 400px;
}
.contact-title {
	text-align: center;
	margin-bottom: 30px;
}
.form-container {
	max-width: 500px;
	margin: 0 auto;
}
.form-container form label {
	width: 100%;
	display: block;
}
.form-container form label input,
.form-container form label textarea {
	width: 100%;
	margin-top: 5px;
	background: var(--w);
}
.form-container form label small {
	color: var(--l);
}
.form-container form label textarea {
	height: 130px;
}
.form-container form label {
	margin-bottom: 20px;
}


.form-container form button {
	color: var(--w);
	background: var(--theme-blue-dark);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 10px 25px 14px  25px;
	font-size: 1.2em;
	box-shadow: 0 0 0 rgba(0,0,0,0);
	min-width: 230px;
}
.form-container form button:hover {
	background: var(--theme-blue);
}
.form-container form .form-submit{
	text-align: center;
}

.contact-alt {
	max-width: 500px;
	margin: 40px auto 0 auto;
	text-align: center;
}
.contact-alt > h5 {
	margin-bottom: 15px;
}
.contact-alt > ul > li > span {
	margin-right: 10px;
}
.contact-alt a {
	color: var(--theme-blue-dark)
}
.contact-alt a:hover {
	color: var(--theme-blue);
}


@media screen and (max-width: 1024px) {
	.contact {
		padding: 50px 0 0 0;
	}
	.contact-map iframe {
		width: 100vw;
		min-width: 100vw;
	}


	.contact-form {
		width: 100%;
		padding: 0;
		margin-bottom: 30px;
	}
	.contact-alt {
		margin-top: 20px;
	}

	.contact-map {
		width: 100%;
		padding: 0;
		align-items: center;
	}
}
@media screen and (max-width: 767px) {
	.contact-map iframe {
		min-height: 350px;
	}
}

.contact-container {
	display: flex;
	margin: 0 auto;
}
@media screen and (min-width: 768px) and (max-width: 1024px){
    .contact-container {
        max-width: 720px;
        width: calc(100% - 40px);
    }
}
/* sm */
@media screen and (min-width: 560px) and (max-width: 767px){
    .contact-container {
        max-width: 540px;
        width: calc(100% - 40px);
    }
	
}
/* xs */
@media screen and (max-width: 559px){
    .contact-container {
        max-width: 100%;
        width: calc(100% - 40px);
    }
    .contact-map .map-legend {
		right: -20px;
	}
}
