.header-24-1 {}

.topbg-24-1 {
    height: 181px;
    background: url(../images/header-24-1/bg-header.jpg) top left repeat-x;
    position: relative;
    z-index: 99;
}

.toplogo-24-1 {
    position: absolute;
    left: 20px;
    top: 31px;
    z-index: 5;
}

.topname-24-1 {
    position: absolute;
    left: 130px;
    top: 17px;
}

.tool-24-1 {
    width: 130px;
    position: absolute;
    right: 40px;
    top: 12px;
}

.tool-24-1 .search-btn {
    float: left;
    margin-top: 5px;
    padding: 0 15px;
    background: url(../images/header-24-1/s-line.png) top right no-repeat;
}

.tool-24-1 .search-btn a {}

.tool-24-1 .lg-btn {
    float: left;
    padding: 0 30px 0 15px;
    font-size: 19px;
    font-weight: bold;
    color: #1158ab;
}

.tool-24-1 .lg-btn a {
    color: #1158ab;
}


/*************************************/

#nav-24-1 {
    top: 89px;
    position: relative;
}

#nav-24-1 ul.top {
    /* width: 891px; */
    /* margin-right: 121px; */
    position: relative;
    padding-top: 44px;
}

#nav-24-1 ul.top li {
    display: inline-block;
    /* height: 45px; */
    padding: 0px 5px 0 5px;
    font: 17px/40px 'Kanit', Arial, sans-serif;
    text-align: center;
    /* font-weight:bold; */
    margin-top: -1px;
    /* background:url(../images/header-15-1/blue-line.jpg) top right no-repeat; */
    /* border:#f82310 3px solid; */
    border-bottom: none;
}

#nav-24-1 ul.top li:last-child {}

#nav-24-1 ul.top li a:hover {
    /* width:100%; */
    /* color: #fff000; */
    border-bottom: 4px solid #082352;
}

#nav-24-1 ul.top li:hover ul.sub {
    display: block;
}

#nav-24-1 ul.top li a {
    width: 100%;
    display: block;
    color: #ffffff;
    padding: 2px 9px;
}

@media (max-width: 1200px) {
    #nav-24-1 ul.top {
        margin-left: 100px;
    }
}

@media (max-width: 1024px) {
    .toplogo-24-1 img {
        max-width: 100%;
        height: auto;
    }
    #nav-24-1 ul.top {
        margin-left: 345px;
    }
    #nav-24-1 ul.top li {
        padding: 0px 7px;
        font: 14px/35px 'Kanit', Arial, sans-serif;
    }
    #nav-24-1 ul.top li a {
        padding: 0px 0px;
    }
}

@media (max-width: 374px) {
    .topbg-24-1 {
        display: none;
    }
}

@media (min-width: 375px) and (max-width: 419px) {
    .topbg-24-1 {
        display: none;
    }
}

