.menu_area-light .navbar-nav > li > a {
    font-size: 1.25rem;
}
.badge-soft, .section-heading .sub-title {
    padding: 4px 12px;
    font-size: 14px;
}
.footer-logo img {
    max-width: 100px;
}

.aboutus-style-01 .img-2 {
    bottom: -35px;
}

@media screen and (max-width: 767px) {
    .event-wrapper .event-img {
        min-height: 495px;
    }
}

body {
    font-size:1.1rem;
}

#home-plan .card-body p {
    font-size:1.1rem !important;
}

.list-search-form {
    margin-bottom: 100px;
}

@media only screen and (min-width: 1px) and (max-width: 767px) {
    .list-search-form {
        margin-bottom: 12px;
    }
}

.list-search-box {
    max-width: 350px;
    margin: 0px auto ;
    position: relative;
}



.list-search-form button {
    position: absolute;
    right: 10px;
    bottom: 5px;
    background-color: #fff;
}

.left-overlay-dark[data-overlay-dark]:before {
    background: none;
}

.dark-overlay[data-overlay-dark]:before {
    background: none;
}

.text-shadow {
    text-shadow: 1px 1px 5px #000000, -1px -1px 2px #ffffff;
}

.scrollHeader .navbar-nav li a  {
    text-shadow: none !important;
}

@media only screen and (min-width: 1px) and (max-width: 991px) {
    .navbar-nav li a  {
        text-shadow: none !important;
    }
}

.page-title-section h1, .page-title-section ul li a {
    text-shadow: 1px 1px 3px #000000, 0px 0px 2px #ffffff !important;
}

.fa-check{
    color: #2fbfa7;
}

.tab-style1 .resp-tab-content, .accordion-style1 .card-body {
    border: none !important;
    border-color: red !important;
}

h2.resp-accordion {
    border-top: 1px solid #e4e4e4;
}

@media (min-width: 992px) {
    .home-icon-two br {
        display: none;
    }
}

@media only screen and (min-width: 1px) and (max-width: 991px) {
    .home-icon-two span {
        display: none;
    }
}
.headshot-box {
    width: 65px; /* 圓形的寬度 */
    height: 65px; /* 圓形的高度，和寬度相同 */
    border-radius: 50%; /* 創建圓形效果 */
    overflow: hidden; /* 隱藏多餘部分 */
    display: flex;
    justify-content: center;
    align-items: center;
}
.headshot {
    padding:0px !important;

    width: 100%;
    height: 100%;
    object-fit: cover; /* 確保圖片覆蓋整個容器 */
    object-position: center; /* 確保圖片中間部分顯示在圓形中 */
}

.btn-bottom-close {
    min-height: 50px;
    border-radius: 0 0 5px 5px !important;
}

.pointer {
    cursor: pointer;
}

.background-main-color {
    background-color: #2fbfa7;
}

.background-main-color:hover, .background-main-color:focus, .background-main-color:active {
    background-color: #2fbfa7 !important;
}

@media screen and (max-width: 991px) {
    .top-position1 {
        margin-top: -137px;
    }
}

@media screen and (max-width: 575px) {
    .page-title-section {
        padding: 140px 0 20px;
    }
}

.info-box {
    width: 400px;
    margin: 15px auto 0px auto;
    text-align: center;
}
.info-box span {
    /*font-weight: 600;*/
}


@media only screen and (min-width: 1px) and (max-width: 991px) {
    .event-info-list li {
        display: block;
    }
}


@media (min-width: 992px) {
    .menu_area-light .navbar > ul > li.has-sub > a:after {
        border-color: #ff702a;
        margin-top: 6px;
    }

    .main-menu  {
        text-shadow: 1px 1px 3px #000000, 0px 0px 2px #ffffff !important;
    }
}

.home-main-icon {
    display: block;
    width: 65px;
    height: 65px;
    font-size: 28px;
    line-height: 65px;
    background: #2fbfa7;
    border-radius: 50%;
    color: #ffffff;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#banner {
    background-image: url('/front/images/banner.jpg');
}

@media only screen and (min-width: 1px) and (max-width: 991px) {
    #banner {
        background-image: url('/front/images/banner-mobile.jpg');
    }
}

.rememberme {
    font-weight: 600;
    padding-bottom: 5px;
    margin-bottom: 0;
    color: #6a747b;
    font-size: 15px;
}

#banner li {
    color: #fff;
    font-weight: 900;
    text-shadow: 1px 1px 3px #000000, 0px 0px 2px #ffffff !important;
}


