@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

/* Entypo Icon Font */
@font-face {
  font-family: 'entypo-selected';
  src: url("../fonts/entypo/entypo-selected.eot");
  src: 
	  url("../fonts/entypo/entypo-selected.eot?#iefix") format('embedded-opentype'), 
	  url("../fonts/entypo/entypo-selected.woff") format('woff'), 
	  url("../fonts/entypo/entypo-selected.ttf") format('truetype'), 
	  url("../fonts/entypo/entypo-selected.svg#entypo-selected") format('svg');
  font-weight: normal;
  font-style: normal;
}

html { height: 100%; }

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-weight: normal;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-weight: normal;
}

body {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    background: #fff;
    font-weight: normal;
    font-size: 16px;
    text-transform: uppercase;
    color: #999999;
    -webkit-font-smoothing: antialiased;
    overflow-y: scroll;
    overflow-x: hidden;
    letter-spacing: 0.125em;
}

a {
	text-decoration: none;
	color: #999999;
	outline: none;
}

a:hover,
a:focus {
	color: #479fbb;
	text-decoration: none;
}

a, button, input[type=submit],
.grid-nav span:before,
.cd-logo img {
  -webkit-transition: all 0.4s ease;
     -moz-transition: all 0.4s ease;
       -o-transition: all 0.4s ease;
      -ms-transition: all 0.4s ease;
          transition: all 0.4s ease;
}

header {
  -webkit-transition: height 0.4s ease;
     -moz-transition: height 0.4s ease;
       -o-transition: height 0.4s ease;
      -ms-transition: height 0.4s ease;
          transition: height 0.4s ease;
}

.text-left { text-align: left; }
.text-center { text-align: center !important; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.space5 { width: 100%; height: 0.75em; }
.space10 { width: 100%; height: 2em; }
.space20 { width: 100%; height: 4em; }
.space30 { width: 100%; height: 6em; }
.space40 { width: 100%; height: 8em; }
.margin-top-5 { margin-top: 6px !important;}
.middle { display: table-cell; vertical-align: middle; float: none; }
.relative { position: relative; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.clearfix { clear: both; }
.no-border { border: none !important; }
.uppercase { text-transform: uppercase !important; }
.non-uppercase { text-transform: none !important; }
.text-red { color: #d0112b !important; }
.mobileonly { display: none }
.responsive { width: 100%; max-width: none; }
.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

.container {
	width: 70%;
	max-width: 140em;
	margin: 0 auto;
}

.btn {
	position: relative;
	margin: 0;
	padding: 1em 2.5em;
	border: 0;
	background: #999;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
}

.btn:focus {
	outline: none;
}

.btn:hover {
	color: #fff;
	background: #479fbb;
	background-repeat: no-repeat;
	background-position: center;
}

.blue { color: #479fbb;}

/* Preloader */
#preloader {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff url(http://jelinek.dev2.cz/img/loader.gif.pagespeed.ce.A2HNjaB4PU.gif) center no-repeat;
    background-size: 18em;
    z-index: 9999;
}

/* Header Style */

header {
	padding: 0 0 1em;
	margin: 3em 0 3em;
	border-bottom: #ddd solid 1px;
}

header.scroll {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background: #fff;
	margin: 0;
	padding: 1.5em 0 0;
}

.cd-logo img {
	max-width: 20em;
}

header.scroll .cd-logo img {
	max-width: 12em;
}

header nav {
	margin: 2em 0 0;
}

header.scroll nav {
	margin-top: 0.75em;
}

header nav ul li {
	list-style: none;
	margin: 0 2em;
	padding: 0;
	display: inline-block;
}

header nav ul li a {
	font-size: 0.688em;
	display: block;
	position: relative;
	color: #999;
	padding-bottom: 0.5em;
	-webkit-transition: color 0.4s;
	transition: color 0.4s;
}

/*header nav ul li.active, header nav ul li:hover {
	border-bottom: 0.125em #479fbb solid;
}*/

header nav ul li.active a, header nav ul li:hover a,
header nav ul li a:hover { color: #999 }

header nav ul li,
header nav ul li:hover,
header nav ul li:focus {
	color: #999;
}

header nav ul li a::after,
header nav ul li a::before {
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
}

header nav ul li a::before {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

header nav ul li a:hover,
header nav ul li a:focus {
	/*color: #479fbb;*/
}

header nav ul li a:hover::before,
header nav ul li a:focus::before,
header nav ul li.active a::before {
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

header nav ul li a::before,
header nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	-webkit-transform: scale3d(0, 1, 1);
	transform: scale3d(0, 1, 1);
	-webkit-transform-origin: center left;
	transform-origin: center left;
	-webkit-transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
	transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

header nav ul li a::before {
	background: #479fbb;
	-webkit-transition-delay: 0.4s;
	transition-delay: 0.4s;
}

header nav ul li a::after {
	background: #fff;
}

/* home video */
#section-video {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	position: relative;
	overflow-x: hidden;
}
#section-video .video-logo {
	position: absolute;
	text-align: center;
	width: 100%;
	height: 100%;
	z-index: 6;
	background: url(http://jelinek.dev2.cz/img/xalicia-food-stylist-logo-white.png.pagespeed.ic.CozZJHBQTY.png) no-repeat center;
    background-size: 18em;
}
#section-video #video {
	width: 100%;
	height: auto;
}
.filter {
	z-index: 5;
    position: absolute;
    background: rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 100%;
}
#section-video #main-nav {
	z-index: 7;
	position: fixed;
	bottom: 2%;
	width: 100%;
	text-align: center;
}
#section-video #main-nav ul li {
	display: inline-block;
	list-style: none;
    margin: 0 2em;
    padding: 0;
}
#section-video #main-nav ul li a {
	font-size: 0.75em;
    display: block;
    position: relative;
    color: #fff;
    padding-bottom: 0.5em;
    -webkit-transition: color 0.4s;
    transition: color 0.4s;
}
#section-video #main-nav ul li a:hover {
	color: #479fbb;
}
#section-video #main-nav ul li a::after, #section-video #main-nav ul li a::before {
	    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}
