@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@100;200;300;400;500;600;700;800&display=swap');
body {
    font-family: "Sarabun", sans-serif !important;
}
.news_header{
	padding-bottom: 10px;
    /* border-bottom:2px dashed #f5f5f5; */
    /*margin: 0px 0 20px 0;   */ 
    margin: 0px 0 5px 0;
}
.news-card {

    margin-top: 25px;
}
p.title-page{

	font-size: 14px;
    padding-top: 0px;
    margin-bottom: 5px;
    margin-top: 15px;
    font-weight: 300;
    letter-spacing: 0.4px;
}

.btn_social {

    margin-top: 5px;

}
.detail-content-news img  {

    /* width: 100% !important; */
}

.captions-news2 iframe {
    width: 100%;
    position: relative;
  
}

/*pagination*/
.information-pagination .pagination {
    display: inline-block;
    border-radius : 0px;
}

.information-pagination .pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    margin: 0 4px;
    border-radius: 0px; 
}

.pagination a.active {
    background-color: #20498E;
    color: white;
    border: 1px solid #20498E;
}
.information-pagination .paginationjs .paginationjs-pages li.active>a {

    height: 32px;
    line-height: 32px;
    background: #20498E;

}
.information-pagination .paginationjs .paginationjs-pages li>a {

    height: 30px;
    line-height: 27px;

}