.group_btn {
    display: block;
    margin: 5px 2px;
    background-color: #2ebfa7;
    color: #fff;
    font-weight: 900;
    padding: 10px 0px;
    border-radius: 5px;
}

.group_btn.active {
    color: #fff;
    background-color: #ff702a;
}

.group_btn:hover {
    color: #fff;
    background-color: #ff702a;
}

.displaynone {
    display: none;
}

.pagination li {
    margin-left: 4px;
    margin-right: 4px;
}





.mb-table th{
    font-size: 15px;
    color: #6a747b;
    font-weight: 600;
}

.mb-table td {
    vertical-align: middle;
}
@media (min-width: 992px) {
    .mb-table img {
        width: 45px;
        max-width: 100%;
    }
}

.member-event-table img {
    width: 50px;
}

@media only screen and (min-width: 1px) and (max-width: 991px) {

    .mb-table td {
        text-align: center !important;
    }

    .member-event-table img {
        width: 80%;
    }

    .mb-table tr{
        margin: 0px;
        border: #dee2e6 2px solid;
        padding: 15px;
        border-radius: 5px;
    }

    .mb-table button, .mb-table img {
        text-align: center;
        margin: auto;
    }

    .mb-table table,
    .mb-table thead,
    .mb-table tbody,
    .mb-table th,
    .mb-table td,
    .mb-table tr {
        display: block;
    }

    .mb-table tr {
        margin-bottom: 15px;
    }

    .mb-table td {
        position: relative;
        padding-left: 20%;
        text-align: left;
    }

    .member-event-table td {
        padding-left: 0%;
    }

    .table-responsive .info-table td:last-of-type, .table-responsive .member-table td:last-of-type {
        padding-left: 0%;
    }

    .mb-table td:before {
        position: absolute;
        top: 50%;
        left: 10px;
        width: calc(20% - 20px);
        white-space: nowrap;
        transform: translateY(-50%);
        font-size: 15px;
        color: #6a747b;
        font-weight: 600;
    }

    .info-table td:nth-of-type(1):before { content: "名稱"; }
    .info-table td:nth-of-type(2):before { content: "電話"; }
    .info-table td:nth-of-type(3):before { content: "地址"; }
    .info-table td:nth-of-type(4):before { content: "排序"; }

    .member-table td:nth-of-type(1):before { content: "大頭照"; }
    .member-table td:nth-of-type(2):before { content: ""; }
    .member-table td:nth-of-type(3):before { content: "姓名"; }
    .member-table td:nth-of-type(4):before { content: "職稱"; }
    .member-table td:nth-of-type(5):before { content: "排序"; }

    .mb-table input {
        width: 100%;
    }

    .mb-table img {
        max-width: 80%;
        text-align: center;
        display: block;
        margin: auto;
    }


    .mb-table thead {
        display: none !important;
    }

    .mb-table>:not(caption)>*>* {
        border-bottom-width: 0px;
    }


}



/* 上傳圖片 */
.image-box:hover .img-del-btn{
    display:block;
}

.img-border {
    background-color: #f7f7f7;
    border-radius: 0px;
    position: relative;
    text-align: center!important;
}

.img-border img {
    max-width: 100%;
    width: auto;
}

.img-del-btn{
    display: none;
    position: absolute;
    right: 10px;
    top: 5px;
}

/* 拖拉時隱藏下一層 */
.sortable-ghost .img-border, .sortable-ghost .file-border{
    opacity: 0;
    border-color: red;
}

/* 拖拉時原本位子的css */
.sortable-ghost {
    border-width: 2px;
    border-color: #d2d6de;
    border-style: dotted;
}

/* 拖拉時不要呈現透明 */
.sortable-fallback {
    opacity: 1 !important;
}

.sortable_box .item {
    cursor: move;
}


.event-list-search-box .input-group-text {
    height: 46px !important;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #2ebfa7;
}

.close_box {
    position: relative;
    height: 38px;
}

.close_box a {
    cursor: pointer;
    position: absolute;
    right: 0px;

}

.close_box i {
    font-size: 30px;
    color: #ff7029;
}

.quform-element > label {
    font-size: 18px;
}

.recommended-size {
    font-size: 14px;
    color: #878787;
}

@media only screen and (min-width: 1px) and (max-width: 991px) {
    .navbar-nav > li.has-sub:hover > ul {
        border-radius: 0px;
    }
}

