.black-ribbon {
    position: fixed;
    z-index: 9999;
    width: 70px;
}

@media only all and (min-width: 768px) {
    .black-ribbon {
        width: auto;
    }
}

.stick-left {
    left: 0;
}

.stick-right {
    right: 0;
}

.stick-top {
    top: 0;
}

.stick-bottom {
    bottom: 0;
}

.h01 {
    background-image: url(../images/header/h01.jpg);
    background-repeat: no-repeat;
    width: 1024px;
    height: 100px;
    text-align: right;
}

.tell_h {
    position: relative;
    width: 300px;
    top: -9px;
    left: 720px;
}

.tell_h2 {
    position: relative;
    top: -6px;
    font-weight: 600;
    color: #060;
}

.main_menu_bg {
    width: 1023px;
    height: 40px;
    background-image: url(../images/header/bg_main_menu_header.png);
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
}

#header_menu {
    position: absolute;
    width: 1024px;
    height: 38px;
    padding-left: auto;
	padding-right: auto;
    margin-top: 5px;
    font-weight: 500;
    font-size: 14px;
}

#header_menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: auto;
}

#header_menu ul li {
    display: block;
    float: left;
    margin: 0;
}

#header_menu ul li a {
    display: block;
    float: left;
    color: #FFF;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 20px 0 20px;
    height: 20px;
    background: transparent url(../images/header/bgDIVIDER.gif) no-repeat top right;
}

#header_menu ul li a:hover,
#header_menu ul li a.current {
    color: #000;
    font-weight: 500;
    height: 20px;
    background: #ffb200 url(../images/etc/bgON.gif) no-repeat top right;
}

.header.fade {
    /** กรอบนอก**/
    / position: relative;
    width: 1023px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    background: #4b4b4c;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #FFFFFF;
}

.header .headerfade {
    position: relative;
    width: 1023px;
    height: 267px;
}

.header .headerfade img {
    display: none;
    position: absolute;
    width: 1023px;
    height: 267px;
    top: 0;
    left: 0;
}

.header .Hb-controlNav {
    position: absolute;
    bottom: 10px;
    left: 860px;
    /* ตำแหน่ง จุดไข่ปลา */
    z-index: 14;
}

.header .Hb-controlNav a {
    display: block;
    float: left;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    text-indent: -9999px;
    background: #4b4b4c;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, .5), 0px 1px 1px rgba(255, 255, 255, .05);
    -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, .5), 0px 1px 1px rgba(255, 255, 255, .05);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, .5), 0px 1px 1px rgba(255, 255, 255, .05);
}

.header .Hb-controlNav a.active,
.header .Hb-caption span {
    background: #a5cd4e;
    background: -moz-linear-gradient(top, #a5cd4e 0%, #6b8f1a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a5cd4e), color-stop(100%, #6b8f1a));
    background: -webkit-linear-gradient(top, #a5cd4e 0%, #6b8f1a 100%);
    background: -o-linear-gradient(top, #a5cd4e 0%, #6b8f1a 100%);
    background: -ms-linear-gradient(top, #a5cd4e 0%, #6b8f1a 100%);
    background: linear-gradient(top, #a5cd4e 0%, #6b8f1a 100%);
    -webkit-box-shadow: inset 0px 1px 1px rgba(255, 255, 255, .4), 0px 1px 1px rgba(0, 0, 0, .3);
    -moz-box-shadow: inset 0px 1px 1px rgba(255, 255, 255, .4), 0px 1px 1px rgba(0, 0, 0, .3);
    box-shadow: inset 0px 1px 1px rgba(255, 255, 255, .4), 0px 1px 1px rgba(0, 0, 0, .3);
}

.header .Hb-directionNav a {
    display: block;
    top: 60px;
    font-family: 'Consolas', sans-serif;
    font-size: 40px;
    color: #4b4b4c;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, .05);
}

.header a.Hb-prevNav {
    left: -40px;
}

.header a.Hb-nextNav {
    right: -40px;
}

.header .Hb-caption {
    padding: 5px 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #e1e1e1;
    background: #000000;
    -webkit-border-radius: 0 0 3px 3px;
    -moz-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
}

.header .Hb-caption span {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 5px 1px 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.headerfade {
    position: relative;
}

.headerfade img {
    position: absolute;
    top: 0px;
    left: 0px;
}


/* If an image is wrapped in a link */

.headerfade a.Hb-imageLink {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 6;
    display: none;
}


/* The slices and boxes in the fade */

.Hb-slice {
    display: block;
    position: absolute;
    z-index: 5;
    height: 100%;
}

.Hb-box {
    display: block;
    position: absolute;
    z-index: 5;
}


/* Caption styles */

.Hb-caption {
    position: absolute;
    left: 0px;
    bottom: 0px;
    background: #FFF;
    color: #fff;
    opacity: 0.8;
    /* Overridden by captionOpacity setting */
    width: 100%;
    z-index: 8;
}

.Hb-caption p {
    padding: 5px;
    margin: 0;
}

.Hb-caption a {
    display: inline !important;
}

.Hb-html-caption {
    display: none;
}


/* Direction nav styles (e.g. Next & Prev) */

.Hb-directionNav a {
    position: absolute;
    top: 45%;
    z-index: 9;
    cursor: pointer;
}

.Hb-prevNav {
    left: 0px;
}

.Hb-nextNav {
    right: 0px;
}


/* Control nav styles (e.g. 1,2,3...) */

.Hb-controlNav a {
    position: relative;
    z-index: 9;
    cursor: pointer;
}

.Hb-controlNav a.active {
    font-weight: bold;
}


/* css กำหนดพื้นที่ของ div ข้อความเลื่อน   */

.containMarquee {
    position: relative;
    width: 1024px;
    margin: auto;
    top: -32px;
    display: block;
    height: 25px;
    border: thin 1px #CCC;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    line-height: 25px;
    font-size: 18px;
    font-weight: bold;
    color: #039;
    background-color: #ffffff;
    overflow: hidden;
}


/* css กำหนดข้อความ สำหรับการทำ marquee  */

.obj_marquee {
    position: absolute;
    display: block;
    white-space: nowrap;
}