.pagination a:hover:not(.active) {background-color: #ddd;}

/*--------------------*/

/*หน้าข่าวสารการตลาด*/
.news_box{              

	padding:0px;
    box-shadow: 0px 2px 14px 0px #0000001A;

	border-radius: 4px;
	margin-bottom: 25px;
	padding-bottom: 15px; 
}
.news_box:hover{

	box-shadow: 0 0 12px rgba(0,0,0,.3);
    border-radius: 4px;
    border: 2px solid transparent;

}
.captions-news{

	padding: 0px 15px 0px 15px;
	text-align: left;
}

/*.header_news{
	
	font-size: 16px;
	margin-top: 15px;
	height: 43px;
	overflow: hidden;

    }*/
    h3.title-new-news{

        font-size: 19px;
        margin-top: 10px;
        height: 50px;
        overflow: hidden;
        margin-bottom: 2px;
        line-height: 26px;


    }

    .news_content{

       text-align: left;
       color: #9B9B9B;
       font-weight: normal;
       margin: 5px 0px;
       overflow: hidden;
       height: 18px;
       font-weight: 300;
       letter-spacing: 0.4px;
   }

   .news_update{


       text-align: left;
       color: #20498E;
       margin: 0px 0px;

   }

   @media (max-width: 1200px){
    .register_email{
        background-image: none;

    }
} 


/*หน้า view*/


.box-title-sub-sidenews {

    text-align: left;
}

h2.title-news-text {

    font-size: 24px;
    margin-bottom: 15px;

}
.header-news{

  font-size: 2.5em;
  font-weight: bold;
  margin: 0px 0px;
  line-height: 47px;

}

.captions-news2{

	text-align: left;
	margin-top: 20px;
	font-size: 15px;
}

.detail-title-news{

  margin-bottom: 10px;

}

p.detail-content-news {

    line-height: 1.7;
    font-weight: 400;
}

button.btn.btn-default-up {

	color: #9B9B9B;
    background-color: #fff;
    border-color: #ccc;
    padding: 4px 17px;
    margin : 0px 5px;
}

button.btn.btn-default-up:hover {

  background-color: #f5f5f5
}


button.btn.btn-default-down {

	color: #9B9B9B;
    background-color: #fff;
    border-color: #ccc;
    padding: 4px 17px;

}

button.btn.btn-default-down:hover {

  background-color: #f5f5f5
}
.nopadding {

	padding: 0px;
}

.box-header-news {

	padding-bottom: 15px;
    /*border-bottom: 1px solid #b1b1b1;*/
    margin-bottom: 20px;
    /*display: inline-block;*/
    /*border-style: dotted;
    border-left-width: 0px;
    border-right-width: 0px;
    border-top-width: 0px*/

}

i.fa.fa-clock-o{

	margin-right: 5px; 

}
.time {

	color: #666;
	width: 100%;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.4px;
}

.share {

	margin-bottom: 5px;
    display: inline-block;
    width: 100%;
}

b.review {

    float: left;
    font-size: 38px;
    color: #189008;
    margin-right: 10px;
    
}

.review-sub {

    color: #9B9B9B;
    margin-top: 26px;
    margin-left: 0px;
    font-weight: 300;
    letter-spacing: 0.4px;

}


span.glyphicon.glyphicon-chevron-left {


    display: initial;
}
span.glyphicon.glyphicon-chevron-right {


    display: initial;
}

.carousel-indicators li {

	
}

.carousel-indicators .active {

	background: #fff;
}

.news-box-detail{

    padding:0px;
    border:2px solid #f5f5f5;
    border-radius: 4px;
    margin-bottom: 25px;
    padding-bottom: 15px; 
}
.news-box-detail:hover{

    box-shadow: 0 0 12px rgba(0,0,0,.3);
    border-radius: 4px;
    border: 2px solid transparent;

}

.news-box-detail a img {
/*    height: 170px;*/
    object-fit: contain;
    padding: 10px;
}
.detail-info {

    margin-top: 5px;

}


/*page regiser*/

h2.contact-insert{

    margin:  0px 0px;
    color: #000;
}

.form-horizontal .control-label {

    margin-bottom: 10px;
}

textarea.form-control{

    margin-bottom: 5px;
}
.box-btn .btn { border-radius: 2px;margin-bottom: 5px; }
.box-btn .btn-success { background-color: #5eb101; }
label.error { color: #f20; }

.btn-primary {
    margin-top: 15px;
    width: 20%;
    background-color: #20498E;
    border-color: #20498E;
}

.btn-primary:hover {
    color: #fff;
    background-color: #20498ee6;
    border-color: #20498ee6;
}

a.btn.btn-primary.share {

    width: 40%;
    background-color: #20498E;
    border-color: #20498E;
    margin: 0px 2px 0px 2px;

}

a.btn.btn-info {

 margin: 0px 2px 0px 2px;
}

a.btn.btn-success {

    margin: 0px 2px 0px 2px;
}


a.btn.btn-primary.share:hover {

    color: #fff;
    background-color: #20498ee6;
    border-color: #20498ee6;
}

.box-btn {

    text-align:right;
}

.box-show {

    margin-top: 12px;
    text-align: left;
    padding: 0px;

}

h3.contact-insert{

    margin: 0px 0px 10px 14px;
}

.detail-content-news img {


    /* width: 100% !important;
    height: auto;       */

}

.news_box a img {

    /* height: 220px; */
     object-fit: cover;
     /* padding: 10px; */
     border-radius: 12px 12px 0 0;
 }
 .title_main {
	padding-bottom: 10px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #e5e5e5;
}
.btn-success:hover {

    border-color: #189008 ;
}


.detail-content-news p {
    
    word-wrap: break-word;
}

.detail-content-news span {
    
    white-space: initial !important;
}

@media (max-width: 1024px) {

    .form-horizontal .control-label {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: left; 
        padding-bottom: 10px;
    }
/*
    .box-hide {

        display: none;
        }*/


        .btn_social {

            text-align: left;

        }
    }

    @media screen and (max-width: 992px){ 



        .btn_social {

            text-align: left;

        }

    }

    @media screen and (min-width: 768px) and (max-width: 1080px) {
        .contact-subbox label.control-label { text-align: left; }
    }


    @media screen and (max-width: 768px){ 

        .form-horizontal .control-label {
            padding-top: 7px;
            margin-bottom: 0;
            text-align: initial; 
            padding-bottom: 10px;
        }

        .box-btn {

            text-align: center;

        }

        .btn_social {

            padding: 5px 0 0 0;
            text-align: left;

        }

    }

    @media (max-width: 420px) and (min-width:  320px) {

   /* .share {

        display: none;
        }*/

    /*.detail-info{

        display: none;
        }*/


        .box-header-news {

            border: none;
            padding-bottom: 0px;
            margin-bottom: 0px;
        }
        .box-btn {

            text-align: center;

        }

        a.btn.btn-primary.share {

            width: 100%;
        }
        .btn-info {

            width: 100%;
            margin-bottom: 5px;

        }

        .btn-success {

            width: 100%;
        }

        .mFont {
            text-align: center;
            margin-top: 20px;
        }
        .colsidebar {

         padding: 0px;
     }
     
     .captions-news2 iframe {
        width: 100%;
        position: relative;
        height: 100%;
    }

 }

 /* setrow */
.set-row{
    display: flex !important;
    flex-wrap: wrap !important;
}

  /* loader ellips in separate pen CSS */

  #inifiniteLoader{
    position: fixed;  
    z-index: 2;  
    bottom: 15px;   
    right: 10px; 
    display:none;
    font: 300 4em/150% Impact;
    text-align: center;
    left: 0%;
    top: 22%;
}

/* loading dots */

.loading:after {
    content: ' .';
    animation: dots 1s steps(5, end) infinite;}
  
  @keyframes dots {
    0%, 20% {
      color: rgba(0,0,0,0);
      text-shadow:
        .25em 0 0 rgba(0,0,0,0),
        .5em 0 0 rgba(0,0,0,0);}
    40% {
      color: gray;
      text-shadow:
        .25em 0 0 rgba(0,0,0,0),
        .5em 0 0 rgba(0,0,0,0);}
    60% {
      text-shadow:
        .25em 0 0 gray,
        .5em 0 0 rgba(0,0,0,0);}
    80%, 100% {
      text-shadow:
        .25em 0 0 gray,
        .5em 0 0 gray;
    }
}


