html{padding:0; margin:0;font-size: 62.5%;}
body{background:#eee;line-height: 2; margin:0;padding:0;font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;    font-size: 14px;}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }

h1, .h1 {
    font-size: 36px;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}

hr {
    height: 0;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}
h2, .h2 {
    font-size: 30px;
}
h3, .h3 {
    font-size: 24px;
}

h4, .h4 {
    font-size: 18px;
}
h4, h5, h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 500;
    line-height: 1.1;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 10px;
}

a {
    color: #2a6496;
    }
a:hover, a:focus {
    color: #428bca;


    text-decoration: underline;
}

a:active, a:hover {
    outline: 0;
}

#page{
	padding: 1px 38px 38px;
	background:white;
	width:700px;
	margin: 0px auto 10px;
	font-size: 120%;
	border-radius: 15px;
	box-shadow: 3px 3px 15px rgba(0,0,0,0.3);
	line-height: 1.5;
}
p{margin:1em 0;}
h1{padding-top:50px;}
img{box-shadow: 1px 1px 6px rgba(0,0,0,.3);}
img.fancybox-image {box-shadow: none;}
blockquote{margin-top: 10px; margin-bottom: 10px;
  margin-left: 50px;
  padding-left: 15px;
  border-left: 3px solid #ccc;}
#kontakty, #kdy-a-kde {font-size:110%; padding-top:40px; margin-top:10px;}
.separator{display:block; height:1em;}
.menuitem{background:white;height:5px;}

ul#seznam, #seznam > li{padding-left:0; margin:0; list-style: none;text-align:center;}
		#seznam > li h3{text-align:center; padding-top:30px; margin-top:10px;margin-bottom:1em;}
		#seznam > li h3 a{color:#cc6600; text-decoration:underline;}
		#seznam > li h3 a:hover{color:#f56900;}
		#seznam > li{margin-top:1px;padding-top:1px;}
		#seznam > li h2{text-align:center; padding-top:10px; margin-top:60px;margin-bottom:1em;}
		#seznam > li h2 a{color:#cc6600; text-decoration:underline;}
		#seznam > li h2 a:hover{color:#f56900;}
		#seznam > li{border-bottom: 1px solid #eee;}

ul ul > li{text-align: left;}
ul ul {margin-top:1em;}

#kontakty p,  #kdy-a-kde p{margin-top:0; margin-bottom:.7em;}
#footer{margin:0 auto; padding-bottom:10px;text-align: center; color:#3b3b3b;}
#footer p{text-align: center;}
#nav{
	overflow:hidden;
	position: fixed;
	top:0;
	left:0;
	background:#0f0f0f;
	width:100%;
	box-shadow: 0 0 5px rgba(0,0,0,.5);
}

#nav ul{
	text-align:center;
	margin:0;
	padding:0;
}
#nav ul li{
	display:inline-block;
	list-style: none;
	margin:0;padding:0;
	position:relative;
}


#nav ul li a{
background: #0f0f0f;
padding:7px 20px;display:inline-block; font-size:110%;color:#fff;
border:1px solid #0f0f0f;
border-top:none;
border-bottom:none;

}

