@import url(css/normalize.css);
@import url(css/responsive-nav.css);

/* --------- Main ---------- */

html,body{
	margin:0;
	padding:0;
	-webkit-font-smoothing: antialiased;
}

a img{
	border: none;
}

body{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 26px;
	color: #1f1a17;
	background-color: #d6edfa;
}

.wrapper{
	width: 800px;
	margin: 0 auto;
}


/* ---- Menu lista ---- */

#top-menu{
	width: 100%;
	height: 55px;
	color: #fff;
	background-color: #291770;
	font-size: 30px;
	position: fixed;
	top: 0;
}

#top-menu p{
	text-align: center;
	margin-top: 12px;
}

#top-menu #menu-icon{
	left: 20px;
	top: 13px;
	position: absolute;
}

header #logo{
	margin-top: 80px;
}

header #logo img{
	margin: 0 auto;
	display: block;
}

header h1{
	font-size: 26px;
	font-weight: normal;
	margin: 35px auto;
	padding-top: 11px;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	line-height: 34px;
	
	background-color: #cf142b;
	width: 480px;
	height: 71px;
}

header img.dav{
	margin: -28px auto;
	display: block;
}


/* ---- Menu ---- */

header #menu{
	margin: 55px auto;
	width: 678px;
}


header #menu nav a{
	color: #fff;
	font-size: 26px;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	
	background-color: #291770;
	width: 100%;
	height: 40px;
	display: block;
	margin-top: 4px;
	padding-top: 11px;
}

header #menu nav a:hover{
	background-color: #cf142b;
}

header #menu nav a.eshop{
	font-size: 35px;
	letter-spacing: 8px;
	padding-top: 6px;
	height: 45px;
}


/* ---- Content ---- */

main{
	overflow: hidden;
}

main #vlajky{
	width: 550px;
	margin: 0 auto;
}

main #vlajky .vlajka{
	width: 260px;
	height: 237px;
	float: left;
	margin-right: 30px;
	margin-bottom: 19px;
}

main #vlajky .vlajka:nth-child(even){
	margin-right: 0px;
}

main #vlajky .vlajka h2{
	color: #1f1a17;
	font-size: 26px;
	text-transform: uppercase;
	font-weight: normal;
	text-align: center;
	margin-top: 8px;
}

main #vlajky .vlajka h2.mini{
	font-size: 19px;
}

main #vlajky .vlajka a{
	text-decoration: none;
}

/* ---- Footer ---- */

footer{
	font-size: 16px;
	overflow: hidden;
	margin-bottom: 5px;
}

footer p.copy{
	float: left;
	margin-left: 20px;
}

footer p.www{
	float: right;
	margin-right: 20px;
}

footer a{
	color: #1f1a17;
	text-decoration: none;
}

footer a:hover{
	text-decoration: underline;
}


/* ---- Top navigation ---- */
* {
  margin: 0;
  padding: 0;
}

nav#top {
  position:absolute;
  left: 20px;
  top: 13px;

  color: #1f1a17;
  
  background-image: url(images/menu-icon.png);
  width: 37px;
  height: 28px;
}

nav#top ul {
  list-style: none;
}
nav#top li {
  display: inline-block;
}
nav#top a {
  display: inline-block;
  background: #333;
  color: white;
  padding: 5px 15px;
  border: 1px solid white;
  text-decoration: none;
}
nav#top a:hover {
  border: 1px solid red;
  background: red;
}
nav#top a:active {
  background: blue;
}
nav#top select {
  display: none;
  background: transparent;
  -webkit-appearance: none;
  border: none; 
  width: 40px;
  height: 30px;
}

nav#top ul { display: none; }
nav#top select { display: inline-block; }

/* ---- Top navigation ---- */


/* ---- Responsive ---- */

@media screen and (max-width: 800px) {
	.wrapper{
	width: 100%;
	margin: 0 auto;
	}

	header #logo img{
		width: 61%;
		height: auto;
	}
	
	img.dav{
		width: 60%;
	}
		
	header h1{
	font-size: 26px;
	font-weight: normal;
	margin: 28px auto;
	padding-top: 11px;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	line-height: 35px;
	
	background-color: #cf142b;
	width: 60%;
	height: 71px;
	}

	header #menu{
	margin: 55px auto;
	width: 84.75%;
	}

	header #menu nav a{
	color: #fff;
	font-size: 26px;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	
	background-color: #291770;
	width: 84.75%px;
	height: 40px;
	display: block;
	margin-top: 4px;
	padding-top: 11px;
	}

}

@media screen and (max-width: 665px) {
	header h1{
	font-size: 24px;
	line-height: 33px;
	}

	main #vlajky{
	width: 450px;
	margin: 0 auto;
	}

	main #vlajky .vlajka{
	width: 200px;
	height: 237px;
	float: left;
	margin-right: 30px;
	margin-bottom: 19px;
	}

	main #vlajky .vlajka img{
	width: 200px;
	height: auto;
	}


	main #vlajky .vlajka:nth-child(even){
	margin-right: 0px;
	}

	main #vlajky .vlajka h2{
	color: #1f1a17;
	font-size: 26px;
	text-transform: uppercase;
	font-weight: normal;
	text-align: center;
	margin-top: 8px;
	}

	main #vlajky .vlajka h2.mini{
	font-size: 19px;
	}

}

@media screen and (max-width: 600px) {
	header h1{
	font-size: 22px;
	}

}

@media screen and (max-width: 550px) {
	header #logo img{
		width: 81%;
		height: auto;
	}
	
	img.dav{
		width: 80%;
	}

	header h1{
	font-size: 22px;
	width: 80%;
	}

}

@media screen and (max-width: 490px) {
	main #vlajky{
	width: 270px;
	margin: 0 auto;
}

main #vlajky .vlajka{
	width: 260px;
	height: 237px;
	float: left;
	margin-right: 30px;
	margin-bottom: 19px;
}

	main #vlajky .vlajka img{
	width: 260px;
	height: auto;
	}


main #vlajky .vlajka:nth-child(even){
	margin-right: 0px;
}

main #vlajky .vlajka h2{
	color: #1f1a17;
	font-size: 26px;
	text-transform: uppercase;
	font-weight: normal;
	text-align: center;
	margin-top: 8px;
}

main #vlajky .vlajka h2.mini{
	font-size: 19px;
}


footer{
	font-size: 16px;
	overflow: hidden;
	margin-bottom: 5px;
}

footer p.copy{
	float: none;
	text-align: center;
	margin: 0;
}

footer p.www{
	float: none;
	text-align: center;
	margin: 0;
}

}


@media screen and (max-width: 420px) and (min-width: 390px) {
	header h1{
	width: 80%;
	height: 75px;
	font-size: 20px;
	}
}


@media screen and (max-width: 390px) {
	header h1{
	font-size: 18px;
	}

}