body {
    margin: 0;
    font-family: Rubik, sans-serif;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

nav {
    max-width: 1440px;
    margin: auto;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(78, 77, 77, 0.5);
    border-radius: 20px;
}

.leftmenu::-webkit-scrollbar-thumb,
.rightmenu::-webkit-scrollbar-thumb {
    background: rgba(78, 77, 77, 0.5);
    border-radius: 20px;
    display: none;
}

.leftmenu:hover::-webkit-scrollbar-thumb,
.rightmenu:hover::-webkit-scrollbar-thumb {
    display: block;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* animation start */

.fade-in {
    opacity: 0;
}

.fade-in.active {
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

.anim {
    opacity: 0;
    transform: translateY(80px);
    scroll-behavior: smooth;
}

.anim1 {
    opacity: 0;
    transform: translateX(-80px);
    scroll-behavior: smooth;
}

.anim2 {
    opacity: 0;
    transform: translateX(80px);
    scroll-behavior: smooth;
}

.anim.active {
    opacity: 1;
    transform: translateY(0);
    transition: transform .85s ease-in;
}

.anim1.active,
.anim2.active {
    opacity: 1;
    transform: translateX(0);
    transition: transform .45s ease-in;
}

.text-justify {
    text-align: justify;
}

.text-underline-hover:hover {
    transition: all 0.25s ease;
    text-decoration: underline;
}

.hoverbtn {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hoverbtn:hover {
    opacity: 1;
}

.hoverable:hover>.hoverbtn,
.hoverable:hover+.hoverbtn {
    opacity: 1;
}

.btn-bg-hover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    transition: all 0.25s ease;
    text-align: center;
    cursor: pointer;
    padding: 2px;
    width: 26px;
    height: 26px;
    text-wrap: nowrap;
}

.btn-bg-hover:hover {
    background-color: rgba(128, 128, 128, 0.5);
    color: white;
}

/* animation end */


/* nav bar start*/

header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 0 10px grey;
    z-index: 9999;
}

header nav {
    width: 80%;
    margin: auto;
}

.text-whitegreen {
    color: rgb(127, 202, 248);
}

.text-darkgreen {
    color: rgb(19, 83, 122);
}

.nav-link.active::after {
    width: 82%;
}

header .nav-link:hover::after {
    width: 82%;
}

.userdetails {
    position: absolute;
    top: 50px;
    right: 5%;
    border-radius: .5rem;
    box-shadow: 0 0 10px rgba(103, 101, 101, 0.5);
    z-index: 9999;
    padding: 0.5rem;
    scroll-behavior: smooth;
    transition: all 0.25s ease;
    display: none;
}

/* search section start */
.search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2;
    border-radius: 50px;
    background-color: rgba(128, 128, 128, 0.5);
    min-width: 100px;
    max-width: 200px;
    padding: 0.35rem 1rem 0.35rem 1rem;
    cursor: pointer;
    transition: min-width 0.25s ease;
}

.search-bar.active {
    position: absolute;
    top: 0;
    left: 0.5rem;
    min-width: 300px;
    z-index: 999;
    transform: translateY(-50%);
    background-color: rgb(var(--bs-success-rgb));
}

.search-bar input {
    background: transparent;
    outline: none;
    border: none;
    color: white;
    font-weight: 500;
    letter-spacing: 2px;
    width: 85%;
}

.search-bar input::placeholder {
    color: white;
    font-weight: 500;
    letter-spacing: 2px;
}

.search-suggestion {
    background-color: white;
    border-radius: 0.5rem;
    color: rgb(128, 128, 128);
    box-shadow: 0 0 10px rgba(128, 128, 128, 0.5);
    overflow: hidden;
    display: none;
}

.search-suggestion.active {
    position: absolute;
    top: 20px;
    left: 0.5rem;
    width: 300px;
    display: block;
}

.search-suggestion li {
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
    list-style: none;
    border-bottom: 1px dashed rgba(128, 128, 128, 0.3);
    text-transform: lowercase !important;
}

.search-suggestion li i {
    margin-right: 0.5rem;
}

.search-suggestion li:hover {
    background-color: rgba(128, 128, 128, 0.5);
}

.search-suggestion li.selected {
    background-color: rgba(128, 128, 128, 0.5);
}

/* search section end*/
/* nav bar end*/
.bg-blur-10 {
    filter: blur(10px);
}

.line-height-100 {
    line-height: 100%;
}

.font-8px {
    font-size: 8px;
}

.font-10px {
    font-size: 10px;
}

.bg-blue1 {
    background-color: hsl(196.52deg 89.59% 10.82%) !important;
}

.bg-blue2 {
    background-color: lab(22 -12.56 -19.33) !important;
}

.bg-dark {
    background-color: black !important;
}

.bg-red-400 {
    background-color: rgba(244, 114, 114, 0.4);
}

.bg-yellow-400 {
    background-color: rgba(244, 194, 114, 0.4);
}

.bg-palegreen-400 {
    background-color: rgba(206, 229, 102, 0.4);
}

.bg-green-400 {
    background-color: rgba(103, 229, 118, 0.4);
}

.bg-whiteblue-400 {
    background-color: rgba(114, 216, 244, 0.4);
}

.bg-purple-400 {
    background-color: rgba(153, 114, 244, 0.4);
}

.bg-pink-400 {
    background-color: rgba(242, 114, 244, 0.4);
}

.vh-50 {
    height: 50vh;
}

.vh-90 {
    height: 90vh;
}

.w-5 {
    width: 5%;
}

.w-10 {
    width: 10%;
}

.w-80 {
    width: 80%;
}

.w-90 {
    width: 90%;
}

.w-95 {
    width: 95%;
}

.w-152px {
    width: 152px;
}

.h2rem {
    height: 2.0rem;
}

.min-vh-40 {
    min-height: 40vh;
}

.max-vh-40 {
    max-height: 40vh;
}

.btn-whitegreen {
    background-color: rgb(49, 167, 241) !important;
    color: black;
}

.form-control2 {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgb(209 213 219 /1);
    background-clip: padding-box;
    border: 0;
    border-radius: 5px;
    transition: box-shadow 0.15s ease-in-out;
}

.form-control2:focus {
    outline: none;
}

@media (max-width:1560px) {
    .w-lg-80 {
        width: 100%;
    }
}

.z_index_auto {
    z-index: inherit;
}

.top-10 {
    top: 10%;
}

.top-40 {
    top: 40%;
}

.top-80 {
    top: 80%;
}

.right-10 {
    right: 10%;
}

.right-20 {
    right: 20%;
}

.vertical-top {
    vertical-align: top;
}

.vertical-middle {
    vertical-align: middle;
}

.shadow2 {
    box-shadow: 0 0.5rem 1rem rgba(58 155 227 / 58%);
}

.text-shadow2 {
    text-shadow: 0 0.5rem 1rem rgba(58 155 227 / 58%);
}

.opacity-5 {
    opacity: 0.5;
}

.overlay-shadow {
    background-color: rgba(0, 0, 0, 0.4);
}

a {
    text-decoration: none;
    color: grey;
}

.cursor-pointer {
    cursor: pointer;
}

.z-10 {
    z-index: 10;
}

.bg-grey-400-hover:hover {
    background-color: var(--bs-gray-400) !important;
    transition: background-color 0.3s ease-in-out;
}

.text-secondary-hover {
    color: var(--bs-gray);
}

.text-secondary-hover:hover {
    color: var(--bs-white);
}

.modal {
    min-width: 60% !important;
}

.placeholderbox {
    position: relative;
}

.placeholdertext {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    color: #999;
    white-space: nowrap;
}

/* index section start */
.left #leftmenubtn,
.right #rightmenubtn {
    display: none;
}


