/*
Theme Name: aptheme
Theme URI: https://arrowpont.com/
Author: ARROWPONT
Author URI: https://arrowpont.com
Description: Theme used exclusively within the Arrowpont company
Version: 1.04
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aptheme
*/
a {
    text-decoration: none;
}
html {
    font-size: 16px;
}
html, body {
  overscroll-behavior: none; /* 禁用滾動到邊界時的拖拽回彈效果 */
}
html, body {
  overflow-x: hidden; /* 禁用水平滾動 */
  max-width: 100vw;   /* 限制寬度在視口內 */
}

body {
    font-family: 'Arial', Open Sans, Microsoft YaHei,Microsoft JhengHei ,'Noto Sans TC', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #002557;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', Open Sans, Microsoft YaHei,Microsoft JhengHei ,'Noto Sans TC', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #002557;
}
.page-content {
    min-height: calc(100vh - 208px);
}
#document-upload-container {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    margin: 20px auto;
    max-width: 600px;
}

#document-upload-form label,#en-document-upload-form label,#nv-document-upload-form label,#nev-document-upload-form label,#document-upload-form input,#document-upload-form textarea,#document-upload-form select,#en-document-upload-form input,#en-document-upload-form textarea,#en-document-upload-form select,#nv-document-upload-form input,#nv-document-upload-form textarea,#nv-document-upload-form select,#nev-document-upload-form input,#nev-document-upload-form textarea,#nev-document-upload-form select {
    display: block;
    margin-bottom: 10px;
}

#document-upload-form input[type="file"],#en-document-upload-form input[type="file"] ,#nv-document-upload-form input[type="file"],#nev-document-upload-form input[type="file"] {
    display: block;
    margin-bottom: 20px;
}

#document-upload-form input[type="submit"],#en-document-upload-form input[type="submit"],#nv-document-upload-form input[type="submit"],#nev-document-upload-form input[type="submit"] {
    display: block;
    margin-top: 20px;
}
#header .logo {
    min-width: 40px;
}
#document-upload-form textarea,#en-document-upload-form textarea,#nv-document-upload-form textarea,#nev-document-upload-form textarea {
    width: 100%;
}

@media(min-width:768px){
    .extracted-text, .marking-feedback,.extracted-en-text, .marking-en-feedback,.extracted-nv-text, .marking-nv-feedback,.extracted-nev-text, .marking-nev-feedback {
    width: calc(50% - 15px);
    display: inline-block;
    float: left;
    margin: 5px 7.5px;
}
}
.extracted-text,.marking-feedback,.extracted-en-text, .marking-en-feedback,.extracted-nv-text, .marking-nv-feedback,.extracted-nev-text, .marking-nev-feedback  {
    max-height: 500px;
    overflow-y: scroll;
    padding: 15px;
    border: 2px solid #f2f2f2;
}
@media(min-width:1240px){
    #document-upload-container,#en-document-upload-container {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    margin: 0 0 0 0;
    max-width: 300px;
    display: inline-block;
    min-height: 700px;
}
#document-upload-container,#en-document-upload-container {
    height: calc(100vh - 70px);
  }
  #document-upload-form textarea,#en-document-upload-form textarea,#nv-document-upload-form textarea,#nev-document-upload-form textarea {
    min-height: 200px;
}
.extracted-text, .marking-feedback,.extracted-en-text, .marking-en-feedback,.extracted-nv-text, .marking-nv-feedback,.extracted-nev-text, .marking-nev-feedback {
    width: calc(50% - 165px);
    display: inline-block;
    margin: 0px 7.5px;
    float: none;
}
.exambox .wpb_wrapper.vc_column-inner {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
}
.extracted-text, .marking-feedback,.extracted-en-text, .marking-en-feedback,.extracted-nv-text, .marking-nv-feedback,.extracted-nev-text, .marking-nev-feedback, .aptheme-settings{
    max-height: calc(100vh - 70px);
    height: calc(100vh - 70px);
}
.aptheme-settings.historybox {
    overflow: scroll;
}
}
.aptheme-settings {
    padding: 15px;
}
div#edit-profile-container input[type="submit"] {
    margin-top: 15px;
}
@media(max-width:1239px){
    #document-upload-container,#en-document-upload-container {
    max-width: 100%;
    padding-top: 0;
    margin-top: 0;
}
.exammarker .col-lg-12 {
    padding: 0;
}
.extracted-text, .marking-feedback,.extracted-en-text, .marking-en-feedback,.extracted-nv-text, .marking-nv-feedback,.extracted-nev-text, .marking-nev-feedback {
    /*max-height: calc(100vh - 369px);*/
    height: calc(100vh - 369px);
}
}
@media(max-width:767px){
    .extracted-text, .marking-feedback,.extracted-en-text, .marking-en-feedback,.extracted-nv-text, .marking-nv-feedback,.extracted-nev-text, .marking-nev-feedback {
    max-height: 280px;
}
div#document-upload-container,div#en-document-upload-container, .extracted-text, .marking-feedback, .extracted-en-text, .marking-en-feedback, .extracted-nv-text, .marking-nv-feedback, .extracted-nev-text, .marking-nev-feedback {
    margin: 0px;
}
#document-upload-container,div#en-document-upload-container {
    max-width: 100%;
}
}
/* Webkit-based browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px; /* Scrollbar width */
    height: 12px; /* Scrollbar height */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Scrollbar track color */
    border-radius: 10px; /* Scrollbar track corner radius */
}

