﻿
.blog {
    margin-top: 50px;
    min-height: 60vh;
    background-color: #f7f7f7;
    width: 100%;
    color: #212121
}

.no-post {
    min-height: 40vh;
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-blog {
    padding: 20px 0;
}

.blog-body {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    margin: 25px;
    padding: 10px;
    background-color: #fffedc;
    position: relative;
    border-radius: 10px;
}
.box-body {
    margin: 5px;
    padding: 5px;
    background-color: white;
    position: relative;
    border-radius:20px 20px 0 0;

}


 .box-body button {
    outline: none;
    background-color: transparent;
    color:grey;
    border:none;
}

   .box-body .arrowleft {
        position: absolute;
        height: 95%;
        width: 30px;
        display: flex;
        align-content: center;
        justify-items: center;

        
    }

    .box-body .arrowleft i {
        color: white;
        text-shadow: 3px 3px 4px black;
        font-size: large;
    }

     .box-body .arrowright {
        position: absolute;
        height: 95%;
        width: 30px;
        display: flex;
        align-content: center;
        justify-items: center;
        right: 7px;
    }

        .box-body .arrowright i {
            color: white;
            text-shadow: 3px 3px 4px black;
            font-size: large;
        }


        .box-body .arrowright:hover {
            background-color: #56565628;
            border-radius: 0px 30px 30px 0px;
        }

    .box-body .arrowleft:hover {
        background-color: #56565628;
        border-radius: 30px 0 0 30px;
    }


.blog-body a, .box-body a{
    color: black;
    text-decoration: none;
}

.main-blog .form-control{

}

.blog-header {
    display: block;
    margin-bottom: 5px;
    height: fit-content;
    padding: 5px;
    clear: both;
}

    .blog-header h4 {
      
    }

.blog-content {
    margin-top: 15px;
    background: linear-gradient(180deg, #f6f370 50%, #fef806);
    border-radius: 20px;
    padding: 5px;
}

.blog-desc {
    background: linear-gradient(180deg, #a32c30 50%, #720d11);
    border-radius: 20px;
    padding: 10px;
}

    .blog-desc .fa {
        color: rgb(208, 120, 57);
    }

    .blog-desc a {
        color: white;
        text-decoration: none;
    }

.no-display {
    display: none;
}

.blog_image {
    min-width: 100%;
    max-width: 100%;
    margin: 10px;
    padding: 10px;
    display: block;
}

    .blog_image img {
        text-align: center;
        max-width: 100%;
    }

    .blog-title{
        margin-left:10px;
    }
    .blog-title h4{
        color:#720d11
    }

.blog-media {
    display: block;
    overflow: auto;
    overflow-y: hidden;
    white-space: nowrap;
    height: 400px;
}



    .blog-media::-webkit-scrollbar {
        /* height: 4px;*/
        display: none;
    }

/* Track */
    .blog-media::-webkit-scrollbar-track {
        background: rgb(208, 120, 57);
        display: none;
    }

/* Handle */
    .blog-media::-webkit-scrollbar-thumb {
        background: rgb(117, 70, 37);
        display: none;
    }

    /* Handle on hover */
        .blog-media::-webkit-scrollbar-thumb:hover {
            background: #8e6d13;
            display: none;
        }


    .blog-media .media-content {
        display: inline-block;
        width: 100%;
    }


        .blog-media .media-content .media-box {
            height: 400px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
        }

        .blog-media .media-content img {
            max-width: 100%;
            max-height: 400px;
            object-fit: cover;
            margin: 0;
        }

        .blog-media .media-content video {
            width: auto;
            max-height: 400px;
            object-fit: cover;
            margin: 0;
        }

        .blog-body .blog-media
        {
         height: 250px    
        }

.blog-body .blog-media .media-content .media-box {
    height: 250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.blog-body .blog-media .media-content img {
    max-width: 100%;
    max-height: 250px;
    object-fit: cover;
    margin: 0;
}

.blog-body .blog-media .media-content video {
    margin: 0;
    width: auto;
    max-height: 250px;
    object-fit: cover;
}
            .blog-media .media-content img:hover {
                transform: scale(1.5);
            }



/*POST DETAILING AREA*/
.post-content {
    width: 100%;
    color: black;
    background-color: white;
    min-height: 50vh;
    margin-top: 50px;
    padding: 20px 0;
}
    .post-content h1 {
       
    }
    .post-content p {
      
    }

    .post-content .top_search .form-control {
        border-radius: 20px 0 0 20px;
    }
    .post-content .main-title{
        border-bottom: 1px solid #f7f7f7; 
        margin-bottom:10px;
    }
    .post-content .main-title h1{
      color: #720d11;
    }
    .post-content .main-title p{
        line-height: 5px;
    }

    .post-content .comments-area {
        border-left: solid 1px #f7f7f7;
        padding-left: 20px;
    }

    .post-content .new-post img {
        max-height: 30px;
        text-align: right;
    }

    .post-content .blog-search {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

     .comment-body {
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
        margin: 25px;
        padding: 10px;
        border-radius: 10px;
        background-color: #f9f9f9;
    }
        .comment-body p {
            line-height: 5px;
        }
        .comment-body .comment {
            font-family: 'Karla', sans-serif;
            line-height: 17px;
        }

        .post-content .container img{
            max-width:100%;
        }

.new-post {
    overflow: hidden;
    display: block;
    padding:10px;
}

.new-post .form-control{
    border-radius:25px;
    margin-left:3px;
    margin-right:5px;
}
    .new-post .form-control:focus, .new-post .form-control:hover {
        border: thin;
        border-color: dimgrey;
        outline: none;
        box-shadow: rgb(108, 108, 108, 0.68) 0px 2px 4px;
    }

    .new-post h3 {
        color: teal;
    }

    .new-post .form-control {
        min-width: 100%;
    }

.new-post-btn {
    z-index: 20000;
    display: none;
    position: fixed;
    bottom: 34px;
    right: 30px;
    border-radius: 50%;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    padding: 19px 10px;
    background-color: teal;
    color: white;
}

    .new-post-btn button {
        outline: none;
        border-style: none;
        background-color: teal;
    }

    .new-post-btn:hover {
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    }

.btn_new_post {
    border-radius: 10px;
    float: none;
    text-align: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    padding: 10px;
    margin: 5px;
}

.btnpost_holder {
    text-align: center
}

.btn_new_post:hover, .btn_new_post:focus {
    background-color: teal;
    color: white;
}


.img_post {
    float: right;
}

.blog-category {
    display: none;
}


@media screen and (max-width: 768px) {

  

    /*
    .new-post {
        display: none;
        z-index: 50000;
        position: fixed;
        top: 150px;
        left: 5%;
        width: 90%;
        background-color: white;
    }
*/
    .new-post-btn {
        display: block;
    }

    .new-post .form-control {
        min-width: 100%;
    }

    .w-100 {
        width: 100%;
    }

    .post-content .comments-area {
        margin-left: 20px;
    }
}
