/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
@charset "utf-8";
/* 
    Created on : 22.1.2018, 16:06:51
    Author     : Peter
*/

.codes-body{
	position: relative;
	font-family: 'Raleway', sans-serif;
	color: #7F7F7F;
	color: #333;
	font-size: 16px;
	
}
.codes-body p,.codes-body form,.codes-body h1,.codes-body h2,.codes-body h3,.codes-body h4{
	margin: 0;
	padding: 0;
	border: none;
}
.codes-body a{
	color: inherit;
	text-decoration: none;
}
.codes-body p, .codes-body li, .codes-body h2{
	padding: 0.4em 0;
}

.codes-body > .codes-image, .codes-text > .codes-image{
	background-position: center center;
	background-size: cover;
}
#codes-main{
	position: relative;
	padding-top: 38%;
}
#codes-main > .codes-image{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center top 80px;
	background-attachment: fixed;
	background-repeat: no-repeat;
}
#codes-main > .codes-image span{
	position: absolute;
	bottom: 4%;
	right: 8%;
	text-align: right;
}
#codes-main > .codes-image b{
	font-size: 1.6em;
	font-weight: normal;
}
#codes-main .codes-slider{
	position: absolute;
	z-index: 1;
	top: 0px;
	bottom: 0;
	right: 0%;
	width: 50%;
}
#codes-main .codes-slider:first-child{
	right: auto;
	left: 0;
}
.codes-slider > div{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	-webkit-transition: all 1.2s ease;
	transition: all 1.2s ease;
	z-index: 1;
	opacity: 0;
	background-position: center center;
	background-size: cover;
}
.codes-slider > div.active{
	z-index: 2;
	opacity: 1;
}
#codes-main .codes-slider.codes-w100 > div{
	background-attachment: fixed;
	background-position: center top 77px;
	background-size: 100%;
}
.codes-slider .codes-copy{
	position: absolute;
	bottom: 10px;
	right: 5%;
	font-size: 11px;
	color: #fff;
	-webkit-text-shadow: 2px 2px 2px #000, -2px -2px 2px #000;
	text-shadow: 2px 2px 2px #000, -2px -2px 2px #000;
}
#codes-main .codes-slider .codes-text{
	position: absolute;
	bottom: 5%;
	left: 10%;
	right: 10%;
	color: #fff;
	font-size: 2vw;
	text-align: center;
	text-shadow: 0 0 20px #000;
}

.codes-width{
	max-width: 960px;
	margin: 0 auto;
	position: relative;
}
.codes-width .codes-text{
	font-size: 20px;
}
.codes-body > .codes-text{
	padding: 2em 1em;
	text-align: center
}
#codes-reference{
	text-align: center;
	padding: 1em 1em 3em;
}
.codes-small{
	font-size: 0.9em;
}
.codes-large{
	font-size: 1.2em;
}
.codes-short{
	height: 1.4em;
	display: block;
}
.codes-background{
	background-color: rgb(242,240,231);
}
.codes-spacing{
	letter-spacing: 0.1em;
}
.codes-color{
	color: rgb(175,119,68);
}

#amd-l{
	position: absolute;
	top: 8px;
	left: 0px;
}
#question{
	position: absolute;
	bottom: 16px;
	right: 3em;
	border: 2px solid;
	cursor: pointer;
	color: #BEAA80;
	padding: 6px 16px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#question:hover{
	background: #000;
}
#question img{
	position: absolute;
	right: -2em;
	bottom: 1em;
}

#codes-shade{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 7;
}
#codes-shade > a {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.8);
	z-index: 8;
}
#codes-shade > div{
	position: absolute;
	z-index: 9;
	top: 50%;
	left: 50%;
	background: url(../batch/bubble.png) no-repeat center center;
	background-size: contain;
	text-align: center;
	padding: 60px 60px 80px;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	min-width: 300px;
	max-width: 300px;
	font-size: 14px;
}

.codes-grid > div{
	background-size: cover;
	background-position: center center;
}
.codes-h50{
	float: left;
	width: 50%;
	padding-top: 50%;
	position: relative;
}
.codes-h50c{
	width: 36%;
	padding-top: 36%;
	margin: 7%;
}
.codes-right > .codes-h50{
	float: right;
}
.codes-h100{
	float: left;
	width: 50%;
	padding-top: 100%;
	position: relative;
}
.codes-f100{
	width: 100%;
	padding-top: 100%;
	position: relative;
}
.codes-h25{
	float: left;
	padding-top: 25%;
	width: 25%;
	position: relative;
}
.codes-grid{
	position: relative;
}
.codes-grid.codes-h50, .codes-grid.codes-h100, .codes-grid.codes-f100{
	padding-top: 0;
}
.codes-grid:after{
	content:"";
	display: block;
	clear: both;
}
.codes-grid,.codes-grid div,.codes-grid a{
	/*outline: 1px solid;*/
}

