@charset "utf-8";
/* CSS Document */
html,body {
	margin: 0px;
	padding: 0px;
	height: 100%;
	position: relative;
	background: url("../img/diamond_upholstery.png");
	font-family: verdana, arial, sans-serif;
	font-size: 14px;
}

div {
	
}

img {
	border: none;
}

a {
	color: #333333;
	text-decoration: underline;
}

a:hover {
	color: #777578;
	text-decoration: underline;
}

h2 {
	color: #333333;
	margin-left: 20px;
}

.note-12-grey {
    font-size: 12px;
    color: #808080;
}

.center {
	text-align: center;
}

/* СТИЛИ КНОПОК */

.button {
	display: table;
	padding: 10px 20px;
	border: 1px solid;
	border-bottom: 1px solid;
	margin: 0 auto;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	webkit-animation: rainbow1 2s linear 2s infinite;
	animation: rainbow1 1s 0s ease-out infinite;
	cursor: pointer;
	
	text-align: center;
}

div.few-button {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

.few-button a {
	margin: 25px 0;
	display: inline;
	padding: 10px;
}

.button.green {
	border-color: #009caf;
	color: #fff;
	background: #009caf;
}

.button.red {
	border-color: #cd0032;
	color: #fff;
	background: #cd0032;
}

.button.white {
	border-color: #db0000;
	color: #db0000;
}

.button:HOVER {
	-webkit-box-shadow: 7px 11px 25px 0px rgba(86, 86, 86, 0.07);
	-moz-box-shadow: 7px 11px 25px 0px rgba(86, 86, 86, 0.07);
	box-shadow: 7px 11px 25px 0px rgba(86, 86, 86, 0.07);
	-webkit-transition: 0.3s all linear;
	-moz-transition: 0.3s all linear;
	-o-transition: 0.3s all linear;
	transition: 0.3s all linear;
	background-color: #019cae;
	border-color: #019cae;
	color: #ffffff;
}

.button.red:HOVER {
	background: #336699;
	border: 1px solid #336699;
	color: #ffffff;
}

.button.white:HOVER {
	background: #019cae;
	border: 1px solid #019cae;
	color: #fff;
}

.button.green:hover {
	border-color: #037f95;
	color: #fff;
	background: #037f95;
	
	cursor: pointer;
}
/* КОНЕЦ СТИЛЕЙ КНОПОК */

/*-------------------------	page --------------------------*/
#page {
	margin: 0 auto;
	width: 1000px;
	min-height: 100%;
}

* html #page { /* хак для ie6 */
	height: 100%; /* для ие6, т.к. не понимает min-height */
}

#polosa_bg {
	height: 50px;
	background: #336699 url('../img/menu_uslugi_bg.jpg') repeat-x;
	margin-top: 120px;
	position: absolute;
	width: 100%;
}
/*-------------------------	header --------------------------*/
#header {
	height: 100px;
	margin: 0 auto;
	padding-top: 20px;
}
#header p {
	text-align: right;
	float: right;
	padding-bottom:20px;
	margin-top:-10px;
	font-weight: bold;
	font-size: 16px;
	color: #cd0032;
	margin-right: 235px;
}
#logo {
	width: 220px;
	float: left;
	margin-top: 0px;
}
.name{
	font-weight: bold;
	font-size: 14px;
	color: #336699;
}
/* #phone { */
/* 	font-size: 16px; */

/*     float: right; */
/*     padding-bottom: 20px; */
/*     margin-top: 0px; */
/*     font-weight: bold; */
/* /*     color: #cd0032; */ 
/* } */

.phone-header {
	font-size: 16px;

    float: right;
    padding-bottom: 20px;
    margin-top: 0px;
    font-weight: bold;
    color: #cd0032;
}
/*-------------------------	main_menu --------------------------*/
#main_menu {
	float: right;
	margin-top: -40px;
	width: 670px;
}

