@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li {
    list-style: none;
}
body {
    font-family: "Poppins", sans-serif;
}
/* Header Profile Dropdown Design with session */
.header-profile-user {
    width: 45px;
    height: 45px;
}
.profile-dropdown {
    position: absolute;
    right: 0;
    top: 68px;
    width: 296px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    overflow: visible;
    display: none;
}
.profile-dropdown.show {
    display: block;
}
.profile-dropdown .profile-header {
    padding: 20px 10px;
    background-color: #EFF6FF;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}
.profile-dropdown .profile-header h2 {
    margin: 0;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    text-align: center;
    color: rgba(49, 49, 49, 1);
}
.profile-dropdown .profile-header p {
    margin: 4px 0;
    color: #777;
    font-size: 14px;
}
.profile-dropdown .profile-header a {
    text-decoration: none;
    color: rgba(77, 134, 201, 1);
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
    text-align: center;
    margin-bottom: 10px;
    display: inline-block;
}

.profile-dropdown .profile-header .cross-button {
    position: absolute;
    right: 7px;
    top: 7px;
    background: #fff;
    font-size: 16px;
    color: #353535;
    font-weight: 100;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.profile-dropdown .profile-header .cross-button i {
    margin-top: 1px;
}

.action-buttons {
    margin-top: 8px;
}

.action-buttons .btn {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin: 0 4px;
}

.action-buttons .support, .action-buttons .signout {
    background-color: #e7f3ff;
    color: rgba(49, 49, 49, 1);
    background: #fff;
    width: 95px;
    font-family: Poppins;
    font-size: 12px;
    font-weight: 500;
    line-height: 10.5px;
    text-align: right;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.05);
    border: 0.3px solid rgba(53, 53, 53, 1);
    margin: 0;
}

.action-buttons .support:active, .action-buttons .signout:active {
    border: 0.3px solid rgba(77, 134, 201, 1);
    background: #fff;
}

.action-buttons .support i, .action-buttons .signout i {
    margin-right: 3px;
    font-size: 11px;
    display: inline;
    color: rgba(77, 134, 201, 1);
}

.profile-dropdown .profile-menu {
    padding: 16px 16px 10px;
}

.profile-dropdown .menu-section {
    margin-bottom: 8px;
}

.profile-dropdown .menu-heading {
    cursor: pointer;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    text-align: left;
    color: rgba(77, 134, 201, 1);
    text-transform: capitalize;
    padding: 0;
    padding: 0 0 0 7px;
    position: relative;
}

.profile-dropdown h3.menu-heading::after {
    position: absolute;
    content: "\f078";
    font-family: 'FontAwesome';
    right: 7px;
    font-size: 9px;
    color: #353535;
    top: 0;
    bottom: 0;
    margin: auto 0;
    height: fit-content;
    transition: 0.3s all ease;
}

.profile-dropdown h3.menu-heading.submenu-open::after {
    transform: rotate(180deg);
}

.profile-dropdown .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    padding: 7px 0;
}

.profile-dropdown .submenu:nth-child(1) {
    display: block;
}

.profile-dropdown .submenu li {
    position: relative;
    margin-bottom: 0;
    border-bottom: 1px solid #e0e0e0;
}

.profile-dropdown .submenu li:nth-last-child(1) {
    border-bottom: none;
}

.profile-dropdown .submenu li a {
    text-decoration: none;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #353535;
    padding: 7px 20px 7px 26px;
    margin: 2px 0;
    cursor: pointer;
}

.profile-dropdown .submenu li a svg {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

/*.profile-dropdown .submenu li a svg path {*/
/*    fill: #353535;*/
/*    stroke-width: 8px;*/
/*    stroke: #353535;*/
/*}*/

.profile-dropdown .submenu li a:hover {
    background-color: #EEEEEE;
}

.profile-dropdown .submenu li a.active {
    background-color: #EEEEEE;
    color: #fff;
}

.profile-dropdown .inner-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    left: -160px; /* Positioning to the left */
    top: 0;
    display: none;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px; /* Rounded corners */
    z-index: 1;
    width: 270px;
    padding: 7px;
    left: -320px;
    top: 17px;
}

.profile-dropdown .inner-submenu li {
    margin-bottom: 0; /* Reset margin for inner submenu items */
}

.profile-dropdown .inner-submenu li a {
    padding: 8px 12px; /* Padding for inner submenu items */
    border-bottom: none;
}

.profile-dropdown .inner-submenu li a:hover {
    background: #EEEEEE;
    color: #353535;
}

