body,
.container-fluid,
.bg-light {
    background-color: #fff !important;
    font-family: var(--body-font) !important;
    line-height: 1.5;
    color: var(--body-color, var(--c-contrast-700)) !important;
}

a {
    color: unset;
    color: #333 !important;
    text-decoration: unset;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 550;
}

h2 {
    font-size: 20px;
}

h4 {
    font-size: 14px;
}

header {
    height: 130px;
}

header img {
    padding-top: 20px;
    object-fit: cover;
}

#main-menu ul li .active,
#main-menu ul li a:hover,
#main-menu ul li a:focus {
    color: #f44 !important;
    border-bottom: 2px solid #f44;
}

#main-menu ul li .none {
    border-bottom: 2px solid transparent;
}

#section-one img,
#section-two img,
#section-there img {
    max-width: 100%;
}

#main-menu {
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 10%);
    position: relative;
}

.detail-post .post-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media only screen and (min-width: 768px) {
    #box-googlesearch {
        padding: 0px 80px;
    }

    #box-googlesearch .logo {
        padding-top: 18px;
    }

    #box-googlesearch .box-info {
        padding-top: 20px;
        text-align: right;
        display: block;
    }

    #box-googlesearch .box-info span {
        display: inline-block;
        font-size: 14px;
    }

    #box-googlesearch .box-info .hotline {
        margin-right: 10px;
        font-weight: 600px;
    }

    #main-menu ul li a {
        color: #54595f;
        padding: 10px 0px;
        font-weight: 600;
        text-transform: capitalize;
    }

    #section-one .media {
        display: unset !important;
    }

    #main-content {
        padding: 40px 80px;
    }

    #section-one .item-1,
    #section-one .item-2,
    #section-one .item-3,
    #section-one .item-4 {
        position: relative;
    }

    #section-one .item-1 .contents {
        position: absolute;
        bottom: -1px;
        color: #fff;
        padding: 0px 20px;
        width: 104%;
        background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }

    #section-one .items .contents a,
    #section-one .item-2 .contents a,
    #section-one .item-3 .contents a,
    #section-one .item-4 .contents a {
        color: #fff !important;
        text-decoration: none;
    }

    #section-one .item-1 h2 {
        font-size: 22px;
    }

    #section-one .item-2 h2 {
        font-size: 18px;
    }

    #section-one .item-3 h2,
    #section-one .item-4 h2 {
        font-size: 16px;
    }

    #section-one .cat-labels {
        font-size: 10px;
        text-transform: uppercase;
    }

    #section-one .post-date {
        font-size: 11px;
    }

    #section-one .item-1 img {
        max-width: unset !important;
        width: 104%;
        height: 492px;
        object-fit: cover;
    }

    #section-one .item-2 .contents {
        position: absolute;
        z-index: 999;
        bottom: -1px;
        padding: 0px 20px;
        color: #fff;
        background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        width: 100%;
    }

    #section-one .box-two-items .left {
        padding-right: 3px;
    }

    #section-one .box-two-items .right {
        padding-left: 3px;
    }

    #section-one .item-3 .contents,
    #section-one .item-4 .contents {
        width: 100%;
        position: absolute;
        z-index: 999;
        bottom: -1px;
        padding: 0px 20px;
        color: #fff;
        background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }

    .detail.post-content {
        padding-top: 20px;
    }

    #section-one .item-2 {
        margin-bottom: 7px;
    }

    #section-one .item-2 img {
        width: 102%;
        height: 255px;
        object-fit: cover;
    }

    #section-one .item-3 img,
    #section-one .item-4 img {
        width: 100%;
        height: 230px;
        object-fit: cover;
    }

    .news-block-one .content .post-first {
        max-width: unset !important;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .news-block-there .content .post-first {
        max-width: unset !important;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .news-block-two .content .post-first {
        max-width: unset !important;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .sidebar img {
        height: 80px;
        object-fit: cover;
    }

    #main-menu {
        padding: 0px 80px 0px 60px;
    }

    #main-menu .navbar {
        padding: 0px !important;
    }

    #main-menu li.nav-item {
        padding: 0px 18px;
    }

    .content .post .media {
        display: unset;
    }

    footer .container-fluid {
        padding: 40px 80px;
    }

    footer .bottom {
        padding: 15px 80px;
    }

    footer .bottom span {
        float: right;
    }

    .detail-post .post-title {
        margin-bottom: 30px;
    }

    .detail-post .post-content {
        margin-top: 30px;
    }

    .detail-post .post-content p {
        text-align: justify;
        margin-bottom: 5px;
    }

    .pagination li.page-item {
        margin-right: 15px;
    }

}

