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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

#slides {
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(0);
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clear {
	clear: both;
}

@font-face {
  font-family: 'Gotham Light';
  src: url('fonts/Gotham-Light.eot'); /* IE9 Compat Modes */
  src: url('fonts/Gotham-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Gotham-Light.woff') format('woff'), /* Modern Browsers */
       url('fonts/Gotham-Light.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Gotham-Light.svg#vjnfowmkem') format('svg'); /* Legacy iOS */

  font-style:   normal;
  font-weight:  200;
}


@font-face {
	font-family: 'icomoon';
	src:url('fonts/icomoon.eot');
	src:url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
		url('fonts/icomoon.woff') format('woff'),
		url('fonts/icomoon.ttf') format('truetype'),
		url('fonts/icomoon.svg#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
	font-family: 'icomoon';
	content: attr(data-icon);
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

/* Use the following CSS code if you want to have a class per icon */
/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"] {
*/
.icon-widget, .icon-double-arrows-up, .icon-arrow-prev, .icon-arrow-next, .icon-plus-symbol {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}
.icon-widget:before {
	content: "\e000";
}
.icon-double-arrows-up:before {
	content: "\e001";
}
.icon-arrow-prev:before {
	content: "\e002";
}
.icon-arrow-next:before {
	content: "\e003";
}

.icon-plus-symbol:before {
	content: "\e004";
}

body {
	background-color: #151515;
	font-family: 'Gotham Light', TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
	letter-spacing: 2px;
	font-size: 12px;
	line-height: 16px;
	color: #fff;
	font-weight: 200;
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
}

html, body, #slides, #slides ul, #slides ul li {
	height: 100%;
	width: 100%;
	/*overflow: hidden;*/
}

#slides ul {
	-webkit-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
}


#slides ul li {
	background-repeat: no-repeat;
	background-position: center center;

	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	position: fixed;
	z-index: 1;
	top: -100%;

	
}


#slides ul li.inLeft {
	-webkit-animation: inLeft 0.8s ease;
	-moz-animation: inLeft 0.8s ease;
	-ms-animation: inLeft 0.8s ease;
	-o-animation: inLeft 0.8s ease;
	animation: inLeft 0.8s ease;
	z-index: 10;
	top: 0;
	
}




/* start ani */
/* In Left */
@keyframes "inLeft" {
	0% {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-o-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	left: 100%;
}
 100% {
    -webkit-transform: translateX(-100%);
   	-moz-transform: translateX(-100%);
   	-o-transform: translateX(-100%);
   	-ms-transform: translateX(-100%);
   	transform: translateX(-100%);
	left: 100%;
 }

}

@-moz-keyframes inLeft {
	0% {
	-moz-transform: translateX(0);
	transform: translateX(0);
	left: 100%;
}
 100% {
   -moz-transform: translateX(-100%);
   transform: translateX(-100%);
	left: 100%;
 }

}

@-webkit-keyframes "inLeft" {
	0% {
	-webkit-transform: translateX(0);
	transform: translateX(0);
	left: 100%;

}
 100% {
   -webkit-transform: translateX(-100%);
   transform: translateX(-100%);
	left: 100%;
 }

}

@-ms-keyframes "inLeft" {
	0% {
	-ms-transform: translateX(0);
	transform: translateX(0);
	left: 100%;
}
 100% {
   -ms-transform: translateX(-100%);
   transform: translateX(-100%);
   	left: 100%;
 }

}

@-o-keyframes "inLeft" {
	0% {
	-o-transform: translateX(0);
	transform: translateX(0);
	left: 100%;
}
 100% {
   -o-transform: translateX(-100%);
   transform: translateX(-100%);
	left: 100%;
 }

}


/* In Right */
@keyframes "inRight" {
 from {
   	-webkit-transform: translateX(0);
   	-moz-transform: translateX(0);
   	-o-transform: translateX(0);
   	-ms-transform: translateX(0);
   	transform: translateX(0);
 }
 100% {
   	-webkit-transform: translateX(100%);
   	-moz-transform: translateX(100%);
   	-o-transform: translateX(100%);
   	-ms-transform: translateX(100%);
   	transform: translateX(100%);
 }

}

@-moz-keyframes inRight {
 from {
   left: -100%;
   -moz-transform: translateX(0);
   transform: translateX(0);
 }
 100% {
   left: -100%;
   -moz-transform: translateX(100%);
   transform: translateX(100%);
 }

}

