body, table, form {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', Tahoma, Arial, Helvetica, Sans-serif;
	color: #000000;
	font-size: 0.9em;
	line-height: 1.4em;
	-webkit-font-smoothing: antialiased;
}

body {
	overflow: hidden;
	background: #FFF;
}

body.body-editor {
	background: #666 !important;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.8);
    background-color:#fff;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba( 137, 50, 131, 0.9 ); 
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.5); 
}

img {
	border: 0;
}

table {
	font-size: 1em;
}

input, textarea {
	border-radius: 5px;
	border: 1px solid #DDDDDD;
	padding: 12px 10px 12px 10px; 
}

ul {
	-webkit-margin-before: 0em;
	-webkit-margin-after: 0em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 0px;
	margin: 40px 0 40px 0;
	list-style: none;
}

li {
	padding: 5px 0 5px 23px;
}

a {
	color: #DDD;
	text-decoration: underline;
}

a:hover {
	color: #FFF;
	text-decoration: underline;
}

#cover {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 15;
	background-color: rgba( 0, 0, 0, 0.7 );
	cursor: pointer;
}

#dialog {
	display: none;
}

#page {
    width: 100%;
    height: 100%;
    float: left;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

#page .in {
	margin: 160px auto 10px auto;
	width: 1300px;
	background: rgba( 0, 0, 0, 0.5 ) ;
	height: 730px;
	overflow: auto;
	color: #FFF;
}

#page .in .pad {
	margin: 30px;
}

#top {
	float: left;
	width: 100%;
	position: fixed;
	z-index: 2;
}

#top a, #menu a {
	text-decoration: none;
}

#container {
	position: absolute;
	float: left;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 10;
	-webkit-box-shadow: 0px 0px 26px 0px rgba(0,0,0,0.39);
	-moz-box-shadow: 0px 0px 26px 0px rgba(0,0,0,0.39);
	box-shadow: 0px 0px 26px 0px rgba(0,0,0,0.39);
}

header {
	padding: 0;
}

#kontaktl {
	float: left;
	width: 50%;
}

#kontaktr {
	float: right;
	width: 40%;
	margin-bottom: 30px;
}

#logo {
	float: left;
	width: 100%;
	background: rgba( 0, 0, 0, 0.9 );
	padding: 10px 0 10px 0;
}

#logo .in {
	width: 300px;
	height: auto;
	margin: 0 auto 0 auto;
}

#menu {
	display: none;
	position: fixed;
	background: rgba( 137, 50, 131, 0.9 );
	width: 300px;
	height: 100%;
	top: 0;
	right: 0;
	z-index: 5;
}

#menu ul {
	margin: 28px 0 28px 0;
}

#menu a {
	color: #FFF;
}

#menu .pad {
	margin: 30px 0 30px 0;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
}

#menu #social .social {
	float: left;
	width: 40px;
}

#menu #social .social img {
	width: 40px;
	height: auto;
}

#menu-noresp {
	background: rgba( 137, 50, 131, 0.9 );
	float: left;
	width: 100%;
}

#menu-noresp ul {
	float: none;
	width: 850px;
	margin: 0 auto 0 auto;
}

#menu-noresp ul li {
	float: left;
	margin: 0 30px 0 30px;
}

#menu-noresp ul li.social {
	float: left;
	margin: 0;
	padding: 6px 5px 0 5px;
}

#menu-noresp ul li a {
	color: #FFF;
	text-transform: uppercase;
}

#menu-noresp ul li a:hover {
	text-decoration: underline;
}

/*video*/

#video-container { 
	float: left;
    width: 50%;
    height: 100%;
}

#video-container video {
 	width: 100%;
    height: 100%;
  	transition: 1s opacity;
}

#video-container:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
}

#video-container {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

#video-container video {
	object-fit: fill;
}

#video-container .video-content {
	cursor: pointer;
	height: 100%;
	position: relative;
}

.references {
	width: 100%;
	margin: 0 auto 0 auto;
}

.references .row, .videos .row {
	display: flex;
}

.references .row {
	align-items: center;
	justify-content: center;
}

