html {
    scroll-behavior: smooth;

}
body{
    font-family: var( --default-font);
}


.font-regular {
    font-family: var( --font-regular);

}
.font-bold, .fw-bold {
    font-family: var( --font-bold);

}
.font-heavy {
    font-family: var( --font-heavy);

}
.font-light {
    font-family: var( --font-light);

}
.font-medium {
    font-family: var( --font-medium);
}

.fs-18{
    font-size: 18px;
}
.fs-12 {
    font-size: 12px;
}


.main-post-img {

    max-height: 450px;
    object-fit: contain;
    margin: auto;
}

.image-frame {
    display: inline-block;
    padding: 1px; /* Space between the border and the image */
    border: 5px solid var(--primary); /* Solid border */
    border-radius: 15px; /* Rounded corners */
    max-width: 200px;
    text-align: center;

  }

  .image-frame img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Soft rounding for the image */
  }



.post-chip {
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
    color: #CCA40D;
    background: #FEF7DE;
    border: 0.5px solid #F7CD2E;
    border-radius: 21px;
    padding: 5px;
    font-size: 14px;
}

#feedPost {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.right-post-img-wrapper {

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.left-post-img {
    max-height: 550px;
}
.right-post-img {
    height: 48%;
}


.card {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 1rem;
    border-color: #eff3f9;
}
#carouselExampleAutoplaying {
    min-height: 455px;
}

.notebook-card {
    display: inline-block;
    background-color: white;
    width: 100%;
    min-height: 80px;
    border-radius: 10px;
    padding: 10px;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    text-decoration: none;
}

.notebook-card:hover {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
}

.cursor-pointer {
    cursor: pointer;
}





/* CALENDAR */
.fc .fc-col-header-cell-cushion {
    text-decoration: none;
}

.fc-daygrid-day-number {
    text-decoration: none;
}
.fc-toolbar-title {
    color: var(--primary);
}
.fc .fc-button-primary:focus {
    box-shadow: none !important;
}

.fc-today-button {
    text-transform: capitalize;
}


.fc-event-title {
    transition: 0.3s;
}

.fc-event-title:hover {
    overflow: visible;
    white-space: normal;
    width: 100% ;
}
/* CALENDAR END */

/* Sidebar */

.sidebar-container {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    top: 0px;
    right: 0px;
    z-index: 1030;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;
}
.sidebar-backdrop {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
    right: 0px;
    z-index: -6;
}

.sidebar {
    overflow-y: auto;
    height: 100%;
    color: white;
    background-color: white;
    width: 0;
    transition: all .3s;
    z-index: 10;
}

/* Sidebar END */



/* Carousel */


#carouselExampleAutoplaying .carousel-indicators [data-bs-target] {
    width: 10px !important;
    height: 10px !important;
    border-radius: 100%;
}

#carouselExampleAutoplaying .carousel-control-next,
#carouselExampleAutoplaying .carousel-control-prev {
    width: 6% !important;
}


.carousel-indicators .active {
    background-color: var(--primary);
}


#carouselExampleAutoplaying .carousel-indicators [data-bs-target]{
    background-color: var(--primary);

}
/* Carousel END */




.home-accordion {
    border-radius: 1rem !important;
    border-color: none;
    background-color: rgba(255, 255, 255, 0.90) !important;

}


.home-accordion .accordion-item{
    background-color: transparent;
    border: 0;
}

.home-accordion .accordion-button {
    margin: 0 0 10px 0;
    padding: 0 20px 10px 0;
    background-color: transparent;
}

.home-accordion .accordion-button::after {
    margin-top: 7px;
}


.home-accordion .accordion-button:not(.collapsed) {
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;

}
.quick-link {
    color: var(--primary);
    text-decoration: none;
}


.quick-link-box {
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(46, 48, 146, 0.31);
    border-radius: 7px;
    padding: 2px;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease-out;
}

.quick-link-box:hover {
    background-color: #009EFF;
}

.quick-link-box:hover svg {
    transform: scale(1.3);
 }

.quick-link-box:hover svg path {
   fill: white;
}

.svg-red svg path{
    fill: red;
}
.svg-orange svg path{
    fill: orange;
}
.svg-yellow svg path{
    fill:   #F6BE00;
}

.svg-green svg path{
    fill: green;
}
.svg-blue svg path{
    fill: blue;
}
.svg-purple svg path{
    fill: purple;
}
.svg-gold svg path{
    fill: gold;
}



.accordion-button:focus {
    box-shadow: none;
}

.promotion-box {
    padding: 20px;
    border-radius: 7px;
    color: white;
    /* max-width: 410px; */
    height: 100%;
}