#main_menu ul {
	font-family: "Times New Roman", Times, serif;
	margin: 10px 10px 10px 10px;
	padding: 0;
	float: right;
	list-style: none;
	position: relative;
	font-size: 18px;
}

#main_menu ul li {
	float: left;
	margin: 10px 0px 0px 0px;
	padding: 0;
	text-align: center;
	border-right: 1px solid #333333;
}

#main_menu ul li a {
	padding: 5px 13px;
	display: block;
	color: #333333;
	text-decoration: none;
}

#main_menu ul li:hover {
	text-decoration: underline;
}

#main_menu ul img {
	margin: 10px;
}
/*-------------------------	content --------------------------*/
#content {
	width: 1000px;
}

#content p {
	font-size: 14px;
	color: #777578;
	text-align: center;
}
.content_block{
	text-align: center;
}
.text_content{
width: 880px;
margin: 0 auto;
	}
/*-------------------------	content block--------------------------*/
.block_text{
	padding: 10px;
}
.block_liz{
	float: right;
	margin: 10px;
}
/*-------------------------	menu_uslugi --------------------------*/
#menu_uslugi {
	margin: 0 auto;
 	background: #336699 url('../img/menu_uslugi_bg.jpg') repeat-x;
 	width: 1000px; 
	height: 43px;
	position: relative;
	overflow: hidden; /* прячем пункты, выходящие за область обертки */
}

#menu_uslugi ul {
	font-family: "Times New Roman", Times, serif;
	float: left;
	list-style: none;
	position: relative;
	font-size: 18px;
	padding: 0;
	margin: 0 auto;
	left: 50%;
}

#menu_uslugi ul li {
	float: left; 
	margin : 0;
	padding: 0;
	text-align: center;
	margin: 0;
	position: relative;
	right: 50%;
}

#menu_uslugi ul li a {
	padding: 10px 10px; 
	display: block;
	color: #fff;
	text-decoration: none;
	background: #336699 url('../img/menu_uslugi_bg.jpg') repeat-x;
}

#menu_uslugi ul li:hover {
	text-decoration: underline;
}
/*-------------------------	footer--------------------------*/
.hFooter {
	/* это распорка в основном блоке - резервируем место для подвала */
	height: 120px; /* высота нашего подвала */
}

.footer { /* подвал */
	height: 120px; /* высота подвала */
	margin: -120px auto 0 auto;
	background: #336699 url('../img/footer_bg.jpg') repeat-x;
}

.footer p {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	color: #fff;
}

.hFooter {
	clear: both;
	height: 120px;
}
/*-------------------------	main_rotator--------------------------*/
#rotator img {
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, .25);
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .25);
}

#rotator p {
	text-align: center;
}

div#rotator {
	position: relative;
	height: 555px;
	width: 990px;
	margin: 10px auto;
	border: 1px solid #c8c8c8;
	padding: 3px;
	background-color: #fff;
}

div#rotator ul li {
	float: left;
	position: absolute;
	list-style: none;
	margin-left: -30px;
}

div#rotator ul li.show {
	z-index: 500;
}
/*-------------------------	menu_footer --------------------------*/
#menu_footer {
	margin: 10px auto 0;
 	width: 1000px; 
	position: relative;
	overflow: hidden; /* прячем пункты, выходящие за область обертки */
	
}

#menu_footer ul {

	font-family: "Times New Roman", Times, serif;
	float: left;
	list-style: none;
	position: relative;
	font-size: 20px;
	padding: 0;
	margin: 30px auto 0;
	left: 50%;
}

#menu_footer ul li {
	float: left; 
	margin : 0px;
	padding: 0 10px;
	text-align: center;
	position: relative;
	right: 50%;
		border-right: 1px solid #fff;
}

#menu_footer ul li a {
	padding: 0;
	display: block;
	color: #fff;
	text-decoration: none;
}

#menu_footer ul li:hover {
	text-decoration: underline;
}
/*-------------------------	menu_uslugi_img --------------------------*/
#menu_uslugi_img {
	position: relative;
	text-align: center;
}