@-webkit-keyframes "inRight" {
 from {
   left: -100%;
   -webkit-transform: translateX(0);
   transform: translateX(0);
 }
 100% {
   left: -100%;
   -webkit-transform: translateX(100%);
   transform: translateX(100%);
 }

}

@-ms-keyframes "inRight" {
 from {
   left: -100%;
   -ms-transform: translateX(0);
   transform: translateX(0);
 }
 100% {
   left: -100%;
   -ms-transform: translateX(100%);
   transform: translateX(100%);
 }

}

@-o-keyframes "inRight" {
 from {
   left: -100%;
   -o-transform: translateX(0);
   transform: translateX(0);
 }
 100% {
   left: -100%;
   -o-transform: translateX(100%);
   transform: translateX(100%);
 }

}


/* out right */
@keyframes "outRight" {
 0% {
    -webkit-transform: translateX(0);
   	-moz-transform: translateX(0);
   	-o-transform: translateX(0);
   	-ms-transform: translateX(0);
   	transform: translateX(0);
 }
 100% {
    -webkit-transform: translateX(-100%);
   	-moz-transform: translateX(-100%);
   	-o-transform: translateX(-100%);
   	-ms-transform: translateX(-100%);
   	transform: translateX(-100%);
 }

}

@-moz-keyframes outRight {
 0% {
   -moz-transform: translateX(0);
   transform: translateX(0);
 }
 100% {
   -moz-transform: translateX(-100%);
   transform: translateX(-100%);
 }

}

@-webkit-keyframes "outRight" {
 0% {
   -webkit-transform: translateX(0);
   transform: translateX(0);
 }
 100% {
   -webkit-transform: translateX(-100%);
   transform: translateX(-100%);
 }

}

@-ms-keyframes "outRight" {
 0% {
   -ms-transform: translateX(0);
   transform: translateX(0);
 }
 100% {
   -ms-transform: translateX(-100%);
   transform: translateX(-100%);
 }

}

@-o-keyframes "outRight" {
 0% {
   -o-transform: translateX(0);
   transform: translateX(0);
 }
 100% {
   -o-transform: translateX(-100%);
   transform: translateX(-100%);
 }

}

@keyframes "outLeft" {
 0% {
    left: 100%;
   	-webkit-transform: translateX(-100%);
   	-moz-transform: translateX(-100%);
   	-o-transform: translateX(-100%);
   	-ms-transform: translateX(-100%);
   	transform: translateX(-100%);
 }
 100% {
    left: 100%;
   	-webkit-transform: translateX(0%);
   	-moz-transform: translateX(0%);
   	-o-transform: translateX(0%);
   	-ms-transform: translateX(0%);
   	transform: translateX(0%);
 }

}

@-moz-keyframes outLeft {
 0% {
   left: 100%;
   -moz-transform: translateX(-100%);
   transform: translateX(-100%);
 }
 100% {
   left: 100%;
   -moz-transform: translateX(0%);
   transform: translateX(0%);
 }

}

@-webkit-keyframes "outLeft" {
 0% {
   left: 100%;
   -webkit-transform: translateX(-100%);
   transform: translateX(-100%);
 }
 100% {
   left: 100%;
   -webkit-transform: translateX(0%);
   transform: translateX(0%);
 }

}

@-ms-keyframes "outLeft" {
 0% {
   left: 100%;
   -ms-transform: translateX(-100%);
   transform: translateX(-100%);
 }
 100% {
   left: 100%;
   -ms-transform: translateX(0%);
   transform: translateX(0%);
 }

}

@-o-keyframes "outLeft" {
 0% {
   left: 100%;
   -o-transform: translateX(-100%);
   transform: translateX(-100%);
 }
 100% {
   left: 100%;
   -o-transform: translateX(0%);
   transform: translateX(0%);
 }

}





/* end ani */


#slides ul li.outRight {
	-webkit-animation: outRight 0.8s ease;
	-moz-animation: outRight 0.8s ease;
	-ms-animation: outRight 0.8s ease;
	-o-animation: outRight 0.8s ease;
	animation: outRight 0.8s ease;
	z-index: 2;
	top: 0;
	
}

#slides ul li.inRight {
	-webkit-animation: inRight 0.8s ease;
	-moz-animation: inRight 0.8s ease;
	-ms-animation: inRight 0.8s ease;
	-o-animation: inRight 0.8s ease;
	animation: inRight 0.8s ease;
	top: 0;
	z-index: 2;
	
}


