*, *:after, *:before { margin: 0; padding: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body {
    background: #FFDC00;
    font-family: Arial, Helvetica, sans-serif;
    overflow-y: scroll;
    overflow-x: hidden;
}
body.portal,
body.portal .effect-moveleft {
    /*background: #FFFFFF;*/
}

a {
    text-decoration: none;
    color: #FFFAD6;
    outline: none;
}

a:hover, a:focus {
    color: #e86a32;
    outline: none;
}

li {
    list-style: none;
}

html, body, .perspective {
    width: 100%;
    height: 100%;
}

/*PARALLAX*/

.page-wrap {
    position: relative;
    margin: 0 auto;
    padding: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: auto;
}
.scrollarea1 {
    z-index: 2;
    position: relative;
    top: 0;
}
.scrollarea2 {
    position: fixed;
    top:0;
    height: 965px;
    margin: 0 0 0 -50%;
    width: 100%;
    left: 50%;
}

.navibox {
    height: 217px;
    cursor: pointer;
}
.content1 {
    height: 1464px;
}
.header2 {
    height: 147px;
    box-shadow: 0px 3px 7px -3px #a79000;
    width: 100%;
    margin: 0 0 0 -50%;
    left: 50%;
}
.content2 {
    height: 1400px;
}

.footerbox {
    height: 368px;
}

.topbar {
    position: absolute;
    height: 19px;
    width: 100%;
    /*background-color: #7A6353;*/
    z-index: 1000;
}

.scrollarea1 img,
.scrollarea2 img,
.wrapper-portal img {
    margin: 0 auto;
    display: block;
}
 .white {
     background-color: #fff;
 }
.yellow {
    background-color: #FFDC00;
}

/*NEW*/

.perspective {
    background: #FFDC00;
    position: relative;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

/* To Navigation Style */

.menuwrapper {
    position: absolute;
    width: 541px;
    height: 24px;
    top: 63px;
    z-index: 1000;
    text-align: right;
    margin-left: 50%;
}

#showMenu {
    position: absolute;
    background: url(../img/navi_btn.png) 0 0 no-repeat;
    width: 30px;
    height: 24px;
}

.container {
    min-height: 100%;
    position: relative;
    outline: 1px solid rgba(0,0,0,0);
    z-index: 10;
    /*-webkit-transform: translateZ(0) translateX(0) rotateY(0deg); *//* reset transforms (Chrome bug) */
    /*transform: translateZ(0) translateX(0) rotateY(0deg);*/
}

.container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px;
    opacity: 0;
    background: rgba(0,0,0,0.2);
    /* the transition delay of the height needs to be synced with the container transition time */
    -webkit-transition: opacity 0.4s, height 0s 0.4s;
    transition: opacity 0.4s, height 0s 0.4s;
}

.wrapper {
    position: relative;
    margin: 0 auto;
}

.wrapper-portal {
    /*background: url(../img/portal.png) 0 0 no-repeat;*/
    cursor: pointer;
}

.wrapper-search {
    background: url(../img/bg_search.png) 0 0 no-repeat;
    height: 1908px;
    width: 1280px;
}

.component {
    margin: 0 auto;
    width: 60%;
    text-align: justify;
    font-size: 1.5em;
}

/* Modal view */
.perspective.modalview {
    position: fixed;
    -webkit-perspective: 1500px;
    perspective: 1500px;
}

.modalview .container {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.modalview .wrapper {
    -webkit-transform: translateZ(-1px); /* solves a rendering bug in Chrome on Windows */
}

.animate .container::after {
    opacity: 0.1;
    height: 101%;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

/* Outer Nav */
#close {
    position: absolute;
    top: 40px;
    right: 40px;
}
#close.visible {
    opacity: 1;
}
#close.hidden {
    opacity: 0;
}
.outer-nav {
    position: absolute;
    height: auto;
    font-size: 1.5em;
}

