/***Fonts***/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700&display=swap');
/***Layout***/
html {
	box-sizing: border-box;
	scroll-behavior: smooth;
	scroll-padding-top:100px;
	width:100vw;
	max-width: 100%;
	overflow-x:hidden;
}
*,
*:before,
*:after {
	box-sizing: inherit;
	outline:0;
}
body {
	background: #fff;
	margin:0;
	font-family:'Montserrat', sans-serif;
	overflow-x:hidden;
	position:relative;
	width:100vw;
	max-width: 100%;
}
.container {
	display:flex;
	flex-direction: row;
	max-width:1400px;
}
header {
	display:flex;
	justify-content:center;
	height:92vh;
}
section {
	display:flex;
	justify-content:center;
	margin-top:150px;
	margin-bottom:150px;
	position: relative;
}
body.noscroll {
	overflow-y: hidden!important;
}
button {
	border:0;
	background:none;
	cursor: pointer;
}
/***General typography***/
h1 {
	font-family: 'Bebas Neue', sans-serif;
	color:#000;
	font-size:80px;
	margin-top:0;
	margin-bottom:20px;
	font-weight:400;
	line-height:88px;
	position: relative;
}
h1:after {
	display: block;
	content: '';
	background: url('../img/smudge1.png')center no-repeat;
	width:146px;
	height:35px;
	position:absolute;
	bottom: 3px;
	left: 133px;
	z-index: -1;
}
h2 {
	font-family: 'Bebas Neue', sans-serif;
	color:#000;
	font-size:70px;
	margin-top:0;
	margin-bottom:30px;
	font-weight:400;
	line-height:78px;
	position: relative;
}
h3 {
	font-family: 'Montserrat', sans-serif;
	font-size:20px;
	font-weight: 700;
	color:#000;
	line-height: 30px;
	margin-top:10px;
	margin-bottom: 0px;
}
h4 {
	font-family: 'Montserrat', sans-serif;
	font-size:20px;
	font-weight: 400;
	color:#5b5b5b;
	line-height: 28px;
	margin-top:0;
	margin-bottom: 10px;
}
p {
	font-family: 'Montserrat', sans-serif;
	font-weight:400;
	font-size:17px;
	line-height: 26px;
	color:#5b5b5b;
	margin-top:0;
	margin-bottom:20px;
}

#sidebar2 li {
	font-family: 'Montserrat', sans-serif;
	font-weight:400;
	font-size:17px;
	line-height: 26px;
	color:#5b5b5b;
	margin-top:0;
	margin-bottom:10px;
}

