* {
	//border: dotted 1px red;
	box-sizing: border-box;
	-moz-user-select: none;
	-khtml-user-select: none;
	user-select: none;
	-webkit-user-select: none;
}

@font-face
{
	font-family: 'Exo 2';
	src: url(fonts/Exo_2/Exo2-Regular.ttf);
}
@font-face
{
	font-family: 'PT Sans';
	src: url(fonts/PT_Sans/PT_Sans-Web-Regular.ttf);
}
@font-face
{
	font-family: 'Open Sans'; 
	src: url(fonts/Open_Sans/OpenSans-Regular.ttf);
}

body
{
	//background: #F2FAFF;
	min-width: 300px;
	margin: 0;
	padding: 0;
	font-family: 'PT Sans', Arial;
	font-weight: normal;
	cursor: default;
}

.bg
{
	background: url(images/bg.jpg) no-repeat;
	background-size: cover;
	filter: blur(5px);
	opacity: .5;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: -1;
}

a {
	color: #de0;// #4E8FB5;
	text-decoration: none;
}

i
{
	font-weight: bold;
}

h1
{
	font-family: 'Exo 2', 'Open Sans';
	font-weight: normal;
	width: 100%;
	margin: 0 auto 40px ;
	color: #09547F;
}

h2
{
	font-weight: normal;
	color: #4E8FB5;
}

li
{
	list-style-type: square;
}

#main
{
	display: flex;
	flex-wrap: wrap;
	margin: auto;
	text-align: center;

}

#header
{
	display: flex;
	position: absolute;
	justify-content: space-between;
	left: 0;
	background: rgba(78, 143, 181, .7);
	width: 100%;
	z-index: 10;
}

.logo
{
	font-family: 'Exo 2', 'Open Sans';
	font-size: 40px;
	color: #fff;
	font-weight: bold;
	margin: 5px 0px 10px 15px;
	text-shadow: 0px 1px 1px #000;
}

.contacts
{
	margin: auto 20px auto 0px;
}

.contacts a
{
	color: #fff;
	font-family: 'Open Sans', Verdana;
	font-size: 20px;
	transition: .1s ease-in;
	text-shadow: 0px 1px 1px #000;
}

.contacts a:hover
{
	color: #de0;
	-webkit-transform: translateY(-2px);
	-moz-transform: translateY(-2px);
	-ms-transform: translateY(-2px);
	-o-transform: translateY(-2px);
	transform: translateY(-2px);
	text-shadow: 0px 2px 4px #000;
}

#menu
{
	display: flex;
	position: fixed;
	justify-content: space-around;
	background-size: contain;
	width: 100%;
	top: 63px;
	font-size: 22px;
	z-index: 100;
}
#menu a
{
	background: rgba(78, 143, 181, .7);
	color: #fff;
	margin: 1px 0 0 1px;
	padding: 5px 5px 7px;
	flex: 1 auto;
	text-shadow: 0 1px 1px rgba(0,0,0,.7);
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
	//border-left: solid 1px #CCECFF;
}

#menu a:hover
{
	text-shadow: 0 2px 2px rgba(0,0,0,.7);
	background: rgba(170,204,0,.7);
}

#menu a:first-of-type
{
	flex: 0 40px;
	//border-left: none;
	margin: 1px 0 0 0;
}



#mobile, #nav
	{
		display: none;
	}


.slider
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: relative;
	background: url(images/slide3.jpg) center 35% no-repeat;
	background-size: cover;
	width: 100%;
	height: 600px;
	margin: auto;
	color: #fff;
	//font-size: 32px;
	font-family: 'Exo 2';
	text-shadow: 0px 1px 1px #000;
	overflow: hidden;
}

.slide1
{
	display: flex;
	position: absolute;
	background: url(images/slide1.jpg) center 35% no-repeat;
	background-size: cover;
	width: 100%;
	height: 100%;
	//left: 100%;
	animation: slide 21s infinite;
	transition: all ease-in;
	z-index: 0
}

.slide1:after
{
	font-family: 'Exo 2', 'Open Sans';
	width: 100%;
	content: 'Создаем сайты для Вашего бизнеса';
	height: auto;
	padding: 10px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(79, 31, 0,.5), rgba(0, 0, 0, 0));
	font-size: 28px;
	text-transform: uppercase;
	position: absolute;
	bottom: 0;
	z-index: 10;
}

.slide2
{
	display: flex;
	position: absolute;
	align-items: flex-end;
	background: url(images/slide2.jpg) center no-repeat;
	background-size: cover;
	width: 100%;
	height: 100%;
	left: 100%;
	animation: slide 21s 7s infinite;
	transition: all ease-in;
	z-index: 0
}

