body {
	margin: 0px;
	font-family: arial;
	font-size: 14px;
	line-height: normal;
	background-color: #f3edea;
	color: #000000;
 }

footer {
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 300px;
	position: relative;
	bottom: 0px;
	font-weight: 400;
}

a {
	cursor: pointer;
}

br.clear {
	clear: both;
}

	footer #footer-details-wrapp {
		height: auto;
		background-color: #1c2421;
		color: #FFFFFF;
		padding: 20px 40px;
		font-size: 1.3em;
	}

	footer .f_title {
		font-weight: 800;
		font-size: 2em;
	}

	footer #footer-details-wrapp .col-1-3 {
		display: inline-block;
		float: none;
		width: 30.66666%;
		margin-left: 2%;
		word-break: keep-all;
		vertical-align: top;
		min-width: 210px;
	}
	footer #footer-details-wrapp strong {
		font-weight: 800;
	}

	footer #footer-details-wrapp p.social a {
		color: #fff;
		font-weight: 800;
	}

	footer #footer-newsletter {
		background-color: #000;
		color: #FFF;
		padding: 20px 40px;
		font-size: 1.3em;
	}

	footer #footer-newsletter input[name='email'], footer #footer-newsletter input[type='button'] {
		width: 385px;
		color: #000;
		padding: 10px 20px;
		font-size: 1.3em;
	}

	footer #footer-newsletter .col-1-3, #footer-newsletter .col-2-3 {
		display: inline-block;
		float: none;
		width: 30.66666%;
		margin-left: 2%;
		word-break: keep-all;
		vertical-align: top;
		min-width: 210px;
	}

	footer #footer-newsletter .col-2-3 {
		width: 63.8%;
		min-width: 420px;
	}

	/* Customize the label (the container) */
	footer #footer-newsletter .container {
	  display: block;
	  position: relative;
	  padding-left: 35px;
	  margin-bottom: 12px;
	  margin-top: 10px;
	  cursor: pointer;
	  font-size: 22px;
	  -webkit-user-select: none;
	  -moz-user-select: none;
	  -ms-user-select: none;
	  user-select: none;
	}

	/* Hide the browser's default checkbox */
	footer #footer-newsletter .container input {
	  position: absolute;
	  opacity: 0;
	  cursor: pointer;
	}

	/* Create a custom checkbox */
	footer #footer-newsletter .checkmark {
	  position: absolute;
	  top: 0;
	  left: 0;
	  height: 25px;
	  width: 25px;
	  background-color: #fff;
	}

	/* On mouse-over, add a grey background color */
	footer #footer-newsletter .container:hover input ~ .checkmark {
	  background-color: #ccc;
	}

	/* When the checkbox is checked, add a blue background */
	footer #footer-newsletter .container input:checked ~ .checkmark {
	  background-color: #fff;
	}

	/* Create the checkmark/indicator (hidden when not checked) */
	footer #footer-newsletter .checkmark:after {
	  content: "";
	  position: absolute;
	  display: none;
	}

	/* Show the checkmark when checked */
	footer #footer-newsletter .container input:checked ~ .checkmark:after {
	  display: block;
	}

	/* Style the checkmark/indicator */
	footer #footer-newsletter .container .checkmark:after {
	  left: 9px;
	  top: 5px;
	  width: 5px;
	  height: 10px;
	  border: solid black;
	  border-width: 0 3px 3px 0;
	  -webkit-transform: rotate(45deg);
	  -ms-transform: rotate(45deg);
	  transform: rotate(45deg);
	}

	footer #footer-newsletter input[type='button'] {
		background-color: #fff;
		cursor: pointer;
		border: none;
	}

	footer #footer-newsletter input[type='button']:hover {
		background-color: rgb(253,236,0);
		transition: 0.3s;
	}

	footer #footer-note {
		background-color: #323a38;
		color: #767c7a;
		padding: 20px 60px;
		font-size: 12px;
	}

	footer #footer-note  p {
		margin: 0px;
	}

	footer #footer-note  span.cookieinfo {
		margin: 0px;
		float: right;
	}

	footer  a:link {
		color: #bab9ab;
		text-decoration: none;
	}

	footer  a:visited {
		color: #bab9ab;
	}

	footer  a:hover {
		color: #bab9ab;
	}

	footer  a:active {
		color: #bab9ab;
	}

	footer a.animated-u-line:hover {
		color: #bab9ab;
	}

	footer a.animated-u-line:before {
	  background-color: #bab9ab;
	}