.maincontainer {
    display: flex;
    position: relative;
}

.leftmenu {
    flex: 0 0 200px;
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 20%;
    overflow-y: auto;
    transition: 0.25s ease;
}

.leftmenu .sidebar {
    background-image: url(../images/leftmenu1.jpg);
    background-color: rgba(0, 0, 0, 0.1);
    object-fit: cover;
    background-blend-mode: hard-light;
    background-repeat: no-repeat;
    background-size: cover;
}

.middlemenu {
    flex: 1;
    overflow-y: auto;
    width: 60%;
    margin-left: 28%;
    margin-right: 28%;
    transition: 0.25s ease;
}

.rightmenu {
    flex: 0 0 200px;
    /* background-color: #f0f0f0; */
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    width: 20%;
    overflow-y: auto;
    transition: 0.25s ease;
}

.menuvisible {
    display: block !important;
    position: fixed;
    top: 56px;
    width: 300px !important;
    height: 100vh;
    z-index: 99999;
    background: white;
    box-shadow: 3px 10px 5px rgba(0, 0, 0, 0.5);
}

@media (width<=440px) {
    .search-box .search-icon span:nth-child(2) {
        display: none;
    }
}

@media (width<=840px) {
    .right #rightmenubtn {
        display: flex;
        transition: 0.25s ease;
    }

    .leftmenu {
        width: 25%;
        transition: 0.25s ease;
    }

    .rightmenu {
        display: none;
        transition: 0.25s ease;
    }

    .middlemenu {
        width: 75%;
        padding-left: 26%;
        padding-right: 0;
        margin: 0 20px;
        transition: 0.25s ease;
    }
}

