@import url(http://fonts.googleapis.com/css?family=Nunito:100,200,300,400,600,700,800|El+Messiri:100,200,300,600);
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@200;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap");

body {
    padding-top: 0 !important;
    background-color: #000 !important;
    background-image: url(https://static.papayaplay.com/static/assets/images/4story/bg/wiki.jpg) !important;
    background-repeat: no-repeat !important;
    background-position: top !important;
    background-size: cover !important;
    font-family: "Roboto Condensed";
    font-size: 14px;
}

a {
    color: #6B290B;
}

.secondary-color {
    color: #ffba00 !important;
}

.after-login, .before-login {
    display: none;
    align-items: center;
    justify-content: center;
}

.en, .fr, .de, .pt,.tr,.ms {
  display: none;
}

.footer .mobile .row1 #mobile-footer-language .en,
.footer .mobile .row1 #mobile-footer-language .fr,
.footer .mobile .row1 #mobile-footer-language .de,
.footer .mobile .row1 #mobile-footer-language .pt,
.footer .mobile .row1 #mobile-footer-language .tr,
.footer .mobile .row1 #mobile-footer-language .ms {
  display: none;
}

.title-container {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.title-container .title-text {
    margin-top: 18px;
}
.title-container .title-bar {
    margin-top: 24px;
    width: 90%;
    max-width: 600px;
}

#dokuwiki__site {
    min-height: 800px;
    padding-top: 20px;
    padding-bottom:80px;
}

#dokuwiki__top .search-form-wrapper {
    display: block;
    width: 100%;
    height: 50px;
    text-align: right;
}

#dokuwiki__top .search-form-wrapper form {
    width: inherit;
    height: inherit;
    margin: 0;
    padding: 0;
}

#dokuwiki__top .search-form-wrapper input[type=search] {
    height: 50px;
    padding-left: 20px;
    color: #666666;
    font-family: 'Roboto Condensed';
    font-size: 16px;
    border: 1px solid #F1DCAC;
    border-radius: 2px;
    background-color: rgba(0,0,0,0.5);
}

#dokuwiki__top .search-form-wrapper button {
    display: none;
}

#dokuwiki__top .search-form-wrapper form {
    box-shadow: none;
}

#dokuwiki__top .search-form-wrapper .form-group::before {
    font-family: FontAwesome;
    color: #000;
    content: "\f002";
    font-size: 3.4rem;
    line-height: 50px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #F1DCAC;
    border-radius: 2px;
}

#dw__breadcrumbs hr {
    display: none;
}

#dw__breadcrumbs .dw__youarehere .breadcrumb li {
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#dw__breadcrumbs .dw__youarehere .breadcrumb li:first-child {
    display: none;
}

#dw__breadcrumbs .dw__youarehere .breadcrumb li:nth-child(2) a {
    color: #acacac;
}

#dw__breadcrumbs .dw__youarehere .breadcrumb li:nth-child(2)::before {
    display: none;
}

#dokuwiki__aside.dw__sidebar {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-right: 15px;
}

#dokuwiki__aside .dw-sidebar-content {
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 0;
    color: #ffffff;
}

#dokuwiki__aside .dw-sidebar-content .dw-sidebar-title {
    background-color: #000000 !important;
    color: #F7B500 !important;
    border: none !important;
    font-family: "Roboto Condensed";
    font-size: 2.0rem;
    letter-spacing: 2px;
    padding-left: 10px;
	cursor: pointer;
}

#dokuwiki__aside .dw-sidebar-content .dw-sidebar-body a {
    display: flex;
    align-items: center;
    width: 100%;
    padding-left:12px;
    padding-top:5px;
    padding-right:5px;
    padding-bottom:5px;
    color: white;
    font-family: "Roboto Condensed";
    font-size: 16px;
    line-height: 24px;
    font-weight:200;
}

#dokuwiki__aside .dw-sidebar-content .dw-sidebar-body a:hover, #dokuwiki__aside .dw-sidebar-content .dw-sidebar-body a:focus {
    color: #000;
    background-color: #F7B500;
}

