/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/* font */
@font-face {
    font-family: msjh;
    src: url("../font/msjh/msjh.ttf");
    font-weight: normal;
}

@font-face {
    font-family: msjh;
    src: url("../font/msjh/msjhbd.ttf");
    font-weight: bold;
}

@font-face {
    font-family: calibri;
    src: url("../font/calibri/calibri.ttf");
    font-weight: 400;
}

@font-face {
    font-family: calibri;
    src: url("../font/calibri/calibrii.ttf");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: calibri;
    src: url("../font/calibri/calibrib.ttf");
    font-weight: bold;
}

@font-face {
    font-family: calibri;
    src: url("../font/calibri/calibriz.ttf");
    font-weight: bold;
    font-style: italic;
}

@font-face {
  font-family: calibri;
  src: url("../font/calibri/calibril.ttf");
  font-weight: 100;
}

@font-face {
  font-family: calibri;
  src: url("../font/calibri/calibrili.ttf");
  font-weight: 100;
  font-style: italic;
}

:lang( en ){
    font-family: "Times New Roman", Times, serif;
    font-family: calibri;
    font-weight: 400;
}

:lang( zh ){
    font-family: "Times New Roman", Times, serif;
    font-family: msjh;
    font-weight: 400;
}

 h1, h2, h3, h4, h5, h6{
    text-align: center;
    color: #002849;
}

h1{
    font-size: 2.1em;
    letter-spacing: 4px;
    font-weight: 400;
    line-height: 1;
}

h2{
    /* font-size: 26px; */
    letter-spacing: 8px;
    line-height: 1;
    font-weight: 400;
    font-size:2em;
    margin-right: -8px;
}

h3{
    font-size: 18px;
    letter-spacing: 1.5px;
    line-height: 1;
}


p, .text{
    /* font-size: 12px; */
    font-size: 14px;
    letter-spacing: 1.45px;
    line-height: 2.5;
    color: #2B2B2B;
    text-align: justify;
}

button.text{
    text-align: center;
}