#section-video #main-nav ul li a::before, #section-video #main-nav ul li a::after {
	content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transform-origin: center left;
    transform-origin: center left;
    -webkit-transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
#section-video #main-nav ul li a::before {
	background: #479fbb;
    -webkit-transition-delay: 0.4s;
    transition-delay: 0.4s;
}
#section-video #main-nav ul li a::after {
    background: #fff;
}
video.scale2{
  -moz-transform:scale(1.25);
  -webkit-transform:scale(1.25);
  -o-transform:scale(1.25);
  -ms-transform:scale(1.25);
  transform:scale(1.25);
}
/* grid Gallery Style */

.grid-container {
	min-height: 200px;
}

.grid-gallery {
	list-style-type: none;
	padding: 0;
	margin: 0;
	width: 100%;
	position: relative;
}

.grid-gallery:before,
.grid-gallery:after {
    content: " ";
    display: table;
}

.grid-gallery:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
.grid-gallery {
    *zoom: 1;
}
 */

.grid-gallery li {
	display: block;
	position: relative;
	cursor: pointer;
	float: left;
	padding: 0;
}

.grid-gallery li img {
	padding: 0.25em;
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
}

.grid-description {
	/*background: #479fbb;
	background: rgba(153, 221, 216, 0.8);*/
	/*background: #73bfb8;
	background: rgba(115,191,184,0.8);*/
	background: #479fbb;
	background: rgba(71,159,187,0.8);
	color: #fff;
	border: none; /*1em solid rgba(255,255,255,0.4);*/
	position: absolute;
	/*top: 20px;
	left: 20px;
	bottom: 20px;
	right: 20px;*/
	top: 0.25em;
	left: 0.25em;
	right: 0.25em;
	bottom: 0.25em;
	text-align: center;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transition: opacity 0.4s ease-in-out;
	-moz-transition: opacity 0.4s ease-in-out;
	-ms-transition: opacity 0.4s ease-in-out;
	-o-transition: opacity 0.4s ease-in-out;
	transition: opacity 0.4s ease-in-out;
}

.no-touch .grid-gallery li:hover .grid-description {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity: 1;
}
 
.grid-description:before {
	content: '';
	height: 100%;
}

.grid-description:before,
.grid-description h3 {
	display: inline-block;
	vertical-align: middle;
}

.grid-description h3 {
	width: 100%;
	padding: 0 20px;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: 2px;
}

.grid-buttons {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10001;
}

.grid-buttons button {
	float: left;
	background: #ddd;
	color: #fff;
	display: block;
	width: 30px;
	height: 30px;
	font-size: 14px;
	margin-left: 5px;
	cursor: pointer;
	border: none;
	outline: none;
}

.grid-buttons button:before,
.grid-nav span:before {
	font-family: 'entypo-selected';
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: block;
	text-align: center;
	opacity: 0.7;
	outline: none;
}

.no-touch .grid-buttons button:hover {
	background: #479fbb;
}

button.grid-btn-close:before {
	content: '\2715';
}

button.grid-btn-ssplay:before {
	content: '\25b6';
}

button.grid-btn-sspause:before {
	content: '\2389';
}

.grid-single-view {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;	
	z-index: 10000;
	text-align: center;
	display:none;
}