#dokuwiki__aside .dw-sidebar-content .dw-sidebar-body h1 {
    color: #F1DCAC;
    font-family: "Roboto Slab";
    font-size: 20px;
    line-height: 31px;
    margin: 0;
    border-bottom: none;
}

#dokuwiki__aside .dw-sidebar-content .dw-sidebar-body h1::after {
}

#dokuwiki__aside .dw-sidebar-content .dw-sidebar-body h1 {
    padding: 10px 0;
    margin-left: 10px;
}

#dokuwiki__aside .dw-sidebar-content .dw-sidebar-body h1:not(:first-child) {
    width: 90%;
    margin-top: 5px;
    border-top: 1px solid #333333;
}

#dokuwiki__content .panel {
    border-radius: 2px;
}

#dokuwiki__content .dw-content {
    min-height: 800px;
}

#dokuwiki__content .dw-content h1 {
    font-size: 2.6rem;
    color: #2c2c2c;
    font-family: "Roboto Slab";
    font-weight: 600;
    padding-bottom: 2px;
    margin: 20px 0 10px;
    border-bottom: none;
}

#dokuwiki__content .dw-content h2 {
    font-weight: 600;
    margin-top: 10px;
    color: #000000;
    font-family: "Roboto";
    font-size: 26px;
    line-height: 40px;
}

#dokuwiki__content .dw-content p {
    font-family: "Roboto Slab";
    font-size: 15px;
    color: black;
}

#dokuwiki__content .dw-content iframe {
    width: 100%;
}

div.dokuwiki div.gallery table {
    width: 100%;
}

div.dokuwiki div.gallery table img.tn {
    max-width: 100% !important;
    height: auto;
}
.dokuwiki img.media {
    width: 100%;
}

/* 4story nav */
#fs-gnb-wrap { position: absolute; width: 100%; z-index: 999; }
#fs_nav      { position: relative; background-color: rgba(0,0,0,.5); }
.menu_container {
    height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto';
}

.left-side-wrapper {
    display: flex;
    justify-content: flex-start;
}
.left-side-wrapper .mobile-menu-wrapper { width: 45px; }
.left-side-wrapper .mobile-menu-wrapper input[id="menuicon"] { display: none; }
.left-side-wrapper .mobile-menu-wrapper .menubtn {
    display: block;
    width: 25px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}
