.fancybox-prev span{
	background: #1b1b1b url('images/ui/arrow_left_featured.png') no-repeat center center !important;
	height: 50px !important;
	margin-top: -25px !important;
	opacity: 0.9;
}
.fancybox-next span{
	background: #1b1b1b url('images/ui/arrow_right_featured.png') no-repeat center center !important;
	height: 50px !important;
	margin-top: -25px !important;
	opacity: 0.9;
}



@media only screen and (max-width: 1400px){
	.menu-logo{
		height: 17% !important;
		margin: 10px auto 0 auto !important;
	}
	#menu-side .menu-search input[type="text"], #menu-side .menu-search input[type="submit"]{
		height: 40px !important;
		line-height: 40px !important;
	}
	#menu-side .menu-bottom {
		bottom: 40px !important;
	}
	footer {
		height: 40px !important;
	}
	#lang_sel ul ul {
	    bottom: 80px !important;
	}
	#lang_sel img.iclflag {
	    top: 14px !important;
	}
	#lang_sel ul ul a, #lang_sel ul ul a:visited {
	    height: 40px !important;
	    line-height: 40px !important;
	}
	#lang_sel a.lang_sel_sel {
	    height: 40px !important;
	    line-height: 40px !important;
	}
	#lang_sel{
		height: 40px !important;
	}
	#menu-side .menu li a{
		line-height: 35px !important;
		font-size: 16px !important;
	}
	.featured-post .post-content{
		padding: 5px 60px !important;
		max-height: 100% !important;
		overflow: hidden;
		height: 100% !important;
	}
	.featured-post.no-image .post-content{
		max-height: 100% !important;
		height: 100% !important;
	}
	.featured-post .post-image{
		max-height: 100% !important;
		height: 100% !important;
		background: #1b1b1b;
	}
	.featured-post .post-image img{
		height: 100% !important;
		width: auto !important;
		max-width: 1000% !important;
	}

}



/* =Media query for iPad and tablets
-------------------------------------------------------------- */
@media handheld, only screen and (max-width: 768px), only screen and (max-device-width: 768px) and (orientation:portrait){
	body{font-size:90%}
	html.mobile, html.mobile body{
		height: auto !important;
	}

	footer {
		position: relative !important;
		left: 0 !important;
	}
	footer .footer-left {
		padding: 0 20px !important;
	}

	.row{margin-bottom:0!important}
	.c1,.c2,.c3,.c4,.c5,.c6,.c7,.c8,.c9,.c10,.c11,.c12{width:100% !important;margin-right:0;margin-left:0;margin-bottom:20px}
	.section-post .post-image, .section-post .post-content{display: block !important; width: 100% !important; padding: 0px !important;}

	.section-post .post-image img{width: 100% !important; height: auto !important; margin-bottom: 15px !important;}
	.single-proekti .section-post-list img{margin-bottom: 0px !important;}
	.section-post .post-image .center-image img { width: auto !important; }

	.section-post .post-image-helper img{width: auto !important;}

	.menu-logo{
		display: none !important;
	}

	#mobile-top{
		width: 100%;
		height: 45px;
		background: #ffffff;
		display: block !important;
		overflow: hidden;
	}
	.mobile-logo {
		display: block;
		width: 143px;
		height: 17px;
		background: url('images/logo-mob.png') top center no-repeat;
		background-size: 100%;
		float: right;
		margin-right: 15px;
		margin-top: 15px;
	}
	.mobile-menu{
		float: left;
		height: 45px;
		line-height: 45px;
		font-size: 12px;
		text-transform: uppercase;
		margin-left: 15px;
		cursor: pointer;
	}
	.mobile-menu span{
		float: left;
		width: 18px;
		padding-top: 15px;
		margin-right: 15px;
	}
	#menu-side{
		left: -220px !important;
		max-height: 100% !important;
	}
	.menu-main-menu-container{
		padding-top: 45px;
	}
	#main{
		height: auto !important;
		padding: 0px !important;
	}

	html .link-post-home,
	html .section-post .center-image > a {
		width: auto;
	}

	.single-post #main, .single-arhiva #main, .single #main {margin-right: 0px !important;}
	.single-post .other-posts, .single-arhiva .other-posts, .single .other-posts {position: relative !important; width: 100% !important; height: auto !important; padding-top: 15px; border-left: 0 !important; border-top: 1px solid #ccc;}
	.single-post .other-posts .op-proekt-text, .single-arhiva .other-posts .op-proekt-text, .single-aktivnosti .other-posts .op-proekt-text, .single-izdanija .other-posts .op-proekt-text, .single-multimedija .other-posts .op-proekt-text, .single-post .other-posts h1, .single-arhiva .other-posts h1, .single-aktivnosti .other-posts h1, .single-izdanija .other-posts h1, .single-multimedija .other-posts h1 {
		padding: 20px 0 !important;
	}
	#main .main-content{padding: 20px !important;}
	.single-post .section-post .post-image, .single-arhiva .section-post .post-image{height: auto !important;}
	.select2-container .select2-choice .select2-arrow{
		display: block !important;
		background: url('images/ui/arrow_down.png') center center no-repeat !important;
		background-size: 9px !important;
	}
	.select2-container .select2-choice .select2-arrow b {
		display: none !important;
	}
	.home-proekti{ height: auto !important;}
	.home-proekti li{max-width: 100px; height: 50px !important; margin-bottom: 20px;}
	body{
		-webkit-transition: all 0.4s;
	    -moz-transition: all 0.4s;
	    -ms-transition: all 0.4s;
	    transition: all 0.4s;


		-webkit-backface-visibility: hidden;
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
    	backface-visibility: hidden;

	   /* -ms-transform: translate(0px,0px);
		-moz-transform: translate(0px,0px);
	   	-webkit-transform: translate(0px,0px);
	    transform: translate(0px,0px);*/
	}
	body.open-menu{
		overflow: visible !important;
		-ms-transform: translate(220px,0px); /* IE 9 */
		-moz-transform: translate(220px,0px);
	   	-webkit-transform: translate(220px,0px); /* Chrome, Safari, Opera */
	    transform: translate(220px,0px);
	    /*height: 100% !important;*/
	}
	html.open-menu{
		height: 100% !important;
		width: 100% !important;
		overflow: visible !important;
	}
	#menu-side .menu li a{
		font-size: 16px !important;
		line-height: 40px !important;
	}

	.buttons-cont .c4{
		margin-bottom: 10px !important;
	}


	.filters-cont {
		margin-bottom: 0 !important;
	}

	.single-izdanija .section-post .post-image + .post-content > * {
		width: 100% !important;
	}
	.single-proekti .section-content.mini .c3{
		width: 50% !important;
	}
	.single-proekti .section-post-list.vesti .post-image{
		display: table-cell !important;
		width: 67px !important;
	}
	.single-proekti .section-post-list.vesti .post-content {
		display: table-cell !important;
		vertical-align: middle;
	}
	.single-proekti .section-post-list.vesti .section-post a{
		padding: 9px 15px !important;
	}
	.single-proekti .section-post-list.vesti .post-title{
		padding-left: 5px;
	}
	.single-proekti .gallery-grid .c6{
		width: 50% !important;
	}
	.tablet-helper{
		clear: both;
	}
	.gallery-item-inner{
		width: 25% !important;
	}
	#menu-side{
		background: #ffffff;
	}

	/**
	 *  404
	 */
	.error404 .main-content > .grid:not(.results) {
		margin-top: 30px !important;
	}
	.error404 .filters-cont {
		margin: 20px 0 50px !important;
	}
	.error404 .filters-cont > .c3 {
		padding: 0 !important;
	}
}



