a:hover{
    color: #cc0000;
    text-decoration: none;
}
/*------------------ฐานข้อมูลสมาชิทั่วประเทศ-----------------------*/
/*------------------------ds1.php-----------------------------*/
/*ข้อมูลสรุป*/
#memberDB-summary{
    font-size: 16px;
}
#memberDB-search .col-md-6{
    margin-top: 20px;
    margin-bottom: 20px;
}
#memberDB-search form{
    background-color: #f0f0f0;
    padding: 35px 20px 20px 20px;
    border-radius: 10px;
}
@media screen and (max-width:767px){
    #memberDB-summary{
        font-size: 14px;
    }
    #memberDB-summary h3,#memberDB-search h3{
        font-size: 18px;
    }
    #memberDB-search .col-md-6{
        padding-left: 0px;
        padding-right: 0px;
    }
    #memberDB-search form{
        padding: 10px 15px;
    }
}
@media screen and (min-width:768px) and (max-width:991px){
    #memberDB-summary{
        font-size: 14px;
    }
    #memberDB-summary h3,#memberDB-search h3{
        font-size: 18px;
    }
    #memberDB-search .col-md-6 img{
        width:400px;
        margin: 0px auto;
    }
}
/*-------------------------------------------------------------*/
/*---------------------ds1_summary.php-------------------------*/
#memberDB-summary-province,#memberDB-summary-province-info{
    font-size: 16px;
}
#memberDB-summary-province-info .col-md-3{
    background-color: #F0F0F0 ;
    padding: 1px 15px 10px 15px;
    border-radius: 5px;
}
#memberDB-summary-province-info img{
    margin: 10px auto;
}
#memberDB-summary-province-searchbox{
    background-color: #f0f0f0;
    border-radius: 5px;
    padding: 15px 10px;
    margin-bottom: 20px;
}
@media screen and (max-width:767px){
    #memberDB-summary-province{
        margin-top: 20px;
    }
    #memberDB-summary-province .col-md-9{
        padding-left: 0px;
        padding-right: 0px;
    }
    #memberDB-summary-province,#memberDB-summary-province-info{
        font-size: 14px;
    }
    #memberDB-summary-province h3,#memberDB-summary-province-info h3{
        font-size: 18px;
    }
    #memberDB-summary-province-info .col-md-3{
        padding-left: 0px;
        padding-right: 0px;
        background-color: white ;
        border-radius: 10px;
    }
}
@media screen and (min-width:768px) and (max-width:991px){
    #memberDB-summary-province-info .col-md-3{
        padding-left: 0px;
        padding-right: 0px;
        background-color: white ;
        border-radius: 10px;
    }
    #memberDB-summary-province,#memberDB-summary-province-info{
        font-size: 14px;
    }
    #memberDB-summary-province h3,#memberDB-summary-province-info h3{
        font-size: 18px;
    }
}
@media screen and (min-width:992px) and (max-width:1199px){
    #memberDB-summary-province-info .col-md-3{
        padding: 1px 15px 10px 15px;
    }
}
/*---------------- จบ ฐานข้อมูลสมาชิกทั่วประเทศ---------------------*/
/*////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////*/
/*-------------------ds9-จัดซื้อจัดจ้าง-----------------------------*/
.spinner{
    display: none;
    width: 10%;
    margin: 0px auto;
}
@media screen and (min-width:992px){
    .spinner{
        width: 5%;
    }
}
#ds9-purchase h1{
    margin-top: 40px;
}
#ds9-purchase form {
    margin: 20px 0px;
    background-color: #f0f0f0;
    padding: 30px 50px;
}
#ds9-purchase form .form-group{
    margin-right: 20px;
}
.purchase-box{
    margin: 20px 0px;
    background-color: #f0f0f0;
    padding: 20px 30px 30px 30px;
}
.purchase-box ul{
    list-style-type: none;
    padding-left: 0px;
}
.purchase-box ul li{
    border-bottom: 1px dotted #cccccc;
    padding: 15px 0px;
    color: #303030;
}
.purchase-box-detail .col-md-3{
    text-align: center;
    font-size: 15px;
}
/*mobile*/
@media screen and (max-width:767px){
    #ds9-purchase form{
        padding: 15px 20px;
    }
    #ds9-purchase form .form-group,#ds9-purchase form .btn{
        margin-left: 0px;
    }
    .purchase-box-detail .col-md-3{
        text-align: left;
        font-size: 15px;
    }
    .purchase-box{
        padding: 15px 20px 20px 20px;
    }
}
/*mobile*/
@media screen and (max-width:767px){
    #ds9-purchase form {
        padding: 30px 20px;
    }
    #ds9-purchase h1{
        font-size: 18px;
    }
}

