

/* ----------------------        page_post           ------------------------- */




.post-box a,a:hover{
    color: aliceblue;
    text-decoration: none;
}
.post-page{
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    padding: 1rem;
    background-color: rgb(18, 18, 19);
    min-height: 78vh;

}
.post-back{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}
.post-box {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    border-radius: 15px;
    box-shadow: 2px 2px 10px black;
    padding: 2rem;
    color: aliceblue;
    background-color:rgba(0, 0, 0, 0.438);
    backdrop-filter: blur(5px);
    background-blend-mode: darken;
}
.post-page .post-box .category_color{
    font-size:13px ;
    text-shadow: 2px 2px 3px black;
}
.post-box .image{
    width: 40%;
    height: 300px;
    overflow: hidden;
    border-radius:5px ;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.post-box .image img{
    width: 100%;
}
.post-box .content{
    padding: 0 3rem 0 1rem;
    width: 60%;
}
.post-box .titr{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.post-box .full_time{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.post-box .full_time h5{
    margin: 0 1rem 0 1rem;
    font-size: 14px;
}
.post-box .date_time{
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.418);
    font-size: 14px;

}
.post-box .time{
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.418);
    font-size: 14px;
}
.post-box .date{
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 10px;
    align-items: center;
    margin-top: 1rem;

}
.post-page .post-box .date span{
    font-size: 14px;
}
.post-page .post-box .text{
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.418);
    font-size: 14px;
} 
.post-box .profile{
    display: flex;
    justify-content: start;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.418);
    font-size: 13px;

}
.post-box h5{
    margin: 0;
    font-size: 13px;
}
.comment-box {
    display: flex;
    width: 100%;
    justify-content: start;
    padding: 2rem;
    flex-direction: column;
}
.comment-box form{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: start ;
}
.comment-box .form_row{
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
}
.comment-box .form_row label{
    width: 20%;
}
.comment-box .form_row textarea{
    width: 100%;
    padding: 1rem;
    color:white;
    border: none;
    outline: none;
    background-color: rgb(29, 29, 29);
}
.comment-box .sub-form{
    margin: 1rem 1rem 1rem 0;
}



/* -----------------------         post-list          ----------------------- */