@media handheld, only screen and (max-width: 768px), only screen and (max-device-width: 768px) and (orientation:portrait){
	html, body {
		overflow: auto !important;
	}
	.section-row .section-content .c12 {
		padding: 0 10px !important;
	}
	.top-social {
		display: none !important;
	}
	#menu-side .menu li a{
		font-size: 15px !important;
		line-height: 37px !important;
	}
	.gallery-item-inner{
		width: 100% !important;
	}
	.single-proekti .section-content.mini .c3{
		width: 100% !important;
	}
	.single-proekti .section-post-list.vesti .post-image{
		display: block !important;
		width: 100% !important;
	}
	.single-proekti .section-post-list.vesti .post-content {
		display: block !important;
	}
	.single-proekti .section-post-list.vesti .post-title{
		padding-left: 5px;
	}
	.single-proekti .gallery-grid .c6{
		width: 100% !important;
	}
	.tablet-helper{
		clear: none !important;
	}

	.section-content.home-proekti-wrap {
		margin: 0 !important;
	}
	.flexslider.carousel {
		padding: 0 20px !important;
	}
	.flexslider .flex-prev, .flexslider .flex-next, .flexslider .flex-direction-nav .flex-disabled {
		width: 20px !important;
	}
	.featured-posts-slider ul .featured-post{
		/*display: block !important;*/
	}
	.featured-post .post-image{
		/*display: block !important;*/
		display: table-row !important;
		width: 100% !important;
		/*height: 100% !important;*/
		height: 50% !important;
		max-height: 50% !important;
		clear: both;
		overflow: hidden;
	}
	.featured-post .post-image img{
		height: auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.featured-post .post-content .post-title{
		font-size: 20px !important;
		line-height: 20px !important;
	}
	.featured-post .post-content .post-text{
		font-size: 12px !important;
		line-height: 16px !important;
	}
	.featured-post .post-content{
		/*display: block !important;*/
		width: 100% !important;
		padding: 5px 30px !important;
		max-height: 50% !important;
		clear: both;
		overflow: hidden;
		height: 100% !important;
	}
	.featured-post.no-image .post-content{
		max-height: 100% !important;
		height: 100% !important;
	}
	.featured-post .post-content .previous, .featured-post .post-content .next{
		width: 25px !important;
	}
}