.template {
	display: none;
}

.b_crumb {
	position: absolute;
	top: 0;
	left: 50px;
	width: 304px;
	height: auto;
	color: #bab9ab;
	text-align: left;
}

.b_crumb a {
	text-decoration: none;
	color: #bab9ab;
}

.b_crumb:before {
	content: '';
	display: inline-block;
	width: 304px;
	height: 5px;
	background-color: #000000;
}

/* DESKTOPS */
header {
	position: fixed;
	width: 100%;
	height: 60px;
	background-color: #f3edea;
	z-index: 2;
}
	header a.logo, .overlay a.logo {
		position: absolute;
		top: 36px;
		left: 50px;
		z-index: 99;
		font-size: 34px;
	}
	header #menu {
		display: inline-block;
		float: right;
		margin: 48px 50px 0 0;
		width: 45px;
		height: 25px;
	}
	header #menu span {
		display: block;
		width: 45px;
		height: 5px;
		background-color: #000000;
		margin-top: 5px;
	}
	header #menu span:first-child {
		margin-top: 0;
	}
	header #menu:hover {
		cursor: pointer;
	}

	header #search {
		position: relative;
		display: inline-block;
		float: right;
		margin-top: 18px;
		margin-right: 4px;
		width: 250px;
		height: 30px;
	}

	header #search input {
		position: absolute;
		background-color: #bab9ab;
		color: #FFF;
		padding: 4px;
		border: none;
		width: 200px;
		font-size: 1.2em;
		top: 30px;
	}

	header #search input[type="button"]{
		right: 5px;
		width: 30px;
		cursor: pointer;
		top: 30px;
		background-image: url('../img/HLADAJ_LUPA_25x25px.png');
		background-repeat: no-repeat;
		background-position: center;
	}

	header #search a {
		position: absolute;
		text-decoration: none;
	}

	header #search a img {
		width: 20px;
		height: 20px;
	}

	header #search a.fb {
		left: 30px;
	}

	header #search a.ig {
		left: 90px;
	}

	header #search a.yt {
		left: 150px;
	}

	header #search a.sk {
		left: 255px;
	}
	
	header #search a.en {
		left: 280px;
	}
	
.light_grey {
	color: #bab9ab;;
}

.dark_grey {
	color: #323a38;
}

/* Menu Dialog */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    background-color: rgba(253,236,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay .closebtndouble {
	position: absolute;
	right: 47px;
	margin-top: 36px;
}

.closebtndouble {
    display: block;
	cursor: pointer;
	z-index:100;
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
}

.closebtndouble_top:hover {
	opacity:0;
}

.closebtn {
    display: block;
	cursor: pointer;

	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
}

.closebtn:hover {
	opacity:0.1;
}
.overlay-content {
	position: absolute;
	top: 120px;
	right: 100px;
	width: 100%;
	text-align: right;
	font-size: 2em;
}

.voverlay-content {
	position: absolute;
	top: 120px;
	right: 25px;
	font-size: 1.2em;
}

a.hidden {
	visibility: hidden;
}

a.disabled {
	position: relative;
	color: #000;
	text-decoration: line-through !important;
}

a.animated-u-line {
	display: inline-block;
	position: relative;
	color: #000;
	text-decoration: none;
}

a.animated-u-line:hover {
	color: #000;
}

a.animated-u-line:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

a.animated-u-line:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.vertical-text {
	transform: rotate(-90deg);
	transform-origin: left top 0;
	float: left;
}

br.clear { clear: both; }


@media only screen and (min-width: 720px) {
	#main {
		margin-left: 50px;
		margin-bottom: 50px;
		margin-right: 50px;
	}
}