.quot, .sixt, .video {
	flex-direction: row;
	float: left;
	vertical-align: middle;
	text-align: center;
	width: 17%;
	margin: 1.5% 4%;
}

.sixt {
	width: 14.6%;
	margin: 1%;
}

.projects {
	float: left;
	width: 100%;
}

.project {
	float: left;
	width: 100%;
	background: rgba( 0, 0, 0, 0.3 ) ;
	margin-bottom: 20px;
	padding-bottom: 20px;
	cursor: pointer;
}

.project .img {
	float: left;
	width: 170px;
	margin-right: 30px;
}

.project .img img {
	width: 170px;
	height: auto;
}

.project .pad {
	padding: 0;
	margin: 20px;
}

.projectl {
	float: left;
	width: 45%;
    margin-bottom: 30px;
}

.projectr {
	float: right;
	width: 45%;
	text-align: center;
	margin-bottom: 30px;
}

.projectl h2, .projectr h2, #kontaktr h2 {
	font-weight: 500;
	margin-bottom: 30px;
}

.projectl h2 {
	margin-top: 40px;
}

.gallery {
}

.photo {
	width: 120px;
	height: 67px;
	float: left;
	text-align: center;
	margin: 0 10px 10px 0;
}

.photo img {
	width: auto;
	height: auto;
	max-width: 120px;
	max-height: 67px;
}

.quot img, .sixt img, .video img, .project img {
	max-width: 100%;
	height: auto;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}

.pages {
	float: left;
	width: 100%;
	text-align: center;
}

.video img {
	border: 1px solid #999;
}

.quot:hover img, .sixt:hover img, .video:hover img, .project:hover img {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}

.video {
	cursor: pointer;
	width: 21%;
	margin: 1% 2%;
}

.video h2, .project h2 {
	color: #FFF;
	font-size: 1em;
	line-height: 1.2em;
}

.project h2 {
	font-size: 1.5em;
}

.project h2 a {
	text-decoration: none;
}

.ui-dialog-titlebar-close {
	border: none !important;
	background: none !important;
	color: #FFF !important;
	outline: none !important;
	height: 32px;
	width: 32px;
}

.ui-dialog-title {
	margin-top: 5px !important;
}

.ui-dialog-titlebar {
	height: 50px !important;
}

.ui-dialog-titlebar-close span {
	background: none !important;
}

.ui-dialog-titlebar-close span.ui-icon-closethick {
	background: url( '/picture/Ico/dialog_close.png' ) center center no-repeat !important;
    margin-left: -24px !important;
    margin-top: -25px !important;
    width: 32px !important;
	height: 32px !important;
}

.ui-dialog {
	background: rgba( 0, 0, 0, 0.95 ) !important;
	border: none !important;
}

.ui-dialog-titlebar {
    background: none !important;
    border: none !important;
    color: #FFFFFF !important;
}
/*video*/

#textHome {
	position: absolute;
    z-index: 1;
    width: 100%;
    top: 40%;
    text-align: center;
    display: none;
    transform: translateY(+50%);
}

.contact {
	background: rgba( 0, 0, 0, 0.9 ) ;
	float: left;
    color: #fff;
}

h1 {
	color: #FFF;
	font-weight: 500;
    font-size: 2.5em;
    line-height: 1.3em;
    padding: 0;
    margin: 0 0 30px 0;
    text-transform: uppercase;
}

form .sOkMess {
	background: rgba( 255,255,255,0.95) !important;
	border-radius: 5px !important;
    padding: 10px !important;
}

#textHome h1 {
	margin: 0;
	font-size: 3.5em;
}

.tym1, .tym3, .tym5, .tym6, .tym7, .tym8, .tym9, .tym10 {
	color: #FFF;
}

.tym1 h2, .tym3 h2, .tym5 h2, .tym6 h2, .tym7 h2, .tym8 h2, .tym9 h2, .tym10 h2 {
	font-weight: 500;
}

.tym6 {
	margin:  30px 0 0 200px;
}

.tym7 {
	text-align: right;
	padding: 120px 100px 0 0;
	background: url( '/picture/Tym/bara.png' ) right center no-repeat;
}

.tym8 {
	text-align: left;
	padding: 50px 0 70px 100px;
	background: url( '/picture/Tym/pavel_haro.png' ) left center no-repeat;
}

