/*
Theme Name: 108 baby
Author: kenny
Version: 1.0
*/
body {
    font-family: "Microsoft JhengHei";
}

/* 移除底部 mobile nav 上方的黃色 active 指示線（藍色藥丸已標示 active，無需重複） */
.mobile-style-8 ul li a::after {
    display: none !important;
}

:focus {
    outline: 3px dotted #ea5455;
    transition: 0.2s;
}

h1 {
    font-size: 1.6rem;
    font-weight: normal;
}

h2 {
    font-size: 1.4rem;
    font-weight: normal;
}

h3 {
    font-size: 1.125rem;
}

p,
span,
a,
li {
    font-size: 1rem;
}

a {
    color: #000000;
}

a:hover {
    text-decoration: none;
    color: #000000;
}

ul {
    padding: 0;
    margin: 0;
}

button:focus {
    outline: 0;
}

.aligncenter {
    display: block;
    margin: auto;
}

a[accesskey="L"] {
    position: absolute;
    top: -8px;
    color: #DDE3E6;
}

a[accesskey="C"] {
    position: absolute;
    top: -2px;
    left: -14px;
    color: #FFF;
}

a[accesskey="L"]:focus {
    color: #000000;
}

a[accesskey="C"]:focus {
    color: #000000;
}

/* menu-icon & at-menu-area */
.menu-icon {}

.at-menu-area {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 250px;
    left: -250px;
    background: #FFF;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
}

.at-menu-area.active {
    left: 0;
}

#menu-icon {
    cursor: pointer;
}

.at-menu-area .accordion-body {
    padding: 0;
}

.at-main-menu-list {
    background: #f5f5f5;
}

.at-main-menu-list li {}

.at-main-menu-list li a {
    display: block;
    padding: 5px 20px 5px 20px;
}

.at-main-menu-list li a:hover {
    background: #3E8ED8;
    color: #FFF;
}




/* /menu-icon */

/* table basic css */
table {
    width: 100%;
    margin: 20px 0;
}

table th,
table td {
    padding: 15px 10px;
    border: 1px solid #dcdcdc;
}

table th {
    color: #FFF;
    background: #3E8ED8;
}

table td {
    color: #000000;
}

.at-input-required {
    color: #ea5455;
}

/* at-box-link-area */
.at-box-link-area .at-link-box {
    border: 1px solid rgba(var(--border-color), 1);
}

.at-link-box a {
    padding: 15px;
    width: 100%;
    font-weight: bold;
}

/* /at-box-link-area*/

.learning-auth .learning-header {
    padding: 20px 0;
}

.message-box .msger-inputarea {
    bottom: 60px;
}

.message-box .msger-input {
    padding: 16px 54px 16px 20px;
}

.at-message-area-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 0 0 55px 0;
}

.at-list-table {
    text-align: center;
}

.at-list-table tr {
    cursor: pointer;
}

.at-list-table tr th:first-child {
    width: 20%;
}

.at-list-table tr th:nth-child(2) {
    width: 30%;
}

.at-city-search-form select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1rem;
    color: #000000;
    margin-bottom: 5px;
}

.at-city-search-form button {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: #3E8ED8;
    color: #fff;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.at-pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.at-pagi-button {
    padding: 5px 10px;
    background-color: #3E8ED8;
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
}

.at-pagi-button:hover {
    background-color: rgba(var(--theme-color), 1);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.at-pagination .at-pagi {
    padding: 5px 10px;
    background-color: #3E8ED8;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin: 0 3px;
}

.at-pagination .at-pagi:hover {
    background-color: rgba(var(--theme-color), 1);
}

.at-current-pagi {
    background-color: rgba(var(--theme-color), 1) !important;
}

.at-main-container {
    padding: 0 15px 100px 15px;
}

.at-action-button-area .at-button {
    padding: 7px 20px;
    background: #3E8ED8;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    display: block;
    text-align: center;
    margin: 0 0 32px 0;
    border: none;
}

.at-action-button-area input {
    padding: 7px 10px;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    display: block;
    margin: 0 0 5px 0;
}

.at-action-button-area button {
    padding: 7px 20px;
    background: #3E8ED8;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    display: block;
    text-align: center;
    border: none;
}

.chatting-list-box {
    padding: 0 0 70px 0;
}

.at-register-page {
    padding: 0 0 150px 0;
}

/* 用 Bootstrap row/col 排版時，覆蓋 form-style-9 相鄰 .form-box 的 margin-top */
.at-register-page .acount-form-box.row .form-box + .form-box {
    margin-top: 0;
}

/* radio 區塊：用跟 form-control 一樣的高度與 padding，讓視覺上對齊 input */
.at-register-page .acount-form-box.row .gender-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    list-style: none;
    margin: 0;
    min-height: 50px;
    border: 1px solid transparent;
    border-radius: 22px;
}