#news-block {
	margin-top: 60px;
	display: inline-block;
	width: 100%;
	padding-left: 25px;

}

#news-img-cont {
	display: inline-block;
	position: relative;
	margin-right: 25px;
	overflow: hidden;
	width: calc(100% - 325px);
	min-width: 340px;
	float: left;
}
#news-img-cont div.news-img {
	moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	width:100%;
	height:100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding-top: 52.63%;
	cursor: pointer;
}
#news-img-cont div.news-img:hover {
	-moz-transform: scale(1.05);
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

#news-board-cont{
	display: inline-block;
	width: 250px;
	height: 305px;
	float: left;
	margin-top: 30px;
}

#news-board-cont  input{
	background-color: #bab9ab;
	color: #FFF;
	border:none;
	font-size: 1.2em;
	font-weight: 800;
	padding:6px;
}

#news-board-cont  input[type="text"] {
	padding:6px;
	width: 200px;
	margin-bottom: 14px;
	margin-top: -10px;
}

#news-board {
	display: inline-block;
	width: 250px;
	height: 350px;
	border-bottom: 5px solid black;
	font-size: 1.4em;
}

#news-board  label{
	display: block;
	overflow: hidden;
}

#nb_loc {
	height: 43px;
}

#news-board  a.name {
	height: 78px;
	overflow: hidden;
	font-weight: bold;
	margin-top: 3px;
	display: block;
	overflow: hidden;
	font-size: 1.15em;
	margin-bottom: 18px;
}

#news-board  label.short-text {
	max-height: 30px;
	overflow: hidden;
}

#news-board label.text{
	position: relative;
	margin-top: 10px;
	height: 100px;
	max-height: 100px;
	font-size: 0.75em;
	overflow: hidden;
}

#news-board label.text div{
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #f3edea;
	padding: 4px 0;
	width: 100%;
}

#news-board  table {
	width: 100%;
	margin-top: 20px;
}

#news-board  table tr.selection td.dash{
	border-bottom: 1px solid black;
	cursor: pointer;
}

#news-board  table tr.selection td.dash:hover{
	border-bottom: 5px solid black;
	transition: 0.3s;
}

#news-board  table tr.selection td.selected{
	border-bottom: 5px solid black !important;
}

#podujatia {
	margin-top: 100px;
}

#event_list {
	width: calc(100% - 75px);
	margin-top: 55px;
	margin-left: 25px;
	border-collapse:separate;
	border-spacing: 0px 15px;
	font-size: 1.2em;
}

#podujatia  table tr.listitem td, #event_detail table tr.listitem td {
	padding: 10px;
}

#podujatia #event_list tr.listitem:hover{
	background-color: rgb(253,236,0);
	transition: 0.3s;
	cursor: pointer;
}

#podujatia  table td.date, #event_detail  table td.date{
	width: 375px;
	padding-left: 25px;
	border: 1px solid black;
	border-right: 0px;
	font-weight: 800;
	width: 30%;
}

#podujatia table td.name, #event_detail table td.name{
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	width: 30%;
}

#podujatia  table td.loc, #event_detail table td.loc{
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	width: auto;
}

#podujatia table td.org, #event_detail table td.org{
	border: 1px solid black;
	border-left: 0px;
	width: 15%;
}

#podujatia table td.org div, #event_detail table td.org div{
	padding: 10px;
	border-left: 1px solid black;
}

#event_detail .listitem td.prev, #event_detail .listitem td.next {
	width: 50%;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s;
}

#event_detail .listitem td.prev:hover, #event_detail .listitem td.next:hover {
	background-color: rgb(253,236,0);
}

