
.body{
    display: flex;
    min-height: 100%;
    font-family: system-ui, sans-serif;
}
.btn{
    border-radius: 20px;
    padding: 0.32rem 1rem 0.375rem 1rem;
}
.btn, .btn:focus, .btn:active{
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.btn:disabled{
    cursor: default;
}

.icon-btn {
    background: none;
    border-color: transparent;
    color: #28a745;
    line-height: .82em;
    padding: 4px;
    margin: 0px;
    border-radius: 999px;
    width: max-content;
}
.icon-btn:hover{
    background-color: rgba(40, 167, 69, .1);
    transition-duration: .35s;
    cursor: pointer;
}
.icon-btn:active{
    background-color: rgba(40, 167, 69, .23);
    transition-duration: .35s;
}
.icon-btn:focus{
    outline: none;
}
.grey{
    color: #657786;
}
svg{
    vertical-align: text-top;
}

.abs-sidenav{
    position: absolute;
    width: 60%;
}

.sidenav {
    height: 100vh;
    list-style: none;
    z-index: 400;
    background-color: white;
    border-right: 0.5px solid #e6ecf0;

}
.sidenav ul{
    list-style: none;
    padding-left: 0px;
    margin-top: 3vh;
}
.sidenav li{
    margin-top: 7px;
}
.sidenav .nav-link{
    color: #14171a;
    line-height: .7em;
    font-weight: 700;
    padding: 0px;
}
.sidenav .nav-link > div{
    padding: 10px 20px 8px 12px;
    border-radius: 25px;
    line-height: 0.9em;
    width: max-content;
}
.sidenav .nav-link > div:hover{
    color: #17bf63;
    background-color: #e7f8ef;
    transition-duration: .2s;
}
/* .new-post-btn{
    padding-left: 55px !important;
    padding-right: 55px !important;
    font-size: .95em;
    font-weight: 530;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 24px !important;
} */
.user_account{
    display: flex;
    font-size: .82rem;
    font-weight: normal;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    padding-left: 3px !important;
}
.user_account .small-profilepic{
    transform: scale(.82);
    margin-left: auto;
    margin-top: auto;
}
.active a{
    color: #28a745 !important;
}



.main-div{
    /* position: relative; */
    /* width: 47.25%; */
    min-height: 100vh;
    /* left: 21.8%; */
    /*display: flex;
    flex-basis: auto;*/
    overflow-x: hidden;
}
.left-div{
    position: relative;
}
.head{
    height: 7.5vh;
}
.heading{
    position: fixed;
    width: 47.255%;
    top: 0px;
    padding: 18px;
    border-bottom: .5px solid #e6ecf0;
    line-height: .7em;
    font-weight: 800;
    background-color: #fff;
    z-index: 1000;
}

.left-div-content{
    margin-top: 7.5vh;
}

.new-post > div{
    display: flex;
    padding: 8px 18px 8px 18px;
}
.small-profilepic{
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    overflow: hidden;
    margin-right: 8px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: content-box;
}

.textarea {
    display: block;
    width: 100%;
    overflow: auto;
    resize: vertical;
    min-height: 30px;
    line-height: 20px;
    max-height: 68vh;
    outline: none;
    margin-top: 10px;
    cursor: auto;
}
.textarea[contenteditable]:empty::before {
    content: "What's happening?";
    color: gray;
}
.textarea[contenteditable]:empty::before:hover{
    cursor: auto;
}
.form-area{
    width: 100%;
}/*
.form-area textarea{
    width: 100%;
    max-height: 10vh;
}*/
.form-icon-btn{
    margin-left: -6px;
    margin-top: 5px;
    cursor: pointer;
    line-height: .82em;
    padding: 6px 10px;
}

#img-div{
    height:auto;
    width: 100%;
    border-radius: 15px;
    display:none;
    margin-top: 10px;
    margin-bottom: 10px;
    color:white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: scroll;
}

#spinner{
    position:relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
}

#del-img{
    cursor: pointer;
    position: relative;
    z-index: 10;
    left: .6%;
    top: .6%;
    padding: 3px;
    background:none;
    border:none;
    outline:none;
    margin-bottom: 0px;
}
#del-img > svg{
    background-color: rgba(0, 0, 0, 0.77);
    border-radius: 20px;
    padding: 4px;
}
#del-img > svg:hover{
    background-color: rgba(0, 0, 0, 0.67);
}
#del-img > svg:active{
    background-color: rgba(0, 0, 0, 0.6);
}

.form-action-btns{
    margin-top: 8px;
}


.space{
    height: 8px;
    background-color: #e6ecf0;
}
/*.main-div > div{
    margin-top: 10px;
    max-height: 100vh;
    overflow: auto;
}*/