a, button {
	font-family: 'Montserrat', sans-serif;
	font-size:17px;
	color:#5f3d31;
	position: relative;
	font-weight: 500;
	text-decoration: none;
	transition:color 0.2s;
	padding:0;
}
a.arrow-link, button.arrow-link {
	text-decoration: underline;
}
a:hover {
	color:#000;
}
a.arrow-link:after, button.arrow-link:after {
	display:block;
	height:9px;
	width:6px;
	content:'';
	background: url('../img/arrow.png') center no-repeat;
	position:absolute;
	top: 5px;
	right: -13px;
}
/***Preloader***/
#preloader {
	background: #fff;
	bottom: 0;
	height: 100%;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 999;
}
#loaderInner, .loaderInner {
	background: url(../img/spinner.gif) center center no-repeat;
	height: 90px;
	left: 50%;
	margin: -45px 0 0 -45px;
	position: absolute;
	top: 50%;
	width: 90px;
}
/***Mobile menu***/
#smartbutton {
	width: 25px;
	height: 35px;
	position: fixed;
	right:20px;
	top:20px;
	transform: rotate(0deg);
	cursor: pointer;
	overflow:hidden;
	z-index:10;
	display: none;
}
#smartbutton span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #000;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}
#smartbutton span:nth-child(1) {
	top: 0px;
}
#smartbutton span:nth-child(2),#smartbutton span:nth-child(3) {
	top: 8px;
	overflow:hidden;
}
#smartbutton span:nth-child(4) {
	top: 16px;
}
#smartbutton.open span:nth-child(1) {
	top: 18px;
	width: 0%;
}
#smartbutton.open span:nth-child(2) {
	transform: rotate(45deg) scale(0.6);
	background:#888;
}
#smartbutton.open span:nth-child(3) {
	transform: rotate(-45deg) scale(0.6);
	background:#888;
}
#smartbutton.open span:nth-child(4) {
	top: 18px;
	width: 0%;
	left: 50%;
}
/***Backgrounds***/ 
.bg1 {
	position:absolute;
	top:0;
	right:0;
	z-index: -2;
}
.bg2 {
	position:absolute;
	top:660px;
	left:0;
	z-index: -2;
}
.bg3 {
	position:absolute;
	top:150px;
	right:0;
	z-index: -2;
}
.bg4 {
	position:absolute;
	top:-250px;
	left:0;
	z-index: -2;
}
.bg5 {
	position:absolute;
	top:570px;
	right:0;
	z-index: -2;
}
.bg6 {
	position:absolute;
	top:500px;
	right:0;
	z-index: -2;
}
.bg7 {
	position:absolute;
	top:300px;
	left:0px;
	z-index: -2;
}
/***Popup animations***/
.mfp-zoom-out .mfp-with-anim {
	opacity: 0;
	transition: all 0.5s;
	transform: scale(0.7);
}
.mfp-zoom-out.mfp-bg {
	opacity: 0;
	transition: all 0.5s;
}
.mfp-zoom-out.mfp-ready .mfp-with-anim {
	opacity: 1;
	transform: scale(1);
}
.mfp-zoom-out.mfp-ready.mfp-bg {
	opacity: 0.8;
}
.mfp-zoom-out.mfp-removing .mfp-with-anim {
	transform: scale(0.7);
	opacity: 0;
}
.mfp-zoom-out.mfp-removing.mfp-bg {
	opacity: 0;
}
.mfp-with-fade .mfp-content,
.mfp-with-fade .mfp-arrow, .mfp-with-fade.mfp-bg {
	opacity: 0;
	transition: opacity 0.3s ease-out;
}
.mfp-with-fade.mfp-ready .mfp-content,
.mfp-with-fade.mfp-ready .mfp-arrow {
	opacity: 1;
}
.mfp-with-fade.mfp-ready.mfp-bg {
	opacity: 0.8;
}
.mfp-with-fade.mfp-removing .mfp-content,
.mfp-with-fade.mfp-removing .mfp-arrow, .mfp-with-fade.mfp-removing.mfp-bg {
	opacity: 0;
}
.mfp-close-btn-in .mfp-image-holder  .mfp-close {
	right: -6px;
	top: 0px;
}
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b,
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
	border:0;
}
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
	border-left: 13px solid #FFF;
}
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
	border-right: 13px solid #FFF;
}
.mfp-arrow:after, .mfp-arrow .mfp-a {
	border-top-width: 10px;
	border-bottom-width: 10px;
}
.mfp-open .mfp-figure {
	animation-name: fadeIn;
	animation-duration: 1s;
	animation-fill-mode: both;
}
@-webkit-keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@-moz-keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@-o-keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
/***Navline***/
.navline {
	display:flex;
	position:fixed;
	width:100%;
	padding-left:2.5%;
	padding-right:2.5%;
	height:100px;
	flex-direction: row;
	align-items:center;
	justify-content: space-between;
	z-index:99;
	transition: height 0.2s;
}
.navline.scrolled {
	background:#fff;
	-webkit-box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88); 
	box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88);
	height:70px;
}
.navline.scrolled .logo img {
	transform:scale(0.7);
}
.navline.scrolled .logo .logo-text {
	font-size:23px;
}
.navline.scrolled .logo .sublogo-text {
	line-height: 1;
}
.navline.scrolled .logo-text-container {
	margin-left:0;
}
.separator {
	margin-left: 4px;
	margin-right: 4px;
}
.menu a .language {
	color:#5f3d31 ;
	text-decoration: underline;
}
.menu .language {
	color:#5b5b5b ;
	font-weight: 500;
	font-size: 17px;
}
.menu .language.active {
	color:#000 ;
}
.menu li.switcher {
	border-left: 1px solid #bbb;
	margin-left: 20px;
	padding-left: 20px;
}
.menu .subnav {
	opacity: 0;
	margin-top: -20px;
	position: absolute;
	background: white;
	padding: 20px;
	padding-right:30px;
	-webkit-box-shadow: 0px 10px 14px -14px rgba(0,0,0,0.88); 
	box-shadow: 0px 10px 14px -14px rgba(0,0,0,0.88); 
	margin-left: -20px;
	transition: all 0.3s;
}

.menu li:nth-child(6):hover .subnav {
	opacity: 1;
	margin-top: 0px;
}

.logo {
	width:240px;
	display:flex;
	align-items: center;
}
.logo img {
	margin-top:-5px;
	transition: transform 0.2s;
}
.logo-text {
	font-weight:600;
	font-size:30px;
	color:#000;
	margin:0;
	transition: all 0.2s;
}
.logo-text.english {
	font-size: 22px
}
.sublogo-text {
	font-size:14px;
	font-weight:400;
	margin:0;
	margin-left:2px;
	transition: all 0.2s;
}
.logo-text-container {
	margin-left:10px;
	transition: all 0.2s;
}
.menu  {
	display:flex;
	align-content: center;
	justify-content: flex-end;
}
.menu li {
	list-style-type: none;
	margin-left:40px;
}
.menu li a {
	text-decoration: none;
	color:#5b5b5b;
	position: relative;
	transition: color 0.2s;
	font-weight:500;
}
.menu li a:hover, .menu li a.active {
	color:#000;
}
.menu a.active:before {
	display:block;
	content:"";
	width:87px;
	height:42px;
	position:absolute;
	background:url(../img/smudge-menu.png)no-repeat center center;
	top: -10px;
	left: -23px;
	z-index: -1;
}