#event_detail .listitem td.prev span, #event_detail .listitem td.next span {
	display: block;
	text-align: center;
}

#event_detail .listitem td.prev span, #event_detail .listitem td.next span {
	display: block;
	text-align: center;
	cursor: pointer;
}

#podujatia table tr.detail div.detail-info::after {
	content: "";
	display: block;
	clear: both;
}

#podujatia  table tr.listitem td.data{
	padding: 0;
}

#podujatia a.text, .detail-info .evnt_links a.text {
	display: inline-block;
	vertical-align: top;
	margin: 0px 40px;
	font-size: 1.2em;
	font-weight: bold;
}

#podujatia  table td.img{
	padding-left: 25px;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
}

#podujatia  table td.img img{
	position: relative;
	left: 0px;
}

#event_detail table.detail-foot, #event_detail table.detail-foot-nav {
	width: 100%;
	margin-top: 0px;
	font-size: 1em;
	border-spacing: 0px 5px;
}

#event_detail table.detail-foot tr.listitem td{
	padding: 10px;
	pointer-events: none;
	background-color: #bab9ab;
}

#event_detail table.detail-foot-nav tr.listitem td{
	padding: 30px;
	background-color: #bab9ab;
}

#event_detail tr.detail div.detail-info div.detail-img {
	width: calc(100% - 25px);
	height: 300px;
	margin-top: 25px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}


#event_detail tr.detail div.detail-info img.pod_main {
	width: 100%;
	margin-top: 25px;
	margin-bottom: 80px;
}

#event_detail {
	display: block;
	position: fixed; /* Stay in place */
	z-index: 10; /* Sit on top */
	top: 0;
	left: 0;
	width: 100%;
	height: 0; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgba(150,150,150,0.95); /* Black w/ opacity */
	font-size: 1.2em;
	border-spacing: 0;
	moz-transition: 0.7s;
	-webkit-transition: 0.7s;
	transition: 0.7s;
}

#event_detail > table {
	display: block;
	margin: 0 25px;
	padding: 10px 25px;
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(255,255,255); /* Black w/ opacity */
	border-spacing: 0;
}


#event_detail  div.detail-info img.closebtndouble, #event_detail  div.detail-info img.closebtndouble_top {
	position: fixed;
	display: none;
	top: 118px;
	right: 50px;
}

#event_detail  div.detail-info label.text{
	display: block;
	width: calc(100% - 105px);
	vertical-align: top;
	padding: 0px 40px;
	padding-top: 25px;
}

#event_detail  div.detail-info label.text a{
	font-weight: bold;
}

#event_detail  div.foot{
	vertical-align: top;
	padding-top: 80px;
}

#event_detail  div.foot div.buy{
	width: 30%;
	float: left;
	vertical-align: top;
	position: relative;
}

#event_detail  div.foot div.buy label{
	display: block;
	text-align: left;
	background-color: #f3edea;
	font-size: 1.6em;
	font-weight: bold;
	padding: 10px 25px;
	height: 80px;
}

#event_detail  div.foot div.buy .fb-share-button {
	position: absolute;
	top: 25px;
	right: 25px;
}

#event_detail .subtitle {
	display: block;
	border-bottom: 1px solid black;
	font-size: 1.8em;
	margin-top: 25px;
	padding-bottom: 25px;
	font-weight: bold;
	color: #bab9ab;
}

