@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,700&subset=latin-ext);

/*
Theme Name: Illusmart
Theme URI: https://www.illusmart.com
Author: Martin Gross
Author URI: https://www.illusmart.com
Description: Tailor-made theme
Version: 1.0
License: Copyright - Martin Gross
Tags: illusmart
Text Domain: illusmart
*/

* {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
-o-text-size-adjust: none;
text-size-adjust: none;
}

body {
text-align: center;
background-color: #f5f1e3; 
}

body, label, input, select, textarea {
font-size: 16px; line-height: 26px; font-family: 'Montserrat', sans-serif; color: #222;
}

label, input, select, textarea {
-webkit-appearance: none;
}

.gallery-pic img, .slider-img-wrap img {
-webkit-backface-visibility: hidden;
}

.navmenu, .mobfire, .button, .slider-wrap {
user-select: none;
-ms-user-select: none;
-o-user-select:none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
}

/*-----ZAKLAD-----*/

h1 {
margin: 0 0 40px;
}

h2, h3, h4, h5, p, ul, ol, hr, body .wp-block-columns, body .wp-block-image, body .wp-block-quote, body .wp-block-table, .content-section {
margin: 0 0 30px;
}

h2:last-child, h3:last-child, p:last-child, .content ul:last-child, .content ol:last-child, .content ul ul, body .wp-block-columns:last-child, .wp-block-quote p:last-child, body .wp-block-image:last-child, figcaption, body .wp-block-image figcaption, body .wp-block-quote:last-child,body .wp-block-table:last-child, .content-section:last-child {
margin-bottom: 0;	
}

a {
color: #bc8964;
}

