@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;500;600&family=Mitr:wght@300;400;600&family=Prompt:wght@100;300;500&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,300&family=Sarabun:ital,wght@0,600;1,300;1,400&display=swap');
/* font-family: 'Kanit', sans-serif; */
/* @import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,200;0,300;0,400;1,100&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
body {
    font-family: 'Kanit', sans-serif;
    /* font-family: "Bai Jamjuree", sans-serif;
    font-weight: 600;
    font-style: normal; */
}

.a-item a {
    color: #fff;
}

.viewer p {
    font-size: 15px;
}

.navbar {
    justify-content: space-between;
}

.navbar span {
    font-size: 15px;
}

.profile {
    display: flex;
}

.profile p {
    margin-top: 12px;
}

.logout {
    color: #616161;
}

.carousel-indicators li {
    background-color: rgba(86, 115, 140, 1);
}

.input-search input {
    height: 50px;
    border-color: #616161;
}

.menu-img {
    padding: 20px 60px;
    border-radius: 5px 5px 0px 0px;
    background-color: #56738C;
    vertical-align: middle;
    display: grid;
    place-items: center;
}

.menu-name {
    padding: 5px 15px;
    border-radius: 0px 0px 5px 5px;
    background-color: #2A3E59;
    text-align: center;
}

.menu-name h5 {
    margin-bottom: 0px;
    color: #fff;
}
.menu-tiem{
    cursor: pointer;
}
.head-icon {
    margin-left: 20px;
    padding: 5px;
    border-radius: 5px;
    background-color: #EB984E;
}

.header-info {
    color: #2C3E4E;
   
}
.user-name{
    align-self: center;
}
.header-news{
    background-color: #EB984E;
}

.card-body {
    padding: 5px !important;
}

