@import url('http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700');


html {

text-rendering: optimizeLegibility !important;

-webkit-font-smoothing: antialiased !important;

box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;

}

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

body{ font-family: Roboto Condensed, Arial, Sans-Serif;}

.container{
	width: 960px;
	margin: 0 auto;
	padding: 0px 10px 0px 10px;
}

#header{
	display: inline-block;
	width: 100%;
	height: 800px;
	background: url('assets/banner-img.jpg') top left fixed;
	background-size: cover;
	padding: 100px 0px 40px 0px;
}

.header-left, .header-right{
	display: inline-block;
	width: 50%;
	float: left;
	margin-bottom: 50px;
}


.header-right img{
	float: right;
	margin-bottom: 70px;
	width: 100px;
}

.header-right h1{
	float: right;
	clear: both;
	text-align: right;
	display: block;
	font-size: 72px;
	color: white;
	margin-bottom: 40px;
}

.header-right hr{
	width: 60px;
	height: 5px;
	background-color: white;
	float: right;
	clear: both;
	margin-bottom: 30px;
}

.header-right p{
	color: white;
	font-weight: 300;
	font-size: 28px;
	text-align: right;
	display: inline-block;
	float: right;
	line-height: 27px;
}

#header a{
	clear: both;
	display: block;
	width: 36px;
	height: 20px;
	margin: 0 auto;
}


#about{
	display: block;
	padding: 100px 0px;
	width: 100%;
	background: linear-gradient(#f3f3f3, #ffffff);
	border-bottom: 2px solid #cbcbcb;
}

.about-right, .about-left{
	display: inline-block;
	width: 50%;
	float: left;
}

.about-right{
	float: none;
}

.about-left h2{
	font-size: 60px;
	font-weight: 400;
	margin-bottom: 20px;
	color: #1e1e1e;
}

.about-left hr{
	border: none;
	display: block;
	float: left;
	background-color: #1e1e1e;
	width: 60px;
	height: 5px;
	margin-bottom: 40px;
}

.about-left p{
	color: #1e1e1e;
	font-weight: 400;
	display: block;
	float: left;
	font-size: 18px;
	text-align: left;
	line-height: 27px;
	margin-bottom: 40px;
}

.about-left a{
	display: block;
	float: left;
	padding: 10px 40px;
	border: 2px solid #e63c3c;
	border-radius: 3px;
	text-decoration: none;
	color: #e63c3c;
	font-weight: 700;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.about-left a:hover{
	background-color: #e63c3c;
	color: white;
}

.about-right{
	padding-top: 80px;
}

.about-right #free_books{
	display: block;
	float: right;
	width: 450px;
	height: 400px;
	background: url("assets/knigi.png") no-repeat center center;
	background-size: contain;
}

#features{
	padding: 100px 0px;
	width: 100%;
	background: linear-gradient(#f3f3f3, #ffffff);
	border-bottom: 2px solid #cbcbcb;
}


#features h2{
	font-size: 60px;
	font-weight: 400;
	margin-bottom: 20px;
	color: #1e1e1e;
}


#features hr{
	border: none;
	display: block;
	float: left;
	background-color: #1e1e1e;
	width: 60px;
	height: 5px;
	margin-bottom: 40px;
}

#grid{
	width: 100%;
	height: auto;
	margin: 0 auto;
	display: block;
}


.top-row, .bottom-row{
	margin: 0px 0px 10px 0px;
	display: inline-block;
	width: 100%;
}

.top-row, .bottom-row p{
	text-align: center;
	font-size: 14px;
	color: #4e4d4d;
	font-weight: 700;
	line-height: 21px;
}

.item-1, .item-2, .item-3, .item-4, .item-5, .item-6{
	width: 32%;
	height: 350px;
	display: inline-block;
	float: left;
	border-top: 3px solid #e63c3c;
	padding: 30px;
	background-color: #e1e1e1;
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.item-1:hover{
	background-color: #e63c3c;
	color: white;
}


#grid svg{
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}


.item-1:hover svg{
	fill: white;
}

.item-2:hover svg{
	fill: white;
}

