/**course page collapse panel**/
#custom-toggle-p .accordion-button,
#custom-toggle-p2 .accordion-button,
#custom-toggle-p3 .accordion-button,
#custom-toggle-p4 .accordion-button,
#custom-toggle-p5 .accordion-button,
#custom-toggle-p6 .accordion-button {
    background-color: #d42929;
}

#custom-toggle-p .accordion-button:not(.collapsed),
#custom-toggle-p2 .accordion-button:not(.collapsed),
#custom-toggle-p3 .accordion-button:not(.collapsed),
#custom-toggle-p4 .accordion-button:not(.collapsed),
#custom-toggle-p5 .accordion-button:not(.collapsed),
#custom-toggle-p6 .accordion-button:not(.collapsed) {
    background-color: #d42929;
    color: #fff
}

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

.accordion-item .accordion-body h2,
#custom-toggle-p-collapse p,
#custom-toggle-p2-collapse p,
#custom-toggle-p3-collapse p,
#custom-toggle-p4-collapse p,
#custom-toggle-p5-collapse p,
#custom-toggle-p6-collapse p {
    color: #666;
}

#collapse2 .accordion-button {
    background-color: #f9fafc;
    color: #3b3b3b;
    padding: 1.5rem 1.25rem;
}

#collapse2 .accordion-item .accordion-button:not(.collapsed) {
    background-color: #f9fafc;
    color: #3b3b3b;
}



/**main top nav**/
#navbar.dxpr-theme-header--hover-background .menu a.is-active {
    color: #0041ab;
    background-color: #fff !important;
}

.body--dxpr-theme-nav-desktop .dxpr-theme-header--top #logo {
    max-height: 44px !important;
}

#navbar.dxpr-theme-header--hover-background .menu .active>a {
    color: #0041ab;
    background-color: #fff !important;
}

/**login btn**/
#block-dxpr-theme-useraccountmenu-2 {
    float: right;
}

#block-dxpr-theme-loginformpopup {
    float: right;
    margin-top: 18px;
}


#custom-topic {
    height: 48rem;
}

#custom-topic-title {
    padding-top: 6rem;
    font-weight: bold;
    color: #0041ab;
    /* text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); */
}

#custom-topic-title h1 {
    color: #0041ab;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}

#custom-topic a {
    background: linear-gradient(to right, #3d85c6, #e9599b);
    border-color: #fff !important;
    margin-top: 1.5rem !important;
    font-size: 1rem;
    /* background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet); 彩虹渐变 */
}

#custom-topic-button-1 {
    margin-top: 3rem;
}


/**home events**/
#home-item2-mobile,
#home-item4-mobile,
#custom-topic-button-2-mobile,
#custom-topic-button-4-mobile {
    display: none;
}

#home-events {
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, .1);
}

#custom-contact-btn button {
    transition: background-color 0.3s ease;
}

.custom-carousel-a {
    transition: background-color 0.3s ease;
    border: 2px solid #fff;
    padding: 10px;
    border-radius: 10px;
}

.custom-carousel-a:hover {
    background-color: #0041ab;
    text-decoration: none;
}

#custom-scrolltoTop {
    position: fixed;
    right: 30px;
    top: 80%;
    display: none;
    transition: background-color 0.3s ease;
    z-index: 10;
}

#custom-scrolltoTop i:hover {
    transition: background-color 0.3s ease;
    background-color: #0041ab !important;
    color: #fff !important;
}

#gbu5spxp29,
#home-events {
    display: none;
}

#custom-content-item {
    height: 250px;
}

#gb106x3o47 {
    width: 280px;
}

#gbahg1w205,
#gbx16np1he,
#gb882mf2t8 {
    width: 200px;
    margin: 0 auto;
}

/**chatgpt page**/
.custom-list-group-item,
.custom-list-insert-copy {
    border: none;
    border-radius: 6px;
    padding-top: 12px;
    padding-bottom: 12px;
    transition: background-color 0.3s ease;
    cursor: copy;
}

.copy-input-2,
.copy-input-4 {
    margin-left: 10px;
    margin-right: 10px;
    padding: 6px !important;
    width: 8rem;
    text-align: center;
    color: #0041ab;
}

.custom-list-group-item:hover,
.custom-list-insert-copy:hover {
    background-color: #e6e6e6
}

.custom-list-group-item p,
.custom-list-insert-copy p {
    margin-bottom: 0;
}

.custom-list-group-item svg,
.custom-list-insert-copy svg {
    width: 1rem;
    height: 1rem;
}

.custom-copied {
    display: none
}