.tym9 {
	margin: -67px 0 0 0px;
	text-align: right;
	padding: 0 100px 100px 0;
	background: url( '/picture/Tym/honza.png' ) right center no-repeat;
}

.tym9 h2 {
	margin-top: 30px;
}

.tym10 {
    margin-bottom: 20px;
}

.tym10 .half {
	width: 50%;
	float: left;
	text-align: center;
}

.tym3 {
	float: left;
	width: 300px;
}

.tym5 {
	float: left;
	width: 200px;
	margin-top: 100px;
	text-align: right;
}

.tym1 {
	float: left;
	width: 260px;
	margin-right: 20px;
}

.tym2 {
	float: left;
	width: 153px;
	height: 458px;
	background: url( '/picture/Tym/krejci.png' ) center center no-repeat;
}

.tym4 {
	float: right;
	width: 167px;
	height: 300px;
	margin: 100px 0 0 0;
	background: url( '/picture/Tym/michal.png' ) center center no-repeat;
}

.tymmain {
	float: left;
	width: 400px;
}

.tymothers {
	float: right;
	width: 400px;
	margin-top: -106px;
	background: url( '/picture/Tym/pavel.png' ) top left no-repeat;
	background-size: 40%;
}

#menu-icon {
    position: absolute;
    right: 15px;
    top: 33px;
}

#mobilHome {
	float: left;
	width: 100%;
	display: none;
}

#mobilHome h2 {
	margin: 20px 0 10px 0;
}

#mobilHome h2 a {
	color: rgba(137, 50, 131, 1);
	font-weight: 500;
	text-decoration: none;
}

#mobilHome .pad {
	margin: 30px;
}

@media screen and ( max-height: 600px ) {
	#textHome {
		top: 0;
		margin-top: 100px;
	}
}

@media screen and ( max-width: 1300px ) {
	#page .in {
		width: 100%;
		float: left;
		height: auto;
	}
	
	.projectr iframe {
		width: 500px;
		height: 280px;
	}
	
	.tymmain {
		width: 30%;
	}
	
	.tymothers {
		width: 30%;
	}
	
	.tym1 {
		width: 20%;
	}
	
	.tym2 {
		width: 10%;
		background-size: 100%;
	}
	
	.tym4 {
	    width: 30%;
	    margin-top: 30px;
    	background-size: 100%;
	}
	
	.tym5 {
		width: 180px;
	}
	
	.tym7 {
		padding-top: 64px; 
	}
}

@media screen and ( max-width: 1150px ) {
	.projectr iframe {
		width: 400px;
		height: 220px;
	}
}

@media screen and ( max-width: 1000px ) {
	body {
		overflow-y: auto;
	}

	h1 {
		text-align: center;
		margin-bottom: 50px;
	}
	
	#mobilHome {
		display: block;
	}
	
	#menu {
		display: block;
	}
	
	#menu-noresp {
		display: none;
	}
	
	#top {
		background: #FFF;
	}
	
	#container {
		background: #FFF;
	}
	
	.quot img, .sixt img, .video img, .project img {
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
		filter: alpha(opacity=100);
		-moz-opacity: 1;
		-khtml-opacity: 1;
		opacity: 1;
	}
	
	#page .in {
		margin-top: 150px;
		margin-bottom: 0;
	}
	
	.references {
		width: 100%;
	}
	
	#fadein {
		width: 100%;
		height: 500px;
		margin: 0;
	}
	
	#video-container, #video-container .orchis {
		width: 100%;
		height: 500px;
		background-position: 50% 50%;
		background-size: cover;
		background-repeat: no-repeat;
		margin: 0;
		padding: 0;
	}
	
	#fadein p {
		position: absolute;
	}
	
	#video-container .orchis {
		display: none;
	}
	
	#video-container .orchis:first-child { 
	   display: block;
	}
	
	#video-container .orchis.img1 {
		background-image: url( '/video/orchis1.jpg' );
	}
	
	#video-container .orchis.img2 {
		background-image: url( '/video/orchis2.jpg' );
	}
	
	#video-container .orchis.img3 {
		background-image: url( '/video/orchis3.jpg' );
	}
	
	#video-container .orchis.img4 {
		background-image: url( '/video/orchis4.jpg' );
	}
	
	#video-container .orchis.img5 {
		background-image: url( '/video/orchis5.jpg' );
	}
	
	#video-container video {
	 	display: none;
	}
	
	.tym1 {
		width: 50%;
	}
	
	.tym2 {
		width: 20%;
		height: 300px;
		background-size: 50%;
	}
	
	.tymmain {
		width: 26%;
	}
	
	.tym3, .tym5 {
		text-align: left;
		width: 100%;
	}
	
	.tym5 {
		width: 60%;
	}
	
	.tymothers {
		margin-top: 0;
		clear: both;
		width: 100%;
	}
	
	.tym6, .tym7, .tym8, .tym9, .tym10 {
		clear: none;
		float: left;
		width: 100%;
		padding: 0;
		margin: 20px 0 20px 0;
		text-align: center;
		position: static;
		background-size: contain;
	}
}

