/* www.velkoplosna-projekce.eu */

* {
	margin: 0px auto;
	padding: 0px;
	box-sizing: border-box;
}

body, html {
	height: 100%;
	margin: 0;
	color: white;
	font-family: Calibri, Arial, sans-serif;
}

@media screen and (max-width: 600px) {
	body {font-size: 14px;}
	h2 {font-size: 28px;}
}

@media screen and (min-width: 601px) {
	body {font-size: 16px;}
	h2 {font-size:30px;}
	td.parametry {min-width: 150px;}
	td.cenik {min-width: 150px;}
}

@media screen and (min-width: 1110px) {
    body {font-size: 18px;}
	.obr {max-width: 1100px;}
	.w3-bar {max-width: 1100px;}
	td.parametry {min-width: 200px;}
	td.cenik {min-width: 200px;}
}

h1{
	font-family: Calibri, Arial, sans-serif;
	text-align: center;
	font-weight: 400;
	margin: 0px 0px 30px 0px;
}

h2 {
	font-family: Calibri, Arial, sans-serif;
	font-weight: 400;
	margin: 10px 0;
}

.w3-container {
	margin-top: 38.5px;
}

table {
	display: block;
	margin-left: 0;
}

table.kontakt {
	width: 100%;
	background-position: center;
	margin: 0px auto;
	display:table
}

td {
	vertical-align: top;
	padding: 10px 10px;
}

td.parametry {
	vertical-align: top;
	padding: 10px 10px;
}

td.cenik {
	vertical-align: top;
	padding: 10px 10px;
}

td.kontakt {
	width: 50%;
	padding-left: 0;
	vertical-align: top;
}

a {
	text-decoration: none;
}

a.active {
	font-weight: bold;
	color: black;
}

body.hasHover a.footer:hover {
	font-weight: normal;
	color: white;
	text-decoration: underline;
}

#topBtn {
  display: none;
  position: fixed;
  z-index: 99;
  border: none;
  outline: none;
  background-color: grey;
  cursor: pointer;
  border-radius: 2px;
}

body.hasHover #topBtn:hover {
  background-color: #555;
}

i {
  border: solid white;
  border-width: 0 4px 4px 0;
  display: inline-block;
  padding: 5px;
}


.up {
  transform: rotate(-135deg);
  -ms-transform: rotate(-135deg); /* IE 9 */
  -webkit-transform: rotate(-135deg); /* Safari 3-8 */
}

footer {
	background: url('/obrazky/noisy/noisyFooter.png') #555;
}