#menu_uslugi_img ul {
	font-family: "Times New Roman", Times, serif;
	/* 	margin: 30px 10px 10px 10px; */
	padding: 0;
	margin: 0 auto;
	/*  	float: left;  */
	display: inline-block;
	list-style: none;
	position: relative;
	font-size: 20px;
	list-style: none;
}

#menu_uslugi_img ul li {
	float: left;
	padding: 0;
	text-align: center;
	margin: 10px;
	border: 5px solid #fff;
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, .25);
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .25);
	background: #ebebeb;
}

#menu_uslugi_img ul li a {
	padding: 7px 10px;
	display: block;
	color: #25398b;
	text-decoration: none;
	/* 	background-color: #fff; */
}

#menu_uslugi_img ul li:hover {
	text-decoration: underline;
}

#menu_uslugi_img ul img {
	margin: 20px 5px 5px 5px;
	border: 5px solid #fff;
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, .25);
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .25);
}
/*-------------------------	gallery_block--------------------------*/
#gallery_block {
	width: 1068px;
}

#gallery {
	width: 900px;
	margin: 0 auto;
}

.pic {
	border: 5px solid white;
	width: 200px;
	height: 134px;
}

.pic a {
	width: 200px;
	height: 134px;
	text-indent: -99999px;
	display: block;
}

.block_img {
	float: left;
	height: 185px;
	width: 200px;
	margin: 0 15px 15px 0;
}
.block_img span{
	margin-left: 20px;
}
.form-control {
	display: block;
	width: 300px;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow
		ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out
		.15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-group {
	margin-bottom: 15px;
}

.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
}

.btn-blue {
	padding: 10px 70px;
	font-size: 20px;
	background: #336699;
	color: #fff;
}

.btn-blue:hover {
	background: #cd0032;
	color: #fff;
}

.btn-orange {
	margin: 30px;
}

.btn-orange a {
	color: #fff;
	padding: 10px 20px;
	background: #ff9900;
	font-size: 18px;
	text-decoration: none;
}

.btn-orange a:HOVER {
	background: #0099ff;
}

.rassilka {
	height: 30px;
	width: 30px;
	font-size: 16px;
}

/* .txtarea { */
/* 	display: block; */
/* 	resize: none; */
/* 	color: #676767; */
/* 	font-family: Arial, Tahoma, sans-serif; */
/* 	margin-bottom: 10px; */
/* 	width: 500px; */
/* 	border: 1px dotted #ccc; */
/* 	padding: 5px 9px; */
/* 	font-size: 1.6em; */
/* 	line-height: 1.4em; */
/* } */

/* .txt:focus,.txtarea:focus { */
/* 	border-style: solid; */
/* 	border-color: #bababa; */
/* 	color: #444; */
/* } */

/* input.error,textarea.error { */
/* 	border-color: #973d3d; */
/* 	border-style: solid; */
/* 	background: #f0bebe; */
/* 	color: #a35959; */
/* } */

/* input.error:focus,textarea.error:focus { */
/* 	border-color: #973d3d; */
/* 	color: #a35959; */
/* } */

/* #send { */
/* 	color: #fff; */
/* 	background-color: #eb671f; */
/* 	border-color: #ccc; */
/* 	font-size: 18px; */
/* 	padding: 15px 105px; */
/* 	border-radius: 10px; */
/* 	-moz-border-radius: 10px; */
/* 	-webkit-border-radius: 10px; */
/* 	text-decoration: none; */
/* } */

/* #send:hover { */
/* 	color: #fff; */
/* 	background-color: #5c981a; */
/* 	border-color: #adadad; */
/* } */


/* ----------------------- ФОРМА --------------------------- */


/* Label */
label {
	color: #999;
	font-size: 14px;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 25px;
	top: 13px;
	transition: all 0.2s ease;
}

/* active */



.soglasie {
    margin-bottom: 10px;
    font-size: 11px;
    color: #999;
}