.left-side-wrapper .mobile-menu-wrapper .menubtn span {
    display: block;
    position: absolute;
    width: 80%;
    height: 2px;
    border-radius: 30px;
    background: #CFCFCF;
    transition: all .3s;
}
.left-side-wrapper .mobile-menu-wrapper .sidebar {
    position: fixed;
    top: 65px;
    left: -250px;
    width: 250px;
    height:100vh;
    background: radial-gradient(circle, #54524B 0%, #2E2A24 100%);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);
    z-index: 999;
    transition: all 0.3s ease;
}
.left-side-wrapper .mobile-menu-wrapper .sidebar .m-menu-logo {
    width: 100px;
    padding-top: 10px;
    padding-bottom: 17px;
    margin: 0 auto;
}
.left-side-wrapper .mobile-menu-wrapper .sidebar .m-menu-logo .menu-logo-img { width: 100%; }
.left-side-wrapper .mobile-menu-wrapper .sidebar .div-menu-line {
    height: 1px;
    width: 100%;
    border: 1px solid rgba(0,0,0,.38);
    box-shadow: 0 2px 0 0 rgba(255,255,255,0.05);
}
.left-side-wrapper .mobile-menu-wrapper .sidebar ul li {
    display: block;
    line-height: 19px;
    font-size: 16px;
    font-weight: 400;
    padding-top: 15px;
    padding-bottom: 14px;
    padding-left: 30px;
}
.left-side-wrapper .mobile-menu-wrapper .sidebar ul li a { color:#FFF; font-weight:400; text-decoration:none; transition:all .3s ease; }
.left-side-wrapper .mobile-menu-wrapper .sidebar ul li input { display: none; }
.left-side-wrapper .mobile-menu-wrapper .sidebar ul li:hover > a { color: #F7B500; border: none; }
.left-side-wrapper .mobile-menu-wrapper .sidebar ul li.has-submenu { padding:0; }
.left-side-wrapper .mobile-menu-wrapper .sidebar ul li.has-submenu .fs-show { padding-top: 15px; padding-bottom: 14px; padding-left: 30px; }
.left-side-wrapper .mobile-menu-wrapper .sidebar ul ul {
    position: absolute;
    margin-top: 14px;
    left: 0px;
    width: 250px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-2em);
    z-index: -1;
    background-color: #000000;
    font-weight: 300;
    transition: all 0s ease;
}
.left-side-wrapper .mobile-menu-wrapper .sidebar ul ul li { border-bottom: 0; position: relative; }
.left-side-wrapper .mobile-menu-wrapper .sidebar ul ul li a { padding-left: 20px; border: none; }
.left-side-wrapper .mobile-menu-wrapper .sidebar ul ul:hover { color: #F7B500; }
.left-side-wrapper .mobile-menu-wrapper .sidebar ul .fs-show {
    display: block;
    color: #FFFFFF;
    font-weight: 400;
    margin: 0;
    cursor: pointer;
}
.left-side-wrapper .mobile-menu-wrapper .sidebar ul .fs-show .more-sign {
    position: absolute;
    right: 20px;
    font-size: 24px;
    font-weight: 100;
    line-height: 16px;
}
.left-side-wrapper .mobile-menu-wrapper .sidebar ul .fs-show:hover {
    transition: all 0.3s ease;
    color: #F7B500;
}
.left-side-wrapper .mobile-menu-wrapper .sidebar ul #fs_m_game_h:checked + ul      { position:relative; visibility:visible; opacity:1; z-index:1; transform:translateY(0); transition:0.3s ease; }
.left-side-wrapper .mobile-menu-wrapper .sidebar ul #fs_m_community_h:checked + ul { position:relative; visibility:visible; opacity:1; z-index:1; transform:translateY(0); transition:0.3s ease; }
.left-side-wrapper .mobile-menu-wrapper .sidebar .fs-download-m-btn {
    display: block;
    width: 200px;
    height: 60px;
    margin: 40px 25px;
    background: radial-gradient(circle, #72470F 0%, #DFB762 100%);
    box-shadow: inset 0 0 2px 0 #FFFFFF;
    border-style: none;
    text-align: center;
    color: #fff;
    font-family: 'Roboto Condensed';
    font-size: 20px;
    font-weight: bold;
    line-height: 60px;
    text-transform: uppercase;
    animation: animate_dn_normal .2s linear forwards;
    animation-iteration-count: 1;
}
.left-side-wrapper .mobile-menu-wrapper .sidebar .fs-download-m-btn:hover { animation:animate_dn_hover .2s linear forwards; animation-iteration-count:1; }
.left-side-wrapper .mobile-menu-wrapper .menubtn span:nth-child(1) { top: 20%; left: 50%; transform: translateX(-50%); }
.left-side-wrapper .mobile-menu-wrapper .menubtn span:nth-child(2) { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.left-side-wrapper .mobile-menu-wrapper .menubtn span:nth-child(3) { bottom: 20%; left: 50%; transform: translateX(-50%); }
.left-side-wrapper .mobile-menu-wrapper input[id="menuicon"]:hover ~ .menubtn span:nth-child(1) { top: 40%; left: 38%; transform:translate(-50%, -50%) scale(1) rotate(135deg); }
.left-side-wrapper .mobile-menu-wrapper input[id="menuicon"]:hover ~ .menubtn span:nth-child(2) { top: 75%; transform:translate(-50%, -50%) scale(1); }
.left-side-wrapper .mobile-menu-wrapper input[id="menuicon"]:hover ~ .menubtn span:nth-child(3) { top: 80%; left: 62%; transform:translate(-50%, -50%) scale(0.8) rotate(-90deg); }
.left-side-wrapper .mobile-menu-wrapper input[id="menuicon"]:checked ~ .menubtn { z-index: 1000; }
.left-side-wrapper .mobile-menu-wrapper input[id="menuicon"]:checked ~ .menubtn span:nth-child(1) { top: 50%; left: 50%; transform:translate(-50%, -50%) scale(0.8) rotate(-45deg); }
.left-side-wrapper .mobile-menu-wrapper input[id="menuicon"]:checked ~ .menubtn span:nth-child(2) { top: 50%; left: 50%; transform:translate(-50%, -50%) scale(0.8) rotate(45deg); }
.left-side-wrapper .mobile-menu-wrapper input[id="menuicon"]:checked ~ .menubtn span:nth-child(3) { top: 50%; left: 50%; transform:translate(-50%, -50%); opacity:0; }
.left-side-wrapper .mobile-menu-wrapper input[id="menuicon"]:checked ~ .sidebar { left: 0; }
.left-side-wrapper .menu-logo { padding-bottom: 10px; padding-left: 10px; }
.left-side-wrapper .menu-logo a .menu-logo-img { width: 100px; }
.left-side-wrapper ul { position: relative; }
.left-side-wrapper ul li {
    display: inline-block;
    line-height: normal;
    padding-top: 12px;
    padding-left: 3rem;
    font-size: 16px;
}
.left-side-wrapper ul li a.top-nav {
    box-sizing: border-box;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 0px;
    padding-left: 0px;
    padding-bottom: 11px;
    transition: all 0.3s ease;
}
.left-side-wrapper ul li a.top-nav:after {
    display: block;
    content: '';
    border-bottom: 3px solid #f7B500;
    transform: scaleX(0);
    transform-origin: 0% 50%;
    transition: all 0.3s ease-in-out;
    padding-bottom: 10px;
}
.left-side-wrapper ul li:hover a { color: #F7B500; }
.left-side-wrapper ul li:hover a.top-nav:after { transform:scaleX(1); }
.left-side-wrapper ul li.dropdown .sub-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-1rem);
    transition: all 0.3s ease;
    background-color: rgba(0,0,0,.5);
    position: absolute;
    top: 45px;
    height: 35px;
    width: 100vw;
    z-index: 21;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,.5);
}
.left-side-wrapper ul li.dropdown .sub-menu .sub-li { position:relative; font-size: 15px; line-height: 12px; }
.left-side-wrapper ul li.dropdown .sub-menu .sub-li a { color: #FFFFFF; width: 180px; transition:all 0.3s ease; }
.left-side-wrapper ul li.dropdown .sub-menu .sub-li a:hover { color: #F7B500; border: none; }
.left-side-wrapper ul li.dropdown .sub-menu.game { left: -172px; padding-left: 160px; }
.left-side-wrapper ul li.dropdown .sub-menu.community { left: -416px; padding-left: 420px; }
.left-side-wrapper ul li.dropdown:hover .sub-menu { visibility:visible; opacity:1; transform: translateY(0); transition:all 0.3s ease; }
.right-side-wrapper {
    display: flex;
    justify-content: flex-end;
}
.right-side-wrapper .fs-download-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 320px;
    height: 55px;
    transition: 0.5s;
    background: radial-gradient(circle, #72470F 0%, #DFB762 100%);
    box-shadow: inset 0 0 2px 0 #FFFFFF;
    border-style: none;
    text-align: center;
    color: #fff;
    font-family: 'Roboto condensed';
    font-size: 20px;
    font-weight: bold;
    line-height: 55px;
    text-transform: uppercase;
    animation: animate_dn_normal .2s linear forwards;
    animation-iteration-count: 1;
}
.right-side-wrapper .fs-download-btn:hover { animation: animate_dn_hover .2s linear forwards; animation-iteration-count: 1; }
.badge-soon {
    width: max-content;
    position: absolute;
    padding-top: 2px;
    padding-right: 8px;
    padding-left: 8px;
    padding-bottom: 2px;
    border-radius: 10px;
    background-color: #C9A56D;
    top: -2px;
    left: 26px;
    font-family: "Roboto Condensed";
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 300;
    line-height: 14px;
    text-transform: uppercase;
}

@media screen and (min-width: 768px) {
    #dokuwiki__top{
        margin-top: 24px;
    }
    #dokuwiki__top .search-form-wrapper {
        display: block;
        width: 100%;
        height: 50px;
        padding-right: 48px;
    }

    #dokuwiki__top .search-form-wrapper form {
        text-align: left;
    }

    #dokuwiki__top .search-form-wrapper form .form-group {
        width: 33.3%;
    }

    #dokuwiki__top .search-form-wrapper form .form-group input {
        width: 100%;
    }

    #dokuwiki__top .search-form-wrapper form .form-group::before {
        top: -16px;
    }

    #dokuwiki__aside.dw__sidebar {
        margin-right: 0;
        padding-right: 12px;
    }

    #dokuwiki__aside .dw-sidebar-content {
        padding: 15px 0;
    }

    #dokuwiki__content {
        top: -50px;
        padding: 0 12px;
    }
}

