
/*-------  3.3 Single Topic                     --------*/
/*
	Single-Topic
*/
.header-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 40, 78, 0.75);
    z-index: 1;
}

.home-content {
    position: relative;
    z-index: 2;
}
.tt-single-topic-list > .tt-item:not(:first-child) {
    margin-top: 30px; }

.tt-single-topic-list > .tt-item:not([class^="tt-wrapper-success"]) {
    background-color: #ffffff; }

.tt-single-topic-list > .tt-item.tt-wrapper-success {
    border: 1px solid #68c193;
    background-color: #e6fbf0; }

.tt-single-topic-list > .tt-item.tt-wrapper-danger {
    border: 1px dashed #f56e6f;
    background-color: #fff2f2; }

.tt-single-topic {
    position: relative;
    border-radius: 6px;
}
.tt-single-topic .tt-item-header .tt-item-info.info-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 8px; }
.tt-single-topic .tt-item-header .tt-item-info.info-top .tt-avatar-icon .tt-icon svg {
    width: 40px;
    height: 40px; }
.tt-single-topic .tt-item-header .tt-item-info.info-top .tt-avatar-title {
    color: #666f74;
    font-size: 14px;
    line-height: 26px;
    letter-spacing: 0.01em;
    padding-right: 15px; }
.tt-single-topic .tt-item-header .tt-item-info.info-top .tt-avatar-title a {
    color: #666f74;
    display: inline-block;
    margin-right: 11px; }
.tt-single-topic .tt-item-header .tt-item-info.info-top .tt-avatar-title a:hover {
    color: #2172cd; }
.tt-single-topic .tt-item-header .tt-item-info.info-top .tt-info-time {
    white-space: nowrap;
    font-size: 14px;
    color: #666f74;
    padding: 0 0px 0 0; }
.tt-single-topic .tt-item-header .tt-item-info.info-top .tt-info-time .tt-icon {
    margin-right: 16px; }
.tt-single-topic .tt-item-header .tt-item-info.info-top .tt-info-time .tt-icon svg {
    width: 16px;
    height: 16px; }
.tt-single-topic .tt-item-header .tt-item-title {
    font-size: 18px;
    line-height: 30px;
    font-weight: 500;
    margin: 3px 0 0 0;
    letter-spacing: 0.01em; }
.tt-single-topic .tt-item-header .tt-item-title a {
    display: inline-block;
    color: #303344;
    -webkit-transition: color 0.2s linear;
    transition: color 0.2s linear; }
.tt-single-topic .tt-item-header .tt-item-title a:hover {
    color: #2172cd; }
/*.tt-single-topic .tt-item-header .tt-item-tag {*/
/*    margin-top: 12px; }*/
.tt-single-topic .tt-item-header:not(.pt-noborder) {
    border-bottom: 1px solid #e2e7ea;
    padding: 0 0 30px 0; }
.tt-single-topic .tt-item-header.pt-noborder + .tt-item-description {
    padding-top: 5px; }
.tt-single-topic .tt-item-description {
    padding-top: 21px;
    letter-spacing: 0.01em; }
.tt-single-topic .tt-item-description .tt-title {
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    color: #182730;
    padding: 0;
    margin: 0; }
.tt-single-topic .tt-item-description .tt-title a {
    color: #182730; }
.tt-single-topic .tt-item-description .tt-title a:hover {
    color: #2172cd; }
.tt-single-topic .tt-item-description img {
    max-width: 100%;
    height: auto; }
.tt-single-topic .tt-item-description .video-container {
    max-width: 713px; }
.tt-single-topic .tt-item-description .topic-inner-list {
    margin-top: 37px;
    padding-bottom: 8px; }
.tt-single-topic .tt-item-description .topic-inner-list .topic-inner:not(:first-child) {
    margin-top: 30px; }
.tt-single-topic .tt-item-description .topic-inner {
    background-color: #f7f8fa;
    border-left: 2px solid #2172cd;
    padding: 30px 43px 22px 28px; }
.tt-single-topic .tt-item-description .topic-inner .topic-inner-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; }
.tt-single-topic .tt-item-description .topic-inner .topic-inner-title .topic-inner-avatar svg {
    width: 40px;
    height: 40px; }
@media (min-width: 1025px) {
    .tt-single-topic .tt-item-description .topic-inner .topic-inner-title .topic-inner-avatar {
        margin-right: 30px; } }
@media (max-width: 1024px) {
    .tt-single-topic .tt-item-description .topic-inner .topic-inner-title .topic-inner-avatar {
        margin-right: 25px; } }
.tt-single-topic .tt-item-description .topic-inner .topic-inner-title .topic-inner-title {
    color: #666f74;
    font-size: 14px; }
.tt-single-topic .tt-item-description .topic-inner .topic-inner-title .topic-inner-title a {
    color: #666f74; }
.tt-single-topic .tt-item-description .topic-inner .topic-inner-title .topic-inner-title a:hover {
    color: #2172cd; }
@media (min-width: 576px) {
    .tt-single-topic .tt-item-description .topic-inner .topic-inner-description {
        padding: 5px 0 0 70px; } }
@media (max-width: 575px) {
    .tt-single-topic .tt-item-description .topic-inner .topic-inner-description {
        padding: 13px 0 0 0px; } }
.tt-single-topic .tt-item-description .pt-gallery-layout {
    margin-top: 7px; }
.tt-single-topic .tt-item-info.info-bottom {
    margin-top: 34px; }
@media (min-width: 1025px) {
    .tt-single-topic {
        padding: 30px 30px 40px 125px; }
    .tt-single-topic .tt-avatar-icon {
        position: absolute;
        top: 30px;
        left: 30px; } }
@media (max-width: 1024px) {
    .tt-single-topic {
        padding: 30px 20px 40px 20px; }
    .tt-single-topic .tt-item-header .tt-item-info.info-top .tt-avatar-title {
        -ms-flex: 2 1 auto;
        -webkit-box-flex: 2;
        flex: 2 1 auto;
        padding-left: 25px; } }
@media (min-width: 576px) {
    .tt-single-topic .tt-item-info.info-bottom {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -ms-flex-line-pack: start;
        align-content: flex-start;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start; }
    .tt-single-topic .tt-item-info.info-bottom .col-separator {
        background: red;
        -ms-flex: 2 1 auto;
        -webkit-box-flex: 2;
        flex: 2 1 auto; } }
@media (max-width: 575px) {
    .tt-single-topic .tt-item-info.info-bottom {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-line-pack: start;
        align-content: flex-start;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start; }
    .tt-single-topic .tt-item-info.info-bottom .col-separator {
        background: green;
        -ms-flex: 2 1 auto;
        -webkit-box-flex: 2;
        flex: 2 1 auto; }
    .tt-single-topic .tt-item-info.info-bottom .col-separator {
        display: none; }
    .tt-single-topic .tt-item-info.info-bottom .tt-icon-btn {
        margin-left: 0px; }
    .tt-single-topic:not(.tt-small-indent) + .tt-icon-btn {
        margin-left: 18px; }
    .tt-single-topic .tt-text {
        display: none; } }

.tt-info-box {
    background-color: #ffffff; }
.tt-info-box .tt-title {
    color: #182730;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    padding: 0 0 19px 0;
    margin: 0;
    letter-spacing: 0.01em; }
.tt-info-box .tt-title +
hr + .row-object-inline {
    margin-top: -2px; }
@media (min-width: 576px) {
    .tt-info-box {
        padding: 21px 30px 30px; }
    .tt-info-box .row-object-inline .tt-select {
        display: none; } }
@media (max-width: 575px) {
    .tt-info-box {
        padding: 21px 20px 30px; }
    .tt-info-box .row-object-inline .tt-list-badge {
        display: none; } }

.tt-row-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-left: -15px;
    margin-top: -15px; }
.tt-row-icon .tt-item {
    margin-left: 15px;
    margin-top: 15px; }

.tt-icon-avatar svg {
    width: 40px;
    height: 40px; }

.row-object-inline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; }
.row-object-inline .tt-title {
    padding-right: 15px;
    position: relative;
    top: 9px; }

/*-------  3.4 Badge                            --------*/
.tt-badge {
    font-size: 14px;
    padding: 1px 7px 2px;
    color: #ffffff;
    line-height: 1;
    font-weight: 500;
    height: 25px;
    border: none;
    outline: none;
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 3px;
    color: #ffffff; }
.tt-badge:not([class^="tt-color"]) {
    color: #d7dadc;
    background-color: #d7dadc;
    color: #182730; }
.tt-badge.tt-color01 {
    background-color: #2e3192; }
.tt-badge.tt-color02 {
    background-color: #4436f8; }
.tt-badge.tt-color03 {
    background-color: #3ebafa; }
.tt-badge.tt-color04 {
    background-color: #777da7; }
.tt-badge.tt-color05 {
    background-color: #f26522; }
.tt-badge.tt-color06 {
    background-color: #464646; }
.tt-badge.tt-color07 {
    background-color: #1cbbb4; }
.tt-badge.tt-color08 {
    background-color: #f4555b; }
.tt-badge.tt-color09 {
    background-color: #00746b; }
.tt-badge.tt-color10 {
    background-color: #f69679; }
.tt-badge.tt-color11 {
    background-color: #7e7b47; }
.tt-badge.tt-color12 {
    background-color: #5674b9; }
.tt-badge.tt-color13 {
    background-color: #3cb878; }
.tt-badge.tt-color14 {
    background-color: #92278f; }
.tt-badge.tt-color15 {
    background-color: #00a651; }
.tt-badge.tt-color16 {
    background-color: #a864a8; }
.tt-badge.tt-color17 {
    background-color: #92278f; }
.tt-badge.tt-color18 {
    background-color: #448ccb; }
.tt-badge.tt-color19 {
    background-color: #39b54a; }
.tt-badge.tt-color20 {
    background-color: #ed9731; }
.tt-badge.tt-color21 {
    background-color: #8781bd; }

.tt-list-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    list-style: none;
    padding: 0;
    margin: -8px 0 0 -8px; }
.tt-list-badge li {
    margin-left: 8px;
    margin-top: 8px; }
.tt-list-badge.tt-size-lg {
    margin: -15px 0 0 -15px; }
.tt-list-badge.tt-size-lg li {
    margin: 15px 0 0 15px; }
.tt-list-badge.tt-size-lg .tt-badge {
    height: 39px;
    font-size: 16px;
    padding: 1px 14px 2px;
    letter-spacing: 0.01em; }

.nav-mytabs {
    margin-top: 2rem; }

.nav-mytabs li:not(:last-child) {
    margin-right: 7px; }

.nav-mytabs a {
    position: relative;
    top: 4px;
    padding: 10px 25px;
    border-radius: 2px 2px 0 0;
    background: white;
    color: black;
    opacity: 0.7;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out; }

.nav-mytabs a.active,
.nav-mytabs a:hover {
    opacity: 1;
    top: 0; }

.mytab-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    border-radius: 0 4px 4px 4px;
    background: white; }






/* General sidebar styles */
.c-sidebar {
    background-color: #050D25;
    color: #fff;
}

.c-sidebar .c-sidebar-brand {
    text-align: center;
    padding: 1rem 0;
}

.c-sidebar .c-sidebar-brand img {
    max-width: 80%;
}

/* Sidebar navigation items */
.c-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-sidebar-nav-item {
    position: relative;
}

.c-sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.c-sidebar-nav-link:hover, .c-sidebar-nav-link:focus {
    background-color: #ffffff10;
    color: #fff;
}

.c-sidebar-nav-icon {
    margin-right: 1rem;
}


.c-sidebar-nav-item.active{
    background-color: #3772FF ;
    color: #fff;
}

.c-sidebar-nav-item a[onclick*='logoutform'] {
    color: #dc3545;
}

.c-sidebar-nav-item a[onclick*='logoutform']:hover,
.c-sidebar-nav-item a[onclick*='logoutform']:focus {
    background-color: #bd2130;
    color: #fff;
}
.forum-row {
    display: flex;
}

.forum-nav {
    background-color: #050D25;
    min-height: 100vh;
}
.forum-img{
    display: none;
}
.forum-section {
    padding-left: 0;
    background-color: #ffffff;
    min-height: 100vh;
    flex: 1;
}


.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}
@media (max-width: 968px) {
    .forum-img{
        display: block;
    }
    .forum-nav img{
        margin: 20px;
        width: 45%;
    }
    .forum-nav {
        background-color: #050d25 ;
        min-height: 15vh;
        display: flex;
        align-items: start;
        justify-content: start;
    }

    .forum-section {
        background-color: #ffffff;
        min-height: 90vh;
        flex: 1;
    }

    .hamburger {
        color: white;
        display: block;
        position: absolute;
        top: 10px;
        right: 20px;
        z-index: 9999;
        font-size: 2rem;
    }

    .hamburger.active {
        color: gray;
        font-size: 2.5rem;
    }
    #sidebar {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 140%;
        background-color: #050D25;
        z-index: 1;
        padding-top: 1rem;
    }
    .c-sidebar-nav-item{
        background-color: #050D25;
        color: #fff;
    }

    #sidebar.active {
        display: block;
        z-index: 100;
    }
    .forum-sections{
        padding-top: 0;
    }
    .blog-content {
        padding: 20px;
    }

    .btn-cont {
        margin-bottom: 0;
        align-self: flex-start;
    }
}


.blog-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}




.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.profile-header:hover {
    transform: scale(1.02);
}

.profile-header img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #007bff;
    transition: border-color 0.3s ease;
}

.profile-header img:hover {
    border-color: #0056b3;
}

.profile-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-left: 25px;
    font-weight: bold;
}

.edit-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

.edit-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.profile-info {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease;
}

.profile-info:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-info h2 {
    font-size: 1.75rem;
    color: #212529;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.profile-info p {
    font-size: 1.125rem;
    color: #212529;
    margin-bottom: 10px;
}
.text-wb3{
    color: #212529
}
#c-header{
    background-color: #050d25;
    color: white;
}

#p-header{
    background-color: #050d25;
    color: white;
}

#d-header{
    background-color: #050d25;
    color: white;
}
/* Search Bar Styling */
.search-bar-container {
    margin: 20px 0;
}

.search-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
}

.search-bar input[type="text"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.search-bar button {
    padding: 12px;
    border: 1px solid #ced4da;
    border-left: none;
    border-radius: 0 5px 5px 0;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
}

.search-bar button:hover {
    background-color: #0056b3;
}

    .c-sidebar-nav-link {
        position: relative;
    }


    .c-sidebar-nav-link .fas.fa-bell {
        font-size: 18px;
        position: relative;
        margin-right: 8px;
    }



 .badge-danger{
     margin-left: 2px;
     padding-left: 2px;
     padding-right: 2px;
     background: red;
     color:white;
 }

@media (max-width: 768px) {
    #topicsFormMobile, #discuss, #edu-f, #faq, #notify {
        padding-left: 26px;
        padding-right: 16px;
    }
    #prof, #check, #diss-b {
        padding-right: 8px;
        padding-left: 16px;
        font-size: 0.75rem;

    }
    #prof2{
        padding-left: 8px;
        margin-left: 16px;
        margin-right: 10px;

    }
    #card-diss {

        border: 1px solid #dee2e6;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        background-color: #fff;
    }
    #card-padd{
        padding-top: 8px;
        padding-right: 8px;
        padding-left: 16px;
        margin-left: 16px;
    }
    #team-heading {
        text-align: center;
    }

}

#tt-lib, #blog-content-lib{
    margin-top: 0;
    padding-top: 0;
}
 .bg-grey{
     background-color: #EDF0FF;
 }

.forum-section-g {
    padding-left: 0;
    background-color: #EDF0FF;
    min-height: 100vh;
    flex: 1;
}
#forum-nav-menu{
    padding-right:0;
}
.custom-hr {
    border: 1px solid #ccc;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.logo-forum-big{
    width: 500px;
    height: auto;
}