a, .header a:hover, a.arrow-link:hover, .reference-mini a:hover, .prefooter a:hover, .footer a:hover, a.button:hover {
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

ul li, ol li {
list-style-position: outside; margin: 0;
}

.content ol {
padding-left: 20px;
}

.content li {
margin-top: 5px; position: relative; display: block; margin-bottom: 6px; margin-left: 0; padding-left: 22px;
}

.content li:last-child {
margin-bottom: 0;	
}

.content li:before {
content: ""; display: block; position: absolute; top: 7px; left: 0; width: 6px; height: 6px;
border: 2px #bc8964 solid;
}

.river-content li {
list-style: none;
}

hr {
border-bottom: 1px solid #ddd;
}

.left {
float: left;
}

.right {
float: right;
}

.wrapper {
width: 100%; text-align: center;
}

.wrapper-dark {
background: #222;
}

.wrap {
max-width: 1200px; margin: auto; padding: 0 20px;
}

.wrap-wide {
max-width: 1400px; padding: 0;
}

@media only screen and (min-width: 1900px) {
	
	.wrap-wide-responsive {
	max-width: 1400px; padding: 0;
	}
	
}

.wrap-narrow {
max-width: 800px;
}

.wrapper-white {
background: #fff;	
}

.widebox:last-child {
margin-bottom: 0;	
}

.widebox-content {
text-align: left;
}

.widebox-button-area {
text-align: right; padding-top: 30px;	
}

@media only screen and (max-width: 740px) {

	.widebox {
	padding-left: 20px; padding-right: 20px;
	}
	
	.widebox-picture {
	margin-bottom: 30px;
	}
	
}

@media only screen and (min-width: 740px) {
	
	.widebox-picture, .widebox-content {
	width: 50%;
	}

	.widebox-picture {
	float: right; clear: both;
	}

	.widebox:nth-of-type(odd) .widebox-picture {
	float: right;
	}

	.widebox:nth-of-type(odd) .widebox-content {
	float: left; padding-left: 20px; padding-right: 50px;
	}

	.widebox:nth-of-type(even) .widebox-picture {
	float: left;
	}

	.widebox:nth-of-type(even) .widebox-content {
	float: right; padding-left: 50px; padding-right: 20px;
	}

}

@media only screen and (max-width: 1015px) {
	
	.wrapper {
	padding: 50px 0;
	}
	
	.widebox {
	margin-bottom: 50px;
	}
	
	.addon {
	margin-top: 50px;
	}
	
}

@media only screen and (min-width: 1015px) {
	
	.wrapper {
	padding: 100px 0;
	}
	
	.widebox {
	margin-bottom: 100px;
	}
	
	.addon {
	margin-top: 100px;
	}
	
}

@media only screen and (max-width: 900px) {

	.half {
	margin-bottom: 20px;
	}
	
	.half:last-child {
	margin-bottom: 0; padding-bottom: 0;
	border: 0;
	}
	
}

@media only screen and (min-width: 900px) {

	.half {
	float: left; width: 50%;
	}

	.half:nth-of-type(odd) {
	clear:both; padding-right: 20px;
	}

	.half:nth-of-type(even) {
	padding-left: 20px;
	}

}

@media only screen and (max-width:700px) {

	.third {
	padding-bottom: 30px;
	}
	
	.third:last-child {
	padding-bottom: 0;
	}
	
	.product.third:last-child {
	padding-bottom: 30px;
	}
	
}

@media only screen and (min-width:700px) {

	.third {
	width: 33.3%; float: left; padding-bottom: 30px;
	}

	.third:nth-of-type(3n+1) {
	clear: both; padding-right: 20px;	
	}

	.third:nth-of-type(3n+2) {
	padding-left: 10px; padding-right: 10px;
	}

	.third:nth-of-type(3n) {
	padding-left: 20px;
	}

}

.gallery-pic {
width: 33.3%; float: left; margin-bottom: 0; padding-bottom: 0; padding-left: 0;
border-bottom: 0;
}

.gallery-pic:nth-of-type(3n+1) {
clear: both;
}

.gallery-pic:nth-of-type(3n):nth-of-type(odd) {
clear: none; padding-right: 0;
}

@media only screen and (max-width:550px) {
	
	.gallery-pic {
	padding-top: 15px;
	}

	.gallery-pic:nth-of-type(3n+1) {
	padding-right: 10px;	
	}

	.gallery-pic:nth-of-type(3n+2) {
	padding-left: 5px; padding-right: 5px;
	}

	.gallery-pic:nth-of-type(3n) {
	padding-left: 10px;
	}
	
}

@media only screen and (min-width:550px) {
	
	.gallery-pic {
	padding-top: 30px;
	}
	
	.gallery-pic:nth-of-type(-n+3) {
	padding-top: 0;
	}

	.gallery-pic:nth-of-type(3n+1) {
	padding-right: 20px;	
	}

	.gallery-pic:nth-of-type(3n+2) {
	padding-left: 10px; padding-right: 10px;
	}

	.gallery-pic:nth-of-type(3n) {
	padding-left: 20px;
	}
	
}

img {
display: block; max-width: 100%; height: auto;
}

figcaption, body .wp-block-image figcaption {
color: #888; text-align: left;	
}

body .wp-block-table figcaption {
margin-top: 10px; padding: 10px 10px 0;
border-top: 1px #aaa solid;
}

.red {
color: #f54;
}

.arrow {
position: relative; display: inline-block; vertical-align: middle;
width: 18px;
height: 18px;
}

.arrow div {
position: absolute;
background-color: #bc8964;
height: 2px;
}

.arrow-2 {
top: 8px; left: 0;
width: 100%;
}

.arrow-1, .arrow-3 {
width: 13px; right: -2px;
}

.arrow-1 {
top: 4px;
transform: rotate(45deg);
}

.arrow-3 {
top: 12px;
opacity: 1;
transform: rotate(-45deg);
}

@media only screen and (min-width:870px) {
	
	a:hover .arrow-moving, .current-menu-item > a .arrow-moving {
	transform: rotate(180deg);
	}
	
	a:hover .arrow-moving .arrow-1, .current-menu-item > a .arrow-moving .arrow-1 {
	width: 100%; top: 8px; left: 0;
	transform: rotate(90deg);
	}
	
	a:hover .arrow-moving .arrow-3, .current-menu-item > a .arrow-moving .arrow-3  {
	width: 1px; opacity: 0;
	}
	
}

body .wp-block-column {
margin-top: 20px; margin-bottom: 0;
}

body .wp-block-columns {
padding-top: 10px;
}

body .wp-block-columns:first-child {
margin-top: 0; padding-top: 0; border-top: 0;
}

@media only screen and (max-width:782px) {

	body .wp-block-columns {
	display: block;	
	}
	
	body .wp-block-column {
	display: block;	
	padding-top: 30px;
	}

	body .wp-block-column:first-child, body .wp-block-column:empty {
	margin-top: 0; padding-top: 0; border-top: 0;
	}
	
	body .wp-block-column:first-child, body .wp-block-column:nth-child(2n){
	width: 100%; margin-left: 0;
	}

}

@media only screen and (min-width:782px) {

	body .wp-block-column:nth-child(-n+3) {
	margin-top: 0;	
	}

}

.loader {
display: none;	
}

.unloaded .loader {
display: block; position: absolute; top: 0px; left: 0px; width: 100%; height: 3000px;
/*background: #f5f1e3 url('images/loading.gif') no-repeat;
background-position: center 200px;
background-size: 70px auto;	*/
}

.container {
opacity: 1;
}

.unloaded .container {
opacity: 0;
}

/*-----FONTY-----*/

@media only screen and (max-width:600px) {
	
	h1, h2.likeh1 {
	font-size: 33px; line-height: 44px;
	}
	
	h2, .slider-title {
	font-size: 29px; line-height: 38px;
	}
	
}

@media only screen and (min-width:600px) {

	h1, h2.likeh1 {
	font-size: 50px; line-height: 67px;
	}
	
	h2, .slider-title {
	font-size: 34px; line-height: 45px;
	}

}

h3 {
font-size: 26px; line-height: 33px;
}

h4 {
font-size: 23px; line-height: 29px;
}

h5 {
font-size: 22px; line-height: 26px;
}

@media only screen and (max-width: 870px) {

	.reference-mini-title {
	font-size: 20px; line-height: 26px;
	}

}

@media only screen and (min-width: 870px) and (max-width: 1350px) {

	.reference-mini-title {
	font-size: 18px; line-height: 27px;
	}

}

@media only screen and (min-width: 1350px) and (max-width: 1900px) {

	.reference-mini-title {
	font-size: 20px; line-height: 32px;
	}

}

@media only screen and (min-width: 1900px) {

	.reference-mini-title {
	font-size: 29px; line-height: 38px;
	}

}

.prefooter {
font-size: 16px; line-height: 24px;	
}

.navmenu li a, .toplinks a {
font-size: 14px; line-height: 14px;	
}

figcaption, body .wp-block-image figcaption {
font-size: 13px; line-height: 18px;
}

.button, input[type="submit"] {
font-size: 14px; line-height: 24px;
}

.bold, strong, h1, h2, h3, h4, h5 , .button, input[type="submit"], .content strong a, .navmenu li a {
font-weight: 700;
}

.light {
font-weight: 300;	
}

body, .regular, a {
font-weight: 400;
}

@media only screen and (max-width:1079px) {
	
	.navmenu li ul a {
	font-weight: 300;
	}
	
}

@media only screen and (min-width:1079px) {
	
	.navmenu li ul a {
	font-size: 20px; line-height: 24px;
	}
	
}

.uppercase, .button, input[type="submit"] {
text-transform: uppercase;
}

.lowercase {
text-transform: lowercase;	
}

.content, .main.single {
text-align: left;
}

.justify, figcaption, body .wp-block-image figcaption, .content p, .gdpr-content p {
text-align: justify;
}

.wrapper-centered, .wrapper-centered .content p {
text-align: center;	
}

/*-----STRUKTURA-----*/

/*-----header-----*/

.header {
color: #fff; padding-left: 20px; padding-right: 20px;
z-index: 9999;
}

.header {
background-color: #000;
}

.header .wrap {
position: relative;
}

.header ul {
margin-bottom: 0;	
}

.toplinks, .navmenu {
float: right;
}

.toplinks a {
float: left: inline-block; padding-top: 2px; margin-left: 8px;
opacity: 1;
color: #fff;
border-top-width: 1px;
border-top-style: solid;
}

.toplinks a {
border-top-color: transparent;
}

.toplinks a.active {
border-top-color: #fff;
}

@media only screen and (min-width:1079px) {
	
	.toplinks:hover a, .toplinks:hover a.active {
	border-top-color: transparent;
	}

	.toplinks:hover a:hover {
	border-top-color: #fff;
	}
	
}

.navmenu li {
list-style-type: none;
}

.navmenu ul.menu > li > a .arrow {
display: none;	
}

@media only screen and (max-width:1079px) {
	
	body #wpadminbar {
	position: absolute;
	}

	.header {
	position: relative; padding-top: 10px; padding-bottom: 0;
	}
	
	.logo {
	float: left; padding-top: 26px;
	}
	
	.logo img {
	height: 30px;
	}
	
	.hamburger {
	position: relative; float: right; clear: right; width: 47px; height: 40px; padding-left: 20px;
	cursor: pointer;
	}
	
	.hamburger div {
	position: absolute; right: 1px; width: 26px; height: 3px;
	background-color: #fff;
	}

	.hamburger div.line-2 {
	opacity: 1;
	}
	
	.hamburger div.line-1 {
	bottom: 27px;
	}	

	.hamburger div.line-2 {
	bottom: 19px;
	}

	.hamburger div.line-3 {
	bottom: 11px;
	}
	
	.clicked .hamburger div {
	background-color: #bc8964;
	}
	
	.clicked .hamburger div.line-1, .clicked .hamburger div.line-3 {
	bottom: 19px;
	}
	
	.clicked .hamburger div.line-1, .clicked .hamburger div.line-3 {
	width: 31px; right: -1px;
	}

	.clicked .hamburger div.line-1 {
	transform: rotate(35deg);
	}

	.clicked .hamburger div.line-2 {
	opacity: 0;	
	}

	.clicked .hamburger div.line-3 {
	transform: rotate(-35deg);
	}

	.navmenu {
	clear: right; padding-top: 2px;	
	}

	.navmenu ul.menu {
	position: absolute; right: 0; width: 100%; max-height: 3px; overflow: hidden; padding-top: 3px; padding-left: 20px; padding-right: 20px; text-align: left;
	background: transparent;
	opacity: 0;
	}

	.clicked .navmenu ul.menu {
	max-height: 5000px;
	background: #fff;
	opacity: 1;
	}

	.navmenu li {
	position: relative; margin: 0; padding: 0;
	}
	
	.navmenu a {
	display: block; vertical-align: middle;
	padding: 20px 0;
	color: #222;
	border-bottom: 1px #eee solid;
	}
	
	.navmenu li:last-child a {
	border-bottom: 0;
	}
	
	.navmenu ul ul a {
	padding-left: 30px;
	}
	
	.navmenu-icon {
	display: none;	
	}
	
	.navmenu ul ul .arrow {
	position: absolute; left: 0; top: 17px;
	}
	
	.banner-content {
	padding: 85px 0 100px;
	}

}

