/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.5;
}
ol, ul {
	list-style: none;
	margin-bottom: 0.5rem;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*End reset*/


summary {
	margin-bottom: 1rem;
	outline: none;
}

img{
	max-width:100%;
	height:auto;
}

details p{
	margin: 0.5rem 0 1rem 0;
}
p, li, span, a, h1, h2, h3, summary, figcaption, label{
	font-family: Verdana, sans-serif;
	font-size: 1rem;
}
p{
    margin-bottom: 5px;
}

article p, blockquote{
	text-align: justify;
	min-width: 10rem;
	margin: 0.7rem 0;
}

h2,h2>span{
	font-size: 1rem;
}
h1, h2, h3{
	font-size: 1.2rem;
	margin-top: .5rem;
	margin-bottom: 0.3rem;
	font-weight: bold;
	color: #002A8F;
}
h2{
	margin-top: 1.5rem;
}
h3{
    font-weight: normal;
    font-size: 1rem;
}

a{
    color: #002A8F;
}

nav li ul {
    display: none;
    position: absolute;    background-color: antiquewhite;    border: 2px dashed black;    border-top: 2px dashed transparent;
    background-clip: content-box;
    top: 2rem;    
    left: -2px;    
    padding: 0;    
    min-width: 100%;
    text-transform: capitalize;
}

nav>ul {
    display: table;
    width: 100%;
    max-width: 50rem;
    min-width: 29rem;
    text-align: center;
    margin: 0 auto;
    text-transform: uppercase;
    font-weight: bold;
    height: 1.5rem;
}

header, footer, nav ul ul {
    background-image: url(/img/paper.jpg);
    border-bottom: 2px dashed black;
}

nav, nav:after, section, footer, #logo {
    max-width: 85rem;
    margin: 0 auto;
    box-sizing: border-box;
    width: 98%;
}

section {
    margin-top: 1rem;
    background-color: white;
    padding: 1rem 2rem;
    /* border: .15rem dashed black; */
    border-bottom: .15rem dashed black;
    background-image: url(/img/krojka.png);
}

body {
    background-image: url(/img/fabric.jpg);
    min-height: 100%;
    height: 100%;
}

li.here {
    border: 2px dashed black;
    border-bottom: none;
    top: .2rem;
    background-image: url(/img/fabric.jpg);
    background-clip: padding-box;
    color: white;
}

article li {
    margin-top: .5rem;
}

nav a {
    text-decoration: inherit;
    color: black;
    width: 100%;
    height: 100%;
    display: block;
}

div#lang {
    display: inline-block;
    float: right;
    right: 0;
    bottom: 0.3rem;
    position: absolute;
    z-index: 100;
    height: 1rem;
}

div#logo {
    text-align: right;
    color: #002A8F;
    font-weight: bold;
    margin-bottom: -3.5rem;
    position: relative;
    background-image: url(/img/header.png);
    background-position: bottom 1rem right 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
    z-index: 1;
}

article {
    /* border-bottom: .15rem dashed black; */
    margin: 0.5rem 0;
}

footer{
   padding: 1rem 2rem;
   /* border-left: .15rem dashed black; */
   /* border-right: .15rem dashed black; */
   border-bottom: none;
}

.left {
    float: left;
    margin-right: 1.5rem;
}

.right {
    float: right;
    margin-left: 1.5rem;
}

.mediabox > img{
    margin: 0;
}

.mediabox > *{
    display: inline;
}

.mediabox.middle > *{
    vertical-align: middle;
}

.mediabox.bottom > *{
    vertical-align: text-bottom;
}

.mediabox.top > *{
    vertical-align: text-top;
}

.clearfix:after, article:after{
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

.noclearfix:after, .noclearfix:before{
	display:none;
}
h2:before{
	content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   
	display: block;
   height: 0;
   clear: both;
}

section img, iframe {
    /* border: .15rem dashed black; */
    margin-bottom: .5rem;
}

iframe{
    max-width: 100%;
}

nav li:hover ul {
    display: block;    
    width: 9rem;
}

nav li li {
    display: block !important;
    background-clip: content-box;
    border-bottom: 2px dashed black;
    padding: 0.3rem 0.5rem;
}

nav ul li {
    display: table-cell;
    float: none;
    position: relative;
    text-align: center;
    padding-top: .5rem;    
    height: 1.5rem;
    z-index: 10;
    border: 2px dashed transparent;
}

nav li a:hover {
    color: #002A8F;
}

h2 {
    font-weight: normal;
}

nav ul li {
}

nav li.here ul {
    background-image: url(/img/fabric.jpg);
    /* border-top: 2px dashed black; */
    z-index: 0;
}

nav li li:last-child {
    border: none;
}

nav li.here ul li a {
    color: white;
}

article li:before {
    content: "• ";      
    color: darkblue;
}

footer {
    margin-bottom: 1rem;
}

li li.here {
    top: 0;    border: 0;    border-bottom: 2px dashed black;
}

form img {
    border: none;
}

form {
    margin: .5rem 0;
}

.map > iframe {
    width: 100%;
    height: 100%;
    position: absolute;    
    top: 0;    
    /* bottom: 0; */    
    /* right: 0; */    
    /* left: 0; */
    overflow: hidden;
    border: 0px;
}

.map {                
    width: 60%;    /* whatever width you want */
    display: inline-block;
    position: relative;
    margin-bottom: 1.5rem;
    min-width: 15rem;
}

.map:after {
    padding-top: 56.25%;    /* 16:9 ratio */
    display: block;
    content: '';
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 0;
  padding: 0.5rem;
  quotes: "\201C""\201D";
  display: table;
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p:first-child {
  display: inline;
}

#logo img {
    width: 100%;
    position: relative;
    top: -1rem;
}

nav:after {
    position: absolute;      
    content: " ";    
    background-image:url(/img/nojica.png);      
    background-repeat: no-repeat;
    background-size: 2.4%;
    background-position: 1.6% 0;
    height: 1rem;
    margin-top: 0.1rem;
    z-index: 1;
}

span#header-description {
    margin-right: 3.4rem;
    /* margin-top: 6rem; */
    font-size: 1.25rem;
    top: 0.5rem;
    position: relative;
}