#nav ul li a.active{
background:#eef1c5;
background: #0f0f0f;
background: -moz-linear-gradient(left, #0f0f0f 0%, #0f0f0f 1%, #d1b390 5%, #493333 6%, #493333 94%, #d1b390 95%, #0f0f0f 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#0f0f0f), color-stop(1%,#0f0f0f), color-stop(5%,#d1b390), color-stop(6%,#493333), color-stop(94%,#493333), color-stop(95%,#d1b390), color-stop(100%,#0f0f0f));
background: -webkit-linear-gradient(left, #0f0f0f 0%,#0f0f0f 1%,#d1b390 5%,#493333 6%,#493333 94%,#d1b390 95%,#0f0f0f 100%);
background: -o-linear-gradient(left, #0f0f0f 0%,#0f0f0f 1%,#d1b390 5%,#493333 6%,#493333 94%,#d1b390 95%,#0f0f0f 100%);
background: -ms-linear-gradient(left, #0f0f0f 0%,#0f0f0f 1%,#d1b390 5%,#493333 6%,#493333 94%,#d1b390 95%,#0f0f0f 100%);
background: linear-gradient(to right, #0f0f0f 0%,#0f0f0f 1%,#d1b390 5%,#493333 6%,#493333 94%,#d1b390 95%,#0f0f0f 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0f0f0f', endColorstr='#0f0f0f',GradientType=1 );
background:#493333;
border:1px solid #d1b390;
box-shadow:0px 0px 4px #fff;
border-top:none;
border-bottom:none;
}
.c{text-align:center;}
.cl{clear: both;}
.medailon{
	width:30%;
	margin:0 1% 0 1%;
	float:left;
	text-align:center
}
.medailon a img{border-radius:10%;transition: border-width .4s ease;border:5px solid rgba(255,255,255,.3);}
.medailon a span{display:inline-block;margin-top:10px;line-height: 1.2;}
.medailon p{margin:.4em 0;}
.medailon a img:hover{transition: border-width .4s ease;border: 0px solid rgba(255,255,255,.3);}
.fs80{font-size:80%;}
#kontakty img{float:left; margin-right:60px}
#fix{position:fixed; bottom:50%; left: 0; width:auto; height:auto; background:rgba(255,255,255,.5); padding:10px;}
#ear{position:absolute; top:0; right:0;height:10px; width:10px; background:black;}
#ear2{position:fixed; bottom:50%; left:0;height:10px; width:10px; background:red;}
.galerie{margin-top:10px;}
.galerie a{display:inline-block;margin-bottom:7px;}
.galerie a img{transition: border-width .4s ease;display:inline-block;}

.galerie a:hover img{
	transition: border-width .4s ease;
	border: 0px solid white;
	display:inline-block;
	/*width:100%;*/
}

 /* Default Width: */

  /* Smaller than standard 960 (devices and browsers) */
@media only screen and (min-width: 776px) {
	#page{width:776px}
	#nav ul li a{padding: 7px 13px; font-size:120%;}
	.medailon{width:31%;}
}

  /* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 775px) {
	#page{width:100%}
	#nav ul li a{padding: 7px 10px; font-size:120%;}
	.medailon{width:31%;}
}

  /* All Mobile Sizes (devices and browser) */
/*@media only screen and (max-width: 767px) {
	#page{width:100%}
	#nav ul li a{padding: 7px 10px; font-size:110%;}
 	.medailon{width:31%;}
}*/

@media only screen and (min-width: 640px) and (max-width: 767px) {
	#page{width:100%}
	#nav ul li a{padding: 7px 9px; font-size:110%;}
	#pavelsmid{margin-bottom:10px;width:200px;}
	.medailon{width:31%;}
}


@media only screen and (min-width: 598px) and (max-width: 639px) {
	#page{width:100%}
	#nav ul li a{padding: 7px 7px; font-size:105%;}
	#pavelsmid{margin-bottom:10px;width:200px;}
	.medailon{width:31%;}
}



  /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 597px) {
	#page{padding:1px 15px;width:100%}
	#nav ul li a{padding: 7px 3px; font-size:95%;}
	#pavelsmid{margin-bottom:10px;width:200px;}
	.medailon{width:31%;}
}


  /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  @media only screen and (min-width: 384px) and (max-width: 479px) {
		#page{padding:1px 10px;width:100%}
		#nav ul li a{padding: 7px 2px; font-size:70%;}
		#pavelsmid{width:150px;margin-bottom:10px;}
				.medailon{
	width:31%;
}
  }

  /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  @media only screen and (min-width: 360px) and (max-width: 383px) {
		#page{width:100%;padding:1px 10px;}
		#nav ul li a{padding: 7px 1px; font-size:70%;}
		#pavelsmid{width:150px;margin-bottom:10px;}
		.medailon{	width:31%;}
  }

  /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  @media only screen and (max-width: 359px) {
	#page{
		width:100%;
		padding:1px 10px;
		}
		#nav ul li a{padding: 7px 2px; font-size:55%;}
		#pavelsmid{width:150px;margin-bottom:10px;}
		.medailon{
			width:31%;
			font-size:70%;
		}
  }
  @media only screen and (max-width: 320px){
  	#page{width:320px;}
  }

img.js {
  opacity: 0;
  transition: opacity .3s ease-in;
}

p{text-align:left;}


.videoWrapper + .videoWrapper{margin-top:20px;}
			#nav{z-index:300;}
			.videoWrapper {
				position: relative;
				padding-bottom: 56.25%; /* 16:9 */
				height: 0;
			}
			.videoWrapper iframe {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
			}
			.videoHalf{
				margin-top:20px;
				display: flex;
				justify-content: space-between;
				flex-wrap: wrap;
			}
			/*.videoHalf .videoWrapper{
				padding-bottom:28.125%;
			}*/
			.videoHalf .videoWrapper + .videoWrapper{margin-top:0;}
			.half{
				width: 49%;
				}
			@media only screen and (max-width: 560px) {
			 .half{
				width: 100%;
				}
				.videoHalf .videoWrapper {
				padding-bottom: 56.25%; /* 16:9 */
				}
				.videoHalf .videoWrapper + .videoWrapper{margin-top:20px;}
			}
			a {text-decoration: underline;}
			h1,h2{color:#428bca;line-height: 1.4;}
			.icon{color:white; fill:white;height:1em;width:28px;height:28px;}

.img-responsive {
    display: block;
    height: auto;
    max-width: 100%;
}

img {
    vertical-align: middle;
}

			ul + h4{margin-top:25px;}

			.youtubePlaceholder {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
}
.youtubePlaceholder img {
  position: absolute;
  width: 100%;
  height: auto;
}
.videoHalf .videoWrapper {
    padding-bottom: 56.25%;
}
.videoWrapper{
	/*padding-bottom: 52.75%;*/
	margin-top:20px;
}
.half .youtubePlaceholder{margin-top:0}

	.youtubePlaceholder{
		background:black;
		position:relative;
		cursor:pointer;
		margin-top:20px;
		}
		.youtubePlaceholder img{
			display:block;
			border-radius:0;
			box-shadow:none;
		}

	.youtubePlaceholder::before{
		z-index:10;
		transition: all ease .3s;
		content:'';
		display:block;
		width:68px;
		height:48px;
		position:absolute;
		top:calc(50% - 24px);
		left:calc(50% - 34px);
		background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 203 142' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg clip-path='url(%23_clip1)'%3E%3Cpath id='screen' d='M101.074,0c0,0 -63.219,0 -79.086,4.123c-8.496,2.374 -15.491,9.37 -17.865,17.99c-4.123,15.867 -4.123,48.727 -4.123,48.727c0,0 0,32.984 4.123,48.601c2.374,8.621 9.245,15.492 17.865,17.866c15.992,4.248 79.086,4.248 79.086,4.248c0,0 63.344,0 79.211,-4.123c8.621,-2.374 15.491,-9.12 17.74,-17.866c4.248,-15.742 4.248,-48.601 4.248,-48.601c0,0 0.125,-32.985 -4.248,-48.852c-2.249,-8.62 -9.119,-15.491 -17.74,-17.74c-15.867,-4.373 -79.211,-4.373 -79.211,-4.373Zm-20.115,40.48l52.6,30.36l-52.6,30.234l0,-60.594Z' style='fill:%2311111199;fill-rule:nonzero;'/%3E%3Cpath id='sipka' d='M80.959,40.48l52.6,30.36l-52.6,30.234l0,-60.594Z' style='fill:%23ebebeb;'/%3E%3C/g%3E%3C/svg%3E");
	}

	.youtubePlaceholder:hover:before{
		background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 203 142' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg clip-path='url(%23_clip1)'%3E%3Cpath id='screen' d='M101.074,0c0,0 -63.219,0 -79.086,4.123c-8.496,2.374 -15.491,9.37 -17.865,17.99c-4.123,15.867 -4.123,48.727 -4.123,48.727c0,0 0,32.984 4.123,48.601c2.374,8.621 9.245,15.492 17.865,17.866c15.992,4.248 79.086,4.248 79.086,4.248c0,0 63.344,0 79.211,-4.123c8.621,-2.374 15.491,-9.12 17.74,-17.866c4.248,-15.742 4.248,-48.601 4.248,-48.601c0,0 0.125,-32.985 -4.248,-48.852c-2.249,-8.62 -9.119,-15.491 -17.74,-17.74c-15.867,-4.373 -79.211,-4.373 -79.211,-4.373Zm-20.115,40.48l52.6,30.36l-52.6,30.234l0,-60.594Z' style='fill:%23f00;fill-rule:nonzero;'/%3E%3Cpath id='sipka' d='M80.959,40.48l52.6,30.36l-52.6,30.234l0,-60.594Z' style='fill:%23ebebeb;'/%3E%3C/g%3E%3C/svg%3E");
	}

.galerie a{
	border:3px solid white;
	border-radius: 5px;
	display:inline-block;
	transition: all .2s ease-in-out;
	box-shadow: 1px 1px 6px rgba(0,0,0,.3);
}

.galerie a:hover{
	transform: scale(1.05);
	transition: all .2s ease-in-out;
}

.galerie a img{
	box-shadow:none;
	border:none;
	display:inline-block;
	width:100%;
	max-width:100%;
	height:67px;
	position:relative;
	z-index:5
}

.galerie a:hover img{
	border:none;
	display:inline-block;
	width:100%;
	max-width:100%;
	z-index:7;
}
.videoHalf{margin-top:0;}
.videoHalf .half{margin-top:15px}
.videoHalf .half .videoWrapper{margin-top:0}

@media only screen and (max-width: 560px) {
	.swipebox + .swipebox{
		margin-left: 10px;
	}
	.swipebox{margin-bottom: 10px;}
}
h1{font-size:28px;}
h1 + p + p{font-size:120% !important}

	.glightbox-mobile .glightbox-container .gslide-description{
	padding-bottom:0;
}
.glightbox-clean .gdesc-inner, .glightbox-modern .gdesc-inner{
	padding:0;
	text-align:center;
}
.glightbox-clean .gslide-title, .glightbox-modern .gslide-title{
	margin-bottom:0;
}
.galerie a img,
img{border-radius:0;}
.galerie a{
	border:none;
	border-radius:0;
}