#slides ul li.outLeft {
	-webkit-animation: outLeft 0.8s ease;
	-moz-animation: outLeft 0.8s ease;
	-ms-animation: outLeft 0.8s ease;
	-o-animation: outLeft 0.8s ease;
	animation: outLeft 0.8s ease;
	z-index: 2;
	top: 0;
	
}



#slides ul li.top {
	z-index: 2;
	top: 0;
}

#slides ul li.top-hold {
	z-index: 3 !important;
	top: 0 !important;
	left: 0 !important;
}




.button {
	position: fixed;
	z-index: 10;
	top: 50%;
	width: 80px;
	height: 80px;
	font-size: 80px;
	color: #fff;
	cursor: pointer;
	margin-top: -40px;
}

.button:hover {
	color: #ccc;
}

.prev.button {
	left: 0;
}

.next.button {
	right: 0;

}

.header {
	position: fixed;
	top: 50px;
	height: 26px;
	line-height: 16px;
	padding: 0px 0px 0px 0px;
	color: #fff;
	z-index: 200;
	font-size: 16px;
	text-transform: uppercase;
	width: 281px;
	text-align: right;
	cursor: pointer;
	letter-spacing: 5px;
	display: block;
	background-image: url(/images/main_logo_hb.png);
}
.header h1 {
	text-indent: -999em;
	position: absolute;
	left: -9000px;
}

#nav-overflow {
	position: fixed;
	top: 76px;
	left: 0;
	letter-spacing: 5px;
	z-index: 201;
	overflow: hidden;
	-webkit-transition: all .3s ease;
	   -moz-transition: all .3s ease;
	    -ms-transition: all .3s ease;
	     -o-transition: all .3s ease;
	        transition: all .3s ease;
	width: 281px;
	-webkit-transform: translateX(-312px);
	-moz-transform: translateX(-312px);
	-ms-transform: translateX(-312px);
	-o-transform: translateX(-312px);
	transform: translateX(-312px);

	-webkit-perspective: 1000;
	-webkit-backface-visibility: hidden;
}

#nav-overflow.open {
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	-o-transform: translateX(0px);
	transform: translateX(0px);
}

#nav {
	width: 281px;
	padding: 18px 0 6px 0px;
	background-color: rgba(0, 0, 0, 0.8);
}

#nav li {
	text-align: right;
	margin: 0 0 4px 0;
	height: 26px;
	line-height: 26px;
	padding: 0px 12px 0px 9px;
}

#nav li span {
	float: left;
	color: #fff;
	font-size: 15px;
	font-size: 17px;
	font-weight: bold;
	line-height: 24px;
	display: none;
}

#nav li:hover span {
	display: block;
}

#nav li:hover {
	background-color: rgba(58, 57, 57, 0.8);
}

#nav li a:link, #nav li a:visited {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 12px;
	display: block;
}

#nav li a.lower {
	text-transform: lowercase !important;
}

.page {
	position: absolute;
	top: 97px;
	left: 0;
	background-color: rgba(103, 103, 103, 0.8);
	padding: 23px;
	z-index: 200;
	display: none;
}


#thumbs {
	position: fixed;
	bottom: 0px;
	left: 0;
	height: 87px;
	width: 100%;
	z-index: 200;
	background-color: rgba(0, 1, 0, 0.8);
	text-align: center;

	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	-o-transition: all .4s ease;
	-ms-transition: all .4s ease;
	transition: all .4s ease;

	-webkit-transform: translateY(87px);
	-moz-transform: translateY(87px);
	-o-transform: translateY(87px);
	-ms-transform: translateY(87px);
	transform: translateY(87px);

	-webkit-perspective: 1000;
	-webkit-backface-visibility: hidden;
}

 #thumbs.open {
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-o-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
}



#thumbs .inner {
	width: 840px;
	margin: 12px auto 0 auto;
	overflow: hidden;
}

#thumbs ul {
	width: 90000px;
}


#thumbs ul li {
	height: 75px;
	width: 105px;
	background-size: cover;
	background-position: center center;
	float: left;
	cursor: pointer;
}

#thumbs ul li span {
	display: none;
	height: 100%;
	width: 100%;
	background-color: rgba(204, 204, 204, 0.6);
	line-height: 75px;
	font-size: 50px;
	color: #000;
}

#thumbs ul li.top span {
	display: block;
}

.prev_thumb {
	position: absolute;
	left: 0;
	top: 12px;
	height: 75px;
	width: 75px;
	margin: 0 0 0 0;
	text-align: center;
	font-size: 40px;
	font-weight: bold;
	line-height: 75px;
	cursor: pointer;
}