.outer-nav.vertical {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.outer-nav.right {
    right: 25%;
}
.outer-nav .mainnav_item {
    margin: 0 0 23px 0;
}

.outer-nav a {
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    color: #000;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.outer-nav a:hover {
    color: #ffdccd;
}

.outer-nav.vertical a {
    display: block;
}

.outer-nav a::before {
    display: inline-block;
    speak: none;
    font-style: normal;
    font-weight: 100;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    margin-right: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.mainnav_btn {
    float: left;
}

.arrow {
    float: left;
    margin: 8px 0 0 20px;
    -webkit-transition: transform 0.3s;
    transition: transform 0.3s;
}
.down {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
}
.up {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.outer-nav .subnav {
    clear: both;
}
.outer-nav .subnav li {
    margin-bottom: 15px;
}
.subnav .line {
    width: 177px;
    height: 2px;
    background: #000;
    margin-top: 17px !important;
    margin-bottom: 17px !important;
}
.outer-nav .subnav li a {
    font-size: 16px;
    font-weight: normal;
}
.outer-nav .subnav li:last-child {
    margin-bottom: 30px !important;
}

.slideup, .slidedown {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.6s ease-in-out;
    -moz-transition: max-height 0.6s ease-in-out;
    -o-transition: max-height 0.6s ease-in-out;
    transition: max-height 0.6s ease-in-out;
}
.slidedown {
    max-height: 1000px;
}

/* Individual Effects */

/* Effect Move Left */
.effect-moveleft {
    background: #FFDC00;
    background: -moz-linear-gradient(left, #fff55e 0%, #ffdc00 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#fff55e), color-stop(100%,#ffdc00)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #fff55e 0%,#ffdc00 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #fff55e 0%,#ffdc00 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #fff55e 0%,#ffdc00 100%); /* IE10+ */
}

.effect-moveleft .container {
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.effect-moveleft .container::after {
    background: rgba(255,255,255,0.6);
}

.effect-moveleft.animate .container {
    -webkit-transform: translateX(-50%) rotateY(45deg) translateZ(-50px);
    transform: translateX(-50%) rotateY(45deg) translateZ(-50px);
}

.no-csstransforms3d .effect-moveleft.animate .container {
    left: -75%;
}

.effect-moveleft .outer-nav #mainnav li {
    opacity: 0;
    -webkit-transform: translateX(100px) translateZ(-1000px);
    transform: translateX(100px) translateZ(-1000px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
    transition: transform 0.4s, opacity 0.4s;
}

.effect-moveleft .outer-nav a {
    color: #000;
}

.effect-moveleft .outer-nav a:hover {
    color: #333;
}

.effect-moveleft.animate .outer-nav #mainnav li{
    opacity: 1;
    -webkit-transform: translateX(0) translateZ(0);
    transform: translateX(0) translateZ(0);
}

.effect-moveleft.animate .outer-nav  #mainnav li:nth-child(2) {
    -webkit-transition-delay: 0.04s;
    transition-delay: 0.04s;
}

.effect-moveleft.animate .outer-nav #mainnav li:nth-child(3) {
    -webkit-transition-delay: 0.08s;
    transition-delay: 0.08s;
}

.effect-moveleft.animate .outer-nav #mainnav li:nth-child(4) {
    -webkit-transition-delay: 0.12s;
    transition-delay: 0.12s;
}

@media screen and (max-width: 31em), screen and (max-height: 36.2em) {
    .outer-nav.vertical {
        font-size: 1.2em;
        width: 6.8em;
    }

    .outer-nav.right {
        right: auto;
        left: 40%;
        overflow: hidden;
    }
    .modalview .outer-nav.right {
        overflow: visible;
    }
}

@media screen and (max-height: 31.6em) {
    .outer-nav a {
        margin-bottom: 20px;
    }
}

.outer-nav {
    overflow: auto;
    height: 650px;
    width: 320px
}

.outer-nav a {
    margin-bottom: 22px;
    font-size: 13px;
}

.outer-nav .mainnav_item {
    margin-bottom: 37px;
}

#mainnav {
    display:none;
    padding-left: 40px;
    padding-top:1px;
    width: 220px;
}

.nav_detailed {
    position: absolute;
    cursor:pointer;
}
.clickhome {
    width: 100%;
    height: 40px;
    position: absolute;
    cursor:pointer;
}


/*MOBILE*/
/*___________________________________________________________________________________________*/



@media screen and (max-width: 420px) {



    .wrapper-search {
        background: url(../img/mobile/search.png) no-repeat;
        background-size: 400px;
        width: 400px;
        height: 851px;
    }


    .wrapper-portal {
        background: url(../img/mobile/portal.png) no-repeat;
        height: 3066px;
        width: 400px;
        background-size: 400px;
        margin: 0;
    }
    .wrapper-portal .content,
    .wrapper-portal .footerportal,
    .wrapper-detail .page-wrap,
    .nav_detailed {
        display: none;
    }


    .wrapper-detail {
        background: url(../img/mobile/detail.png) no-repeat;
        height: 4788px;
        width: 400px;
        background-size: 400px;
        margin: 0;
    }


    .menuwrapper {
        position: absolute;
        width: 330px;
        height: 24px;
        top: 34px;
        z-index: 1000;
        text-align: right;
        margin: 0;
    }
    .wrapper-search .menuwrapper {
        top: 30px;
    }

    .outer-nav {
        background: url('../img/mobile/icons.png') no-repeat;
        height: 480px;
    }

    #mainnav {
        display: block;
    }
}