.menu a.active2:before {
	display:block;
	content:"";
	width:135px;
	height:42px;
	position:absolute;
	background:url(../img/smudge-menu2.png)no-repeat center center;
	top: -10px;
	left: -20px;
	z-index: -1;
}
/***Hero section***/
header .container {
	margin-top:100px;
	max-width:95%;
	align-items: center;
	position: relative;
	justify-content: center;
}
.hero-left {
	width:570px;
	display:flex;
	flex-direction: column;
	justify-content: flex-start;
	margin-left:185px;
	margin-right:135px;
}
.video-thumb {
	width:498px;
	height:281px;
	background: url('../img/video-thumb.png')center no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
	position: relative;
}
.video-smudge {
	background: url('../img/smudge-big1.png')center no-repeat;
	width:266px;
	height:166px;
	position:absolute;
	top:200px;
	left:-80px;
	z-index: -1;
}
.videolink {
	display: inline-flex;
	flex-direction: column;
}
.videolink img {
	margin-top:20px;
	transition: transform 0.2s;
}
.videolink img:hover {
	transform: scale(0.9);
}
header .videolink p {
	color:#fff;
	margin-top:5px;
	text-decoration: none;
}
.hero-right {
	width:881px;
	height:610px;
	background: url('../img/hero1.png')center no-repeat;	
	display: flex;
	justify-content: flex-end;
	position:relative;
}
.hero-right img {
	position:relative;
}
.hero-namibia {
	background: url('../img/hero-bg.png')center no-repeat;	
	width:614px;
	height:590px;
	position:absolute;
	top:60px;
	left:-170px;
	z-index: -1;
}
.logos {
	position:absolute;
	left:2.5%;
	top:200px;
	display:flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.logos img {
	margin-top:10px;
	margin-bottom:10px;
	transition: transform 0.2s;
}
.logos img:hover {
	transform: scale(0.9);
}

.logo-separator {
	border-bottom:1px solid #ddd;
	margin-top:20px;
	margin-bottom:20px;
	width: 100%;
}

/***About + následky***/
.about-gallery {
	display:flex;	
	width:50%;
}
.about-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width:50%;
	padding-left:70px;
}
#nasledky .about-text {
	padding-right:70px;
}
.nasledky-title:after {
	display: block;
	content: '';
	background: url('../img/smudge4.png')center no-repeat;	
	width:188px;
	height:39px;
	position:absolute;
	top:39px;
	left:-20px;
	z-index: -1;
}
.about-title:after {
	display: block;
	content: '';
	background: url('../img/smudge2.png')center no-repeat;	
	width:159px;
	height:39px;
	position:absolute;
	top:39px;
	left:0px;
	z-index: -1;
}
.about-gallery {
	display:flex;
	width:50%;
	align-items: center;
	align-content: flex-end;
	flex-direction: row;
	position: relative;
}
.about-gallery img {
	margin:7px;
}
.images-left {
	display:flex;
	flex-direction: column;
	align-items: flex-end;
}
.images-right {
	display:flex;
	flex-direction: column;
	align-items: flex-start;
}
.smudge2 {
	background: url('../img/smudge-big2.png')center no-repeat;	
	width:327px;
	height:144px;
	position:absolute;
	left: 70px;
	top: 240px;
	z-index: -1;
}
.smudge3 {
	background: url('../img/smudge-big3.png')center no-repeat;	
	width:303px;
	height:144px;
	position:absolute;
	left: 420px;
	top: -22px;
	z-index: -1;
}
.smudge4 {
	background: url('../img/smudge-big4.png')center no-repeat;	
	width:356px;
	height:143px;
	position:absolute;
	left: 340px;
	top: 478px;
	z-index: -1;
}
.smudge5 {
	background: url('../img/smudge-big5.png')center no-repeat;	
	width:308px;
	height:170px;
	position:absolute;
	left: 170px;
	top: -70px;
	z-index: -1;
}
.smudge6 {
	background: url('../img/smudge-big6.png')center no-repeat;	
	width:189px;
	height:96px;
	position:absolute;
	left: 440px;
	top: 289px;
	z-index: -1;
}
.smudge7 {
	background: url('../img/smudge-big7.png')center no-repeat;	
	width:238px;
	height:206px;
	position:absolute;
	left: 28px;
	top: 476px;
	z-index: -1;
}
/***Postavy + Štáb***/
#postavy .container, #stab .container {
	flex-direction: column;
	align-items: center;
}
.postavy-holder {
	display: flex;
	flex-wrap: wrap;
	margin-top:50px;
	max-width: 1070px;
}
#stab .postavy-holder {
	max-width:1400px;
	width:1400px;
}
.postava img {
	transition:transform 0.2s;
}
.postava img:hover {
	transform:scale(0.9);
}
.postava {
	flex: 1 0 21%;
	margin:20px;
	text-align: center;
	margin-bottom: 50px;
}
#stab .postava {
	margin:15px;
}
#stab .postava h3{
	font-size:19px;
}
#stab .postava {
	flex: 1 0 14%;
}
.postavy-title:after {
	display: block;
	content: '';
	background: url('../img/smudge3.png')center no-repeat;	
	width:266px;
	height:53px;
	position:absolute;
	top:39px;
	left:40px;
	z-index: -1;
}
/***Gallery***/
#fotogalerie {
	flex-direction: column;
	align-items: center;
	margin-bottom:100px;
}
#fotogalerie p {
	margin-top:50px;
}
.gallery-holder {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}
.gallery-holder div {
	flex: 1 0 21%;
	margin:7px;
	position: relative;
	width:467px;
	height:273px;
}
.stripe1 {
	background: url('../img/stripe1.png')center no-repeat;	
}
.stripe2 {
	background: url('../img/stripe2.png')center no-repeat;	
}
.stripe3 {
	background: url('../img/stripe3.png')center no-repeat;	
}
.stripe4 {
	background: url('../img/stripe4.png')center no-repeat;	
}
.gallery-holder div:nth-child(2n) {
	margin-top:30px;
}
.stripe1:after {
	display: block;
	content: '';
	background: url(../img/smudge4.png)center no-repeat;
	width: 188px;
	height: 39px;
	position: absolute;
	top:-30px;
	left:-50px;
	z-index: -1;
}
.stripe3:after {
	display: block;
	content: '';
	background: url('../img/smudge-big9.png')center no-repeat;	
	width:346px;
	height:97px;
	position:absolute;
	top: -34px;
	right: -160px;
	z-index: -1;
}
.stripe2:after {
	display: block;
	content: '';	
	background: url('../img/smudge-big10.png')center no-repeat;	
	width:257px;
	height:124px;
	position:absolute;
	bottom: -60px;
	left: -140px;
	z-index: -1;
}
/***Aktuality***/
#aktuality {
	margin-top:100px;
}
#aktuality .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.aktualita img{
	max-width: 410px;
	max-height:200px;
}
.aktuality-title:after {
	display: block;
	content: '';
	background: url('../img/smudge2.png')center no-repeat;	
	width:159px;
	height:39px;
	position:absolute;
	top:39px;
	left:30px;
	z-index: -1;
}