@media (width<=700px) {
    nav {
        padding: 0 !important;
    }

    .left #leftmenubtn {
        display: flex;
        transition: 0.25s ease;
    }

    .leftmenu {
        display: block;
        flex: none;
        position: initial;
        width: 100%;
        transition: 0.25s ease;
    }

    .rightmenu {
        display: none;
        transition: 0.25s ease;
    }

    .middlemenu {
        width: 100%;
        padding: 0;
        margin: 0 8px;
        transition: 0.25s ease;
    }
}

@media (width>=1560px) {

    .leftmenu,
    .rightmenu {
        width: 12% !important;
    }
}

/* reaction section start */
.total_reactions a {
    display: flex;
    text-align: center;
    align-items: center;
}

.icon-btn {
    padding: 0.5rem;
    color: grey;
    transition: all 0.5s ease;
}

.icon-btn a:hover {
    background-color: grey;
    border-radius: 5px;
    color: white;
    transition: all 0.3s ease-in-out;
}

.reaction-icons {
    position: absolute;
    top: -28px;
    left: -10%;
    background-color: grey;
    border-radius: 5px;
    padding: 0.5rem;
    transition: all 0.5s ease-in-out;
}

.reaction-icons a {
    display: flex;
    align-items: center;
    text-align: center;
}

.reaction-icons.d-flex {
    transition: all 0.5s ease-in-out;
}

.showreact {
    border: 2px solid white;
    border-radius: 100%;
    background-color: rgba(128, 128, 128, 1);
    margin-right: -5px;
    text-align: center;
    width: 24px;
    height: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.icon {
    background-color: rgb(255, 255, 255);
}

.icon-bg-grey {
    background-color: rgb(117, 115, 115);
    transition: all 0.25s ease;
}

.icon-bg-white-hover:hover,
.reaction-btn:hover>.icon-bg-white-hover,
a:hover>.icon-bg-white-hover {
    background-color: white;
}

.icon-bg-white {
    background-color: rgb(255, 255, 255);
    transition: all 0.25s ease;
}

.icon-bg-red {
    background-color: rgba(206, 2, 2, 0.8);
    transition: all 0.25s ease;
}

.icon-bg-red-hover:hover {
    background-color: rgba(206, 2, 2, 0.8);
    transition: all 0.25s ease;
}

.icon-bg-green {
    background-color: rgba(46, 206, 2, 0.8);
    transition: all 0.25s ease;
}

.icon-bg-green-hover:hover {
    background-color: rgba(46, 206, 2, 0.8);
    transition: all 0.25s ease;
}

.icon-bg-grey-hover:hover,
.reaction-btn:hover>.icon-bg-grey-hover {
    background-color: rgb(54, 53, 53);
}

.reaction-btn.selected {
    display: flex;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: center;
}

.reaction-btn.selected span:last-child {
    padding-left: 5px;
}

/* reaction section end */
/* comment section start */
.comment_create_box {
    display: flex;
    position: relative;
    align-items: end;
    justify-content: space-between;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 2px solid rgba(128, 128, 128, 0.5);
    border-radius: 2rem;
    overflow: hidden;
}

#commentcreate:focus {
    outline: none;
}