img{
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

main p a, main a.highlight{
    color: #737B4C;
    text-decoration: underline;
}

main p a:hover, main a.highlight:hover{
    opacity: .6;
}



/* common */
.left{
    float: left;
    left: 0;
}

.right{
    float: right;
    right: 0;
}

.deco-bar{
    background-image: url("../icon/pattern_full_screen_1080-01.png");
    background-color: #002B49;
    background-size: calc( 4000px * .7 ) calc( 2250px * .7 );
}

.green{
    color: #737B4C;
}

.blue{
    color: #002B49;
}

.taupe{
    color: #BFB8AF;
}

.grey{
    color: #2B2B2B;
}
.greyblue{
    color: #171D22;
}

/* .no-scroll{
    position: fixed;
    overflow-y: hidden;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
} */

.no-scroll{
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.no-overflow{
    overflow: hidden;
}


.wrapper{
    position: relative;
    height: 100%;
    width: 100%;
}

.img-con{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow: hidden;
}

.img-con.top{
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}

.img-con.bottom {
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}


.img-con img,
.bg-img-con img{
    width: 100%;
    height: auto;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.bg-title{
  display: flex;
  position: absolute;
  top:0;
  bottom: 0;
  left:0;
  right: 0;
  margin:auto;
  justify-content: center;
  align-items: center;
  color:#fff;
  pointer-events: none;
}

.bg-title h1{
  color:#fff;
  letter-spacing: 0.6em;
  margin-right:-0.6em;
  font-size: 2.1em;
  font-weight: 600;
  transition: all .5s;
}

.bg-title h2{
  color:#fff;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  font-size: 2.2em;
  font-weight: 100;
}

.img-con.horizontal img,
.bg-img-con.horizontal img{
    width: auto;
    height: 100%;
}

.zoom-img{
    -webkit-transition: all .8s;
    -o-transition: all .8s;
    transition: all .8s;
}

.zoom-img:hover{
    -webkit-transform: scale( 1.25 );
        -ms-transform: scale( 1.25 );
            transform: scale( 1.25 );
}

span a{
    text-decoration: none;
    opacity: .65;
}

span.active a, span a:hover{
    opacity: 1 !important;
}


/* responsive box */
.container, .container-sm, .container-md, .container-lg,
.container-xl, .container-fluid {
    width: 100%;
    margin: auto;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.container-padding{
    padding: 15px;
    margin-bottom: 30px;
}

.flex-section{
    display: flex;
    flex-direction: column;
    padding: 0 5%;
    align-items: flex-end;
    padding-top: 40px;
    padding-bottom:40px;
}

.flex-section.reverse{
    flex-direction: column;
}

.flex-section >div:first-child{
    flex:1;
    /* margin: 0 80px 0 0; */
}

.flex-section.reverse >div:first-child{
    flex:1;
    /* margin: 0 0 80px 0; */
}

.flex-section >div:last-child{
    flex:2;
}

.flex-section div .title{
    font-family: Calibri;
    font-size:2.1em;
    font-weight: 400;
    color: #002849;
    letter-spacing: 8px;
    text-align: left;
    white-space:nowrap;
}

.flex-section div .desc{
    margin-top:30px;
    font-family: Calibri;
    font-size:0.9em;
    font-weight: 400;
    color: #444444;
    text-align: left;
    line-height: 1.8;
    padding-bottom:25px;
    text-align: justify;
}

.flex-section div img{
    width: 100%;
}

.deco-side{
    transition:all 0.5s;
    width: 0%;
}

.solid{
    display: block;
    position: relative;
}

/* flex box */
.flex-box{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
}



/* (default) Mobile-portrait */
html, body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ::-webkit-scrollbar{
    display: none;
} */

header{
    position: fixed;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    height: 150px;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: white;
    border-bottom: 1px solid #eee;

    padding: 80px 20px 0 20px;
}

header > .inner-con {
    max-width: 1200px;
    margin: auto;
}

header .lang-con{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: auto;
    height: 15px;
    padding: 5px;
    font-size: 14px;
}

header .lang-con span{
    margin-left: 15px;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

header .lang-con span.active a{
    pointer-events: none;
}

header .lang-con a{
    color: #2B2B2B;
    vertical-align: middle;
}



.burger-btn{
    width: 25px;
    height: 15px;
    padding: 5px;
    cursor: pointer;
}


.burger-btn > div{
    background-color: #002B49;
    height: calc( 100% / 7.5 );
    -webkit-transition: -webkit-transform .8s;
    transition: -webkit-transform .8s;
    -o-transition: transform .8s;
    transition: transform .8s;
    transition: transform .8s, -webkit-transform .8s;
}

.burger-btn:hover > div{
    background-color: #4C697E;
}

.burger-btn > div:nth-child(2) {
    margin: 18% 0;
}

.burger-btn.active > div:first-child {
    -webkit-transform: translate( -40%, 183.5% )  rotateZ(-45deg) scaleX(.4) ;
        -ms-transform: translate( -40%, 183.5% )  rotate(-45deg) scaleX(.4);
            transform: translate( -40%, 183.5% )  rotateZ(-45deg) scaleX(.4) ;
}
.burger-btn.active > div:last-child {
    -webkit-transform: translate( -40%, -183.5% ) rotateZ(45deg)  scaleX(.4) ;
        -ms-transform: translate( -40%, -183.5% ) rotate(45deg)  scaleX(.4);
            transform: translate( -40%, -183.5% ) rotateZ(45deg)  scaleX(.4) ;
}

.logo{
    height: 130px;
    width: 130px;
    position: absolute;
    opacity: 1;
}
header .logo{
    left: calc( 50% - 65px );
    top: 15px;
}


/* menu */
.menu{
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    z-index: 10;
    pointer-events: none;

}
.menu.active{
    pointer-events: auto;
}

/* mobile menu */
#m-menu .cover{
    position: absolute;
    background: black;
    opacity: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .8s;
    -o-transition: all .8s;
    transition: all .8s;
}
#m-menu.active .cover{
    opacity: .54;
}

#m-menu .menu-inner{
    position: absolute;
    background: white;
    height: 100%;
    width: 250px;
    -webkit-transition: all .8s;
    -o-transition: all .8s;
    transition: all .8s;
    -webkit-transform: translateX( -100% );
        -ms-transform: translateX( -100% );
            transform: translateX( -100% );
}
#m-menu.active .menu-inner{
    -webkit-transform: translateX( 0 );
        -ms-transform: translateX( 0 );
            transform: translateX( 0 );
}

#m-menu .burger-btn{
    margin: 80px 20px;  /* align with the header's btn */
    position: absolute;
}

