/*-- reset stylesheet --*/
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;
}
a {
    text-decoration: none;
    color: #000;
}
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;
}
*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
/*@font-face {
    font-family: 'SouSansProRegular';
    font-style: normal;
    src: url('../fonts/SourceSansPro-Regular.ttf');
}*/
input[type="checkbox"], input[type="radio"] {
    position: absolute;
    left: -9999px;
}
label.custom {
    display: block;
    position: relative;
    margin: 20px;
    padding: 15px 30px 15px 62px;
    color: #666;
    white-space: nowrap;

    text-align: left;
    user-select: none;
    text-transform: uppercase;
    transition: background-color .2s, box-shadow .2s;
}

label.custom::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -15px;
    bottom: 10px;
    left: 10px;
    width: 30px;
    height: 32px;
    border: 1px solid #666;
    cursor: pointer;
}
/*label:hover, input:focus + label {
    box-shadow: 0 0 20px rgba(0, 0, 0, .6);
}
input:checked + label {
    background-color: #ab576c;
}*/
input:checked + label::before {
    background-color: #000;
}
/*
.mainwrapper {
    background: #fff;
    height: 100%;
    overflow: hidden;
    position: absolute;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}*/
::-webkit-input-placeholder { /* Safari, Chrome and Opera */
    font-family: 'Comfortaa', cursive;
    color: #ccc;
    -webkit-transition: .3s;
    transition: .3s;
}

:-moz-placeholder { /* Firefox 18- */
    font-family: 'Comfortaa', cursive;
    color: #ccc;
    -webkit-transition: .3s;
    transition: .3s;
}

::-moz-placeholder { /* Firefox 19+ */
    font-family: 'Comfortaa', cursive;
    color: #ccc;
    opacity: 1;
    -webkit-transition: .3s;
    transition: .3s;
}

:-ms-input-placeholder { /* IE 10+ */
    font-family: 'Comfortaa', cursive;
    color: #ccc;
    -webkit-transition: .3s;
    transition: .3s;
}

:focus::-webkit-input-placeholder { color: transparent }
:focus:-moz-placeholder { color: transparent }
:focus::-moz-placeholder { color: transparent }
:focus:-ms-input-placeholder { color: transparent }
::-moz-selection {
    background: rgba(46,172,78,0.2);
    text-shadow: none;
}
::selection {
    background: rgba(46,172,78,0.2);
    text-shadow: none;
}
.site {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;

}
.site-inner {
    width: 100%;
    height: 100%;
    /*display: -webkit-flex;*/
    /*display: -ms-flexbox;*/
    /*display: flex;*/
    /*-webkit-flex-direction: column;*/
    /*-ms-flex-direction: column;*/
    /*flex-direction: column;*/
    /*overflow-y: auto;
    overflow-x: hidden;*/
    overflow: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}
