﻿.category-title {
    font-size: 20px;
    font: bolder;
    font-weight: bold;
}

.blog-category-page-list {
    padding-top: 75px;
}

.custom-nav {
    background-color: #fad802;
    height: 50px;
    position: fixed;
    left: 0;
    z-index: 99;
}

.navbar {
    background-color: #fad802;
}

.nav-tabs {
    margin: auto;
    width: max-content;
    border-bottom: 1px solid #c3c3c3;
    background-color: #fad802;
    height: 50px;
}
    .nav-tabs > li {
        float: left;
        margin-bottom: -1px;
        width: auto;
    }
        .nav-tabs > li a:hover, .nav-tabs > li.active > a {
            color: black !important;
            background-color: white !important;
            background-image: none !important;
            height: 40px;
        }

.nav > li > a {
    padding: 10px 10px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-tabs > li > a, .nav-tabs > li > a, .nav-tabs > li > a {
    color: #555;
    cursor: default;
    background-color: unset;
    border: unset;
    border-bottom-color: unset;
    cursor: pointer;
    width: 140px;
    margin: auto;
    text-align: center;
    padding-top: 10px;
    margin-top: 10px;
    cursor: pointer;
}

@media screen and (max-width: 1200px) {
    .custom-breadcrumb {
        max-width: 800px !important;
    }

}

@media screen and (min-width: 1025px) {
    .topnav {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .custom-breadcrumb {
        max-width: 800px !important;
    }

    .custom-card-detail-mobile {
        width: 50% !important;
    }

    .custom-blogcategory-type-mobile {
        /*width: unset !important;*/
    }

    .nav-tabs > li {
        display: none;
        width: auto;
    }

    .navbar-toggle.collapsed {
        height: 150px;
    }

    .custom-nav {
        display: none;
    }

    .nav-tabs-first-mobile {
        height: 50px;
    }

    .topnav {
        overflow: hidden;
        background: #fad802;
        position: relative;
        margin: 0px -10px -50px -10px;
    }

        .topnav #myLinks {
            display: none;
        }

        .topnav a {
            color: black;
            padding: 14px 16px;
            text-decoration: none;
            font-size: 17px;
            display: block;
        }

            .topnav a.icon {
                background: #fad802;
                display: block;
                position: absolute;
                right: 0;
                top: 0;
            }

            .topnav a:hover {
                /*background-color: white;*/
                color: black;
            }

    .active {
        /*background-color: #4CAF50;*/
        color: white;
    }

}


@media screen and (max-width: 990px) {
   
    .custom-card-detail-mobile {
        width: 50% !important;
    }
}

@media screen and (max-width: 900px) {
    /*.blog-category-content {
        height: 180px !important;
    }

    .custom-blogcategory-img {
        height: 180px !important;
    }



    .blog-content-img {
        height: 100% !important;
    }*/

    .slick-slide img {
        height: 100%;
        width: 100%;
        display: block;
    }

    .blog-content-categoyr-view-img {
        height: 150px !important;
    }
  
}


@media screen and (max-width: 600px) {
    .nav-tabs a:not(:first-child) {
        display: none;
    }

    .nav-tabs a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .custom-first-blogcategory-type-mobile {
        
    }

    .custom-blogcategory-type-mobile {
        width: 100%;
    }

    .custom-blogcategory-img {
        width: 40%;
    }
}

/* The "responsive" class is added to the nav-tabs with JavaScript when the user clicks on the icon. This class makes the nav-tabs look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    /*.custom-first-card-mobile {
        width: 510px;
    }

    .custom-card-mobile {
        width: 254px;
    }*/

    .nav-tabs.responsive {
        position: relative;
    }

        .nav-tabs.responsive a.icon {
            position: absolute;
            right: 0;
            top: 0;
        }

        .nav-tabs.responsive a {
            float: none;
            display: block;
            text-align: left;
        }
}


@media screen and (max-width: 484px) {
    .custom-first-card-mobile {
        width: auto
    }

    .blog-category-first-content {
        height: auto !important;
    }

    .blog-category-type-content {
        height: auto !important;
    }

    .custom-blogcategory-img {
        width: 100%;
    }

    .custom-blogcategory-text {
        width: 100%;
    }

    .blog-category-content {
        height: 100% !important;
    }

    .custom-promotion-content-title-card {
        padding: 10px 30px !important;
    }

    .custom-cover-text {
        margin-bottom: 15px !important;
        font-size: 12px !important;
        padding: 5px 30px !important;
        margin-top: -5px !important;
    }
}