#m-menu .deco-bar{
    position: absolute;
    bottom: 0;
    height: 55px;
    width: 100%;
}

#m-menu nav{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    height: 50%;
    max-height: 260px;
    margin: 250px 25px 50px 40px;
}
#m-menu nav a {
    color: #44464D;
    letter-spacing: 1.65px;
    font-size: 14px;
}

#m-menu nav span{
    margin-bottom: 15px;
}
#m-menu nav span.active a{
    font-weight: bold;
    opacity: .87;
}


/* desktop menu */


#d-menu > div{
    display: inline-block;
}

#d-menu .deco-bar{
    position: relative;
    height: 100%;
    width: 50px;
    -webkit-transition: -webkit-transform .8s;
    transition: -webkit-transform .8s;
    -o-transition: transform .8s;
    transition: transform .8s;
    transition: transform .8s, -webkit-transform .8s;
    z-index: 1;
}
#d-menu .deco-bar.left{
    -webkit-transform: translateX( -100% );
        -ms-transform: translateX( -100% );
            transform: translateX( -100% );
}
#d-menu .deco-bar.right{
    -webkit-transform: translateX( 100% );
        -ms-transform: translateX( 100% );
            transform: translateX( 100% );
}
#d-menu.active .deco-bar{
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
}

#d-menu .menu-inner{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: white;
    opacity: 0;
    -webkit-transition: all .8s;
    -o-transition: all .8s;
    transition: all .8s;

    padding: 80px 90px 20px 90px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
#d-menu.active .menu-inner{
    opacity: 1;
}

#d-menu .menu-inner .inner-con{
    max-width: 1200px;
    height: 100%;
    width: 100%;
    margin: auto;
}

#d-menu .upper-con{
    height: 50px;
}

#d-menu .lower-con{
    height: calc( 100% - 50px );
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#d-menu nav{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 25px;

    height: 70%;
    min-height: 250px;
    max-height: 330px;

    -webkit-transition: all .8s;

    -o-transition: all .8s;

    transition: all .8s;
    -webkit-transform: translate( -100% );
        -ms-transform: translate( -100% );
            transform: translate( -100% );
    opacity: 0;
}
#d-menu.active nav{
    -webkit-transform: translate( 0 );
        -ms-transform: translate( 0 );
            transform: translate( 0 );
    opacity: 1;
}


#d-menu nav span{
    margin-bottom: 15px;
}
#d-menu nav a{
    color: #44464D;
    letter-spacing: 1.65px;
    font-size: 14px;
}


#d-menu .img-con{
    max-width: 450px;
    height: 80%;
    max-height: 300px;

    -webkit-transform: translate( 50% );

        -ms-transform: translate( 50% );

            transform: translate( 50% );
    opacity: 0;
    -webkit-transition: all .8s;
    -o-transition: all .8s;
    transition: all .8s;
}

#d-menu .img-con .zoom-img:hover{
      -webkit-transform: scale( 1.1 );
          -ms-transform: scale( 1.1 );
              transform: scale( 1.1 );
}