.next_thumb {
	position: absolute;
	left: auto;
	right: 0;
	top: 12px;
	height: 75px;
	width: 75px;
	margin: 0 0 0 0;
	text-align: center;
	font-size: 40px;
	font-weight: bold;
	line-height: 75px;
	cursor: pointer;
}

.next_thumb.hidden, .prev_thumb.hidden {
	display: none;
}

.next_thumb:hover, .prev_thumb:hover {
	color: #ccc;
}

/*** css3 animation ***/
#slides ul li {
	z-index: 0;
}


#slides ul li {
	background-color: #151515;
}


.open-thumbs {
	width: 28px;
	height: 28px;
	background-color: rgba(255, 255, 255, 0.6);
	position: absolute;
	top: -28px;
	left: 50%;
	margin: 0 0 0 -14px;
	line-height: 28px;
	text-align: center;
	font-size: 20px;
	color: #000;
	cursor: pointer;
}

.open-thumbs:hover {
	color: #fff;
}

#thumbs.open .open-thumbs {
	display: none;
}

.fullscreen {
	height: 20px;
	width: 20px;
	float: right;
	clear: both;
	cursor: pointer;
	position: relative;
	margin: 8px 15px 14px 0;
	background-image: url(../images/fullscreen.png);
	background-position: bottom center;
}
.fullscreen.open {
	background-position: top center;
}

.fullscreen .inner-block {
	display: none;
	height: 4px;
	width: 8px;
	border: 1px solid #ccc;
	position: absolute;
	top: -1px;
	left: -1px;
	background-color: #ccc;
}

.loading {
	height: 100%;
	width: 100%;
	background-color: #000;
	z-index: 1000;
	position: fixed;
	top: 0;
	left: 0;
}


.loading .load-cover {
	position: fixed;
	top: 80px;
	left: -162px;
	height: 70px;
	width: 1125px;
	display: none;
}

.loading .load-cover .left {
	width: 162px;
	height: 26px;
	background-position: top left;
	float: left;
	display: none;
}
.loading .load-cover .right {
	width: 926px;
	height: 70px;
	background-color: #000;
	float: left;
	display: none;
}

#pages , .pages  {
	position: absolute;
	top: 76px;
	left: -30px;
	height: 100px;
	width: 100px;
	z-index: 200;
}

.page-panel {
	padding: 24px 48px 24px 24px;
	background-color: rgba(0, 0, 0, 0.6);
	width: 370px;
	top: 0;
	left: -442px;
	position: absolute;
	-webkit-transition: left 0.4s ease;
   	-moz-transition: left 0.4s ease;
    	-ms-transition: left 0.4s ease;
     	-o-transition: left 0.4s ease;
        	transition: left 0.4s ease;
}

.page-panel.open {
	left: 0px;
}

#contact-page {
	width: 640px;
	left: -900px;
}

#contact-page.open {
	left: 0px;
}



.close-page-panel {
	position: absolute;
	top: 50%;
	right: 0;
	height: 40px;
	width: 40px;
	font-size: 40px;
	margin: -20px 0 0 0;
	cursor: pointer;
}

.close-page-panel:hover {
	color: #ccc;
}

#about-page .mce {
	column-count: 2;
	-moz-column-count: 2;
	-webkit-column-count: 2;
}

.mce a:link, .mce a:visited {
	color: #fff;
	text-decoration: none;
}

.mce a:hover {
	text-decoration: underline;
}

.mce p {
	margin: 0 0 15px 0;
}

h3 {
	font-size: 16px;
	text-transform: uppercase;
	margin: 0 0 10px 0;
	letter-spacing: 3px;
}

#contact-page .right {
	border-left: 2px solid #fff;
	padding: 0 0 0 34px;
	float: right;
	width: 315px;
}

#contact-page .left {
	width: 260px;
	float: left;
	padding: 0px 0px 0px 0px;
}

#contact-page .right label {
	display: block;
	font-size: 35px;
	line-height: 37px;
	text-transform: uppercase;
	letter-spacing: 3px;
	padding: 0 0 34px 0;
}

#contact-page .right label.error {
	height: 0;
	width: 0;
	overflow: hidden;
	padding: 0;
	margin: 0;
}

#contact-page .right p {
	padding: 0 0 24px 0;
}

#contact-page .right p:last-child {
	padding: 0;
}

#contact-page input[type="text"], #contact-page textarea {
	background-color: rgba(0, 0, 0, 0.3);
	border: 0px solid #fff;
	color: #fff;
	font-size: 14px;
	line-height: 24px;
	padding: 0px 0px 0px 10px;
	display: block;
	margin: 0 0 7px 0;
	width: 280px;
}

