#logo-upakovano {
    display: block !important;
    margin: 0 auto;
}

#header, #page, #footer, #counters {
    max-width: 800px;
	width:auto;
}

#page{
	padding-top: 0;
	max-width: 490px !important;
}
#content{
	padding-top: 0 !important;
}

#header {
	margin-top: 0px!important;
	padding-top: 90px;
	padding-top: 0;
	margin-top: 45px;
	position: relative;
	overflow: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	transition: height 0.25s linear;
	margin: 0 auto;
	max-width: 100%;      
}

#header-overlay{
	margin-bottom:47px;
}

#header-image-cover {
    background: none no-repeat scroll 50% 50% rgba(0, 0, 0, 0);
	display: block;
	transition: opacity 0.15s ease;
	margin: 0 -1px;
	left: 0;
	top: 0;
	width: 100%;
}
	#header-image-cover-pic{
		width: 100%;
		height: auto;
		display: block;
		float: right;
	}

.nodes-teasers-list > div > a{
	width:auto;
	/*max-width:200px;*/
	height:auto !important;
}
.nodes-teasers-list > div > a img{
	max-width:100%;
	height:auto;
}

#main-nav-inner {
	white-space: nowrap;
}

#main-nav-container{
	width: 270px;
	margin: 0;
	padding: 20px 0 0;
}
@media only screen and (max-width :870px) {
	#main-nav-container{max-width:530px;}
}

#main-nav {    
    width: 240px;    
	margin: 0;

    position: relative;
    z-index: 1000;
	padding: 0px 15px 10px;
}

@media only screen and (max-width: 580px){
	#main-nav-container{max-width:280px;}
	#main-nav{margin-left: auto; margin-right: auto;}
}

#main-nav ul.menu {text-align: center; font-size:18px!important; margin:0;}

#main-nav li{
	padding-right:0px!important;
	margin-right:5px;
	margin-bottom: 50px!important;
}

#main-nav li a{
	padding-right:0px!important;
	margin-bottom: 0px;
}

.b-menu-opener {
	display:none;
	width:27px;
    cursor:pointer;
    /*display:block; */ 
	margin:12px 0 17px 0;
}

#main-nav #logo-doypack {
	background: none;
	font-family: "PT Serif", Georgia, "Times New Roman", Times, serif;
	font-size: 23px !important;
	font-style: normal;
	font-weight: normal;
	color: #211922;
	text-align: left;
	text-shadow: none;
	-webkit-transition: color 0.4s;
	        transition: color 0.4s;
}
	#main-nav #logo-doypack:hover{
		color: #81b1ca !important;
	}
	
ul.menu{
	width: auto;
}
	ul.menu li,
	ul.menu li:first-child{
		padding-left: 0 !important;
	}
	
.b-search-wrap{
	padding-left: 0;
	margin-bottom: 0;
	margin-top: 10px;
}
#b-search__boximg{
	margin: 5px auto!important;
	
	}
#q-fsearch{
	text-align:center!important;
}

.b-mainbanner{
	max-width: 510px;
	min-width: 260px;
	margin: 0 auto;
	position: relative;
	left: 0!important;
	margin-bottom: 20px;
}
	.b-mainbanner__inner{
		display: block;
		background: no-repeat 50% 50%;
		-webkit-background-size: cover;
				background-size: cover;
		text-decoration: none;
	}
		.b-mainbanner__pictext{
			display: block;
			width: 100%;
			height: auto;
		}
			.b-mainbanner__pictext_med{
				
			}
			.b-mainbanner__pictext_small{
				display: none;
			}
		
	@media only screen and (min-width: 1050px){
		.b-mainbanner{left: -4px;}
	}
	@media only screen and (max-width: 870px){
		.b-mainbanner{left: -10px;}
	}
	
	@media only screen and (max-width: 580px) and (min-width: 480px){
		.b-mainbanner{
			max-width: 100%;
			left: 5px;
			padding:0 25px;
		}
	}
	
	@media only screen and (max-width: 480px){
		.b-mainbanner{
			max-width: 260px;
			margin-left: 40px;
		}
		.b-mainbanner__pictext_med{
			display: none;
		}
		.b-mainbanner__pictext_small{
			display: block;
		}
	}
	
.dLinkClickFeed{
	width:240px;
	padding:10px 0px 0;
	overflow:hidden;
}

.detail-link-click img{
	width:240px!important;
	padding-bottom:10px;
}

.b-ad-fixedblock-container{width:240px; padding:10px 15px; position:absolute;}

#main-nav{
	float: left;
}

#news-list{

}


@media only screen and (max-width: 360px){
	#stamp{
		width:100% !important;
	}
	
	#main-nav {
		float:none;
		margin: 0 auto;
	}
	
	#main-nav-container {
		margin: 0 auto;
	}
	
	.main-photo-single-page img{
		max-width:100%!important;
		width:100%;
		height:auto;
	}
	
	.b-ad-fixedblock {
		/*display:none;*/
	}
}

#main-nav .menu li.activa a{
	color:black!important;
}