@media only screen and (min-width:1079px) {
	
	body #wpadminbar {
	position: fixed;	
	}
		
	.header {
	position: fixed; top: 0; left: 0; padding-top: 7px; padding-bottom: 0;
	}
	
	.header-inner {
	position: relative;	
	}
	
	.has-thumbnail .header {
	background: transparent;	
	}
	
	.scrolled.has-thumbnail .header {
	background-color: #000;	
	}
	
	.logged .header {
	top: 32px;	
	}
	
	.logo {
	float: left; padding-top: 51px;
	}
		
	.scrolled .logo {
	padding-top: 8px;
	}
	
	.logo img {
	height: 38px;
	}
	
	.hamburger {
	display: none;	
	}
	
	.navmenu {
	clear: right; padding-top: 33px;
	}
	
	.scrolled .navmenu {
	padding-top: 0;
	}

	.navmenu li {
	list-style-type: none; display: inline-block; vertical-align: top;
	}

	.navmenu a {
	display: block; padding: 17px 7px 7px;
	color: #fff;
	}
	
	ul.menu > li:last-child > a {
	padding-right: 0;	
	}
	
	.scrolled .navmenu a {
	padding-top: 7px;
	}

	.navmenu a:hover {
	color: #edd0ba;
	}
		
	.navmenu li ul {
	position: absolute; top: 100%; left: 0; width: 100%; max-height: 0; text-align: center; padding: 0; overflow: hidden;
	background-color: #fff;
	opacity: 0;
	}

	.navmenu li:hover ul {
	max-height: 1000px;
	opacity: 1;
	}

	.navmenu li ul li {
	margin: 0;
	border-right: 1px #eee solid;
	}
	
	.navmenu li ul li:last-child {
	border-right: 0;	
	}

	.navmenu li ul a, .scrolled .navmenu li ul a {
	position: relative; width: 200px; vertical-align: top; text-align: left;
	padding: 20px 10px 45px 10px;
	color: #222;
	}

	.navmenu li ul a, .navmenu li.no-link ul a:hover {
	border: 0;
	}
	
	.navmenu li ul a:hover {
	color: #bc8964;	
	}
	
	ul.menu > li > a .navmenu-icon, .navmenu ul.menu > li.menu-item-has-children > a .arrow-1 {
	display: none;
	}
	
	.navmenu ul.menu > li.menu-item-has-children > a {
    position: relative; padding-right: 29px;
	}
	
	.navmenu ul.menu > li.menu-item-has-children > a .arrow-outer {
    position: absolute; right: 7px; top: 19px;
	}
	
	.navmenu ul.menu > li.menu-item-has-children:hover > a .arrow-outer {
    top: 19px;
	}
	
	.scrolled .navmenu ul.menu > li.menu-item-has-children > a .arrow-outer {
    top: 9px;
	}
	
	.scrolled .navmenu ul.menu > li.menu-item-has-children:hover > a .arrow-outer {
    top: 8px;
	}
	
	.navmenu ul.menu > li.menu-item-has-children > a .arrow {
    display: block; height: 10px;
	}
	
	.navmenu ul.menu > li.menu-item-has-children:hover > a .arrow {
	transform: rotate(180deg);
	}
	
	.navmenu ul.menu > li.menu-item-has-children > a .arrow-2, .navmenu ul.menu > li.menu-item-has-children > a .arrow-3 {
	top: 4px; width: 13px;
	background-color: #fff;
	}
	
	.navmenu ul.menu > li.menu-item-has-children > a:hover .arrow-2, .navmenu ul.menu > li.menu-item-has-children > a:hover .arrow-3 {
	background-color: #edd0ba;
	}	
	
	.navmenu ul.menu > li.menu-item-has-children > a .arrow-2 {
	left: -1px;
	transform: rotate(45deg);
	}
	
	.navmenu li ul .navmenu-icon {
	height: 89px;
	}
	
	.navmenu li ul .navmenu-icon img {
	width: 150px;
	}
	
	.navmenu li ul a:hover .navmenu-icon img {
	width: 175px;
	}
	
	.navmenu li ul .navmenu-title {
	height: 90px; padding-top: 10px;
	}
	
	.navmenu ul ul .arrow {
	position: absolute; left: 10px; bottom: 15px;
	}
	
	.navmenu ul ul a:hover .arrow {
	width: 50px;
	}
	
	.banner-content {
	padding: 150px 0 100px;
	}
	
	.main {
	padding-top: 180px;	
	}

	.has-thumbnail .main {
	padding-top: 100px;
	}

}

@media only screen and (min-width: 1900px) {

	.banner-content {
	padding: 200px 0 200px;
	}
	
}

/*-----banner-----*/

.banner {
position: relative; padding: 0;
background-size: cover;
background-position: center center;
}

.banner-cover {
position: absolute; top: 0; left: 0; width: 100%; height: 100%;
background: #000;
z-index: 998;
}

.banner-content {
position: relative;
color: #fff;
z-index: 999;
}

.banner-text h1 {
margin-bottom: 0;
}

.banner-text .reference-logo {
margin-bottom: 30px;
}

.banner-text .reference-logo.logo-low {
width: 280px;
}

.banner-text .reference-logo.logo-high {
width: 150px;
}

@media only screen and (max-width: 700px) {

	.banner .button-outer {
	display: block;
	}
	
	.banner .button-outer .button {
	text-align: left;
	}
	
}

@media only screen and (max-width: 960px) {
	
	.banner-cover {
	opacity: 0.5;
	}
	
	.banner-content {
	padding-left: 20px; padding-right: 20px;	
	}
	
	.banner-text .reference-logo {
	margin-left: auto; margin-right: auto;
	}
	
	.banner .button-area {
	padding-top: 10px;	
	}
	
}