#contact-page textarea {
	padding: 10px;
	width: 270px;
	height: 118px;
}

#contact-page input[type="text"].error, #contact-page textarea.error {
	background-color: rgba(255, 0, 55, 0.5);
}

#contact-page input[type="submit"] {
	border: 0;
	background-color: transparent;
	color: #fff;
	font-size: 35px;
	text-transform: uppercase;
	margin: 0;
	cursor: pointer;
}

#contact-page input[type="submit"]:hover {
	color: #ccc;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color:    #fff;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #fff;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #fff;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #fff;
}


/**** Loading ****/
@-webkit-keyframes upper-move {
  0% {
    -webkit-transform: rotateX(360deg) rotate(0deg);
    transform: rotateX(360deg) rotate(0deg);
  }

  12.5% {
    -webkit-transform: rotateX(270deg) rotate(0deg);
    transform: rotateX(270deg) rotate(0deg);
  }

  25% {
    -webkit-transform: rotateX(270deg) rotate(0deg);
    transform: rotateX(270deg) rotate(0deg);
  }

  25.01% {
    -webkit-transform: rotateY(90deg) rotate(270deg);
    transform: rotateY(90deg) rotate(270deg);
  }

  37.5% {
    -webkit-transform: rotateY(90deg) rotate(270deg);
    transform: rotateY(90deg) rotate(270deg);
  }

  50% {
    -webkit-transform: rotateY(0deg) rotate(270deg);
    transform: rotateY(0deg) rotate(270deg);
  }

  50.01% {
    -webkit-transform: rotateX(180deg) rotate(0deg);
    transform: rotateX(180deg) rotate(0deg);
  }

  62.5% {
    -webkit-transform: rotateX(270deg) rotate(0deg);
    transform: rotateX(270deg) rotate(0deg);
  }

  75% {
    -webkit-transform: rotateX(270deg) rotate(0deg);
    transform: rotateX(270deg) rotate(0deg);
  }

  75.01% {
    -webkit-transform: rotateY(270deg) rotate(90deg);
    transform: rotateY(270deg) rotate(90deg);
  }

  87.5% {
    -webkit-transform: rotateY(270deg) rotate(90deg);
    transform: rotateY(270deg) rotate(90deg);
  }

  100% {
    -webkit-transform: rotateY(360deg) rotate(90deg);
    transform: rotateY(360deg) rotate(90deg);
  }
}

@keyframes upper-move {
  0% {
    transform: rotateX(360deg) rotate(0deg);
  }

  12.5% {
    transform: rotateX(270deg) rotate(0deg);
  }

  25% {
    transform: rotateX(270deg) rotate(0deg);
  }

  25.01% {
    transform: rotateY(90deg) rotate(270deg);
  }

  37.5% {
    transform: rotateY(90deg) rotate(270deg);
  }

  50% {
    transform: rotateY(0deg) rotate(270deg);
  }

  50.01% {
    transform: rotateX(180deg) rotate(0deg);
  }

  62.5% {
    transform: rotateX(270deg) rotate(0deg);
  }

  75% {
    transform: rotateX(270deg) rotate(0deg);
  }

  75.01% {
    transform: rotateY(270deg) rotate(90deg);
  }

  87.5% {
    transform: rotateY(270deg) rotate(90deg);
  }

  100% {
    transform: rotateY(360deg) rotate(90deg);
  }
}

@-webkit-keyframes lower-move {
  0% {
    -webkit-transform: rotateX(270deg) rotate(0deg);
    transform: rotateX(270deg) rotate(0deg);
  }

  12.5% {
    -webkit-transform: rotateX(270deg) rotate(0deg);
    transform: rotateX(270deg) rotate(0deg);
  }

  25% {
    -webkit-transform: rotateX(180deg) rotate(0deg);
    transform: rotateX(180deg) rotate(0deg);
  }

  25.01% {
    -webkit-transform: rotateY(180deg) rotate(270deg);
    transform: rotateY(180deg) rotate(270deg);
  }

  37.5% {
    -webkit-transform: rotateY(90deg) rotate(270deg);
    transform: rotateY(270deg) rotate(270deg);
  }

  50% {
    -webkit-transform: rotateY(90deg) rotate(270deg);
    transform: rotateY(270deg) rotate(270deg);
  }

  50.01% {
    -webkit-transform: rotateX(270deg) rotate(0deg);
    transform: rotateX(270deg) rotate(0deg);
  }

  62.5% {
    -webkit-transform: rotateX(270deg) rotate(0deg);
    transform: rotateX(270deg) rotate(0deg);
  }

  75% {
    -webkit-transform: rotateX(360deg) rotate(0deg);
    transform: rotateX(360deg) rotate(0deg);
  }

  75.01% {
    -webkit-transform: rotateY(180deg) rotate(90deg);
    transform: rotateY(180deg) rotate(90deg);
  }

  87.5% {
    -webkit-transform: rotateY(270deg) rotate(90deg);
    transform: rotateY(270deg) rotate(90deg);
  }

  100% {
    -webkit-transform: rotateY(270deg) rotate(90deg);
    transform: rotateY(270deg) rotate(90deg);
  }
}