.linkpage {
    height: 0px;
    visibility: hidden;
}

.zayavka-form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 600px;
    padding-top: 50px;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 2px 56px 0 rgba(0, 0, 0, 0.48);
    margin-top: 50px;
    margin-bottom: 50px;
}

.zayavka-form form {
    width: 328px;
}

.zayavka-form .txtarea {
    padding: 10px 16px;
    height: 100px;
}

.group {
    position: relative;
    margin: 10px 0px;
}

.form-control {
	display: block;
	width: 328px;
	height: 40px;
	padding: 10px 16px;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 1.42857143;
	background-color: #ffffff;
	border-radius: 2px;
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow
		ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out
		.15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	border-radius: 4px;
	border: solid 1px #d8d8d8;
}

label {
    color: #d8d8d8;
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 16px;
    top: 11px;
    transition: all 0.2s ease;
}

input:focus ~ label.animated, input.used ~ label.animated {
    top: -20px;
    transform: scale(.75);
    left: 0;
    /* font-size: 14px; */
    color: #4a89dc;
    background: #fff;
    padding: 7px;
}

input:focus ~ label, input.used ~ label {
    top: -15px;
    transform: scale(.75);
    left: 10px;
    /* font-size: 14px; */
    color: #4a89dc;
    background: #fff;
    padding: 7px;
}

.form-phone {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 14px;
}

.zapis-form {
    display: flex;
    background-color: #f8f8f8;
    padding-top: 44px;
    border-top: solid 1px #d8d8d8;
}

.zapis-foto {
    width: 215px;
}

.zapis-foto img {
    width: 128px;
    border-radius: 50%;
    border: solid 1px #d8d8d8;
}

.phone-block {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #f8f8f8;
    border: solid 1px #d8d8d8;
    border-radius: 4px;
    font-size: 48px;
    color: #336699;
    margin-bottom: 8px;
}

.txt:focus,.txtarea:focus {
	border-style: solid;
	border-color: #bababa;
	color: #444;
}

input.error,textarea.error {
	border-color: #973d3d;
	border-style: solid;
	background: #f0bebe;
	color: #a35959;
}

input.error:focus,textarea.error:focus {
	border-color: #973d3d;
	color: #a35959;
}

.zayavka-form .button {
	margin-bottom: 40px;
	margin-top: 20px;
}

.info-mess-warning {
	color: #a35959;
	width: 300px;
	font-size: 14px;
}

.info-mess-good {
	color: #23a848;
}

/* СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА */

.show-form {
	cursor: pointer;
	position: fixed;
	bottom: 50px;
	right: 10px;
	-webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
	-moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
	-ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
	animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}


@-webkit-keyframes pulse {to {box-shadow: 0 0 0 10px rgba(219, 46, 19, 0);}}
@-moz-keyframes pulse {to {box-shadow: 0 0 0 10px rgba(219, 46, 19, 0);}}
@-ms-keyframes pulse {to {box-shadow: 0 0 0 10px rgba(219, 46, 19, 0);}}
@keyframes pulse {to {box-shadow: 0 0 0 10px rgba(219, 46, 19, 0);}}

.show-form img {
/* 	background: #db2e13; */
	background-color: #ffffff; 
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(118,214,114, 0.7);
	-webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
	-moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
	-ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
	animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 550;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: none;
}

.modal-show {
	display: block;
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 45px;
	height: 45px;
	font-size: 0;
	background-color: #336699;
	border: none;
	border-radius: 50%;
	outline: none;
	cursor: pointer;
	opacity: 1;
	z-index: 10;
}

.modal-close:hover {
	opacity: 0.9;
}

.modal-close img {
	width: 50%;
}

.zayavka-form.modal {
	display: none;
}

.zayavka-form.modal.modal-show {
	display: flex;
    position: fixed;
    z-index: 560;
    background-color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 50px rgba(0,0,0,.7);
}

.modal-hide {
	display: none;
}