.slide2:after
{
	font-family: 'Exo 2', 'Open Sans';
	width: 100%;
	content: 'Создаем сайты любого типа';
	height: auto;
	padding: 10px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(79, 31, 0,.5), rgba(0, 0, 0, 0));
	font-size: 28px;
	text-transform: uppercase;
	position: absolute;
	bottom: 0;
	z-index: 10;
}

.slide3
{
	display: flex;
	position: absolute;
	background: url(images/slide3.jpg) center 25% no-repeat;
	background-size: cover;
	width: 100%;
	height: 100%;
	left: 100%;
	animation: slide 21s 14s infinite;
	transition: all ease-in;
	z-index: 0
}

.slide3:after
{
	font-family: 'Exo 2', 'Open Sans';
	width: 100%;
	content: 'У нас работают лучшие специалисты';
	height: auto;
	padding: 10px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(79, 31, 0,.5), rgba(0, 0, 0, 0));
	font-size: 28px;
	text-transform: uppercase;
	position: absolute;
	bottom: 0;
	z-index: 10;
}

@keyframes slide{
	0%
	{
		left: 100%;
		visibility: visible;
		z-index: 1
	}
	12%
	{
		left: 0;
		z-index: 1
	}
	34%
	{
		left: 0;
	}
	50%
	{
		left: -100%;
		visibility: visible;
	}
	61%
	{
		left: -100%;
		visibility: hidden;
		z-index: 0
	}
	99%
	{
		left: 100%;
		visibility: hidden;
	}
}

#content
{
	display: flex;
	width: 100%;
	flex-flow: column wrap;
	align-items: center;
	margin: auto;
	padding: 0;
	font-size: 18px;
	text-align: center;
}

#price
{
	display: flex;
	flex-flow: wrap;
	justify-content: space-around;
	max-width: 1280px;
	padding: 60px 10px 0;
	margin-bottom: 0 !important;
}

.price-block
{
	display: flex;
	background-color: #fff;
	flex-flow: column wrap;
	align-items: center;
	margin: 0 10px 40px;
	flex: 1 260px;
	box-shadow: inset 0 0 1px #4D8EB4;
}

.img
{
	width: 120px;
	height: 120px;
	margin-bottom: 10px;
}

.headprice
{
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	background-color: #4D8EB4;
	color: #fff;
	padding: 10px 0 7px;
	width: 100%;
	text-transform: uppercase;
}

.price-text
{
	display: block;
	padding: 10px 20px;
	flex: 1 1 auto;
}

#price h1
{
	display: flex;
	flex-flow: wrap;
	justify-content: center;
	height: 50px;
}

#price h1 a
{
	margin: 2px 0 0 15px;
	transition: all .5s ease;
	color: #be0;
	text-shadow: -4px 2px 4px rgba(0,0,0,.5);
}

#price:hover h1 a
{
	//sfont-size: 1.05em;
	text-shadow: 4px -2px 4px rgba(0,0,0,.5);
}