.aktualita {
	flex: 0 0 33.3%;
	padding:20px;
	position: relative;
}
.aktualita .date {
	margin-top:0px;
	margin-bottom:10px;
	font-style: italic;
	font-size:14px;
	color:#888;
}
.aktualita p {
	max-width:410px;
}
.aktualita img {
	border-radius:5px;
}
.aktuality-hidden, .aktuality-holder {
	display: flex;
	justify-content: flex-start;
	width:100%;
	flex-direction: row;
	flex-wrap: wrap;
}
.aktuality-hidden {
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s, opacity 0.5s;
	position: absolute;
}
.aktuality-hidden.show {
	position: relative;
	visibility: visible;
	opacity: 1;
}
#aktuality-button {
	margin-top:50px;
	opacity:1;
	visibility: visible;
	transition: visibility 0s, opacity 0.5s;
}
#aktuality-button.hidden {
	position: absolute;
	opacity:0;
	visibility: hidden;
	transition: visibility 0s, opacity 0.5s;
}
/***Projekce***/
#projekce .container {
	flex-direction: column;
	align-items: center;
}

.projekce-holder {
	display: flex;
	justify-content: flex-start;
	width:100%;
	flex-direction: column;
	flex-wrap: wrap;
	margin-top: 20px;
}

.projekce {
	display: flex;
	width: 700px;
	flex-direction: row;
}

.projekce .proj-col p {
	margin: 0;
}

.projekce:nth-child(2n) {
	background: #f5f5f5;
}

.projekce .proj-col {
	padding: 10px;
}

.projekce .proj-col:nth-child(1) {
	width: 20%;
}

.projekce .proj-col:nth-child(2) {
	width: 20%;
}

.projekce .proj-col:nth-child(3) {
	width: 50%;
}

.projekce .proj-col:nth-child(4) {
	width: 10%;
	text-align: right;
}



/***Pomoc***/
#pomoc .container {
	flex-direction: column;
	align-items: center;
}

#pomoc p {
	text-align: center;
	max-width: 760px;
}