.profile-dropdown .submenu li a.submenu-trigger::after {
    float: right;
    margin-right: 7px;
    position: absolute;
    right: 0;
    transform: rotate(270deg);
    content: "\f078";
    font-family: 'FontAwesome';
    font-size: 9px;
    color: #353535;
}

.profile-dropdown .submenu li.open .inner-submenu {
    display: block;
}

.profile-dropdown .submenu li .inner-submenu {
    display: none; /* Hide the inner submenu by default */
}

.profile-dropdown .submenu li:hover .inner-submenu {
    display: block; /* Show the inner submenu on hover */
}

/* Adjust the submenu positioning if necessary */
.profile-dropdown .submenu li .inner-submenu {
    left: -268px;
    top: 0;
}

@media (max-width: 575px) {
    .profile-dropdown {
        right: 10px;
    }
    /* Ensure that the inner-submenu doesn't open on hover for mobile */
    .profile-dropdown .submenu li:hover .inner-submenu {
        display: none; /* Disable hover-based submenu opening */
    }

    /* For mobile, when a submenu-trigger is clicked, show the inner submenu with slide effect */
    .profile-dropdown .submenu li .inner-submenu.open {
        display: block; /* Keep it open when triggered */
    }

    .profile-dropdown .inner-submenu {
        position: relative;
        left: 0 !important;
        top: 0;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        width: 100%;
        padding-bottom: 1px;
        border: none;
    }

    .profile-dropdown .submenu li > a:hover {
        background: transparent;
    }

    .profile-dropdown .inner-submenu li a:hover {
        background: #eeeeee
    }

}

/* Header Profile Dropdown Design with session */


/* Header Search with Dropdown Design with session */

.search-holder {
    width: 797px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 1);
    position: relative;
    border: 1.5px solid #4D86C9;
    margin-top: 5px;
}

.search-holder.opened {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: 1.5px solid #4D86C9;
    border-bottom: 1px solid #B6B4B4;
    box-shadow: 0 2px 0 0px rgba(0, 0, 0, 0.2);
    display: block;
}

.search-holder .searchFlex {
    display: flex;
    align-items: center;
    padding: 10px;
    height: 45px;
}

.search-holder .searchFlex .emptyInput {
    width: fit-content;
    height: 20px;
    font-size: 20px;
    color: #353535;
    margin: 0 auto;
    cursor: pointer;
    opacity: 0;
}

.search-holder.opened .searchFlex .emptyInput {
    opacity: 1;
}

.search-holder .searchFlex .inputContainer {
    width: calc(100% - 65px);
    height: 100%;
}

.search-holder .searchFlex .inputContainer #search-options {
    width: 100%;
    padding: 10px 15px;
    height: 100%;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    text-align: left;
    border: none;
    outline: none;
    box-shadow: none;
    color: rgba(64, 64, 64, 1);
}

.search-holder .searchFlex .inputContainer #search-options::placeholder {
    color: lightgray;
}

.search-holder .searchFlex .searchButton {
    border: none;
    background: rgba(77, 134, 201, 1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: default;
    width: 45px;
    border-radius: 0;
    border-right: 1px solid #B6B4B4;
    height: 32px;
}

.search-holder .searchFlex .searchButton i {
    font-size: 18px;
    margin-right: 10px;
    color: #4D86C9;
}

.search-holder .dropdown-menu {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(77, 134, 201, 1);
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px rgba(77, 134, 201, 0.3);
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    left: 1px;
    top: 53px;
    width: inherit;
    right: 0;
    display: none;
}

.searchTabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(182, 180, 180, 1);
    width: 100%;
}

div#search-dropdown.show {
    display: block;
    left: -1px;
    top: 48px;
    width: 100% !important;
}

.searchTabs .tab.search_tabs, .searchTabs .tab.search_tabs, .search_result .searchTabs .tab.search_tabs {
    width: 50%;
    cursor: pointer;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    position: relative;
    border: none;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: rgba(64, 64, 64, 1);
    transition: 0.2s all ease;
    height: fit-content;
}