.page-item.active .page-link {
    background-color: #f44;
    border-color: #f44;
}

.input-group-append {
    border-bottom: 1px solid #ddd;
    border-bottom-right-radius: 4px;
}

/*#section-one .item-2{
        margin-bottom: 30px;
    }
    #section-one .item-2 img{
        height: 228px;
        object-fit: fill;
    }
    #section-one .item-3 img, #section-one .item-4 img{
        height: 156px;
        object-fit: fill;
    }*/
#section-one {
    margin-bottom: 40px;
}

.block-head-c {
    --c-line: var(--c-main);
    --line-width: 40px;
    --line-weight: 2px;
    --border-weight: 1px;
    padding-bottom: 13px;
    position: relative;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.block-head .heading {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    /*text-transform: uppercase;*/
    color: var(--c-block);
    flex-shrink: 0;
    max-width: 100%;
}

#section-there .content .media,
#section-two .content .media {
    display: unset;
}

#section-there .content h4 {
    margin: 9px 0px;
}

.sidebar .content h4 {
    margin: 0px !important;
}

.news-block-one .content .right img {
    max-width: unset !important;
    width: 120px;
    height: 80px;
    object-fit: cover;
}

.news-block-one .content .right p {
    margin-bottom: 0px;
}

/*.news-block-there .content article {
    margin-bottom: 30px;
}*/
.news-block-there .content .right img {
    max-width: unset !important;
    width: 100%;
    height: 135px;
    object-fit: cover;
}

.news-block-two .content .list-items-next img {
    max-width: unset !important;
    width: 120px;
    height: 80px;
    object-fit: cover;
}

#section-two .title h2,
#section-there .title h2 {
    font-size: 18px;
    margin: 9px 0px;
    line-height: 22px;
}

#section-two .title h2 a {
    color: #161616px !important;

}

#section-two h4,
#section-there h4 {
    line-height: 18px;
}

#section-two article,
#section-there .sidebar article {
    display: flex;
    margin-bottom: 30px;
}

#section-two .content .right article .content,
.news-block-two .list-items-next article .content,
.sidebar article .content {
    height: 85px;
    overflow: hidden;
}

article .media {
    margin-right: 15px;
}

#section-two article .media {
    margin-right: 15px;
}

.sidebar .block .widget-title {
    margin-bottom: 30px;
}

.sidebar .block .widget-title h5 {
    padding: 10px 20px;
    background-color: #19232d;
    color: #fff;
}

.post-meta-items {
    margin: 9px 0px;
    font-size: 11px;
}

.post-author a {
    color: #f44 !important;
    text-transform: uppercase;
    font-weight: 600;
}

#section-two .col-md-8 .post-date:before,
#section-there .col-md-8 .post-date:before {
    content: "\2014";
    padding: 0px 5px 0px 3px;
    display: inline-block;
    transform: scale(.916);
}


.sidebar .media img {
    max-width: unset !important;
    width: 120px !important;
    height: 80px !important;
    object-fit: cover;
}