.archiv-img div.img {
	margin: 15px;
	float: left;
	position: relative;
	left: 0px;
	height: 250px;
	width: 250px;
	cursor: pointer;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.archiv-img div.img label {
	text-align: center;
	position: absolute;
	width: 250px;
	top: 250px;
	text-align: center;
}

.videos div.video_cont {
	position: relative;
	display: inline-block;
}

.videos div.video_cont label {
	position: absolute;
	width: 300px;
	top: 160px;
	left: 10px;
	text-align: center;
}

.videos iframe {
	margin: 10px;
	float: left;
	width: 300px;
}

.videos::after, .archiv-img::after {
  content: "";
  display: block;
  clear: both;
}

h1{
	display: inline-block;
	width: calc(40% - 25px);
	color: #bab9ab;
	font-weight: 800;
	font-size: 50px;
}

label.header{
	display: inline-block;
	width: calc(40% - 25px);
	color: #bab9ab;
	font-weight: 800;
	font-size: 50px;
}

label.header2 {
	display: inline-block;
	color: #bab9ab;
	font-weight: bold;
	font-size: 1.8em;
}

div.line {
	display: inline-block;
	width: calc(50% - 25px);
	border-top-style: solid;
	border-width: 7px;
	border-color: black;
	position: absolute;
	right: 100px;
	margin-top: 25px;
}

div.pfoot {
	margin-top: 110px;
}

div.pfoot div.line {
	width: calc(30% - 50px);
	left: 75px;
}

div.pfoot label.header {
	width: calc(60% - 25px);
	position: absolute;
	right: 50px;
}

div.pfoot img {
	margin-left: 50px;
}

div.pfoot::after {
  content: "";
  display: block;
  clear: both;
}


#projekty {
	margin-top: 170px;
	margin-bottom: 40px;
	background-repeat: repeat-x;
	background-position: left;
	background-size: auto 100%;
}
#projekty  img{
	position: absolute;
	left: 50%;
	z-index: 1;
}

#projekty  table{
	width: calc(100% - 75px);
	margin-top: 50px;
	margin-left: 25px;
	border-collapse:separate;
	border-spacing: 0px 5px;
}

#projekty  table td.menuitem{
	padding: 10px 5px;
	width: 200px;
}

#projekty  table td.menuitem a{
	border: 1px solid black;
	padding: 4px;
	font-weight: 600;
	text-decoration: none;
	color: #000;
	font-size: 1.1em;
	white-space:nowrap;
}

div.mnuimg {
	display: none;
	width: 200px;
	height: 200px;
	position: absolute;
	left: 30%;
	margin-top: -90px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#projekty  table td.content{
	padding-left: 25px;
	border: 1px solid black;
	vertical-align: top;
}

#projekty  table td.content div{
	display: none;
	text-align: left;
	width: 60%;
	background-color:light-green;
	margin-top: 40px;
	margin-right: 25px;
	font-size: 1.2em;
	overflow: hidden;
	height: 280px;
}

#site_img {
	position: relative;
	width: calc(100% - 75px);
	padding-top: 52.63%;
	display: inline-block;
	margin-left: 25px;
	margin-top: 60px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#site_img label.title {
	font-size: 15em;
	font-weight: 800;
	color: #bab9ab;
	position: absolute;
	top: 0px;
	left: -50px;
}

#site_img.link {
	cursor: pointer;
}

#site_img_subtitle {
	position: relative;
	width: calc(100% - 75px);
	height: calc(100vw * 0.55);
	display: inline-block;
	margin-left: 25px;
	margin-top: 25px;
	margin-bottom: 25px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#site_label {
	position: absolute;
	bottom: -40px;
	display: inline-block;
	width: calc(100% - 300px);
	border: 1px solid black;
	background-color: #f3edea;
	height: 75px;
	padding-left: 25px;
	line-height: 75px;
	font-size: 2em;
	font-weight: 600;
}

a.fb_detail_link {
	float: right;
	display: block;
	height: 80px;
	width: calc(70%);
	padding: 10px 10px;
	vertical-align: middle;
	background-color: #3B5998;
	position: relative;
}

a.fb_detail_link:hover{
	background-color: rgba(253,236,0, 0.9);
}

a.fb_link {
	float: right;
	margin: 12px;
	display: inline-block;
	height: 50px;
	width: 50px;
	vertical-align: middle;
	background-image: url('../img/HLAVICKA_FB LOGO.png');
}

a.fb_link:hover{
	background-image: url('../img/HLAVICKA_FB LOGO_Hover.png');
}