/********** Profile Section **********/
.cover-image{
    height: 210px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ccd6dd;
}
.profile-image{
    width: 160px;
    height: 160px;
    position: absolute;
    left: 15px;
    top: 110px;
    border-radius: 99999px;
    border: 4px solid white;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
}
.profile-details{
    padding: 15px 20px;
}
.profile-details button{
    padding-bottom: 0.3rem;
}
.profile-details > .details-data{
    margin-top: 52px;
    font-size: .92em;
}
.profile-details h5{
    font-weight: 800;
    margin-bottom: 0px;
}
.profile-details a{
    text-decoration: none;
}
.bio{
    margin-top: 8px;
}


/********* Posts Section **********/

@keyframes hidee{
    0%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

.post{
    background-color: white;
    border-top: 1px solid #e6ecf0;
    padding: 8px 0px 18px 0px;
    font-size: .9em;
    animation-duration: .4s;
    animation-fill-mode: forwards;
    animation-play-state: paused;
}
/*.post:hover{
    background-color: #f5f8fa;
    transition-duration: .4s;
    cursor: pointer;
}*/
.post > div{
    display: flex;
}
.post a{
    text-decoration: none;
    color: black;
}
.post-main{
    flex: 1;
}
.post-user{
    display: flex;
    justify-content: space-between;
}

.dropdown-item{
    padding-bottom: 13px;
    padding-top: 13px;
    font-size: .9em;
    color: #3f4244;
}
.dropdown-item:active{
    background-color: #f3f4f5;
    color: rgb(65, 56, 56);
    transition-duration: .1s;
}
.dropdown-item:focus{
    outline: none;
}
.post-content{
    margin-top: 5px;
}
.post-image{
    height: 290px;
    width: 100%;
    border-radius: 15px;
    margin-top: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.post-actions{
    display: flex;
    flex: 1;
    align-items: stretch;
    justify-content: space-evenly;
    color: #657786;
    margin-top: 10px;
}
.post-actions > div{
    line-height: 1em;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    display: flex;
}
.post-actions .like:hover{
    color: #e0245e;
    transition-duration: .2s;
}
.post-actions .comment:hover{
    color: #1da1f2;
    transition-duration: .2s;
}
.post-actions .save:hover{
    color: #17bf63;
    transition-duration: .2s;
}
.post-actions .svg-span{
    padding: 6px;
    max-height: max-content;
    border-radius: 999px;
    line-height: .68em;
}
.post-actions .like:hover .svg-span{
    color: #e0245e;
    background-color: #f3e3eb;
    box-shadow: 0 0 0 3px #f3e3eb;
    transition-duration: .2s;
    cursor: pointer;
}
.post-actions .comment:hover .svg-span{
    color: #1da1f2;
    background-color: #dfeffa;
    box-shadow: 0 0 0 3px #dfeffa;
    transition-duration: .2s;
    cursor: pointer;
}
.post-actions .save:hover .svg-span{
    color: #17bf63;
    background-color: #def2eb;
    box-shadow: 0 0 0 3px #def2eb;
    transition-duration: .2s;
    cursor: pointer;
}

.comment-div{
    margin: 10px 0px;
    padding-left: 10px;
    max-height: 45vh;
    overflow: hidden;
}
.comment-div #spinner{
    transform: translate(-50%, 0%);
}
.comment-div > div{
    width: 100%;
}
.head-comment-input{
    width: 100%;
    display: flex;
}

@keyframes godown{
    0%{
        margin-top: -10px;
        opacity: .7;
    }
    100%{
        margin-top: 10px;
        opacity: 1;
    }
}

.eachrow{
    display: flex;
    margin-top: 10px;
    width: 90%;
}
.godown{
    animation-name: godown;
    animation-duration: .3s;
    animation-fill-mode: forwards;
}
.comment-div .small-profilepic{
    width: 30px;
    height: 30px;
}
.comment-input-div{
    width: 100%;
    height: 100%;
    border-radius: 17px;
    background-color: #f0f2f5;
    overflow: hidden;
    padding: 0px 10px;
    transition-duration: .4s;
}
.post:hover .comment-input-div{
    /*background-color: white;*/
    transition-duration: .4s;
}
.comment-input-div form{
    height: 100%;
}
.comment-input-div input{
    background: none;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 1.1em;
}
.comment-text-div{
    padding:8px 13px;
    background-color: #f0f2f5;
    border-radius: 17px;
    cursor: auto;
    display: inline-block;
}
.post:hover .comment-text-div{
    /*background-color: white;*/
    transition-duration: .4s;
}
.comment-text-div a{
    font-size: .93em;
    font-weight: 630;
}
.comment-text-div a:hover{
    text-decoration: underline;
}

.pagination-bar{
    margin-top: 35px;
    margin-bottom: 35px;
}
.pagination-bar .page-link{
    line-height: .9em;
}
.page-item.active .page-link{
    color: white !important;
    background-color: #28a745;
    border-color: #28a745;
}
.page-link{
    color: #28a745;
}
.page-link:hover{
    color: #218838;
}
.page-link:focus{
    box-shadow: none !important;
    z-index: 0;
}

.sidenav-container{
    position: fixed;
}


.right-div{
    height: 100vh;
    border-left: .5px solid #e6ecf0;
    background-color: white;
}
.right-div .head{
    padding: .9vh 1.5vw;
}
.right-div .search-div{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    /*width: min-content;*/
    border-radius: 25px;
    background-color: #e6ecf0;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
}
#search-box{
    height: 5.7vh;
    border: none;
    background: none;
    outline: none;
    width: 100%;
    margin-left: 8px;
}
#search-box::placeholder{
    color: #6d7e8c;
}


