@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --yellow: #ff9900;
    --red: #ff0000;
    --green: #019943;
}

section {
    margin: 20px 0;
}

/* input type number arrow hide */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

a:hover {
    text-decoration: underline;
}

pre {
    font-size: inherit;
    color: inherit;
    border: initial;
    padding: initial;
    font-family: inherit;
    white-space: pre-line;
    margin-bottom: 0;
}

.linkpreviewbox a:hover {
    text-decoration: none !important;
}

.imgbox {
    height: 300px;
}

.imgbox img,
.cmimgbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #d3d3db;
}

.cmimgbox {
    height: 100px;
    width: 100px;
}

.postuppertext {
    color: #5252fb;
    font-size: 12px;
    margin-bottom: 5px;
}

.greencolor {
    color: var(--green);
}

.yellowcolor {
    color: var(--green);
}

.bg-green {
    background-color: var(--green);
    color: #ffffff;
}

.bg-yellow {
    background-color: var(--yellow);
    color: #ffffff;
}

.cursorpointer {
    cursor: pointer;
}

.postdesc {
    font-size: 14px;
}

.mainpollvote .list-group-item {
    border: none;
    border-bottom: 1px solid var(--bs-list-group-border-color);
    border-radius: 0;
}

.mainpollvote .list-group-item:last-child {
    border-bottom: none;
}

.mainpollvote .list-group-item:hover {
    background: #f2f2f2;
}

.mainpollvote .list-group-item label {
    display: block;
    cursor: pointer;
}

.moreoverlayimage {
    position: absolute;
    top: 0;
    left: 0;
    background: #000000b2;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header {
    position: relative;
    background: linear-gradient(var(--green), var(--green)) center/100% 1px no-repeat;
}

.section-header h3 {
    border: 2px solid var(--green);
    padding: 0.5em 0.8em;
    display: inline-block;
    position: relative;
    background: var(--green);
    color: #ffffff;
    box-shadow: 0px 0 0 #fff, 0px 0 0 #fff;
    border-radius: 25%;
    font-size: 20px;
}

.textshadow {
    text-shadow: 2px 3px 4px blue;
}

.postudbtns,
.postreplybtn,
.psharebtn,
.pmorebtn {
    font-size: 12px;
}

#cminnerarealist {
    font-size: 14px;
}

.cminnertext>p:last-child {
    margin-bottom: 0;
}

.cminnertext p,
.cminnertext blockquote {
    margin-bottom: 0;
}

.cminnerdiv {
    max-width: 90%;
}

.cmreplybtn,
.cmreplylink {
    vertical-align: middle;
}

.cmudbtns,
.cmreplybtn,
.cmsharebtn,
.cmmorebtn {
    font-size: 14px;
}

.postreplybtn,
.cmreplybtn {
    color: var(--bs-card-color);
}

.pmorebtn,
.cmmorebtn {
    width: 35px;
    height: 35px;
}

.postudbtn,
.cmudbtn {
    padding: 0 !important;
    border: none;
    outline: none;
}

.commenttext {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    width: 87%;
    overflow-x: scroll;
}

#cmsearchinput {
    max-width: 150px;
    height: 30px;
    font-size: 12px;
}

#cmsortselect {
    width: 100px;
}

.sortingcminner {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#cmsearchinput:focus {
    outline: none
}

.commentmore {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 12%;
    text-align: center;
}

.gradient-background {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(0, 0, 0) 100%);
    padding: 10px;
}

/* read more post */

/* Post content */
/* .post-content {
    position: relative;
    max-height: 500px;
    overflow: auto;
    transition: max-height 0.3s ease;
} */

.post-content iframe,
.singlecmcard iframe {
    width: 100%;
}

/* The overlay and button share the same container */
.overlay-button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    /* Height of the overlay area */
    z-index: 10;
    display: none;
    /* Hidden by default */
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

/* "Read More" button */
.read-more-btn {
    position: relative;
    bottom: -50px;
}

/* When the post is expanded */
.post-content.expanded {
    max-height: none;
    /* Remove height restriction */
}

/* Hide overlay when expanded */
.post-content.expanded~.overlay-button {
    display: none;
}

#post-content p,
#post-content>p:last-child {
    margin-bottom: 0;
}

.ck-content .table {
    display: block !important;
    overflow: scroll;
}

.heroinnerarea {
    background-color: #00000082;
}