.button
{
	display: block;
	background-color: #fff;
	margin: 0px 0 -20px;
	padding: 8px 20px 10px;
	font-family: 'Exo 2';
	font-size: 20px;
	font-weight: 200;
	text-align: center;
	text-transform: uppercase;
	color: #09547F;
	border: solid 2px #4D8EB4;
	border-radius: 5px;
	-webkit-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
	box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.button:active
{
	background-color: #4D8EB4;
	border: solid 2px #ffffff;
	color: #ffffff;
	box-shadow: 0 1px 1px rgba(0,0,0,.5);
}

.button:hover
{
	box-shadow: 0 1px 1px rgba(0,0,0,.5);
	transform: translateY(4px);
}

#advant
{
	display: flex;
	flex-flow: wrap;
	justify-content: space-around;
	padding: 60px 10px 40px;
	background: #4D8EB4;
	//background: linear-gradient(90deg, rgba(255,255,255,.5), #4D8EB4, rgba(255,255,255,.5));
	color: #fff;
	width: 100%;
	height: 100%;
	margin: auto;
}

#advant h1
{
	color: #fff;
	text-shadow: 0px 2px 1px #1066A8;
}

#advant>div
{
	display: flex;
	flex-flow: wrap;
	justify-content: space-around;
}


.image
{
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	flex: 0 0 200px;
	margin: 0 10px 40px;
}

.img5
{
	background: url(images/5.png) center no-repeat;
	background-size: contain;
	//clip-path: ellipse(56% 73% at 50% 0%);
}

.img6
{
	background: url(images/6.png) center no-repeat;
	background-size: contain;
}

.img7
{
	background: url(images/7.png) center no-repeat;
	background-size: contain;
}

/*
#confid
{
	display: flex;
	flex-flow: wrap;
	justify-content: space-around;
	background: #F2FAFF;
	padding: 60px 10px 40px;
	margin: 20px auto 0;
	color: #fff;
	width: 100%;
}

.ptb
{
	background: url(images/ptb.png) no-repeat;
	background-size: contain;
	width: 300px;
	height: 150px;
	flex: 1;
}

.sokrat
{
	background: url(images/sokrat.png) no-repeat;
	background-size: contain;
	width: 300px;
	height: 150px;
	flex: 1;
}*/

#develop
{
	display: flex;
	justify-content: center;
	//background: #CCECFF;
	width: 100%;
	padding: 60px 10px 40px;
	text-align: center;
	color: #09547F;
	font-size: 20px;
	margin: 0 !important;
}

#develop>div
{
	display: flex;
	flex-flow: wrap;
	max-width: 1280px;
}

#develop>div>div
{
	flex: 1 350px;
	text-align: left;
	margin: 0 20px 20px;
	color: #333;
	background: #F2FAFF;
	box-shadow: inset 0 0 1px #4E8FB5;
	//border-radius: 5px;
}

#develop>div>div>div
{
	padding: 10px 20px;
}

#develop>div>div:first-of-type
{
	flex: 1 100%;
	text-align: justify;
	box-shadow: none;
	color: #000;
	background: none;

}

#develop>div>div:last-of-type
{
	margin-top: 30px;
	text-align: center;
	box-shadow: none;
	color: #000;
	background: none;

}

#develop h1
{
	text-align: center;
	color: #09547F;
}

#develop h2
{
	background: #4E8FB5;
	padding: 0 0 4px;
	margin: 0;
	text-align: center;
	color: #F2FAFF;
	font-size: 26px;
	//border-radius: 3px 3px 0 0;
}

#develop>div>div:nth-of-type(2n+1) h2
{
	background: #865;
	color: #fff;
}

#develop h2:last-child
{
	flex: 1 100%;
	background: none;
	color: #09547F;
}

#faq
{
	display: flex;
	flex-flow: row wrap;
	text-align: justify;
	padding: 60px 20px 20px;
	background: #fff;
	color: #666;
	margin-bottom: -20px !important;
	width: 100%;
}

.faqblock
{
	display: flex;
	flex-flow: row wrap;
	align-content: flex-start;
	margin: 0 auto;
	flex: 0 30%;
	padding: 10px;
}

.faqtxt
{
	margin: 10px 0;
	padding: 10px;
	-webkit-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
	opacity: 1;
}

.f:hover ~ .faqtxt, .faqhead:hover ~ .faqtxt
{
	opacity: 1;
	height: auto;
}

.faqhead
{
	flex: 1 300px;
	margin: auto;
}

.f
{
	width: 150px;
	height: 150px;
	margin: 0 auto;
	flex: 0 150px;
	box-shadow: inset 0 0 0 3px #ac0;
	border-radius: 50%;
}

.faq1
{
	background: url(images/8.png) no-repeat;
	background-size: contain;
}

.faq2
{
	background: url(images/9.png) no-repeat;
	background-size: contain;
}

.faq3
{
	background: url(images/10.png) no-repeat;
	background-size: contain;
}

.faq4
{
	background: url(images/11.png) no-repeat;
	background-size: contain;
}

.faq5
{
	background: url(images/12.png) no-repeat;
	background-size: contain;
}

.faq6
{
	background: url(images/13.png) no-repeat;
	background-size: contain;
}

#faq h1, #faq h2
{
	text-align: center;
}

.form
{
	display: flex;
	flex-flow: column;
	align-items: center;
	background: url(images/forma1.jpg), url(images/forma2.jpg), #4d8eb4;
	background-position: bottom left, bottom right;
	background-repeat: no-repeat;
	background-size: contain;
	width: 100%;
	padding: 20px 10px 20px;
	margin: 0 !important;
	
}

.form h1
{
	color: #fff;
	margin: 0 0 20px;
}

.form h2
{
	color: #ffffff;
}

.form .h
{
	margin: 20px auto 0;
	padding: 0;
	max-width: 400px;
}

.form>h1
{
	margin: 40px auto 0;
}

.fields
{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	width: 70%;
	max-width: 800px;
}

.field
{
	display: flex;
	background-color: rgba(255,255,255,.9);
	border: solid 1px #ccc;
	border-radius: 5px;
	width: 100%;
	padding: 10px;
	margin: 10px auto;
	color: #333;
	transition: all .3s;
	font-family: 'PT Sans', Arial;
	font-size: 16px;
}

.field input-placeholder
{
	color:#ccc;
}

.field:hover
{
	transform: translateY(-4px);
	box-shadow: 0 4px 8px rgba(0,0,0,.3)
}

.field1, .field2
{
	flex: 1 auto;
}

.field3
{
	flex: 1 100%;
	height: 200px;
}

input, textarea {outline:none;}



.send
{
	display: block;
	background-color: #fff;
	margin: 12px 0px 10px;
	padding: 8px 20px 10px;
	font-family: 'Exo 2';
	font-size: 20px;
	font-weight: 200;
	text-align: center;
	text-transform: uppercase;
	color: #09547F;
	border: solid 2px #095497;
	border-radius: 5px;
	-webkit-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
	box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.send:active
{
	background-color: #4D8EB4;
	border: solid 2px #ffffff;
	color: #ffffff;
	box-shadow: 0 1px 1px rgba(0,0,0,.7);
}

.send:hover
{
	box-shadow: 0 1px 1px rgba(0,0,0,.7);
	transform: translateY(4px);
}

.fields a
{
	margin: auto;
}

#footer
{
	display: flex;
	flex-flow: wrap;
	justify-content: space-around;
	//padding: 15px 0 20px;
	text-shadow: 0px 1px 1px #102;
	background-color: #1D5C81;
	width: 100%;
	padding-top: 10px;
}
#footer a
{
	color: #fff;
	margin: 0px 20px 10px;
}

#footer a:hover
{
	color: #de0;
}

/*-----------------MOBILE-------------------*/


@media (max-width: 1080px)
{
	.faqblock
	{
		flex: 49%;
	}
	.form
	{
		background-size: 60%;
	}
}

@media (max-width: 800px)
{
	#price
	{
		padding: 20px 10px;
	}

	#menu a
	{
		display: none;
		margin: 0;
		top: 56px;
	}

	#nav
	{
		display: flex;
		position: fixed;
		flex-flow: column;
		margin: 0;
		width: 100%;
		font-size: 24px;
		transition: all .5s;
		bottom: 0;
		z-index: 200px;
	}

	.totop
	{
		display: block;
		position: absolute;
		left: 3px;
		bottom: 3px;
		width: 35px;
		background-color: rgba(255,255,255,.9);
		border-radius: 5px;
	border: solid 2px #4E8FB5;
	}

	.mobile
	{
		display: block;
		position: fixed;
		bottom: 3px;
		right: 3px;
		width: 36px;
		background-color: rgba(255,255,255,.9);
		border-radius: 5px;
	border: solid 2px #4E8FB5;
	}

	.mobile-menu
	{
		display: flex;
		flex-flow: column;
		height: 0px;
		overflow: hidden;
		transition: all .5s ease-in-out;
		background-color: rgba(78, 143, 181, .9);
	}

	.mobile-menu a
	{
		padding: 5px;
		color: #fff;
		border-top: solid 1px #fff;
		text-shadow: 0 1px 1px #333;
	}

	.mobile:hover ~ .mobile-menu
	{
		height: 210px;
	}

	.mobile-menu:hover
	{
		height: 0;
	}

	.slider
	{
		height: 360px;
	}

	.slide1:after, .slide2:after, .slide3:after
	{
		font-size: 24px;
	}

	.form
	{
		flex-flow: column;
	}

	.fields
	{
		width: 90%;
	}
}

@media (max-width: 640px)
{
	.logo
	{
		font-size: 34px;
	}

	.contacts a
	{
		font-size: 18px;
	}

	.slider
	{
		height: 320px;
	}

	.slide1:after, .slide2:after, .slide3:after
	{
		font-size: 18px;
	}

	.faqblock
	{
		flex: 100%;
	}

	.confid
	{
		justify-content: center;
	}
}

@media (max-width: 480px)
{
	.logo
	{
		font-size: 28px;
	}

	.contacts a
	{
		font-size: 16px;
	}

	.slider
	{
		height: 260px;
	}

	.fields
	{
		flex-flow: column wrap;
	}

	.field3
	{
		height: 120px;
	}
}

@media (max-width: 420px)
{
	.logo
	{
		font-size: 22px;
	}

	.contacts a
	{
		font-size: 14px;
	}

	.slider
	{
		height: 220px;
	}

	.slide1:after, .slide2:after, .slide3:after
	{
		font-size: 14px;
	}

	#price h1
	{
		font-size: 26px;
	}

	h1
	{
		font-size: 34px;
	}
	#footer
	{
		padding-bottom: 36px;
	}
}