@charset "utf-8";
body{
	width: 100%;
	margin: 0 auto;
	font-family: 'Forum', cursive;
	font-size: 20px;
}
.clear{
	clear: both;
}
blockquote {
    border-left:2px solid;
    font-style: italic;
    margin: 10px 10px;
    padding: 0.5em 10px;
}
 
blockquote:before {
    content: "\201C";
    font-size: 3em;
    line-height: 0.1em;
    margin-right: 0.2em;
    vertical-align: -.4em;
}
 
blockquote:after {
    content: "\201D";
    font-size: 3em;
    line-height: 0.1em;
    vertical-align: -.45em;
}
 
blockquote > p:first-child {
    display: inline;
}
/* Шапка*/
.header{
	width:1000px;
	height: 135px;
	margin: 0 auto;
	margin-top: 20px;
	overflow: hidden;
	margin-bottom: 10px;
}
.header >div:nth-child(1){
	width:300px;
	font-size:22px;	
	float: left;
}
.header >div:nth-child(2){
	float: left;
	font-weight: bold;
	font-size: 16.5px;
	width: 310px;
	margin-left: 45px;
}
.header >div:nth-child(3), #contacts div{
	float: right;
	font-size:22px;
	text-align:center;
	line-height: 1.3em;
}
.header >div:nth-child(3) span, #contacts div span{
	font-weight: bold;
	color: #D30D08;
}
.header >div:nth-child(3) a{
	text-decoration: none;
    color: black;
}
.header h1{
	margin:0;
	font-size: 24px;
	font-weight: bold;
	margin-top: 10px;	
}
.fon1{
	overflow:hidden;
	background: #EBEBEB;
}
.header >div:nth-child(1) >img{
	position: absolute;
    height: 30px;
    transform: rotate(-90deg);
    top: 45px;
    margin-left: -25px;
}
.smm{
	margin:50px 0 0 65px;
}
.smm img{
	height:30px;
	width:30px;
	border-radius:50%;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.smm img:hover{
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	transform: rotate(360deg);
}
.rounded {
	counter-reset: li; 
	list-style: none;
	padding: 0;
}
.rounded a {
	position: relative;
	display: block;
	padding: .4em .4em .4em 2em;
	margin: .5em 0;
	background: #FFF;
	color: black;
	text-decoration: none;
	border-radius: 10px;
	transition: all 0.5s ease;
    font-weight: bold;
}
.rounded a:hover:before {
	transform: rotate(360deg);
}
.rounded a:before {
	content: counter(li);
	counter-increment: li;
	position: absolute;
	left: -1.3em;
	top: 50%;
	margin-top: -1.3em;
	background: #5D5D5D;
	color: white;
	height: 2em;
	width: 2em;
	line-height: 2em;
	border: .3em solid white;
	text-align: center;
	font-weight: bold;
	border-radius: 2em;
	transition: all .3s ease-out;
}

/* Меню*/
#menu {
	text-transform: uppercase;
	text-align: center;
	line-height: 50px;
	background: #5D5D5D;
	margin: 0 auto;
	z-index: 100;
	font-size: 18px;
}
#menu ul {
	padding:0;
	margin:0;
	width:100%;
	min-width: 1000px;
}
#menu li{
	display: inline;
	list-style:none;
	padding: 15px 35px;
	border-right: 1px solid black;
	margin-left: -5px;
	transition: all 0.5s ease;
}
#menu li:nth-last-of-type(1){
	border-right: none;
}
#menu li a {
	color:#fff;
	text-decoration: none;
}
#menu li:hover{
	background: #D30D08;
}
#menu.fixed {
	background: rgba(93, 93, 93, 0.9);
	position:fixed;
	top:0; left:0;
	width:100%;
}
#menu.fixed:hover {
	background: rgba(93, 93, 93, 1);
}
#block1 {
	overflow: hidden;
	margin: 20px auto;
	width: 1000px;
}
#pochemu_my, #sto{
	overflow: visible;
	margin: 0 auto;
	height: 250px;
	width: 1000px;
}
#pochemu_my p, #sto p, .fon1 p, #contacts p{
	text-align: center;
	font-size: 26px;
	font-weight: bold;
	margin: 20px 0;
}
#pochemu_my >div{
	float: left;
	width: 280px;
	padding: 10px;
	margin: 0 10px;
	background: #EBEBEB;
	border-radius: 5px;
	cursor: pointer;
	-webkit-transition: .5s linear;-o-transition: .5s linear;transition: .5s linear;
}
#pochemu_my >div:hover
{	    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
		background:#5D5D5D;
		color:white;
}
#pochemu_my >div:nth-child(2){
	margin-left: 40px;
}
#pochemu_my div div{
	color:#D30D08;
	text-align: center;
	border-bottom: 3px dashed black;
	padding-bottom: 10px;
	font-weight:bold;
}
#block_forma, #contacts{
	overflow: hidden;
	margin: 0 auto;
	width: 1000px;
}
.slide {
	width: 900px;
	margin-left: 50px;
}
.slide div{
	float:right;
	width: 750px;
}
.slide img{
	float:left;
	border-radius:50%;
}
#contacts >div:nth-child(1){
	width: 600px;
	float:left;
}
#contacts >div:nth-child(2){
	width: 400px;
	float:left;
}
#contacts div >div{
	width: 300px;
	float:left;
	text-align: center;
}
#contacts div a{
	color:black;
	text-decoration: none;
}
#contacts {
	width: 1000px;
	margin-bottom: 20px;
}


