/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
@-webkit-keyframes in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
* {
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
html {
    height: 100%;
    width: 100%;
}
body {
    font-family: quicksand, sans-serif;
    color: #202020; 
    background: #fff;
    font-size: 24px; 
    line-height: 1.6; 
    font-weight: 400;
}
ol, ul {
	list-style: none;
}
.bold, b, strong {
    font-weight: 700;
}
p { 
    padding: 0 0 30px 0; 
}
em, i {
    font-style: italic;
}
h1, h2 {
    font-size: 44px;
    padding: 0 0 5vw 0;
    margin: 0;
}
#cleim h2 {
    padding: 0 14vw 5vw 0;
}
h3 {
    display: inline-block;
    color: #202020;
    background: #d5e6f2;
    padding: 10px 30px;
    margin: 1vw 1vw 1vw 0;
}
h4 {
    margin: 5vw 0 0;
}
a {
    color: #202020;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-decoration: none;
    border-bottom: #202020 dotted 2px;
}
.button {
    display: inline-block;
    border: #404040 solid 2px;
    border-radius: 5px;
    padding: 5px 10px 7px; 
    margin: 2vw 0 0;
    font-size: 14px;
    line-height: 14px;

    background: #404040;
    color: #fff
}
.button:hover {
    border: #404040 solid 2px;
    background: none;
    color: #404040
}
.noborder, .noborder:hover {
        border-bottom: none;
}
.noborder:hover h3 {
    background: #27AAFF;
    color: #fff;
}
a:hover {
    color: #27AAFF;
    border-bottom: #27AAFF dotted 2px;
}
hr {
    border: 1px solid #202020;
}
img {
    display: block;
}
.bg {
    position: absolute;
    left: 4vw;
    bottom: 5vw;
    right: 6vw;
    top: 4vw;
    background-image: url(../img/bg.jpg); 
    background-position: center center; 
    background-size: cover; 
    overflow: hidden;
}
.tint {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
}
.clocks {
    width: 608px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    margin-left: -304px;
}
.back {
    position: absolute;
    left: 52%;
    bottom: -200%;
    right: -200%;
    top: -200%;
    background: #303030;
    transform: rotate(30deg)
}
#logo-big {
    position: absolute;
    width: 700px;
    left: 50%;
    top: 35%;
    margin-left: -350px;
    margin-top: -85px;
    color: #fff;
    font-size: 28px;
    line-height: 1.5;
    text-align: center;
}
#logo-big img {
    width: 500px;
    height: 174px;
    margin: 0 100px;
}
.page {
    position: relative;
    float: left;
    width: calc(100% - 80px);
    margin-left: 80px;
    padding: 4vw 6vw 5vw 4vw;
    box-sizing: border-box;
    min-height: 100vh;
}
.dark {
    background: #202020;
}
.full-width {

    width: 100%;

}
.top {
    position: relative;
    width: 100%;
    margin-bottom: 5vh;
}
.top img {
    width: 100%;
}
.title {
    position: absolute;
    bottom: -3vw;
    right: 5vw;
    background: #202020;
    padding: 2vw;
    color: #fff;
    width: 20%;
}
.title img {

    box-sizing: border-box;
}
header {
    position: fixed;
    height: 100vh;
    width: 80px;
    top: 0;
    left: 0;
    background: #27AAFF;
    z-index:2;
}
#xr { 
    position: absolute;
    top: 50%;
    left: 17px;
    margin-top: -20px;
}
#xr img{ 
    width: 45px;
}
#open-menu {
    position: fixed; 
    top: 50%; 
    margin-top: 20px;
    right: 2vw;
    transform: rotate(90deg);
    transform-origin: top right;
    font-size: 18px;
    cursor: pointer;
}
#close-menu {
    position: absolute; 
    top: 50%; 
    margin-top: 14px;
    right: 2vw;
    transform: rotate(90deg);
    transform-origin: top right;
    font-size: 18px;
    cursor: pointer;
}
#menu {	
    position: fixed;
    top: 0;
    right: -500px;
    min-height: 100%;
    width: 500px;
    font-size: 18px; 
    z-index: 1;
    background: #f5f5f5;
    opacity: 0;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    padding: 150px 50px;
    box-sizing: border-box;
}
#menu.open {
    opacity: 1;
    right: 0;
}
#menu h2 {
    padding: 25vh 4vh 0;
    color: #27AAFF;
}
#menuline {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 24px;
}
#menuline li {
    list-style: none;
    line-height: 2;
}
#menuline li a {   
    text-decoration: none;
    border: none;
    color: #aaaaaa;
    position: relative;
    padding: 0; 
    margin: 0;
}
#menuline li a:hover, #menuline .current a {
    color: #303030;
}
#kontakt-button {
    position: fixed; 
    top: 120px;
    right: 2vw;
    transform: rotate(90deg);
    transform-origin: top right;
    font-size: 18px;
    cursor: pointer;
}
#close {
    position: absolute; 
    top: 94px; 
    right: 2vw;
    transform: rotate(90deg);
    transform-origin: top right;
    font-size: 18px;
    cursor: pointer;
}
#kontakt {
    position: fixed;
    top: 0;
    right: -500px;
    min-height: 100%;
    width: 500px;
    font-size: 18px; 
    z-index: 1;
    background: #f5f5f5;
    opacity: 0;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#kontakt.open {
    display: block;
    opacity: 1;
    right: 0;
    width: 500px;
}
#kontakt-data {
    right: 0;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 150px 50px 50px;
}
.kontakt {
    cursor: pointer;
}
.left {
    float: left;
}
.right {
    float: right;
}
.center {
    text-align: center;
}