#d-menu.active .img-con{
    -webkit-transform: translate( 0 );
        -ms-transform: translate( 0 );
            transform: translate( 0 );
    opacity: 1;
}



.popup-page{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 20;

    display: none;
    overflow-y: scroll;
}

.popup-page .cover{
    position: absolute;
    width: 100%;
    min-height: 100vh;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: black;
    opacity: .5;
    z-index: -1;
}

.popup-page > .wrapper{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

    padding: 0;
    height: auto;
}


.popup-page .container-box{
    width: 85%;
    max-width: 350px;

    margin: 20vh auto;
    background: white;
    overflow: auto;



    pointer-events: auto;
}

.popup-page .container-box .wrapper{
    height: auto;
    width: 92%;
    margin: 4%;
    border: 1px solid #BFB8AF;
    padding: 30px 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}

.popup-page .button-a{
    margin-bottom: 20px;
    width: 100%;
    max-width: none;
}

.popup-page a{
    cursor: pointer;
    text-decoration: underline;
}

.popup-page a.showall ~ .button-a{
    display: none;
}
.popup-page a.showall.pressed{
    display: none;
}
.popup-page a.showall.pressed ~ .button-a{
    display: block;
}

.popup-page a.showall ~ a.collapse{
    display: none;
}

.popup-page a.showall.pressed ~ a.collapse{
    display: block;
}




.bg-img-con{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow: hidden;

    position: fixed;
    /* height: 100%; */
    height: calc( 100% - 150px );

    width: 100%;
    z-index: -1;

    /* clip: rect(auto, auto, auto, auto); */
    top: auto;
    background: white;

    will-change: top;
}

.bg-img-con > div{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
}




.scroll-down-icon{
    position: absolute;
    height: 45px;
    width: 45px;
    margin: auto;

    left: calc( 50% - 45px / 2 );
    top: calc( 100vh - 225px );
    /* top: calc(var(--vh, 1vh) * 100 - 225px); */
    cursor: pointer;

    -webkit-animation: bouncing 1.2s infinite;

            animation: bouncing 1.2s infinite;
}

.scroll-down-icon img{
    -webkit-transform: rotateZ( 180deg );
        -ms-transform: rotate( 180deg );
            transform: rotateZ( 180deg );
    height: 100%;
    width: 100%;
}

.simple-parallax{
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@-webkit-keyframes bouncing{
    from {
        padding-top: 0;
    }
    50%  {
        padding-top: 20px;
    }
    to  {
        padding-top: 0;
    }
}

@keyframes bouncing{
    from {
        padding-top: 0;
    }
    50%  {
        padding-top: 20px;
    }
    to  {
        padding-top: 0;
    }
}


.floating-button{
    position: fixed;
    height: 50px;
    width: 50px;
    border-radius: 100%;
    z-index: 5;
    right: 12px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-box-shadow: 0 2px 4px;
            box-shadow: 0 2px 4px;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-transform: scale(.8);

        -ms-transform: scale(.8);

            transform: scale(.8);
    -webkit-transition: bottom .8s;
    -o-transition: bottom .8s;
    transition: bottom .8s;
}

.floating-button > div{
    width: 46px;
    height: 46px;
    margin: 2px;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 100%;
}

.floating-center{
  position: fixed;
  
  z-index: 5;
  cursor: pointer;
  bottom:-50px;
  left:0;
  right:0;
  margin: auto;
  transition: all .5s;
}

.floating-center.active{
  bottom:48px;
}

.floating-center .text{
  top: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  color: #fff;
  text-align: center;

}


#event-button{
  width: 221.38px;
  height: 42px;
}

#join-button{
  width: 202.38px;
  height: 42px;
}


#news-button{
    background-color: #002A48;
    bottom: 30px;
}

#news-button.top{
    bottom: 80px;
}

#news-button:hover{
    background-color: #001521;
}