nav {
    position: relative;
}

#logo:after {
    padding-top: 19.1%;
    display: block;
    content: ' ';
}

.newline {
    clear: both;
}

.half {
    width: 48.5%;
    float: left;
}

section .half:nth-child(odd) {
    margin-right: 1.5rem;
}

img.half {
    height: auto;
    width: 46%;
}

.equal-elements {
    width: 100%;
    margin: 1rem 0;
}

.equal-elements img {
    max-width: 100%;
    height: auto;
}

.equal-elements figure {
    width: 25%;
    float: left;
}

figure {
    margin: 0.5rem 0;
    text-align: center;
    background-color: white;
}

figure.startpage, figure.responsive {
    max-width: 40%;
}

figure.responsive.right{
    margin-left:2rem;
}

figure.responsive.left{
    margin-right:2rem;
}

div#show-menu span {
    width: 1.5rem;
    height: 0.19rem;
    background-color: white;
    display: block;
    box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
}

div#show-menu {
    display: inline;
    float: right;
    z-index: 1000;
    height: 1.3rem;
}

div#mobile-menu>span {
    font-weight: bold;
    margin: 0.2rem 0.6rem;
    color: white;
}

div#mobile-menu {
    display: none;
    padding: .5rem;
    /* border-top: 2px dashed black; */
    /* box-sizing: border-box; */
    background-image: url(/img/nojica.png), url(/img/fabric.jpg);
    background-repeat: no-repeat, repeat;
    background-size: 2.88%, auto;
    background-position: 1.6% 0;
}

.hidden-text{
	color:transparent !important;
}

@media (max-width: 1020px){
	header nav > ul > li{
		padding: 0.2rem 0 0 0;
		height: 0rem;
	}
	nav li ul{
		top: 1.25rem;
	
}
	div#logo{
		margin-bottom: -2.85rem;
	
		background-position: bottom 1.3rem right 0;
}

	article.half {
		width: 100%;
		float: none;
	}

	section article.half:nth-child(even) {
		margin-right: 0;
	}
}

@media (max-width: 900px){
	nav, nav:after, section, footer, #logo {
	  width: 100%;
	}
	div#lang{
		bottom: 1.6rem;
		right: 0.4rem;
	}

	div.map{
		float:none;
		width: 97%;
	}
}

@media (max-width: 825px){
	nav:after{
		background-image:none;
	}
	div#logo{
		background-position: bottom 1.9rem right 0;
		background-size:104%
	}
}

@media (max-width: 690px){
	.equal-elements figure {
	  width: 50%;
	}
	blockquote{
		display:block;
	}
	div#logo span{
		font-size:1rem
	}
	figure.startpage, figure.responsive {
		float:none;
		max-width: 100%;
	}
}

@media (max-width: 550px){
	nav ul{
		text-transform:none;
	}
	#logo:after {
		padding-top: 22%;
	}
	div#logo span{
		top:0;
	}
}

@media (max-width: 470px){	
	section{
		margin-top:0;
		border-top:0;
		padding:1rem
	}
	div#logo {
	  background-position: bottom 0 right 0;
	  background-size: 100%;
	}
	#logo:after {
		padding-top: 11%;
	}
	div#mobile-menu, body header nav ul{
	
		position: relative;
		top: 0rem;
		display: block;
		z-index: 2;
	}

	

	header nav ul, header nav ul li{
		display: block;
		left: 0;
		background: none !important;
		border: none !important;
		height: initial;
		padding: .5rem 0 !important;
		margin:0;
	}
	
	body header nav>ul{
		min-width: 0;
		display:none;
		
	}
	li.here span{
		background-image: url(/img/fabric.jpg);
		outline: 2px dashed black;
		display: block;
		padding: .5rem 0;
		width: 100%;
		color: white;
	}

	section, footer{
		border-left:none;
		border-right:none;
	}

	header nav ul li ul{
		background:none !important;
	
		padding: 0 !important;
		top: -.5rem;
	
		margin-bottom: -1rem;
}

	nav li.here ul li a{
		color:black;
	}
	div#logo{
		margin:0;
	}

	#lang{
		top: -1.7rem;}

	article.half .left{
		float:none;
	}
	span#header-description {
		margin-right:0.3rem;
	}
	#logo:after {
		padding-top: 15%;
	}
	section p, section blockquote{
		text-align: start;
	}
	nav li span{
		display:none;
	}
	nav{
		border-top:2px dashed;
	}
	header{
		border:none;
	}
}

footer p, footer a {
	color:grey;
}

footer p, footer a {
    color: gray;
}

div#logo.en {
    background-image: url(/img/header_en.png);
}

body {
    min-width: 300px;
}

.cycle-slideshow.left {
    z-index: 0;
}

section article:last-of-type {
    border: none;
}

a.fancybox {
    text-decoration: none;
}

article.center {
    /* text-align: center; */
}

.center-align{
    text-align: center;
}

a.center-align{
    display: block;
}

.center-align > *
{
    display: inline;
}

.centerdiv {
    /* display: inline; */
    /* margin: 0 auto; */
    /* text-align: left; */
}

.gallery img {
    max-width: 48.9%;
}