/***Kontakt + footer ***/
#kontakt {
	background: url('../img/bg-footer.jpg')top no-repeat;	
	margin-bottom:0;
	padding-top:150px;
	background-size: cover;
}
#kontakt .container {
	flex-direction: column;
	align-items: center;
}
.contact-holder {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin-bottom:40px;
}
.contact-holder p {
	margin-bottom:5px;
}
.contact-left {
	text-align: right;
	margin-right:10px;
	width:400px;
}
.contact-right {
	margin-left:20px;
	width:400px;
}
.contact-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom:40px;
}
.contact-logos img {
	margin:0 10px;
	transition: transform 0.2s;
}
.contact-logos img:hover {
	transform: scale(0.9);
}
.footer {
	font-size:14px;
	font-weight:400;
	color:#888;
}
.nonlink {
	text-decoration: none;
	color:#5b5b5b;
	transition: color 0.2s;
}
.nonlink:hover {
	color:#000;
}
/***Sidebar***/
#sidebar, #sidebar2 {
	display:flex;
	position:fixed;
	flex-direction: column;
	width:800px;
	padding:40px 20px 40px 40px;
	height:100vh;
	z-index: 101;
	background:#fff;
	overflow-y: hidden;
	-webkit-box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88); 
	box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88);
	transition:all 0.5s;
	left:-850px;
	border-radius:0 5px  5px 0;
}
.scroller {
	overflow-y: scroll;
	padding-right:20px;
}
.unwrap #sidebar, .unwrap2 #sidebar2 {
	left:0;
}
#overlay, #overlay3 {
	height:100vh;
	width:100vw;
	max-width: 100%;
	background:rgba(0,0,0,0.8);
	position:fixed;
	z-index:100;
	opacity:0;
	transition: all 0.5s;
	pointer-events: none;
}
.unwrap #overlay, .unwrap2 #overlay3 {
	opacity:1;
	pointer-events: all;
}
#close, #close3 {
	position:absolute;
	top:20px;
	right:23px;
	z-index:102;
	transition:transform 0.2s;
	display:none;
}
.unwrap #close, .unwrap2 #close3 {
	display:block;
}
#close:hover, #close3:hover {
	transform: scale(0.9);
}
.unwrap, .unwrap2, .popup-fixer, .unwrap-gallery {
	height:100vh;
	overflow-y: hidden;
	margin-right:17px;
	width:auto;
	max-width: inherit;
}
.unwrap .navline, .unwrap2 .navline, .popup-fixer .navline,
.unwrap #smartbutton, .unwrap2 #smartbutton, .popup-fixer #smartbutton {
	margin-right:17px;
}
.unwrap .logo, .unwrap2 .logo, .popup-fixer .logo, .unwrap-gallery .logo {
	margin-left:17px;
}
/***video popup***/
.popup-video {
	position: relative;
	background: #fff;
	padding: 20px 50px 50px;
	width:auto;
	max-width: 660px;
	margin: 20px auto; 
	text-align:center;
	-webkit-box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88); 
	box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88);
	border-radius:5px;
}
.popup-video .postavy-title:after {
	z-index:1046;
}
.popup-video .video-title {
	font-size:40px;
	line-height:48px;
	margin-bottom:20px;
	margin-top:0;
}
.popup-smudge {
	display: block;
	content: '';
	background: url('../img/smudge3.png')center no-repeat;	
	width:266px;
	height:53px;
	position:absolute;
	top: 29px;
	left: calc(50% - 133px);
}
.video-preloader .loaderInner {
	z-index:-1;
}
.popup .navline {
	margin-right:17px;
}
.popup {
	margin-right:17px;
}
/***popup postavy***/
.popup-postava {
	position: relative;
	background: #fff;
	padding: 20px 50px 50px;
	width:auto;
	max-width: 660px;
	margin: 20px auto; 
	text-align:center;
	-webkit-box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88); 
	box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88);
	border-radius:5px;
}
.popup-postava p {
	text-align:left;
	margin-bottom:0;
}
.popup-postava img {
	float:left;
	margin-right:30px;
	margin-bottom:10px;
}
.popup-postava .postava-title {
	font-size:50px;
	margin-bottom:20px;
	margin-top:0;
}
.popup-smudge2 {
	background: url('../img/smudge2.png')center no-repeat;	
	width:159px;
	height:39px;
	position:absolute;
	top: 45px;
	left: calc(50% - 81px);
	z-index: -1;
}
.popup-postava h3 {
	margin-top:-25px;
	margin-bottom:20px;
	color:#5b5b5b;
}
.popup-postava.popup-stab {
	max-width:700px;
}
.popup-postava {
	min-height:360px;
}
/***Fotogalerie***/
#sidebar-gallery {
	display:flex;
	position:fixed;
	flex-direction: column;
	width:800px;
	padding:40px 20px 40px 40px;
	height:100vh;
	z-index: 101;
	background:#fff;
	overflow-y: hidden;
	-webkit-box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88); 
	box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88);
	transition:all 0.5s;
	left:-850px;
	border-radius:0 5px  5px 0;
}
.unwrap-gallery #sidebar-gallery {
	left:0;
}
#overlay2 {
	height:100vh;
	width:100vw;
	max-width: 100%;
	background:rgba(0,0,0,0.8);
	position:fixed;
	z-index:100;
	opacity:0;
	transition: all 0.5s;
	pointer-events: none;
}
.unwrap-gallery #overlay2 {
	opacity:1;
	pointer-events: all;
}
#close2 {
	position:absolute;
	top:20px;
	right:23px;
	z-index:102;
	transition:transform 0.2s;
	display:none;
}
.unwrap-gallery #close2 {
	display:block;
}
#close2:hover {
	transform: scale(0.9);
}
.unwrap-gallery .navline {
	margin-right:17px;
}
#sidebar-gallery .scroller {
	display: flex;
	flex-wrap: wrap;
	height:100%;
}
.galleryimage {
	flex:1 0 33%;
}
.galleryimage img {
	border-radius:5px;
}
/***Aktuality popup***/
.popup-aktualita {
	position: relative;
	background: #fff;
	padding: 20px 50px 50px;
	width:auto;
	max-width: 660px;
	margin: 20px auto; 
	text-align:left;
	-webkit-box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88); 
	box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88);
	border-radius:5px;
}
.aktualita-title {
	font-size:40px;
	margin-bottom:20px;
	line-height: 48px;
	margin-top: 10px;
	margin-bottom: 0;
	text-align: left;
}
.popup-aktualita p {
	text-align:left;
}