.sidebar .list-categories {
    margin-bottom: 30px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.sidebar .list-categories h5 {
    background-color: #f5f5f5;
    padding: 10px 20px;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #ccc;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.sidebar .list-categories ul {
    list-style: none;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 0px;
}

.sidebar .list-categories ul li {
    margin: 15px 0px;
    padding: 0px;
}

.sidebar .list-categories .box-percentage {
    background-color: #f5f5f5;
}

footer .container-fluid .row ul {
    list-style: none;
    width: 100%;
    display: block;
    padding: 0px;
    display: flex;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

footer .container-fluid .row ul li.left {
    display: inline-block;
    margin-right: 20px;
}

footer .container-fluid .row ul li img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

footer .container-fluid .row h5 {
    color: #fff;
    opacity: 0.8;
    text-transform: uppercase;
    font-weight: 500 !important;
    font-size: 15px;
    margin-bottom: 20px;
}

footer .container-fluid .row h4 {
    color: #fff;
    opacity: 0.7;
    font-weight: 300 !important;
    line-height: 20px;
}

footer .container-fluid .row h6 {
    color: #fff;
    opacity: 0.7;
    font-weight: 300 !important;
    font-size: 12px;
}

footer .container-fluid .row .col-md-6 {
    padding-right: 0px;
}

footer {
    /*background: #153e4d;*/
    background-color: #19232d !important;
    background-color: #505050;
}

footer .container-fluid {
    /*background-color: #505050 !important;*/
    background-color: #19232d !important;
}

footer .bottom {
    box-shadow: inset 0 2px 5px 0 rgb(0 0 0 / 39%);
    text-align: center;
    width: 100%;
    color: #fff;
    opacity: 0.7;
}

footer .bottom strong {
    color: #f0ad4e;
}

footer .bottom a,
footer h4 a,
footer h5 a {
    color: #fff !important;

}

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 25px;
    height: 46px;
    display: none;
}

a {
    text-decoration: unset !important;
    text-decoration: none;
}

.category.post-image {
    max-width: unset !important;
    width: 100%;
    height: 222px;
    object-fit: cover;
}

.gsc-search-button-v2 {
    padding: 10px 27px !important;
}

.sharepost {
    display: flex;
}

@media only screen and (max-width: 767px) {
    #box-googlesearch .gsc-control-cse.gsc-control-cse-en {
        padding: 0px !important;
    }

    #box-googlesearch .gsib_a {
        padding: 0px 3px !important;
    }

    #box-googlesearch .box-info {
        display: none;
    }

    #main-content {
        padding-top: 20px;
    }

    #main-menu .navbar-toggler {
        padding: 0.25rem 0.75rem;
        font-size: 1.125rem;
        line-height: 1;
        background-color: #505050;
        border: 1px solid transparent;
        border-radius: 0.25rem;
    }

    #main-menu .navbar {
        padding: 5px 0px;
    }

    #section-one {
        margin-bottom: 20px;
    }

    #section-one .media {
        display: unset !important;
    }

    .news-block-there .content .left img,
    .news-block-there .content .right img,
    .news-block-two .content .post-first,
    .news-block-one .content .post-first,
    #section-one img {
        height: 222px;
        max-height: 222px;
        width: 100%;
        object-fit: cover;
    }

    footer .bottom {
        padding: 15px 0px;
    }
}


/* Start 02072023 */

#list-top-posts .media {
    display: unset;
}

.list-category-posts img,
.list-category-posts-style2 img {
    width: 100%;
}

.list-category-posts ul,
.list-category-posts-style2 ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.list-category-posts-style2 .category {
    padding: 10px 0px;
}

.list-category-posts-style2 .time {}

.list-category-posts-style2 .time h5 {
    font-size: 11px;
}

.list-category-posts-style2 ul:last-child li .post .title h2 {
    font-size: 14px !important;
}

.list-category-posts .cat,
.list-category-posts-style2 .cat {
    margin-bottom: 20px;
}

.list-category-posts-style2 {
    margin-bottom: 10px;
}