.half {
    position: relative;
    float: left;
    width: 46%;
    padding: 10vh 0;
    margin: 0;
}
.third {
    position: relative;
    float: left;
    width: 31%;
    padding: 6%;
    margin: 0 2% 2% 0;
    box-sizing: border-box;
}
.third img{
    width: 50%;
    margin: 0 25%;
    opacity: 0.9;
}
.fourth {
    position: relative;
    float: left;
    width: 19%;
    padding: 4vh 3%;
    margin: 0;
}
#gallery {
    margin: 10px;
}
#gallery img {
    float: left;
    border: 10px #fff solid;
    width: 100%;
}
#gallery img:nth-child(5n+1), #gallery img:nth-child(5n+2) {
    width: calc(50% - 20px);
}
#gallery img:nth-child(5n+3) {
    width: calc(66.8% - 20px);
}
#gallery img:nth-child(5n+4), #gallery img:nth-child(5n+5) {
    width: calc(33.2% - 20px);
}

footer {
    position: fixed;
    left: 50%;
    margin-left: -320px;
    bottom: 0;
    width: 640px;
    background: url(../img/patern.png);
    height: 160px;
    padding-top: 20px;
    text-align: center;
}  
.clear {
    clear:both;
}
/* forms */
textarea, input {
    font-family: 'Roboto', sans-serif;
	font-size: 16px;
	color: #fff;
	border: 1px solid #fff;
	background: none;
	outline: 0;
	display: block;
	clear: both;
    -webkit-appearance: none;
    -webkit-border-radius: none;
    border-radius: none;
    padding:8px 2%;
    width: 90%;
    margin: 5px 3%;
}

textarea {
}

input[type="submit"] {
	text-transform: uppercase;
	font-size: 16px;
	color: #aaa;
	background: orangered;
    cursor: pointer;
    padding:8px 2%;
    width: 100px;
}
input[type="submit"]:hover {
	color: orangered;
	background: #fff;	
}
.error {
	background-color: #d75656;
    color: #fff;
    width: 800px;
	padding: 10px;
    margin:0;
	font-size: 11px;
	clear: both;
}
.success-box {
	padding: 10px;
    width: 800px;
    margin-bottom: 20px;
	background-color: #6FC666;
    color: #fff;
}

/*- clock */

.jcgmt-container {
    float:left;
    padding: 0 22px;
}
.jcgmt-container .jcgmt-lbl {
    font-size:15px;
    color: #fff;
    line-height: 22px;
    text-align: center;
    padding-bottom: 10px;
    width: 108px;
    margin: 0 auto;
}
.jcgmt-clockHolder {
    width:100px; 
    margin:0 auto;
    position:relative;
    overflow: hidden;
}
.jcgmt-sec,
.jcgmt-min,
.jcgmt-hour {
    display:block;
    position:absolute;
}

.jcgmt-rotatingWrapper {
    position:absolute;
    width:100px;
    height:100px;
}
.jcgmt-digital,
.jcgmt-date {
    font-weight:bold;
    font-size: 12px;
    color: #444444;
    text-align:center;
    margin-left:8px;
}


/*- end of clock */

@media only screen and (max-width: 1024px) {
.page {
    width: 80vw;
    margin: 5vh 10vw;
    min-height: 90vh;
}
.bg {
    left: 0;
    bottom: 0;
    right:0;
    top: 0;
}
#menu.open, #kontakt.open {
        width: 100%;
}
header {
    height: 6vh;
    top: inherit;
    bottom: 10vh;
    width: 60px;
}
#xr img {
    width: 30px;
    margin-top: 8px;
}
#logo-big {
    top: 20%;
    width: 175px;
    margin-left: -88px;
    height: auto;
}
#logo-big img {
        width: 175px;
    height: auto;
}
 h1, h2, h3 {
    font-size: 24px;
    line-height: 34px;
}
p, h3 {
        font-size: 14px;
    line-height: 16px;
    }
.fourth {
    float: left;
    width: 40%;
    padding: 0 5%;
}
.half, .third {
    width: 80%;
    padding: 0 0 0 20%;
}
.back {
        display:none;
}
.fourth p{
    font-size: 13px;
    line-height: 20px;
}  
    #gallery {
        margin: 0;
    }
#gallery img {
    border: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    margin-bottom: 10px;
    }
#gallery img:nth-child(n) {
    width: 100%;
}
footer {
    display: none;
    }
.clocks {
    display: none
} 
}