@media screen and (min-width: 992px) {
    .container {
        width: 970px;
    }

    .title-container {
        margin-top: 110px;
    }

    #dokuwiki__site {
        padding-top: 50px;
    }
    

    /* .container {
        position: relative;
    }

    .sub-menu {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        top: 112px;
        left: 180px;
        z-index:10;
    }

    .sub-menu li {
        text-transform: uppercase;
        color: white;
        font-size: 16px;
        font-weight: 300;
        padding-left: 5px;
        padding-right: 5px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .sub-menu li a {
        color: white;
        font-family: 'Nunito', sans-serif;
        font-weight: 600;
        line-height: 27px;
        padding-top: 2px;
        font-size: 18px;
        transition: all 0.5s ease-out;
    }

    .sub-menu li a:hover {
        color: #FEDB17;
        font-size: 18px;
        transition: all 0.5s ease-in;
    }

    .sub-menu li .new-badge {
        margin-left: 5px;
        background-color: #FEDB17;
        color: black;
        font-family: 'Nunito', sans-serif;
        font-size: 12px;
        font-weight: 800;
        border-radius: 10px;
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 0.5px;
    } */
}

@keyframes animate_dn_normal {
    0%   { background: radial-gradient(circle, #72470F 0%, #DFB762 5%);  }
    20%  { background: radial-gradient(circle, #72470F 0%, #DFB762 20%);  }
    40%  { background: radial-gradient(circle, #72470F 0%, #DFB762 35%);  }
    60%  { background: radial-gradient(circle, #72470F 0%, #DFB762 70%);  }
    80%  { background: radial-gradient(circle, #72470F 0%, #DFB762 90%);  }
    100% { background: radial-gradient(circle, #72470F 0%, #DFB762 100%); }
  }
  @keyframes animate_dn_hover {
    0%   { background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.1) 100%), radial-gradient(circle, #72470F 0%, #DFB762 20%);  }
    20%  { background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.2) 100%), radial-gradient(circle, #72470F 0%, #DFB762 35%);  }
    40%  { background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(0,0,0,0.3) 100%), radial-gradient(circle, #72470F 0%, #DFB762 60%);  }
    60%  { background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(0,0,0,0.4) 100%), radial-gradient(circle, #72470F 0%, #DFB762 80%);  }
    80%  { background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(0,0,0,0.5) 100%), radial-gradient(circle, #72470F 0%, #DFB762 90%);  }
    100% { background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(0,0,0,0.5) 100%), radial-gradient(circle, #72470F 0%, #DFB762 100%); }
  }