.product-bg {
    background-image: url(../images/bg1.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    border-radius: 10px;

}

.product-bg-color {
    background: linear-gradient(180deg, #2A3E59 0%, rgba(86, 115, 140, 0.89) 100%);
    padding: 5px;
    border-radius: 10px;
}

.name-line {
    width: 100%;
    height: 5px;
    background-color: #616161;

}

.product-line1 {
    margin-top: 13px;
    margin-left: 1px;
    width: 30px;
    height: 2px;
    background-color: #fff;
}

.product-line2 {
    margin-top: 3px;
    margin-left: 5px;
    width: 25px;
    height: 2px;
    background-color: #fff;
}

.product-line3 {
    margin-top: 3px;
    margin-left: 10px;
    width: 20px;
    height: 2px;
    background-color: #fff;
}

.product-title {
    color: #fff;
    font-size: 20px;
    padding: auto;
    width: 100%;
    text-align: center;
}

.product-img img {
    width: 100%;
}

.product-name {
    font-size: 20px;
}

.product-price {
    padding: 10px;
}

.price {
    display: flex;
    justify-content: space-between;
}

.poll-bg {
    background-image: url(../images/poll_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.poll-line {
    width: 50%;
    height: 3px;
    background-color: #000;
}
.max-flex{
    position: fixed;
    bottom: 0;
}
.bg-footer {
    background-color: #2A3E59;
    padding: 10px;
    /* text-align: center; */
    width: 100%; /* ให้เเทบเต็มความกว้างของหน้าเว็บ */
}

.product-head img {
    margin-left: 15px;
}

.product-head {
    margin-top: 10px;
}

.profile-img {
    display: grid;
    place-items: center;
    align-items: center;
}

.news-name .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    max-height: 5em;
    font-size: 17px;
}
/* morenews */

/* 
.news_header {
    margin-top: 20px;
} */

.box_tag {
    width: auto;
    text-align: center;
    font-size: 15px;
    padding-left: 15px !important;
    padding-right: 15px !important;
    height: auto;
    color: #fff;
    background: rgba(140, 121, 109, 1);
    border-radius: 15px;
}
.news{
    border-radius: 10px;
}
.d-row {
    margin-top: 15px;
    width: auto;
    /* background-color: #A69485; */
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(149, 112, 13, 1) 100%);
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.content-news{
    font-size: 25px;
    margin-top: 15px;
}
.news-date{
    margin-top: 15px;
}
.page-link {
    padding: 10px  20px !important;
    border-radius: 10px 10px !important;
    margin-left: 5px;
    background-color: #AEAEAE;
    color: #fff;
}
.page-link:hover{
    background-color: #2A3E59;
    color: #fff;
}
.page-item.active .page-link{
    background-color: #2A3E59 !important;
    border-color: #2A3E59;
}
.detail_head{
    display: flex;
}
.news-detail{
    margin-left: 10px;
    
}
.news-date-detail{
    margin-top: 10px;
}

.title-line{
    width: 8px;
    height: 35px;
    background-color: rgba(86, 115, 140, 1);
}
.title-line-height{
    width: 8px;
    border: 5px solid rgba(86, 115, 140, 1);
    background-color: rgba(86, 115, 140, 1) !important;
}

.owl-theme .owl-dots .owl-dot.active span{
    background-color: rgba(86, 115, 140, 1) !important;
}
.owl-theme .owl-dots .owl-dot.active span:hover{
    background-color: rgba(86, 115, 140, 1) !important;
}
.d-file{
    width: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 10px;
    justify-content: space-between;
}
.content-file{
    margin-top: 30px;
}
.content-file a{
    color: #000 !important;
}
.download i{
    font-size: 45px;
    margin-top: 25px;
    margin-right: 30px;
    color: #797D7F !important;
}
/* .news-box{
    width: 80%;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
} */

/* deail-news */
.text-detail{
    /* text-align: justify; */
    text-indent: 20px;
    font-weight: 300;
    text-align: justify;
}
/* vote */
.precent p{
    margin-top: 10px;
}
/* product */
.product-date-detail{
    margin-top: 5px;
    
}
.fornt-product img{
    width: 300px;
}

/* profile */

.box-proflie{
    margin-top: 50px;
}
/* .box-pic{
    max-width: 180px;
    max-height: 180px;
    border-radius: 15px;
    position: absolute;
    top: 25px;
    margin-left: 22px;
} */

.box-pic-proflie {
    max-width: 60%;
    max-height: 65%;
    position: absolute;
    margin-top: -172px;
    margin-left: 11px;
}

.img-upload>input{
    display: none;
}
.btn-change-pic{
    position: absolute;
    top: 58%;
    left: 55%;
    color: #616161;
    font-size: xx-large;
    background-color: transparent;
    border-radius: 15px;
}
/* .img-upload input, label{
    margin: 6.4px;
    background-color: #616161;
    border-top-color: transparent ;
    border-left-color: transparent ;
    border-right-color: transparent;
} */
.personal-hover button{
    background: transparent;
    border-color: transparent;
    color: #fff;
}
.link-box{
    cursor: pointer;
}
.box-border-profile{
    border-radius: 15px;
    border: 1px rgb(212, 212, 212);

}
.menu-profile-tiem{
    background-color: #56738C;
    border-radius: 15px;
    cursor: pointer;
}
.menu-profile-tiem:hover{
    background-color: #2A3E59;
}
.menu-profile-icon {
    padding: 20px 60px;
    border-radius: 5px 5px 0px 0px;
    vertical-align: middle;
    display: grid;
    place-items: center;
}
.menu-profile-icon i{
    font-size: 142px;
    color: #fff;
}
.menu-profile {
    padding: 5px 15px;
    border-radius: 0px 0px 5px 5px;
    text-align: center;
}
.menu-profile a{
    color: #fff;
}
.file{
    height: 100% !important;
}



/* register */
.title-register{
    justify-content: center;
}
.btn-login{
    background-color: #2A3E59;
    color: #FFF;
    border-radius: 32px;
    width: 50%;
}
.btn-login:hover{
    background-color: #2A3E59;
    color: #FFF;
    border-radius: 32px;
    width: 50%;
}

.btn-darkblue {
    background-color: #2A3E59;
    color: #FFF;
    border-radius: 32px;
    width: 15%;
    font-weight: 100;
}
.btn-darkblue:hover{
    background-color: #2A3E59;
    color: #FFF;
    border-radius: 32px;
    width: 15%;
    font-weight: 100;
}

.btn-membership{
    background-color: #ffffff;
    border: 2px solid #2A3E59;
    color: #2A3E59;
    border-radius: 32px;
    width: 50%;
}

.divider>span:before {
    margin-right: 15px;
    right: 51%;
}
.divider>span:before, .divider>span:after {
    background: #636A74;
    content: "";
    height: 1px;
    position: absolute;
    top: 50%;
    width: 9999px;
}

.divider>span:after {
    left: 51%;
    margin-left: 15px;
}
.divider>span:before, .divider>span:after {
    background: #636A74;
    content: "";
    height: 1px;
    position: absolute;
    top: 50%;
    width: 130px;
}

.divider {
    display: block;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: -8px;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    width: 90%;
}

.btn-cancel {
    background-color: #ffffff;
    border: 2px solid #2A3E59;
    color: #2A3E59;
    border-radius: 32px;
    width: 15%;
    font-weight: 100;
}
.btn-cancel:hover{
    background-color: #ffffff;
    border: 2px solid #2A3E59;
    color: #2A3E59;
    border-radius: 32px;
    width: 15%;
    font-weight: 100;
}
/* .btn-cancel:hover{
    background-color: #2A3E59;
    color: #FFF;
    border-radius: 32px;
} */



.btn-register{
    justify-content: center;
}
.btn-otp{
    padding: 10px;
}
/* login */
.bg-login{
    background-size: cover;
    width: 100%; height: 100%;
}
.box-login {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.title-login {
    color: #56738C;
}
.login-1 {
    background-image: url(../images/bg-right.png);
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}
.login-2{
    
    background-color: #fff;
    border-radius: 10px 0px 0px 10px;
    padding-left: 50px !important;
    padding-right: 50px !important;
    border-radius: 0px 10px 10px 0px;
}

.user .input-group input {
    height: 50px !important;
    margin-bottom: 10px;
    border-radius: 0px !important;
    border-color: transparent transparent #243057 transparent;
}
.user .input-group span {
    height: 50px !important;
    margin-bottom: 10px;
    border-radius: 0px !important;
    border-color: transparent transparent #243057 transparent;
    background-color: #fff !important;
    cursor: pointer;
}
.user i{
    color: #56738C;
}
.pass .input-group input {
    height: 50px !important;
    margin-bottom: 10px;
    border-radius: 0px !important;
    border-color: transparent transparent #243057 transparent;
}

.pass .input-group span {
    height: 50px !important;
    margin-bottom: 10px;
    border-radius: 0px !important;
    border-color: transparent transparent #243057 transparent;
    background-color: #fff !important;
    cursor: pointer;
}
.pass i{
    color: #56738C;
}
.btn-main {
    padding: 10px 60px !important;
    border-radius: 20px !important;
    color: #fff !important;
}

.link-forget a {
    color: #8D8D8D !important;
}

.link-forget a:hover{
    color: #000 !important;
}
.title-name-login{
    color: #fff;
}
/* index1 */
.bg-news-fulid{
    background-color: rgba(119, 119, 119, 0.20);
}
.news-slide .owl-theme .owl-dots .owl-dot span {
    width: 20px !important;
    height: 20px !important;
}
.menu-list{
    vertical-align: middle;
    display: grid;
    place-items: center;
}
.text-news{
    position: absolute !important;
    bottom: 0 !important;
    font-size: 22px;
    margin-bottom: 8px;
}
.news-detail-1 {
    margin-top: 10px;
    font-size: 15px;
}
.news-date-1{
    display: flex;
    margin-top: 10px;
}
.date-detail-1{
    display: flex;
}
.view-detail-1{
    display: flex;
}
.box-news{
    padding: 10px;
}
.title-knowledge{
    margin-left: 35px;
}
.tab-title{
    padding: 20px;
    background-color: #EB984E;
    color: #fff;
    border: 1px solid #E8EDEB;
}
.nav-link2{
    padding: 20px;
    background-color: #EB984E;
    color: #fff;
    border: 1px solid #E8EDEB;
}
.nav-pills a:hover{
    color: #2C3E4E !important;
}
.nav-pills .active{
    background-color: #FFF !important;
    color: #2C3E4E !important;
}
.title-menu-new{
    padding: 13px;
    background-color: #D9D9D9;
    color: #2C3E4E;
    font-size: 25px;
}
.detail-list{
    padding: 20px;
}

.nav-headlist .nav-item a{
    color: #FFF !important;
}
.nav-headlist .nav-item{
    background-color: #2A3E59;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    margin-left: 5px;
}
.nav-headlist .nav-item:hover{
    background-color: rgb(2 65 152);
}
.dropdown-menu{
    
}
.nav-headlist .nav-item .dropdown-item{
    padding: 10px 50px 10px 20px;
    color: #ffffff !important;
    border: 0.5px solid rgb(2 65 152);
    background-color: rgb(42 62 89);
}

.nav-headlist .nav-item .dropdown-item:hover{
    background-color: rgb(2 65 152);
    color: #ffff !important;
}

.menu-name2 {
    padding: 5px 15px;
    border-radius: 0px 0px 5px 5px;
    background-color: #FFF;
    text-align: center;
}

.menu-name2 h5 {
    margin-bottom: 0px;
    font-weight: 300;
    color: #000;
}

.sub-news-title{
    padding: 10px;
    background-color: #fff;
}
.poll-menu{
    display: flex;
    justify-content: space-between;
}
.contact-con{
    padding: 20px;
}
.sub-news{
    width: 100%;
}

/* search-product */

.product-detail{
    margin-left: 10px;
    align-self: center;
}
.img-product-box{
    border: 1px solid #A69485;
    border-radius: 5px;
    margin-top: 10px;
}
.product-sub-detail{
    margin-top: 10px;
    text-align: center;
}
.remark-product p{
    font-size: 13px;
}

.bg-more{
    width: 100%;
    height: 160px;
    background-image : url(../image/bg-title.jpg);
    color: #092419;
    background-repeat: round;
}


@media (min-width: 320px) {
    .search-btn{
        margin-left: 0rem !important;
        padding: 0px !important;
    }
    .logo-header img {
        width: 200px;
    }
    .profile-username{
        display: flex;
    }
    .user-profile {
        margin-left: 0px;
        color: #616161;
    }

    .card-title {
        padding: 10px;
    }
    .news-title{
        padding: 8px;
    }

    .card-text {
        padding: 10px;
    }

    .layout-infonews-custom {
        justify-content: center;
    }

    .poll-content {
        padding: 10px;
    }

    .poll-1 img {
        width: 100px;
    }

    .poll-1 {
        margin-top: 20px;
        font-size: 20px;
    }

    .poll-line {
        width: 100%;
    }

    .comfooter {
        font-size: 15px;
    }

    .header-info {
        text-align: center;
        margin-bottom: 20px !important;
    }

    .nav-profile {
        margin-top: 20px;
    }

    .profile-detail {
        margin-left: 5px;
    }

    .news-list {
        display: flex !important;
        justify-content: end;
        margin-top: 10px;
        color: #2a3e59;
    }
    .title-knowledge{
        justify-content: start !important;
    }
    .btn-seemore{
        margin-top: 30px;
        text-align: center;
    }
    .poll-1 p {
        font-size: 15px;
        margin-top: 15px;
    }

    .profile-detail p {
        font-size: 15px;
    }

    .main-news {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .search-main{
        padding-left: 15px;
        padding-right: 15px;
    }
    /* more_news */
    .bg-header-news {
        padding: 5px;
    }
    .hot-search{
        padding: 0px !important;
    }
    .sarchlist{
        font-size: 13px;
    }
    .box_tag {
        width: auto;
        text-align: center;
        font-size: 13px;
        padding-left: 5px !important;
        padding-right: 5px !important;
        height: auto;
        color: #fff;
        background: rgba(140, 121, 109, 1);
        border-radius: 15px;
    }
    .box_news_img {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .box_news_img img{
        border-radius: 10px;
        width: 100%;
        height: 100%;
        object-fit: cover; 
    }
    .content-news{
        font-size: 18px;
        margin-top: 15px;
    }
    .page-link {
        padding: 10px  13px !important;
    }
    .d-row{
        margin-top: 25px;
    }
    .logo img{
        width: 35px;
        height: 35px;
    }
    .logo-product img{
        width: 60px;
        height: 60px;
    }
    .news-detail p{
        font-size: 11px;
    }
    .product-name-head p{
        font-size: 20px;
        padding-left: 8px;
    }
    .news-date-detail{
        margin-top: 10px;
        margin-left: 45px;
        font-size: 13px;
    }
    .news-cover{
        width: 100%;
    }
    .download i{
        font-size: 40px;
        margin-top: 23px;
        margin-right: 10px;
        color: #797D7F !important;
    }
    .input-search{
        padding: 0px !important;
    }
    /* vote */
    .vote-header{
        font-size: 1.5rem !important;
    }
    /* poll */
    .content-poll{
        padding: 10px 10px;
    }
    .box-poll{
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* product */
    .box-product{
        padding-left: 15px;
        padding-right: 15px;
    }
    .content-product{
        padding: 10px 10px;
    }
    .img-product{
        padding-top: 50px;
        padding-bottom: 50px;
    }

    /* profile */
    .pic-profile{
        margin-left: 40px;
    }
    .btn-change-pic{
        top: 60%;
        left: 62%;
    }
    .box-detail-profile{
        margin-top: 30px;
    }
    .btn-nave{
        margin-top: 30px;
    }
    .btn-personal-link{
        text-align: center;
    }
    .modal-content h3{
        font-size: 25px !important;
    }

    /* login */
    .bg-login {
        padding-top: 50px;
        padding-bottom: 50px;

    }
    .box-login {
        width: 100%;
        height: 100%;
    }
    .title-login{
        margin-top: 30px;
    }
    .login-1 {
        border-radius: 10px 10px 0px 0px;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .login-2{
        border-radius: 0px 0px 10px 10px;
    }
    .logo-img img {
        width: 230px;
    }
    .logo-img {
        margin-top: 30px;
    }
    .title-name-login p {
        margin-top: 30px;
        font-weight: 400;
        font-size: 30px;
    }

    .title-secname-login p {
        color: #fff;
        font-weight: 400;
        font-size: 22px;
        margin-top: 10px;
        margin-bottom: 50px !important;
    }
    /* index1 */
    .text-news{
        font-size: 15px;
        padding: 10px 20px;
        margin-bottom: 8px;
    }
    .news-btn-viewmore{
        margin-top: 10px;
        text-align: center;
    }
    .view-detail-1{
        margin-left: 10px;
    }
    .nav-headlist .nav-item{
        background-color: #2A3E59;
        text-align: center;
        min-width: 180px;
        padding: 10px;
        border-radius: 5px;
        margin-top: 5px;
    }
    .img-news img{
        height: auto;
    }
    .news-title-name{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 2; /* จำนวนบรรทัดที่คุณต้องการให้แสดง */
    }
    .main-title-name{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 1; /* จำนวนบรรทัดที่คุณต้องการให้แสดง */
    }
    .news-detail-1{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 5; /* จำนวนบรรทัดที่คุณต้องการให้แสดง */
    }
}

@media (min-width: 375px) {
    .logo-header img {
        width: 250px;
    }

    .user-profile {
        margin-left: 5px;
    }

    .poll-content {
        padding: 20px;
    }

    .news-list {
        margin-right: 40px;
    }
     /* more_news */
    .sarchlist{
        font-size: 12px;
    }
    .box_tag {
        font-size: 11px;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .page-link {
        padding: 10px  15px !important;
    }
    .next-page-con{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* poll */
    .content-poll{
        padding: 11px 10px;
    }
    /* product */
    .content-product{
        padding: 11px 10px;
    }
    .folder{
        margin-left: 5px;
    }
    .product-name-head p{
        font-size: 18px;
    }
    /* profile */
    .pic-profile{
        margin-left: 50px;
    }
    .btn-change-pic{
        top: 60%;
        left: 57%;
    }
    .modal-content h3{
        font-size: 30px !important;
    }
    
}

@media (min-width: 425px) {
    .poll-1 p {
        margin-top: 15px;
    }

    .news-list {
        margin-right: 60px;
    }
    /* more_news */
    .hot-search{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .sarchlist{
        font-size: 12px;
    }
    .box_tag {
        font-size: 12px;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .news-detail p{
        font-size: 13px;
    }
    /* vote */
    .vote-header{
        font-size: 2rem !important;
    }
    .box-form{
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
        border-radius: 10px;
    }
    /* poll */
    .content-poll{
        padding: 30px 10px;
    }
    /* product */
    .content-product{
        padding: 30px 10px;
    }
    /* profile */
    .pic-profile{
        margin-left: 80px;
    }
    .btn-change-pic{
        top: 60%;
        left: 57%;
    }
    /* index1 */
    .text-news{
        font-size: 18px;
        padding: 10px 20px;
    }
}

@media (min-width: 768px) {
    
    .logo-header img {
        width: 360px;
    }

    .navbar span {
        font-size: 20px;
    }

    .layout-infonews-custom {
        justify-content: end;
    }

    .poll-1 p {
        font-size: 20px;
        margin-top: 20px;
    }

    .header-info {
        text-align: left;
        margin-bottom: 0px;
    }
    .main-news {
        padding: 0.5rem !important;
    }
    .card-title{
        padding: 2px;
        padding-right: 20px;
        margin-bottom: 0px !important;
    }
    .card-text{
        padding: 0px;
    }
    .indeximg_news{
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .indeximg_news img{
        border-radius: 10px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .news-name .card-title{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.5;
        max-height: 5em;
        font-size: 15px;
    }
    .detail-box{
        padding: 0px !important;
        padding-right: 5px;
    }
    .card-body .card-text{
        padding-bottom: 15px !important;
    }
    /* .indeximg_news{
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    .indeximg_news img{
        border-radius: 10px;
        width: 100%;
        height: 100%;
        object-fit: cover; 
    } */
    .news-list {
        justify-content: center !important;
    }
    .btn-seemore{
        margin-top: 10px;
        text-align: end;
        margin-right: 30px;
    }
    .input-search{
        padding-right: 15px !important;
    }
    /* more_news */
    /* .box_news_img {
        padding-left: 0.85rem !important;
    } */
    .bg-header-news {
        padding: 20px;
    }
    .sarchlist{
        font-size: 15px;
    }
    .box_tag {
        font-size: 15px;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-link {
        padding: 10px  20px !important;
    }
    .d-row{
        margin-top: 15px;
        width: 100%;
    }
    .logo img{
        width: 60px;
        height: 60px;
    }
    .news-detail p{
        font-size: 17px;
    }

    .news-date-detail{
        margin-left: 70px;
        font-size: 17px;
    }
    .download i{
        margin-top: 20px;
        margin-right: 20px;
    }
    /* .box_news_img{
        padding-left: 1rem !important;
    } */
    /* .box_news_img img{
        height: 148px;
    } */
    
    .news-title{
        padding: 10px;
    }
    /* poll */
    .content-poll{
        padding: 20px 10px;
        font-size: 20px;
    }
    /* product */
    .content-product{
        padding: 20px 10px;
        font-size: 20px;
    }
    .img-product{
        padding-top: 20px;
        padding-bottom: 35px;
    }
    .logo-product img{
        width: 70px;
        height: 70px;
    }

    /* profile */
    .pic-profile{
        margin-left: 0px;
    }
    .btn-change-pic{
        top: 58%;
        left: 55%;
    }
    .box-detail-profile{
        margin-top: 50px;
    }
    .btn-nave{
        margin-top: 0px;
    }
    .btn-personal-link{
        text-align: left;
        margin-top: 20px;
    }

    /* login */
    .bg-login {
        background-attachment: fixed;
        padding-top: 50px;
        padding-bottom: 50px;
        background-size: cover;

    }
    .login-1 {
        border-radius: 10px 0px 0px 10px;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .login-2{
        border-radius: 0px 10px 10px 0px;
    }
    .logo-img img {
        width: 250px;
    }
    .news-detail-1{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 3; /* จำนวนบรรทัดที่คุณต้องการให้แสดง */
    }
    .news-btn-viewmore{
        margin-top: 10px;
        
    }
    .tab-title{
        padding: 10px;
    }
    .title-menu-new{
        padding: 16px;
        background-color: #D9D9D9;
        color: #2C3E4E;
        font-size: 24px;
    }
    .img-news img{
        height: 120px;
    }
    .img-news-head img{
        height: 222px;
        border-radius: 32px;
    }
    
    /* search-product */

    .product-detail{
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .user-name{
        width: 120px;
    }
    
    .logo-header img {
        width: 260px;
        
    }
    .nav-profile {
        margin-left: 230px;
    }
    .profile-username{
        display: block;
    }
    .user-profile{
        margin-left: 0px;
    }
    .poll-content {
        padding: 50px;
    }

    .poll-line {
        width: 60%;
    }

    .product-title p {
        font-size: 15px;
    }

    .product-name p {
        font-size: 18px;
    }
    .detail-box{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .news-name .card-title {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.5;
        max-height: 5em;
        font-size: 15px;
    }
    .card-title{
        padding: 10px !important;
        padding-bottom: 0.75rem ;
    }
    .card-body .card-text{
        padding-bottom: 0px !important;
    }
    .card-text{
        padding: 10px !important;
    }
    .card-subbody img {
        height: 170px;
        width: 269px;
    }

    .card-text {
        margin-left: 0px;
    }

    .card-body {
        padding-bottom: 59px !important;
    }

    .main-news {
        padding: 0.5rem !important;
    }
    .content-news{
        font-size: 25px;
        margin-top: 15px;
    }
    .profile-detail {
        margin-left: 20px;
    }
    /* more_news */
    /* .box_news_img {
        height: 194px !important;
    } */
    .news-detail{
        margin-top: 10px;
    }
    /* .box_news_img img{
        height: 202px;
    } */
    .news-date{
        margin-top: 35px;
    }
    /* vote */
    .vote-header{
        font-size: 2.5rem !important;
    }
    /* poll */
    .content-poll{
        padding: 30px 10px;
        font-size: 30px;
    }
    /* product */
    .content-product{
        padding: 20px 10px;
        font-size: 30px;
    }
    .img-product{
        padding-top: 10px;
        padding-bottom: 15px;
    }
    .img-product img{
        height: 121px;
    }
    .left{
        margin-top: 50px;
    }
    .product-name-head p{
        font-size: 20px;
    }
    .btn-change-pic{
        top: 60%;
        left: 68%;
    }
    .title-login{
        margin-top:80px;
    }
    /* index1 */
    .text-news{
        font-size: 22px;
        padding: 10px 30px;
    }
    .news-detail-1{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 6; /* จำนวนบรรทัดที่คุณต้องการให้แสดง */
    }
    .view-detail-1{
        margin-left: 10px;
    }
    .tab-title{
        padding: 20px;
    }
    .title-menu-new{
        padding: 14px;
        background-color: #D9D9D9;
        color: #2C3E4E;
        font-size: 25px;
    }
    .nav-headlist .nav-item{
        background-color: #2A3E59;
        text-align: center;
        min-width: auto !important;
        padding: auto;
        border-radius: 5px;
        margin-left: 15px;
    }
    .img-news img{
        height: 170px;
    }
    .img-news-head img{
        height: 320px;
        border-radius: 32px;
    }

}

@media (min-width: 1440px) {
    .nav-profile {
        margin-left: 400px;
    }

    .logo-header img {
        width: 596px;
    }
    .user-name{
        width: auto;
    }
    .profile-username{
        display: flex;
    }
    .user-profile{
        margin-left: 5px;
    }
    .user-profile{
        margin-top: 0px;
    }
    .card-text {
        padding-bottom: 13px !important;
        padding-top: 0px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .poll-content {
        padding: 80px 150px;
    }

    .poll-line {
        width: 50%;
    }

    .card-subbody img {
        height: 177px;
        width: 280px;
    }

    .product-title p {
        font-size: 18px;
    }

    .product-name p {
        font-size: 20px;
    }

    .card-title {
        padding: 3px;
    }

    .card-body {
        padding-bottom: 5px !important;
    }

    .card-text {
        margin-left: 9px;
        margin-top: 9px;
        display: block;
    }

    .news-name .card-title {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.5;
        max-height: 5em;
        margin-left: 9px;
        font-size: 17px;
    }
    .profile-detail {
        margin-left: 5px;
    }
    /* more_news */
    .news-date{
        margin-top: 15px;
    }
    .box_news_img {
        height: 150px !important;
    }
    /* poll */
    .content-poll{
        padding: 40px 10px;
    }
    /* product */
    .content-product{
        padding: 30px 10px;
    }
    .img-product img{
        height: 140px;
    }
    .btn-change-pic{
        top: 60%;
        left: 58%;
    }

    /* login */
    .bg-login {
        padding-top: 80px;
        padding-bottom: 100px;
    }
    .box-login {
        width: 1200px;
        height: 600px;
        margin-left: 10% !important;
    }
    .login-1 {
        border-radius: 10px 0px 0px 10px;
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
    .title-login{
        margin-top: 60px;
    }
    .logo-img {
        margin-top: 80px;
    }
    .title-name-login p {
        font-size: 50px;
    }

    .title-secname-login p {
        font-size: 30px;
        margin-top: 10px;
    }
    .news-btn-viewmore{
        margin-top: 20px;
    }
    /* index1 */
    .nav-headlist .nav-item{
        background-color: #2A3E59;
        text-align: center;
        min-width: 180px !important;
        padding: 10px;
        border-radius: 5px;
    }
    .btn-seemore{
        margin-top: 10px;
        text-align: right;
        margin-right: 150px;
    }
    .img-news img{
        height: 208px;
    }
    .img-news-head img{
        height: 380px;
        border-radius: 32px;
    }
}
@media (min-width: 1920px) {
    .bg-login {
        padding-top: 130px;
        padding-bottom: 200px;
    }
    .box-login {     
        margin-left: 18% !important;
    }
    /* index1 */
    
    .btn-seemore{
        margin-top: 10px;
        text-align: end;
        margin-right: 370px;
    }
    .img-news img{
        height: 208px;
    }
    .img-news-head img{
        height: 280px;
        border-radius: 32px;
    }
}
@media (min-width: 2100px) {

    .logo-img {
        margin-top: 90px;
    }
    .box-login {
        width: 1400px;
        height: 650px;
        margin-left: 18% !important;
    }
}
/* footer */
@media (max-height: 935px) {
    
    .b-flex{
        position: fixed;
        bottom: 0; 
   }
 }





 .data_complaint{
    color: #2a3e59;
 }
 .line-auto {
    width: max-content;
    border-bottom: 3px solid #2a3e59 !important;
}
ul .recom-pass{
    list-style:none
}

.shadow-sm{
    transition: all ease-in-out 0.9s; 
}

.shadow-sm:hover{
    /* transform: scale(0.9); */
}