#news-button > div{
    background: none;
    border: 1px solid rgba(255,255,255,.67);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#news-button > div > span{
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: .85em;
}


#notification-button{
    background-color: #A9A196;
    bottom: 80px;
}

#notification-button.top{
    bottom: 130px;
}

#notification-button:hover{
    background-color: #807a71;
}

#notification-button > div{
    background: none;
    border: 1px solid rgba(255,255,255,.67);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#notification-button > div > span{
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: .85em;
}




#scroll-top-button{
    display: none;
    background-color: white;
    bottom: 30px;
    z-index: 4;
}


#scroll-top-button:hover{
    background-color: #eeeeee;
}

#scroll-top-button > div{
    background: none;
    border: 1px solid #002A48;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#scroll-top-button > div > div{
    height: 2px;
    width: 15px;
    background: #002A48;
}

#scroll-top-button > div > div:first-child{
    -webkit-transform: translateX(1.5px) rotateZ(-30deg);
        -ms-transform: translateX(1.5px) rotate(-30deg);
            transform: translateX(1.5px) rotateZ(-30deg);
}
#scroll-top-button > div > div:last-child{
    -webkit-transform: translateX(-1.5px) rotateZ(30deg);
        -ms-transform: translateX(-1.5px) rotate(30deg);
            transform: translateX(-1.5px) rotateZ(30deg);
}



main{
    width: 100%;
    height: auto;
    position: relative;
    margin-top: 150px;
    z-index: 1;
}

main section{
    width: 100%;
    height: auto;
    /* min-height: calc( 100vh - 150px ); */
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    background: white;
}

main section.parallax{
    background: transparent;
    height: calc( 100vh - 150px );

    overflow: hidden;
}

main > .deco-bar{
    height: 55px;
    width: 100%;
}



.flex-con{
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;

    margin: auto;
    padding-bottom: 50px;
}

.flex-con > .flex-item{
    width: 85%;
    /* max-width: 275px;
    height: 375px; */
    aspect-ratio: 332.24/459;
    margin: 15px auto;
}

.flex-con > .flex-item > .wrapper{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow: hidden;
}

.flex-con > .flex-item a{
    height: 100%;
    width: 100%;
}

.flex-con > .flex-item .label-con {
    position: absolute;
    width: inherit;
    height: inherit;
    top: 0;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(70%, transparent), to(black) );
    background: -o-linear-gradient( transparent 70%, black );
    background: linear-gradient( transparent 70%, black );
    pointer-events: none;

    color: white;
    text-align: center;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column nowrap;
            flex-flow: column nowrap;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: center;

    -webkit-user-select: none;

       -moz-user-select: none;

        -ms-user-select: none;

            user-select: none;
}

.flex-con > .flex-item .label-con h2{
    /* margin: 0; */
    color: white;
    /* font-size: 22px; */
}

.flex-con > .flex-item .label-con{
  top:auto;
  justify-content: flex-end;
  padding-bottom: 115px;
  word-spacing: 100vw;
}

.flex-con > .flex-item .label-con h2{
  font-size: 2em;
  font-weight: 600;
}



section.regular {
    text-align: center;
    padding: 50px 0;
}

section.regular p {
    width: 80%;
    margin: 0 auto 15px auto;
}

section.regular .title-con > h1 {
    margin: 0;
}

section.regular .title-con > .separater{
    color: #BFB8AF;
}

section.regular .title-con > .separater > hr{
    border-color: #BFB8AF;
}


.separater{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: justify;
        align-content: space-between;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 85px;
    margin: 15px auto 25px auto;
    color: white;
    font-size: 12px;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.separater > hr{
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -ms-flex-negative: 1;
        flex-shrink: 1;
    height: 0;
    margin: auto 5px;
    border: none;
    border-bottom: 1px white solid;
}

.separater > span{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    vertical-align: middle;
}

.title-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 20px;
    width: 100%;
    margin: auto;
    justify-content: center;
}

