/* === COMMON === */
*
{
    margin: 0;
    padding: 0;
}
html
{
    width: 100%;
    height: 100%;
    overflow-y: scroll;                                                                                                 /* always y scrollbar avoid flicker */
    background-color: rgb(155,155,155);

    background-image: url(/image/_common/background.jpg);
    background-repeat: repeat-x;
    background-position: left top;
}
body 
{
    margin-left: auto;	
    margin-right: auto;

    width: 998px;
    height: 100%;
    font-size: 75%;
    font-family: verdana,tahoma,arial,helvetica,sans-serif;

    color: rgb(0,0,0);
    background-color: rgb(255,255,255);
}




/* === CONTENT === */
#f-content
{
    padding-top: 194px;
    padding-left: 257px;
    padding-right: 194px;
    padding-bottom: 4em;
    line-height: 1.6em;
    background-color: rgb(255,255,255);
}
#f-content.noside
{
    padding-right: 30px;
}
#f-content .update
{
    font-size: 0.7em;
    color: rgb(176,176,176);
}




/* === TOP === */
#f-top
{
    position: absolute;
    top: 0px;
    width: 998px;
    height: 164px;

    font-weight: bold;
    letter-spacing: .07em;

    background-image: url(/image/_common/top.jpg);
    background-repeat: no-repeat;
    background-position: left center;
}
#f-top[id]
{
   position: fixed;
}
#f-top-1 a
{
    display: block;
    width: 228px;
    height: 164px;
}	
#f-top-2
{
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: right;
    color: rgb(255,255,255);
}	
#f-top-2 a
{
    padding-right: 10px;
    text-decoration: none;
    color: rgb(255,255,255);
}	
#f-top-3
{
    position: absolute;
    top: 68px;
    width: 771px;
    left: 227px;
    text-align: center;
    font-size: 2em;
    color: rgb(255,182,0);
}
#f-top-action, #f-toolbar
{
    position: absolute;
    top: 121px;
    left: 227px;
    right: 0px;
    height: 21px;
    padding-top: 8px;
    text-align: right;
    font-size: 0.9em;
    z-index: 10;
}
#f-top-action a, #f-toolbar a
{
    padding: 2px;
    margin-right: 5px;
    text-decoration: none;
    color: rgb(255,255,255);
    background-color: rgb(188,135,0);
}
#f-top-action a.active, #f-top-action span.active, #f-top-action a.select, #f-top-action span.select,
#f-toolbar a.active, #f-toolbar span.active, #f-toolbar a.select, #f-toolbar span.select
{
    color: rgb(188,135,0);
    background-color: rgb(255,222,120);
}
#f-top-info
{
    position: absolute;
    top: 149px;
    left: 227px;
    height: 15px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1.0em;
    color: rgb(255,255,255);
    background-color: rgb(188,135,0);
}
#f-top-info a
{
    text-decoration: none;
    color: rgb(255,255,255);
}




/* === NAVI === */
#f-navi
{
    position: absolute;
    top: 164px;
    width: 227px;
    height: 610px;
    overflow: hidden;                                                                                                   /* padding in a makes navi to width in IE6 */
    background-color: rgb(186,128,0);
}
#f-navi[id]
{
   position: fixed;
}
#f-navi-head
{
    position: relative;
    z-index: 1000;
    width: 225px;
    height: 31px;
    line-height: 31px;
    text-align: center;
    font-size: 0.8em;
    font-weight: bold;
    color: rgb(173,173,173);
    background-color: rgb(255,255,255);
    border: 1px solid rgb(153,153,153);
}
#f-navi-body
{
    margin-bottom: 0px;                                                                                                 /* needed for IE */
    list-style-type: none;
}
#f-navi-body li
{
    width: 227px;
    height: 43px;
    margin-top: -1px;
}
#f-navi-body li a
{
    display: block;                                                                                                     /* used for vertical align */
    vertical-align: middle;
    width: 227px;
    height: 43px; 
    padding-left: 50px;
    line-height: 43px;
    font-size: 1.0em;
    font-weight: bold;
    text-decoration: none;
    color: rgb(206,148,0);
    background-image: url(/image/_common/navi-passive.jpg);
    background-repeat: no-repeat;
    background-position: left center;
}
#f-navi-body li a:hover, #f-navi-body li .f-navi-active
{
    color: rgb(255,255,255);
    background-image: url(/image/_common/navi-active.jpg);
    background-repeat: no-repeat;
    background-position: left center;
}
#f-navi-body li .f-navi-select, #f-navi-body li a.f-navi-select:hover
{
    color: rgb(255,255,255);
    background-image: url(/image/_common/navi-select.jpg);
    background-repeat: no-repeat;
    background-position: left center;
}
#f-navi-text
{
    position: relative;
    z-index: 1000;
    margin-top: -1px;
    padding-top: 5px;
    width: 225px;
    height: 50px;
    text-align: center;
    color: rgb(173,173,173);
    background-color: rgb(255,255,255);
    border: 1px solid rgb(153,153,153);
    font-size: 0.8em;
    font-weight: bold;
    line-height: 15px;
}
#f-navi-promotion
{
    width: 225px;
    height: 227px;
    text-align: center;
    background-color: rgb(186,128,0);
    border: 1px solid rgb(153,153,153);
    border-top: 0px;
}
#f-navi-promotion h3
{
    font-size: 0.8em;
    font-weight: bold;
    color: rgb(255,255,255);
    background-color: rgb(255,182,0);
    padding: 5px;
}
#f-navi-promotion p
{
    padding: 5px;
    font-size: 0.8em;
    color: rgb(255,255,255);
}
#f-navi-promotion img
{
    width: 160px;
    height: 160px;
    object-fit: contain;                                                                                                /* scale to container size but keep ratio */
    object-position: center center;                                                                                     /* put to the middle */
    background-color: rgb(255,255,255);                                                                                 /* needed if image is smaller */
}




/* === SIDE === */
#f-side
{
    position: absolute;
    top: 164px;
    width: 164px;
    height: 610px;
    margin-left: 834px;
    text-align: center;
    background-color: rgb(186,128,0);
    overflow: hidden;
    z-index: 1000;
}
#f-side[id]
{
   position: fixed;
}
#f-side-promotion
{
    position: absolute;
    top: 0px;
    left: 7px;
    width: 150px;
    background-color: transparent;
    overflow: hidden;
}
#f-side-promotion h3
{
    margin-top: 30px;
    font-size: 0.8em;
    font-weight: bold;
    color: rgb(255,255,255);
    background-color: rgb(255,182,0);
    padding: 5px;
}
#f-side-promotion p
{
    margin-bottom: 25px;
    font-size: 0.7em;
    color: rgb(206,148,0);
    background-color: rgb(255,255,208);
}
#f-side-promotion p img
{
    width: 150px;
    height: 150px;
    object-fit: contain;                                                                                                /* scale to container size but keep ratio */
    object-position: center center;                                                                                     /* put to the middle */
    background-color: rgb(255,255,255);                                                                                 /* needed if image is smaller */
}
#f-side-promotion p span
{
    display: block;
    padding: 5px;
}




/* === MESSAGES === */
#messages
{
    position: absolute;
    top: 15px;
    width: 767px;
    height: 26px;
    margin-left: 227px;
}
#messages[id]
{
    position: fixed;
}