@media only screen and (min-width: 960px) {
	
	.banner-cover {
	opacity: 0.2;
	}

	.banner-content {
	float: right; width: 50%; min-width: 700px; text-align: left; padding-left: 70px;
	background: rgba(0,0,0,0.1);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	}
	
	.banner-text {
	max-width: 500px;
	}
	
	.banner .button-area {
	padding-top: 20px;	
	}

}

/*-----content-----*/

ul.widebox-content-links {
margin-bottom: 0; text-align: right;
}

.widebox-content-links li {
list-style-type: none; margin-bottom: 10px; 
}

.widebox-content-links li:last-child {
margin-bottom: 0;
}

a.arrow-link {
position: relative; display: inline-block; padding: 5px 30px 5px 0;
}

.arrow-link .arrow-outer {
position: absolute; top: 3px; right: 0;	
}

@media only screen and (min-width: 870px) {

	a.arrow-link:hover {
	color: #222;
	}
	
	a.arrow-link:hover .arrow div {
	background-color: #222;
	}

}

.info-section {
padding: 30px; text-align: center;
background: #fff;	
}

.reference-services {
text-align: right;
}

.references {
padding-left: 20px; padding-right: 20px;	
}

.references h2 {
margin-bottom: 15px;
}

.references.references-services-page h3 {
margin-top: 40px; margin-bottom: 15px;
}

.reference-mini {
position: relative; overflow: hidden;
}

.reference-mini-cover, .reference-mini-title, .reference-mini-logo {
position: absolute; left: 0; right: 0; width: 100%;
}

.reference-mini-logo {
top: 0; height: 100%;
}

.reference-mini-logo img {
margin-left: 25px; width: 50%;
}

.reference-mini-title {
text-align: left;
color: #fff;
}

@media only screen and (max-width: 900px) {

	.references h2 {
	margin-top: 50px;
	}
	
	.reference-mini-outer {
	max-width: 400px; margin-bottom: 20px; margin-left: auto; margin-right: auto;
	}
	
	.reference-mini-outer:last-child {
	margin-bottom: 0;
	}
	
	.reference-mini-cover {
	height: 100%;
	}
	
	.reference-mini-logo {
	padding-top: 25px;
	background: rgba(0,0,0,0.2);
	}
	
	.reference-mini-title {
	bottom: 0; padding: 25px;
	background: #fff;
	color: #222;
	}
	
}

@media only screen and (min-width: 900px) and (max-width: 1100px) {
	
	.reference-mini-title {
	padding-top: 25px; padding-bottom: 25px;
	}
	
}

@media only screen and (min-width: 1100px) {
	
	.reference-mini-title {
	padding-top: 50px; padding-bottom: 50px;
	}
	
	.reference-mini a:hover .reference-mini-title {
	padding-top: 25px; padding-bottom: 25px;
	}
	
}

@media only screen and (min-width: 900px) {
	
	.references h2 {
	margin-top: 80px; text-align: left;
	}

	.reference-mini-outer {
	float: left; width: 33.3%; padding-top: 30px;
	}

	.reference-mini-outer:nth-of-type(3n+1) {
	clear: both; padding-right: 20px;	
	}

	.reference-mini-outer:nth-of-type(3n+2) {
	padding-left: 10px; padding-right: 10px;
	}

	.reference-mini-outer:nth-of-type(3n) {
	padding-left: 20px;
	}
	
	.reference-mini-outer:nth-of-type(-n+3) {
	padding-top: 0;
	}
	
	.reference-mini-picture {
	-webkit-transform: scale(1.0);
	-moz-transform: scale(1.0);
	transform: scale(1.0);
	}
	
	.reference-mini a:hover .reference-mini-picture {
	-webkit-transform: scale(1.3);
	-moz-transform: scale(1.3);
	transform: scale(1.3);
	}
	
	.reference-mini-cover {
	top: 0; height: 100%;
	background: rgba(0,0,0,0.4);
	}

	.reference-mini a:hover .reference-mini-cover {
	height: 50%;
	background: transparent;
	}
	
	.reference-mini-logo {
	padding-top: 25px;
	}
	
	.reference-mini a:hover .reference-mini-logo {
	padding-top: 50%;
	}
	
	.reference-mini-logo img {
	opacity: 1;
	transform: rotate(0deg);
	}

	.reference-mini a:hover .reference-mini-logo img {
	width: 10%; margin-left: 0;
	opacity: 0;
	transform: rotate(-90deg);
	}
	
	.reference-mini-title {
	bottom: 0; padding-left: 25px; padding-right: 25px; min-height: 50%;
	background: #fff;
	color: #222;
	}
	
	.reference-mini a:hover .reference-mini-title {
	min-height: 30%;
	background: transparent;
	color: #fff;
	}
	
}

.gmap {
margin-top: 30px;	
}

.gmap iframe {
width: 100%; height: 300px; border: 0;
}

.gdpr-content {
margin-top: 20px; text-align: left;	
}


/*-----river-----*/

.river-bottom {
margin-bottom: 50px;
}

.river-content, .river-wide {
width: 100%; position: relative;
}

.river-content {
padding-bottom: 5px; min-height: 100px;
}

.river-content:nth-of-type(4n+1) {
padding-left: 80px; text-align: left;
}

.river-content:nth-of-type(4n+3) {
padding-right: 80px; text-align: right;
}

.river-wide {
height: 100px; overflow: hidden;
}

.river-vertical, .river-horizontal, .river-outer-corner {
position: absolute;
background: #f5f1e3;
}

.river-horizontal {
left: 50px; right: 50px; height: 50px; top: 25px;
}

.river-vertical {
width: 50px; height: 100%; top: 0;	
}

.river-content:nth-of-type(4n+1) .river-vertical {
left: 0;	
}

.river-content:nth-of-type(4n+3) .river-vertical {
right: 0;
}

.river-outer-corner {
width: 150px; height: 150px;
z-index: 90;
}

.river-wide:nth-of-type(4n+2) .river-outer-corner:nth-of-type(1) {
left: 0; top: -75px; right: auto;
-webkit-border-radius: 0 0 0 50px;
-moz-border-radius: 0 0 0 50px;
-ms-border-radius: 0 0 0 50px;
-o-border-radius: 0 0 0 50px;
border-radius: 0 0 0 50px;
}

.river-wide:nth-of-type(4n+2) .river-outer-corner:nth-of-type(4) {
left: auto; right: 0; top: 25px;
-webkit-border-radius: 0 50px 0 0;
-moz-border-radius: 0 50px 0 0;
-ms-border-radius: 0 50px 0 0;
-o-border-radius: 0 50px 0 0;
border-radius: 0 50px 0 0;
}

.river-wide:nth-of-type(4n+4) .river-outer-corner:nth-of-type(1) {
right: 0; top: -75px;
-webkit-border-radius: 0 0 50px 0;
-moz-border-radius: 0 0 50px 0;
-ms-border-radius: 0 0 50px 0;
-o-border-radius: 0 0 50px 0;
border-radius: 0 0 50px 0;
}