::-webkit-scrollbar-thumb {
    background: #888; /* Scrollbar thumb color */
    border-radius: 10px; /* Scrollbar thumb corner radius */
}

::-webkit-scrollbar-thumb:hover {
    background: #555; /* Scrollbar thumb hover color */
}

/* Firefox */
* {
    scrollbar-width: thin; /* Scrollbar width */
    scrollbar-color: #888 #f1f1f1; /* Scrollbar thumb and track color */
}

/* Edge, IE */
* {
    -ms-overflow-style: -ms-autohiding-scrollbar; /* Edge and IE specific scrollbar styles */
}
.no-breadcrumbs .main-content {
    padding-top: 0;
    padding-bottom: 0;
}
.token-cost {
    background-color: #13227a;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    position: relative;
    display: inline-block;
}
.token-cost::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #13227a;
}
.user-avatar {
    border-radius: 50%;
    overflow: hidden;
    max-width: 41px;
    box-shadow: 0px 0px 8px #737373;
    border: 1px solid #fff;
}
.user-name {
    margin-left: 15px;
    color: #fff;
}
div#user-info {
    display: flex;
    align-items: center;
    margin: 0px -20px 15px -20px;
    padding: 10px 20px;
}
div#user-info a {
    color: #fff;
}
p.token-cost {
    display: none;
}
span.user-token-info {
    font-size: 12px;
    margin-left: 15px;
}
#document-upload-container {
    background: linear-gradient(0deg, #8f61ff, #2aadff);
    color: #fff;
}

#document-upload-form input[type="submit"],#en-document-upload-form input[type="submit"],#nv-document-upload-form input[type="submit"],#nev-document-upload-form input[type="submit"] {
    border: 2px solid #ffffff96;
    width: 100px;
    background: linear-gradient(45deg, #2196F3, transparent);
    transition: .2s;
    border-radius: 6px;
    color: #fff;
    line-height: 35px;
}

#document-upload-form input[type="submit"]:hover,#en-document-upload-form input[type="submit"]:hover,#nv-document-upload-form input[type="submit"]:hover,#nev-document-upload-form input[type="submit"]:hover {
    background: linear-gradient(45deg, transparent, #2196F3);
    border-color: #ffffff;
}

    /*  */
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /*  */
    .loading-icon {
        border: 8px solid #f3f3f3; /*  */
        border-top: 8px solid #060b27; /*  */
        border-radius: 50%; /*  */
        width: 50px;
        height: 50px;
        animation: spin 2s linear infinite; /*  */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /*  */
    }
    .loading-iconv2 {
        border: 8px solid #f3f3f3; /*  */
        border-top: 8px solid #1E87DF; /*  */
        border-radius: 50%; /*  */
        width: 50px;
        height: 50px;
        animation: spin 2s linear infinite; /*  */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /*  */
    }
    .loading-iconv3 {
        border: 3px solid #f3f3f3; /*  */
        border-top: 3px solid #1E87DF; /*  */
        border-radius: 50%; /*  */
        width: 15px;
        height: 15px;
        animation: spin 2s linear infinite; /*  */
        position: absolute;
        top: 22px;
        /*left: 50%;*/
        /*transform: translate(-50%, -50%);   */
    }
    /* loading */
    .loading-container {
        position: relative;
        height: 100%; /*  */
        width: 100%;
    }

    /*  */
    .hidden {
        display: none;
    }
    
 /*  */
    #exam-form {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    /*  */
    #exam-form input[type="text"], 
    #exam-form textarea {
        width: calc(25% - 10px); /* input */
        margin: 0 10px 20px 0;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    /* textarea */
    #exam-form textarea {
        width: 100%; /* input */
        min-height: 150px;
        resize: vertical; /*  */
    }

    /*  */
    #exam-form button[type="button"], 
    #exam-form button[type="submit"] {
        background-color: #0073aa;
        color: #fff;
        padding: 12px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
    }

    #exam-form button[type="button"]:hover, 
    #exam-form button[type="submit"]:hover {
        background-color: #005a87;
    }

    /*  */
    #exam-form .form-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /*  */
    #exam-form .form-group input[type="text"] {
        flex: 1;
        min-width: 120px;
        margin-right: 10px;
    }

    #exam-form .form-group textarea {
        flex-basis: 100%;
    }

    /*  */
    #exam-form .form-group button {
        width: 100%;
        margin-top: 20px;
    }
    