@keyframes lower-move {
  0% {
    transform: rotateX(270deg) rotate(0deg);
  }

  12.5% {
    transform: rotateX(270deg) rotate(0deg);
  }

  25% {
    transform: rotateX(180deg) rotate(0deg);
  }

  25.01% {
    transform: rotateY(180deg) rotate(270deg);
  }

  37.5% {
    -webkit-transform: rotateY(90deg) rotate(270deg);
    transform: rotateY(270deg) rotate(270deg);
  }

  50% {
    -webkit-transform: rotateY(90deg) rotate(270deg);
    transform: rotateY(270deg) rotate(270deg);
  }

  50.01% {
    transform: rotateX(270deg) rotate(0deg);
  }

  62.5% {
    transform: rotateX(270deg) rotate(0deg);
  }

  75% {
    transform: rotateX(360deg) rotate(0deg);
  }

  75.01% {
    transform: rotateY(180deg) rotate(90deg);
  }

  87.5% {
    transform: rotateY(270deg) rotate(90deg);
  }

  100% {
    transform: rotateY(270deg) rotate(90deg);
  }
}

@-webkit-keyframes base-rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  25% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  25.01% {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }

  50% {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }

  50.01% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  75% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  75.01% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  100% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}

@keyframes base-rotate {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(0deg);
  }

  25.01% {
    transform: rotate(-90deg);
  }

  50% {
    transform: rotate(-90deg);
  }

  50.01% {
    transform: rotate(180deg);
  }

  75% {
    transform: rotate(180deg);
  }

  75.01% {
    transform: rotate(90deg);
  }

  100% {
    transform: rotate(90deg);
  }
}

@-webkit-keyframes upper-color {
  0% {
    background: #fff;
  }

  50% {
    background: #fff;
  }

  50.01% {
    background: #222;
  }

  100% {
    background: #222;
  }
}

@keyframes upper-color {
  0% {
    background: #fff;
  }

  50% {
    background: #fff;
  }

  50.01% {
    background: #222;
  }

  100% {
    background: #222;
  }
}

@-webkit-keyframes upper-color-shadow {
  0% {
    background: #444;
  }

  25% {
    background: #fff;
  }

  50% {
    background: #444;
  }

  50.01% {
    background: #666;
  }

  75% {
    background: #222;
  }

  100% {
    background: #666;
  }
}

@keyframes upper-color-shadow {
  0% {
    background: #444;
  }

  25% {
    background: #fff;
  }

  50% {
    background: #444;
  }

  50.01% {
    background: #666;
  }

  75% {
    background: #222;
  }

  100% {
    background: #666;
  }
}

@-webkit-keyframes lower-color {
  0% {
    background: #888;
  }

  25% {
    background: #888;
  }

  25.01% {
    background: #eee;
  }

  75% {
    background: #eee;
  }

  75.01% {
    background: #888;
  }

  100% {
    background: #888;
  }
}

@keyframes lower-color {
  0% {
    background: #888;
  }

  25% {
    background: #888;
  }

  25.01% {
    background: #eee;
  }

  75% {
    background: #eee;
  }

  75.01% {
    background: #888;
  }

  100% {
    background: #888;
  }
}

@-webkit-keyframes lower-color-shadow {
  0% {
    background: #888;
  }

  25% {
    background: #aaa;
  }

  25.01% {
    background: #ccc;
  }

  50% {
    background: #eee;
  }

  75% {
    background: #ccc;
  }

  75.01% {
    background: #aaa;
  }

  100% {
    background: #888;
  }
}

@keyframes lower-color-shadow {
  0% {
    background: #888;
  }

  25% {
    background: #aaa;
  }

  25.01% {
    background: #ccc;
  }

  50% {
    background: #eee;
  }

  75% {
    background: #ccc;
  }

  75.01% {
    background: #aaa;
  }

  100% {
    background: #888;
  }
}