.river-wide:nth-of-type(4n+4) .river-outer-corner:nth-of-type(4) {
left: 0; top: 25px;
-webkit-border-radius: 50px 0 0 0;
-moz-border-radius: 50px 0 0 0;
-ms-border-radius: 50px 0 0 0;
-o-border-radius: 50px 0 0 0;
border-radius: 50px 0 0 0;
}

.river-inner-corner {
position: absolute; width: 100px; height: 100px;
background: #fff;
z-index: 95;
}

.river-wide:nth-of-type(4n+2) .river-inner-corner:nth-of-type(2) {
left: 50px; top: -75px;
-webkit-border-radius: 0 0 0 50px;
-moz-border-radius: 0 0 0 50px;
-ms-border-radius: 0 0 0 50px;
-o-border-radius: 0 0 0 50px;
border-radius: 0 0 0 25px;
}

.river-wide:nth-of-type(4n+2) .river-inner-corner:nth-of-type(5) {
right: 50px; top: 75px;
-webkit-border-radius: 0 50px 0 0;
-moz-border-radius: 0 50px 0 0;
-ms-border-radius: 0 50px 0 0;
-o-border-radius: 0 50px 0 0;
border-radius: 0 25px 0 0;
}

.river-wide:nth-of-type(4n+4) .river-inner-corner:nth-of-type(2) {
right: 50px; top: -75px;
-webkit-border-radius: 0 0 50px 0;
-moz-border-radius: 0 0 50px 0;
-ms-border-radius: 0 0 50px 0;
-o-border-radius: 0 0 50px 0;
border-radius: 0 0 25px 0;
}

.river-wide:nth-of-type(4n+4) .river-inner-corner:nth-of-type(5) {
left: 50px; top: 75px;
-webkit-border-radius: 50px 0 0 0;
-moz-border-radius: 50px 0 0 0;
-ms-border-radius: 50px 0 0 0;
-o-border-radius: 50px 0 0 0;
border-radius: 25px 0 0 0;
}

.medal {
position: absolute; top: 0; width: 70px; height: 70px; text-align: center; padding-top: 18px;
border: 4px #bc8964 solid;
color: #bc8964;
font-size: 30px; line-height: 30px;
z-index: 96;
}

.river-content:nth-of-type(4n+1) .medal {
left: 75px;	
}

.river-content:nth-of-type(4n+3) .medal {
right: 75px;
}

.river-content img {
display: inline-block;	
}

/*-----contact-----*/


.contact-phone, .contact-email {
padding-left: 30px;
background-size: auto 19px;
background-repeat: no-repeat;
}

.contact-phone {
background-position: 1px 2px;
background-image: url('images/phone-dark.png');
}

.contact-email {
background-position: left 3px;
background-image: url('images/mail-dark.png');
}

.prefooter .contact-phone {
background-image: url('images/phone.png');
}
	
.prefooter .contact-email {
background-image: url('images/mail.png');
}

.contact-item {
margin-bottom: 10px;	
}

.contact .button-outer {
float: right;	
}

.contact-item:last-child {
margin-bottom: 0;	
}

@media only screen and (max-width: 500px) {
	
	.contact-picture {
	width: 150px; margin-bottom: 20px;
	}

}

@media only screen and (min-width: 500px) {
	
	.contact-picture {
	float: left; width: 30%; padding-right: 20px;
	}

	.contact-data {
	float: right; width: 70%;
	}

	.contact-address, .prefooter .social-networks {
	padding-left: 30%;	
	}

}

.social-networks a {
display: inline-block;
}

.social-networks a:last-child {
margin-right: 0;
}

.single .social-networks a {
width: 60px; margin-right: 10px; padding: 15px;
background: #222;
}

.single .social-networks a:hover {
background: #bc8964;
}

.social-networks img {
width: auto; height: 30px; margin-left: auto; margin-right: auto;
}

.prefooter .social-networks a {
margin-right: 30px;
}

.prefooter .social-networks img {
height: 55px;
opacity: 0.7;
}

.prefooter .social-networks a:hover img {
opacity: 1;
}


/*-----footer-----*/

.prefooter, .prefooter a, .footer, .footer a {
color: #fff;	
}

.prefooter {
text-align: left;
background: #000;
}

@media only screen and (max-width: 900px) {
	
	.prefooter .half:first-of-type {
	margin-bottom: 60px;
	}

}

.prefooter a {
color: #edd0ba;
}

@media only screen and (min-width: 870px) {

	.prefooter a:hover {
	color: #fff;
	}

}

.prefooter .content-section {
margin-bottom: 60px;
}

.prefooter .content-section:last-child {
margin-bottom: 0;
}

.prefooter-title {
margin-bottom: 5px;
color: #ccc;	
}

.footer-nav {
margin-bottom: 0;
}

.footer-nav ul {
margin-bottom: 60px;	
}

.footer-nav li {
list-style: none; margin: 0; padding: 0;
}

.footer-nav a {
position: relative;	display: block; padding: 5px 50px 5px 0;
}

.footer-nav a:hover, .footer-nav ul a {
color: #edd0ba;
}

.footer-nav a, .footer-nav ul a:hover, .footer-nav .current-menu-item > a, .footer-nav .current-menu-item > a:hover {
color: #fff;
}

.footer-nav .navmenu-icon {
display: none;
}

.footer-nav .arrow-outer {
position: absolute; top: 4px; right: 0;	
}

.footer-nav a .arrow div, .footer-nav .current-menu-item > a .arrow div {
background-color: #fff;
}

.footer-nav ul a .arrow div {
background-color: #edd0ba;
}

@media only screen and (min-width: 870px) {
	
	.footer-nav ul a:hover .arrow div, .footer-nav .current-menu-item > a:hover .arrow div  {
	background-color: #fff;
	}
	
	.footer-nav a:hover .arrow div {
	background-color: #edd0ba;
	}
	
}

@media only screen and (min-width: 900px) {
	
	.footer-nav a {
	max-width: 300px;
	}
	
}

.footer {
padding-top: 10px; padding-bottom: 10px;
background: #000;
}

.footer p {
margin: 0;
}

.footer p, .footer a {
color: #aaa;
}

.footer a:hover {
color: #edd0ba;
}

@media only screen and (max-width: 500px) {
	
	.foot.left, .foot.right {
	float: none; text-align: left;
	}
	
	.foot.left {
	margin-bottom: 5px;	
	}
	
}

@media only screen and (min-width: 900px) {
	
	.footer {
	padding-top: 100px; padding-bottom: 60px;
	}

}

/*-----gdpr-----*/

.gdpr-bar {
position: fixed; left: 0; bottom: 0; width: 100%; padding: 10px 20px;
color: #fff;
background: #000;
border-top: 1px #222 solid;
z-index: 9999;
}

.gdpr-bar p {
margin-bottom: 5px;	
}

/*-----contact and forms-----*/