.footer-wrapper {
    display: none;
}

body.single.single-writing_exam .container {
    width: 100% !important;
    max-width: 100%;
}
@media(min-width:920px){
#exam-form .form-group textarea {
    height: calc(100vh - 280px);
}
body.single.single-writing_exam .page-content {
    width: 50%;
    overflow: scroll;
    max-height: 100vh;
    height: 100vh;
}
.custom-exam-form-container {
    width: 50%;
    max-height: 100vh; 
    height: 100vh; 
}
body.single.single-writing_exam article.post-52.writing_exam.type-writing_exam.status-publish.hentry {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
}
}
div#startExamModal p {
    text-align: center;
    font-size: 20px;
    color: #000;
    font-weight: 600;
}
/*body.single.single-writing_exam .page-content {*/
/*    padding: 15px 0;*/
/*}*/
@media(max-width:919px){
body.single.single-writing_exam .page-content {
    height:auto;
    min-height: auto;
}
}
/* 側邊菜單樣式 */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align: center;
    background-image: linear-gradient(148deg, #f0f9ff 6.72%, #fff 46.43%, #f7f5fd 98.63%);
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
}

/* 侧边栏内容样式 */
.sidenav a {
    padding: 8px;
    text-decoration: none;
    font-size: 16px;
    color: #0d1d4d;
    display: flex;
    transition: 0.3s;
    text-transform: capitalize;
}
.sidenav li a {
    border-bottom: 1px solid #fff;
}
/* 鼠标悬停侧边栏链接时样式 */
.sidenav a:hover {
    color: #f1f1f1;
}

/* 用于关闭侧边栏的 "X" 按钮 */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 20px;
}

/* 侧边栏的背景遮罩 */
.sidenav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999; /* 要低于侧边栏，但要高于内容 */
    display: none; /* 初始隐藏 */
    transition: 0.5s;
}
nav.navbar ul.navbar-nav li a {
    text-transform: capitalize;
    padding: 15px;
    color: #000;
    display: flex;
    position: relative;
}

nav.navbar ul.navbar-nav>li {
    display: inline-block;
}

nav.navbar ul.navbar-nav li a i, .sidenav a i {
    margin-right: 2px;
    width: fit-content;
    max-width: 24px;
    font-size: 15px;
    line-height: 28px;
}

h1.page-title {
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    text-transform: uppercase;
}
button#download-feedback, button#download-en-feedback, button#download-nv-feedback, button#download-nev-feedback {
    position: fixed;
    bottom: 10px;
    right: 25px;
    border-radius: 5px;
    color: #ffffff;
    line-height: 30px;
    font-size: 14px;
    border: 1px solid #000;
    background: linear-gradient(45deg, #7277FF, #2196F3);
    border-color: #cb9292;
}