.post_lists{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    background-color: rgb(31, 29, 28);
    padding: 4rem;
    min-height: 78vh;
}
.post_lists .order {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.post_lists .order h5{
    font-size: 12px;
    color: aliceblue;
    display: none;
}
.post_lists .search{
    width: 30%;
}
.post_lists .search form{
    width: 100%;
    padding-bottom: .5rem;
    border-bottom: 1px solid white;
}
.post_lists .search form input{
    width: 100%;
    padding: .5rem 1rem;
    background-color: transparent;
    border: none;
    outline: none;
    color: aliceblue;
}
.post_lists form{
    width: 60%;
    display: flex;
    justify-content: start;
    align-items: center;
}
.post_lists .form_row{
    display: flex;
    justify-content: space-between;
    width: 70%;
}
.post_lists .form_row label{
    display: flex;
    justify-content: start;
    align-items: center;
    color: aliceblue;
    margin: 0;
    width: 20%;
}
.post_lists .form_row select{
    width: 80%;
    outline: none;
    border: none;
    background-color: rgb(37, 37, 37);
    color: aliceblue;
    padding: .5rem 1rem;
    border-radius: 5px;
}
.post_lists .confirm{
    margin-right: 1rem;
}
.post_lists .confirm button{
    padding: .5rem 3rem;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border-radius: 8px;
    font-size:14px ;
}
.post_lists .confirm button:hover{
    background-color: rgb(252, 187, 66);
    color: aliceblue;
}
.post_lists .box{
    padding: 1rem;
    background-color: rgb(15, 15, 15);
    display: flex;
    align-items: start;
    justify-content: start;
    border-radius: 5px;
    box-shadow: 1px 1px 15px rgb(24, 23, 23);
}
.post_lists .box .image{
    width: 25%;
    height: 190px;
    border-radius: 5px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.post_lists .box img{
    width: 130%;
}
.post_lists .content{
    padding-right: 2rem;
    width: 80%;
    color: white;
    font-size: 13px;
    line-height: 1.5rem;
}
.post_lists .titr{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.post_lists .category_color{
    padding: .5rem 1.5rem;
    margin: 0;
    font-size: 14px;
}
.post_lists .full_time{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.post_lists .full_time h5{
    margin: 0 1rem 0 1rem;
    font-size: 14px;
}
.post_lists .date_time{
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.418);
    font-size: 14px;

}
.post_lists .time{
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.418);
}
.post_lists .date{
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 10px;
    align-items: center;
}
.post_lists .text{
    margin-top: 1rem;
    padding-top: 1rem;    
    padding-left: 1rem;

} 
.post_lists .auth-but{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
}
.post_lists .profile{
    display: flex;
    justify-content: start;
    align-items: center;

}
.auth-but .btn{
    margin: 0;
    padding: 0;    
    padding-left: 1rem;
}
.btn form button{
    border-radius: 4px;
    background-color: black;
    color: aliceblue;
    border: none;
}
.post_lists .post-link,.post-link:hover{
    margin: 0;
    padding: .5rem 2rem !important;
    border-radius: 4px;
    background-color: rgb(29, 28, 28);
    color: rgb(172, 172, 172);
    font-size: 14px;
}
.btn .post-link:hover{
    color: aliceblue;
}

.post_lists h4{
    margin: 0;
}





/* ------------------   post-category    -------------------- */



.post_category{
    padding: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: rgb(21, 21, 22);
    min-height: 78vh;
}
.post_category .search-result{
    color: white;
}
.post_category .services{
    width: 90%;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
    margin: 0!important;
}
.post_category .servis__menu{
    width: 20%;
    list-style-type: none;
    margin: 1rem;
}
.post_category .service_item{

    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items:center ;
    width: 100%;
    background-color: rgb(0, 0, 0);
    border-radius: 5px;
    margin: 20px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    color: aliceblue;
    font-size: 14px;


}
.post_category .p-category,.p-category:hover{
    text-decoration:none ;
    color:rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
    padding: .5rem;
    border-radius: 0px;
    border-bottom-right-radius: 20px;
    position: absolute;
    left: 0rem;
    top: 0rem;
    box-shadow: 2px 2px 10px rgb(0, 0, 0);

}
.post_category .service_item:hover  {
    transform: scale(1.03);
    transition: all 0.3s ease;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    box-shadow: 6px 3px 13px black;
}
.post_category .img{
    width: 100%;
    height: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 190px 100px;

}
.post_category .post-box .category_color{
    width: 100%;
}
.post_category .dis{
    font-size: 15px;
    line-height: 25px ;
    margin: 1rem 2rem 1rem 2rem;

}
.post_category .title{

    font-size: 20px;
    line-height: 28px;
    text-align: center;
    margin-top: 10px;
   
}
.post_category .auth{
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}
.post_category .botton{
    cursor: pointer;
    margin-bottom: 2rem;
    background-color: rgb(204, 161, 42);
    border-radius: 25px;
    border-style: hidden;
    color: rgb(255, 255, 255);
    position: relative;
    width: auto;
    margin-top: 2rem;

}
.post_category .auth h4{
    margin:0 .5rem 0 0 ;
    font-size: 14px;
}
.post_category .botton button{
    border: none;
    background-color: transparent;

}
.post_category .botton button a ,a:hover{
    color: aliceblue;
    text-decoration: none;
    border: none;
    background-color: transparent;
}
/* --------------------------   ****    resposive dasboard   *****    ---------------------------- */

@media only screen and (max-width: 1200px) {
    
    /* ---------- post-page */

    .post-page .post-box .date_time h5{

    font-size: 11px;

    }
    .post-page .post-box .time h5{

    font-size: 11px;

    }
    .post-page .post-box .date span{

    font-size: 11px;

    }

}
@media only screen and (max-width: 980px) {
    
    /* ------------- postlist */
    .post_lists .box {

    }
    .post_lists .date {
        flex-direction: column;
        align-items: start;
        margin-top: 1rem;
    }
    .post_lists .date .view_count{
        border: none !important;
    }
    .post_lists .time {
        border-left: none;
    }
    /* -------------- search */
    .post_lists .order {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
    .post_lists form {
        width: 100%;
        justify-content: center;
    }
    .post_lists .order .search {
        width: 100%;
    }
    
}
@media only screen and (max-width: 960px) {
    
    /* ------------- post page */
    .post-box .date {
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    .post-box .time {
        border: none;
    }
    
}
@media only screen and (max-width: 750px) {
    
    /* ------------- postlist */
    .post_lists .box{
        flex-direction: column;
    }
    .post_lists .box .image{
        width: 100%;
    }
    .post_lists .box .content{
        width: 100%;
        margin-top: 1rem;
    }
    .post_lists .form_row {
        width: 80%;
    }
    .post_lists .confirm {
        width: 20%;
    }
    .post_lists .confirm button {
        width: 100%;
        padding: .5rem 1rem;
        font-size: 11px;
    }
    .post_lists .form_row label {
        display: none;
        
    }
    .post_lists .order h5{
        display: flex;
        margin-bottom: 1rem;
    }
    .post_lists .form_row select {
        width: 95%;
    }
    /* ------------- post page */
    .post-box {
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    .post-box .content {
        width: 100%;
        padding: .5rem;
    }
    .post-box .image {
        width: 100%;
    }
}
@media only screen and (max-width: 475px) {
    
    /* ------------- postlist */
    .post_lists .content {
        padding-right: .5rem;
    }
    .post_lists .full_time {
        align-items: start;
       flex-direction: column;
    }
    .post_lists .date_time{
        border: none;
    }
    .post_lists .full_time .time{
       margin-top: 1rem;
    }
    .post_lists .full_time .time i {
       margin-right: 0 !important;
    }
    .post_lists .titr a div, h4{
        font-size: 12px;
    }
    .post_lists .text {
        font-size: 12px;
    }
    .post_lists .auth-but {
        flex-direction: column;
        justify-content: end;
        align-items: end;
    }
    .post_lists .auth-but .auth{
      margin-bottom: 1rem;
      margin-left: 2rem;
    }
    .auth-but .btn {
        padding-left: 0;
    }
    .post_lists .confirm {
        width: 35%;
    }
    .post_lists .form_row {
        width: 60%;
    }
}
@media only screen and (max-width: 365px) {
    /* ------------- post page */
    .post-box .full_time {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: start;
    }
    .post-box .date_time {
       margin-bottom: 1rem;
       border: none;
    }
    .post-box .time i{
        margin-right: 0 !important;
    }
}