.item-3:hover svg{
	fill: white;
}
.item-3:hover svg{
	fill: white;
}
.item-4:hover svg{
	fill: white;
}
.item-5:hover svg{
	fill: white;
}
.item-6:hover svg{
	fill: white;
}


.item-2:hover{
	background-color: #e63c3c;
	color: white;
}

.item-3:hover{
	background-color: #e63c3c;
	color: white;
}

.item-4:hover{
	background-color: #e63c3c;
}

.item-5:hover{
	background-color: #e63c3c;
}

.item-6:hover{
	background-color: #e63c3c;
}

.item-4:hover p{
	color: white;
}

.item-5:hover p{
	color: white;
}

.item-6:hover p{
	color: white;
}

.item-1, .item-2{
	margin-right: 10px;
}

.top-row object{
	display: block;
	height: 130px;
	width: 130px;
	margin: 0 auto;
	margin-bottom: 30px;
}

.bottom-row object{
	display: block;
	height: 130px;
	width: 130px;
	margin: 0 auto;
	margin-bottom: 30px;
}

.bottom-row{
	display: block;
	width: 100%;
}

.bottom-row img{
	height: 130px;
	width: 130px;
	display: block;
	margin: 0 auto;
	margin-bottom: 30px;
}


.item-4, .item-5{
	margin-right: 10px;
}

#contact{
	padding: 100px 0px;
	width: 100%;
	background: linear-gradient(#f3f3f3, #ffffff);
	border-bottom: 2px solid #cbcbcb;
}

#contact h2{
	font-size: 60px;
	font-weight: 400;
	margin-bottom: 20px;
	color: #1e1e1e;
}

#contact hr{
	border: none;
	display: block;
	float: left;
	background-color: #1e1e1e;
	width: 60px;
	height: 5px;
	margin-bottom: 40px;
}

.flexbox{
	width: 100%;
	display: block;
}

.contact-left, .contact-right{
	width: 50%;
	display: inline-block;
}

.contact-left {
	margin-top: 50px;
	float: left;
	clear: both;
}

.contact-left h2 {
	font-size: 28px!important;
}

.contact-left h2 a {
	color: #e63c3c;
}

.contact-right{
	float: right;
}

.contact-left form{
	float: left;
	display: inline-block;
	padding-right: 20px;
}

form input{
	background: none;
	width: 100%;
	font-size: 24px;
	font-weight: 300;
	font-family: Roboto Condensed;
	color: #1e1e1e;
	border: none;
	outline: none;
	padding: 10px 0px;
	border-bottom: 2px solid #1e1e1e; !important
}

#input-name{
	margin-bottom: 30px;
}

form textarea{
	display: inline-block;
	float: left;
	width: 100%;
	font-size: 24px;
	color: #1e1e1e;
	font-size: 24px;
	font-weight: 300;
	font-family: Roboto Condensed;
	border: none;
	outline: none;
	padding: 30px 0px 0px 0px;
	border-bottom: 2px solid #1e1e1e; !important
}

.contact-left button{
	padding: 10px 20px;
	border: 2px solid #e63c3c;
	border-radius: 3px;
	background: none;
	font-size: 14px;
	color: #e63c3c;
	font-weight: 700;
	outline: none;
	margin-top: 30px;
	width: 30%;
	cursor: pointer;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.contact-left button:hover{
	background-color: #e63c3c;
	color: white;
}

#social-links{
	clear: both;
	display: inline-block;
	width: 100%;
	padding: 10px;
	margin: 30px 0px 0px 0px;
}

#contact p{
	display: block;
	text-align: center;
	margin-top: 30px;
}


#social-links svg{
	width: 33%;
	float: left;
	display: inline-block;
	margin: 0 auto;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#social-links a:hover #facebook{
	fill: #3b5998;
}

#social-links a:hover #twitter{
	fill: #00aced;
}

#social-links a:hover #instagram{
	fill: #517fa4;
}


footer{
	margin-top: 60px;
	text-align: center;
	padding-bottom: 60px;
}

footer a{
	text-decoration: none;
	color: #1e1e1e;
	font-weight: 400;
}

footer a:hover{
	text-decoration: underline;
}