[data-bs-theme="dark"] {
    .navbar-nav .nav-item .nav-link {
        color: #ccc7d2;
    }

    .imgbox img,
    .cmimgbox img {
        background-color: #46464d;
    }

    /* Select 2 Dark Theme */
    .select2-container--default .select2-selection--single {
        background-color: #212529 !important;
    }

    .select2-dropdown {
        background-color: #212529 !important;
    }

    .select2-container--default .select2-results__option[aria-selected=true] {
        background-color: black !important;
    }

    .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
        color: rgba(146, 160, 176, 0.7) !important;
    }

}

/* ck editor  */
.ck.ck-word-count {
    display: flex;
    justify-content: flex-end;
    padding: var(--ck-spacing-small) var(--ck-spacing-standard);
    border: 1px solid var(--ck-color-toolbar-border);
    border-top-width: 0;
    border-radius: 0 0 var(--ck-border-radius);
    font-size: 12px;
}

.ck.ck-word-count .ck-word-count__words {
    margin-right: var(--ck-spacing-standard);
}

.select2-container--default .select2-selection--single {
    border-color: var(--bs-border-color);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--bs-body-color);
}


.navbar-brand:focus,
.navbar-brand:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
    color: #ccc7d2;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

#miniNav .nav-link {
    padding: 5px;
    font-size: 14px;
}

#userDropdown .dropdown-toggle {
    border-color: #333;
}

#userDropdown .dropdown-toggle::after {
    margin-left: 0 !important;
}

.articleuser img,
.sidebar .list-group-item img {
    width: 50px;
    height: 50px;
}

.implinks {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.implinks a {
    font-size: 12px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    box-shadow: none;
    border-color: var(--green);
}

.form-check-input {
    border-color: var(--darkbrown);
}

.alldymanicfield,
.allimgdelbtn {
    display: none;
}

#uploadcmimg {
    position: relative;
    height: 50px;
    width: 50px;
    line-height: 60px;
}

#uploadcmimg #inputcmimg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 99;
    top: 0;
    left: 0;
}

.previewimg {
    position: relative;
    height: 50px;
    width: 50px;
}

.previewimg img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.previewimg .xbtn {
    position: absolute;
    z-index: 99;
    right: -8px;
    top: -8px;
    color: #ff0000;
    cursor: pointer;
}

.previewimg .xbtn i {
    background-color: #fff;
    border-radius: 50%;
}

.singlecmcard {
    font-size: 12px;
}

.singlecmcard .card-body {
    max-height: 300px;
    overflow: auto;
}

.singlecmcard .userdetails {
    font-size: 12px;
}

.singlecmcard .cmtext {
    white-space: pre-line;
}

.cmtext p {
    margin-bottom: 0px;
}

.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
}

.img-bgg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    height: 100%;
}

.upload__img-close,
.deluploadimg {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 1;
    cursor: pointer;
}

.upload__img-close::after,
.deluploadimg::after {
    content: "✖";
    font-size: 14px;
    color: white;
}

#imgupload {
    width: 200px;
    height: 200px;
    border: 1px solid var(--yellow);
    border-radius: 50%;
    margin: 0 auto;
    text-align: center;
    line-height: 200px;
    position: relative;
}

#imgupload img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 50%;
}

#imgupload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    opacity: 0;
    z-index: 999999;
}

#imgupload #loadText {
    position: absolute;
    color: black;
    font-weight: bold;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    background-color: #fff;
    border-radius: 50%;
}

#topicimgupload {
    position: relative;
}

#topicimgupload input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

.form-floating>.form-control,
.form-floating>.form-control-plaintext,
.form-floating>.form-select {
    height: calc(3.7rem + calc(var(--bs-border-width) * 2));
    min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    line-height: 1.25;
}

.input-group-text {
    cursor: pointer;
}

#resendLink {
    display: none;
}

.likedcat {
    max-height: 200px;
    overflow: scroll;
}

#previewCrop {
    overflow: hidden;
    width: 100px;
    height: 100px;
}

/* masoori css */
#foxmasoori {
    position: fixed;
    width: 100% !important;
    z-index: 9995;
    bottom: 0px;
}

.sticky-masoori {
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    -webkit-transition: all 0.1s ease-in;
    transition: all 0.1s ease-in;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(247, 247, 247, 0.9);
    z-index: 9995;
}

.sticky-masoori-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: -30px;
    right: 5px;
}

.sticky-masoori .sticky-masoori-content {
    overflow: hidden;
    display: block;
    position: relative;
    height: auto;
    width: 100%;
    border: 1px solid #f2bc94;
    border-radius: 5px 5px 0 0;
    text-align: center;
}

.sticky-masoori .sticky-masoori-content img {
    width: 400px;
}

#foxCloseBtn {
    width: 30px;
    height: 30px;
    border: none;
    color: #fff;
    border-radius: 4px 4px 0 0;
    background-color: #000;
    cursor: pointer;
}

