#main {
	background-color: rgb(40, 40, 40)!important;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat!important;

}

@media only screen and (max-width: 1025px) {
	.rozcestnik-menu{
		margin-top: 50px;
	}
}
@media only screen and (max-width: 1467px) {
	.rozcestnik-menu{
		margin-top:35px!important;
	}
}
@media only screen and (max-width: 1306px) {
	.rozcestnik-menu{
		margin-top:35px!important;
		font-size: 1.3em!important;
	}
}
@media only screen and (max-width: 1200px) {
	.rozcestnik-menu{
		margin-top:35px!important;
		font-size: 1em!important;
	}
}
@media only screen and (max-width: 865px) {
	.rozcestnik-menu{
		margin-top:0px!important;
		font-size: 1em!important;
	}

	.rozcestnik{
		flex-flow: column!important;
		margin-top: 0px;
		font-size: 2em;
	}

}

.rozcestnik-menu{
	margin-top: 58px;
}

#blog-image{
	background-color: rgb(40, 40, 40);
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat!important;
	background-position: center;
}
  
/* Makes a fixed background wrapper
which the user cannot interact with */

.iframe-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
	overflow: hidden;
  }
  
  /* Make the iframe keep an aspect ratio, and
  position it in the middle of its parent wrapper*/
  
  .iframe-wrapper iframe {
	width: 100vw;
	height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
	min-height: 100vh;
	min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	filter: brightness(50%);
  }

.replace-background{
	background-color: rgb(40, 40, 40)!important;
}

.landing{
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-flow: column;
	
}
.landing img{
	width: 35%;
}

.landing a{
	margin-top: -30px;
	border: 2px solid white;
	padding: .5em 1em;
	border-radius: 10px;
}

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

	.rozcestnik img{
		display: none!important;
	}
	.rozcestnik li{
		font-size: 1em!important;
	}

.landing img{
	width: 70%;
}

}


.rozcestnik img{
	width: 15%;
}
.rozcestnik{
width: 100%;
height: 100vh;
text-align: center;
display: flex;
justify-content: center;
flex-flow: row;

}

.rozcestnik li{
	font-size: 1.5em;
	list-style: none;
	padding: .5em;
	font-weight: 200;
}
.rozcestnik li:hover{
	-webkit-transition: -webkit-transform 0.2s;
	transition: transform 0.2s;
	transform-origin: 100% 0%;
	overflow: hidden;
}

nav .bottom-part {
	display:table-row;
}

nav .bottom-part .motto {
	width:50%;
	position: absolute;
	left:50%;
	bottom: 50px;
	transform: translateX(-50%);
	color:#fff;
	text-align: center;
}

nav .bottom-part .menu-links {
	width:25%;
	position: absolute;
	right:50px;
	bottom: 50px;
	color:#fff;
	text-align: right;
}

nav .bottom-part .menu-links ul {
	list-style:none;
	margin-bottom:0px;
}

nav .bottom-part .menu-links ul li { 
	margin-bottom:15px;
} 

#hero-caption {
	padding-bottom:50px;
}

.eighty {
	max-width: 80%;
}

.dimmed {
	opacity: 0.7;
	transition: opacity 0.5s;
}

.dimmed:hover {
	opacity:1;
}

.grayscale {
	opacity: 1;
	transition: all 0.5s;
	filter: grayscale(1);
}

.grayscale:hover {
	filter: grayscale(0);
}

.gray {
	background-color: rgb(40, 40, 40);
}

.project-grid {
	display:flex;
	flex-wrap: wrap;
	align-items: center;
}

.contact-heading {
	margin-bottom:10px;
}

.contact-detail {
	font-weight: 300;
}

.contact-detail-p {
	margin-bottom:0;
}

.swiper-controls-wrapper {
	padding-top:50px;
}

.swiper-controls-wrapper .swiper-pagination {
	left:50%;
	-webkit-transform: translate3d(-50%, 0px, 0px);
	-moz-transform: translate3d(-50%, 0px, 0px);
	transform: translate3d(-50%, 0px, 0px);
}

.swiper-controls-wrapper .swiper-next {
	float: right !important;
	right:0px;
}

.row_padding_top.smaller {
	padding-top: 4vw;
}

.row_padding_bottom.smaller {
	padding-bottom: 4vw;
}

.row_padding_bottom.extra-small {
	padding-bottom: 1vw;
}

.swiper-controls-wrapper .button-text span::after {
	content:none !important;
}

