@media only screen and (min-width: 250px) and (max-width: 374px) {

    .title-page .breadcrumb-item {
        font-size: small;
    }



    .card-post {
        display: block !important;
    }

    .card-post-img {
        height: 165px !important;
        /*width: 265px;*/
        min-width: 100%;
    }

    .box-Post-icon-mark-position {
        position: relative;
        bottom: 9em;
    }
}

@media only screen and (min-width: 375px) and (max-width: 424px) {

    .title-page .breadcrumb-item {
        font-size: small;
    }


    .card-post {
        display: block !important;
    }

    .card-post-img {
        height: 220px !important;
        /*width: 320px;*/
        min-width:100%;
    }

    .box-Post-icon-mark-position {
        position: relative;
        bottom: 12em;
    }
}

@media only screen and (min-width: 425px) and (max-width: 499px) {
    .title-page .breadcrumb-item {
        font-size: small;
    }

    .section-allPost .col-md-8,
    .section-allPost .col-md-4 {
        width: 100% !important;
        flex: none !important;
    }

    .card-post {
        display: block !important;
    }

    .card-post-img {
        height: 270px !important;
        /*width: 370px;*/
        min-width:100%;
    }


    .box-Post-icon-mark-position {
        position: relative;
        bottom: 15em;
    }
}

@media only screen and (min-width: 500px) and (max-width: 767px) {
    .title-page .breadcrumb-item {
        font-size: small;
    }

    .section-allPost .col-md-8,
    .section-allPost .col-md-4 {
        width: 100% !important;
        flex: none !important;
    }



    .card-post {
        display: block !important;
    }

    .card-post-img {
        height: 300px !important;
        /*width: 450px;*/
        min-width:100%;
    }


    .box-Post-icon-mark-position {
        position: relative;
        bottom: 17em;
    }
}

@media only screen and (min-width: 768px) and (max-width: 990px) {

    .section-allPost .col-md-8,
    .section-allPost .col-md-4 {
        width: 100% !important;
        flex: none !important;
    }


    .card-post {
        display: flex;
    }

    .card-post-img {
        height: 205px !important;
        width: 325px;
        min-width: 325px;
        margin-bottom: 11px !important;
    }


    .box-Post-icon-mark-position {
        position: relative;
        bottom: 12em;
    }
}

@media only screen and (min-width:991px) and (max-width: 1023px) {


    .card-post {
        display: flex;
        margin-bottom: 1em;
    }

    .card-post-img {
        height: 185px !important;
        width: 290px;
        min-width:290px;
    }


    .box-Post-icon-mark-position {
        position: relative;
        bottom: 10em;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    .card-post {
        display: flex;
        margin-bottom: 1em;
    }

    .card-post-img {
        height: 14em !important;
       width: 20em !important;
        min-width:20em;
    }

    .box-Post-icon-mark-position {
        position: relative;
        bottom: 12em;
    }
}


@media only screen and (min-width: 1200px) and (max-width: 1439px) {


    .card-post {
        display: flex;
        margin-bottom: 1em;
    }

    .card-post-img {
        height: 11em !important;
        width: 17em !important;
        min-width:17em ;
    }


    .box-Post-icon-mark-position {
        position: relative;
        bottom: 9em;
    }
}

@media only screen and (min-width: 1440px) {

    .card-post {
        display: flex;
        margin-bottom: 1em;
    }

    .card-post-img {
        height: 10em !important;
        width: 16em !important;
        min-width:16em !important
    }


    .box-Post-icon-mark-position {
        position: relative;
        bottom: 9em;
    }
}

@media only screen and (max-width:768px) {
    .card-post-content {
        text-align: center;
    }

    .card-post-img {
        margin: 0px auto;
    }
}

.title-page i {
    color: var(--primery);
}

.title-page-bold {
    text-align: center;
}

    .title-page-bold h3 {
        font-weight: 900;
        border-bottom: 1px solid var(--primery);
        padding-bottom: 1em;
    }

#section-allPost {
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    padding: 1em;
    border-radius: 5px;
    margin-bottom: 2em;
}

.top-most-visited-post-mark {
    bottom: 13em;
}

.card-post-img {
    border-radius: 5px;
    border: 1px solid #c5c5c5;
    /*width: 100%;
    height: 100%;*/
    object-fit: cover;
}

    .card-post-img img {
        width: 100%;
        height: 100%;
        border-radius: 5px;
        object-fit: cover;
    }

    .card-post-img a :hover {
        box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    }

.card-post-content {
    padding: 1em;
}

.card-post-content-icon i,
.card-post-content-icon span {
    color: darkgray !important;
    font-size: small;
    padding-left: 4px;
}

.card-post-content-icon {
    margin-bottom: 5px;
}

.card-post-content-title span {
    color: darkgray !important;
    padding-right: 5px;
    font-size: small !important;
}

.card-post-content-title a:hover {
    color: var(--primery) !important;
}

.card-post-reed-more a {
    color: var(--primery) !important;
}

.card-post-reed-more a {
    font-size: small;
}

    .card-post-reed-more a i {
        margin-right: 5px;
        color: var(--primery) !important;
    }

.sidebar-category, .most-visited-post {
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 2em;
}

    .sidebar-category ul li {
        margin-bottom: 5px;
    }

.card-post-content-p {
    max-height: 8em;
    overflow: hidden;
}

.pagination a {
    color: var(--primery);
}

    .pagination a:hover {
        color: var(--primery);
    }

    .pagination a:focus {
        color: var(--primery);
        border: 1px solid var(--primery);
        box-shadow: unset !important;
    }

.pagination {
    padding-left: 2rem !important;
}