.popup-aktualita p:last-child {
	margin-bottom: 0;
}
.popup-aktualita .date {
	margin-bottom:10px;
	font-size:14px;
	color:#888;
	margin-top:5px;
}
.popup-aktualita .postavy-aktualita:after {
	z-index:1046;
}
.popup-aktualita img {
	border-radius: 5px;
	margin-bottom:10px;
}
.popup-smudge3 {
	background: url('../img/smudge2.png')center no-repeat;	
	width:159px;
	height:39px;
	position:absolute;
	top: 46px;
	left: 30px;
	z-index: -1;
}
/***Media queries***/
@media(max-width: 1880px){
	.hero-right {
		width: 700px;
		background-size:contain;
	}
	.hero-namibia {
		width: 524px;
		background-size: contain;
	}
	.hero-left {
		margin-left:90px;
	}
	h4 {
		font-size: 19px;
		line-height: 25px;
		padding-right:50px;
	}
	h1 {
		font-size:70px;
		line-height:78px;
		margin-bottom:10px;
	}
	.video-thumb {
		width: 388px;
		height: 221px;
		background-size: contain;
		margin-top:15px;
	}
	h1:after {
		left: 113px;
	}
	.video-smudge {
		top:130px;
	}
	.gallery-holder {
		width:100%;
	}
	.gallery-holder div {
		background-size:contain;
	}
	.stripe1:after {
		top:0px;
	}
	.stripe2:after {
		bottom:-30px;
	}
	.stripe3:after {
		top:-4px;
	}
	.popup-postava {
		max-width: 880px;
	}
	.about-text {
		padding-left: 50px;
		padding-right: 50px;
	}

	.unwrap, .popup-fixer, .unwrap2 {
		width:auto;
		max-width: inherit;
		margin-right: 0;
	}
	.unwrap, .unwrap2, .popup-fixer .navline {
		margin-right:0;
	}
	.unwrap, .unwrap2, .popup-fixer .logo {
		margin-left:0;
	}
}
@media (max-width: 1690px) {
	.navline {
		padding-left: 1.5%;
		padding-right: 1.5%;
	}
	.logos {
		left: 1.5%;
	}
	.navline a, .menu .language {
		font-size:15px;
	}
	.menu li {
		margin-left: 30px;
	}
	.logo-text {
		font-size:25px;
	}
	.logo img {
		height:38px;
	}
}
@media(max-width: 1520px) {
	h4 {
		font-size:17px;
		line-height:25px;
	}
}
@media(max-width: 1455px) {
	.navline ul {
		padding-left:0;
		margin-right:10px;
	}
	.navline li {
		margin-left:20px;
	}
	.menu li.switcher {
		margin-left: 10px;
		padding-left: 10px;
	}
	.navline .logo img {
		transform:scale(0.7);
	}
	.navline .logo .logo-text {
		font-size:23px;
	}
	.navline .logo .sublogo-text {
		line-height: 1;
	}
	.navline .logo-text-container {
		margin-left:0;
	}
	.menu .subnav {
		padding: 15px;
		margin-left: -15px;
		padding-right: 25px;
	}
	.navline {
		padding-left: 0.5%;
		padding-right: 0.5%;
		height:70px;
	}
	.sublogo-text, .scrolled .sublogo-text {
		font-size: 13px;
	}
	.navline a, .navline .language {
		font-size: 14px;
	}

	.separator, .language {
		display: none;
	}
	.language.active {
		display: block;
	}
}