.tox-statusbar__branding {
    display: none;
}

.mce-content-body [data-mce-selected="inline-boundary"] {
    background-color: #094993 !important;
}

.tox .tox-dialog {
    width: 100% !important;
}

.story .card-footer p {
    font-size: 14px;
    color: #6c6161;
}

.likered {
    color: red;
}

#loadmore:hover,
#loadmorecm:hover,
#allcmloadmore:hover,
#allmessagesloadmore:hover,
#allnotiloadmore:hover {
    color: #ffffff;
    background-color: var(--yellow);
}

.postrepliesarea {
    display: none;
}

.moretext {
    display: none;
}

.pagebox nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagebox ul {
    overflow: hidden;
}

.pagebox .active a {
    background-color: var(--green);
    color: #ffffff !important;
}

.pagebox li {
    margin-right: 5px;
    /* background-color: #f2f2f2; */
}

.pagebox li a {
    text-decoration: none !important;
    color: #888;
    padding: 10px 20px;
    display: inline-block;
}

.underusrnm {
    margin-top: -5px;
    color: #9d9393;
    font-size: 14px;
}

#usermsgsarea {
    height: 350px;
    overflow: auto;
}

.msgsendbtn a {
    color: #fff;
    height: 70px;
    display: block;
    line-height: 70px;
    width: 40px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #fff;
    background-color: var(--green);
    font-size: 25px;
}

.msgtext {
    font-size: 14px;
}

.msgtextarea {
    width: 50%;
}

.msgtext {
    display: inline-block;
}

.msgtimer {
    font-size: 14px;
}

.logged-in {
    color: green;
}

.logged-out {
    color: red;
}

#autoscrollbtn {
    position: fixed;
    z-index: 99999;
    bottom: 0;
    left: 0;
    display: none;
}

.scrollbtnopacity:hover {
    opacity: 1 !important;
}

#scrolltotop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--yellow);
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 20px;
}

#scrolltotop:hover {
    background-color: var(--green);
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination li a:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination li.active a {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    font-weight: bold;
    cursor: default;
}

.pagination li a[aria-label] {
    font-weight: bold;
}


.copybtn .fa-copy {
    background-color: var(--yellow);
    color: #fff;
    padding: 4px 4px;
    border-radius: 3px;
    vertical-align: text-bottom;
}

.mainpollresult {
    display: none;
}

/* .userpost .card-body p,
.singleuserpost .card-body p {
    white-space: pre-line;
} */

.singleuserpost .postimggrid {
    display: none;
}

.emoji-wysiwyg-editor {
    white-space: pre-line;
}

div:where(.swal2-icon) .swal2-icon-content {
    font-size: 3.75em !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.postsfilterlinks::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.postsfilterlinks {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.ytvideoplaybtn {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 1.5em;
    text-align: center;
    font: 48px/1.5 sans-serif;
    color: red;
    text-shadow: 0 0 0.5em black;
    left: 0;
    right: 0;
    background: transparent;
    border: 0;
}

.carousel-indicators button {
    height: 20px !important;
    width: 20px !important;
    margin: 0 10px !important;
    border-radius: 100%;
    background-color: #1963ac !important;
}

.hero-img img {
    pointer-events: none;
    user-select: none;
}

#postssearchquery {
    outline: 0;
}

/* media queries */
@media (min-width: 1200px) {
    .carousel-item img {
        height: 75vh;
    }
}

@media screen and (max-width: 880px) {
    #miniNav {
        overflow: hidden;
        overflow-x: scroll;
    }

    .ufbuttons a {
        margin-top: 10px;
    }

    .pagebox li {
        margin-top: 10px;
    }
}

@media screen and (max-width: 512px) {

    .homebox p {
        font-size: 14px;
    }

    .form-floating>.form-control,
    .form-floating>.form-control-plaintext {
        padding: 0rem 0.75rem;
    }

    .form-floating>.form-control,
    .form-floating>.form-control-plaintext {
        height: calc(2.5rem + 2px);
        line-height: 1;
    }

    .form-floating>label {
        padding: 0.5rem 0.75rem;
        font-size: 14px;
    }

    #imgupload {
        width: 100px;
        height: 100px;
        line-height: 100px;
    }

    #imgupload #loadText {
        font-size: 10px;
    }

    .sticky-masoori .sticky-masoori-content img {
        width: 100%;
    }

    .msgtextarea {
        width: 90%;
    }

    .iconsbutton {
        font-size: 14px;
    }

    #findfriends .aboutuser {
        width: 80%;
    }

    .carousel-indicators {
        margin-bottom: 0px !important;
    }

    .hero-img img {
        border-radius: 0 !important;
    }
}