﻿@charset "utf-8";

/*TOP SMALL AND TRANSITION*/ 
.web.topSmall .top .corner {
    top:39px;
}
.top.transition .corner {
    transition: top 0.4s;
}


.web.topSmall .top .logo div:nth-child(even) {
    width:275px;
    height:65px;
}
.top.transition .logo div:nth-child(even) {
    transition: width 0.4s, height 0.4s;
}

.web.topSmall .top .decoLine div:nth-child(odd) {
    opacity:0;
}
.top.transition .decoLine div:nth-child(odd){
    transition: opacity 0.4s;
}

.web.topSmall .top .mainMenu {
    top: 36%;
    left: 0;
}
.top.transition .mainMenu {
    transition: top 0.4s, left 0.4s;
}

.web.topSmall .top .mainMenu > div:nth-child(even){
    width:540px;
}
.top.transition .mainMenu > div:nth-child(even) {
    transition: width 0.4s;
}

.web.topSmall .top {
    padding-top: 8px;
    padding-bottom: 8px;
}

.web.topSmall:not(.mobile) .top {
    background-color: rgba(0, 0, 0, 0.85);
}

.top.transition {
    transition: padding-top 0.4s, padding-bottom 0.4s, background-color 0.4s;
}

.web.topSmall .top .mainMenu .menu > div:not(.rollout) {
    padding-bottom:30px;
}

.topSmall .logoLink {
    position: relative;
    z-index: 1;
}


/*MOBILE TOP SMALL AND TRANSITION*/
.web.mobile.topSmall .top {
    background-color: rgba(0, 0, 0, 0.85);
}
.web.mobile .top.transition {
    transition: background-color 0.4s;
}

.web.mobile.topSmall .top .logo {
    margin-top: 0px;
}
.web.mobile .top.transition .logo {
    transition: margin-top 0.4s;
}

.web.mobile.topSmall .top  .logo > div:nth-child(even) {
    width: 275px;
    height: 65px;
}
.web.mobile .top.transition  .logo > div:nth-child(even) {
    transition: width 0.4s, height 0.4s;
}





.top {
    visibility:hidden;/*unhiden after mobile detection*/
    z-index: 5;
    position: fixed;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
    padding: 12px 0 25px 0;
}


/* LOGO */
.top .logo div {
    display:inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.top .logo div:nth-child(odd) {
    width:108px;
    height:19px;
    background-image: url("img/symbol-h_01.png");
}

.top .logo div:nth-child(even) {
    width:434px;
    height:105px;
    background-image: url("img/logo-bw_01.png");
}

.top > .logo > div:nth-child(even) > a > .logoLink {
    width: 100%;
    height: 100%;
    background-image: none;
}


/* DECO LINE */
.top .decoLine {
    position: absolute;
    white-space: nowrap;
    top: 56%;
    left: 1px;
    right: 0;
}

.top .decoLine div:nth-child(odd) {
    display: inline-block;
    width: 40%;
    height: 2px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) , #ffffff);
}

.top .decoLine div:nth-child(3) {
    background-image: linear-gradient(to right, #ffffff , rgba(255, 255, 255, 0));
    width: calc(40% - 9px);
}

.top .decoLine div:nth-child(even) {
    display: inline-block;
    width: 130px;
}



/* MENU + GLOBAL SUBMENU */
.top .mainMenu {
    text-transform: uppercase;
    display: inline-block;
    position: absolute;
    top: 71%;
    white-space: nowrap;
    right: 0;
    /*left: 25px;*/
    left: 5px;
}

.top .mainMenu .separator {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 6px;
}

.top .mainMenu > div {
    display: inline-block;
}

.top .mainMenu > div:first-child {
    margin-left: 18px;
}

.top .mainMenu > div:nth-child(even){/* SEPARATOR */
    width: 110px;
}

.top .mainMenu > div, .top .mainMenu > div a {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.6);
}

.top a {
    text-decoration: none;
    cursor:pointer;
}

.top .mainMenu a.current, .top .mainMenu div.current {
    cursor:default;
    text-decoration: underline;
}

/* ACTIVE/CURRENT */
.top .mainMenu .active, .top .mainMenu .current {
    color: rgba(255, 255, 255, 0.9)!important;
}

.top .mainMenu .active .icoRollout, .top .mainMenu .current .icoRollout {
    /*border-top: 5px solid rgba(255, 255, 255, 0.9);*/
    color: rgba(255, 255, 255, 0.9);
}



/* SUBMENU ONLY */
.top .menu {
    display: inline-block;
    position:relative;
}

.top .menu > div:first-child {
    cursor:pointer;
}

.top .menu.current > div:first-child {
    text-decoration: underline;
}

.top .menu a,
.top .menu > div:not(.rollout) {
    white-space: nowrap;
    display:block;
}

.top .mainMenu .menu > div:not(.rollout) {
    padding-bottom:19px;
}

.top .menu a {
    padding:4px;
}

/* SUBMENU ROLLOUT */
.top .icoRollout {
    /*margin-left: 2px;
    vertical-align: middle;
    display: inline-block;
    user-select: none;
    cursor: pointer;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.6);*/
    margin-left: 5px;
    font-size:11px;
    display: none;
    user-select: none;
    cursor: pointer;
    transform: rotate(90deg) translate(-35%, 0);
}

.top .rollout {
    padding: 14px;
    display: none;
    position:absolute;
    left: 50%;
    transform: translate(-50%, 0);
    box-shadow: 0 3px 6px 1px rgba(255, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.85);
}

.top .menu.active > .rollout {
    display: block;
}



.top .corner {
    display:block;
    width:100%;
    position: absolute;
    top: 46px;
}