input#aiFormName, label#aiFormNameLabel {
display: none;
}

.contact-table th {
text-align: right; padding-right: 10px;	
}

input, select, textarea {
width: 100%; display: block; padding: 8px; margin-top: 5px; margin-bottom: 20px;
background-color: #fff;
-webkit-appearance:none;
-moz-appearance:none;
appearance:none;
}

input:last-child, select:last-child, textarea:last-child {
margin-bottom: 0;
}

textarea {
height: 200px;	
}

.spam {
text-align: right; margin-bottom: 20px;
}

.spam input {
width: 80px; margin-left: 5px;
}

.spam label, .spam input {
display: inline-block;
}

.button-outer {
position: relative; display: inline-block;
}

.button, input[type="submit"], .button.button-invert {
position: relative; display: block; width: auto; margin: 0; min-width: 200px; text-align: center;
background-color: transparent;
border-width: 2px;
border-style: solid;
z-index: 98;
}

.button, input[type="submit"] {
color: #222;
border-color: #222;
}

.button-outer-invert .button, .button-outer-invert input[type="submit"] {
color: #fff;
border-color: #fff;
}

.button-arrow .arrow-outer {
position: absolute;
z-index: 99;
}

.button-arrow .arrow div {
background-color: #222;
}

.button-outer-invert .button-arrow .arrow div {
background-color: #fff;
}

.button-area .button-outer.button-outer-left, .button-area .button-outer.button-outer-right {
margin: 0 0 30px;
}
	
.button-area .button-outer.button-outer-left:last-child, .button-area .button-outer.button-outer-right:last-child {
margin: 0;
}

@media only screen and (max-width: 870px) {
	
	.button-cover {
	display: none;
	}
	
}

@media only screen and (min-width: 870px) {
	
	.button:hover, input[type="submit"]:hover {
	color: #fff;
	}	
	
	.button-outer-invert .button:hover, .button-outer-invert input[type="submit"]:hover {
	color: #222;
	}
	
	.button-cover {
	position: absolute; top: 0; left: 0; width: 10px; height: 10px;
	background-color: transparent;
	border: 2px #222 solid;
	z-index: 97;
	}

	.button-outer-invert .button-cover {
	border-color: #fff;
	}
	
	.button-outer:hover .button-cover, .button-outer input[type="submit"]:hover .button-cover {
	width: 100%; height: 100%;
	background-color: #222;
	}

	.button-outer.button-outer-invert:hover .button-cover, .button-outer.button-outer-invert:hover input[type="submit"] .button-cover {
	background-color: #fff;
	}

	.button-arrow:hover .arrow div {
	background-color: #fff;
	}

	.button-outer-invert .button-arrow:hover .arrow div {
	background-color: #222;
	}


}

@media only screen and (max-width: 960px) {

	.button, input[type="submit"] {
	padding: 20px 15px 20px;
	}
	
	.button-area .button-outer {
	margin: 20px 10px 0;
	}
	
	.button-arrow {
	padding-right: 42px;
	}
	
	.button-arrow .arrow-outer {
	top: 19px; right: 15px;
	}

}

@media only screen and (min-width: 960px) {

	.button, input[type="submit"] {
	padding: 28px 20px 28px;
	}
	
	.button-area .button-outer {
	margin: 30px 30px 0 0;
	}
	
	.button-area .button-outer:last-child {
	margin-right: 0;
	}
	
	.button-arrow {
	padding-right: 48px;
	}
	
	.button-arrow .arrow-outer {
	top: 27px; right: 20px;
	}

}

.button.button-small, input[type="submit"].button-small {
min-width: auto; padding: 6px 20px;
}

.contact input[type="submit"] {
float: right;	
}

input[type=submit].gdpr-page-button {
min-width: auto; text-align: center;
white-space: normal;
}

.gdpr-bar .button-outer {
margin-left: 5px; margin-right: 5px; margin-bottom: 5px;
}

.button-switch-area {
display: inline-block;
padding: 5px;
border: 2px #222 solid;
}

.button-switch-outer {
position: relative;	
}

.button.button-switch {
border-width: 0;
}

.button-switch-cover {
position: absolute; top: 0; width: 1px; height: 100%;
background: #222;
}

.button-switch-outer:nth-of-type(1) .button-switch-cover {
right: 0;
}

.button-switch-outer:nth-of-type(2) .button-switch-cover {
left: 0;
}

.button-switch-outer.active .button.button-switch {
color: #fff;	
}

@media only screen and (max-width: 520px) {
	
	.button-switch-outer {
	display: block;	
	}
	
	.button-switch-cover {
	display: none; width: 100%;
	}
	
	.button-switch-outer.active .button-switch-cover {
	display: block;
	}
	
}

@media only screen and (min-width: 520px) {
	
	.button-switch-outer {
	display: inline-block;	
	}
	
	.button-switch-cover {
	width: 1px;
	}
	
	.button-switch-outer.active .button-switch-cover {
	width: 100%;
	}
	
}

@media only screen and (min-width: 960px) {
	
	.button-switch-area:hover .button-switch-outer.active .button-switch-cover {
	width: 1px;
	}

	.button-switch-outer:hover .button-switch-cover, .button-switch-area:hover .button-switch-outer.active:hover .button-switch-cover {
	width: 100%;
	}

	.button-switch-area:hover .button-switch-outer.active .button.button-switch {
	color: #222;	
	}

	.button-switch-area:hover .button-switch-outer.active:hover .button.button-switch {
	color: #fff;	
	}
	
}

.thanks, .error, .info {
padding: 10px; display: block; margin-bottom: 20px; text-align: left;
border-left: 5px solid #7bae23;
background-color: #eee;
}

.error {
border-left-color: #f54;	
}

.error p {
margin: 0;	
}

.info {
border-left-color: #1676b2;
}

.checkbox-wrap {
clear: both; margin-bottom: 20px;
}

.checkbox-wrap:last-child {
margin-bottom: 0;
}

input[type="checkbox"], input[type="radio"] {
display: inline-block; margin: 0 5px 0 0; padding: 0;
width: 20px; height: 20px;
background: #fff;
cursor: pointer;
}

input[type="checkbox"] {
margin-right: 10px;	
}

input[type=checkbox]:checked {
background: #fff url('images/check.png') center center no-repeat;
background-size: 80% 80%;
}

input[type="checkbox"]:focus, input[type="radio"]:focus {
outline: none;
}

/*input[type=radio]:checked {
background: #fff url('images/radio.png') center center no-repeat;
background-size: 100% 100%;
}

input[type="radio"], input[type="radio"]:before {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
}*/

/*.radio-desc label, .checkbox-desc label {
cursor: pointer;	
}*/

/*select {
padding-right: 30px;
cursor: pointer;
background-color: #fafafa;
background-image: url('images/select.png');
background-position: center right;
background-repeat: no-repeat;
background-size: auto 35%;
}

select::-ms-expand {
display: none;
}*/