.layout {
    display: none;
    width: 100%;
    height: 100%;

    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    background: #d4d4d4;
    -webkit-overflow-scrolling: touch;
}
.layout.isload {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.overlayie {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left:0;
    background: rgba(100,159,226,1);
    z-index: 99999;
}
.overlayie h1 {
    width: 100%;
    float: left;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}
.overlayie a {
    width: 100%;
    float: left;
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    text-decoration: underline;
}
.loaders {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    /*background: rgba(0,0,0,0.4);*/
}
.noloader .loaders {
    visibility: hidden;
}
.loaders .stripe {
    width: 0;
    height: 1px;
    position: fixed;
    top: 50%;
    background: rgba(255,255,255,1);
    z-index: 99;
}
.readytogo .loaders .stripe {
    -webkit-animation: loader 2.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    -moz-animation: loader 2.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: loader 2.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
}
.readytogo.close .loaders .stripe {
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
}
.loaders .top_curtain,
.loaders .bot_curtain {
    width: 100%;
    height: 50%;
    position: absolute;
    left:0;
    background: #010001;
    z-index: 97;
}
.loaders .top_curtain.low,
.loaders .bot_curtain.low {
    background: #d4d4d4;
}
.loaders .top_curtain{
    top:0;
}
.loaders .bot_curtain {
    bottom: 0;
}
.readytogo .loaders .top_curtain,
.readytogo .loaders .bot_curtain {
    -webkit-animation: loaderHeight 1s 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: loaderHeight 1s 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
}
.readytogo .loaders .top_curtain.low,
.readytogo .loaders .bot_curtain.low {
    -webkit-animation-duration: 0.7s;
    animation-duration: 0.7s;
    -webkit-animation-delay: 1.7s;
    animation-delay: 1.7s;
    /*-webkit-animation: loaderHeight 0.7s 1.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: loaderHeight 0.7s 1.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;*/
}
.readytogo.close .loaders .top_curtain,
.readytogo.close .loaders .bot_curtain {
    -webkit-animation: loaderHeightOff 1s 0.5s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: loaderHeightOff 1s 0.5s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
}
.readytogo.close .loaders .top_curtain.low,
.readytogo.close .loaders .bot_curtain.low {
    /*-webkit-animation: loaderHeightOff 0.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    -moz-animation: loaderHeightOff 0.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: loaderHeightOff 0.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;*/
    -webkit-animation-duration: 0.7s;
    animation-duration: 0.7s;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
    /*.loaders .top_curtain.low.showy {
        top:0;
        -webkit-animation: toploader 0.6s 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
        -moz-animation: toploader 0.6s 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
        animation: toploader 0.6s 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    }
    .loaders .bot_curtain.low.showy {
        bottom: 0;
        -webkit-animation: botloader 0.6s 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
        -moz-animation: botloader 0.6s 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
        animation: botloader 0.6s 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    }*/
/**/
/*.loaders .top_curtain.closy {
    top:0;
    -webkit-animation: toploader_off 1s 0.5s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    -moz-animation: toploader_off 1s 0.5s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: toploader_off 1s 0.5s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
}
.loaders .bot_curtain.closy {
    bottom: 0;
    -webkit-animation: botloader_off 1s 0.5s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    -moz-animation: botloader_off 1s 0.5s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: botloader_off 1s 0.5s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
}
.loaders .top_curtain.low.closy {
    top:0;
    -webkit-animation: toploader_off 0.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    -moz-animation: toploader_off 0.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: toploader_off 0.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
}
.loaders .bot_curtain.low.closy {
    bottom: 0;
    -webkit-animation: botloader_off 0.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    -moz-animation: botloader_off 0.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: botloader_off 0.7s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
}*/

@-webkit-keyframes loaderHeight {
    0% {
        height: 50%;
    }
    100% {
        height: 0;
    }
}
@keyframes loaderHeight {
    0% {
        height: 50%;
    }
    100% {
        height: 0;
    }
}
@-webkit-keyframes loaderHeightOff {
    0% {
        height: 0;
    }
    100% {
        height: 50%;
    }
}
@keyframes loaderHeightOff {
    0% {
        height: 0;
    }
    100% {
        height: 50%;
    }
}

@-webkit-keyframes loader {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        width: 100%;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}
@keyframes loader {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        width: 100%;
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        transform: translateX(100%);
    }
}
/*@-webkit-keyframes toploader {
    to { -webkit-transform: translateY(-100%); }
}
@-moz-keyframes toploader {
    to { -moz-transform: translateY(-100%); }
}
@keyframes toploader {
    to { transform: translateY(-100%); }
}
@-webkit-keyframes botloader {
    to { -webkit-transform: translateY(100%); }
}
@-moz-keyframes botloader {
    to { -moz-transform: translateY(100%); }
}
@keyframes botloader {
    to { transform: translateY(100%); }
}

@-webkit-keyframes toploader_off {
    from { -webkit-transform: translateY(-100%); }
}
@-moz-keyframes toploader_off {
    from { -moz-transform: translateY(-100%); }
}
@keyframes toploader_off {
    from { transform: translateY(-100%); }
}
@-webkit-keyframes botloader_off {
    from { -webkit-transform: translateY(100%); }
}
@-moz-keyframes botloader_off {
    from { -moz-transform: translateY(100%); }
}
@keyframes botloader_off {
    from { transform: translateY(100%); }
}*/
@-webkit-keyframes mainmenu {
    to { opacity: 0; }
}
@-moz-keyframes mainmenu {
    to { opacity: 0; }
}
@keyframes mainmenu {
    to { opacity: 0; }
}
.loaders .mainmenu {
    visibility: hidden;
    width: 100%;
    position: absolute;
    top: 50%;
    left:0;
    z-index: 99;

    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;

    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);

}
.close .loaders .mainmenu {
    visibility: visible;
    /*-webkit-animation: mainmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    -moz-animation: mainmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: mainmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;*/
}
/*.loaders .mainmenu.noactiff {*/
    /*visibility: visible;*/
    /*-webkit-animation: mainmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;*/
    /*-moz-animation: mainmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;*/
    /*animation: mainmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;*/