.comment_create_box .placeholder {
    position: absolute;
    pointer-events: none;
    color: #999;
    background-color: white;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    text-wrap: nowrap;
}

.comment-user {
    position: relative;
}

.comment-user::before {
    background: #807d7d;
    content: '';
    height: 65%;
    position: absolute;
    left: 36%;
    top: 30px;
    width: 1px;
}

.repost-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    mask: url('../images/icons/repost.svg') no-repeat center;
    -webkit-mask: url('../images/icons/repost.svg') no-repeat center;
}

.textbody {
    outline: none;
}

.textbody:focus {
    outline: none;
}

/* comment section end */
/* files gallery section start */

.gallery .single img {
    padding: 2px;
    border: 1px solid rgba(128, 128, 128, 0.1);
    height: auto;
    width: 100%;
    object-fit: cover;
}

.gallery .first img {
    padding: 2px;
    border: 1px solid rgba(128, 128, 128, 0.1);
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}

.gallery .second img,
.gallery .third img,
.gallery .fourth img {
    padding: 2px;
    border: 1px solid rgba(128, 128, 128, 0.1);
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}

.gallery21 .first img,
.gallery21 .second img {
    height: 300px !important;
}

.gallery31 .first img {
    height: 300px !important;
}

.gallery31 .second img,
.gallery31 .third img {
    height: 150px !important;
}

.gallery41 .first img {
    height: 300px !important;
}

.gallery41 .second img {
    height: 100px !important;
}

.gallery41 .third img {
    height: 100px !important;
}

.gallery41 .fourth {
    position: relative;
}

.gallery41 .fourth img {
    height: 100px !important;

}

.gallery41 .fourth .filescount {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    z-index: 1;
    background-color: rgba(128, 128, 128, 0.5);
    font-weight: 800;
    font-size: 20px;
    color: white;
    cursor: pointer;
}

/* files gallery section end */
/* index section end */
/* modal section start */
.previewBox {
    display: flex;
    flex-wrap: wrap;
}

.previewBox .previewImg {
    position: relative;
    border: 2px solid rgba(128, 128, 128, 0.5);
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.previewImg img {
    padding: 2px;
    object-fit: cover;
    max-width: 80px;
    max-height: 50px;
}

.previewcrossbtn {
    display: none;
    transition: all 0.25s ease;
}

.previewImg:hover>.previewcrossbtn {
    cursor: pointer;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    color: red;
}

#choosepostimage,
#choosepostvideo {
    display: none;
}

#customImgInput {
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    width: 40px;
    height: 30px;
    text-align: center;
    border: 2px solid rgba(128, 128, 128, 0.5);
    border-radius: 5px;
    padding: 2px;
    margin-right: 5px;
}

.drag-drop-area {
    width: 100%;
    height: 150px;
    background-color: white;
    border: 2px dashed #ccc;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.drag-drop-area:hover {
    border-color: #aaa;
}

.drag-drop-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* modal section end */
/* footer section start */
.toaster {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 9999;
}

.toaster .toast-message {
    position: relative;
    display: flex;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 103, 138, 0.5);
    max-width: 400px;
    min-height: 80px;
    overflow: hidden;
    border: 2px solid rgba(128, 128, 128, 0.4);
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: all 0.5s ease-in;
}

/* footer section end */