.button, input[type=submit], input[type="checkbox"], input[type="radio"] {
cursor: pointer;
}

/*-----gallery-----*/

.gal-href {
position: relative; display: block;
}

.gallery-pic img {
-webkit-transform: scale(1);
-moz-transform: scale(1);
transform: scale(1);
}

@media only screen and (min-width:870px) {

	.gallery-pic:hover img {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	transform: scale(1.1);
	}

}

.gal-title {
position: absolute; bottom: -2px; left: 0; width: 100%; padding: 10px 10px 12px; text-align: center;
}

.gal-title, .featherlight-title-content {
background: rgba(255,255,255,0.8);
color: #222;
}

.featherlight {
display: none; position:fixed; top: 0; right: 0; bottom: 0; left: 0; text-align: center;
background: #333;
background: rgba(0,0,0,0);
z-index: 99999;
white-space: nowrap;
cursor: pointer;
}

.featherlight:last-of-type {
background: rgba(0, 0, 0, 0.8);
}

.featherlight:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}

.featherlight .featherlight-content {
position: relative;	display: inline-block; overflow: hidden; margin-left: 5%; margin-right: 5%; max-height: 95%; padding: 25px 25px 0; text-align: left; vertical-align: middle;
border-bottom: 25px solid transparent;
background: #fff;
cursor: auto;
white-space: normal;
}

.featherlight .featherlight-inner {
display: block;
}

.featherlight-title-content {
position: absolute; display: block; left: 25px; right: 25px; bottom: 0px; margin: auto; padding: 10px 20px;
}

.featherlight .featherlight-close-icon {
position: absolute; width: 25px; top: 0; right: 0; text-align: center;
z-index: 99998;
cursor: pointer;
line-height: 25px; font-family: Arial, sans-serif; background: #fff;
color: #222;
}

.featherlight .featherlight-image {
max-width: 100%; max-height: 100%;
}

.featherlight-iframe .featherlight-content {
padding: 0;
border-bottom: 0;
}

.featherlight iframe {
border: none;
}

.featherlight-loading .featherlight-content {
width: 80px; height: 80px; padding: 0;
background: #fff url('images/loading.gif') no-repeat center 20px;
background-size: 40px auto;
}

.featherlight-content img {
height: auto !important;	
}

.featherlight-loading .featherlight-previous, .featherlight-loading .featherlight-next, .featherlight-loading .featherlight-close-icon {
display:none;
}

.featherlight-next, .featherlight-previous {
display: block; position: absolute; top: 25px; bottom: 0; width: 50px;
background-repeat: no-repeat;
background-position: center center;
background-size: 70% auto;
opacity: 0.6;
cursor: pointer;
}

.featherlight-next:hover, .featherlight-previous:hover {
opacity: 1;
background-color: rgba(0,0,0,0.2);
}

.featherlight-previous {
left: 25px;
background-image: url('images/left.png');
}

.featherlight-next {
right: 25px;
background-image: url('images/right.png');
}

.featherlight-next span, .featherlight-previous span {
display: none;
}

/*----video-----*/

.youtube-video {
position: relative; width: 100%; height: 0; padding-bottom: 56.25%; padding-top: 30px; overflow: hidden;
}

.youtube-video iframe, .youtube-video object, .youtube-video embed {
position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 100%;
}

/*-----anchor-----*/

.anchor {
display: block; position: relative; visibility: hidden; margin-top: -10px; padding-top: 10px;
}

@media only screen and (min-width:600px) and (max-width:768px) {
	
	.logged .anchor {
	margin-top: -56px; padding-top: 56px;
	}
	
}

@media only screen and (min-width:768px) and (max-width:900px) {
	
	.logged .anchor {
	margin-top: -42px; padding-top: 42px;
	}
	
}

@media only screen and (min-width:900px) {

	.anchor {
	margin-top: -150px; padding-top: 150px;
	}
	
}

/*-----efekty gradient radius -----*/

a, .button-cover, .button-switch-cover, .container, .arrow, .arrow div, .header, .hamburger, .hamburger div, .navmenu, .navmenu ul.menu, .navmenu li ul, .navmenu ul.menu > li.menu-item-has-children > a .arrow-outer, .navmenu-icon img, .prefooter .social-networks img, .button, input[type=submit],
.slider-wrap, .slider a img, .slider-button, .gallery-pic img, .featherlight-prev, .featherlight-next {
-webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
}

.navmenu ul ul {
-webkit-transition: opacity 0.6s ease;
-moz-transition: opacity 0.6s ease;
-ms-transition: opacity 0.6s ease;
-o-transition: opacity 0.6s ease;
transition: opacity 0.6s ease;
}

.slider-item-wrap {
-webkit-transition: all 0.6s ease-out;	
-moz-transition: all 0.6s ease-out;	
-ms-transition: all 0.6s ease-out;	
-o-transition: all 0.6s ease-out;
transition: all 0.6s ease-out;	
}

@media only screen and (min-width: 870px) {

	.reference-mini-cover {
	-webkit-transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	-ms-transition: all 0.3s ease-in;
	-o-transition: all 0.3s ease-in;
	transition: all 0.3s ease-in;
	}
	
	.reference-mini-logo, .reference-mini-logo img, .reference-mini-picture {
	-webkit-transition: all 0.7s ease;
	-moz-transition: all 0.7s ease;
	-ms-transition: all 0.7s ease;
	-o-transition: all 0.7s ease;
	transition: all 0.7s ease;
	}

	.reference-mini-title {
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-ms-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	}


}

.unloaded .container {
opacity: 0;	
}

.container {
opacity: 1;	
}

.banner-text {
opacity: 1;	
}

.unloaded .banner-text {
opacity: 0;	
}

.banner-text {
opacity: 1;	
}

.reference-mini-outer .reference-mini {
margin-top: 100px;
opacity: 0.2;
}

.reference-mini-outer.shown  .reference-mini {
margin-top: 0;
opacity: 1;
}

.widebox {
padding-top: 100px;
opacity: 0.1;
}

.widebox.shown {
padding-top: 0;
opacity: 1;
}

.river-content {
padding-top: 200px;
}

.river-content.shown {
padding-top: 100px;
}

.medal {
opacity: 0;
-webkit-transform: rotate3d(0,1,0,360deg);
-moz-transform: rotate3d(0,1,0,360deg);
transform: rotate3d(0,1,0,360deg);
}

.river-content.shown .medal {
opacity: 1;
-webkit-transform: rotate3d(0,1,0,0deg);
-moz-transform: rotate3d(0,1,0,0deg);
transform: rotate3d(0,1,0,0deg);
}

.banner-text, .widebox, .river-content, .reference-mini-outer .reference-mini {
-webkit-transition: all 1.5s ease-out;
-moz-transition: all 1.5s ease-out;
-ms-transition: all 1.5s ease-out;
-o-transition: all 1.5s ease-out;
transition: all 1.5s ease-out;
}