/*tablet*/
@media screen and (min-width:768px) and (max-width:991px){
    #ds9-purchase form {
        padding: 20px 30px;
    }
    #ds9-purchase form .form-group{
        margin: 15px 15px;
    }
    #ds9-purchase h1{
        font-size: 24px;
    }
}
/*small desktop*/
@media screen and (min-width:992px) and (max-width:1199px){
    #ds9-purchase form {
        padding: 20px 15px;
    }
    #ds9-purchase form .form-group{
        margin-right: 10px;
    }
}
/*-------------------จบds9-จัดซื้อจัดจ้าง---------------------------*/
/*////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////*/
/*----------------------ds11-news-----------------------------*/
.news-banner{
    background-image: url(../dataservice/images/ds11-news/news-banner.jpg);
    background-size: cover;
    background-position: top center;
    padding: 300px 0px;
}
@media screen and (max-width:767px){
    .news-banner{
        padding: 100px 0px;
    }
}
@media screen and (min-width:768px) and (max-width:991px){
    .news-banner{
        padding: 150px 0px;
    }
}
@media screen and (min-width:992px) and (max-width:1199px){
    .news-banner{
        padding: 200px 0px;
    }
}
/*ข่าวเสด็จฯ*/
#news-princes{
    background-color: #f0f0f0;
}
#news-princes .row{
    background-color: white;
    padding: 20px 0px;
    margin: 50px 0px;
    box-shadow: 2px 5px 10px #e9e9e9;
}
#news-princes .row .col-sm-12 h3{
    margin-top: 10px;
    margin-bottom: 30px;
}
#news-princes .col-sm-3{
    margin-bottom:10px;
    height: 250px;
    overflow: hidden;
}
#news-princes .col-sm-3 img{
    margin-bottom:5px;  
}
@media screen and (max-width:767px){
    #news-princes .row{
        margin: 20px 0px;
    }
    #news-princes .col-sm-3{
        margin-bottom:10px;
        height: auto;
    }
}
@media screen and (min-width:768px) and (max-width:991px){
    #news-princes .col-sm-3{
        margin-bottom:5px;
        height: 200px;
    }
}
@media screen and (min-width:992px) and (max-width:1199px){
    #news-princes .col-sm-3{
        height: 220px;
    }
}
/*จบ ข่าวเสด็จฯ*/
#news-box{
    overflow: hidden;
    margin: 15px 0px;
}
.news-all{
    margin: 10px 0px;
    text-align: center;
    color: white;
}
.news-bg-sky{
    background-color: #0099ff;
}
.news-bg-pink{
    background-color: #ff1a8c;
}
.news-bg-orage{
    background-color: #ff751a;
}
.news-bg-yellow{
    background-color: #fcc12a;
}
.news-bg-purple{
    background-color: #9999ff;
}
.news-bg-green{
    background-color: #009900;
}
.news-bg-lightSkyBlue{
    background-color: #00bfff;
}
.news-all a{
    color: white;
    display: block;
    padding: 10px 0px;
}
#news-box .news-all a:hover ,#news-box2 .news-all a:hover{
    color: white;
}
#news-box2{
    padding: 50px 0px;
    background-color: #f0f0f0;
}
#news-box2 .row{
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: white;
    padding-bottom: 20px;
}
@media screen and (max-width:767px){
    #news-box2{
        padding: 0px 0px;
    }
}
/*กล่องข่าว*/
.news-group{
    overflow: hidden;
    height: 650px;
}
.news-media-body{
    display: table-cell;
    width: 10000px;
    border-top: 1px solid #f4f4f4;
    padding: 5px 0px;   
}
.news-media-heading{
    height: 70px;
    max-height: 70px;
    overflow: hidden;
    vertical-align: middle;
}
.news-media-heading img{
    width: 25%;
    display: block;
    float: left;
    margin-right: 2%;
    margin-top: 5px;
}
/*จบ กล่องข่าว*/
#ds11-news a:hover{
    color: #cc0000;
    text-decoration: none;
}
#news-other img{
    margin-bottom: 10px;
}
@media screen and (max-width:767px){
    .news-group{
        height: auto;
    }
    .news-media-heading{
        height: auto;
        max-height: 1000px;
    }
    .news-media-body{
        padding: 10px 0px;   
    }
}
/*-------------------จบ ds11-news-----------------------------*/
/*////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////*/
/*------------------- ds11-news-reading ----------------------*/
.news-reading-morenews  a:hover{
    color: #cc0000;
    text-decoration: none;
}
.news-reading-img img{
    width: 70%;
    margin: 30px auto;
}
.news-reading-morenews img{
    width: 100px;
    float: left;
    margin-right: 5px;   
}
/*ภาพข่าว*/
.news-reading-img-show img{
    margin-bottom: 20px;
}
@media screen and (max-width:767px){
    .news-reading-img img{
        width: 100%;
        margin: 20px auto;
    }
    .news-reading-img img{
        margin: 5px auto;
    }
    #ds11-news-reading p{
        font-size:14px;
    }
}
/*----------------จบ ds11-news-reading------------------------*/
/*////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////*/
/*------------------- ds11-news-all.php ----------------------*/
.ds11-news-all-newsbox a{
    display: block;
    min-height: 200px;
}
.ds11-news-all-newsbox  a img{
    float: left;
    width: 25%;
    margin: 0em 1em 1em 0em;
}
.ds11-news-all-date{
    font-size: 14px;
    color: gray;
}
.ds11-news-all-headline{
    font-size: 22px;
    font-weight: bold;
}
#ds11-news-all hr{
    clear: both;
}
@media screen and (max-width:767px){
    #ds11-news-all h3{
        font-size: 16px;
        font-weight: bold;
    }
    .ds11-news-all-newsbox  a{
        display: block;
        min-height:100px;
    }
    .ds11-news-all-headline{
        font-size: 14px;
    }
    .ds11-news-all-newsbox  a img{
        width: 35%;
        margin: 0em 1em 1em 0em;
    }
}
@media screen and (min-width:768px) and (max-width:991px){
    #ds11-news-all h3{
        font-size: 18px;
        font-weight: bold;
    }
    .ds11-news-all-newsbox  a{
        display: block;
        min-height:150px;
    }
    .ds11-news-all-newsbox  a img{
        margin: 0em 1em 5em 0em;
    }
}
/*----------------จบ ds11-news-reading------------------------*/
/*////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////*/
/*----------------------- ds3-prosuct -------**---------------*/
/*magazine*/
#ds3-product-magazine img{
    box-shadow: 1px 1px 10px grey;
}
#ds3-product-clothes-newproduct .col-sm-6{
    height: 450px;
    background-color: #f0f0f0;
    padding: 50px;
}
#ds3-product-magazine-newissue img{
    width: 50%;
    display: block;
    margin: auto;
    box-shadow: 1px 1px 10px grey;
}
/*เสื้อ*/
.red{
    color: #cc0000;
}
#ds3-product-clothes-newproduct img{
    width: 70%;
    display: block;
    margin: auto;
}
#ds3-product-clothes-oldproduct .col-sm-6{
    border: 5px solid #f0f0f0;
    padding: 30px;
    background-color: #E0E0E0 ;
}
#ds3-product-clothes-oldproduct img{
    width: 40%;
    display: block;
    margin: auto;
    margin-bottom: 10px;
}
#ds3-product-clothes-oldproduct p{
    text-align: center;
}
#ds3-product-clothes-oldproduct h4{
    text-align: center;
}
@media screen and (max-width:767px){
    #ds3-product-clothes-newproduct .col-sm-6{
        height: 100%;
        background-color: #f0f0f0;
        padding:20px 30px;;
    }
}
@media screen and (min-width:768px) and (max-width:991px){
    #ds3-product-magazine-newissue img{
        width: 70%;
    }
    #ds3-product-clothes-newproduct img{
        width: 70%;
    }
    #ds3-product-clothes-newproduct .col-sm-6{
        height: 400px;
        padding: 10px 20px;
    }
}
@media screen and (min-width:992px) and (max-width:1199px){
    #ds3-product-clothes-newproduct .col-sm-6{
        height: 380px;
        padding: 20px;
    }
}
/*-------------------จบ ds3-prosuct------------------------*/
/*////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////*/
/*------------------- ds2-manualAndTech ----------------------*/
/*คู่มือ*/
#ds2-manualAndTech-hightlight{
    margin-top: 50px;
}
#ds2-manualAndTech-hightlight img {
    width: 50%;
    display: block;
    margin: auto;
}
#ds2-manualAndTech-hightlight-allManual img{
    width: auto;
    height: 200px;
    display: block;
    margin: auto;
    box-shadow: 1px 1px 5px #606060;
    margin-bottom: 10px;
}
#ds2-manualAndTech-hightlight-allManual .col-md-3{
    height: 350px;
}
#ds2-manualAndTech-hightlight-allManual p{
    text-align: center;
}
/*เพลง*/