@media (min-width: 420px) and (max-width: 575px) {
    .topbg-24-1 {
        display: none;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .topbg-24-1 {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .topbg-24-1 {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .topbg-24-1 {
        display: none;
    }
}

@media(min-width: 1200px) and (max-width: 1280px) {
    .toplogo-24-1 {
        position: absolute;
        left: 10px;
        top: -7px;
        z-index: 5;
    }
}

@media (min-width: 1281px) and (max-width: 1366px) {
    #nav-24-1 {
        top: 89px;
        position: relative;
    }
    .top-search {
        position: absolute;
        right: -17px;
        top: 83px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search2 {
        position: absolute;
        right: 90px;
        top: 90px;
        /* width: 185px; */
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search3 {
        position: absolute;
        right: -17px;
        top: 83px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
}

@media (min-width: 1367px) and (max-width: 1440px) {
    #nav-24-1 {
        /* top: 89px; */
        position: relative;
        /* left: 260px; */
    }
    .top-search {
        position: absolute;
        right: -17px;
        top: 83px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search3 {
        position: absolute;
        right: -17px;
        top: 83px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search2 {
        position: absolute;
        right: 90px;
        top: 90px;
        /* width: 185px; */
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
}

@media (min-width: 1441px) and (max-width: 1600px) {
    #nav-24-1 {
        top: 89px;
        position: relative;
    }
    .top-search {
        position: absolute;
        right: -17px;
        top: 83px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search3 {
        position: absolute;
        right: -17px;
        top: 83px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search2 {
        position: absolute;
        right: 90px;
        top: 90px;
        /* width: 185px; */
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
}


/*************************/

#nav-24-1 ul.sub {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    min-height: 250px;
    background: url(../images/header-24-1/subnav-bg.png) top center no-repeat;
    background-size: 100% 100%;
    padding: 20px;
    display: none;
    z-index: 1;
}

#nav-24-1 ul.sub li {
    display: inline-block;
    width: 100%;
    position: relative;
    /* height:39px; */
    margin: 0 3px;
    padding: 0 0 0 16px;
    font: 20px/28px 'thaisanslite', Arial, sans-serif;
    background: none;
    text-align: left;
}

#nav-24-1 ul li a {
    width: 100%;
    display: block;
    color: #fff;
    text-decoration: none;
}


/*******************/


/************************/

.top-socail {
    position: absolute;
    right: 50px;
    top: 57px;
    z-index: 5;
}

.top-search:hover {
    transform: scale(1.03);
    transition: all 0.18s ease-in-out;
}

.top-search {
    position: absolute;
    right: 193px;
    top: 30px;
    width: 185px;
    padding: 2px;
    margin: 0;
    /* background: #9b346c; */
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    z-index: 9999;
}

.top-search3 {
    position: absolute;
    right: 113px;
    top: 83px;
    width: 185px;
    padding: 2px;
    margin: 0;
    /* background: #9b346c; */
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    z-index: 9999;
}

.top-search2 {
    position: absolute;
    right: 304px;
    top: 90px;
    /* width: 185px; */
    padding: 2px;
    margin: 0;
    /* background: #9b346c; */
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    z-index: 9999;
}

.top-search .input {
    width: 145px;
    margin: 2px;
    margin-left: 5px;
    padding: 4px 0;
    border: 0px;
    text-indent: 5px;
    font-size: 12px;
    background: none;
    color: #9e356e;
}

.top-search .select {
    width: 138px;
    margin: 2px;
    padding: 8px 0;
    border: 0px;
    text-indent: 5px;
}

.top-search .btn-s {
    position: absolute;
    right: 4px;
    top: 6px;
    margin: 0;
    padding: 0px 6px;
}

.top-search ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #fff;
}

.top-search ::-moz-placeholder {
    /* Firefox 19+ */
    color: #000;
}

.top-search :-ms-input-placeholder {
    /* IE 10+ */
    color: #000;
}

.top-search :-moz-placeholder {
    /* Firefox 18- */
    color: #000;
}

.sub {
    /* color: #fff; */
}

#nav-24-1 ul.sub li {
    color: #fff;
    border: unset;
}

#nav-24-1 ul.sub li:hover {
    color: #fff;
    /* background: #092453; */
    border: unset;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#nav-24-1 ul.sub li a:hover {
    color: #0b2353;
    background: none;
    /* background-color:#002b72; */
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

#nav-24-1 ul.sub li a {
    color: #000;
}

@media (min-width: 1280px) and (max-width: 1366px) {
    .toplogo-24-1 {
        left: 10px;
        top: 33px;
    }
    #nav-24-1 {
        /* top: 89px; */
        /* left: 373px; */
        position: relative;
    }
    #nav-24-1 ul.top li {
        padding: 0px 0px 0px 0px;
        font-size: 14px;
    }
    .top-search {
        position: absolute;
        right: 149px;
        top: 33px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search3 {
        position: absolute;
        right: 23px;
        top: 33px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search2 {
        position: absolute;
        right: 219px;
        top: 42px;
        /* width: 185px; */
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
}

@media (min-width: 1367px) and (max-width: 1440px) {
    #nav-24-1 {
        /* top: 89px; */
        /* position: relative; */
        /* left: 260px; */
    }
    #nav-24-1 ul.top li {
        display: inline-block;
        /*height:40px;*/
        padding: 0px 1px 0 5px;
        font: 15px/35px 'Kanit', Arial, sans-serif;
        text-align: center;
        /* font-weight:bold; */
        margin-top: -1px;
        /* background:url(../images/header-15-1/blue-line.jpg) top right no-repeat; */
        /* border:#f82310 3px solid; */
        border-bottom: none;
    }
    .top-search {
        position: absolute;
        right: 133px;
        top: 32px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search3 {
        position: absolute;
        right: -7px;
        top: 32px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search2 {
        position: absolute;
        right: 10px;
        top: 88px;
        /* width: 185px; */
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
}

@media (min-width: 1441px) and (max-width: 1600px) {
    .toplogo-24-1 {
        position: absolute;
        left: 37px;
        top: 23px;
        z-index: 5;
    }
    #nav-24-1 {
        top: 89px;
        position: relative;
    }
    .top-search {
        position: absolute;
        right: 194px;
        top: 23px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search3 {
        position: absolute;
        right: 113px;
        top: 83px;
        width: 185px;
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
    .top-search2 {
        position: absolute;
        right: 306px;
        top: 90px;
        /* width: 185px; */
        padding: 2px;
        margin: 0;
        /* background: #9b346c; */
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        z-index: 9999;
    }
}