.chatbox {
    z-index: 2147483000;
    position: fixed;
    bottom: 84px;
    right: 20px;
    transform-origin: right bottom 0px;
    height: 0px;
    min-height: 80px;
    width: 0px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 1;
    transition: width 200ms ease 0s, height 200ms ease 0s, max-height 200ms ease 0s, transform 300ms cubic-bezier(0, 1.2, 1, 1) 0s, opacity 83ms ease-out 0s;
    pointer-events: all;
    background: #fff;
}

.chatinput {
    height: 99px;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 25px;
    position: absolute;
    bottom: 0;
}

.chatinput div {
    position: relative
}

.chattitle {
    width: 100%;
    height: 3%;
    /* background-color: #0041ab; */
    position: absolute;
    z-index: 9999;
}

.chattitle svg {
    width: 1rem;
    height: 1rem;
    margin-left: 1rem;
    cursor: pointer;
}

.chatlist {
    height: 83%;
    width: 100%;
    /* border-top:14px solid #0041ab; */
    padding-top: 2rem;
    background: linear-gradient(#0041ab, #fff);
    overflow-y: scroll;
}

#custom-chatbot-tip svg {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
    display: inline-block;
    vertical-align: middle;
}

#custom-chatbot-tip h4 {
    display: inline-block;
    vertical-align: middle;
}

.list-group-item-country {
    color: #0041ab;
}

.chattextarea {
    box-sizing: border-box;
    overflow-y: hidden;
    /* 隐藏滚动条 */
    resize: none;
    /* 禁止通过拖动调整大小 */
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    padding-right: 4.5rem !important;
    max-height: 72px;
    /*  padding-top: 1.5rem !important;*/
    padding-bottom: 1.5rem !important;
    padding-left: 1rem !important;
    margin-left: 5% !important;
    width: 90%;
    margin: 0 auto;
    display: block;
    margin: auto;
    margin-top: 1rem;
    border-radius: 6px !important;
    font-size: 14px;

}

.custom-badge {
    position: absolute;
    right: 0.875rem;
    bottom: 0.875rem;
}

.custom-chatgpt-btn {
    width: 4.5rem;
    height: 2rem;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    right: 2rem;
    top: 1.3rem;
}

.custom-chatgpt-btn svg {
    width: 2rem;
    height: 2rem;
    /* background: #999; */
    background: #0041ab;
    border-radius: 20px;
}
.custom-chatgpt-btn img {
    width: 2rem;
    height: 2rem;
    /* background: #999; */
    background: #0041ab;
    border-radius: 20px;
}
.custom-chatgpt-btn-demo img {
    width: 2rem;
    height: 2rem;
    /* background: #999; */
    background: #0041ab;
    border-radius: 20px;
}

.chatBeginBtn {
    user-select: none;
    z-index: 2147483000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 48px;
    transition: transform 167ms cubic-bezier(0.33, 0, 0, 1) 0s;
    transform-origin: center center 0px;
    background: #0041ab;
    border-radius: 40px;
    display: flex;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
}

.chatBeginBtn svg {
    margin-right: .4rem
}

.bigsvg {
    width: 30px !important;
    height: 30px !important;
}

.chatBeginBtn svg {
    height: 24px;
    width: 24px;
    transition: width 200ms ease 0s, height 200ms ease 0s, max-height 200ms ease 0s, transform 300ms cubic-bezier(0, 1.2, 1, 1) 0s, opacity 83ms ease-out 0s;
}

.chat-msg {
    padding: 10px;
    display: flex;
}

.chat-msg .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.chat-msg .chat-msg-avatar {
    width: 30px;
    height: 30px;
    background: #0041ab;
    /* text-align: center; */
    display: grid;
    place-items: center;
    border-radius: 29px;
    /* align-items: center; */
    margin-right: 10px;
}

.chat-msg .chat-msg-avatar svg {
    width: 20px;
    height: 20px;
}
.chat-msg .chat-msg-avatar img {
    width: 20px;
    height: 20px;
}
.chat-msg .chat-msg-avatar-demo img {
    width: 20px;
    height: 20px;
}

.chat-msg .chat-msg-avatar-user {
    margin-right: 0px !important;
    margin-left: 10px;
    background: #fff;
}

.chat-msg .info {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}

.chat-msg .name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff;
    font-size: 14px;
}

.custom-chatgpt-btn-demo {
    width: 4.5rem;
    height: 2rem;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    right: 2rem;
    top: 1.3rem;
}

.chat-msg .message {
    background-color: #f4f4f4;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
}

.chat-msg.user {
    display: flex;
    flex-direction: row-reverse;
}

.chat-msg.user .info .name {
    text-align: right;
    color: #fff;
    font-size: 14px;
}

.user .avatar {
    margin-right: 0;
}

#custom-chatgpt-question-list h4 {
    margin-left: 15px;
    margin-right: 15px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 15px;
    font-weight: bold;
}

.no-scroll {
    overflow: hidden;
}

.message-icon svg {
    width: 1rem;
    height: 1rem;
}