.right-div-content{
    height: 92.5vh;
    overflow: auto;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
}
.suggestion-box, .guest-box{
    border-radius: 15px;
    overflow: hidden;
    background-color: #f5f8fa;
}
.user-details #user-name:hover{
    text-decoration: underline;
}
.suggestion-header{
    padding: 13px 15px;
    line-height: .9em;
    font-weight: 800;
    border-bottom: .5px solid #e6ecf0;
}
.suggestion-user{
    display: flex;
    padding: 10px 15px;
    font-size: .9em;
    border-bottom: .5px solid #e6ecf0;
}
.suggestion-user:hover{
    background-color: #edf0f4;
    cursor: pointer;
    transition-duration: .2s;
}
.suggestion-user  a{
    color: black;
    text-decoration: none;
}
.user-details{
    flex: 1;
    line-height: 1.1em;
    padding: 5px 0px 7px 0px;
}
.suggestion-user .btn{
    padding: 0em 1em .09em 1em;
}
.suggestion-footer{
    padding: 13px 15px;
    line-height: .9em;
}
.suggestion-footer a{
    text-decoration: none;
}

.guest-header{
    padding: 13px 15px 8px 15px;
    line-height: .9em;
    font-weight: bolder;
}
.guest-header h5{
    margin-bottom: 0px;
}
.guest-content{
    padding: 0px 15px 10px 15px;
    font-size: .88em;
}
.guest-btn{
    padding: 0px 15px 15px 15px;
}



.right-div-content::-webkit-scrollbar{
    visibility: hidden;
    width: 8px;
    transition-duration: .5s;
    background-color: transparent;
}

.right-div-content:hover::-webkit-scrollbar, .right-div-content:hover::-webkit-scrollbar-thumb{
    border-radius: 8px;
    background-color: grey;
    transition-duration: .5s;
}


.blackout{
    position: fixed;
    width: 100vw;
    height: 100%;
    background-color: rgba(0,0,0,.25);
    display: none;
    z-index: 5499;
}

@keyframes large_popup{
    0%{
        transform: scale(.9);
    }
    100%{
        transform: scale(1);
    }
}

@keyframes small_popup{
    0%{
        transform: scale(.8);
    }
    100%{
        transform: scale(1);
    }
}


.popup{
    display: none;
    top: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999999;
    justify-content: center;
    backdrop-filter: blur(3px);
}
.popup .btn{
    padding-left: 30px;
    padding-right: 30px;
}
.small-popup{
    display: none;
    position: absolute;
    top: 200px;
    left: calc(50% - 100px);
    right: calc(50% - 100px);
    width: 200px;
    margin: auto;
    transform: translate(-50%,-50%);
    background-color: white;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    overflow: auto;
    border-radius: 17px;
    animation-name: small_popup;
    animation-duration: .2s;
    animation-fill-mode: forwards;
}
.large-popup{
    display: none;
    position: absolute;
    top: 34px;
    /* left: 25%; */
    /* width: 47.5%; */
    max-height: 90vh;
    transform: translate(-50%,-50%);
    background-color: white;
    padding: 24px 20px 15px 20px;
    overflow: auto;
    border-radius: 17px;
    animation-name: large_popup;
    animation-duration: .2s;
    animation-fill-mode: forwards;
}
.large-popup div{
    display: flex;
}
.large-popup form{
    margin-top: 5px;
    width: 100%;
}
.large-popup textarea{
    width: 100%;
    outline: none;
    border: none;
}
.large-popup hr{
    margin: 0px;
}
.large-popup textarea:focus hr{
    color: #28a745;
}
.large-popup .form-action-btns{
    display: flex;
    justify-content: space-between;
}
.large-popup .float-right{
    margin-left: 10px;
}


.login-popup{
    display: none;
    position: absolute;
    top: 65px;
    width: 250px;
    max-height: 90vh;
    transform: translate(-50%,-50%);
    background-color: white;
    padding: 15px 20px 15px 20px;
    overflow: auto;
    border-radius: 17px;
    animation-name: large_popup;
    animation-duration: .2s;
    animation-fill-mode: forwards;
}

.login-popup .icon-btn{
    margin-left: -10px;
    margin-top: -5px;
}
.login-popup .main_text-div{
    margin-top: 55px;
}
.login-popup .btn-div{
    margin-top: 65px;
    margin-bottom: 35px;
}
.login-popup .btn-div button{
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

/*.blackout{
    width: 100vw;
    height: 100vh;
    z-index: 10000;
}*/

::-webkit-scrollbar-track {
    background: none;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}


.carousel-inner{
    height: 200px;
}