.title-flex > hr{
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    height: 0;
    border: none;
    border-bottom: 1.2px solid #BFB8AF;
}

.title-flex.pad-top{
    padding-top: 30px;
}

.title-flex.pad-left h1,
.title-flex.pad-left h2{
    padding-left: 35px;
}

.title-flex.pad-right h1,
.title-flex.pad-right h2{
    padding-right: 35px;
}


.title-flex.half{
    margin: 0;
    width: 100%;
}


button.rect-button{
    width: 70%;
    min-width: 120px;
    max-width: 250px;
    height: 40px;
    color: white;
    background-color: #002849;
    border: none;
    font-size: 14px;
    cursor: pointer;

    margin: auto;
    padding: 0;
}

button.rect-button:hover {
    background-color: #001424;
}




main .fadein{
    -webkit-transition: opacity .8s, -webkit-transform .8s;
    transition: opacity .8s, -webkit-transform .8s;
    -o-transition: opacity .8s, transform .8s;
    transition: opacity .8s, transform .8s;
    transition: opacity .8s, transform .8s, -webkit-transform .8s;
    -webkit-transform: translateY( 20px );
        -ms-transform: translateY( 20px );
            transform: translateY( 20px );
    opacity: 0;
}
main .fadein.left{
    -webkit-transform: translateX( -50% );
        -ms-transform: translateX( -50% );
            transform: translateX( -50% );
}
main .fadein.right{
    -webkit-transform: translateX( 50% );
        -ms-transform: translateX( 50% );
            transform: translateX( 50% );
}

main .fadein.finished {
    opacity: 1;
    -webkit-transform: translate( 0 );
        -ms-transform: translate( 0 );
            transform: translate( 0 );
}



footer{
    background-color: #F3F2F0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    padding: 20px 30px;
    text-align: center;
    position: relative;
    z-index: 1;

    /* font-size: 12px; */
}

footer .flex-box{
    -ms-flex-pack: distribute;
        justify-content: space-around;
    opacity: .87;
    margin: auto;
    margin-bottom: 10px;

    gap: 5px;
}

footer .flex-box span{
    text-align: left;
}

footer .flex-box span > a{
    color: #171D22;
    line-height: 3;
    letter-spacing: 1.3px;

    white-space: nowrap;
}

footer .social-flex{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    width: 75px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

footer .social-flex img{
    height: 100%;
    width: auto;
    height: 30px;
    width: 30px;
}

footer .social-flex img:hover{
    opacity: .6;
}

footer .copyright{
    opacity: .54;
    color: #171D22;
    letter-spacing: 1.3px;
    line-height: 1;
    font-size: .8em;
    margin-top: 10px;
}



.desktop-only{
    display: none;
}

.mobile-only{
    display: block;
}


/* Mobile-landscape */
@media (min-width: 576px) {
    .container, .container-sm{
        max-width: 540px;
    }

    .title-flex{
        width: 90%;
    }

    .flex-con{
        width: 90%;
    }

    .bg-title h1{
      color:#fff;
      letter-spacing: 0.6em;
      margin-right:-0.6em;
      font-size: 3.2em;
      font-weight: 600;
    }


}

/* Tablet, portrait */
@media (min-width: 768px) {
    .container, .container-sm, .container-md {
        max-width: 720px;
    }

    .floating-button{
        right: 15px;
    }


    #notification-button{
        bottom: 100px;
    }

    #notification-button.top{
        bottom: 150px;
    }

    #news-button{
        bottom: 50px;
    }

    #news-button.top{
        bottom: 100px;
    }

    #scroll-top-button{
        bottom: 50px;
    }

    .floating-center .text {
      top:8px;
    }
    /* 50 + (height diff /2) */
    .floating-center.active{
      bottom: 68px;
    }

    .flex-box{
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-flow: row nowrap;
                flex-flow: row nowrap;
    }
    .flex-box.reverse{
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
            -ms-flex-flow: row-reverse nowrap;
                flex-flow: row-reverse nowrap;
    }


    .title-flex{
        width: 80%;
    }

    .flex-con{
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-flow: row nowrap;
                flex-flow: row nowrap;
        width: 80%;
        padding-top: 20px;
        padding-bottom: 80px;
        max-width: none;
    }

    .flex-con.two-only{
        width: 70%;
    }

    .flex-con > .flex-item{
        width: 32%;
        /* height: 300px; */
        margin: 15px 0;
        aspect-ratio: 423.45/585;
    }

    .flex-con.two-only > .flex-item{
        width: 48%;
    }

    main > .deco-bar{
        height: 60px;
    }

    section.regular p {
        width: 65%;
        margin: 0 auto 50px auto;
    }

    h1{
        font-weight: 400;
        font-size: 2.1em;
    }

    h2{
        font-weight: 400;
        font-size:1.4em;
    }

    h3{
        font-size: 18px;
    }

    p, .text{
        font-size: 13px;
        letter-spacing: 1px;
        line-height: 2;
    }

    header{
        padding: 80px 90px 0 90px;
    }

    footer .flex-box{
        width: 70%;
    }

    footer .social-flex{
        margin: auto;
    }

    .desktop-only{
        display: block;
    }

    .mobile-only{
        display: none;
    }

    .title-flex.pad-top{
      padding-top: 60px;
    }
  
    .title-flex.pad-right h1{
      margin-bottom: 0;
    }
}