.promotion-wrapper {
    overflow: auto;
    max-height: 426px;
    margin: 10px 0 10px 0;

}

.promotion-design-1 {
    background: linear-gradient(90deg, #06BDC9 0%, #9CC4FF 100%);
}

.happy-birthday-design {
    background: linear-gradient(to right top, #ff0000, #ff3333);
}
.promotion-design-2 {
    background: linear-gradient(90deg, #7306C9 0%, #C48EFB 100%);
}
/* Rectangle 23 */


.header-box {
    background-color: #009EFF;
    padding: 15px;
    width: fit-content;
    margin-top: 10px;
    border-radius: 0 10px 10px 0;
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin-left: -1px;
}


.sticky-top {
    top: 80px !important;
    display: flex;
    flex-direction: column;
}

.events-wrapper {
    overflow: auto;
    max-height: 268px;
    margin-bottom: 10px;
}
.event-img {
    height: 100px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.event-inside-border-radios {
    border-radius: 0 10px 10px 0;
}

.custom-scroll::-webkit-scrollbar {
    width: 8px;
}
.custom-scroll::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 5px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary);
}
.custom-scroll::-webkit-scrollbar-track {
    background-color: #E8E8E8;
}


/* Loading */
#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    top: 0;
}
.spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 60px;
    width: 60px;
    margin: 0 auto;
    border: 6px solid rgba(58, 61, 126, 0.15);
    border-radius: 100%;
    border-top: 6px solid rgba(58, 61, 126, 0.8);
    animation: rotation 0.6s infinite linear;
}
@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(359deg); }
}

.loading-gif {
    display: flex;
    object-fit: contain;
    width: auto !important;
    object-position: center;
    margin: auto;
}
/* Loading End */



/* Message Start */

.message-content {
    scroll-behavior: smooth;
    height: calc(100vh - 300px);
}

.container-list {
    height: calc(100vh - 296px);
    padding: 0 20px 0 10px;
}

.message-content,
.container-list {
    overflow-y: auto;
    overflow-x: hidden;
}

.chat-wrapper {
    width: 50%;
}

.chat-box {
    width: max-content;
    max-width: 100%;
    padding: 10px;
    background-color: var(--secondary);
    color: white;
    margin-top: 5px;
}

.right-content {
    display: flex;
    flex-direction: column;
    align-items: end;
}

#compose {
    resize: none;
    /* Disable resizing */
    width: 100%;
    height: 70px;
}


.typing-wrapper {
    display: flex;
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    align-items: center;
    justify-content: start;
    color: white;
    background-color: var(--secondary);
    width: fit-content;
    border-radius: 10px;

}
.typing-indicator {
    display: flex;
    justify-content: space-between;
    width: 50px;
    margin-left: 10px;
}

.typing-indicator span {
    display: block;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0% {
        opacity: 0.2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}

.message-active {
    background-color: var(--secondary);
    padding: 10px;
    font-weight: 900;
    border-radius: 1rem;
}

.message-active * {
    font-weight: bold;
}


.invite-wrapper .select2 {
    width: 100% !important;
    height: 40px !important;
}


.invite-wrapper .select2-selection__choice {
    background-color: var(--secondary) !important;
    color: white;
    border: 0;
}

.invite-wrapper .select2-selection__choice__remove {
    color: white !important;
    border: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background-color: transparent !important;
}


.input-text-wrapper {
    width: 90%;

}
.input-send-wrapper {
    width: 10%;
    margin-left: 5px;

}
/* Message End */




/* Media Query */

@media (max-width: 1500px) {
    #carouselExampleAutoplaying {
        min-height: auto;
    }
}


/* Extra Extra Large (xxl) - 1400px  */
@media (max-width: 1400px) {

}

/* Extra Large (xl) - 1200px  */
@media (max-width: 1199px) {

    .fs-mobile-side-link{
        font-size: 12px;
    }

}
@media (max-width: 991px) {


    .promotion-wrapper, .events-wrapper {
        max-height: 100%;
    }

    .event-img{
        height: 190px;
    }

}

/* Medium (md) - 768px  */
@media (max-width: 767px) {
    .event-inside-border-radios {
        border-radius: 0 0 10px 10px !important;
    }
    .event-img {
        height: 100%;
    }

    .container-list {
        height: calc(20vh);
    }

    .message-content {
        height: calc(41vh);
    }
    .input-send-wrapper {
        width: 15%;
    }
    .input-text-wrapper {
        width: 85%;
    }

    .chat-wrapper {
        width: 90%;
    }
    .fc .fc-toolbar-title{
        font-size: 1.25em;
    }
}

/* Small (sm) - 576px  */
@media (max-width: 576px) {

    .chat-wrapper {
        width: 100%;
    }


}