@media(max-width: 1400px) {
	
	.hero-namibia {
		width: 424px;
		height:420px;
		top:130px;
		left:-120px;
	}
	.container {
		max-width:1200px;
	}
	h4 {
		padding-right:0;
		font-size:15px;
		line-height:23px;
	}
	h1, h2 {
		font-size:55px;
		line-height:63px;
		margin-bottom:10px;
	}
	#sidebar-gallery h2 {
		margin-bottom: 20px;
	}
	.postavy-title:after {
		top: 27px;
		left: 9px;
	}
	.nasledky-title:after {
		top: 24px;
	}
	.about-title:after {
		top: 27px;
		left: -10px;
	}
	.aktuality-title:after {
		top: 29px;
		left: 10px;
	}
	#kontakt .aktuality-title:after {
		left: -5px;
	}
	h1:after {
		left:71px;
		top:31px;
	}
	.hero-left {
		margin-left:70px;
	}
	a, button, p {
		font-size:15px;
		line-height:22px;
	}
	.about-gallery {
		transform: scale(0.8);
	}
	section {
		margin-top:80px;
		margin-bottom:80px;
	}
	#nasledky .about-text {
		padding-left:70px;
		padding-right: 30px;
	}
	#o-filmu .about-text {
		padding-left: 70px;
		padding-right:30px;
	}
	.stripe1:after {
		top: 30px;
	}
	.stripe2:after {
		bottom: 0;
	}
	.stripe3:after {
		top: 26px;
	}
	.aktualita img {
		max-width: 360px;
		max-height: 180px;
	}
	#stab .postavy-holder {
		max-width: 1200px;
		width: 1200px;
	}
	#fotogalerie p {
		margin-top: 10px;
	}
	.popup-postava {
		min-height:360px;
	}
	#sidebar-gallery, #sidebar, #sidebar2 {
		padding: 10px 20px 20px 40px;
	}
	.bg7 {
		top: -100px;
	}
	.bg6 {
		top: -10px;
	}
	.unwrap, .unwrap2, .popup-fixer .navline {
		margin-right:0;
	}
	.unwrap, .unwrap2, .popup-fixer .logo {
		margin-left:0;
	}
	.unwrap, .unwrap2, .popup-fixer {
		width:auto;
		max-width: inherit;
		margin-right: 0;
	}
}
@media(max-width: 1200px) {
	.navline a, .navline language {
		font-size: 13px;
	}
	.navline li {
		margin-left: 14px;
	}
	.navline li.switcher {
		margin-left: 7px;
		padding-left: 7px;
	}
	.video-thumb {
		width: 328px;
		height: 191px;
	}
	.logo {
		width: 215px;
	}
	.navline .logo .logo-text.english {
		font-size: 22px;
	}
	.hero-left {
		margin-right: 15px;
	}
	.hero-namibia {
		width: 324px;
		height: 310px;
		top:160px;
		left:-80px;
	}
	.about-gallery {
		transform: scale(0.7);
	}
	#o-filmu .about-gallery {
		margin-left: -50px;
	}
	.container {
		max-width:1000px;
	}
	#o-filmu .about-text {
		padding-right:0;
		padding-left:100px;
	}
	.postavy-holder {
		max-width: 1000px;
	}
	.bg3 {
		top:240px;
	}
	.bg4 {
		top:150px;
	}
	.bg1 {
		right:-500px;
	}
	#nasledky .about-gallery {
		margin-left: -76px;
	}
	.aktuality-holder, .aktuality-hidden {
		max-width:1000px;
	}
	.aktualita img {
		max-width: 288px;
		max-height: 150px;
	}
	.bg6 {
		top: 0px;
	}
	#stab .postavy-holder {
		max-width: 1000px;
		width: 1000px;
	}
	#stab .postava {
		flex: 1 0 25%;
	}
	#gallery-button {
		margin-top:-10px;
	}
	.unwrap, .unwrap2, .popup-fixer {
		width:100vw;
		max-width: 100%;
	}
	.unwrap, .unwrap2, .popup-fixer .navline {
		margin-right:0;
	}
	.unwrap, .unwrap2, .popup-fixer .logo {
		margin-left:0;
	}
}
@media (max-width:1045px) {
	a, button, div {
		-webkit-tap-highlight-color: transparent;
	}

	#smartbutton {
		display:inline-block;
		position:fixed;
	}
	.navline ul {
		opacity:0;
		transition:all 0.5s;
		pointer-events: none;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		background: #fff;
		position: fixed;
		top: -16px;
		padding: 20px;
		height: 100vh;
		padding: 20px;
		right:-220px;
		width:220px;
		-webkit-box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88); 
		box-shadow: 0px 0px 27px -11px rgba(0,0,0,0.88);
		border-radius:5px;
		padding-top:50px;
	}
	.navline ul.open {
		opacity: 1;
		pointer-events: auto;
		right:0px;
		margin-right:0;
	}
	.navline a.active {
		color:#5b5b5b;
	}

	.navline a.active:before {
		display:none;
	}
	.navline li {
		margin-left:0;
		padding:13px
	}
	.navline li a {
		font-size:17px;
	}
	.navline {
		position: absolute!important;
		width:100vw;
		max-width: 100%
	}
	.menu li:nth-child(6) span {
		display: none;
	}
	.menu .subnav {
		position: relative;
		opacity: 1;
		margin-top: 0;
		box-shadow: none;
		-webkit-box-shadow: none;
		padding-bottom: 0;
		padding-top: 20px;
	}
	.navline li.switcher{
		padding: 13px;
		margin: 0;
		border: 0;
	}
	.navline .language, .navline .separator,.navline .language.active {
		display: inline-block;
		font-size: 17px;
	}
	.hero-right {
		display:none;
	}
	.hero-left {
		width:100%;
		margin:0;
	}
	.container {
		width:100%;
		padding:0 20px;
	}
	.navline {
		padding-left:15px;
		top:0;
	}
	.logos {
		position: relative;
	}
	.logo-separator {
		border-left: 1px solid #ddd;
		border-bottom:0;
    	margin-left: 10px;
    	margin-right: 20px;
    	height: 28px;
    	width: 1px;
	}
	.video-smudge {
    	top: 120px;
	}
	header {
		height:auto;
		display: flex;
		flex-direction: column;
	}
	header .container {
		max-width: 100%;
		margin-top:80px;
	}
	.video-thumb {
		width: 392px;
		height:221px;
	}
	.bg1 {
		transform: scale(0.7);
		top: -140px;
	}
	.logos {
		flex-direction: row;
		top: 20px;
		justify-content: flex-start;
		left: 20px;
	}
	.logos img {
		margin-right:15px;
	}
	.video-smudge {
		transform: scaleX(-1);
		left:204px;
	}
	#o-filmu .container {
		flex-direction: column-reverse;
	}
	#o-filmu .about-text {
		padding:0;
		width:100%;
	}
	.bg2 {
		display:none;
	}
	section {
		margin-top: 50px;
		margin-bottom: 50px;
	}
	#o-filmu .about-gallery {
		margin-top:-70px;
		margin-bottom:-70px;
	}
	.bg4 {
		transform: scale(0.6);
		left:-100px;
		top:0px;
	}
	.bg5 {
		transform: scale(0.6);
		right:-100px;
	}
	#nasledky .container {
		flex-direction: column;
	}
	#nasledky .about-text {
		padding:0;
		width:100%;
	}
	#nasledky .about-gallery {
		margin-top:-40px;
		margin-bottom:-70px;
		margin-left:-36px;
	}
	html {
		scroll-padding-top:20px;
	}
	.gallery-holder div {
		flex: 1 0 47%;
	}
	.gallery-holder div:nth-child(2n) {
		margin-top: 7px;
	}
	.gallery-holder {
		width: 100vw;
		padding-right:5px;
	}
	.bg6 {
		transform: scale(0.6);
		right:-200px;
		top:-300px;
	}
	.stripe1:after {
		display:none;
	}
	.stripe2:after {
		display:none;
	}
	#aktuality {
		margin-top: 50px;
	}
	#fotogalerie {
		margin-bottom:50px;
	}
	.aktuality-holder, .aktuality-hidden {
		max-width: 100%;
		flex-direction: column;
		flex-wrap: wrap;
		margin-top:30px;
	}
	.aktualita {
		flex:none; 
		padding: 0;
	}
	.aktualita p {
		max-width: 100%;
	}
	.aktualita h3 {
		margin-top:0;
	}
	.bg7 {
		transform: scale(0.7);
		left:-100px;
	}
	#stab .postava {
		flex: 1 0 21%;
		margin: 20px;
		text-align: center;
		margin-bottom: 0px;
	}
	#postavy .postava {
		margin-bottom:0px;
	}
	.postavy-holder {
		max-width: 100%;
	}
	#stab .postavy-holder {
		flex-wrap: wrap;
	}
	#stab .postavy-holder {
		max-width: 100%;
		width: 100%;
	}
	.stripe3, .stripe4 {
		display: none;
	}
	#kontakt {  
		padding-top: 120px;
	}
	.contact-holder {
		flex-direction: column;
	}
	.contact-left {
		text-align: center;
		margin-bottom:20px;
		margin-right: 0;
	}
	.contact-right {
		margin-left:0;
		text-align:center;
	}
	.contact-left p:nth-child(3) {
		margin-left:64px;
	}
	#kontakt .aktuality-title:after {
		left: -6px;
	}
	#kontakt .container {
		align-items: center;
	}
	#sidebar, #sidebar2, #sidebar-gallery {
		width:95%;
		left:-95%;
		padding-top: 25px;
		padding-left: 25px;
	}
	.popup-postava {
		max-width: 95%;
	}
	.popup-postava, .popup-video, .popup-aktualita {
		padding: 20px 30px 40px;
	}
	.galleryimage img {
		width: calc(100% - 8px);
	}
	#sidebar, #sidebar2, #sidebar-gallery {
		left:-100%;
	}
	.unwrap .navline, .unwrap2 .navline, .popup-fixer .navline, 
	.unwrap #smartbutton, .unwrap2 #smartbutton, .popup-fixer #smartbutton {
		margin-right: 0px;
	}
	.unwrap, .unwrap2 .popup-fixer {
		width:100vw;
		max-width: 100%;
	}
	.unwrap .logo, .unwrap2 .logo, .popup-fixer .logo {
		margin-left: 0px;
	}
	.postavy-holder {
		margin-top:20px;
	}
}
@media(max-width:760px) {
	.projekce {
		display: flex;
		width: 100%;
		flex-direction: column;
		padding: 20px;
	}

	.projekce .proj-col {
		width:100%!important;
		text-align: left!important;
		padding: 0;
	}

	.projekce-holder {
		margin-top: 0;
		margin-bottom: 30px;
	}

}