.project-item {
	flex: 1 0 21%; /* explanation below */
	margin: auto;
	position: relative;
	max-width: 25%;
}

.project-grid.articles .project-item {
	flex: auto;
	max-width: 50%;
	align-self: flex-start;
	margin-top: 0;
}

.project-grid.articles .project-item h5, .project-grid.articles .project-item p {
	padding-left:15px;
}

.project-grid.articles .project-item h5 {
	margin-top:15px;
}

.project-grid.articles .project-item .description { 
	margin-bottom:20px;
}


.project-item.article-item {
	flex: 1 0 21%; /* explanation below */
	margin: auto;
	position: relative;
	max-width: none;
}

.project-item img {
	width:100%;
	filter: saturate(0.5);
	transition: filter 0.5s;
}

.project-item:hover img {
	filter: saturate(1);
}

.article-item img {
	filter: saturate(0.5);
	transition: filter 0.5s;
}

.article-item:hover img {
	filter: saturate(1);
}


.project-item .absolute-frame {
    position: absolute;
    /*padding-top: 60%;*/
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    background: rgba(0, 0, 0, 0.5);
    padding-bottom: 10%;
    box-sizing: border-box;
}
.project-item .absolute-frame .frame-content {
	width:100%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	box-sizing: border-box;
}


.project-item:hover .absolute-frame {
	opacity:1;
}

.project-item:hover .absolute-frame a {
	position: absolute;
	left:0;
	top:0;
	bottom:0;
	right: 0;
	display: block;
	z-index: 99;
}

.absolute-frame::before {
	position: absolute;
	content:' ';
	width:90%;
	height:90%;
	left:5%;
	top:5%;
	border:1px solid #fff;
}

.project-item .absolute-frame h5 {
	font-size: 18px;
	font-weight: bold;
	width:100%;
	display:block;
	margin-bottom: 5px;
}

.project-item .absolute-frame h6 {
	font-size: 16px;
	font-weight: normal;
	font-style: italic;
	width:100%;
	display:block;
	margin-bottom: 5px;
}

.project-item .absolute-frame span {
	display:inline-block;
	margin-top:30px;
	color:#fff;
	text-transform: uppercase;
	text-decoration: underline;
}





.article-item {
	flex: 1 0 21%; /* explanation below */
	margin: auto;
	position: relative;
	max-width: 25%;
}

.article-item.article-item {
	flex: 1 0 21%; /* explanation below */
	margin: auto;
	position: relative;
	max-width: none;
}

.article-item img {
	width:100%;
}

.article-item .absolute-frame {
    position: absolute;
    padding-top: 28%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    background: rgba(0, 0, 0, 0.5);
    padding-bottom: 28%;
    box-sizing: border-box;
}

.article-item:hover .absolute-frame {
	opacity:1;
}

.article-item:hover .absolute-frame a {
	position: absolute;
	left:0;
	top:0;
	bottom:0;
	right: 0;
	display: block;
	z-index: 99;
}

.article-item .absolute-frame::before {
	position: absolute;
	content:' ';
	width: calc(100% - 32px);
	height:calc(100% - 32px);
	left:15px;
	top:15px;
	border:1px solid #fff;
}

.article-item .absolute-frame h5 {
	font-size: 36px;
	font-weight: bold;
	width:100%;
	display:block;
	margin-bottom: 5px;
}

.article-item .absolute-frame h6 {
	font-size: 24px;
	font-weight: normal;
	font-style: italic;
	width:100%;
	display:block;
	margin-bottom: 5px;
}

.article-item .absolute-frame span {
	font-size: 18px;
	display:inline-block;
	margin-top:30px;
	color:#fff;
	text-transform: uppercase;
	text-decoration: underline;
}

.half-white-section.fixed-height {
	max-height:450px;
}

.vc_row.absolute {
	position: absolute !important;
	left:0 !important;
}

.project-target figcaption {
	background:none;
	border:none;
	bottom:5px;
	line-height: 24px;
	left:0px;
	right:auto;
	font-weight: 300;
	font-style: italic;
	font-size:16px;
}

.article-gallery figcaption {
	display:none !important;
}


.project-target figcaption span.fig-title, .article-gallery figcaption span.fig-title {
	font-weight: 400;
	font-style: normal;
}

.fullscreen-menu .menu .button-text {

}

.mfp-content figcaption, .mfp-bottom-bar {
	display:block;
}