/* Форма*/
#block_forma >img{
	float:left;
	margin-top: 90px;
}
#block_forma >div:nth-of-type(1) {
	position: absolute;
	text-align: center;
	width: 350px;
	font-size: 24px;
	margin-top: 300px;	
}
.pre_form-2{
    float: right;
    background: #EBEBEB;
    margin: 20px 0;
}
.form-2{
	width: 600px;
	height: 330px;
	margin: 20px;
	border: 3px dashed #D30D08;
}
.form-2 >div{
	text-align: center;
	font-size: 26px;
	font-weight: bold;
	margin: 20px 0;
}
#name, #phone, #email{
	height: 42px;
	width: 148px;
	padding-left: 10px;
	border: 1px solid black;
	text-align: left;
	font-weight: 100;
	font-size: 20px;
	border-radius: 5px;
}
#help{
	height: 100px;
	width: 528px;
	padding: 10px 0 0 10px;
	border: 1px solid black;
	font-weight: 100;
	font-size: 20px;
	border-radius: 5px;
}
#name:focus, #phone:focus, #email:focus, #help:focus{
	border:#35a5e5 1px solid;
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	-webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	-moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}
#name {
	float: left;
	margin: 0 0 0 30px;
}
#phone{
	float: left;
	margin: 0 0 0 30px;
}
#email{
	float: left;
	margin: 0 0 0 30px;
}
#help{
	float: left;
	margin: 20px 0 0 30px;
}
input[type=text], textarea[type=text], input[type=button] {    
	font-family: 'Forum', cursive;
}
.button2{
	margin: 20px 0 0 200px;
	border: 0 !important;
	color: #fff !important;
	background: #5D5D5D !important;
	
}
.button2:hover{
	background:#D30D08 !important;
}

.twentytwenty-wrapper{
	width:550px;
	float: left;
}
#perevagi{
	width:405px;
	float: left;
	padding: 20px 15px 20px 30px;
}
#perevagi p{
margin-left: 40px;}

.button{
	z-index:2;
	width: 200px;
    height: 40px;
	position:relative;
    border: 1px solid black;
    color: black;
    font-size: 22px;
    text-align: center;
    line-height: 1.7em;
	cursor: pointer;
	-webkit-transition: .5s linear;-o-transition: .5s linear;transition: .5s linear;
	background: #fff;
	border-radius: 5px;
}
.button:hover{
    color: white;
}
.button:after{
	border-radius: 5px;
	content:"";
	left:0;
	top:0;
	width:100%;
	height:100%;
	position:absolute;
	background:#D30D08;
	z-index:-1;
	-webkit-transform:scaleX(0);-ms-transform:scaleX(0);-o-transform:scaleX(0);transform:scaleX(0);
	-webkit-transition:.5s linear;-o-transition:.5s linear;transition:.5s linear;
	-webkit-transform-origin:left center;-moz-transform-origin:left center;-ms-transform-origin:left center;transform-origin:left center;
}
.button:hover:after {-webkit-transform:scaleX(1);-ms-transform:scaleX(1);-o-transform:scaleX(1);transform:scaleX(1)}

.left_block,.right_block{
    float: left;
	width: 500px;
}
.left_block >div,.right_block >div{
    text-align:center;
	font-weight:bold;
}
/* Форма звонок*/
#name_zvonok, #phone_zvonok{
	height: 42px;
	width: 280px;
	padding-left: 10px;
	border: 1px solid #b8d5e1;
	text-align: left;
	font-weight: 100;
	font-size: 18px;
	border-radius: 5px;
}
#name_zvonok {
	position: absolute;
    top: -134px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
#phone_zvonok {
	position: absolute;
    top: -12px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
#submit_zvonok {
    top: 165px;
	position: absolute;
	margin-left: 75px;
	border: 0 !important;
	color: #fff !important;
	background: #5D5D5D !important;
}
#submit_zvonok:hover {
    background:#D30D08 !important;
}
/* Модальное окно 2*/
#modal{
	width: 700px;
	height: 150px;
	padding: 20px;
	background: #fff;
	border-radius: 5px;
}

#modal form{
	margin-top: 25px;
	text-align: center;
}
#name_modal, #phone_modal{
	height: 42px;
	width: 200px;
	padding-left: 10px;
	border: 1px solid #b8d5e1;
	text-align: left;
	font-weight: 100;
	font-size: 18px;
	border-radius: 5px;
}
#submit_modal{
	margin-left: 10px;
	height: 46px;
	width: 212px;
	border: 0;
	color: #fff;
	background: #5D5D5D;
}
#submit_modal:hover{
	background: #D30D08;
}
#phone_modal{
	margin-left: 10px;
}
#modal_text{
	font-size: 24px;
	margin-left: 25px;
}

.prewbutton, .nextbutton{
	display:block;
	width:15px;
	height:100%;
	position:absolute;
	top:-35px;
	overflow:hidden;
	text-indent:-999px;
	background:url(arrowBg.png) left center no-repeat;
	opacity:0.8;
	z-index:3;
	outline:none !important;}
.prewbutton{left:10px;}
.nextbutton{
	right:10px;
	background:url(arrowBg.png) right center no-repeat;}
.slide-1{
	margin: 0 auto;
	width:1000px;
	}
.slide-1 .slider{
	height: 200px;
	overflow: hidden;
	position:relative;}
.rounded b{
	color:#D30D08;
	}