@media screen and ( max-width: 900px ) {
	.projectr iframe {
		width: 350px;
		height: 200px;
	}
}

@media screen and ( max-width: 800px ) {
	#logo .in {
		width: 250px;
		margin: 0 0 0 15px;
	}

	#logo .in a img {
		width: 250px;
	}
	
	#menu-icon {
		top: 33px;
	}
	
	#page .in {
		margin-top: 134px;
	}
	
	#kontaktl, #kontaktr {
		float: left;
		width: 100%;
	}
	
	#kontaktr {
		margin-top: 40px;
	}
	
	.projectl, .projectr {
		width: 100%;
		text-align: left;
	}
	
	.projectr {
		margin-top: 30px;
	}
	
	.projectr iframe {
		width: 400px;
		height: 220px;
	}
}

@media screen and ( max-width: 700px ) {
	.tym1 {
		width: 100%;
		margin-bottom: 40px;
	}
	
	.tymmain {
		width: 80%;
		margin-bottom: 40px;
	}
	
	.tym5 {
		width: 70%;
	}
	
	.tym4 {
		width: 21%;
    	right: 0;
    	height: 200px;
    }
}

@media screen and ( max-width: 500px ) {
	#logo .in {
		width: 200px;
	}
	
	#logo .in a img {
		width: 200px;
		height: auto;
	}
	
	#menu-icon {
		top: 22px;
	}

	#menu-icon .text {
		display: none;
	}
	
	#page .in {
		margin-top: 69px;
	}
	
	.references .row, .videos .row {
		display: block;
	}
	
	.references .row .quot, .references .row .sixt, .videos .row .video {
		width: 100%;
		margin: 0 0 50px 0;
	}
	
	.projectr iframe {
		width: 300px;
		height: 170px;
	}
	
	.project .img {
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}
	
	.project .img img {
		width: 100%;
	}
}

@media screen and ( max-width: 400px ) {
	.projectr iframe {
		width: 200px;
		height: 120px;
	}
}

@media screen and ( max-width: 370px ) {
	#menu {
		width: 80%;
	}
	
	#menu ul li a img {
		width: 90%;
		height: auto;
	}
	
	#menu #social .social {
		float: left;
		width: 35px;
	}
	
	#menu #social .social img {
		width: 35px;
	}
	
	.gallery {
		width: 260px;
		float: none;
		margin: 0 auto 0 auto;
	}
	
	.tym2, .tym4 {
		display: none;
	}
	
	.tymmain, .tymothers {
		width: 100%;
		background: none;
		margin: 0;
		padding: 0;
	}
	
	.tym3, .tym5, .tym6, .tym7, .tym8, .tym9, .tym10, .tym10 .half {
		width: 100%;
		margin: 0 0 20px 0;
		background: none;
		text-align: left;
	}
	
	.tymothers h2 {
		margin-top: 0 !importatn;
	}
}

@media screen and ( max-width: 300px ) {
	#logo .in {
		width: 140px;
	}
	
	#logo .in a img {
		width: 140px;
	}
	
	#menu-icon {
		top: 12px;
	}
	
	#page .in {
		margin-top: 55px;
	}
}