a.fb_detail_link img {
	position: absolute;
	left: 35%;
}

a.fb_detail_link span {
	color: white;
	font-weight: 600;
	font-size: 1.6em;
	vertical-align: middle;
	position: absolute;
	top: 35%;
	left: 45%;
}

#site_ico {
	position: absolute;
	bottom: -100px;
	right: 25px;
}

#site_menu {
	margin-top: 140px;
}

#site_menu  div.basic_info {
	float: left;
	display: inline-block;
	width: calc(100% - 665px);
	font-size: 1.5em;
	color: #1c2522;
	margin-left: 25px;
	margin-top: 20px;
}

#site_menu  div.rocnik{
	float: left;
	display: inline-block;
	width: 290px;
	margin-left: 25px;
}

#site_menu  div.upcomming{
	display: inline-block;
	float: left;
	width: 250px;
	margin-left: 25px;
}

label.sub-header {
    display: inline-block;
    font-size: 1.7em;
	position: absolute;
	margin-top: 40px;
	right: 100px;
}

h2 {
	display: block;
	border-bottom: 5px solid black;
	font-size: 1.8em;
	margin-bottom: 25px;
	font-weight: bold;
}

#site_menu .rocnik a {
	display: block;
	border: 1px solid black;
	margin-bottom: 25px;
	padding: 5px;
	width: 120px;
	font-weight: bold;
	text-decoration: none;
	color: #000;
}

#site_menu  .rocnik  a:hover{
	border: 2px solid black;
	margin-bottom: 23px;
}

#site_menu  div.last-years  {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#site_menu  a.curr-year {
	display: inline-block;
	background-color: #bab9ab;
	float: left;
	margin-right: 24px;
}

#site_menu  a.future-year {
	display: inline-block;
	float: left;
}

@media only screen and (max-width: 1100px) {
	#site_menu  div.basic_info {
		width: calc(100% - 75px) !important;
	}
}

@media only screen and (max-width: 910px) {
	footer #footer-details-wrapp .col-1-3 {
		width: 100%;
	}

	#site_menu div.basic_info {
		width: calc(100% - 50px);
	}
}

@media only screen and (max-width: 1300px) {
	footer #footer-newsletter .col-1-3, #footer-newsletter .col-2-3 {
		width: 100%;
	}
}

@media only screen and (min-width: 600px) and (max-width: 910px) {

	#site_label {
		font-size: 1.2em !important;
		width: calc(100% - 200px) !important;
	}

	#site_ico {
		width: 100px;
		bottom: -50px !important;
	}
}

@media only screen and (max-width: 600px) {

	#site_label {
		font-size: 1.2em !important;
		width: calc(100% - 50px) !important;
	}

	#site_ico {
		display: none;
	}
}

@media only screen and (max-width: 500px) {

	#event_detail  div.detail-info img.closebtndouble, #event_detail  div.detail-info img.closebtndouble_top{
		right: 50px;
	}

	#event_detail > table {
		margin: 0 5px;
	}
}

@media only screen and (max-width: 720px) {

	#main {
		margin-left: 25px !important;
		margin-right: 25px !important;
		margin-bottom: 50px !important;
	}

	#site_img label.title {
		font-size: 10em;
	}

	div.pfoot img {
		display: none !important;
	}

	div.pfoot div.line {
		display: none !important;
	}

	div.pfoot label.header {
		width: 100% !important;
		position: relative;
		right: 0px;
		margin-left: 25px;
	}

	#podujatia {
		margin-bottom: 0px;
	}

	#podujatia label.header {
		width: calc(100% - 50px) !important;
		margin-left: 25px;
	}

	#podujatia div.line {
		display: none !important;
	}

	#projekty table td.content {
		display: none !important;
	}

	label.sub-header {
		margin-top: 0px;
		position: relative;
		right: 0px;
		margin-left: 25px;
	}

	footer {
		margin-left: 25px !important;
		margin-right: 25px !important;
	}

	footer #footer-details-wrapp {
		padding: 20px 20px;
	}

	footer #footer-note {
		padding: 20px 20px;
	}

	header a.logo img{
		width: 250px;
	}

	#news-img-cont {
		display: none;
	}

	#news-board-cont {
		margin-top: 115px;
	}

	header #search {
		margin-top: 80px !important;
		float: left;
		margin-left: 50px;
	}

	#site_img {
		background-image: none !important;
	}

	a.fb_detail_link img {
		left: 5%;
	}

	a.fb_detail_link span {
		left: 20%;
	}
}

