﻿@charset "UTF-8";
body.hidecbar #choosebar {
    transition-duration: 250ms;
    transform: translateY(100%);
}

#choosebar {
    font-family: 'Segoe UI', Microsoft JhengHei, '微軟正黑體', Arial, Helvetica, sans-serif;
    position: fixed;
    bottom: -1px;
    left: 0;
    width: 100%;
    transition: all ease 400ms;
    transform: translateY(0);
    overflow-x: hidden;
}

#choosebar .hoverbg {
    width: 2560px;
    position: relative;
    left: -1280px;
    margin-left: 50%;
}

.choosebar-bg {
    height: 40px;
}

.choosebar-bg:before {
    content: '';
    background: url(../images/choose/1920/bar-work.png) 0 0 no-repeat;
    display: inline-block;
    width: 0;
    height: 0;
}

.choosebar-bg:after {
    content: '';
    background: url(../images/choose/1920/bar-game.png) 0 0 no-repeat;
    display: inline-block;
    width: 0;
    height: 0;
}

.choosebar-bg.activeleft {
    background-image: url(../images/choose/1920/bar-work.png);
    background-color: rgba(0, 0, 0, 0.5);
    border-top: #6C0 2px solid;
}

.choosebar-bg.activeright {
    background-image: url(../images/choose/1920/bar-game.png);
    background-color: rgba(0, 0, 0, 0.5);
    border-top: #F60 2px solid;
}

.choosebar-bg.hoverleft {
    /*background-image: url(../images/choose/1920/bar-work.png);
  border-top: #6C0 2px solid;*/
    background-color: rgba(255, 255, 255, 0.3);
}

.choosebar-bg.hoverright {
    /*background-image: url(../images/choose/1920/bar-game.png);*/
    /*border-top: #F60 2px solid;*/
    background-color: rgba(255, 255, 255, 0.3);
}

.hoverbg {
    position: relative;
    transform: translateX(0);
    transition: all ease 500ms;
}

.hoverbg > div {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    width: 50%;
    cursor: pointer;
}

.hoverbg .right {
    left: 50%;
    border: none;
}

.hoverbg.activeleft {
    transform: translateX(-30px);
}

.hoverbg.activeright {
    transform: translateX(30px);
}


/*.hoverbg.hoverleft {
  transform: translateX(320px);
}

.hoverbg.hoverright {
  transform: translateX(-320px);
}
*/

.hoverbg .text-work,
.hoverbg .text-game {
    width: auto;
    height: auto;
    font-size: 21px;
    color: #fff;
}

.hoverbg .text-work {
    left: 971px;
    top: 4px;
}

.hoverbg .text-game {
    left: 1451px;
    top: 4px;
}

@media screen and (max-width: 960px) {
    #choosebar .hoverbg {
        width: 1366px;
        left: -683px;
    }
    #choosebar .hoverbg .text-work {
        left: 447px;
    }
    #choosebar .hoverbg .text-game {
        left: 787px;
    }
    .choosebar-bg:before {
        background: url(../images/choose/960/bar-work.png) 0 0 no-repeat;
    }
    .choosebar-bg:after {
        background: url(../images/choose/960/bar-game.png) 0 0 no-repeat;
    }
    .choosebar-bg.activeleft {
        background-image: url(../images/choose/960/bar-work.png);
    }
    .choosebar-bg.activeright {
        background-image: url(../images/choose/960/bar-game.png);
    }
    /*.choosebar-bg.hoverleft {
    background-image: url(../images/choose/960/bar-work.png);
  }
  .choosebar-bg.hoverright {
    background-image: url(../images/choose/960/bar-game.png);
  }*/
    .hoverbg.activeleft {
        transform: translateX(-30px);
    }
    .hoverbg.activeright {
        transform: translateX(30px);
    }
    /*.hoverbg.hoverleft {
    transform: translateX(60px);
  }
  .hoverbg.hoverright {
    transform: translateX(-60px);
  }*/
}

@media screen and (max-width: 640px) {
    #choosebar .hoverbg {
        width: 960px;
        left: -480px;
    }
    #choosebar .hoverbg .text-work {
        left: 333px;
        top: 3px;
    }
    #choosebar .hoverbg .text-game {
        left: 538px;
        top: 3px;
    }
    .choosebar-bg {
        height: 26px;
    }
    .choosebar-bg:before {
        background: url(../images/choose/640/bar-work.png) 0 0 no-repeat;
    }
    .choosebar-bg:after {
        background: url(../images/choose/640/bar-game.png) 0 0 no-repeat;
    }
    .choosebar-bg.activeleft {
        background-image: url(../images/choose/640/bar-work.png);
    }
    .choosebar-bg.activeright {
        background-image: url(../images/choose/640/bar-game.png);
    }
    /*.choosebar-bg.hoverleft {
    background-image: url(../images/choose/640/bar-work.png);
  }
  .choosebar-bg.hoverright {
    background-image: url(../images/choose/640/bar-game.png);
  }*/
    .hoverbg.activeleft {
        transform: translateX(-10px);
    }
    .hoverbg.activeright {
        transform: translateX(10px);
    }
    /*.hoverbg.hoverleft {
    transform: translateX(40px);
  }
  .hoverbg.hoverright {
    transform: translateX(-40px);
  }*/
    .hoverbg .text-work,
    .hoverbg .text-game {
        font-size: 14px;
    }
}

#div_main {
    position: relative;
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    padding-top: 2%;
}

#div_main > #sitemap.sitemap {
    flex: none;
    position: absolute;
    top: 10%;
    left: auto;
    order: 1;
}

#div_main #pnl_subtitle {
    flex: 0;
    order: 2;
}

#div_main > .titleonly {
    flex: 1 1;
    order: 1;
}

#div_main .menutab {
    padding-top: 0;
    flex: 4 4 auto;
    order: 2;
}

#div_main .menutab li {
    padding-right: 1%;
    padding-left: 1%;
}

#div_main #div_comparison_checkbox {
    margin-top: 0;
    order: 5;
    width: auto;
}

#div_main .black.menutab li.select {
    background-color: transparent;
    border: none;
}

#div_smooth.blacktype {
    background: none;
}

div[id^=modelShare].share_mode_btn,
#goToWTB.wtb_wording_btn {
    width: 35px;
    margin-right: 0;
}

#goToWTB {
    width: 60px !important;
}

@media (max-width: 640px) {
    #div_main {
        padding-top: 0;
        display: block !important;
    }
}
