/* 
    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;
    font-family: "Source Sans Pro", sans-serif;
}



header .navbar-header .navbar-brand.logo-main{
    height:75px;
    padding: 1px 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;
}
.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:#f75905;
}

.menu-right ul li a:hover,.menu-right ul li a.active{
    color:#f75905; 
}
.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: auto;
    margin: auto;
    padding: 0;
    vertical-align: middle;

}


.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;
  
}*/

.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 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;
}

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: 15px 20px;
    margin-left: -48px;
    margin-top: 1px;
    border-radius: 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0,0.05);
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0,0.05);
}
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;
        }*/
}

@media screen and (max-width: 1155px) {
    /* .menu .menu-item,
    .menu .lang-box,
    .menu .search-box,
    .menu .remaining {
        display: none !important;
    } */
}
@media screen and (max-width:992px) {
    .menu-right ul li{
        padding: 0 4px;
    }
}
@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;
        }*/
}