body{
	padding: 0;
	margin: 0;
	font-family: 'Francois One', sans-serif;
}
h1, h2{margin: 0;padding: 0;font-weight: normal;}

#custom_topbar{
	width:100%;
	position:fixed; 
	top:0px;
  	z-index: 9999;
  	background:rgba(255,255,255,0.9);
  	box-shadow: 0px 3px 5px rgba(193,31,30,0.3);
  	padding-top: 5px;
}
#moderna{ margin-left: 215px; margin-top: 10px;  }
#custom_topbar_right{
	float:right;
	padding-top: 8px;
	margin-right:45px;
}
#custom_topbar_links{float: left;}
#custom_topbar_right a{
	transition: 0.5s;
	color: #C11F1E;
	text-decoration:none;
}
#custom_topbar_right a:hover{
	color: rgba(166,30,34,0.5);
}

#custom_topbar_right a img{transition: 0.5s;}
#custom_topbar_right a img:hover{opacity: 0.7;}

.container{
	transition: 2s;
	position: absolute;
	top:0px;
	left: 0px;
	width: 100%;
	height: 90vh;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
#bialystok{background-image:url('slider2.jpg'); opacity: 1;}
#elk{background-image:url('slider1.jpg'); opacity: 0;}
#ostrow{background-image:url('slider-ostrow.jpg'); opacity: 0;}

#cover{
	z-index: 900;
	position: absolute;
	width: 100%;
	height: 90vh;
	top:0px;
}

#logo{
	margin-top:-130px;
	z-index:-1;
	position: absolute;
}

#nav_info{
	font-size: 20px;
	position: absolute;
	z-index: 9999;
	color: rgba(0,0,0,0.65);
	margin-top: 92.5vh;
	margin-left: 150px;
}

nav{
	z-index: 9999;
	color: rgba(193,31,30,.9);
	text-align: center;
	margin-top:90vh !important;
	width: 810px;
	height: 10vh;
	margin: auto;
}
.nav_button{
	z-index: 9999;
	cursor: pointer;
	margin-left: 20px;
	float: left;
	width: 250px;
	height: 45px;
	font-size: 22px;
	padding-top: 18px;
}
a{
	color: rgba(193,31,30,0.9);
}
.nav_button:hover{
	border-top: 5px solid rgba(193,31,30,0.9);
	margin-top: -5px;
	color: rgba(193,31,30,0.75);
}

#kafle{
	width: 100%;
	z-index: 9999;
}
#kafle .row{width: 16.66%; height:200px; margin:0px; padding:0px; float: left;text-align: center;display: inline-block;position: relative;}

#kafle img{
	max-height: 100%;
	max-width: 80%;
	width: auto;
	height: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
 	margin: auto;
	transition: 0.5s;
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}
#kafle img:hover{
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}

@media screen and (min-width: 880px) and (max-width: 1130px) {
	#nav_info{display: none;}
}
@media screen and (min-width: 1050px) and (max-width: 1410px) {
	#nav_info{margin-left: 20px;}

}

@media screen and (max-width: 880px) {
	#kafle .row{width: 50%;}
	body{overflow-x: hidden;}
	#moderna{margin-left: 10px;}
	#custom_topbar_links{display: none;}
	#custom_topbar_right{margin-right: 10px;}
	#nav_info{ width: 100%; text-align: center; margin-top:-15vh; color:white;}
	#logo{display: none;}
	nav{width: 100% !important;}
	.nav_button{width: 100%;border-top: 1px solid rgba(193,31,30,0.6); margin-left: 0px;}
	#kafle img{ width: 80%;margin: 0 10%;}
}

@media screen and (max-width: 1100px) {
	#kafle .row{width: 33.33%;}
}
@media screen and (max-width: 650px) {
	#kafle .row{width: 50%;}
}
@media screen and (max-width: 480px) {
	#kafle .row{width: 100%;}
}