.message-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 1rem;
    height: 1rem;
}

.message-icon .tooltiptext {
    visibility: hidden;
    width: 60px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.message-icon .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.message-icon:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.chatbox-cover{
    display: flex;
  justify-content: center;
  align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    z-index: 999; /* 确保遮罩层位于最顶层 */
}
.chatbox-cover a{
    padding:10px 5px;
    border:1px solid #fff;
    color:#fff;
    border-radius: 6px;
}

/**book start**/
#custom-book-content .no-bottom {
    margin-bottom: 0rem;
}

#custom-book-navside {
    position: fixed;
    right: 0;
    top: 10%;
    background: #fff;
    height: 0;
    width: 0;
    max-width: 350px;
    max-height: 700px;
    z-index: 9;
    transition: width 200ms ease 0s, height 200ms ease 0s, max-height 200ms ease 0s, transform 300ms cubic-bezier(0, 1.2, 1, 1) 0s, opacity 83ms ease-out 0s;
}

#custom-book-navside-list {
    overflow: scroll;
    height: 74vh;

}

#custom-book-navside .container {
    padding-left: 0px;
    padding-right: 0px;
}

#custom-book-navside ul {
    padding-left: 0rem;
    margin-bottom: 0.5rem;
}

#custom-book-navside li {
    list-style: none;
}

#custom-book-navside p {
    font-size: 14px;
}

.custom-book-navside-title {
    padding-top: 5px;
    margin-bottom: 5px;
    padding-left: 1em;
}

.custom-book-navside-close {
    /* float:right; */
    margin-left: 58%;
    margin-right: 20px;
    margin-top: 5px;
    cursor: pointer;
}

#custom-book-navside-open {
    position: fixed;
    right: 0;
    top: 30%;
    background: #0041ab;
    height: 50px;
    width: 100px;
    z-index: 9;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    cursor: pointer;
}

#custom-book-navside-open .container {
    padding: 0px;
    text-align: center;
}

#custom-book-navside-open .custom-book-navside-open-hover {
    display: none;
}

#custom-chapter-content1,
#custom-chapter-content2,
#custom-chapter-content4,
#custom-chapter-content5,
#custom-chapter-content6,
#custom-chapter-content7,
#custom-chapter-content8,
#custom-chapter-content9,
#custom-chapter-content16,
#custom-chapter-content18,
#custom-chapter-content20,
#custom-chapter-content3 {
    display: none;
}

#custom-guide-top h1 {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    /* background-image: linear-gradient(225deg, #0e1226 0, #253470 51%, #0e1226 100%); */
}

#custom-guide-content {
    -webkit-font-smoothing: antialiased;
}

#custom-guide-content p {
    line-height: 1.8;
}

#custom-guide-content h1 {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    font-weight: 800;
    margin-bottom: 50px;
}

#custom-guide-content h2,
#custom-guide-content h3 {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    font-weight: 800;
    margin-top: 50px;
}

#custom-guide-content h4 {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    font-weight: 800;
    margin-top: 30px;
}

#custom-guide-content p {
    /* font-family: Montserrat,Helvetica,Arial,sans-serif; */
}

#custom-guide-top-cover,
#custom-lesson-top-cover {
    margin-top: 200px;
    height: 0;
    width: 100%;
    position: relative;
    z-index: 5;
}

#custom-lesson-top-cover {
    /* margin-top:150px; */
}

#custom-guide-top-cover:before,
#custom-lesson-top-cover::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    margin-left: calc((-100vw + 100%) / 2);
    height: 100%;
    width: 100vw;
    background-color: #fff;
    z-index: -1;
}

#custom-guide-top-cover:after,
#custom-lesson-top-cover:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    display: block;
    margin-left: calc((-100vw + 100%) / 2);
    padding-top: 13vw;
    width: 100vw;
    -webkit-transform: translateY(2px);
    -o-transform: translateY(2px);
    transform: translateY(2px);
    /* background-image: url(/themes/custom/opigno/css/../images/asset/wave-decoration-bottom.svg); */
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 0 0;
    z-index: -1;
}

#custom-guide-top-cover:after {
    background-image: url(/sites/default/files/2024-03/header-bottom-none.svg);
    padding-top: 9.2vw;
}

#custom-lesson-top-cover:after {
    background-image: url(/sites/default/files/2024-03/header-bottom-none.svg);
    /* padding-top: 22.2vw; */
    padding-top: 9.2vw;

}

#custom-guide-list .container {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

#custom-guide-10-tab li[role=presentation] {
    width: 14.28%;
    text-align: center;
    font-weight: 900;
}

#custom-guide-10-tab a.active[role=tab] {
    background-color: #dddddd;
}

#custom-guide-10-tab a:hover {
    color: #284ed9;
}