div.codes-h50:not(.codes-grid) > div, div.codes-f100:not(.codes-grid) > div, div.codes-h25:not(.codes-grid) > div{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 80%;
}
div.codes-h25:not(.codes-grid) > div{
	text-align: center;
}
.codes-h25 img{
	max-width: 60%;
}
a.codes-h50 > .codes-shade, a.codes-f100 > .codes-shade{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	-webkit-transition: all 0.45s ease;
	transition: all 0.45s ease;
	background: rgba(255,255,255,0.6);
	opacity: 0;
	overflow: hidden;
}
a.codes-h50:hover, a.codes-f100:hover{
	background-size: 130%;
	background-position: 15% center;
	filter: contrast(2), grayscale(0.8);
}
a.codes-h50:hover > .codes-shade, a.codes-f100:hover > .codes-shade{
	opacity: 1;
}
a.codes-h50 span, a.codes-f100 span{
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
a.codes-h50:hover  span, a.codes-f100:hover  span{
	text-shadow: none !important;
	color: #000 !important;
}
a.codes-h50, a.codes-f100{
	-webkit-transition: all 0.45s ease;
	transition: all 0.45s ease;
	background-size: 101%;
	background-position: -1px center;
	background-repeat: no-repeat;
	display: block;
}
a.codes-h50 > span:last-child, a.codes-f100 > span:last-child{
	position: absolute;
	top: 15%;
	left: 15%;
	color: #fff;
	font-size: 1.8rem;
	text-transform: uppercase;
	font-size: 1.8vw;
	letter-spacing: 0.1em;
}
a.codes-h50 > .codes-shade span, a.codes-f100 > .codes-shade span{
	position: absolute;
	margin-top: 10%;
	left: 0%;
	border-right: 1px solid;
	color: #fff;
	-webkit-transition: all 0.45s ease;
	transition: all 0.45s ease;
	padding-right: 0.5em;
	font-size: 1.5rem;
	font-size: 1.5vw;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
a.codes-h50 > .codes-shade span:hover, a.codes-f100 > .codes-shade span:hover{
	padding-right: 1.2em;
}
a.codes-h50:hover > .codes-shade span, a.codes-f100:hover > .codes-shade span{
	left: 10%;
}
.codes-w100{
	width: 100%;
}
.codes-w25{
	width: 25%;
}


a .codes-arrow{
	display: inline-block;
	height: 38px;
	width: 67px;
	background-size: contain;
	vertical-align: middle;
	margin-left: 1em;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
a:hover .codes-arrow{
	margin-left: 2em;
}
.codes-body .next.codes-text{
	padding: 0em 0 0.8em;
}
.next .codes-arrow{
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
	margin: 0;
}
.codes-text + a, .codes-grid .codes-text a,.codes-text a{
	margin-top: 0.8em;
	display: block;
	font-size: 1.2em;
}
 
.codes-h50 .codes-text, .codes-f100 .codes-text{
	
} 

.codes-text{
	font-size: 2rem;
	font-size: 2vw;
}
.codes-circle{
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.sub .codes-text{
	font-size: 15px;
}
.codes-text .codes-head{
	display: block;
	position: relative;
	border-bottom: 1px solid #C7AC7F;
	padding-bottom: 1em;
	margin-bottom: 1em;
}
.codes-text codes-head a{
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 0;
}

.codes-anim{
	position: relative;
	top: 150px;
	-webkit-transition: all 0.8s ease;
	transition: all 0.8s ease;
	opacity: 0;
}
.codes-anim.codes-fire{
	top: 0;
	opacity: 1;
}

.codes-terier h2{
	position: absolute;
	bottom: -0.25em;
	left: 15%;
	color: #fff;
	font-size: 8vw;
	line-height: 1.2em;
	height: 1.2em;
	font-weight: 300;
}

.codes-showroom{
	text-align: center;
}
.codes-showroom #codes-main > .codes-image span{
	left: 8%;
	bottom: 35%;
	color: #fff;
	text-align: center;
	font-size: 2.5vw;
}
.codes-showroom .codes-icons{
	max-width: 1180px;
	position: relative;
	margin: 2em auto;
}
.codes-showroom .codes-icons:after{
	content: "";
	display: block;
	clear: both;
}
.codes-showroom .codes-icons > div{
	float: left;
	width: 25%;
	position: relative;
	font-size: 16px;
}
.codes-showroom .codes-icons .codes-image{
	padding-top: 60%;
	background-position: center center;
	background-repeat: no-repeat;
}

.codes-dodavatelia div.codes-h50:not(.codes-grid) > div{
	width: 92%;
}
.codes-dodavatelia .codes-head a{
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 0;
}

#architekt{
	position: fixed;
	bottom: 0;
	left: 0%;
	padding: 0.6em 1em 0.5em 2.5em;
	font-size: 14px;
	z-index: 24;
	width: 200px;
	padding-left: 80px;
	background-size: 60px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.codes-kontakt{
	font-size: 18px;
	max-width: 800px;
	padding: 1em;
	margin: auto;
}

.codes-gallery{
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 6;
	background: #fff;
	display: none;
}
.codes-showroom .codes-gallery{
	position: relative;
	top: 0;
	display: block;
	padding-top: 66.66%;
}
.codes-gallery > .codes-box, .codes-gallery > .codes-controls{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate( -50%, -50%);
	width: 70%;
	height: 80%;
	max-height: 900px;
	max-width: 1100px;
}
.codes-slider + .codes-controls{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
}
.codes-showroom .codes-gallery > .codes-box, .codes-showroom .codes-gallery > .codes-controls{
	position: absolute;
	top: 0%;
	left: 0%;
	-webkit-transform: none;
	transform: none;
	width: 100%;
	height: 100%;
	max-height: none;
	max-width: none;
}
.codes-gallery > a, .codes-gallery > .codes-box > div{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-transition: all 0.8s ease;
	transition: all 0.8s ease;
}
.codes-gallery > a.codes-ix{
	top: 80px;
	right: 40px;
	left: auto;
	bottom: auto;
	width: 36px;
	height: 36px;
	color: #000;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.codes-gallery > a.codes-ix:before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	bottom: 0;
	margin-left: -1px;
	border: 1px solid;
}
.codes-gallery > a.codes-ix:after{
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -1px;
	border: 1px solid;
}
.codes-showroom .codes-gallery > .codes-box > div{
	background-size: cover;
}
.codes-gallery > a{
	background: rgba(0,0,0,0);
}
.codes-gallery .codes-box > div.codes-active, .codes-gallery > a{
	opacity: 1;
}
.codes-controls .codes-left, .codes-controls .codes-right{
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	padding-top: 10%;
	background: rgba(0,0,0,0.4);
	cursor: pointer;
	width: 6%;
	left: 0;
	min-width: 60px;
	min-height: 60px;
}
.codes-controls .codes-right{
	left: auto;
	right: 0;
}
.codes-controls .codes-left:after, .codes-controls .codes-right:after{
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 65%;
	-webkit-transform: translate(-50%, -50%) rotate(-45deg);
	transform: translate( -50%, -50%) rotate(-45deg);
	width: 40px;
	height: 40px;
	border-left: 2px solid #fff;
	border-top: 2px solid #fff;
}
.codes-controls .codes-right:after{
	-webkit-transform: translate(-50%, -50%) rotate(135deg);
	transform: translate( -50%, -50%) rotate(135deg);
	left: 35%;
}
@-webkit-keyframes boom{
	0%{
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	100%{
		-webkit-transform: scale(1.6);
		transform: scale(1.6);
	}
}
@keyframes boom{
	0%{
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 0;
	}
	40%{
		opacity: 1;
	}
	100%{
		-webkit-transform: scale(1.6);
		transform: scale(1.6);
	}
}

@media screen and (min-width: 1440px){
	a.codes-h50 > .codes-shade span, a.codes-f100 > .codes-shade span{
		font-size: 21px;
	}
	.codes-text{
		font-size: 28px;
	}
	a.codes-h50 > span:last-child, a.codes-f100 > span:last-child{
		font-size: 25px;
	}
}
@media screen and (max-width: 768px){
	.codes-body > .codes-grid > .codes-h50{
		width: 100%;
	}
	.codes-body > .codes-grid > .codes-h50:not(.codes-grid){
		padding-top: 100%;
	}
	
	a.codes-h50 > span:last-child, a.codes-f100 > span:last-child{
		font-size: 1.4em;
	}
	a.codes-h50 > .codes-shade span, a.codes-f100 > .codes-shade span{
		font-size: 0.9em;
	}
	.codes-text{
		font-size: 1.5rem;
	}
}
@media screen and (max-width: 640px){
	#question{
		display: none;
	}
	#codes-shade #codes-popup{
		padding: 50px 30px 70px;
		min-width: 260px;
	}
	.codes-text{
		font-size: 1.2rem;
	}
}
@media screen and (max-width: 480px){
	a.codes-h50 > span:last-child, a.codes-f100 > span:last-child{
		font-size: 1.2em;
	}
		.codes-h25 {
	padding-top: 35%;
	}
}
}