button#download-feedback:hover,button#download-en-feedback:hover,button#download-nv-feedback:hover,button#download-nev-feedback:hover {
    color: #1f90eb;
    background: #fff;
    box-shadow: 0 0 2px #ccc;
    border-color: #1f90eb;
}
button#download-feedback:hover:after,button#download-en-feedback:hover:after,button#download-nv-feedback:hover:after,button#download-nev-feedback:hover:after {
    content: '';
    background: #eba41f;
    width: 8px;
    height: 8px;
    display: inline-block;
    position: absolute;
    right: 3px;
    top: 3px;
    border-radius: 50%;
}
button#download-feedback i,button#download-en-feedback i,button#download-nv-feedback i,button#download-nev-feedback i {
    line-height: 35px;
    float: left;
}
button#download-feedback span,button#download-en-feedback span,button#download-nv-feedback span,button#download-nev-feedback span {
    line-height: 35px;
}
.extracted-nv-text label,.extracted-nev-text label {
    width: 100%;
}

textarea#extracted_nv_text,textarea#extracted_nev_text {
    width: 100%;
    height: calc(100% - 55px);
    border-radius: 8px;
    box-shadow: 0 8px 20px 0 #E7E7EE;
    border-color: #e5e7eb;
    padding: 15px;
    margin-top: 15px;
}
.tooltips {
    display: none;
}
span.tooltips {
    background: #2e2e2e;
    color: #fff;
    position: absolute;
    width: 56px;
    left: 50px;
    top: 12px;
    border: 1px solid #6f6f6f;
    border-radius: 0 10px 10px 10px;
    font-size: 12px;
    line-height: 26px;
    text-align: center;
}
span.tooltips.tooltipsright {
    left: initial;
    right: 40px;
    border-radius: 10px 0 10px 10px;
    top: 5px;
    line-height: 26px !important;
}

@media(min-width:1240px){
.exammarker .col-lg-12 {
    display: flex;
    padding: 0;
}
}
.user-avatar img {
    width: 100%;
    height: auto;
}
#document-upload-form textarea,#en-document-upload-form textarea,#nv-document-upload-form textarea,#nev-document-upload-form textarea {
    border-radius: 15px;
    background: #fff;
    padding: 10px;
}
#document-upload-form input[type="submit"]:disabled,#en-document-upload-form input[type="submit"]:disabled,#nv-document-upload-form input[type="submit"]:disabled,#nev-document-upload-form input[type="submit"]:disabled {
    background: linear-gradient(45deg, #aedbff, #c7c9ff);
    cursor: not-allowed;
}
.sidemenu {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #f7f7f7;
    padding: 0 5px;
}

