/* 
    Document   : main
    Created on : 1 ก.ค. 2556, 11:49:24
    Author     : Administrator
    Description:
    Purpose of the stylesheet follows.
*/

@charset "UTF-8";
@viewport {
    width: device-width;
}


/* header */

header {
    margin: 0 auto;
    padding: 0;
    background: #fff;
}

.bolf {
    position: relative;
}


header .navbar-header .navbar-brand.logo-main{
    height:75px;
    padding:0 15px;
}
header .navbar-header .navbar-brand.logo-sub{
    height:75px;
    /*    padding: 33px 15px;*/
    padding: 0;
    color:#3d3d3d;    
    font-size: 14px;
    font-weight: 600;
    line-height: 76px;
    padding-left: 10px;
}
.header-right-top{font-size: 10px;}
.header-right-top ul{
    margin-top:15px;

    margin-bottom: 0;float: right;}
.header-right-top ul li{
    float:left;
    border-right: 1px solid #555555;
    padding: 0px 10px;
}
.header-right-top ul li:last-child{border-right:0;}
.header-right-top a{color: #a40101;}
.header-right-top a:hover{color: #a40101;}

.menu-right{
    float: right;
    font-size: 14px;
    font-weight: 600;
    position: relative;
}
.menu-right ul{
    margin-bottom: 0;
    float:right;
}
.menu-right ul li{
    float:left;
    /*    display: block;*/
    line-height: 75px;
    padding:0 15px;
}
.menu-right ul li:last-child{
    padding-right: 5px;
}
.menu-right ul li a{
    color:#3d3d3d;    
    transition: 0.2s all ease;
    -webkit-transition: 0.2s all ease;
    -moz-transition: 0.2s all ease;
}
.menu-right ul li a.link-effect.active:after{
    width: 100%;
    left: 0;
    background:#af1b1e;
}

.menu-right ul li a:hover,.menu-right ul li a.active{
    color:#af1b1e; 
}
.menu-right ul li.drp-main a.dropdown-toggle:hover img,.menu-right ul li.drp-main a.dropdown-toggle.active img{
    transform: rotate(180deg);
}


header .submenu-extends ul li a{
    color: rgba(0,0,0,0.8);
}

.menu {
    width: 100%;
    height:44px;
    margin: auto;
    padding: 0;
    vertical-align: middle;
    /*background-color: #a40101;*/
    background: #000 url(../images/bg-menu.jpg) repeat-x;
}

.menu .minline {
    display: inline-block;
    vertical-align: top;
}

.menu .bolf .logo {
    display: none;
    padding: 4px 0;
    margin: 0 auto;
    padding-top: 6px;
    margin-left: 20px;
}

.menu .bolf.floating .logo {
    display: inline-block;
    padding: 4px 0;
    margin: 0 auto;
    padding-top: 6px;

}
.tab-welcome{
    background: #E5E5E5;
    font-size: 10px;
    color: #828282;
    padding: 6px;
}
.menu-toggle.cate .tt-colt{
    float: right;
    line-height: 22px;
    color: #fff;
    font-size: 12px;
}

.menu-toggle.mob .hamburger-inner,
.menu-toggle.mob .hamburger-inner, .menu-toggle.mob .hamburger-inner:after,.menu-toggle.mob .hamburger-inner:before{
    background:#555555;
}
.header .menu-item {
    /*    padding-left: 15px;*/
    padding-right: 15px;
    margin-top: 12px;
}

.header .menu-item li {
    display: inline-block;
    line-height: 30px;
    padding-left: 25px;
    padding-right: 25px;
    background: transparent url('../images/mbk-menu-line.png') right center no-repeat;
}
.menu .menu-item {
    /* padding-left: 15px; */
    padding-right: 15px;
    /*    margin-top: 12px;*/
    width: 100%;
    height: 44px;
}
.menu .menu-item ul{
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
}

.menu .menu-item li {
    display: inline-block;
    line-height: 44px;
    padding-left: 35px;
    padding-right: 35px;
    font-size: 12px;
    /*    background: transparent url(../images/mbk-menu-line.png) right center no-repeat;*/
}
.menu .menu-item li:hover{
    background: transparent url(../images/bg-menu-hover.jpg) repeat-x;
}
.menu .menu-item li a,.menu .menu-item a li{
    color: #fff;
}


.drp-main .dropdown-menu ul{
    display: list-item;
    justify-content: unset;
}   
.drp-main .dropdown-menu ul li{
    display: list-item;
    color: #555555;
    height: 24px;
    line-height: 22px;
    border: 1px solid #666;
    border-top: none;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 10px;
}
.drp-main .dropdown-menu ul li:hover{
    /*    background: none;*/
    background: #E5E5E5;
    color: #000;
}
.drp-main .dropdown-menu ul li a{
    color: #555555;
}

.submenu-l{
    border-right: 1px #8F0000 solid;
}

.submenu-l.col-lg{
    float: left;
    width: 20.527%;
    padding-right: 15px;
    padding-left: 15px;
} 
.submenu-r.col-lg{
    float: left;
    width: 79.437%;
    padding-right: 15px;
    padding-left: 15px;
}
.submenu-l ul{margin-left: 5px;}
.submenu-l ul li{
    background: transparent url("../images/arrow-off.gif") left center no-repeat;
    padding-left:10px;
}
.submenu-l ul li:hover{
    background: transparent url("../images/arrow-on.gif") left center no-repeat;
}
.submenu-l ul li a{
    font-size: 11px;
    line-height: 22px;
    color: #a40101;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}
.submenu-l ul li a:hover{
    font-weight: bold;
}

/*.menu .menu-item li:last-child {
    background: none;
}*/

.header .menu-item li a {
    text-transform: uppercase;
    color: #fff;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

.header .menu-item li.active a,
.header .menu-item li a:hover {
    color: rgba(0,0,0,1);
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

/*.menu .p-login {
    display: inline-block;
    margin-top: 12px;
    line-height: 30px;
    padding-left: 25px;
    padding-right: 25px;
    background: transparent url('../images/login_icon.png') 0 5px no-repeat;
}
.menu .p-register {
    display: inline-block;
    margin-top: 12px;
    line-height: 30px;
    padding-left: 25px;
    padding-right: 25px;
    background: transparent url('../images/member_icon.png') 0 5px no-repeat;
}
.menu .p-login > a,
.menu .p-register > a {
    color: #fff;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}

.menu .p-login > a:hover,
.menu .p-register > a:hover {
    color: #ffd204;
}

.menu .lang-box {
    width: 70px;
    text-align: center;
    border-left: 1px solid #4d4d4d;
}

.menu .lang-box a {
    display: block;
    color: #fff;
    padding-top: 30px;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}

.menu .lang-box a:hover {
    color: #ffd204;
}

.menu .search-box {
    position: relative;
    padding-top: 20px;
    padding-left: 30px;
    padding-right: 30px;
    width: 240px;
}

.menu .search-box .form-control {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    color: #fff;
}

.menu .search-box .form-control:active,
.menu .search-box .form-control:focus {
    outline: none;
}

.menu .search-box .submited {
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -10px;
    width: 20px;
    height: 20px;
    background: url('../images/search_icon.png') center center no-repeat;
    border: none;
    outline: none;
}*/



.menu-toggle {
    min-width: 60px;
    /*    display: none;*/
    text-align: center;
    color: #4c4d4f;
    margin-right: 15px;
    margin-left: 15px;
}
.menu-toggle.cate{
    padding-top: 11px;
}

header .submenu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background: #3d3d3d;
    height: 0;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    overflow: hidden;
    z-index: 99999;
}

header .submenu {
    top:75px;
    height: auto;
    overflow-y: auto;
}

header .submenu ul {
    padding: 10px 15px;
    margin: auto;
}

header .submenu ul li {
    line-height: 30px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 15px;
    border-bottom: 1px dotted rgba(255, 255, 255, .24);
    padding-left: 35px;
    /*    background: url('../images/dotted_icon.png') 10px center no-repeat;*/
    background: url('../images/dotted_icon.png') 10px 16px no-repeat;
}

/*header .submenu ul li.regis {
    background: url('../images/member_icon.png') 5px center no-repeat;
}
header .submenu ul li.login {
    background: url('../images/login_icon.png') 5px center no-repeat;
}*/

header .submenu ul li:last-child {
    border-bottom: none;
}

header .submenu ul li a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

header .submenu ul li a:hover {
    color:rgba(255,255,255,1);
    padding-left: 6px;
}

header .submenu-extends{
    width: 215px;
    left: auto;
    padding: 0;
    margin-left: -35px;
    margin-top: 0;
    border-radius: 0;
    border: none;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    -webkit-box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
}
header .submenu-extends h4{
    padding: 0 30px;
    font-weight: 600;
}
header .submenu-extends ul li{
    width: 100%;
    line-height: 30px;
}

@media screen and (max-width: 1484px) {
    /*    .header .menu-item {
            padding-left: 30px;
            padding-right: 20px;
        }*/
}

@media screen and (max-width: 1443px) {
    /*    .header .menu-item li {
            padding-left: 20px;
            padding-right: 20px;
        }*/
}

@media screen and (max-width: 1283px) {
    /*    .header .menu-item li {
            padding-left: 14px;
            padding-right: 14px;
        }*/
}

@media screen and (max-width: 1237px) {
    /*    .menu .search-box {
            width: 160px;
        }*/
    /*    .menu .menu-item li{
            padding-left: 15px;
            padding-right: 15px;
        }*/
}

@media screen and (max-width: 1155px) {
    /* .menu .menu-item,
    .menu .lang-box,
    .menu .search-box,
    .menu .remaining {
        display: none !important;
    } */
    /*    .menu .menu-item li{
            padding-left: 14px;
            padding-right: 14px;
        }*/
}
@media screen and (max-width:992px) {
    .menu-right ul li{
        padding: 0 4px;
    }
    /*    .menu .menu-item li{
            padding-left: 5px;
            padding-right:5px;
        }*/
}
@media screen and (max-width: 768px) {
    .navbar-header{
        margin-left: 0 !important; 
    }
    .menu-right{
        display: none;
    }

    /*    .menu .bolf.floating {
            padding: 5px 0 5px 0;
            border-bottom: 1px solid #ffd204;
        }*/
    .menu-toggle {
        float: right;
        display: block;
        margin-top: 25px;
        margin-right:15px;
    }
    /*    .top-header {
            position: relative;
        }
        .top-header::before {
            content: " ";
            position: absolute;
            width: 30px;
            height: 100%;
            left: 0;
            top: 0;
            bottom: 0;
            right: auto;
                    background-color: #facd01;
            background-color:transparent;
        }*/
}

@media screen and (max-width: 490px) {
    header .navbar-header .navbar-brand.logo-sub{
        font-size: 12px;
    }
    /*     .menu .logo {
           width: 200px;
        }
        .menu .logo img {
            width: auto;
        }
        .menu .rewards {
            font-family: "Libre Franklin", sans-serif;
            font-size: 18px;
            text-align: center;
            color: #fff;
            padding-left: 15px;
            padding-right: 15px;
            vertical-align: middle;
            background: url('../images/bg_reward.jpg') center center no-repeat;
        }
        .menu .rewards a {
            display: block;
            color: #fff;
            padding-top: 15px;
            padding-bottom: 10px;
            cursor: pointer;
        }
        .top-header.makeFixed {
            position: fixed;
            left: 0;
            right: 0;
            z-index: 999999;
        }
        .top-header.makeFixed .menu-toggle {
            margin-right: 0;
        }*/
    header .submenu {
        top:75px;
    }
    /*    .top-header::before {
            content: " ";
            position: absolute;
            width: 15px;
            height: 100%;
            left: 0;
            top: 0;
            bottom: 0;
            right: auto;
                    background-color: #facd01;
            background-color:transparent;
        }
        .top-header .logo-bkonline img{
            max-width:100px;
        }*/
}