.order_table td {
    vertical-align: middle;
}
@media only screen and (min-width: 1px) and (max-width: 991px) {
    .order_table  .symbol {
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile_show {
        display: none;
    }
}
@media only screen and (min-width: 1px) and (max-width: 991px) {
    .pc_show {
        display: none;
    }
}

.order_null_box {
    margin: 10vh auto;
    text-align: center;
}

.order_null_box img {
    width: 200px;
    max-width: 90%;
    margin-bottom: 20px;
}

/* 選單初始狀態 - 背景透明 */
.navbar-default {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0); /* 初始為透明 */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 選單滑動後的狀態 - 背景變成白色並加陰影 */
.navbar-default.scrolled {
    background-color: rgba(255, 255, 255, 1); /* 背景變成白色 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加陰影 */
}

/* 選單防止內容被選單遮住 */
body {
    padding-top: 53px; /* 根據 header 的高度調整 */
}

.group-detail-section:nth-child(even) {
    /*background-color: #f8f9fa !important;*/
}


.accordion-style1 .btn-link.collapsed:after, .accordion-style1 .btn-link:after {
    top: 50%;
    transform: translateY(-50%);
}



@media only screen and (min-width: 1px) and (max-width: 991px) {

    .navbar-header-custom span {
        color: #fff;
        font-size: 24px;
        font-weight: 900;
        line-height: 28px;
        align-items: center;
        text-shadow: 1px 1px 3px #000000, 0px 0px 2px #ffffff !important;
        display: inline-block;
    }

    .header-style1 .navbar-default {
        background-color: #fff !important;
    }

    section:first-of-type {
        margin-top: 20px;
    }


    #banner {
        padding-top: 35px;
        padding-bottom: 25px;
        min-height: 175px;
    }

    .navbar-header {
        display: flex;
        align-items: center; /* 讓圖片和文字垂直居中 */
    }

    .navbar-header a {
        display: flex;
        align-items: center; /* 讓圖片和文字在連結內部垂直居中 */
        text-decoration: none; /* 去除連結的下劃線 */
    }

    .navbar-brand img {
        vertical-align: middle; /* 調整圖片的垂直對齊 */
        height: 50px; /* 視需要調整圖片高度 */
    }

    .navbar-header span {
        vertical-align: middle; /* 調整文字的垂直對齊 */
        margin-left: 10px; /* 調整圖片和文字的間距 */
    }

    section {
        padding: 20px;
    }

    .navbar-nav {
        box-shadow: 0 20px 15px rgba(0, 0, 0, 0.2);
    }

    .accordion-style1 .btn-link.collapsed:after, .accordion-style1 .btn-link:after {
        top: 17px;
        transform: none;
    }
}

@media only screen and (min-width: 1px) and (max-width: 991px) {
    .navbar-nav {
        padding: 20px;

        border-style: solid;
        border-color: #d0d0d0;
        border-width: 1px;
    }

    .navbar-nav ul {
        background-color: #fff !important;
        border-width: 0px !important;

    }
    .navbar ul ul li a{
        padding: 10px 35px 10px 20px;
        font-size: 20px;
    }

    .navbar-default {
        border-bottom: 1px solid #a8a8a8 !important;
    }

    .dropdown-item {
        padding-left: 45px !important;
    }

    .accordion-style1 .btn-link.collapsed:after, .accordion-style1 .btn-link:after {
        left: 3px;
    }

    .fkddp {
        display: inline-block !important;
    }

    .footer-list li {
        border-bottom-width: 0px;
        padding-left: 40px;
    }

    .fked {
        background: #ffffff;
        border-radius: 5px;
        box-shadow: 0px 5px 24.25px 0.75px rgba(0, 0, 0, 0.1);
    }


    .fukedy .group_btn {
        padding-left: 15px;
        padding-right: 15px;
    }

    .fukedy:nth-child(odd) .group_btn {
        float: right; /* 單數元素靠右 */
    }

    .fukedy:nth-child(even) .group_btn {
        float: left; /* 雙數元素靠左 */
    }

    .fkked {
        display: flex;
        justify-content: center; /* 讓<a>元素左右置中 */
        gap: 10px; /* 控制每個<a>元素之間的間距，可根據需要調整 */
    }

    .fkked .group_btn {
        width: 80px;
        display: inline-block; /* 確保<a>元素按寬度排列 */
        text-align: center; /* 文字置中 */
    }
}

.quform-required {
    font-size: 16px !important;
}

.text-periwinkle {
    color: #6465a6;
}