.sidemenu-item a {
    display: block;
    color: #3e3e3e;
    border-radius: 50%;
    position: relative;
    width: 46px;
    height: 46px;
}
.sidemenu-item a i {
    font-size: 24px;
    line-height: 46px;
}
.sidemenu-item {
    width: auto;
    text-align: center;
    margin-bottom: 10px;
}
.sidemenu-item a:hover {
    color: #1f90eb;
    background: #fff;
    box-shadow: 0 0 2px #ccc;
}
.sidemenu-item a:hover:after {
    content: '';
    background: #eba41f;
    width: 8px;
    height: 8px;
    display: inline-block;
    position: absolute;
    right: 8px;
    top: 8px;
    border-radius: 50%;
}
@media(max-width:1239px){
.sidemenu {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .sidemenu-item {
        margin-bottom: 0px;
        margin-left: 10px;
    }
    span.tooltips {
        left: initial;
        right: 48px;
        border-radius: 10px 0 10px 10px;
        top: 10px;
        line-height: 26px !important;
    }
}
.navbar-brand img {
    max-height: 40px; /* 根据需要调整 */
    height: auto;
    width: auto;
}
.error404 .container.text-center {
    padding: 100px 15px;
    height: calc(100vh - 206px);
}

.error404 .container.text-center h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.error404 .btn.btn-primary {
    text-transform: uppercase;
}
.page-template-client-login>.container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
.page-template-client-login>.container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* 提示文字样式 */
.page-template-client-login .container p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

/* 输入框样式 */
.page-template-client-login input[type="text"],
.page-template-client-login input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* 按钮样式 */
.page-template-client-login input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #2aadff, #8f61ff);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-template-client-login input[type="submit"]:hover {
    background: linear-gradient(215deg, #2aadff, #8f61ff);
}

/* 记住我复选框样式 */
.page-template-client-login .container label[for="rememberme"] {
    font-size: 14px;
    color: #666;
}

.fullheight-head {
    min-height: calc(100vh - 110px);
}
@media(max-width:768px){
    .fullheight-head {
        min-height: 300px;
    }
}
.main-linear-gradient {
    text-align: center;
    background-image: linear-gradient(227.53deg, #adddffcc 6.72%, #fff 46.43%, #fff 71.41%, #ede8ffc4 98.63%), url(https://aptheme.ai/wp-content/uploads/2024/08/banner-amaker-aibg.png);
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
}
.aptheme-bg-light {
    box-shadow: 0px 0px 2px #00000014;
    margin-bottom: 2px;
}
button.navbar-toggler.nobd {
    border: none;
}
.design-font-01 h1 {
    background: linear-gradient(45deg, #2aadff, #8f61ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bolder;
    display: inline-block;
}
.design-font-02 h1 {
    background: linear-gradient(45deg, #2aadff, #8f61ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bolder;
    display: inline-block;
}
.design-font-02 h1 {
    font-size: 3.2rem;
}
@media(min-width:1240px){
    .design-font-02 h1 {
        font-size: 6.2rem;
    }
}
@media(min-width:1024px) and (max-width:1239px){
    .design-font-02 h1 {
        font-size: 4.2rem;
    }
}
.aptheme-post-grid .col-md-4 {
    margin-bottom: 15px;
    margin-top: 15px;
}
.aptheme-post-grid .col-md-4 a {
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 0 2px #0d70fd;
    padding: 15px;
    display: block;
    color: #264573;
}
.aptheme-post-grid .col-md-4 a i {
    font-size: 17px;
    line-height: 26px;
}
.apthemeposticonhead {
    float: left;
    margin-right: 5px;
}
.apthemeposticonfoot {
    float: right;
}
.aptheme-post-grid .col-md-4 a:hover {
    box-shadow: 0 0 5px #0d70fd;
}
.apthemebtn {
    border: 2px solid #ffffff96;
    width: 170px;
    background: linear-gradient(45deg, #2196F3, #7277FF);
    transition: .2s;
    border-radius: 6px;
    color: #fff;
    line-height: 35px;
    display: block;
    text-align: center;
    cursor: pointer;
}
.apthemebtn i {
    float: left;
    line-height: 35px;
    margin-left: 4px;
}
.apthemebtn:hover {
    background: linear-gradient(45deg, #7277FF, #2196F3);
    border-color: #cb9292;
}
a.apthemebtn.apthemebtn-mini {
    width: 125px;
}
.ocrform {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    margin: 15px auto;
}
.ocrform label {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    display: block;
}
textarea#ocr-result-textarea {
    height: calc(100vh - 500px);
}
.ocrform input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 15px;
    background-color: #fafafa;
}

.ocrform input[type="submit"] {
    background-color: #007bff;
    background: linear-gradient(45deg, #2196F3, #7277FF);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.ocrform input[type="submit"]:hover {
    background-color: #0056b3;
    background: linear-gradient(45deg, #7277FF, #2196F3);
    box-shadow: 0px 0px 0px 2px #ff000052;
}
@media(min-width:1024px){
form.ocrform {
    max-width: 100%;
}
.ocrform label,.ocrform input {
    display: inline-block;
    width: auto !important;
    line-height: 24px;
    padding: 5px 20px !important;
    margin-bottom: 0 !important;
}
.ocrform input[type="file"] {
    padding: 2px 0px!important;
}
}

.view-history {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    margin: 15px auto;
}
.view-history label {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    display: block;
}
.view-history input[type="date"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 15px;
    background-color: #fafafa;
}

.view-history input[type="submit"] {
    background-color: #007bff;
    background: linear-gradient(45deg, #2196F3, #7277FF);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.view-history input[type="submit"]:hover {
    background-color: #0056b3;
    background: linear-gradient(45deg, #7277FF, #2196F3);
    box-shadow: 0px 0px 0px 2px #ff000052;
}
@media(min-width:1024px){
form.view-history {
    max-width: 100%;
}
.view-history label,.view-history input {
    display: inline-block;
    width: auto !important;
    line-height: 24px;
    padding: 5px 20px !important;
    margin-bottom: 0 !important;
}
}
span.user-times-info, span.user-improvement-info {
    display: block;
}

/*WooCommerce*/

body.product-template-default.single h1.page-title {
    display: none;
}

@media(min-width:768px){
.woocommerce .single-product .product {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.woocommerce div.product div.images {
    width: 50%;
    padding-right:15px;
}
.woocommerce div.product div.summary {
    width: 50%;
    padding-left:15px;
}
    section.related.products {
        width: 100%;
    }
}
.woocommerce div.product form.cart .button:hover {
    background: linear-gradient(45deg, #7277FF, #2196F3);
    border: 2px solid #fddcc5;
}

.woocommerce div.product form.cart .button {
    background: linear-gradient(45deg, #2196F3, #7277FF);
    border: 2px solid #2aadff;
}

.woocommerce .quantity .qty {
    height: 40px;
    border: 1px solid #897e7e;
    border-radius: 5px;
}

.related.products ul.products li.product {
    justify-content: center;
}
/* 調整產品圖片的大小 */
.single-product .woocommerce-product-gallery img {
    width: 100%;
    /*max-width: 500px;*/
    height: auto;
    margin: 0 auto;
    display: block;
}

/* 調整產品標題樣式 */
.single-product h1.product_title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

/* 調整價格顯示樣式 */
.single-product .woocommerce-Price-amount {
    font-size: 1.5rem;
    color: #5f85ff;
    font-weight: bold;
}

/* 自定義Add to Cart按鈕樣式 */
.single-product .single_add_to_cart_button {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    text-align: center;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
}

.single-product .single_add_to_cart_button:hover {
    background-color: #005f8a;
}

/* 調整相關產品區塊 */
.related.products {
    margin-top: 50px;
}

.related.products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.related.products ul.products li.product {
    text-align: center;
    margin: 0 auto;
}
nav.navbar ul.navbar-nav li:hover>a {
    color: #419dff;
}
nav.navbar ul.navbar-nav li a {
    font-weight: 400;
}
body:not(.home) .page-content {
    padding-top: 35px;
}
.page-content {
    margin-bottom: 35px;
}
@media(max-width:767px){
body:not(.home) .page-content {
    padding-top: 15px;
}
.page-content {
    margin-bottom: 15px;
}
}
nav.navbar>ul.navbar-nav>li:hover a:after {
    content: '';
    display: block;
    height: 50%;
    width: 100%;
    background: #fbfbfb;
    position: absolute;
    z-index: -1;
    left: 0;
    border-radius: 10px;
}
li.current-menu-item.page_item.current_page_item a {
    color: #419dff;
}
.container-fluid .page-content {
    padding: 0 !important;
}
.highlight {
    background-color: #87ebff;
    font-weight: bold;
}
span.agree_terms a {
    color: #ffc107;
}
span.agree_terms {
    margin-top: 15px;
    display: block;
}
.aptheme-settings.historybox {
    width: inherit;
}
span.agree_terms input {
    display: inline-block !important;
}
span#get-improved-article {
    margin-top: 35px;
}
.improvearticlecontent {
    margin-bottom: 35px;
}
h3.extracted_nv_title,h3.extracted_nev_title {
    color: #419dff;
    background: linear-gradient(45deg, #2196F3, #7277FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.marking-nv-feedback, .marking-nev-feedback,.marking-feedback,.marking-en-feedback {
    padding-bottom: 55px;
}

.endoccontainer {
    background: linear-gradient(181deg, #ff194e, #7277ff) !important;
}
.alternatives-plan {
    margin-top: 20px;
    background: #fbfbfb;
    border-radius: 15px;
    padding: 15px;
    border: 1px dashed #efefef;
}
.alternatives-plan p {
    margin-bottom: 10px;
}
.alternatives-plan a {
    border: 1px solid #bdbdbd96;
    width: 100px;
    background: linear-gradient(45deg, #f7f7f7, #fdfdfd, #f7f7f7);
    transition: .2s;
    border-radius: 6px;
    color: #000000;
    line-height: 28px;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    margin-right: 15px;
}
.alternatives-plan a:hover {
    background: linear-gradient(45deg, #7277FF, #2196F3);
    border-color: #cb9292;
    color: #fff;
}

.aptheme-icon-description {
    display: flex;
    align-items: center;
}
.aptheme-icon-description .icon-image {
    flex: 0 0 80px; /* 图标宽度 */
    margin-right: 20px;
}
.aptheme-icon-description .icon-image img {
    max-width: 100%;
    height: auto;
}
.aptheme-icon-description .aptheme-icon-text-content {
    flex: 1;
}
.aptheme-icon-description .aptheme-icon-text-content h3 {
    font-size: 20px;
    margin: 0;
    color: #333;
}
.aptheme-icon-description .aptheme-icon-text-content p {
    font-size: 14px;
    margin: 10px 0;
    color: #666;
}

.aptheme-icon-description .aptheme-icon-text-content a {
    color: #007bff;
    text-decoration: none;
}
.aptheme-product-category-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.aptheme-category-item {
    text-align: center;
    margin: 20px;
}

.aptheme-category-image img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.aptheme-category-info h3 {
    font-size: 1.2em;
    margin-top: 10px;
}

.aptheme-category-info p {
    color: #666;
    font-size: 0.9em;
}

/* 主選單樣式 */
.navbar-nav > li {
    position: relative;
    display: block;
    padding: 10px 15px;
    background-color: transparent; /* 透明背景 */
    text-transform: uppercase;
    font-weight: bold;
}

/* 下拉菜單樣式 */
.navbar-nav .sub-menu {
    display: none; /* 預設隱藏 */
    padding: 0;
    margin-top: 5px; /* 可以調整和主選單之間的間距 */
    background-color: transparent; /* 移除背景顏色 */
    list-style: none;
    border: none; /* 去除邊框 */
    z-index: 99999;
}

/* 顯示下拉菜單 */
.navbar-nav li:hover > .sub-menu {
    display: block;
}

/* 下拉菜單中的連結樣式 */
.navbar-nav .sub-menu li a {
    display: block;
    padding: 10px;
    color: #333; /* 保持簡單的文字顏色 */
    text-decoration: none;
    background-color: transparent; /* 保持透明背景 */
    border: none; /* 去除分隔線 */
}

/* 下拉選單項目的 hover 效果 */
.navbar-nav .sub-menu li a:hover {
    background-color: rgba(0, 0, 0, 0.05); /* 微弱的hover效果 */
    color: #007bff; /* 或者保持不變 */
}
@media(min-width:992px){
.navbar-nav .sub-menu {
    position: absolute;
    background: #fff;
    min-width: 280px;
}
}
@media(max-width:991px){
.navbar-nav .sub-menu li a {
    text-align: left;
    font-size: 13px;
    font-weight: 500;
}
}
img.alignnone.size-full {
    width: 100%;
    height: auto;
}
li.menu-item-has-children>a:after {
    content: '\e313';
    font-family: 'Material Icons Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Footer Columns */
footer#colophon {
    background-color: #f5f5f5;
}
.footer-widgets.container .row {
    margin: 0;
}
.footer-widgets {
    padding: 40px 0;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-column .widget {
    padding: 10px;
}

.footer-column .widget-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    background:#ededed;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-column {
        width: 100%;
    }
}

.site-footer ul {
    padding: 0;
    list-style: none;
}

.site-footer ul a {
    color: #000;
}

.site-footer ul li {
    margin-bottom: 5px;
    padding-left: 15px;
}
.site-footer {
    color: #000;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 15px;
}
.site-footer ul li a:before {
    content: '\e5cc';
    font-family: 'Material Icons Outlined';
    display: inline-block;
    position: absolute;
    left: -18px;
}

.site-footer ul li a  {
    position: relative;
}
@keyframes microtremors {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.site-footer ul li a:hover:before {
    animation: microtremors 0.8s ease-in-out infinite;
}
.event-box {
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    max-width: 500px;
    margin-bottom: 15px;
}
.event-date {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.event-date .day {
    font-size: 18px;
    font-weight: bold;
}
.event-date .month {
    font-size: 12px;
}
.event-details {
    flex: 1;
}
.event-title {
    font-size: 18px;
    margin: 0;
}
.event-time {
    font-size: 14px;
    margin: 0;
}
.featured-image {
    text-align: center;
}
.featured-image img {
    max-width: 100%;
    height: auto;
}
/* 每篇文章的容器樣式 */
.post-item {
    padding: 5px 5px 0px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: box-shadow 0.3s;
}

.post-item:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

/* 標題樣式 */
.post-item .page-title a {
    font-size: 22px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.post-item h4 a {
    font-size: 22px;
}
@media(max-width:1024px) and (min-width:768px){
    .post-item .page-title a {
        font-size: 17px;
    }
}
.post-item h4 {
    font-size: 15px;
    text-align: center;
    margin-bottom: 0;
    margin-top: 15px;
}
.post-item .page-title a:hover {
    color: #0073aa;
}

/* 特色圖片容器變成正方形 */
.post-item .featured-image {
    width: 100%; /* 設置寬度佔據父容器的全部寬度 */
    padding-top: 100%; /* 設置一個 100% 的內邊距頂部，確保高度與寬度相同 */
    position: relative; /* 相對定位使內部圖片絕對定位 */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* 特色圖片內部圖片設置為正方形 */
.post-item .featured-image img {
    position: absolute; /* 絕對定位圖片，讓它適應容器 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 圖片填充容器，保持比例 */
    transition: transform 0.3s;
}

/* 滑過效果 */
.post-item .featured-image a:hover img {
    transform: scale(1.05);
}

@media(min-width:768px){
.post-item {
    display: inline-block;
    width: calc(50% - 34px);
    margin: 15px;
}
}

/* 摘要樣式 */
.post-item .post-excerpt {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}
/* 分頁樣式 */
.page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #0073aa;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.page-numbers:hover {
    background-color: #005880;
    color: #fff;
    border-color: #005880;
}
/* 搜尋表單容器樣式 */
form[role="search"] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 下拉選單的樣式 */
form[role="search"] select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s, background-color 0.3s;
}

form[role="search"] select:hover {
    border-color: #999;
    background-color: #fff;
}

form[role="search"] select:focus {
    outline: none;
    border-color: #0073aa;
}

/* 提交按鈕的樣式 */
form[role="search"] button[type="submit"] {
    padding: 8px 16px;
    border: 1px solid #0073aa;
    border-radius: 5px;
    background-color: #0073aa;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

form[role="search"] button[type="submit"]:hover {
    background-color: #005a8c;
    border-color: #005a8c;
}

form[role="search"] button[type="submit"]:focus {
    outline: none;
}
@media(max-width:767px){
    form[role="search"] {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }
}

/* 標籤樣式（如果顯示） */
form[role="search"] label {
    font-size: 16px;
    color: #333;
    margin-right: 5px;
}
/* 搜尋結果容器樣式 */
.search-results-container {
    padding: 20px;
    margin-top: 20px;
}

/* 搜尋結果標題 */
.search-results-container h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

/* 搜尋結果項目容器 */
.search-result-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    transition: box-shadow 0.3s;
}

.search-result-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 搜尋結果標題 */
.search-result-item h2 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #0073aa;
}

.search-result-item h2 a {
    text-decoration: none;
    color: #0073aa;
    transition: color 0.3s;
}

.search-result-item h2 a:hover {
    color: #005a8c;
}

/* 搜尋結果摘要 */
.search-result-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* 類別標籤 */
.search-result-item p strong {
    font-weight: bold;
    color: #333;
}

.search-result-item p a {
    display: inline-block;
    margin-right: 8px;
    color: #555;
    background-color: #eef;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.search-result-item p a:hover {
    background-color: #0073aa;
    color: #fff;
}

/* 分頁導航 */
.search-results-container .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.search-results-container .pagination a,
.search-results-container .pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    font-size: 16px;
    color: #0073aa;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.search-results-container .pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

.search-results-container .pagination .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.post-circle-container {
    display: flex;
    flex-wrap: wrap; /* 自动换行 */
    justify-content: space-between; /* 每行项目均匀分布 */
    gap: 20px; /* 项目之间的间距 */
}

.post-circle {
    width: 100px; /* 宽度固定 */
    height: 100px; /* 高度固定 */
    border-radius: 50%; /* 确保是圆形 */
    background-color: #f8b3c1; /* 粉红色背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    margin: 10px auto; /* 添加上下间距并居中 */
}

.post-circle a {
    color: inherit;
    text-decoration: none;
}

.post-circle:hover {
    background-color: #f591a4; /* 略深的粉红色 */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.1); /* 鼠标悬停时放大 */
    transition: all 0.3s ease;
}

@media(min-width:768px){
.post-circle-container {
    max-width: 339px;
}
}
@media(max-width:767px){
.post-circle-container {
    max-width: 300px;
    margin: 0 auto;
}
}
@media(min-width:992px){
header.fixed-header {
    position: fixed;
    left: 0;
    top: 0;
    background: transparent;
    width: 100%;
    z-index: 99999;
}

body.admin-bar header.fixed-header {
    top:32px
}
header.fixed-header li.current-menu-item.page_item a ,nav.navbar ul.navbar-nav li a,nav.navbar ul.navbar-nav li:hover>a{
    color:#fff;
    text-shadow: -1px 1px 2px black;
}
}