﻿.blogs-of-site {
}

    .blogs-of-site > h1 {
        font-size: 20px;
        text-align: center;
        margin: 30px auto;
        background-color: #ececec;
        padding: 5px 0;
    }

    .blogs-of-site > a {
        display: block;
        margin: 20px auto;
        font-size: 18px;
        width: 100px;
        text-align: center;
        color: #FF165D;
        border-radius: 4px;
        transition: background-color 1s, color 1s, border 1s;
        cursor: pointer;
        background-color: white;
        border: 1px solid #FF165D;
    }

.blog-of-site {
    margin: 30px 10px;
    box-shadow: 0 0 10px 1px lightgray;
    border-radius: 5px;
    padding: 5px;
    display: flex;
    height: 150px;
}

.img-og-blog {
    height: 100%;
    width: 35%;
}

    .img-og-blog > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

.text-of-blog {
    height: 100%;
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .text-of-blog > h1 {
        font-size: 16px;
        color: gray;
        height: 20%;
        overflow: hidden;
        padding-right: 5px;
    }

    .text-of-blog > p {
        height: 50%;
        overflow: hidden;
        padding: 0 5px;
        line-height: 25px;
        font-size: 12px;
        text-align: justify;
    }

.link-of-blog {
    height: 15%;
    overflow: hidden;
    display: flex;
    justify-content: start;
    align-items: center;
    direction: ltr;
    text-align: left;
}

    .link-of-blog > a {
        display: block;
        font-size: 12px;
        width: 80px;
        text-align: center;
        color: white;
        border-radius: 4px;
        transition: background-color 1s, color 1s, border 1s;
        cursor: pointer;
        background-color: #FF165D;
        border: 1px solid #FF165D;
        height: 18px;
        overflow: hidden;
    }

.icon-of-blog {
    display: flex;
    align-items: center !important;
    height: 15%;
    color: gray;
}

    .icon-of-blog > h4 {
        font-size: 12px;
        color: gray;
        font-weight: normal;
        margin-left: 10px;
    }

    .icon-of-blog > i {
        color: #ff165d;
        border-radius: 5px;
        margin: 0 5px;
        font-size: 14px;
    }

@media only screen and (min-width: 900px) {
    .blogs-of-site > a:hover {
        background-color: #FF165D;
        color: white;
        border: 1px solid #FF165D;
    }

    .link-of-blog > a {
        font-size: 15px;
        width: 100px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .link-of-blog > a:hover {
            background-color: white;
            color: #FF165D;
            border: 1px solid #FF165D;
        }

    .text-of-blog {
        margin: auto 10px auto 0;
    }

    .blog-of-site {
        height: 200px;
        padding: 10px;
    }

    .text-of-blog > h1 {
        font-size: 18px;
    }

    .icon-of-blog > i {
        font-size: 16px;
    }

    .icon-of-blog > h4 {
        font-size: 14px;
    }

    .text-of-blog > p {
        line-height: 32px;
        font-size: 16px;
    }
}


/***********************************************************************/

.blogList-of-site, .d-of-blog {
    margin: 80px auto;
}

.blog-search-of-site {
    border-bottom: 1px solid #005f9b;
    position: relative;
    display: flex;
    justify-content: center;
    height: 20px;
    margin-bottom: 30px;
}

    .blog-search-of-site > form {
        border: 1px solid #005f9b;
        border-radius: 50px;
        position: absolute;
        max-width: 500px;
        height: 40px;
        background-color: white;
        width: 90%;
    }

.search-of-blogs {
    margin: 5px;
    background-color: #cdebff9c;
    border-radius: 50px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .search-of-blogs > i {
        width: 30px;
        height: 30px;
        margin: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: black;
        font-size: 20px;
        cursor: pointer;
    }

        .search-of-blogs > i:hover {
            color: #005f9b;
        }

    .search-of-blogs > input {
        width: 100%;
        margin-left: 5px;
        height: 100%;
        outline: none;
        border: none;
        background-color: transparent;
        font-size: 16px;
        color: black;
    }

.visited-blog {
    margin: 50px auto 0 auto;
    background-color: #ececec;
}

    .visited-blog > div {
        padding-bottom: 20px;
    }

        .visited-blog > div > h1 {
            font-size: 20px;
            text-align: center;
            margin: 10px auto;
            background-color: #ececec;
            padding: 10px;
        }

.link-visited-blogs {
    border-radius: 5px;
    background-color: white;
    padding: 5px;
    border: 1px solid #005f9b;
    display: flex;
    margin: auto 10px;
}

    .link-visited-blogs > img {
        display: block !important;
        width: 100px !important;
        height: 70px !important;
        border-radius: 5px;
    }

    .link-visited-blogs > h1 {
        color: #013367;
        font-size: 18px;
        width: 100%;
        padding-right: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .link-visited-blogs:hover {
        border: 1px solid #FF165D;
    }

        .link-visited-blogs:hover .l-m-v-b {
            color: #FF165D;
        }

.blogList-of-site .container {
    margin-top: 10px;
}

.main-of-blogs {
    display: flex;
    justify-content: space-around;
}

.side-of-blogs {
    display: none;
    width: 35%;
    overflow: hidden;
}

.e-s-b {
    margin: 30px 10px;
    box-shadow: 0 0 10px 1px lightgray;
    border-radius: 5px;
    padding: 10px 10px 100px 10px;
}

    .e-s-b > h3 {
        border-bottom: 1px solid #005f9b;
        font-size: 18px;
        text-align: center;
        color: #005f9b;
        font-weight: normal;
        padding-bottom: 10px;
    }

    .e-s-b > ul {
        margin-top: 20px;
    }

.categories-of-blogs {
    margin: 10px auto;
}

    .categories-of-blogs > a {
        border-radius: 5px;
        padding: 5px;
        border: 1px solid lightgray;
        display: flex;
        align-items: center;
    }

        .categories-of-blogs > a > img {
            display: block;
            width: 80px;
            height: 60px;
            border-radius: 5px;
        }

        .categories-of-blogs > a > h1 {
            color: gray;
            width: 100%;
            padding-right: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-weight: normal;
            font-size: 16px;
        }

        .categories-of-blogs > a:hover .t-o-b-f {
            color: #FF165D !important;
        }

        .categories-of-blogs > a:hover {
            color: #FF165D !important;
            border: 1px solid #FF165D;
        }

.content-of-blogs {
    width: 100%;
    overflow: hidden;
}

    .content-of-blogs .card-footer {
        margin-top: 30px;
        background-color: white;
    }

.d-of-blog > div {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.right-side-blog {
    display: none;
}

.left-side-blog {
    display: none
}


.content-of-blog {
    width: 100%;
    overflow: hidden;
}

    .content-of-blog > div {
        margin: 30px 10px;
        box-shadow: 0 0 10px 1px lightgray;
        border-radius: 5px;
        padding: 10px;
    }

        .content-of-blog > div > img {
            width: 100%;
            max-width: 600px;
            border-radius: 5px;
            margin: auto;
            display: block;
            width: 100%;
            max-width: 600px;
            border-radius: 5px;
            margin: auto;
            display: block;
            max-height: 450px;
        }

        .content-of-blog > div > h1 {
            font-size: 20px;
            margin: 20px auto;
        }

.description-of-blog {
    margin: 20px auto;
    text-align: justify;
    font-size: 16px;
    line-height: 30px;
}


/*.visited-blog .owl-carousel .owl-stage {
    margin: auto !important;
    max-width: 350px !important;
}*/

/*.visited-blog .owl-carousel.owl-rtl .owl-item {
    width: 100% !important;
}*/

.content-of-blogs .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px;
    padding-top: 20px;
    border-top: 1px solid lightgray;
}

    .content-of-blogs .pagination li {
        margin: auto 5px;
    }

    .content-of-blogs .pagination a,
    .content-of-blogs .pagination span {
        color: black;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        border: 1px solid #bfbbbb;
        width: 35px;
        height: 35px;
        background-color: lightgray;
        border-radius: 5px;
    }

        .content-of-blogs .pagination a:hover,
        .content-of-blogs .pagination span:hover {
            background-color: #bfbbbb;
        }



@media only screen and (min-width: 900px ) {
    .blogList-of-site, .d-of-blog {
        margin: 100px auto;
    }

    .side-of-blogs {
        display: block;
    }

    .content-of-blogs {
        width: 65%;
    }

    .right-side-blog {
        display: block;
        width: 35%
    }

    .content-of-blog {
        width: 65%;
    }
}

@media only screen and (min-width: 1100px ) {
    .right-side-blog {
        width: 25%
    }

    .content-of-blog {
        width: 50%;
    }

    .left-side-blog {
        display: block;
        width: 25%
    }
}
