.first-row{
	min-height: 750px;
}

.form-holder{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 75px;
}

.text-body{
	min-height: 100%;
	padding: 50px 0 0 50px;
}

/* Smartphones (portrait) ----------- */
@media only screen and (min-width: 320px) and (max-width: 479px){
	.first-row{min-height: 600px;}
	.widgets, .top-container nav.navmenu{display: none;}
	.clients-holder .client{margin: 0;}
	.form-holder{flex-direction: column-reverse; justify-content: unset;align-items: unset;margin-bottom: 50px;}
	.form-body{padding: 0; flex: none;}
	.submit{display: flex; flex-direction: row; justify-content: center;align-items: center;padding: 0}
	.submit button{width: 100%;}
	.text-body{flex: none; min-height: 0; padding: 0;}
	.separator{margin-bottom: 0px;}
}

/* Tablets ----------- */
@media only screen and (min-width: 768px) and (max-width: 991px){
	.top-content{padding-left: 1rem;}
	.widgets{display: none;}
	.main-text{padding: 0 1rem;}
	.first-row{min-height: 0;}
	.form-holder{flex-direction: column-reverse; justify-content: unset;align-items: unset;margin-bottom: 50px;}
	.form-body{padding: 0; flex: none;}
	.text-body{flex: none; min-height: 0; padding: 0 1rem;}
	.submit{display: flex; flex-direction: row; justify-content: center;align-items: center;padding: 0}
	.submit button{width: 50%;}
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width: 480px) and (max-width: 767px){
	.top-content{padding-right: 1rem;}
	.first-row{min-height: 500px;}
	.main-text{padding: 0 1rem;}
	.widgets{display: none;}
	.form-holder{flex-direction: column-reverse; justify-content: unset;align-items: unset;margin-bottom: 50px;}
	.form-body{padding: 0; flex: none;}
	.text-body{flex: none; min-height: 0; padding: 0 1rem;}
	.submit{display: flex; flex-direction: row; justify-content: center;align-items: center;padding: 0}
	.submit button{width: 50%;}
}

/* Desktops and laptops and Tablets (landscape) ----------- */
@media only screen and (min-width: 992px) and (max-width: 1140px){
	.endcontact{display: none;}
	.middle{margin-top: 0;}
	.plain{margin-top: 140px;}
}

button{
	border-radius: 50px;
	border: 0;
	color: #fff;
	min-width: 33.333%;
	cursor: pointer;
	display: inline-block;
	font: 700 15px/2 'Muli', sans-serif;
	height: 48px;
	margin-top: 10px;
	padding: 11px 30px 30px 30px !important;
	text-align: center;
	transition: all .3s ease 0s;
	-webkit-transition: all .3s ease 0s;
	outline: none;
}

button:active{
	transform: scale(0.95);
}