/*  Шаблон «Страницы захвата». «Базовый» вариант.
----------------------------------------------------
дата создания: 21-09-2013
дата последнего изменения: 04-10-2013
----------------------------------------------------
Автор: Олег Орлов - info@olegorlov.com
Источник: http://www.olegorlov.com/landing-page/landing-page-template/
----------------------------------------------------

1. Сброс стилей
2. Общие стили
--2.1 Тень для картинок и видео (используется в блоке с описанием и блоке с отзывами)
--2.2 Видеоролик на всю ширину контейнера (используется в блоке с описанием и блоке с отзывами)
--2.3 Заголовок раздела (используется в блоке с отзывами)
3. Блок с заголовком
4. Блок с видео и формой
--4.1 - Видео
--4.2 - Форма
5. Блок с описанием
6. Блок с отзывами
7. Футер
8. Адаптивный интерфейс
--8.1 - от 768px до 979px
--8.2 - от 480px до 767px
--8.3 - меньше 480px
 

/*----------------------------------------------------*/
/* 1. Сброс стилей */
/*----------------------------------------------------*/
html, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, img, small, strong, ol, ul, li,
form, label, table, caption, tr, td,
footer, header {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

footer, header, menu, nav, section {
	display: block;
}

/* Сброс тега <body> и определение шрифта  */
body {
	line-height: 1;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
	padding: 0;
}

ol, ul {
	list-style: none;
}

/* Сброс тега <a> (ссылка) */
a {
	color: #2594cb;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

/* Сброс тега <input> (поле ввода для формы) */
input {
	border: 0;
	font-family: 'Ubuntu', sans-serif;
	color: #fff;
}

input:focus {
	border: 0;
	outline: 0;
}

input:focus:invalid:focus,
textarea:focus:invalid:focus,
select:focus:invalid:focus {
	color: #eaeaea;
	border-color: #ccc;
	box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3), 1px 1px 2px rgba(0, 0, 0, 0.3) inset;
}

input:focus:valid:focus,
textarea:focus:valid:focus,
select:focus:valid:focus {
	color: #dedede;
	border-color: #ccc;
	box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3), 1px 1px 2px rgba(0, 0, 0, 0.3) inset;
}

::-moz-selection {
	background: #2e2e2e;
	color: #fff;
	text-shadow: none;
}

::selection {
	background: #2e2e2e;
	color: #fff;
	text-shadow: none;
}


/*----------------------------------------------------*/
/* 2. Общие стили */
/*----------------------------------------------------*/
.wrapper {
	width: 940px;
	margin: 0 auto;
}

.clear {
	clear: both;
}

h1 {
	font-size: 28px;
	text-align: center;
	font-weight: 700;
}

h2 {
	font-size: 16px;
	text-align: right;
	font-weight: 500;
}

.testimonials {
	background: url(../img/body.png) repeat;
}

/* --2.1 Тень для картинок и видео (используется в блоке с описанием и блоке с отзывами) */ 
.shadow,
.testimonial .video,
.testimonial img {
	box-shadow: 
}

/* --2.2 Видеоролик на всю ширину контейнера (используется в блоке с описанием и блоке с отзывами)*/
.video-wrap {
	margin: 20px 0;
}

.video {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.video>div {
	position: relative;
	display: block;
	padding-bottom: 56.25%;
	padding-top: 1px;
	height: 0;
	overflow: hidden;
}

.video>div iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* --2.3 Заголовок раздела */
.title {
	background: url(../img/title.png) repeat-x scroll 0 20px;
	height: 24px;
	width: 100%;
}

.title h3 {
	margin: 0 auto;
	padding: 8px 0;
	display: block;
	height: 26px;
	text-align: center;
	width: 300px;
	border-radius: 20px;
	background: none repeat scroll 0 0 #dadcdd;
	font-weight: 700;
	font-size: 22px;
	color: #47494a;
	text-shadow: 1px 2px 1px rgba(255, 255, 255, 0.4);
	box-shadow: 0 2px 2px rgba(255, 255, 255, 0.8);
}


/*----------------------------------------------------*/
/* 3. Блок с заголовком */
/*----------------------------------------------------*/
header {
	position: relative;
	z-index: 5;
	display: block;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

header .wrapper {
	padding: 20px 0 40px 0;
}

header h1 {
	font-size: 430%;
	color: #127aad;
	text-align: right;
}

header h2 {
	font-size: 150%;
	color: #80a6b7;
	padding: 10px 0 0;
}
.header-logo {
    border: medium none;
    float: left;
    padding: 0;
    text-indent: -999px;
    width: 239px;
}


/*----------------------------------------------------*/
/* 4. Блок с видео и формой */
/*----------------------------------------------------*/
.main {
	padding: 0 0 40px;
	height: 360px;
	z-index: 2;
}

.gradient {
	background: 
	height: 100%;
	padding: 0 0 40px;
}

/* --4.1 - Видео */
.main-video {
	margin: 50px 0 0;
	float: left;
	background-color: #000;
}

/* Тень для видео рядом с формой*/
.main-video iframe {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.15) inset, 0 -1px 1px rgba(255, 255, 255, 0.15) inset, 0 1px 8px rgba(0, 0, 0, 0.4);
}

#watch-this-video {
	width: 247px;
	height: 38px;
	position: absolute;
	background: url(../img/WatchThisVideo.png) no-repeat;
	margin-top: 5px;
	margin-left: 190px;
}