.search_result {
    border: 1px solid rgba(77, 134, 201, 1) !important;
    box-shadow: 0 4px 4px 0 rgba(77, 134, 201, .3) !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.search_tabs:hover:not(.underline_header_search) {
    transform: none !important;
}

 .searchTabs .tab.underline_header_search, .searchTabs .tab:hover {
    background: rgba(243, 243, 243, 1) !important;
    color: rgba(77, 134, 201, 1) !important;
     font-weight: 600 !important;
}

 .searchTabs .tab svg {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

 .searchTabs .tab svg path {
    stroke: #404040;
}

 .searchTabs .tab:hover svg path,  .searchTabs .tab.underline_header_search svg path {
    stroke: rgba(77, 134, 201, 1);
}

 .searchTabs .tab span.badge {
    width: 19px;
    height: 19px;
    margin: 0;
    border-radius: 50%;
    font-family: Poppins;
    font-size: 11px;
    font-weight: 600;
    line-height: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 9px;
    background: rgba(64, 64, 64, 1);
    color: #fff;
     display: none;
}

 .searchTabs .tab.underline_header_search span.badge,  .searchTabs .tab:hover span.badge {
    color: #fff;
    background: rgba(77, 134, 201, 1);
}

 .searchTabs button#tab-questions::after {
    position: absolute;
    right: 0;
    content: "";
    width: 2px;
    height: 39px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    background: rgba(182, 180, 180, 1);
}

 .searchTabs .tab.underline_header_search::before,  .searchTabs .tab:hover::before  {
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background: rgba(77, 134, 201, 1);
    bottom: 0;
}

 .tab-content .searchBookResult,  .tab-content .searchQuestionResult {
    max-height: 450px;
    overflow-y: auto;
    height: fit-content;
    margin-bottom: 0 !important;
     padding: 0;
}

 .tab-content .searchQuestionResult,  .tab-content .searchBookResult {
    list-style: none;
    padding-left: 0;
}

 .tab-content .searchQuestionResult li, .search-section li,  .tab-content .searchBookResult li, #search_results_dv li, .desktop-search-section li {
    border-bottom: 1px dotted rgba(182, 180, 180, 1);
     margin: 0;
}

 .tab-content .searchQuestionResult li a, .search-section li a, .tab-content .searchBookResult li a, .desktop-search-section li a {
    padding: 15px;
    display: inline-block;
    text-decoration: none;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 22.5px;
    text-align: left;
    color: rgba(64, 64, 64, 1) !important;
    background: #fff;
     width: 100%;
}

 .searchQuestionResult li a b, .searchBookResult li a strong {
    font-weight: 800;
    color: #000;
}

 .tab-content .searchQuestionResult li a:hover, .tab-content .searchBookResult li a:hover, .search-section li a:hover, .desktop-search-section li a:hover {
    background: rgba(243, 243, 243, 1);
     color: rgba(64, 64, 64, 1) !important;
}

 .tab-content .searchQuestionResult li a .question-icon {
    font-weight: 700;
    margin-right: 5px;
}

 .tab-content.active {
    display: block;
}

 .footer-more-links {
    padding: 15px 15px 10px 15px;
    width: fit-content;
    float: right;
}

 .footer-more-links a {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: left;
    text-decoration: none;
    position: relative;
    color: rgba(77, 134, 201, 1) !important;
    background: transparent !important;
     padding: 0 !important;
}

 .footer-more-links a.more-link {
    margin-right: 20px;
}

 .footer-more-links a.more-link::after {
    position: absolute;
    content: "";
    width: 1px;
    background: rgba(182, 180, 180, 1);
    height: 22px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: -11px;
}

 #textbooks-content .footer-more-links a.more-link {
    margin-right: 0;
}

 #textbooks-content .footer-more-links a.more-link::after {
    display: none;
}

 .footer-more-links a:hover {
    text-decoration: underline;
}

a.bookResultLink {
    display: flex !important;
    align-items: flex-start;
    padding: 15px;
    width: 100%;
}

a.bookResultLink .book-image {
    margin-right: 15px;
    width: 94px;
    height: 117px;
}

a.bookResultLink .book-info {
    margin-top: -4px;
}

a.bookResultLink .book-title, a.bookResultLink .book-author, a.bookResultLink .book-isbn {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 22.5px;
    text-align: left;
    margin-bottom: 7px;
    color: rgba(64, 64, 64, 1);
}

a.bookResultLink .book-author span, a.bookResultLink .book-isbn span {
    color: rgba(77, 134, 201, 1);
    font-weight: 600;
}

a.bookResultLink .book-title span.searchBookEdition {
    margin-left: 10px;
    font-weight: 600;
    color: gray;
}

ul.search_answer {
    box-shadow: none;
}

.search_answer .centralized-section {
    padding: 15px 0 20px 0;
}

.search_answer .noQuestion {
    font-family: Poppins;
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    color: #404040;
    margin-bottom: 7px;
}

.search_answer .noFoundQuery {
    font-size: 15px;
    line-height: normal;
    margin: 0 auto;
    width: fit-content;
    display: block;
    color: #353535;
}