.mfp-content figcaption {
    max-width: none;
    background-color: transparent;
    position: absolute;
    width: 100%;
    right: auto;
    display: block;
    border: none;
    box-sizing: border-box;
	padding: 0;
	font-weight: 400;
	font-size:16px;
}

.mfp-bottom-bar {
	margin-top: -45px;
    position: absolute;
    top: 100%;
    left: 15px;
    width: calc(100% - 30px);
    cursor: auto;
}
.about-text p {
	margin-bottom: 25px;
}

#partners li img {
	padding:10%;
	box-sizing: border-box;
}

.frame-content {
	padding-left: 20px;
    padding-right: 20px;
}

.inline-icon {
	display:inline-block;
	margin-right: 8px;
	max-width: 18px;
}

/*
.project-target {
	background:#fff;
}

.project-target > div {
	opacity:0;
	transition: all 1s;
}

.project-target.visible > div {
	opacity:1;
}*/

#share.in-article::before  {
    top: 18px;
}

.form-pre-title {
	margin-bottom:1em;
	font-size:18px;
	font-weight: 300;
	display: inline-block;
}


@media (max-width:1199px) {
	.project-item {
		max-width: 50%;
		flex: 1 0 45%;
	}
	
}

.swiper-caption {
	display:none;
}

.push-right {
	float:right !important;
}

@media (max-width:767px) {


	.caption-left {
		width: 100%;
		font-weight: 300;
		font-style: italic;
		display:block;
		text-align: center;
	}
	
	.caption-left br, .caption-right br {
		display:none;
	}
	
	.caption-right {
		width: 100%;
		font-weight: 400;
		font-style: bold;
		display:block;
		text-align: center;
	}
	

	.main-content > div {
		padding-left:10px;
		padding-right:10px;
	}

	nav .bottom-part .menu-links { 
		width:calc(100%);
		left:0;
		text-align: center;
		position: relative;
		margin-top:30px;
		bottom:auto;
	}

	nav .bottom-part .menu-links ul {
		margin:0;
	}

	.project-item .absolute-frame, .article-item .absolute-frame {
		opacity: 1;
	}

	.project-item .absolute-frame {
		padding-top: 0;
	}

	.project-item .absolute-frame .frame-content {
		width:100%;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		padding-left: 0px;
    	padding-right: 0px;
	}

	.project-item .absolute-frame h5 {
		font-size:16px;
		line-height: 18px;
	}
	.project-item .absolute-frame h6 { 
		font-size:14px;
		font-size:16px;
	}
	.absolute-frame::before, .project-item .absolute-frame span { 
		display:none;
	}

	.project-swiper-prev .button-text, .project-swiper-next .button-text, #project-pagination {
		display:none;
	}

	.swiper-controls-wrapper {
		position: relative;
		width: 100%;
		padding-top:0;
	}

	.content-looped-carousel .swiper-slide {
		width:90%;
	}

	.content-looped-carousel figcaption {
		display:none !important;
	}

	.mobile-gallery.row_padding_bottom.smaller  {
		padding-bottom: 0;
		padding-top: 50px;
		margin-top: -50px;
	}

	.swiper-caption {
		padding-top: 10px;
		display: inline-block;
		color: #fff;
		width: calc(100% - 120px);
		text-align: center;
	}

	.eighty {
		max-width: 100%;
	}

	.article-item .absolute-frame h5 {
		font-size:20px;
	}

	.project-grid.articles .project-item {
		max-width: 100%;
	}

	.project-grid.articles .project-item h5, .project-grid.articles .project-item p {
		padding-left: 0;
	}

	.row_padding_top.first-row {
		padding-top: 15vh;
	}

	.swiper-controls-wrapper .swiper-next {
		right: -24px !important;
	}
/*
	#main .button-wrap.left {
		left:0;
	}

	#main .button-wrap.left {
		left:0;
	}*/

	.article-item .absolute-frame {
		padding-top: 0;
	}

	.article-item .absolute-frame .frame-content {
		width:100%;
		position: absolute; /* Aktivuje absolutní pozicování */
		top: 50%; /* Vertikální středování */
		left: 50%; /* Horizontální středování */
		transform: translate(-50%, -50%); /* Posune obraz o polovinu své výšky a šířky */
	}

	.article-item .absolute-frame span {
		margin-top:15px;
		display:block;
	}


}

.grecaptcha-badge {
	z-index: 1;
}