.medal {
-webkit-transition: all 1s ease-out;
-moz-transition: all 1s ease-out;
-ms-transition: all 1s ease-out;
-o-transition: all 1s ease-out;
transition: all 1s ease-out;
}

@media only screen and (min-width: 740px) {
	
	.widebox-picture {
	-webkit-transform: scale(0.1);
	-moz-transform: scale(0.1);
	transform: scale(0.1);
	}
	
	.widebox.shown .widebox-picture {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	transform: scale(1);	
	}
		
	.widebox-picture {
	-webkit-transition: all 1.0s ease-out;
	-moz-transition: all 1.0s ease-out;
	-ms-transition: all 1.0s ease-out;
	-o-transition: all 1.0s ease-out;
	transition: all 1.0s ease-out;	
	}
	
}

@media only screen and (min-width: 1079px) {

	.unloaded .header {
	top: -100px;	
	}

}

@media only screen and (min-width: 960px) {
	
	.banner {
	overflow: hidden;	
	}
	
	.unloaded .banner-cover {
	width: 1px; height: 1px;
	}
	
	.banner-cover {
	-webkit-transition: all 0.8s ease-in;
	-moz-transition: all 0.8s ease-in;
	-ms-transition: all 0.8s ease-in;
	-o-transition: all 0.8s ease-in;
	transition: all 0.8s ease-in;
	}
	
	.unloaded .banner-content {
	margin-right: -100%; padding: 0;
	}

	.banner-content {
	margin-right: 0;
	}

	.banner-content {
	-webkit-transition: all 1.2s ease-out;
	-moz-transition: all 1.2s ease-out;
	-ms-transition: all 1.2s ease-out;
	-o-transition: all 1.2s ease-out;
	transition: all 1.2s ease-out;
	}
	
}

.radius_0, input, select, textarea {
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
-ms-border-radius: 0px;
-o-border-radius: 0px;
border-radius: 0px;
}

.medal, .single .social-networks a {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
}

@media only screen and (max-width: 1079px) {
		
	.navmenu ul.menu {
	-webkit-box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	-moz-box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	-ms-box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	-o-box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	}
	
}

@media only screen and (min-width: 1079px) {

	.navmenu ul ul {
	-webkit-box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	-moz-box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	-ms-box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	-o-box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	box-shadow: 5px 5px 30px rgb(0,0,0,0.1);
	}

}

/*-----slider-----*/

.slider-wrapper {
padding-left: 20px; padding-right: 20px;
}

.slider-wrap {
margin-top: 50px;
}

.slider-title {
color: #f5f1e3;
}

.slider-link a {
color: #edd0ba;
}

.slider-link a:hover {
color: #fff;
}

.slider-link a .arrow div {
background-color: #edd0ba;
}

.slider-link a:hover .arrow div {
background-color: #fff;
}

.slider-wrap {
position: relative; padding-left: 30px; padding-right: 30px; overflow: hidden;
}

.slider {
position: relative;
}

.slider-item-wrap {
position: absolute; top: 0; width: 30%;
opacity: 1;
-webkit-transform: scale(1.0);
-ms-transform: scale(1.0);
-moz-transform: scale(1.0);
transform: scale(1.0);
z-index: 997;
}

.slider-item-wrap.left-block-outside, .slider-item-wrap.right-block-outside {
opacity: 0;
-webkit-transform: scale(0.1);
-ms-transform: scale(0.1);
-moz-transform: scale(0.1);
transform: scale(0.1);
}

.slider-item-wrap.left-block {
top: 10%; left: 0; right: 70%;
}

.slider-item-wrap.center-block {
left: 25%; right: 25%; width: 50%;
z-index: 998;
}

.slider-item-wrap.right-block {
top: 10%; left: 70%; right: 0;
}

.slider-item-wrap.left-block-outside {
left: -50%; right: 120%;
}

.slider-item-wrap.right-block-outside {
left: 120%; right: -50%;
}

.slider-item-wrap.is-out {
display: none;
}

.slider .fourth:nth-of-type(4n+1) {
padding-right: 15px;
}

.slider .fourth:nth-of-type(4n+2) {
padding-left: 5px; padding-right: 10px;
}

.slider .fourth:nth-of-type(4n+3) {
padding-left: 10px; padding-right: 5px;
}

.slider .fourth:nth-of-type(4n) {
padding-left: 15px;
}

.slider a {
display: block; text-align: center;
cursor: pointer;
}

.slider-img-wrap {
overflow: hidden;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
}

.slider-img-wrap img, .unclickable .center-block .slider-img-wrap img, .unclickable .slider a:hover .slider-img-wrap img {
opacity: 0.4;
}

.center-block .slider-img-wrap img, .slider a:hover .slider-img-wrap img {
opacity: 1;
}

.slider-img-wrap img, .unclickable .slider .center-block a:hover .slider-img-wrap img {
-webkit-transform: scale(1.0);
-ms-transform: scale(1.0);
-moz-transform: scale(1.0);
transform: scale(1.0);
}

.slider .center-block a:hover .slider-img-wrap img {
-webkit-transform: scale(1.2);
-ms-transform: scale(1.2);
-moz-transform: scale(1.2);
transform: scale(1.2);
}

.reference-slider-logo img {
width: auto; margin-left: auto; margin-right: auto;
}

.reference-slider-logo img.logo-low {
max-height: 40px;
}

.reference-slider-logo img.logo-high {
max-height: 80px;
}

.reference-slider-logo img, .unclickable .center-block .reference-slider-logo img {
margin-top: 0;
opacity: 0;
-webkit-transform: scale(0.1);
-ms-transform: scale(0.1);
-moz-transform: scale(0.1);
transform: scale(0.1);
}

.center-block .reference-slider-logo img {
margin-top: 30px;
opacity: 1;
-webkit-transform: scale(1.0);
-ms-transform: scale(1.0);
-moz-transform: scale(1.0);
transform: scale(1.0);
}

.center-block .reference-slider-logo img.logo-low {
margin-top: 45px;
}

.slider-button {
display: block; position: absolute; top: 20%; bottom: 0; width: 20px;
background-repeat: no-repeat;
background-size: 80% auto;
opacity: 0.6;
cursor: pointer;
z-index: 999;
}

.slider-button:hover {
opacity: 1;
}

.slider-button#left {
left: 0;
background-position: top left;
background-image: url('images/left.png');
}

.slider-button#right {
right: 0;
background-position: top right;
background-image: url('images/right.png');
}

@media only screen and (min-width:400px) {
	
	.slider-wrap {
	padding-left: 60px; padding-right: 60px;
	}
	
	.slider-button {
	width: 50px; bottom: 35%;
	background-size: 70% auto;
	}

}

@media only screen and (min-width:1030px) {

	.slider-title {
	float: left; padding-left: 60px;
	}
	
	.slider-link {
	float: right; padding-right: 60px;
	}
	
}

/*-----float cleaner-----*/

.float-in:before, .float-in:after {
content:"";
display:table;
}

.float-in {
zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

.float-in:after {
clear:both;
}