@media screen and (max-width:767px){
    #ds2-manualAndTech-hightlight-allManual img{
        float: left;
        height: 150px;
        margin:0px 20px 15px 0px;
    }
    #ds2-manualAndTech-hightlight img {
        margin-bottom: 20px;
    }
    #ds2-manualAndTech-hightlight-allManual p{
        margin-top:30px;
        margin-bottom: 30px;
        text-align: left;
    }
    #ds2-manualAndTech-hightlight-allManual .col-md-3{
        height: 200px;
        padding-left: 0px;
        padding-right: 0px;
        border-bottom: 1px solid #E0E0E0;
    }
}
@media screen and (min-width:768px) and (max-width:991px){
    #ds2-manualAndTech-hightlight-allManual img{
        float: left;
        height: 200px;
        display: block;
        margin:20px 50px;
    }
    #ds2-manualAndTech-hightlight-allManual p{
        text-align: left;
        display: block;
        padding-top: 20px;
    }
    #ds2-manualAndTech-hightlight-allManual .col-md-3{
        height: 250px;
        border-bottom: 1px solid #E0E0E0;
    }
    .ds2-manualAndTech-hr{
        clear: both;
        margin-top:10px;
        margin-bottom: 10px;
    }
}
/*-------------------จบ ds3-prosuct------------------------*/
/*--------------- ds8-clippingnews-2559 -------------------*/
#ds8-clippingnews .col-sm-3 a{
    display: block;
    padding: 10px 20px;
    margin: 0px 0px;
}
#ds8-clippingnews .col-sm-3 p{
    margin-bottom: 0px;
    padding: 10px 20px;
}
#ds8-clippingnews .col-sm-3 a:hover{
    background-color: #606060;
    color: white;
}
.ds8-clippingnews-active{
    background-color: #cc0000;
    color: white;
}
#ds8-clippingnews .active>a{
    background-color: #cc0000;
}
/*-------------- จบ ds8-clippingnews-2559 --------------------*/
/*--------------------- ds10-infomation ----------------------*/
#ds10-informations .head-level-2{
    margin-top: 0px;
}
#ds10-informations .col-sm-3{
    border-left: 1px solid #F0F0F0;
}
.ds10-informations-active{
    background-color: #cc0000;
    color: white;
}
.ds10-informations-menu-right a{
    display: block;
    padding: 10px 20px;
}
.ds10-informations-menu-right a:hover{
    background-color: #606060;
    color: white;
}
.ds10-informations-menu-right p{
    margin-bottom: 0px;
    padding: 10px 20px;
}
/*------------------ จบ ds10-infomation -----------------------*/
/*--------------------- ds7-datacenter ----------------------*/
#ds7-datacenter a{
    display: block;
    text-align: center;
}
#ds7-datacenter .head-level-2{
    text-align: center;
    margin-top: 0px;
}
#ds7-datacenter .col-lg-3{
    background-color: #E0E0E0;
    padding: 50px 30px;
    border: 1px solid white;
}
#ds7-datacenter img{
    margin: 0px auto 20px auto;
    display: block;
    width: 100px;
}
@media screen and (max-width:767px){
    #ds7-datacenter img{
        margin: 0px auto 10px auto;
        width: 70px;
    }
    #ds7-datacenter .col-lg-3{
        padding: 30px 30px;
    } 
}
/*------------------ จบ ds7-datacenter -----------------------*/
/*ds-5 download*/
.ds5-download-wrapper form{
    float: right;
    margin-bottom: 15px;
}
.dl-box{
    background-color: #f0f0f0;
    overflow: auto;
    border: 1px solid #E0E0E0;
    margin-bottom: 15px;
}
.dl-box img{
    float: left;
    width: 20%;
    margin-right: 1em;
}
.dl-box-detail{
    padding: 15px 0px;
}
.dl-box-detail p:first-child{
    color: #cc0000;
}
@media screen and (min-width:992px) and (max-width:1199px){
    .dl-box img{
        width: 25%;
    }
}
@media screen and (min-width:767px) and (max-width:991px){
    .dl-box img{
        width: 35%;
    }
}
@media screen and (max-width:767px){
    .ds5-download-wrapper form{
        float: none;
        margin-top: 10px;
        background-color: #f0f0f0;
        border: 1px solid #E0E0E0;
        padding: 20px 15px;
    }
    .dl-box img{
        width: 50%;
        display: none;
    }
    .dl-box{
        padding: 10px 10px;
        overflow: auto;
    }
    .dl-box-detail{
        padding: 0px 0px;
        position: inherit;
    }

}
/*ปุ่ม top-btn*/
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #e0e0e0;
    color: #404040;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 10px;
}

#myBtn:hover {
    background-color: #555;
    color: white;
}
#btn-more{
    margin: 0px auto;
    display: block;
}
/*end ds-5 download*/