.at-register-page .acount-form-box.row .gender-list > li {
    margin: 0;
    width: auto;
}

@media (max-width: 600px) {
    .at-register-page .acount-form-box.row .gender-list {
        min-height: auto;
        padding: 10px 14px;
        border-radius: 15px;
    }
}

.at-sub-title-one {
    font-size: 1rem;
}

.at-recommend-photo {
    max-width: 50% !important;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto;
    display: block;
}

#outdoor_license_photos_preview .photo-item img,
#license_photos_preview .photo-item img,
#env_photos_preview .photo-item img {
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.available-districts {
    padding: 5px 10px;
}

.at-front-end-check {
    margin: 30px 0 0 0;
    text-align: center;
}

.at-front-end-check a {
    padding: 5px 5px;
    color: #FFF;
    background: #000000;
    border-radius: 5px;
}

.at-table-main-area table tr th:first-child {
    width: 25%;
}

.at-home-news-section {
    padding: 0 15px;
}

.at-home-news-section .category-content-list a {
    background: #f5f5f5;
    display: block;
    padding: 10px 10px;
}

.at-home-news-section .category-content-list li .category-content-box .category-content-content {
    width: 100%;
}

.at-home-more-news-button {
    font-size: 0.9rem;
    display: block;
    text-align: right;
    margin-top: 10px;
}

.at-home-news-section .custom-container {
    padding: 0;
}

.at-home-news-section .category-content-list {
    gap: 10px;
}

.at-news-content p {
    margin-bottom: 0;
}

.at-topic-section.choose-topic-section .choose-topic-box {
    padding-bottom: 5%;
}

.next-button-box {
    border-top: none;
}

.at-usually-city-area {
    padding: 0 0 15px 0;
}

.at-usually-city-list a {
    display: block;
    padding: 5px;
    border: 1px solid #000000;
    margin-bottom: 10px;
    font-weight: bold;
    transition: none;
}

.at-usually-city-list a:hover {
    background: #3E8ED8;
    color: #FFF;
    transition: none;
}

.tab-style-4 .nav-item .nav-link.active {
    background: #3E8ED8;
}

.at-home-tab-list-area .nav {}

.at-home-tab-list-area .nav li {
    width: 50%;
}

.at-home-tab-list-area .nav li button {
    width: 100%;
}

.at-home-list-link a {
    background: #fbfbfb;
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    transition: none;
}

.at-home-list-link a:hover,
.at-home-list-link a:hover i {
    color: #fff;
    transition: none;
}

.at-home-list-link a i {
    display: block;
    font-size: 1.875rem;
    color: #787878;
}

.at-qa-area .accordion-header {
    font-size: 1rem;
    background: #f5f5f5;
    padding: 10px 15px;
}

.at-qa-area .accordion-body {
    padding: 10px 15px !important;
}

.at-qa-area .accordion-body p {
    color: #000000 !important;
    font-size: 1rem !important;
}

.at-qa-area .accordion-body p a {
    color: #3E8ED8;
    font-family: bold;
}

.at-qa-area .accordion-body ul {
    padding-left: 20px;
}

.at-qa-area .accordion-body ul li {
    list-style: disc !important;
}

.at-qa-area .accordion-style-1 .accordion-item+.accordion-item {
    margin-top: 10px;
}

.at-case-table-list-area {
    max-width: 100%;
    overflow-y: scroll;
}

.at-case-table-list {
    text-align: center;
    margin-top: 0;
}

.at-case-table-list th {
    white-space: nowrap;
}

.at-case-table-list tr td:nth-child(5) {
    white-space: nowrap;
}

.at-breadcrumb ul li {
    display: inline-block;
    font-weight: bold;
}

.at-breadcrumb ul li+li:before {
    content: ">";
    padding: 0 5px;

}

/* .at-case-table-list th:first-child {
    width: 20%;
}

.at-case-table-list th:nth-child(2) {
    width: 20%;
}

.at-case-table-list th:nth-child(3) {
    width: 20%;
}

.at-case-table-list th:nth-child(4) {
    width: 15%;
} 

.at-case-table-list th:nth-child(5) {
     width: 15%;
}
*/