/* Tablet, landscape */
@media (min-width: 992px) {
      .container, .container-sm, .container-md,
      .container-lg {
          max-width: 960px;
      }

      #d-menu .deco-bar{
          width: 65px;
      }

      #d-menu .img-con{
          max-width: 550px;
          height: 80%;
          min-height: 200px;
          max-height: 400px;
      }

      .title-flex{
          width: 80%;
      }

      .flex-con > .flex-item{
          /* height: 335px; */
      }

      footer .flex-box{
          width: 60%;
      }

      .deco-side{
        width: 7%;
      }
      .flex-section{
        display: flex;
        flex-direction: row;
        padding: 0 15%;
        align-items: flex-end;
        padding-top: 75px;
        padding-bottom:75px;
      }
    
      .flex-section.reverse{
          flex-direction: row-reverse;
      }
      
      .flex-section >div:first-child{
          flex:1;
          margin: 0 80px 0 0;
      }
      
      .flex-section.reverse >div:first-child{
          flex:1;
          margin: 0 0 0 80px;
      }
      
      .flex-section >div:last-child{
          flex:2;
      }
      
      .flex-section div .title{
          font-family: Calibri;
          font-size:2.1em;
          font-weight: 400;
          color: #002849;
          letter-spacing: 8px;
          text-align: left;
          white-space:nowrap;
      }
      
      .flex-section div .desc{
          margin-top:50px;
          font-family: Calibri;
          font-size:0.9em;
          font-weight: 400;
          color: #444444;
          text-align: justify;
          line-height: 1.8;
          padding-bottom:25px;
      }
      
      .flex-section div img{
          width: 100%;
      }
}

/* Laptop displays */
@media (min-width: 1200px) {
      .container, .container-sm, .container-md,
      .container-lg, .container-xl {
          max-width: 1140px;
      }

      #d-menu .deco-bar{
          width: 75px;
      }

      #d-menu .img-con{
          max-width: 650px;
          height: 80%;
          min-height: 250px;
          max-height: 450px;
      }

      .title-flex{
          width: 75%;
      }

      .flex-con{
          width: 75%;
      }

      .flex-con.two-only{
          width: 60%;
      }

      .flex-con > .flex-item{
          /* height: 375px; */
      }


      p, .text{
          font-size: 14px;
          letter-spacing: 1.45px;
          line-height: 2.5;
      }

      footer .flex-box{
          width: 55%;
      }
      .floating-center .text {
        top:3px;
      }
}