.search_answer .postNewQuestionButton {
    width: 180px;
    height: 30px;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    box-shadow: none;
    border: 1px solid #4D86C9;
    background: #4D86C9;
    color: #fff;
    border-radius: 6px;
    margin: 0 auto;
    display: block;
}

.searchButton.mobile {
    display: none;
}

@media (min-width:1440px) {
    .search-holder {
        width: 90%;
    }

    div#search-dropdown.show {
        left: 0;
        width: 100% !important;
    }
}

@media (max-width:1300px){

    .search-holder {
        width: 88%;
    }

    div#search-dropdown.show {
        width: auto !important;
    }
}

@media (max-width:991px){
    .searchbox_result_content .searchTabs, .navbarsearch_result .searchTabs, .search_result .searchTabs {
        flex-direction: column;
    }

    .searchbox_result_content .searchTabs .tab.search_tabs, .navbarsearch_result .searchTabs .tab.search_tabs, .search_result .searchTabs .tab.search_tabs {
        width: 100%;
    }

    .searchTabs button#tab-questions::after {
        display: none;
    }
}

@media (max-width:767px){
    .searchbox_result_content .searchTabs, .navbarsearch_result .searchTabs, .search_result .searchTabs {
        flex-direction: row;
    }

    .searchbox_result_content .searchTabs .tab.search_tabs, .navbarsearch_result .searchTabs .tab.search_tabs, .search_result .searchTabs .tab.search_tabs {
        width: 50%;
        padding: 10px 9px;
        font-size: 15px;
    }

    .searchTabs button#tab-questions::after {
        display: block;
    }

    .searchTabs .tab svg {
        width: 17px;
        height: 17px;
        margin-right: 5px;
    }

    .searchTabs .tab span.badge {
        font-size: 9px;
        width: 15px;
        height: 15px;
        margin-left: 5px;
    }

    .search-holder {
        width: 88%;
    }
}

@media (max-width:575px){
    .navbar-header {
        position: relative;
    }

    .search-holder {
        position: absolute;
        width: 100%;
        left: 0;
        top: 0;
        margin-top: 0;
        z-index: 1;
    }

    .searchbox_result_content .searchTabs .tab.search_tabs:nth-child(1), .navbarsearch_result .searchTabs .tab.search_tabs:nth-child(1), .search_result .searchTabs .tab.search_tabs:nth-child(1) {
        width: 62%;
    }

    .searchTabs .tab svg {
        display: none;
    }

    .searchButton.mobile {
        display: block;
        border: none;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: default;
        width: 30px;
        border-radius: 0;
        height: 25px;
        background: transparent;
        margin-right: 20px;
    }

    .searchButton.mobile i {
        font-size: 23px;
        color: #4D86C9;
    }

    .search-holder {
        display: none;
        border-radius: 0;
    }

    .profile-dropdown .submenu li:hover .inner-submenu {
        position: relative;
        left: 0;
        top: 0;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        width: 100%;
        padding-bottom: 1px;
        border: none;
    }

    .profile-dropdown .submenu li a.submenu-trigger {
        width: fit-content;
    }

    .profile-dropdown .submenu li a.submenu-trigger::after {
        pointer-events: none;
    }

    .profile-dropdown .inner-submenu li a {
        padding-left: 60px;
        width: 100%;
    }

    .search-holder .searchFlex {
        height: 55px;
    }

    div#search-dropdown.show {
        top: 59px;
    }
}

@media (max-width:479px){
    .search_answer .noFoundQuery {
        font-size: 14px;
    }
}

@media (max-width:440px) {
    .tab-content .searchQuestionResult li a, .tab-content .searchBookResult li a {
        padding: 15px 8px;
    }

    a.bookResultLink .book-image {
        margin-right: 11px;
        width: 65px;
        height: 80px;
    }
}

@media (max-width:375px){
    .search_answer .noFoundQuery {
        width: 97%;
        text-align: center;
    }
}

ul.searchBookResult::-webkit-scrollbar, ul.searchQuestionResult::-webkit-scrollbar {
    width: 18px;
    height: 8px;
}

ul.searchBookResult::-webkit-scrollbar-thumb, ul.searchQuestionResult::-webkit-scrollbar-thumb {
    background: rgba(182, 180, 180, 1);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
    background-clip: padding-box;
    border-radius: 10px;
    border: 5px solid transparent;
}

ul.searchBookResult::-webkit-scrollbar-track, ul.searchQuestionResult::-webkit-scrollbar-track {
    background: rgba(238, 238, 238, 1);
}

/* Header Search with Dropdown Design with session */

#page-topbar .navbar-header .fullScreenIcon {
    margin-left: 20px !important;
}