#custom-guide-10-tab .accordion-item {
    background-color: #fff;
    color: #555555;
}

/**book end**/
/**student chatgpt use guide start**/
#custom-sidenav-right2 ul {
    margin-bottom:0px;
}
#custom-sidenav-right2 h4{
    margin-top:10px;
}
/**student chatgpt use guide end**/
/**contact us**/
#edit-actions-submit {
    background: #0041ab;
    color: #fff;
    margin: auto;
    display: block;
}

/**login**/
.custom-login-title{
    color: #0041ab;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    text-align: center;
    font-weight:800;
    margin-top:30px;
}
#edit-submit{
    margin: auto;
    display: block;
    padding: 10px 20px;
    color:#fff;
}
.user-login-form div{
    width: 46%;
    margin: auto;
}
.user-login-form input{
    border-radius: 25px !important;
}
.user-login-form #edit-actions{
    margin-top:20px;
}

/**mobile top right nav color**/
.body--dxpr-theme-nav-mobile .dxpr-theme-header #dxpr-theme-menu-toggle span,
.body--dxpr-theme-nav-mobile .dxpr-theme-header #dxpr-theme-menu-toggle span::before,
.body--dxpr-theme-nav-mobile .dxpr-theme-header #dxpr-theme-menu-toggle span::after {
    background: #fff !important;
}

.body--dxpr-theme-nav-mobile .dxpr-theme-header #dxpr-theme-menu-toggle.navbar-toggle--active span {
    background-color: rgba(0, 0, 0, 0) !important;
}

/**university library**/
#custom-university-library{
    background-size:35%;
}
.custom-video-library{
    width:1000px;
    height:570px;
}
.chatbox-university-library {
    height: 500px;
    min-height: 80px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 1;
    pointer-events: all;
    background: #fff;
}

/**access chatbot ad**/
#custom-goto-chatbot{
    height: 100px;
    padding-left: 68px;
    font-size: 1rem;
    width: 350px;
    position: fixed;
    left: 0;
    top: 300px;
    z-index: 100;
}
/* 用于移动设备的特定样式 */
@media only screen and (max-width: 800px) {

    /* 在宽度小于等于 600px 时应用的样式 */
    .chatlist {
        height: 80%;
        width: 100%;
        /* border-top:14px solid #0041ab; */
        padding-top: 2rem;
        background: linear-gradient(#0041ab, #fff);
        overflow-y: scroll;
    }

    /**home**/
    #custom-topic-title h1 {
        color: #0041ab;
        font-size: 30px;
    }

    #custom-topic {
        background-image: url(/sites/default/files/dxpr_builder_images/AdobeStock_232851057_0.jpg?fid=126) !important;
    }

    #custom-topic a {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    #custom-topic-button-1 {
        margin-top: 2rem;
    }

    #custom-ai-button2 {
        text-align: center;
    }

    #custom-ai-button2 a {
        margin-top: 3px !important;
    }

    #home-item1 {
        margin-top: 0px !important;
    }

    #home-item2,
    #home-item4,
    #custom-topic-button-2,
    #custom-topic-button-4 {
        display: none;
    }

    #home-item2-mobile,
    #home-item4-mobile,
    #custom-topic-button-2-mobile,
    #custom-topic-button-4-mobile {
        display: block;
    }

    #home-begin-text {
        margin-top: 0px !important;
    }

    #custom-chatgpt-question-list {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    #block-dxpr-theme-customfooter {
        text-align: center;
    }

    #gb2t5n1kq8 p {
        text-align: center !important;
    }

    .custom-chatgpt-btn {
        right: 1rem;
    }

    .chattitle svg {
        margin-left: 0.5rem;
        margin-top: 0.5rem;
    }

    .custom-contact-us-title {
        font-size: 30px;
    }

    #custom-guide-top h1,
    #custom-guide-content h1 {
        font-size: 30px;
    }

    #custom-guide-top-cover {
        margin-top: 100px;
    }

    #custom-guide-content h1 {
        margin-bottom: 35px;
    }

    #custom-guide-content h2 {
        font-size: 26px;
    }

    #custom-guide-content h3 {
        font-size: 22px;
    }

    #custom-guide-content h4 {
        font-size: 18px;
    }

    #custom-guide-content-left {
        padding-right: 15px !important;
    }

    #custom-guide-content-right {
        padding-left: 15px !important;
    }

    #custom-guide-content-right h5 {
        /* padding-left:15px !important; */
    }

    #custom-chapter-left {
        width: 30%;
    }

    #custom-chapter-right {
        width: 70%;
    }
    .user-login-form div{
        width: 80%;
        margin: auto;
    }
    .custom-video-library {
        width: 403px;
        height: 235px;
    }
}

@media screen and (max-height: 400px) {
    .chatlist {
        height: 60%;
    }
}