/*
	Template: NATUSANA ltd - LACALUT.OF.BY 
	LACALUT official in Belarus / Oficialniy predstavitel' LACALUT
	Version: no version
*/
/* === Remove input autofocus webkit === */
*:focus {outline: none;}

/* === Шрифты для формы и общая ширина === */
body {font: 14px/21px "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;}
.contact_form h2, .contact_form label {
	font-family: inherit;
    color:rgb(113, 108, 108);
    font-size: 0.9rem;
	
}
.form_hint, .required_notification {font-size: 11px;}

.contact_form {
		width:700px;
	}

/* === Ширина формы === */
.contact_form p {
    width:650px;
	margin:7px 10px 7px 10px;
	padding:0px;
	float: left;
}

/* === Размер и расположение блоков === */
.contact_form label {
	width:150px;
	margin-top: 3px;
	display:inline-block;
	float:left;
	padding:3px;
}
.contact_form input {
	height:40px; 
	width:500px; 
	padding:5px 8px;
	font-family: 'Lato' , sans-serif;
    font-size: 0.8rem;
    line-height: 1.15;
    margin: 0;
    font-weight: 500;
}
.contact_form textarea {padding:8px; width:500px;}
.contact_form button {margin-left:156px;}

	/* Цвета и эффекты */
	.contact_form input, .contact_form textarea { 
		border:2px solid #e1d4d4;
		box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
		border-radius:3px;
		padding-right:30px;
		-moz-transition: padding .25s; 
		-webkit-transition: padding .25s; 
		-o-transition: padding .25s;
		transition: padding .25s;
	}
	.contact_form input:focus, .contact_form textarea:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:70px;
	}

/* === HTML5  === */	
.contact_form input:required, .contact_form textarea:required {
	background: #eeeae3 no-repeat 98% center;
}
.contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff no-repeat 98% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
	background: #fff no-repeat 98% center;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}

/* === Стили подсказок === */
.form_hint {
	background: #d45252;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	padding: 1px 6px;
	z-index: 999; /* подсказки поверх всех элементов */
	position: absolute; /* правильное отображение, если подсказка в 2 строки */
	display: none;
}
.form_hint::before {
	content: "\25C0";
	color:#d45252;
	position: absolute;
	top:1px;
	left:-6px;
}
.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #28921f;}
.contact_form input:required:valid + .form_hint::before {color:#28921f;}
	
/* === Оформление кнопки === */
button.submit {
	background-color: rgb(200, 16, 46);
    background-image: url(../images/natusana-red.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	color: white;
	font-weight: bold;
	padding: 6px 20px;
	text-align: center;
	border: none;
    height: 50px;
    border-radius: 3px;
}
button.submit:hover {
	opacity:.85;
	cursor: pointer; 
}
button.submit:active {
	border: 1px solid #20911e;
	box-shadow: 0 0 10px 5px #356b0b inset; 
	-webkit-box-shadow:0 0 10px 5px #356b0b inset ;
	-moz-box-shadow: 0 0 10px 5px #356b0b inset;
	-ms-box-shadow: 0 0 10px 5px #356b0b inset;
	-o-box-shadow: 0 0 10px 5px #356b0b inset;
	
}

@media (max-width: 480px) {
	
	.contact_form label {
		
		width: 100%;
		
	}
	.contact_form input , .contact_form textarea{
		
		width: 250px;
		
	}	
	button.submit {
		
		margin: 0 auto 0 1.2rem;
		
	}	
		
}
@media (max-width: 991px) {

    .form_hint {
		
		margin-left: -130px;
		padding: 1px 3px;
		text-align: left;
		
	}
}	
		
		

    		