.top .langMenu {
    height:34px;
    position: absolute;
    left:24px;
    top: 0;
    bottom: 0;
    margin: auto
}

.top .langMenu a {
    padding: 6px 0 0 0;
}

.top .langMenu a > div, .top .langMenu > div:first-child > div:first-child {
    display: inline-block;
    vertical-align: middle;
    color: black;
    background-color: white;
    width: 30px;
    line-height: 30px;
    overflow: hidden;
    border-radius: 50%;
    text-transform: uppercase;
    border: 2px solid #939393;
}

.top .langMenu .rollout {
    padding:0;
    box-shadow: none;
    background-color: transparent;
}

.top .langMenu .icoRollout {
    /*
    border-top: 5px solid rgba(255, 255, 255, 1);
    left: 105%;
    */
    position: absolute;
    top: 0;
    left: 95%;
    bottom: 0;
    margin: auto;
    transform: rotate(90deg);
}

.top .langMenu .rollout > a.active > div {
    box-shadow: 0px 2px 5px 2px orange;
}



.top .btnMobile {
    display: none;
    position: absolute;
    right:24px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 34px;
    height: 24px;
    cursor: pointer;
}

.top .btnMobile div:nth-child(1) {
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
}

.top .btnMobile div {
    position: absolute;
    height: 4px;
    width: 100%;
    border-radius: 3px;
    background-color: #eeeeee;
}

.top .btnMobile div:last-child {
    margin-top: auto;
    bottom: 0;
}

.top .btnMobile.close span {
    font-size: 78px;
    line-height: 24px;
    margin-left: -7px;
}



/*MOBILE*/
.web.mobile .top {
    background-color: rgba(0, 0, 0, 0);
}

.web.mobile .top .logo {
    margin-top:40px;
}

.web.mobile .top .corner {
    top:39px;
}

.web.mobile .top .btnMobile:not(.close){
    display: block;
}

.web.mobile.mainActive .top .btnMobile:not(.close){
    display: none;
}

.web.mobile .top .btnMobile.close{
    display: none;
}

.web.mobile.mainActive .top .btnMobile.close{
    display: block;
}

.web.mobile .top .decoLine {
    display:none;
}

.web.mobile .top .logo > div:nth-child(odd) {
    display:none;
}

.web.mobile .top .logo > div:nth-child(even) {
    width:90%;
    height: 105px;
    max-width: 434px;
}

.web.mobile .top .mainMenu {
    top: 81px;
    height: calc(100vh - 81px);
    overflow:auto;
    background-color: rgba(0, 0, 0, 0.85);
    left: 0;
    white-space: normal;
}

.web.mobile .top .mainMenu > div:last-child {
    margin-bottom:30px;
}

.web.mobile .top .mainMenu .separator {
    display: none;
}

.web.mobile .top .mainMenu a {
    padding: 0px;
}

.web.mobile .top .mainMenu > div:nth-child(even) {
    display:none;
}

.web.mobile .top .mainMenu > div, .web.mobile .top .mainMenu > div a  {
    display: table;
}

.web.mobile .top .mainMenu > div {
    margin-left: auto;
    margin-right: auto;
}

.web.mobile .top .mainMenu > div a {
    width: 100%;
}

.web.mobile .top .mainMenu .menu {
    width: 100%;
}

.web.mobile .top .mainMenu > div > * {
    margin:0;
}

.web.mobile .top .mainMenu .menu > div:not(.rollout) {
    padding: 0;
    position: relative;
}

.web.mobile .top .menu.active > .rollout {
    width:100%;
    position: relative;
    background: transparent;
    box-shadow: none;
    left: auto;
    right: auto;
    padding: 0;
    transform: initial;
}

.web.mobile .top .mainMenu .icoRollout {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0 auto 2px;
    transform: rotate(90deg);
}

.web.mobile .top .mainMenu {
    display:none;
}

.web.mobile.mainActive .top .mainMenu {
    display:inline-block;
}

.web.mobile .top .mainMenu > div:nth-child(odd) > * {
    margin-top:14px;
}

.web.mobile .top .mainMenu .rollout > * {
    margin-top:12px;
    color: rgb(134, 134, 134);
}

.web.mobile .top .mainMenu .menu .rollout {
    margin-bottom:20px;
    text-transform: none;
}

.web.mobile .top .mainMenu .menu.hover > div:first-child {
    color: rgba(255, 255, 255, 0.9);
    
}

.web.mobile .top .mainMenu .menu.hover > div:first-child .icoRollout {
    /*border-top: 5px solid rgba(255, 255, 255, 0.9);*/
    color: rgba(255, 255, 255, 0.9);
}

.web.mobile .top .icoRollout {
    display: inline-block;
}


@media only screen and (max-width: 420px), only screen and (max-width: 825px) and (min-aspect-ratio:16/11){
    .web.mobile .top .corner {
        top: 32px;
    }

    .web.mobile.topSmall .top .logo > div:nth-child(even) {
        width: 200px;
        height: 50px;
    }

    .top .btnMobile {
        right: 12px;
        width: 30px;
        height: 22px;
    }

    .top .langMenu {
        left:12px;
        height: 32px
    }

    .top .langMenu a > div, .top .langMenu > div:first-child > div:first-child {
        width: 28px;
        line-height: 28px;
    }

    .web.mobile .top .mainMenu {
        top: 58px;
        height: calc(100vh - 58px);
    }
}

@media only screen and (max-height: 610px) and (orientation: landscape) {
    .web.mobile .top .logo {
        margin-top:0;
    }

    .web.mobile .top .logo > div:nth-child(even){
        height: 100px;
    }
}