.grid-overlay {
	background: #fff;
	background: rgba(255,255,255,1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	display: none;
	z-index: 9999;
}

.grid-single-view img {
	position: absolute;
	cursor: pointer;
}

.grid-description-wrapper {
	background: transparent;
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 10;
	padding: 0;
}

.grid-single-view .grid-description {
	background: transparent;
	position: relative;
	bottom: auto;
	left: auto;
	right: auto;
	top: auto;
	border: none;

    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0idnNnZyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIgb2Zmc2V0PSIxIi8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI3ZzZ2cpIiAvPjwvc3ZnPg==);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%,color-stop(0, rgba(255, 255, 255, 0)),color-stop(1, rgb(255, 255, 255)));
    background-image: -webkit-linear-gradient(top,rgba(255, 255, 255, 0) 0%,rgb(255, 255, 255) 100%);
    background-image: linear-gradient(to bottom,rgba(255, 255, 255, 0) 0%,rgb(255, 255, 255) 100%);
    background-image: -ms-linear-gradient(top,rgba(255, 255, 255, 0) 0%,rgb(255, 255, 255) 100%);
}
 
/* IE8- CSS hack */
@media \0screen\,screen\9 {
    .grid-single-view .grid-description {
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff",endColorstr="#ffffffff",GradientType=0);
    }
}


.grid-single-view .grid-description h3 {
	font-size: 15px;
	padding: 0 0 0.5em;
	color: #666;
}


.grid-single-view .grid-description h3 br { display: none; }
.grid-single-view .grid-description h3 .icn-like { background-image: url('http://jelinek.dev2.cz/img/icns/xicn-like-ig-h.png.pagespeed.ic.HuwY23xZjB.png'); width: 1.25em; height: 1.25em; margin: 0 0 -0.25em 1em; }
.grid-single-view .grid-description h3 .icn-share { background-image: url('http://jelinek.dev2.cz/img/icns/xicn-share-pin-h.png.pagespeed.ic.BpMtjXV3aF.png'); width: 1.25em; height: 1.25em; margin: 0 0 -0.25em 1em; }