.w3-padding-8 {
	padding-top: 8px!important;
	padding-bottom: 8px!important;
}

		
	/* Pozadí stránek */
	/* Obrázek viz styly v php dle denní doby */
	
	#index {
	background-attachment: scroll, fixed;
	background-repeat: no-repeat, no-repeat;
	background-size: 90% auto, 100% 100%;
	background-color: #0d0d0d; /* případná barva pozadí */
	}
	@media screen and (max-width: 600px) {#index {background-position: center 70px, center top;}}
	@media screen and (min-width: 601px) {#index {background-position: center 70px, center top;}}
	@media screen and (min-width: 1155px) {#index {background-position: center 20px, center top;}}
	
	
	#calc {
	background-attachment: scroll, fixed;
	background-repeat: no-repeat, no-repeat;
	background-size: 90% auto, 100% 100%;
	background-color: #0d0d0d; /* případná barva pozadí */
	}
	@media screen and (max-width: 600px) {#calc {background-position: center 70px, center top;}}
	@media screen and (min-width: 601px) {#calc {background-position: center 70px, center top;}}
	@media screen and (min-width: 1155px) {#calc {background-position: center 20px, center top;}}
	
	
	#logoTitle {
	width: 81%;
	margin-left: 9.5%;
	margin-bottom: 20px;
	}
	
	@media screen and (max-width: 600px) {#logoTitle {margin-top: 10px}}
	@media screen and (min-width: 601px) {#logoTitle {margin-top: 30px}}
	@media screen and (min-width: 1155px) {#logoTitle {margin-top: 40px}}
	
	
	#logoKontakt {
	width: 81%;
	margin-left: 9.5%;
	margin-bottom: 0px;
	}
	
	@media screen and (max-width: 600px) {#logoKontakt {margin-top: 70px}}
	@media screen and (min-width: 601px) {#logoKontakt {margin-top: 70px}}
	@media screen and (min-width: 1155px) {#logoKontakt {margin-top: 20px}}
		

	
	/* Slideshow */
	.mySlides {display:none;}

	@media screen and (max-width: 600px) {.slideCont {left:15%; width: 70%;}}
	@media screen and (min-width: 601px) {.slideCont {left:15%; width: 70%;}}
	@media screen and (min-width: 1155px) {.slideCont {left:20%; width: 60%;}}
	
	.slideshow-container {
	position: relative;
	margin: auto;
	}
	
	/* Next & previous buttons */
	.prev, .next {
	  cursor: pointer;
	  position: absolute;
	  top: 50%;
	  width: auto;
	  margin-top: -19px;
	  padding: 8px 16px;
	  color: white;
	  font-weight: bold;
	  font-size: 24px;
	  transition: 0.6s ease;
	  /* border-radius: 0 3px 3px 0; */
	  border-radius: 50%;
	  user-select: none;
	}

	/* Position the "next button" to the right */
	.next {
	 right: 0;
	 /* border-radius: 3px 0 0 3px; */
	 border-radius: 50%;
	}

	body.hasHover .prev:hover {
	background: #555555;
	color: white;
	}

	body.hasHover .next:hover {
	background: #555555;
	color: white;
	}

	/* The dots/bullets/indicators */
	.dot {
	  height: 15px;
	  width: 15px;
	  margin: 0 2px;
	  background-color: #bbb;
	  border-radius: 50%;
	  display: inline-block;
	  transition: background-color 0.6s ease;
	}
	
	.active, body.hasHover .dot:hover {
	  background-color: #595959;
	}


	/* Zoom animation */
	.w3-animate-zoom {animation:animatezoom 1.0s}@keyframes animatezoom{from{transform:scale(0.5)} to{transform:scale(1)}}

	/* Slide animation */
	.w3-animate-top{position:relative;animation:animatetop 0.8s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
	.w3-animate-bottom{position:relative;animation:animatebottom 0.8s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}

	
	
	/* Slider ve stejném poměru stran */
	.containerRatio {
	background-color: black;
	position: relative;
	width: 100%;
	/* padding-top: 12.5%; */ /* 8:1 Aspect Ratio = 1/8 */
	}
	@media screen and (max-width: 600px) {.containerRatio {padding-top: 30%;}}
	@media screen and (min-width: 601px) {.containerRatio {padding-top: 20%;}}
	@media screen and (min-width: 1155px) {.containerRatio {padding-top: 12.5%;}}

	.textRatio {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	margin: 0;
	color: white;
	}
	
	/* slogan */
	@media screen and (max-width: 600px) {.slogan {width: 70%;}}
	@media screen and (min-width: 601px) {.slogan {width: 50%;}}
	@media screen and (min-width: 1155px) {.slogan {width: 50%;}}
	
	
	/* Odsazení nadpisu */
	@media screen and (max-width: 600px) {.calcSpace {margin-top: 115px; width: 80%; margin-left: 10%;}}
	@media screen and (min-width: 601px) {.calcSpace {margin-top: 135px; width: 80%; margin-left: 10%;}}
	@media screen and (min-width: 993px) {.calcSpace {margin-top: 150px; width: 100%; margin-left: 0%;}}
	
	
	
	/* Panel - Kalkulačka */
	.panel {
	  width: 100%;
	  max-width: 1000px; 
	  display: block; 
	  background: black;
	  color: white;
	  padding: 10px 0 10px 10px; 
	  margin-bottom: 30px; 
	  transition: 0.5s;
	}	
	@media screen and (max-width: 600px) {.panel {margin-top: 20px;}}
	@media screen and (min-width: 601px) {.panel {margin-top: 20px;}}
	@media screen and (min-width: 993px) {.panel {margin-top: 20px;}}

	
	/* Panel - Formulář */
	.panelForm {
	 width: 100%;
	 max-width: 1000px; 
	 display: block; 
	 margin-left: auto; 
	 margin-right: auto; 
	 background: black;
	 color: white;
	 padding: 10px 50px 10px 10px; 
	 margin-bottom: 30px; 
	 transition: 0.5s;
	}	
	@media screen and (max-width: 600px) {.panelForm {margin-top: 20px;}}
	@media screen and (min-width: 601px) {.panelForm {margin-top: 20px;}}
	@media screen and (min-width: 993px) {.panelForm {margin-top: 20px;}}

	
	
	.fg {
	  display: block; 
	  background-color: #000000;
	  color: #ffffff;
	  padding-top: 18px;
	  padding-bottom: 1px;
	  width: 100%;
	  max-width: 1000px; 
	  margin-left: auto; 
	  margin-right: auto; 
	  text-align: center; 
	  border: none;
	  outline: none;
	  margin-bottom: 0px; 
	  font-size: 30px;
	}
	
	
	
	/* Social networks */
	.icon-bar {
	  position: fixed;
	  top: 50%;
	  -webkit-transform: translateY(-50%);
	  -ms-transform: translateY(-50%);
	  transform: translateY(-50%);
	}

	.icon-bar a {
	  display: block;
	  text-align: center;
	  transition: all 0.3s ease;
	  color: white;
	  font-size: 20px;
	  padding: 16px;
	 }

	body.hasHover .icon-bar a:hover {
	color: white;
	}
	
	.navbar {
	  overflow: hidden;
	  background-color: #000000;
	  top: 0;
	  left: 0;
	  width: 100%;
	}

	.navbar a {
	  transition: all 0.3s ease;
	  color: white;
	  font-size: 20px;
	  padding: 16px;
	}

	body.hasHover .navbar a:hover {
	color: white;
	}

	.facebook {
	background: #3B5998;
	color: white;
	}

	.instagram {
	background: #125688;
	color: white;
	}
	
	
	
	
	.w3-ul {
	  margin-left: -10px;
	  list-style-type: none;
	}
	
	
	/* Sidebar */
	#mySidebar { 
	display:none; 
	z-index:5; 
	position: absolute; 
	top: 0; 
	right: 0; 
	background: #555555; 
	color: #ffffff; 
	width: 30%;
	min-width: 200px;
	}
	

	/* Accordion - style the buttons that are used to open and close the accordion panel */
	.accordion {
	  display: block; 
	  background-color: #000000;
	  color: #ffffff;
	  cursor: pointer;
	  padding: 18px;
	  width: 100%;
	  max-width: 1000px; 
	  margin-left: auto; 
	  margin-right: auto; 
	  text-align: center;
	  border: none;
	  outline: none;
	  transition: 0.4s;
	  margin-bottom: 0px; 
	  font-size: 30px;
	}

	/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
	body.hasHover .accordion:hover {background-color: #555555;}
	.active1 {background-color: #000000;}

	.accordion:after {
	  content: '\002B';
	  color: #ffffff;
	  font-weight: bold;
	  float: right;
	  margin-left: 5px;
	}

	.active1:after {
	  content: "\2212";
	}

	/* Style the accordion panel. Note: hidden by default */
	.panelAcc {
	  background: black;
	  color: white;
	  max-width: 1000px; 
	  margin-left: auto; 
	  margin-right: auto; 
	  padding: 0px 0px 0px 10px; 
	  margin-bottom: 30px; 
	  max-height: 0;
	  overflow: hidden;
	  transition: max-height 0.5s ease-out;
	}
	
	
	/* Top Button */
	@media screen and (max-width: 600px) {#topBtn {bottom:8px; right: 8px; font-size: 12px; padding: 8px;}}
	@media screen and (min-width: 601px) {#topBtn {bottom:8px; right: 8px; font-size: 16px; padding: 12px;}}
	@media screen and (min-width: 993px) {#topBtn {bottom:50%; right: 8px; font-size: 16px; padding: 12px;}}

	
	/* Odsazení jednotlivých kapitol */
	@media screen and (max-width: 600px) {.space {height:40px;}}
	@media screen and (min-width: 601px) {.space {height:40px;}}
	@media screen and (min-width: 993px) {.space {height:20px;}}
	
	
	
	
	
	/* Souhlas - Formulář */
	body.hasHover #souhlas:hover {text-decoration: underline;}

	
	/* Image Zoom */
	.zoom {
	  transition: transform .2s;
	}

	body.hasHover .zoom:hover {
	  -ms-transform: scale(1.333); /* IE 9 */
	  -webkit-transform: scale(1.333); /* Safari 3-8 */
	  transform: scale(1.333);
	}

	
	/* Tabulka - Kalkulačka */
	
	td.calc {
	vertical-align: middle;
	text-align: right;
	}
	@media screen and (max-width: 600px) {td.calc {padding: 10px 5px;}}
	@media screen and (min-width: 601px) {td.calc {padding: 10px 20px;}}
	@media screen and (min-width: 993px) {td.calc {padding: 10px 20px;}}

	th.calc {
	vertical-align: bottom;
	text-align: center;
	font-weight: normal;
	}
	
	
	/* Tabulka - výsledky */
	#result td {
	vertical-align: top;
	padding: 1px 10px;
	}
	
	
	/* Menu */
	.barItem {
	background: black;
	color: white;
	border: none;
	}

	body.hasHover .barItem:hover {
	background: #737373;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	}

	
	/* Slider */
	.mySlider {display:none;}
		
	.rotate {
	transform: rotate(-10deg);
	-ms-transform: rotate(-10deg); /* IE 9 */
	-webkit-transform: rotate(-10deg); /* Safari 3-8 */ 
	}

	
	/* Nápověda */
	.help {position: relative}

	.popisek {
	position: absolute; 
	left: 50%; 
	top: 100%; 
	display: none; 
	margin-left: -125px; 
	width: 250px; 
	border: 1px solid #666; 
	padding: 10px; 
	background: #fff;
	color: black;
	text-align: left;
	z-index: 100; 
	box-shadow: rgba(0, 0, 0, 0.298) 0px 3px 8px 0px; 
	transition: opacity .5s; 
	-webkit-transition: opacity .5s; 
	opacity: 0
	}

	.help:hover .popisek {display: block; opacity: 1}

	.popisek .sipka, .popisek .sipka-obal {
	position: absolute; 
	top: -10px; 
	left: 50%; 
	margin-left: -5px; 
	width: 0px; 
	height: 0px; 
	border: solid transparent; 
	border-width: 0 10px 10px 10px; 
	border-bottom-color: #000
	}

	.popisek .sipka-obal {
	border-bottom-color: #fff; 
	margin: 1px 0 0 -4px; 
	border-width: 0 9px 9px 9px
	}	
	
	
	
	/* Check and radio buttons */
	.w3-check,.w3-radio {
	width:24px;
	height:24px;
	position:relative;
	top:6px;
	}
	
	
	/* Odkaz */
	body.hasHover a:hover {
	font-weight: bold;
	color: black;
	}
	
	/* Odkaz normal s podtržením */
	body.hasHover .hoverUnderline:hover {
	color: white;
	font-weight: normal;
	text-decoration: underline;
	}
	
	
	
	
	/* Modal */
	/* The Modal (background) */
	.modal {
	  display: none;
	  position: fixed;
	  z-index: 10; /* větší hodnota než u Sidebar a Button Top */
	  padding-top: 50px;
	  left: 0;
	  top: 0;
	  width: 100%;
	  height: 100%;
	  overflow: auto;
	  background-color: black;
	}

	/* The Close Button */
	.closeModal {
	  color: white;
	  position: absolute;
	  top: 0px;
	  right: 25px;
	  font-size: 35px;
	  font-weight: bold;
	  z-index: 10;
	}

	.closeModal:hover,
	.closeModal:focus {
	  color: #999;
	  text-decoration: none;
	  cursor: pointer;
	}

	.mySlidesModal {
	  display: none;
	}

	.cursorModal {
	  cursor: zoom-in;
	}

	/* Number text (1/3 etc) */
	.numbertext {
	  color: #f2f2f2;
	  font-size: 14px;
	  position: absolute;
	  top: 10px;
	  left: 25px;
	  z-index: 10;
	}
		
	/* Caption text */
	.caption-container {
	  color: #f2f2f2;
	  font-size: 14px;
	  position: absolute;
	  bottom: 10px;
	  left: 25px;
	  z-index: 10;
	}

	img {
	  margin-bottom: -4px;
	}
	
	.imgFG {
	max-width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	}
	@media screen and (max-width: 600px) {.imgFG {max-height: 85vh;}}
	@media screen and (min-width: 601px) {.imgFG {max-height: 90vh;}}
	@media screen and (min-width: 1155px) {.imgFG {max-height: 90vh;}}

	.demoModal {
	  opacity: 0.6;
	}

	.activeModal,
	.demo:hover {
	  opacity: 1;
	}

	img.hover-shadow {
	  transition: 0.3s;
	}

	.hover-shadow:hover {
	  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	}
	
	
	
	
	#fgHidden {
	  display: none;
	}
	
	#meneFoto {
	  display: none;
	}
	
	body.hasHover .buttonFG {
	width: 200px;
	border: none;
	outline: none;
	position: absolute;
	left: 50%;
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	}
	
		
	/* Columns and Rows in photogallery */
	.row {
	  display: -ms-flexbox; /* IE10 */
	  display: flex;
	  -ms-flex-wrap: wrap; /* IE10 */
	  flex-wrap: wrap;
	  padding: 0 4px;
	}

	/* Create four equal columns that sits next to each other */
	.column {
	  -ms-flex: 25%; /* IE10 */
	  flex: 25%;
	  max-width: 25%;
	  padding: 0 4px;
	}

	.column img {
	  margin-top: 8px;
	  vertical-align: middle;
	  width: 100%;
	}

	/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
	@media screen and (max-width: 600px) {
	  .column {
		-ms-flex: 50%;
		flex: 50%;
		max-width: 50%;
	  }
	}
	
	
	