@media only screen and (min-width: 600px) and (max-width: 755px) {
	#menuDialog {
		font-size: 1.4em;
	}
}

/* The Modal (background) */
.modal {
    display: block;
    position: fixed;
    z-index: 20;
    top: 50%;
    width: 100%;
    height: 0;
	transition: 1s;
    overflow: hidden;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
	height: 80%;
	overflow: hidden;
	margin-top: 100px;
}

.modal-content .btn {
	font-size: 100px;
	transition: 0.3s;
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
}

/* The Close Button */
.modal-content .closebtn {
	position: relative;
}

.modal-content  .nextbtn {
	vertical-align: middle;
}

.modal-content table {
	width: 100%;
	height: 100%;
}

.modal-content label.photoNum {
	width: 100%;
	text-align: center;
	font-size: 1.5em;
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
}

.modal-content label.photoNote {
	width: 100%;
	text-align: center;
	font-size: 1.5em;
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
}

.modal-content table td {
	height: 100%;
}

.modal-content td.modal_img {
	width: 100%;
}

.modal-content td.modal_img div {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.modal-content .btn:hover,
.modal-content .btn:focus {
    text-decoration: none;
    cursor: pointer;
	color: #f3edea;
}

div.modal-content img.closebtndouble, div.modal-content img.closebtndouble_top{
	position: absolute;
	display: inline-block;
	top: 10px;
	right: 5px;
}

.row {
	margin-left: 0;
	margin-right: 0;
}

div.list-tile {
	margin-top: 15px;
	margin-bottom: 15px;
	padding-top: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	cursor: pointer;
}

div.list-tile span {
	margin: 15px;
	position: absolute;
	color: #FFF;
	font-weight: 800;
	font-size: 50px;
	top: 0; bottom: 0; left: 0; right: 0;
	text-align: center;
	padding-top: 45%;
	align-items: center;
	display: table-cell;
	vertical-align: middle;
}

div.list-tile span:hover {
	background-color: rgb(253,236,0, 0.4);
	transition: 0.3s;
}

.full-width {
	width: 100% !important;
}

.gallery{background-color:#000;display:flex;flex-wrap:wrap;margin-top:100px;padding:15px;}
.gallery-item{background-position:center;background-repeat:no-repeat;border:1px solid #fff;cursor:zoom-in;height:200px;margin:15px;padding:0px;width:200px;}
.gallery-item:hover{background-color:#555;}
#gallery-board{background-color:#000;cursor:zoom-out;display:none;height:100%;left:0px;position:fixed;top:0px;width:100%;z-index:2;}
#gallery-image{bottom:0px;left:0px;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0px;top:0px;}
.gallery-button{background-color:#fff;border:none;cursor:pointer;font-size:18px;margin:50px 0px;padding:10px 20px;width:387px;}
.gallery-button:hover{background-color:rgb(253,236,0);transition:0.3s;}
.gallery-close{cursor:pointer;position:absolute;right:50px;top:50px;z-index:3;}
.gallery-next{color:white;cursor:pointer;font-size:50px;line-height:65px;text-align:center;height:75px;width:75px;position:absolute;right:50px;top:50%;z-index:3;user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;}
.gallery-prev{color:white;cursor:pointer;font-size:50px;line-height:65px;text-align:center;height:75px;width:75px;position:absolute;left:50px;top:50%;z-index:3;user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;}