/*}*/
.loaders .mainmenu li {
    width: 100%;
    float: left;
    padding: 40px 0;
    text-align: center;
    opacity: 0;
    -webkit-transition: -webkit-transform 1s 1.2s, opacity 1s 1.2s;
    -moz-transition: -moz-transform 1s 1.2s, opacity 1s 1.2s;
    transition: transform 1s 1.2s, opacity 1s 1.2s;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px);
}
.loaders .mainmenu li a {
    color: #d4d4d4;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 32px;
    position: relative;
    padding: 20px 0;
    text-transform: uppercase;
    -webkit-transition: background 0.3s, color 0.3s;
    transition: background 0.3s, color 0.3s;
}
.loaders .mainmenu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff7f01;
    -webkit-transition: -webkit-transform 0.3s cubic-bezier(1, 0.68, 0.16, 0.9);
    -moz-transition: -moz-transform 0.3s cubic-bezier(1, 0.68, 0.16, 0.9);
    transition: transform 0.3s cubic-bezier(1, 0.68, 0.16, 0.9);
    -webkit-transform: scale3d(0, 5, 1);
    -ms-transform: scale3d(0, 5, 1);
    transform: scale3d(0, 5, 1);
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
}
.loaders .mainmenu li a:hover:after {
    -webkit-transform: scale3d(1,1,1);
    -ms-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
}
.loaders .mainmenu li a:hover {
    color:  #ff7f01;
}
.close .loaders .mainmenu li {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.close .loaders .mainmenu li:nth-child(2) {
    -webkit-transition-delay: 1.3s;
    transition-delay: 1.3s;
}
.close .loaders .mainmenu li:nth-child(3) {
    -webkit-transition-delay: 1.4s;
    transition-delay: 1.4s;
}
body {
    margin: 0;
    background: #000;
    /*background: url(img/ggg.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
    font-family: 'Open Sans', sans-serif;
    height: 100%;
    overflow: hidden;
}
#bgvid {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background: url('../img/vid.jpg') center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.st-content.desktop video {
    opacity: 1;
}
.stopfade {
    opacity: .5;
}
.row {
    font-weight:100;
    color: white;
    padding:0;
    width: 100%;
    margin:0;
    float: left;
    font-size: 1.2rem;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.logo {
    width: 420px;
    margin: 0 0 0 -210px;
    position: relative;
    left: 50%;
    opacity: 0;
    -webkit-transition: -webkit-transform 1s 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940), opacity 1s 0.6s;
    -moz-transition: -moz-transform 1s 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940), opacity 1s 0.6s;
    transition: transform 1s 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940), opacity 1s 0.6s;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px);
}
.logo img {
    width: 100%;
    height: auto;
    float: left;
}
.on .logo {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.menu {
    width: 100%;
    /*height: 333px;*/
    float: left;
    position: relative;
    padding: 0 10% 60px;

}
.menuitem {
    width: 33.333333%;
    height: 333px;
    float: left;
    /*-webkit-transition: all 1000ms ease;
    -moz-transition: all 1000ms ease;
    transition: all 1000ms ease;*/
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 0.7;
    position: relative;
    overflow: hidden;
    /*-webkit-transition: opacity 1s ease, border 1s ease;
    -moz-transition: opacity 1s ease, border 1s ease;
    transition: opacity 1s ease, border 1s ease;*/
    /*-webkit-filter: url("#saturate");
    filter: url("../filters.svg#saturate");*/
   /* -webkit-transition: all 0.3s cubic-bezier(0.785, 0.135, 0.150, 0.860);
    -moz-transition: all 0.3s cubic-bezier(0.785, 0.135, 0.150, 0.860);
    transition: all 0.3s cubic-bezier(0.785, 0.135, 0.150, 0.860);*/
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px);
    -webkit-transition: -webkit-transform 1s 0.7s ease-out,opacity 1s ease, border 1s ease;
    -moz-transition: -moz-transform 1s 0.7s ease-out,opacity 1s ease, border 1s ease;
    transition: transform 1s 0.7s ease-out,opacity 1s ease, border 1s ease;
}
.menuitem:nth-of-type(2) {
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px);
}
.readytogo .menuitem {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}
.menu_about {
    background: url(../img/menu_c.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.menuitem:hover {
    /*-webkit-filter: none;
    filter: none;*/
   /* filter: none;
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: none;*/
   /* -webkit-transition: all 350ms ease;
    -moz-transition: all 350ms ease;
    transition: all 350ms ease;*/
    border: 1px solid rgba(255,255,255,0.9);
    opacity: 1;
    -webkit-transition: opacity 0.3s ease, border 0.3s ease;
    -moz-transition: opacity 0.3s ease, border 0.3s ease;
    transition: opacity 0.3s ease, border 0.3s ease;
}
.menu_works {
    background: url(../img/menu_b.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}
.menu_contact {
    background: url(../img/menu_a.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}
.menuitem span {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: right;
    font-size: 20px;
    text-transform: uppercase;
    z-index: 9;
}
.menuitem:hover span {
    color: #000;
}
.menuitem .linebot {
    /*width: 150%;
    height: 0;
    position: absolute;
    bottom: -100px;
    left: 0;
    background: rgba(255,255,255,0.8);
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    transition: all 600ms ease;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);*/

}
.menuitem:hover .linebot {
    height: 150px;
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    -o-transform: rotate(-10deg);
    transform: rotate(-10deg);
}
.cut-top {
    position: absolute;
    z-index: 1;
    bottom: 0;
    /* top: -80px; */
    left: 0;
    width: 0;
    height: 0;
    border-top: 200px solid transparent;
    border-right: 30px solid #d4d4d4;;
}
.cut-bottom {
    position: absolute;
    z-index: 1;
    top: 0;
    /* top: -80px; */
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 100px solid transparent;
    border-left: 30px solid #d4d4d4;;
}
/*#demax button {
    display: block;
    width: 80%;
    padding: .4rem;
    border: none;
    margin: 1rem auto;
    font-size: 1.3rem;
    background: rgba(255,255,255,0.23);
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    transition: .3s background;
}
#demax button:hover {
    background: rgba(0,0,0,0.5);
}*/
.menu_icon {
    width: 80px;
    height: 120px;
    position: fixed;
    top: 50%;
    margin-top: -60px;
    right:0;
    z-index: 10000;
    -webkit-transform: translateX(110%);
    -moz-transform: translateX(110%);
    -ms-transform: translateX(110%);
    -o-transform: translateX(110%);
    transform: translateX(110%);
    -webkit-transition: -webkit-transform 0.6s ease-out, top 0.6s;
    -moz-transition: -moz-transform 0.6s ease-out, top 0.6s;
    transition: transform 0.6s ease-out, top 0.6s;
}
.menu_icon:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 60px solid transparent;
    border-bottom: 60px solid transparent;
    border-right: 80px solid #d4d4d4;
}
.on .menu_icon {
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
}
.close .menu_icon {
    top:60px;
    /*-webkit-transition: -webkit-transform 0.6s 0.7s ease-out, top 0s 0s;
    -moz-transition: -moz-transform 0.6s 0.7s ease-out, top 0s 0s;
    transition: transform 0.6s 0.7s ease-out, top 0s 0s;*/
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
}

.sidemenu {
    position: absolute;
    display: inline-block;
    width: 30px;
    height: 20px;
    z-index: 99;
    top: 50%;
    right: 15px;
    margin: -10px 0 0 0;
    overflow: hidden;
    cursor: pointer;

}
.sidemenu span {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -1px;
}
.sidemenu span:before, .sidemenu span:after {
    position: absolute;
    content: '';
}
.sidemenu span, .sidemenu span:before, .sidemenu span:after {
    width: 30px;
    height: 2px;
    background-color: #000;
    display: block;
}
.sidemenu span:nth-of-type(2) {
    margin-top: -10px;
}
.sidemenu span:nth-of-type(3) {
    margin-top: 8px;
}
.sidemenu span:after {
    width: 100%;
    background-color: #d4d4d4;
    -webkit-animation: mmenu 1s 0.2s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
    -moz-animation: mmenu 1s 0.2s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
    animation: mmenu 1s 0.2s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
}
.sidemenu span:nth-of-type(2):after {
    width: 100%;
    background-color: #d4d4d4;
    -webkit-animation: mmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
    -moz-animation: mmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
    animation: mmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
}
.sidemenu span:nth-of-type(3):after {
    width: 100%;
    background-color: #d4d4d4;
    -webkit-animation: mmenu 1s 0.4s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
    -moz-animation: mmenu 1s 0.4s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
    animation: mmenu 1s 0.4s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
}

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

.close .sidemenu span {
    background-color: rgba(0,0,0,0.0);
}
.close .sidemenu span:nth-of-type(2):before {
    background-color: #ff7f01;
    -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%;
    margin-top: 0;
    -webkit-transform: rotate(90deg); transform: rotate(90deg);
}
.close .sidemenu span:after,
.close .sidemenu span {
    display: none;
}
.close .sidemenu span:nth-of-type(2) {
    display: block;
    background-color: #ff7f01;
    -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%;
    margin-top: -1px;
    -webkit-transform: rotate(-45deg); transform: rotate(-45deg);
}
/*.dummy-column {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    background: #d4d4d4;

    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    overflow-x: hidden;
    overflow-y: hidden;
}
.dummy-column .thumbs {

    position: absolute;
    top: 0px;
    left: 0px;
    height: auto;
    width: 100%;
    !*white-space: nowrap;*!
    !*padding: 0 100px 0 230px;*!
    padding: 0 0 40px 0;
    overflow-x: hidden;
    overflow-y: hidden;
}
.dummy-column #thumbs {
    display: block;
}
.dummy-column.mobile,
.dummy-column.mobile .thumbs{
    overflow-y: auto;
}*/
/*.glitch {
    color: #000;
    font-size: 100px;

    width: auto;
    position: absolute;
    top: 50%;
    margin: 0 0 0 40px;
    text-transform: uppercase;

}

@keyframes noise-anim {
    0% {
        clip: rect(53px, 9999px, 60px, 0);
    }
    5% {
        clip: rect(7px, 9999px, 69px, 0);
    }
    10% {
        clip: rect(4px, 9999px, 78px, 0);
    }
    15% {
        clip: rect(85px, 9999px, 11px, 0);
    }
    20% {
        clip: rect(62px, 9999px, 71px, 0);
    }
    25% {
        clip: rect(60px, 9999px, 1px, 0);
    }
    30% {
        clip: rect(87px, 9999px, 82px, 0);
    }
    35% {
        clip: rect(93px, 9999px, 40px, 0);
    }
    40% {
        clip: rect(36px, 9999px, 19px, 0);
    }
    45% {
        clip: rect(10px, 9999px, 95px, 0);
    }
    50% {
        clip: rect(49px, 9999px, 16px, 0);
    }
    55% {
        clip: rect(34px, 9999px, 85px, 0);
    }
    60% {
        clip: rect(76px, 9999px, 35px, 0);
    }
    65% {
        clip: rect(5px, 9999px, 96px, 0);
    }
    70% {
        clip: rect(44px, 9999px, 26px, 0);
    }
    75% {
        clip: rect(19px, 9999px, 70px, 0);
    }
    80% {
        clip: rect(7px, 9999px, 72px, 0);
    }
    85% {
        clip: rect(14px, 9999px, 63px, 0);
    }
    90% {
        clip: rect(68px, 9999px, 28px, 0);
    }
    95% {
        clip: rect(6px, 9999px, 52px, 0);
    }
    100% {
        clip: rect(13px, 9999px, 76px, 0);
    }
}
.glitch:after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -1px 0 red;
    top: 0;
    color: #000;
    background: black;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim 2s infinite linear alternate-reverse;
}

@keyframes noise-anim-2 {
    0% {
        clip: rect(21px, 9999px, 22px, 0);
    }
    5% {
        clip: rect(22px, 9999px, 62px, 0);
    }
    10% {
        clip: rect(42px, 9999px, 48px, 0);
    }
    15% {
        clip: rect(4px, 9999px, 32px, 0);
    }
    20% {
        clip: rect(57px, 9999px, 8px, 0);
    }
    25% {
        clip: rect(44px, 9999px, 74px, 0);
    }
    30% {
        clip: rect(67px, 9999px, 60px, 0);
    }
    35% {
        clip: rect(8px, 9999px, 28px, 0);
    }
    40% {
        clip: rect(65px, 9999px, 79px, 0);
    }
    45% {
        clip: rect(85px, 9999px, 83px, 0);
    }
    50% {
        clip: rect(2px, 9999px, 98px, 0);
    }
    55% {
        clip: rect(44px, 9999px, 12px, 0);
    }
    60% {
        clip: rect(47px, 9999px, 29px, 0);
    }
    65% {
        clip: rect(62px, 9999px, 85px, 0);
    }
    70% {
        clip: rect(36px, 9999px, 80px, 0);
    }
    75% {
        clip: rect(97px, 9999px, 57px, 0);
    }
    80% {
        clip: rect(90px, 9999px, 39px, 0);
    }
    85% {
        clip: rect(64px, 9999px, 76px, 0);
    }
    90% {
        clip: rect(59px, 9999px, 76px, 0);
    }
    95% {
        clip: rect(54px, 9999px, 71px, 0);
    }
    100% {
        clip: rect(43px, 9999px, 55px, 0);
    }
}
.glitch:before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 1px 0 blue;
    top: 0;
    color: white;
    background: black;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: noise-anim-2 3s infinite linear alternate-reverse;
}*/
.elem_rotate {
    width: 100%;
    padding: 0;
    float: left;
    color: #000;
    font-weight: 700;
    font-size: 22px;
    position: relative;

}
.elem_rotate:last-child {
    margin-bottom: 60px;
}
.elem_rotate .top_panel {
    width: 100%;
    height: 650px;
    float: left;
    position: relative;
    background-image: url('../img/about01.jpg');
    overflow: hidden;


    /*background: url('../img/about01.jpg') no-repeat center center;*/
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
}
.elem_rotate .top_panel .bgfix {

    height: 100%;
    width: 100%;
    position: absolute;
    background-image: url('../img/about01.jpg');
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    /*background-attachment: fixed;*/
    -webkit-transition: -webkit-transform 18s ease-out;
    -moz-transition: -moz-transform 18s ease-out;
    transition: transform 18s ease-out;
}
.elem_rotate .top_panel:hover .bgfix {
    -webkit-transform: scale(1.2,1.2);
    -ms-transform: scale(1.2,1.2);
    transform: scale(1.2,1.2);
}
.panel .textwrap {
    width: 100%;
    float: left;
    position: relative;
    z-index: 9;
    opacity: 0;
    -webkit-transform: translateY(40px);
    -moz-transform: translateY(40px);
    -ms-transform: translateY(40px);
    -o-transform: translateY(40px);
    transform: translateY(40px);
    -webkit-transition: -webkit-transform 0.4s ease-out, opacity 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out, opacity 0.4s ease-out;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}
.contactus .panel .textwrap {
    padding-bottom: 60px;
}
.panel .textwrap.onscreen {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}
.elem_rotate:nth-of-type(2) .top_panel,
.elem_rotate:nth-of-type(2) .top_panel .bgfix {
    background-image: url('../img/about02.jpg');
}
.elem_rotate:nth-of-type(3) .top_panel,
.elem_rotate:nth-of-type(3) .top_panel .bgfix {
    background-image: url('../img/about03.jpg');
}
.elem_rotate:nth-of-type(4) .top_panel,
.elem_rotate:nth-of-type(4) .top_panel .bgfix {
    background-image: url('../img/about04.jpg');
}
.elem_rotate:nth-of-type(5) .top_panel,
.elem_rotate:nth-of-type(5) .top_panel .bgfix {
    background-image: url('../img/about05.jpg');
}
.elem_rotate.contactus .top_panel,
.elem_rotate.contactus .top_panel .bgfix {
    background-image: url('../img/contactus.jpg');
}
.elem_rotate .top_panel h2 {
    /*position: absolute;
    right: 10%;
    bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #ff7f01;
    font-size: 46px;
    text-transform: uppercase;
    z-index: 99;
    letter-spacing: 0.05em;
    padding: 20px 0;
    overflow: hidden;*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #ff7f01;
    font-size: 40px;
    text-transform: uppercase;
    z-index: 99;
    letter-spacing: 0.05em;
    padding: 20px 0;
    overflow: hidden;
    position: absolute;
    right: 10%;
    bottom: 40px;
    /*height: 44px;
    line-height: 44px;*/
    width: 90%;
    text-align: right;
}
/*.elem_rotate .top_panel h2:after {
    content: '';
    width: 100%;
    position: absolute;
    bottom: 0;
    left:0;
    height: 2px;
    background: #ff7f01;
    -webkit-animation: mmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
    -moz-animation: mmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
    animation: mmenu 1s cubic-bezier(0.785, 0.135, 0.150, 0.860) infinite both;
}*/

/*.elem_rotate img {
    width: 50%;
    height: auto;
    float: left;
    border: none;
    margin: 0;
    padding: 0;
}
.elem_rotate.rightimg img{
    float: right;
}*/

/*.elem_rotate {
    width: 100%;
   !* height: 180px;*!
    padding: 0;
    float: left;
    color: #000;
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 10px 0;
    position: relative;
    -webkit-transition: color 2000ms ease, background-color 2000ms ease;
    -moz-transition: color 2000ms ease, background-color 2000ms ease;
    transition: color 2000ms ease, background-color 2000ms ease;
}
.elem_rotate:hover {
    color: #000;
    background: rgba(255,255,255,0.8);
    -webkit-transition: color 250ms ease, background-color 250ms ease;
    -moz-transition: color 250ms ease, background-color 250ms ease;
    transition: color 250ms ease, background-color 250ms ease;
}
.elem_rotate:hover::after
{
    background-position: right top;
}
.elem_rotate::before,
.elem_rotate::after{
    background-image: url("../img/collapser-arrow.png");
    background-repeat: no-repeat;
    width: 10px;
    height: 15px;
    content: '';
    display: block;
    background-position: left top;
    position: absolute;
    left: 210px;
    bottom: 20px;
    margin-top: -8px;
    -webkit-transition: opacity 1000ms ease, -webkit-transform 350ms ease-out;
    -moz-transition: opacity 1000ms ease, -moz-transform 350ms ease-out;
    transition: opacity 1000ms ease, transform 350ms ease-out;
}
.elem_rotate.ardown::after,
.elem_rotate.ardown::before {
    background-position: right top;
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    transform: rotate(180deg);
}
.elem_rotate.ardown {
    color: #000;
    background: #fff;
}
.elem_rotate span {
    width: auto;
    position: absolute;
    top: 50%;
    margin: 0 0 0 40px;
    text-transform: uppercase;
}*/
.panel {
    width: 100%;
    padding: 40px 10%;
    float: left;
    color: #000;
}
.panel h3,
.panel h6 {
    color: #ff7f01;
    width: 100%;
    float: left;
    padding: 40px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 0.05em;

}
.panel h6 {
    display: none;
    font-size: 26px;
    padding: 0;
    position: absolute;
    text-align: right;
    text-transform: uppercase;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.9s ease-out;
    -moz-transition: -moz-transform 0.9s ease-out;
    transition: transform 0.9s ease-out;
}
.panel h3 i {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    border-radius: 50%;
    /*background-color: #3085a3;*/
    display: inline-block;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}
.panel h3 i.ru {
    background-image: url("../img/ru.png");
}
.panel h3 i.en {
    background-image: url("../img/en.png");
}
.panel h3 i.et {
    background-image: url("../img/et.png");
}
.mobile .panel h6 {
    display: block;
}
.mobile .panel .onscreen h6 {
    -webkit-transform: translateY(-200%);
    -moz-transform: translateY(-200%);
    -ms-transform: translateY(-200%);
    -o-transform: translateY(-200%);
    transform: translateY(-200%);
}
.panel p {
    width: 100%;
    float: left;
    padding: 6px 0;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    white-space: normal;
    letter-spacing: 0.05em;
    line-height: 1.3em;

}
/*.menuitem .menucont .line,
.menuitem .menucont .line_b {
    width:100%;
    height:3px;
    background-color:#fff;
    position:absolute;
    z-index:1;

    -moz-transition-delay:0s;
    -o-transition-delay:0s;
    -webkit-transition-delay:0s;
    transition-delay:0s;
    -moz-transition-duration:1s;
    -o-transition-duration:1s;
    -webkit-transition-duration:1s;
    transition-duration:1s;
    -moz-transition-timing-function:cubic-bezier(0.19,1,0.22,1);
    -o-transition-timing-function:cubic-bezier(0.19,1,0.22,1);
    -webkit-transition-timing-function:cubic-bezier(0.19,1,0.22,1);
    transition-timing-function:cubic-bezier(0.19,1,0.22,1);
    -moz-transform-origin:50% 50%;
    -ms-transform-origin:50% 50%;
    -webkit-transform-origin:50% 50%;
    transform-origin:50% 50%;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
}
.menuitem .menucont .line {
    bottom: 0;
}
.menuitem .menucont .line_b {
    top:0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}
.menuitem:hover .menucont .line,
.menuitem:hover .menucont .line_b {
    color:#000;
    -moz-transition-delay:0s;
    -o-transition-delay:0s;
    -webkit-transition-delay:0s;
    transition-delay:0s;
    -moz-transition-duration:1s;
    -o-transition-duration:1s;
    -webkit-transition-duration:1s;
    transition-duration:1s;
    -moz-transition-timing-function:cubic-bezier(0.19,1,0.22,1);
    -o-transition-timing-function:cubic-bezier(0.19,1,0.22,1);
    -webkit-transition-timing-function:cubic-bezier(0.19,1,0.22,1);
    transition-timing-function:cubic-bezier(0.19,1,0.22,1);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}
.menuitem:hover .menucont .line_b {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
}
.menuitem .menucont {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255,255,255,0);
    -webkit-transition: background 1s ease;
    -moz-transition: background 1s ease;
    transition: background 1s ease;
    transform: translate3d(0px, 0px, 0px);
    height: 60px;
    line-height: 60px;
    color: #000;

}
.menuitem:hover .menucont {
    background: rgba(255,255,255,0.9);
}*/
/*.menuitem .menucont .title {
    width: 100%;
    padding: 0 20px;
    float: left;
    position: relative;
    text-align: right;
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
}*/
/*.menuitem:hover .menucont .title {
    color: #000;
}*/
.grid,
.contact {
    width: 100%;
    float: left;
    position: relative;
    padding: 1em 80px;
}

/* Common style */
.grid figure {
    width: 24.1%;
    margin: 0 1.2% 1.2% 0;
    position: relative;
    float: left;
    overflow: hidden;
    /*min-width: 320px;
    max-width: 480px;*/
    max-height: 360px;

    background: #3085a3;
    cursor: pointer;
}
.grid figure:nth-child(4n) {
    margin: 0 0 1.2% 0;
}
/*
.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}*/
.grid .gridimg {
    height: 320px;
    float: left;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: -webkit-calc(100% + 50px);
    width: calc(100% + 50px);
    opacity: 0.7;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-40px,0, 0);
    transform: translate3d(-40px,0,0);
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

/*---------------*/
/***** Lily *****/
/*---------------*/
/*
figure.effect-lily img {
    max-width: none;
    width: -webkit-calc(100% + 50px);
    width: calc(100% + 50px);
    opacity: 0.7;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-40px,0, 0);
    transform: translate3d(-40px,0,0);
}*/

figure.effect-lily figcaption {
    text-align: left;
}
figure.effect-lily:hover .gridimg {
    opacity: 1;
}

figure.effect-lily:hover .gridimg {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
.pagelogo {
    font-family: 'Montserrat', sans-serif;
    color: #ff7f01;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
}
/*.pagelogo {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 190px;
    position: fixed;
    !*left:80px;*!
    width: 100%;
    text-align: center;
    top:40%;
    z-index: 99;
    -webkit-animation: pagelogo 4s 2s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    -moz-animation: pagelogo 4s 2s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
    animation: pagelogo 4s 2s cubic-bezier(0.785, 0.135, 0.150, 0.860) both;
}

@-webkit-keyframes pagelogo {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
    50% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translate(0,-1000px);
        transform: translate(0,-1000px);
    }
}
@keyframes pagelogo {
    0% {
        opacity: 0;
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        transform: translateY(100%);
    }
    50% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translate(0,-1000px);
        -moz-transform: translate(0,-1000px);
        transform: translate(0,-1000px);
    }
}*/

/*.word_wrap li a {
    width: 100%;
    height: 44px;
    line-height: 44px;
    float: left;
    padding: 15px 0;
    color: #fff;
    font-size: 38px;
    font-family: 'U8Bold',sans-serif;
    text-transform: uppercase;
    position: relative;
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
    -webkit-transition: -webkit-transform 1200ms cubic-bezier(0.075, 0.820, 0.165, 1.000), opacity 900ms linear;
    -moz-transition: -moz-transform 1200ms cubic-bezier(0.075, 0.820, 0.165, 1.000), opacity 900ms linear;
    transition: transform 1200ms cubic-bezier(0.075, 0.820, 0.165, 1.000), opacity 900ms linear;
}

.actiff .word_wrap li a {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}
.actiff.linkstep .word_wrap li a,
.actiff.linkgallery .word_wrap li a {
    opacity: 0;
}*/
.elem_rotate .top_panel h2 .word_top,
.elem_rotate .top_panel h2 .word_bot {
    height: 10%;
    width: 100%;
    display: block;
    overflow: hidden;
    line-height: 44px;
    position: absolute;
    -webkit-transition: all 150ms linear;
    -moz-transition: all 150ms linear;
    -ms-transition: all 150ms linear;
    -o-transition: all 150ms linear;
    transition: all 150ms linear;
}
.elem_rotate .top_panel h2 .word_top {
    top: 0;
}
.elem_rotate .top_panel h2 .word_bot {
    bottom: 0;
}
.elem_rotate .top_panel h2.onscreen .word_top,
.elem_rotate .top_panel h2.onscreen .word_bot {
    height: 50%;
    -webkit-transition: all 1.2s 0.2s ease;
    -moz-transition: all 1.2s 0.2s ease;
    -ms-transition: all 1.2s 0.2s ease;
    -o-transition: all 1.2s 0.2s ease;
    transition: all 1.2s 0.2s ease;
}
.elem_rotate .top_panel h2 .word_top .content{
    position: absolute;
    top: 0;
    right: 0;

}
.elem_rotate .top_panel h2 .word_bot .content{
    position: absolute;
    bottom: 0;
    right: 0;

}
.lightboxOverlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: black;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    opacity: 0.8;
    display: none;
}

.lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 10000;
    text-align: center;
    line-height: 0;
    font-weight: normal;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.lightbox .lb-image {
    display: block;
    height: auto;
    max-width: inherit;
}

.lightbox a img {
    border: none;
}

.lb-outerContainer {
    position: relative;
    /*background-color: white;*/
    *zoom: 1;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}

.lb-outerContainer:after {
    content: "";
    display: table;
    clear: both;
}

.lb-loader {
    position: absolute;
    top: 43%;
    left: 0;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
}

.lb-cancel {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background: url(../img/loading.gif) no-repeat;
}

.lb-nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

.lb-container > .nav {
    left: 0;
}

.lb-nav a {
    outline: none;
    background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
    height: 100%;
    cursor: pointer;
    display: block;
}

.lb-nav a.lb-prev {
    width: 34%;
    left: 0;
    float: left;
    background: url(../img/prev.png) left bottom no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.lb-nav a.lb-next {
    width: 64%;
    right: 0;
    float: right;
    background: url(../img/next.png) right bottom no-repeat;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.6s;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.lb-dataContainer {

    *zoom: 1;
    width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 999;
}

.lb-dataContainer:after {
    content: "";
    display: table;
    clear: both;
}

.lb-data {
    width: 100%;
    float: left;
}

.lb-data .lb-details {
    width: 85%;
    float: left;
    text-align: left;
    line-height: 1.1em;
}

.lb-data .lb-caption {
    font-size: 13px;
    font-weight: bold;
    line-height: 1em;
}

.lb-data .lb-number {

    clear: left;
    padding-bottom: 1em;
    font-size: 12px;
    color: #999999;
    display: none;
}

.lb-data .lb-close {
    display: block;
    float: right;
    width: 60px;
    height: 60px;
    background: url(../img/close.png) top right no-repeat;
    text-align: right;
    outline: none;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
    opacity: 0.7;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
    cursor: pointer;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}
/** VARIABLES
===================================*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
    position: relative;
    padding: 0;
    *zoom: 1;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}
.bx-wrapper img {
    max-width: 100%;
    display: block;
}
.bxslider {
    margin: 0;
    padding: 0;
}
ul.bxslider {
    list-style: none;
}
.bx-viewport {
    /*fix other elements on the page moving (on Chrome)*/
    -webkit-transform: translatez(0);
    height: 100%;
}
/** THEME
===================================*/
.bx-wrapper {
    /*-moz-box-shadow: 0 0 5px #ccc;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    border: 5px solid #fff;*/
    background: transparent;
    height: 100%;
}
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: -30px;
    width: 100%;
}
/* LOADER */
.bx-wrapper .bx-loading {
    min-height: 50px;
    /*background: url('images/bx_loader.gif') center center no-repeat #ffffff;*/
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager {
    text-align: center;
    font-size: .85em;
    font-family: Arial;
    font-weight: bold;
    color: #666;
    padding-top: 20px;
}
.bx-wrapper .bx-pager.bx-default-pager a {
    background: #666;
    text-indent: -9999px;
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    outline: 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
    background: #000;
}
.bx-wrapper .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: inline-block;
    vertical-align: bottom;
    *zoom: 1;
    *display: inline;
}
.bx-wrapper .bx-pager-item {
    font-size: 0;
    line-height: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
    left: 10px;
    background: url('images/controls.png') no-repeat 0 -32px;
}
.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-prev:focus {
    background-position: 0 0;
}
.bx-wrapper .bx-next {
    right: 10px;
    background: url('images/controls.png') no-repeat -43px -32px;
}
.bx-wrapper .bx-next:hover,
.bx-wrapper .bx-next:focus {
    background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 50%;
    margin-top: -16px;
    outline: 0;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
    display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
    text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
    display: block;
    text-indent: -9999px;
    width: 10px;
    height: 11px;
    outline: 0;
    background: url('images/controls.png') -86px -11px no-repeat;
    margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active,
.bx-wrapper .bx-controls-auto .bx-start:focus {
    background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
    display: block;
    text-indent: -9999px;
    width: 9px;
    height: 11px;
    outline: 0;
    background: url('images/controls.png') -86px -44px no-repeat;
    margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active,
.bx-wrapper .bx-controls-auto .bx-stop:focus {
    background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
    text-align: left;
    width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
    right: 0;
    width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #666;
    background: rgba(80, 80, 80, 0.75);
    width: 100%;
}
.bx-wrapper .bx-caption span {
    color: #fff;
    font-family: Arial;
    display: block;
    font-size: .85em;
    padding: 10px;
}


@media (min-width:87.000em) {
    .logo {
        width: 820px;
        margin: 50px 0 50px -410px;
    }
}
@media (min-width:56.250em) and (max-width: 87.000em) {
    .menuitem {
        height: 230px;
    }
    .logo {
        width: 620px;
        float: left;
        margin: 50px 0 50px -310px;
    }
    .pagelogo {
        font-size: 120px;
    }
}
@media (min-width:32.438em) and (max-width: 56.250em) {
    .menuitem {
        width: 100%;
    }
    /*#demax {
        top: 0;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }*/
    .grid figure:nth-child(4n) {
        margin: 0 1.1% 1.1% 0;
    }
    .grid figure {
        width: 32.6%;
        margin: 0 1.1% 1.1% 0;
    }
    .grid figure:nth-child(3n) {
        margin: 0 0 1.1% 0;
    }
    .pagelogo {
        font-size: 100px;
    }
}
@media (max-width: 32.438em) {
    .menuitem {
        width: 100%;
    }
    .logo {
        width: 100%;
        padding: 0 20px;

        margin: 50px 0 50px 0;
        position: relative;
        left: 0;
    }
    .menuitem {
        height: 233px;
    }
    /*#demax {
        top: 0;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }*/
    .menu_icon:after {
        border-top: 40px solid transparent;
        border-bottom: 40px solid transparent;
        border-right: 60px solid #d4d4d4;
    }
    .menu_icon {
        width: 60px;
        height: 80px;
        top: 40px;
        margin-top: -40px;
    }
    .readytogo .menu_icon.actiff {
        top: 40px;
    }
    .sidemenu {
        right: 5px;
    }
    .loaders .mainmenu li {
        padding: 20px 0;
    }
    .loaders .mainmenu li a {
        font-size: 28px;
    }
    .elem_rotate .top_panel {
        height: 350px;
    }
    .elem_rotate .top_panel h2 {
        font-size: 26px;
    }
    .panel h3 {
        padding: 20px 0px;
        font-size: 22px;
    }
    .elem_rotate .top_panel .bgfix {
        display: block;
    }
    .grid {
        float: none;
        height: 100%;
        padding: 0;
    }
    .grid figure:nth-child(4n),
    .grid figure:nth-child(3n),
    .grid figure:nth-child(2n) {
        margin: 0;
    }
    .grid figure {
        width: 100%;
        max-height: none;
        height: 100%;
        margin: 0;
    }
    /*.grid figure:nth-child(2n) {
        margin: 0;
    }*/
    /*.grid {
        padding: 1em 1em;
    }*/
    .grid .gridimg {
        height: 100%;
        width: 100%;
        opacity: 1;
        -webkit-transform: translate3d(0,0, 0);
        transform: translate3d(0,0,0);
    }
    .pagelogo {
        font-size: 50px;
    }
    .elem_rotate .top_panel h2 {
        display: none;
    }
    .panel h6 {
        display: block;
    }
    .panel h3 span {
        width: 100%;
        display: block;
    }
    .panel h3 i {
        margin: 6px 0 0 10px;
    }
}