.comments {
	float:none;
}

.update{
	background:#000;
}

@media(max-width:1000px) {
	#container, #wraper {
		width:100%;
    }
	#footer .inner {
		width:100%;
		box-sizing:border-box;
    }
}
@media(max-width:988px) {
	#header .logoimage{
		left:31%;
	}
	#sidebar {
		display:none;
    }
	#content{
		width:100%;
		margin:0;
		float:none;
        box-sizing: border-box;
	}
	#content img {
		max-width:100%;
	}
	#wrapper{
		padding:10px;
	}
	.paginator{
		float:none;
	}
}
@media(max-width:830px) {
	#footer .inner .block1{
		width:100%;
		box-sizing: border-box;
	}
	#footer .inner .block1 li{
		width:90%;
	}
	#footer .inner .block1 > div{
		width:33%;
		margin:0 !important;
		box-sizing:border-box;
	}
	#footer .inner .block2{
		display:none;
    }
	#nav .menu + div {
		display:none;
	}
}
@media(max-width:660px) {
	.comment .date{
		position:initial;
		font-size:10px;
	}
}
@media(max-width:700px) {
	#header .pages li a,
	#header .pages li.active a{
		font-size:14px;
	}
	#header .static a{
		font-size:12px;
	}
}
@media(max-width:570px) {
	#header{
		height:180px;
		background-repeat:repeat-x;
		background-position-y:40px;

	}
	#header .pages,
	#header .static {
		float:none !important;
		position:inherit;
		text-align:center;
	}
	#header .pages li{
		margin-right: 10px;
	}
	#header .pages li,
	#header .static li {
		display:inline-block;
		float:none;
	}
	#header .logo{
		top:80px;
	}
	#header .auth{
		top:108px;
	}
	#header .logoimage{
		left:14%;
	}
	#nav {
		margin-top:110px !important;
		margin-left:10px;
	}
	#header .profile {
		top:190px;
		width:300px;
		float:none;
		right:50%;
		margin-right:-150px;
	}
	#header .profile li:nth-child(3) span,
	#header .profile li:nth-child(4) span,
	#header .profile li:nth-child(5) span{
		display:none;
	}
	#header .profile li:nth-child(3),
	#header .profile li:nth-child(4),
	#header .profile li:nth-child(5){
		padding-left:10px;
	}
}
@media(max-width:490px) {
	#nav {
		height:auto;
	}
	#nav .button-publish{
		float:none;
		display:block;
		margin:0 auto;
		margin-bottom:15px;
	}
}
@media(max-width:425px) {
	#header .logo{
		text-align:center;
		left:15%;
	}
	#header .auth{
		top:155px;
		right:25%;
	}
	#nav{
		margin-top:15px;
	}
	.comments .comment-wrapper .comment-wrapper {
		padding-left: 5px;
	}
	.login-form {
		width:78%;
		left:0;
		margin-left:10px;
	}
	.login-form .input-text{
		width:100% !important;
	}
}
@media(max-width:398px) {
	#header .logoimage{
		left:10%;
		max-width:90%;
	}
}
@media(max-width:320px) {
	#header .logo{
		left:5%;
	}
	#header .auth{
		right:17%;
	}
}