.grid-nav span {
	position: absolute;
	display: block;
	width: 20px;
	height: 38px;
	top: 50%;
	margin-top: -19px;
	left: 20px;
	cursor: pointer;
	text-align: center;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.grid-nav span.grid-next {
	left: auto;
	right: 20px;
}

.grid-nav span:before {
	color: #ccc;
	opacity: 1;
	font-size: 40px;
}

.grid-nav span:hover:before {
	opacity: 1;
	color: #479fbb;
}

.grid-nav span:before {
	display: block;
	margin: 0;
	width: auto;
}

.grid-nav span.grid-prev:before {
	content: '\e75d';
}

.grid-nav span.grid-next:before {
	content: '\e75e';
}

.grid-img-fly {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99999;
}

.grid-loading {
	background: transparent url(http://jelinek.dev2.cz/img/icns/loader_light.gif.pagespeed.ce.JR6yUdQmWg.gif) no-repeat center center;
}

.grid-single-view.grid-loading {
	background: transparent url(http://jelinek.dev2.cz/img/icns/loader_dark.gif.pagespeed.ce.Qo-y8fbE8Q.gif) no-repeat center center;
}

#loadmore { margin: 2em auto; display: inline-block; }

.icn-like, .icn-share {
	width: 1.5em;
	height: 1.5em;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: inline-block;
	margin: 1em 0.5em 0;
	opacity: 0.6;
}
.icn-like { background-image: url('http://jelinek.dev2.cz/img/icns/xicn-like-ig.png.pagespeed.ic.mkjFvTF33c.png'); }
.icn-like:hover { /*background-image: url('http://jelinek.dev2.cz/img/icns/xicn-like-ig-h.png.pagespeed.ic.HuwY23xZjB.png');*/ opacity: 1; }
.icn-share { background-image: url('http://jelinek.dev2.cz/img/icns/xicn-share-pin.png.pagespeed.ic.A0bwGB3kRe.png'); }
.icn-share:hover { /*background-image: url('http://jelinek.dev2.cz/img/icns/xicn-share-pin-h.png.pagespeed.ic.BpMtjXV3aF.png');*/ opacity: 1; }

/* Make some things unselectable. Remove where selection is needed: */

.grid-container img,
.grid-nav span,
.grid-buttons button,
.grid-description-wrapper,
.grid-description,
.grid-description h3 {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

@media screen and (max-width: 750px) {

	.grid-description {
		top: 10px;
		left: 10px;
		bottom: 10px;
		right: 10px;
	}

	.grid-description h3 {
		font-size: 14px;
		padding: 0 5px;
	}

}

@media screen and (max-width: 500px) {

	.grid-buttons {
		float: left;
		clear: both;
	}

}

footer {
	clear: both;
	font-size: 1em;
	margin: 2em auto 1em !important;	
	width: 100%;
}

.line {
	border-top: #ddd solid 1px;
	margin-bottom: 2em;
}

footer a[class^="icn-"] {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 0.25em 0.75em;
}

footer a.icn-instagram { background-image: url(http://jelinek.dev2.cz/img/icns/xicn-instagram.png.pagespeed.ic.Umaz2HRZ9P.png); }
footer a.icn-instagram:hover { background-image: url(http://jelinek.dev2.cz/img/icns/xicn-instagram-h.png.pagespeed.ic.siwrXM0hg5.png); }
footer a.icn-pinterest { background-image: url(http://jelinek.dev2.cz/img/icns/xicn-pinterest.png.pagespeed.ic.7n_G52iXkh.png); }
footer a.icn-pinterest:hover { background-image: url(http://jelinek.dev2.cz/img/icns/xicn-pinterest-h.png.pagespeed.ic.jsn2jGr3Ci.png); }

footer p { font-size: 0.688em; }

/* Inside Styles */
.img-about {
	width: 25vw;
    padding: 0 2vw 1vw;
    max-width: 36em;
    margin: 0 auto;
}

.content {
	width: 100%; /*80%*/
	margin: 0 auto;
}

.content p {
	font-size: 0.75em;
	line-height: 2;
	margin: 0;
	padding: 0.75em 0;
	text-align: justify;
}

/*.about */.content p {
	font-size: 1em;
	text-transform: none;
	letter-spacing: normal;
}

/* Contact Form */

.input {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 1em;
	width: 100%;
	width: calc(100% - 2em);
	vertical-align: top;
}

.input-field {
	position: relative;
	display: block;
	float: right;
	padding: 0.8em;
	width: 60%;
	border: none;
	border-radius: 0;
	background: #f0f0f0;
	color: #aaa;
	font-weight: 400;
	-webkit-appearance: none; /* for box shadows to show on iOS */
}

.input-field:focus {
	outline: none;
}

.input-label {
	display: inline-block;
	float: right;
	padding: 0 1em;
	width: 40%;
	color: #696969;
	font-weight: bold;
	font-size: 70.25%;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.input-label-content {
	position: relative;
	display: block;
	padding: 1.6em 0;
	width: 100%;
}

.graphic {
	position: absolute;
	top: 0;
	left: 0;
	fill: none;
}

.icon {
	color: #ddd;
	font-size: 150%;
}

.input-afs {
	overflow: hidden;
	margin: 0 0 2em;
}

.input-field-afs {
	background: transparent;
	width: 100%;
	color: #999;
	padding: 1em 0 0.5em;
	font-weight: 700;
}

.input-label-afs {
	position: absolute;
	width: 100%;
	text-align: left;
	color: #999;
	padding: 0;
	height: 100%;
	pointer-events: none;
}

.input-label-afs::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background: #f0f0f0;
	bottom: 0;
	-webkit-transform: translate3d(100%, 0, 0);
	transform: translate3d(100%, 0, 0);
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.icon-afs {
	position: absolute;
	bottom: 0;
	font-size: 1em;
	opacity: 0.5;
	right: 15px;
	left: auto;
	color: #999;
	pointer-events: none;
	-webkit-transform: translate3d(100%, 0, 0);
	transform: translate3d(100%, 0, 0);
	-webkit-transition: -webkit-transform 1s;
	transition: transform 1s;
}

.input-label-content-afs {
	padding: 0;
	font-size: 1.25em;
	display: inline-block;
	vertical-align: bottom;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: translate3d(0, 2em, 0);
	transform: translate3d(0, 2em, 0);
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.input-field-afs:focus + .input-label-afs .input-label-content-afs,
.input-filled .input-label-content-afs {
	-webkit-transform: translate3d(0, 0, 0) scale3d(0.7, 0.7, 1);
	transform: translate3d(0, 0, 0) scale3d(0.7, 0.7, 1);
}

.input-field-afs:focus + .input-label-afs::after,
.input-filled .input-label-afs::after {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.input-field-afs:focus + .input-label-afs .icon-afs,
.input-filled .icon-afs {
	-webkit-transition-delay: 0.02s;
	transition-delay: 0.02s;
	-webkit-transform: translate3d(-100em, 0, 0) rotate3d(0, 0, 1, -90deg);
	transform: translate3d(-100em, 0, 0) rotate3d(0, 0, 1, -90deg);
	-webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -ms-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

input[type=submit] {
	margin: 0 auto;
	text-transform: uppercase;
	letter-spacing: 0.125em
}

.grid-description h3 br, .grid-description h3 .icn-share, .grid-description h3 .icn-like {
	display: none;
}
#inside.contact .content center img { margin-top: -0.5em; }