@media(max-width:700px) {
	.gallery-holder div {
		height: 203px;
	}
	.popup-video {
		max-width:95%;
		padding:20px 20px 50px;
	}
	iframe {
		width:100%;
		max-height:220px;
	}
	.galleryimage {
		flex: 1 0 50%;
	}
}
@media(max-width:530px) {
	.gallery-holder div {
		height: 133px;
	}
	.about-gallery {
		transform: scale(0.6);
	}
	#o-filmu .about-gallery {
		margin-top: -100px;
		margin-bottom: -100px;
	}
	#nasledky .about-gallery {
		margin-top: -70px;
		margin-bottom: -80px;
		margin-left: -52px;
	}
	.popup-postava img {
		float:none;
		margin-left:0;
		margin-right:0;
	}
	.scroll-holder {
		max-height: 75vh;
		overflow: scroll;
		padding-right:20px;
	}
	.popup-postava, .popup-aktualita {
		padding-right: 12px;
	}
	.popup-aktualita .scroll-holder {
		margin-top:20px;
	}
}
@media(max-width:460px) {
	.postava img {
		width: 130px;
	}
	.postava:nth-child(even) {
		margin-right:0!important;
		margin-left:10px!important;
	}
	.postava:nth-child(odd) {
		margin-left:0!important;
		margin-right:10px!important;
	}
	.postava h3 {
		line-height: 23px;
	}
	.postava p {
		margin-bottom:10px;
	}
	#postavy .postava {
		margin-bottom:10px;
	}
}
@media(max-width:430px) {
	.videolink {
		width:100%;
	}
	.video-thumb {
		width:100%;
		background-size: contain;
		margin-top:0;
	}
	#nasledky .about-gallery {
		margin-top: -137px;
		margin-bottom: -160px;
		margin-left: -52px;
	}
	.video-smudge {
		left: auto;
		right: -60px;
		top: 80px;
	}
	.about-gallery {
		transform: scale(0.45);
	}
	#o-filmu .about-gallery {
		margin-top: -140px;
		margin-bottom: -150px;
	}
	.gallery-holder {
		width: 100vw;
		padding-right: 5px;
	}
	.aktualita img {
		width:100%;
		height:auto;
		max-width: inherit;
		max-height:inherit;
	}
}
@media(max-width:350px) {
	.video-thumb {
		height:184px;
	}
	.video-smudge {
		top: 50px;
	}
	.gallery-holder div {
		height: 103px;
	}
}