.loading-block {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
}

.semicircle {
  position: absolute;
  width: 50px;
  height: 50px;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2.5s;
  -moz-animation-duration: 2.5s;
  animation-duration: 2.5s;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.semicircle .semicircle-inner {
  width: 50px;
  height: 25px;
  border-radius: 0px 0px 0 0;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2.5s;
  -moz-animation-duration: 2.5s;
  animation-duration: 2.5s;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.semicircle.upper-base {
  -webkit-animation-name: base-rotate;
  -moz-animation-name: base-rotate;
  animation-name: base-rotate;
}
.semicircle.upper-base .semicircle-inner {
  -webkit-animation-name: upper-color;
  -moz-animation-name: upper-color;
  animation-name: upper-color;
}

.semicircle.upper-move {
  -webkit-animation-name: upper-move;
  -moz-animation-name: upper-move;
  animation-name: upper-move;
}
.semicircle.upper-move .semicircle-inner {
  -webkit-animation-name: lower-color-shadow;
  -moz-animation-name: lower-color-shadow;
  animation-name: lower-color-shadow;
}

.semicircle.lower-base {
  -webkit-animation-name: base-rotate;
  -moz-animation-name: base-rotate;
  animation-name: base-rotate;
}
.semicircle.lower-base .semicircle-inner {
  border-radius: 0 0 0px 0px;
  margin-top: 25px;
  -webkit-animation-name: lower-color;
  -moz-animation-name: lower-color;
  animation-name: lower-color;
}

.semicircle.lower-move {
  -webkit-animation-name: lower-move;
  -moz-animation-name: lower-move;
  animation-name: lower-move;
}
.semicircle.lower-move .semicircle-inner {
  -webkit-animation-name: upper-color-shadow;
  -moz-animation-name: upper-color-shadow;
  animation-name: upper-color-shadow;
}


#loading-images {
	position: fixed;
	top: 100%;
	left: 100%;
}

.content-bg-image {
	height: 100%;
	width: 100%;

	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-position: center center;
	z-index: 199;
	top: 0;
	left: 0;
	position: fixed;

	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	-o-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	transform: translateX(-100%);

	-webkit-transition: all 0.8s ease;
	-moz-transition: all 0.8s ease;
	-ms-transition: all 0.8s ease;
	-o-transition: all 0.8s ease;
	transition: all 0.8s ease;
}

.content-bg-image.open {
	-webkit-transform: translateX(0%);
	-moz-transform: translateX(0%);
	-o-transform: translateX(0%);
	-ms-transform: translateX(0%);
	transform: translateX(0%);
}
.block_function{
	position: relative;
}
.block_function:after{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 992;
	top: 0px;
	left: 0px;
}
.content-blocks {
	width: 410px;
	overflow: hidden;
}

.content-blocks .slider {
	width: 850px;
}

.content-blocks .slider .con-block {
	float: left;
	width: 370px;
	padding-right: 40px;
	position: relative;
}

.content-blocks .slider .con-block .action {
	position: absolute;
	right: 0;
	top: 0;
	width: 40px;
	height: 100%;
}

.content-blocks .slider .con-block .action span {
	display: block;
	width: 40px;
	height: 40px;
	font-size: 40px;
	cursor: pointer;
	line-height: 40px;
	position: absolute;
	top: 180px;
	left: 0;
	margin: -20px 0 0 0;
}
.main-cover {
	position: fixed;
	z-index: 6;
	background-color: transparent;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
}

.mobile-only {
	display: none;
}

/* ipad styles */
@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px) {
	.header { width: 239px; height: 22px; background-size: contain; }
	#nav-overflow { width: 239px;  top: 72px; }
	#nav { width: 239px; }


	.loading-block { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
	.semicircle {  width: 40px;  height: 40px;}
	.semicircle .semicircle-inner { width: 40px; height: 20px; }
	.semicircle.lower-base .semicircle-inner { margin-top: 20px; }
	.button { width: 68px; 	height: 68px; font-size: 68px; margin-top: -34px; }
	#pages , .pages  { top: 72px; }
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
	.main-cover { background: rgba(0, 0, 0, 0.5) url(/images/rotate2.png) center center no-repeat; }
}
@media all and (min-width: 320px) and (max-width: 1024px) and (orientation:portrait) {
	.main-cover { background: rgba(0, 0, 0, 0.5) url(/images/rotate2.png) center center no-repeat;background-size: 250px; }
}

@media (max-width: 900px) and (max-height: 420px) {
	.header {
		background-image: url(/images/main_logo.png);
	}
}

/*@media all and (device-width: 320px) and (device-height: 444px) and (orientation:portrait) {
	.main-cover { background: rgba(0, 0, 0, 0.5) url(/images/rotate.png) center center no-repeat; }
}
@media all and (device-width: 320px) and (device-height: 568px) and (orientation:portrait) {
	.main-cover { background: rgba(0, 0, 0, 0.5) url(/images/rotate.png) center center no-repeat; }
}
@media all and (device-width: 320px) and (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:portrait) {
	.main-cover { background: rgba(0, 0, 0, 0.5) url(/images/rotate.png) center center no-repeat; }
}
@media all and (device-width: 320px) and (device-height: 396px) and (orientation:portrait) {
	.main-cover { background: rgba(0, 0, 0, 0.5) url(/images/rotate.png) center center no-repeat; }
}
@media all and (device-width: 320px) and (device-height: 396px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:portrait) {
	.main-cover { background: rgba(0, 0, 0, 0.5) url(/images/rotate.png) center center no-repeat; }
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
	.main-cover { background: transparent none center center no-repeat; }
}
@media all and (device-width: 320px) and (device-height: 444px) and (orientation:landscape) {
	.main-cover { background: transparent none center center no-repeat; }
}
@media all and (device-width: 320px) and (device-height: 568px) and (orientation:landscape) {
	.main-cover { background: transparent none center center no-repeat; }
}
@media all and (device-width: 320px) and (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:landscape) {
	.main-cover { background: transparent none center center no-repeat; }
}
@media all and (device-width: 320px) and (device-height: 396px) and (orientation:landscape) {
	.main-cover { background: transparent none center center no-repeat; }
}
@media all and (device-width: 320px) and (device-height: 396px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:landscape) {
	.main-cover { background: transparent none center center no-repeat; }
}*/


@media only screen and (max-width: 480px), only screen and (max-device-width: 480px)  and (orientation:landscape) {
	body, html { overflow: hidden; font-size: 11px; }
	.header { top: 0px; left: 0; width: 480px; background-repeat: no-repeat; }
	#slides, #slides ul, #slides ul li  { -webkit-background-size: contain; background-size: contain;  }
	#slides ul li { position: absolute; }
	#slides { top: 22px; }
	#slides.block_function {top: 0px;}
	#nav-overflow { top: 22px; width: 237px; }

	#thumbs { display: none; }
	.button.next, .button.prev { display: none; }
	#pages , .pages  { top: 22px; height: calc(100% - 22px); height: -webkit-calc(100% - 22px); height:-moz-calc(100% - 22px); overflow-x: hidden; overflow-y: scroll; }
	#pages , .pages , .page-panel { width: 100%;  -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; left: -100%; }
	#pages , .pages , .page-panel.open { left: 0%; }
	.content-blocks .slider .con-block { width: 100%; padding: 0 0 10px 0; float: none;  }
	.con-block .action.more, .con-block .action.close { display: none; }
	.content-blocks .slider { width: 100%; }
	#about-page .mce { -webkit-column-count: 1;  moz-column-count: 1; column-count: 1; }
	#contact-page { width: 100%; }
	#contact-page .left { width: 100%; float: none; }
	#contact-page .right { border-left: none; width: 100%; }
    #contact-page .right form { padding-top: 20px; border-top: 2px solid #fff; }
	.mobile-only { display: block; }
	.close-page-panel { top: 40px; z-index: 9999; right: 25px; }
	.content-blocks { width: 100%; }
	#nav li { margin: 0; height: 14px; line-height: 14px; }
	.mobile-only.mobile-close.icon-arrow-prev { display: none; position: fixed; top: 40px; right: 20px; z-index: 99999; height: 30px; font-size: 30px; }
	.mobile-only.mobile-close.icon-arrow-prev.open { display: block; }
	.close-page-panel.icon-arrow-prev { display: none; }
	#nav li span { height: 14px; line-height: 14px; font-size: 12px; }
	#nav li a:link, #nav li a:visited { font-size: 10px; }


	.loading-block { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
	.semicircle {  width: 22px;  height: 22px;}
	.semicircle .semicircle-inner { width: 22px; height: 11px; }
	.semicircle.lower-base .semicircle-inner { margin-top: 11px; }
}



/*
@media only screen and (orientation:landscape) {
	html, body, #slides, #slides ul, #slides ul li {
		height: 101%;
		width: 101%;
	}
}
*/