/* --4.2 - Форма */
.subscriber {
	margin:50px 0 0;
	float:right;
	display:block;
	height:322px;
	width:340px;
	border-radius:3px;
	background-color:rgba(0,0,0,0.2);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#8c000000', endColorstr='#4c000000'); /* IE */
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.15) inset, 0 -1px 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px rgba(0, 0, 0, 0.4);
} 

.subscriber-wrap {
	padding: 20px;
}

.subscriber h3 {
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	font-size: 1.12em;
	margin: 0 0 20px;
}

.subscriber p {
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	font-size: 14px;
	opacity: 0.5;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

/* Поля ввода */
.subscriber input {
	padding: 0 45px;
	color: #fff;
	border-radius: 20px;
	height: 40px;
	width: 68%;
	margin: 22px 0 0;
}

input.name-newsletter, input.email-newsletter {
	color: #fff;
	background: no-repeat scroll 18px 12px rgba(0, 0, 0, 0.1);
	border-color: #ccc;
	box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2), 1px 1px 2px rgba(0, 0, 0, 0.2) inset;
}
input.name-newsletter {
	background-image: url(../img/icons/name.png);
}

input.email-newsletter {
	background-image: url(../img/icons/email.png);
}

input[type="text"],
input[type="email"] {
	border: 0;
}

/* Кнопка подтверждения */
input.button-newsletter {
	display: block;
	clear: both;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.15) inset, 0 -1px 1px rgba(255, 255, 255, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.2);
	float: right;
	width: 125px;
	padding: 0 18px 0 0;
	color: #47494a;
}

input.button-newsletter:hover {
	color: #191919;
	background-color: #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(255, 255, 255, 0) inset, 0 -1px 1px rgba(255, 255, 255, 0) inset, 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Сноска «о не разглашении» */
.subscriber label {
	line-height: 5;
	text-align: center;
	font-size: 10px;
	clear: both;
	margin: 8px 0 0;
	color: #fff;
	opacity: 0.3;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
}


/*----------------------------------------------------*/
/* 5. Блок с описанием */
/*----------------------------------------------------*/
.description {
	padding: 30px 0 0;
	background-color: #fcfcfc;
	display: block;
	box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.2);
}

.right img {
	float: right;
	margin: 20px 0;
}

.left img {
	float: left;
	margin: 20px 0;
}

.divider-sub {
	margin: 0px 0;
	background-color: #dadcdd;
	height: 1px;
	width: 100%;
	display: block;
}

.abtt {
	padding: 25px 0;
}

.advantage h3,
.features h3 {
	font-size: 22px;
	font-weight: 600;
	color: #4b4f51;
	margin: 8px 0 0;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
}

.advantage h6,
.features h6 {
	font-size: 18px;
	font-weight: 500;
	color: #80a6b7;
	margin: 25px 0 0;
}

.advantage p {
	font-size: 14px;
	line-height: 32px;
	margin: 20px 0;
}

.advantage1 h3,
.features1 h3 {
	font-size: 22px;
	line-height: 32px;
	color: #fff;
	margin: 8px 0 0;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
}

.advantage1 h6,
.features1 h6 {
	font-size: 18px;
	font-weight: 500;
	color: #b5bec2;
	margin: 25px 0 0;
}

.advantage1 p {
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	margin: 20px 0;
	color: #ffffff;
}


.features ul,
.advantage ul {
	margin: 30px 0;
}

.features li,
.advantage li {
	padding: 2px 0 0 28px;
	line-height: 20px;
	margin: 20px 0;
}


/*----------------------------------------------------*/
/* 6. Блок с отзывами */
/*----------------------------------------------------*/
.testimonials {
	padding: 55px 0;
	display: block;
	box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.2);
}

