/* CSS reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dir,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, 
nav, section, summary{
	display: block;
}
*,*:before,*:after{
	box-sizing: border-box;
}
html{
	line-height: 1;
}
table{
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td{
	text-align: left;
	font-weight: normal;
	vertical-align: middle;
}
input, select{
	vertical-align: middle;
}
ol, ul {
	list-style: none;
}
a,a:hover,a:focus{
	text-decoration: none;
	outline: none;
	color: inherit;
}
/* Safari reset style input */
input{
	-webkit-appearance: none;
	-moz-appearance: none;
	outline: none;
}
/* Text selection */
::selection{
	background: #3E4651;
	color: #fff;
}
::-moz-selection{
	background: #3E4651;
	color: #fff;
}
/*End CSS reset*/

/*All styles*/
body{
	overflow-x: hidden;
	font-size: 15px;
	-webkit-tap-highlight-color: transparent;
	background: #eaeaea;
	font-family: sans-serif;
}
.container{
	max-width: 980px;
	padding: 0 10px;
	margin: 0 auto;
	background: #fff;
}
.clearfix:after{
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.bold{
	font-weight: bold;
}
.text-center{
	text-align: center !important;
}
/* END All styles*/

/* sprite */
.sprite{
	background: url('../index_files/spritesheet.png') no-repeat;
	display: inline-block;
}
.sprite-answer {
	width: 13px;
	height: 13px;
	background-position: -5px -5px;
}
.sprite-ava_1 {
	width: 47px;
	height: 47px;
	background-position: -28px -5px;
}
.sprite-ava_2 {
	width: 47px;
	height: 47px;
	background-position: -85px -5px;
}
.sprite-ava_3 {
	width: 47px;
	height: 47px;
	background-position: -142px -5px;
}
.sprite-ava_4 {
	width: 47px;
	height: 47px;
	background-position: -199px -5px;
}
.sprite-ava_5 {
	width: 47px;
	height: 47px;
	background-position: -256px -5px;
}
.sprite-ava_6 {
	width: 47px;
	height: 47px;
	background-position: -313px -5px;
}
.sprite-ava_7 {
	width: 47px;
	height: 47px;
	background-position: -370px -5px;
}
.sprite-ava_8 {
	width: 47px;
	height: 47px;
	background-position: -427px -5px;
}
.sprite-del {
	width: 16px;
	height: 14px;
	background-position: -484px -5px;
}
.sprite-fb {
	width: 9px;
	height: 16px;
	background-position: -510px -5px;
}
.sprite-follow {
	width: 13px;
	height: 12px;
	background-position: -529px -5px;
}
.sprite-like {
	width: 17px;
	height: 16px;
	background-position: -552px -5px;
}
.sprite-od {
	width: 11px;
	height: 17px;
	background-position: -579px -5px;
}
.sprite-search {
	width: 143px;
	height: 31px;
	background-position: -5px -62px;
}
.sprite-sidebar_ic_1 {
	width: 97px;
	height: 89px;
	background-position: -484px -32px;
}
.sprite-sidebar_ic_2{
	background: url('../index_files/sidebar_ic_2.jpg') no-repeat;
	width: 97px;
	height: 79px;
}
.sprite-sidebar_ic_3 {
	width: 97px;
	height: 84px;
	background-position: -5px -131px;
}
.sprite-sidebar_ic_4 {
	width: 97px;
	height: 84px;
	background-position: -112px -131px;
}
.sprite-sidebar_ic_5 {
	width: 97px;
	height: 79px;
	background-position: -219px -131px;
}
.sprite-sidebar_ic_6 {
	width: 97px;
	height: 80px;
	background-position: -326px -131px;
}
.sprite-social {
	width: 275px;
	height: 50px;
	background-position: -5px -225px;
	display: block;
	margin: auto;
}
.sprite-star {
	width: 15px;
	height: 14px;
	background-position: -591px -32px;
}
.sprite-vk {
	width: 13px;
	height: 14px;
	background-position: -5px -32px;
}
.sprite-zx {
	width: 19px;
	height: 17px;
	background-position: -591px -56px;
}
/* END sprite */

/* head */
header{
	margin-bottom: 10px;
}
.nav-1{
	background: #f6f6f8;
	padding: 0 15px;
	display: table;
	width: 100%;
	text-align: center;
}
.nav-1 li{
	/* margin: 15px 0;
	display: inline-block; */
	display: table-cell;
	padding: 15px; 
}
.nav-1 li:last-child{
	display: none;
}

.nav-1 a:hover,
.nav-2 a:hover{
	opacity: .8;
}
.logo{
	/* background: url('../index_files/logo.jpg') no-repeat;
	width: 115px;
	height: 75px;
	margin: 15px auto; */
	width: 100%;
	max-width: 330px;
	margin: 5px 0;
}
.nav-2{
	border-top: 1px solid #323232;
	border-bottom: 1px solid #eeeeee;
	padding: 0 5px;
	overflow-y: hidden;
	height: 37px;
	color: #737373;
}
.nav-2 li{
	display: inline-block;
	margin: 10px 20px 10px 0;
}

/* content */
h1{
	font-size: 26px;
	margin: 30px 0 20px;
}
p img{
	width: 100%;
}
.photo-1{
	max-width: 635px;
}
.photo-2{
	display: none;
}
.article p{
	margin-bottom: 15px;
	line-height: 16px;
}
.product{
	text-align: center;
	max-width: 660px;
}
.product img{
	max-width: 100%;
}
.off-site{
	margin: 20px 0;
	display: inline-block;
	font-size: 18px;
}
.off-site,.off-site:hover,.off-site:focus{
	color: red;
}
.off-site span{
	text-decoration: underline;
}
p a,
p a:hover,
p a:focus{
	color: red;
	text-decoration: underline;
	font-weight: bold;
}

/* comments */
.comments{
	padding-bottom: 30px;
}
.com-title{
	margin: 15px 0 30px;
	padding-bottom: 15px;
	font-size: 18px;
	border-bottom: 2px solid #676767;
}
.com-item{
	margin-bottom: 40px;
}
.com-item:last-child{
	margin-bottom: 0;
}
.com-item>i{
	float: left;
}
.com-item div{
	margin-left: 60px;
}
.name{
	color: #0e64c6;
	font-size: 16px;
}
.com-item p{
	margin: 10px 0 20px;
	line-height: 18px;
}
.btns li,
.btns-soc li{
	display: inline-block;
}
.btns li i{
	vertical-align: top;
}
.btns li{
	border: 1px solid #e9e9e9;
	border-radius: 3px;
	height: 30px;
	vertical-align: middle;
	background: #f4f4f4;
}
.btns li a{
	display: block;
	padding: 7px 5px 0;
	height: 100%;
}
.btns li:nth-child(3){
	background: #c3c3c3;
}
.btns li:hover,
.btns-soc li:hover{
	opacity: .6;
}
.btns li:nth-child(1),
.btns li:nth-child(2){
	display: none;
}

.btns-soc{
	margin-top: 15px;
}
.btns-soc li{
	margin-right: 20px;
}

/* banner */
.banner{
	display: none;
}

/* footer */
.container-footer{
	padding: 0 !important;
}
footer{
	padding: 15px 20px;
	background: #4b3e34;
	border-radius: 5px;
	color: #fff;
}
footer img{
	width: 100%;
	max-width: 310px;
}
footer ul:first-child{
	border-bottom: 1px solid #5c5c5c;
	padding-bottom: 10px;
	margin-bottom: 15px;
}
footer ul:first-child li{
	margin-bottom: 5px;
}
.footer-search{
	margin: 15px 0;
}
input{
	width: 100%;
	height: 30px;
	border-radius: 3px;
	border: 1px solid #eeeeee;
	padding: 5px;
}
.footer-search p{
	margin-top: 10px;
	font-size: 12px;
}
footer ul:last-child li{
	margin-bottom: 5px;
}
footer ul:first-child a:hover,
footer ul:last-child a:hover{
	opacity: .8;
}


.copyright{
	margin-top: 15px;
	padding: 0 0 20px;
	text-align: center;
}
.copyright a{
	color: #0e64c6;;
}

@media screen and (min-width: 480px){
	.nav-1{
		padding: 0 0 0 15px;
		display: block;
		text-align: left;
	}
	.nav-1 li{
		display: inline-block;
		padding: 0;
		margin: 15px 0;
	}
	.nav-1 li:last-child{
		display: inline-block;
		float: right;
		margin-top: 6px;
	}
	.nav-1 li:after{
		content: "|";
		color: #e6e6e7;
		margin: 0 5px;
	}
	.nav-1 li:nth-child(3):after,
	.nav-1 li:nth-child(4):after{
		content: '';
	}
	.sprite-social {
		width: 455px;
	}
	h1{
		font-size: 30px;
	}
	.article p,
	.com-item p{
		text-align: justify;
	}
	.photo-2{
		max-width: 200px;
		display: block;
		float: left;
		margin: 5px 15px 0 0;
	}
	.product{
		text-align: center;
	}

	.btns li:nth-child(1),
	.btns li:nth-child(2){
		display: inline-block;
	}
}

@media screen and (min-width: 768px){
	.container{
		padding: 0 20px;
	}
	.article p{
		line-height: 20px;
		margin-bottom: 30px;
	}
	.sprite-social {
		width: 605px;
	}
	.photo-2{
		max-width: 255px;
	}
	.product{
		font-size: 18px;
	}
	.product img{
		max-width: 100%;
	}
	.off-site{
		line-height: 24px;
		margin: 30px 0;
	}
	.com-item p{
		line-height: 20px;
	}
	.product {
		max-width: 830px;
	}
	footer ul:first-child li{
		display: inline-block;
		margin: 0 10px 0 0;
	}
	footer ul:last-child{
		display: inline-block;
		border-left: 1px solid #5c5c5c;
		padding-left: 10px;
		margin-left: 10px;
	}
	footer div{
		display: inline-block;
		vertical-align: top;
	}
	.footer-search{
		width: 350px;
		margin: 0 0 0 20px;
	}
	.footer-search p{
		line-height: 16px;
	}
}

@media screen and (min-width: 980px){
	.content,
	.banner{
		display: inline-block;
		vertical-align: top;
	}
	.content{
		width: 650px;
	}
	.banner{
		width: 255px;
		margin-left: 30px;
	}
	.product div{
		font-size: 16px;
	}
	.banner-title{
		height: 45px;
		line-height: 45px;
		font-size: 16px;
		padding-left: 20px;
		margin-bottom: 30px;
		color: #fff;
		text-transform: uppercase;
		background: #972d40;
	}
	.banner li{
		color: #972d40;
		margin-bottom: 10px;
	}
	.banner li:hover{
		opacity: .8;
	}
	.banner ul div{
		padding-top: 5px;
		margin-left: 105px;
	}
	.banner i{
		float: left;
	}
	.banner-img{
		margin-top: 40px;
		background: url('../index_files/sidebar_img.jpg') no-repeat;
		background-size: 100%;
		width: 255px;
		height: 376px;
	}
	.comments{
		width: 550px;
	}
	.btns li a{
		padding: 7px 8px 0;
	}

	footer img{
		height: 85px;
	}
	.footer-search{
		width: 385px;
	}
	
}