@media screen and (max-width: 414px) {
    .custom-first-card-mobile {
        width: auto
    }

    .blog-category-first-content {
        height: auto !important;
    }

    .blog-category-type-content {
        height: auto !important;
    }

    .custom-blogcategory-img {
        width: 100%;
    }

    .custom-blogcategory-text {
        width: 100%;
    }

    .blog-category-content {
        height: 100% !important;
    }
}

@media screen and (max-width: 375px) {
    .custom-first-card-mobile {
        width: 325px
    }

    .blog-category-first-content {
        height: auto !important;
    }

    .blog-first-content-img {
        height: auto !important;
    }

    .custom-card-mobile {
        width: 325px
    }

    .blog-category-type-content {
        height: auto !important;
    }

    .custom-blogcategory-img {
        width: 100%;
    }

    .custom-blogcategory-text {
        width: 100%;
    }

    .blog-category-content {
        height: 100% !important;
    }

    .custom-promotion-content-title-card {
        padding: 10px 30px !important;
    }

    .custom-cover-text {
        margin-bottom: 15px !important;
        font-size: 12px !important;
        padding: 5px 30px !important;
        margin-top: -5px !important;
    }

    .custom-cover-text-first {
        margin-bottom: 15px !important;
        font-size: 12px !important;
        padding: 0 15px 15px 15px !important;
        margin-top: -5px !important;
    }
}

.custom-breadcrumb {   
    margin-bottom: 20px;
    list-style: none;
    background-color: unset;
    border-radius: 4px;
    max-width: 1100px;
    margin: auto;
    position: relative;
}

.blog-category-first-content {
    padding: unset;
    margin: 10px 0 10px 0;
    position: relative;
    /*width: 250px;*/
    height: 460px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(204, 204, 204,1);
    -moz-box-shadow: 0px 0px 5px 1px rgba(204, 204, 204,1);
    box-shadow: 0px 0px 5px 1px rgba(204, 204, 204,1);
    outline: unset;
}

.blog-fist-content-detail {
    font-size: 12px;
    font-weight: bold;
    min-height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
}


.blog-category-content {
    padding: unset;
    margin: 10px 0 10px 0;
    position: relative;
    /*width: 250px;*/
    height: 220px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(204, 204, 204,1);
    -moz-box-shadow: 0px 0px 5px 1px rgba(204, 204, 204,1);
    box-shadow: 0px 0px 5px 1px rgba(204, 204, 204,1);
    outline: unset;
}

.blog-first-content-img {
    margin: 0 auto;
    height: 320px;
    position: relative;
    overflow: hidden;
}

.blog-content-img {
    margin: 0 auto;
    height: 150px;
    position: relative;
    overflow: hidden;
}
    .blog-content-img .view-counter {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 80px;
        padding-left: 10px;
        padding-top: 10px;
        color: #fff;
        background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, 0));
        font-size: 13px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
        .blog-content-img .view-counter i {
            color: #fff !important;
        }

.custom-promotion-content-title {
    font-size: 18px;
    font-weight: bold;
    min-height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
}

.custom-promotion-content-detail {
    font-size: 18px;
   
}

.custom-promotion-content-title-card {
    font-size: 15px;
}

custom-tag-promotion-content-title-card {
    font-size: 15px;
}

.blog-category-type-content {
    padding: unset;
    margin: 10px 0 10px 0;
    position: relative;
    /*width: 250px;*/
    height: 490px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(204, 204, 204,1);
    -moz-box-shadow: 0px 0px 5px 1px rgba(204, 204, 204,1);
    box-shadow: 0px 0px 5px 1px rgba(204, 204, 204,1);
    outline: unset;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

    .pagination a.active {
        background-color: #F8D908;
        color: black;
    }

    .pagination a:hover:not(.active) {
        background-color: #F8D908;
    }

.pagination > li > a {
    color: black;
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: unset !important;
}

a {
    color: black;
}