/* выравнивание изображения по левому краю */
.testimonial img {
	float: left;
	margin: 25px 25px 10px 10px;
}

.podpis {
	float: right;
	padding: 7px 0 0 47px;
	margin: -2px 20px 0 0;
	min-height: 40px;
}

.podpis p {
	font-weight: 700;
	font-style: italic;
	margin: 0;
}

.podpis p a {
	font-weight: normal;
}

.testimonial-main {
	overflow: hidden;
}

.testimonial {
	background-color: #fff;
	margin: 65px 0 0;
	border: 2px dashed;
	border-radius: 5px;
	padding: 0 20px 20px;
	overflow: hidden;
	line-height: 1.3;
	clear: both;
}

.testimonial h3 {
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
	font-weight: 700;
	margin: 20px 0 0;
	text-align: left;
}

.testimonial p {
	margin: 15px 0 0;
}


/*----------------------------------------------------*/
/* 7. Футер */
/*----------------------------------------------------*/
footer {
	background: #fff;
	position: relative;
	z-index: 5;
	height: 250px;
	display: block;
	box-shadow: 0px -1px 1px rgba(0, 0, 0, 0.2);
}

footer a,
footer a:hover {
	color: #2594cb;
	text-decoration: none;
}

footer a:focus {
	outline: 0;
}

.copy {
	width: 700px;
	float: left;
	margin: 34px 0 0;
	font-size: 14px;
	color: #7b8285;
}

.copy p strong {
	font-weight: 700;
	color: #3e4446;
}

.social {
	float: right;
	margin: 30px 0 0;
}

.social li {
	float: left;
	margin: 0 0 0 9px;
}

li.vkontakte a,
li.facebook a,
li.twitter a,
li.google a {
	width: 37px;
	height: 37px;
	display: block !important;
	background: url(../img/social-icons.png) no-repeat;
}

li.vkontakte a {
	background-position: 0 0;
}

li.vkontakte a:hover {
	background-position: 0 -37px;
}

li.facebook a {
	background-position: -37px 0;
}

li.facebook a:hover {
	background-position: -37px -37px;
}

li.twitter a {
	background-position: -74px 0;
}

li.twitter a:hover {
	background-position: -74px -37px;
}

li.google a {
	background-position: -111px 0;
}

li.google a:hover {
	background-position: -111px -37px;
}

/*----------------------------------------------------*/
/* 8. Адаптивный интерфейс */
/*----------------------------------------------------*/

/* --8.1 - от 768px до 979px */
@media(min-width: 768px) and (max-width: 979px) {  

	.wrapper { width: 735px; margin: 0 auto; }
	header h1 { font-size: 340%; }
	.main-video { width: 420px; }
	.subscriber { width: 290px; }
	.subscriber h3 { font-size: 15px; }
	.subscriber p { font-size: 12px; }
	.main-video iframe { width: 100% }
	.form-contact input.input-email { margin: 20px 0 0; width: 90%; }
	.form-contact input.input-name { margin: 5px 0 0; width: 90%; }
	
}
 
/* --8.2 - от 480px до 767px */
@media(min-width: 480px) and (max-width: 767px) {

	.wrapper { width: 480px; margin: 0 auto; }
	header h1 { font-size: 230%; }	
	header h2 { font-size: 120%; }
	.gradient { background: none; }	
	.main { height: 750px; }	
	.main-video { width: 480px; }	
	.main-video iframe { width: 100%; height: 320px; }	
	.subscriber { width: 480px; }	
	.subscriber input { width: 79%; }	
	input.button-newsletter { width: 125px; }
	.form-contact input.input-email { margin: 20px 0 0; width: 90%; }	
	.form-contact input.input-name { margin: 5px 0 0; width: 90%; }
	
}

/* --8.3 - меньше 480px */
@media(max-width:480px) { 

	.wrapper { width: 300px; margin: 0 auto; }
	header h1 { font-size: 230%; line-height: 35px; }
	header h2 { font-size: 110%; }
	.gradient { background: none; }
	.main { height: 650px; }
	.main-video { width: 300px; }
	.main-video iframe { width: 100%; height: 220px; }
	.subscriber { width: 300px; } 
	#watch-this-video { display:none; }
	.form-contact input.input-email { margin: 20px 0 0; width: 90%; }
	.form-contact input.input-name { margin: 5px 0 0; width: 90%; }
	.copy { float: none; margin: 0 auto; width: 300px; text-align: center; padding: 10px 0; }
	.social { float: none; margin: 0 auto;  width: 200px; padding: 0 0 5px; }
	
 }