@media only screen and (min-width: 768px) {

    #list-top-posts {
        display: grid;
        grid-template-columns: 40% calc(40% - 6px) 20%;
        grid-column-gap: 3px;
        margin: 0px 0px 30px 0px;
    }

    #list-top-posts .left {
        position: relative;
        padding: 0px;
    }

    #list-top-posts .left div,
    #list-top-posts .center div {
        /*    height: 100%;*/
    }

    #list-top-posts .right {
        position: relative;
        padding: 0px;
    }

    #list-top-posts .left img,
    #list-top-posts .right img {
        height: 364px;
        width: 100%;
        object-fit: cover;
    }

    #list-top-posts .center img {
        width: 100%;
        height: 181px;
        object-fit: cover;
    }

    #list-top-posts .right>div {
        /*    height: 100%;*/
    }

    #list-top-posts .center ul {
        display: flex;
        list-style: none;
        gap: 3px;
        padding: 0px;
        margin: 0px;
    }

    #list-top-posts .center ul:first-of-type {
        margin-bottom: 3px;
    }

    #list-top-posts .center ul li {
        width: 50%;
        position: relative;
    }

    #list-top-posts .contents {
        position: absolute;
        bottom: -1px;
        color: #fff;
        padding: 0px 20px;
        width: 100%;
        background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }

    #list-top-posts .contents a {
        color: #ffffff !important;
    }

    #list-top-posts .center h2,
    #list-top-posts .right h2 {
        font-size: 16px;
    }

    .list-category-posts {
        margin-bottom: 20px;
    }

    .list-category-posts ul {
        display: flex;
        flex-wrap: wrap;
        padding: 0px;
        margin: 0px;
        list-style: none;
        gap: 5px;
    }

    .list-category-posts ul li {
        width: calc(50% - 5px);
    }

    .list-category-posts ul li .post {
        position: relative;
    }

    .list-category-posts ul li .post .media {
        display: unset;
        align-items: unset;
    }

    .list-category-posts ul li .post img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .list-category-posts .post-end ul {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .list-category-posts .post-end ul li {
        width: 100%;
        padding: 10px;
    }

    .list-category-posts .post-end ul li:first-of-type {
        border-bottom: 1px solid #ddd;
    }

    .list-category-posts .post-end ul li .post {
        height: 85px;
        overflow: hidden;
    }

    .list-category-posts .post-end ul li .post p {
        margin: 0px;
    }

    .list-category-posts h2 {
        font-size: 16px !important;
        line-height: 20px;
    }

    .list-category-posts .post .title {
        position: absolute;
        bottom: 0px;
        color: #fff;
        padding: 20px;
        width: 100%;
        background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }

    .list-category-posts .post .title h2 a {
        color: #ffffff !important;
    }

    .list-category-posts .post-end a {
        color: #212529 !important;
    }

    .list-category-posts .post-end h5 {
        font-size: 13px !important;
    }

    /*.list-category-posts-style2 {
        margin: 0px -20px;
    }

    .list-category-posts-style2 .cat {
        margin-left: 5px;
    }*/

    .list-category-posts-style2 ul {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0px;
        margin: 0px;
        gap: 5px;
    }

    .list-category-posts-style2 img {
        width: 100%;
        height: 135px;
        object-fit: cover;
    }

    .list-category-posts-style2 h2 {
        font-size: 16px !important;
    }

    .list-category-posts-style2 ul:first-of-type li {
        width: calc(33.333% - 5px);
        box-sizing: border-box;
    }

    .list-category-posts-style2 ul:first-of-type li .content {
        height: 96px;
        overflow: hidden;
    }

    .list-category-posts-style2 ul:first-of-type li .title {
        padding-top: 10px;
    }

    .list-category-posts-style2 ul:first-of-type li .title h4 {
        margin-bottom: 5px;
        line-height: 20px;
    }

    .list-category-posts-style2 ul:first-of-type {
        margin-bottom: 25px;
    }

    .list-category-posts-style2 ul:last-child li {
        width: calc(50% - 5px);
    }

    .list-category-posts-style2 ul:last-child li .post {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 10px;
    }

    .list-category-posts-style2 ul:last-child li .post .thumbnail {
        width: 36%;
    }

    .list-category-posts-style2 ul:last-child li .post img {
        width: 100%;
        height: 72px;
        object-fit: cover;
    }

    .list-category-posts-style2 ul:last-child li .post .content {
        width: calc(64% - 10px);
        height: 64px;
        overflow: hidden;
    }

    .list-category-posts-style2 ul:last-child li .post .content h4 {
        line-height: 20px;
        margin-bottom: 3px;
    }


}

@media only screen and (max-width: 767px) {
    #list-top-posts {
        width: 100%;
        margin: 0px;
    }

    #list-top-posts .media {
        display: unset;
    }

    #list-top-posts .left,
    #list-top-posts .center,
    #list-top-posts .right {
        width: 100%;
    }

    #list-top-posts .center ul,
    #list-top-posts .center ul li {
        list-style: none;
        padding: 0px;
        margin: 0px;
    }

    #list-top-posts img,
    .list-category-posts img,
    .list-category-posts-style2 img {
        height: 222px;
        max-height: 222px;
        width: 100%;
        object-fit: cover;
    }

    .list-category-posts h2,
    .list-category-posts-style2 h2,
    .list-category-posts h4,
    .list-category-posts-style2 h4 {
        margin: 10px 0px;
    }

    #list-top-posts h2,
    .list-category-posts h2,
    .list-category-posts-style2 h2 {
        font-size: 16px;
    }

    .list-category-posts-style2 ul:last-child li .post {
        margin-bottom: 10px;
    }

    .list-category-posts .post-end {
        display: none;
    }


}

/* Style for tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  #box-googlesearch {
    padding: 0px 20px;
  }
  #list-top-posts {
    grid-template-columns: 50% calc(50% - 0px) 0%;
  }
  #main-menu {
    padding-left: 20px;
    padding-right: 20px;
  }
  #main-content {
    padding: 40px 20px;
  }
  footer .container-fluid {
    padding: 40px 20px;
  }
  #main-menu .navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 14px;
    line-height: 1;
    background-color: #505050;
    border: 1px solid transparent;
    border-radius: 0.25rem;
  }
  .gsc-search-button-v2 {
    padding: 9px 15px !important;
  }
  #gsc-iw-id1 {
    padding-top: 0px;
    padding-bottom: 0px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  .list-category-posts .right .cat {
    margin-top: 20px;
  }

}

/* end tablet */

/* end 02072023 */