/*
Theme Name: phlox Child　/<em>phlox+Child</em>/
Description: Child theme for phlox theme
Author: 飛是藍點子工坊
Author URI: <a href="https://www.fastnet.tw">https://www.fastnet.tw</a>
Template: phlox
Version: 1.0.0 /<em>子佈景版本</em>/
*/

/****接下來，是自訂的css****/
/*讀入思源黑體*/

/**以下是logo及選單的部份**/
.elementor-widget-aux_logo .aux-widget-logo {
    background-color: #890302;
}

@media (min-width: 1025px) {
    .elementor-widget-aux_logo {
        position: relative !important;
        width: 140px !important;
        height: 110px;
        transition: .4s;
    }

    .elementor-widget-aux_logo .aux-widget-logo {
        position: absolute;
        padding: 20px 10px;
        width: 140px;
        transition: .4s;
    }

    .elementor-widget-aux_logo .aux-widget-logo a.aux-logo-anchor::after {
        content: "素行\A生命能量協會";
        white-space: pre;
        color: #fff;
        text-align: center;
        display: block;
        padding: 20px 0px;
        font-family: 'Noto Sans TC';
    }

    header.aux-sticky .elementor-widget-aux_logo {
        width: 120px !important;
        transition: .4s;
    }

    header.aux-sticky .elementor-widget-aux_logo .aux-widget-logo a.aux-logo-anchor::after {
        display: none;
    }

    header.aux-sticky .elementor-widget-aux_logo .aux-widget-logo {
        padding: 5px 10px;
        position: relative;
        width: 120px;
        transition: .4s;
    }

    header.aux-sticky .elementor-widget-aux_logo .aux-widget-logo .aux-logo-sticky img {
        width: 100px;
    }


    .header_menu {
        width: calc(100% - 160px) !important;
        transition: .4s;
    }

    ul#menu-header-menu {
        position: relative;
    }

    .header_con li#menu-item-47 {
        position: absolute;
        right: 0;
        background-color: #890302;
        color: #fff;
        top: -10px;
    }

    .header_con li#menu-item-47 a.aux-item-content {
        color: #fff;
        padding: 10px 30px;
    }

    header.aux-sticky .header_menu {
        width: calc(100% - 140px) !important;
    }

}

@media (max-width: 1159px) and (min-width: 1025px) {
    .elementor-27 .elementor-element.elementor-element-08eadd4 .aux-menu-depth-0>.aux-item-content {
        padding: 0px 0px 0px 20px !important;
    }

    .header_con li#menu-item-47 a.aux-item-content {
        padding: 10px 30px !important;
    }

}

@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-27 .elementor-element.elementor-element-08eadd4 .aux-menu-depth-0>.aux-item-content {
        padding: 10px 10px !important;
    }

    .elementor-27 .elementor-element.elementor-element-08eadd4>.elementor-widget-container {
        margin-top: 0px !important;
    }

    .elementor-widget-aux_logo .aux-widget-logo img {
        padding: 10px;
        transition: .4s;
    }

    header.aux-sticky .elementor-widget-aux_logo .aux-widget-logo img {
        width: 80px !important;
        height: 80px;
        padding: 5px;
        transition: .4s;
    }
}

@media (width: 768px) {
    .elementor-27 .elementor-element.elementor-element-c581bee {
        --flex-direction: row !important;
    }

    .elementor-27 .elementor-element.elementor-element-6d36dd5 {
        width: auto;
        text-align: left !important;
    }

    .elementor-widget-aux_logo .aux-widget-logo img {
        width: 80px !important;
        height: 80px;
        padding: 5px;
        transition: .4s;
    }
}

@media (max-width: 768px) {
    .elementor-widget-aux_logo {
        height: 80px;
    }

    .elementor-27 .elementor-element.elementor-element-6d36dd5 .aux-has-logo img {
        padding: 5px;
    }

    .elementor-27 .elementor-element.elementor-element-0790147 {
        padding-left: 10px;
        padding-right: 20px;
        background-color: #890302 !important;
    }

    .aux-burger .mid-line,
    .aux-burger::before,
    .aux-burger::after {
        border-color: #fff;
    }

    .elementor-widget-aux_logo .aux-widget-logo a.aux-logo-anchor {
        display: flex;
        align-items: center;
        gap: 5px 5px;
    }

    .elementor-widget-aux_logo .aux-widget-logo a.aux-logo-anchor::after {
        content: "素行\A生命能量協會";
        white-space: pre;
        color: #fff;

    }
}

.aux-offcanvas-menu.aux-pin-left {}

.aux-offcanvas-menu.aux-pin-left .aux-master-menu>.aux-menu-item {
    margin: 10px 0px;
}

li.current-page-ancestor>.aux-item-content {
    color: #E09E2F !important;
}

li.current-page-ancestor>ul.sub-menu.aux-submenu>li.current-menu-item>a.aux-item-content {
    background-color: #B32A1B;
}


/**以下是footer的部份**/
.footer-copyright .elementor-widget-container small {
    font-size: 12px !important;
    font-family: 'Noto Sans TC'
}

.footer-icon {
    align-items: center !important;
}

.footer-logo img {
    width: 64px;
    height: 64px;
}

.footer-textcom * {
    color: #fff !important;
    font-family: 'Noto Sans TC'
}

.footer-textcom .txt-col {
    display: flex;
    align-items: center;
}

.footer-textcom .txt-col.title {
    display: block;
}

.footer-textcom .txt-col.title h4 {
    font-size: 24px;
    margin: 0px;
    letter-spacing: 3px;
}

.footer-textcom .txt-col.title h5 {
    font-size: 12px;
    margin: 0px;
    font-weight: normal;
}

.footer-textcom .txt-col i.fa-solid {
    background-repeat: no-repeat;
    display: inline-block;
    width: 32px;
    height: 32px;
    background-position-x: center;
    background-position-y: center;
}

.footer-textcom .txt-col i.fa-location-dot {
    background-image: url(images/footer-icon_add.png);
}

.footer-textcom .txt-col i.fa-envelope {
    background-image: url(images/footer-icon_mail.png);
}

@media (min-width: 769px) {
    .footer-icon {
        justify-content: flex-end !important;
    }

    .footer-textcom>.elementor-widget-container {
        display: flex;
        align-items: center;
    }

    .footer-textcom .txt-col {
        margin-right: 30px;
    }
}

@media (max-width: 1200px) {
    .footer-com>.e-con-inner {
        display: block !important;
    }

    .footer-maincom,
    .footer-icon {
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 0px !important;
    }

}

@media (max-width: 1024px) {
    .footer-maincom {
        gap: 0px !important;
        margin-bottom: 1em !important;
    }
}

@media (max-width: 900px) {
    .footer-textcom .elementor-widget-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-textcom .txt-col {
        justify-content: center;
    }
}

/**以下是首頁大Banner的部份**/
.banner_text {
    color: #fff;

}

.banner_text h2 {
    font-family: 'Noto Serif TC';
    position: relative;
}

.banner_text .elementor-widget-container {
    display: inline-block;
    position: relative;
}

.banner_text .elementor-widget-container:before {
    content: "";
    background-color: #E09E2F;
    width: 140%;
    display: inline-block;
    position: absolute;
    height: 2em;
    bottom: -0.5em;
    left: -0.5em;
}

.banner_text.text01 .elementor-widget-container {
    margin-right: 15em;
}

.banner_text.text02 .elementor-widget-container {
    margin-right: 10em;
}

.banner_text.text03 .elementor-widget-container {
    margin-right: 5em;
}

@media (max-width: 768px) {

    .banner_text.text01 .elementor-widget-container,
    .banner_text.text02 .elementor-widget-container,
    .banner_text.text03 .elementor-widget-container {
        margin-right: 1em;
    }

    .big_banner {
        background-position: center !important;
    }
}

/**修改首頁大Banner用的部份**/
.depicter-text-layer h2.slide01_text {
    display: inline-block;
    position: relative;
    text-align: left;
}

.depicter-text-layer h2.slide01_text:before {
    content: "";
    background-color: #E09E2F;
    width: 5em;
    display: inline-block;
    position: absolute;
    height: 0.8em;
    bottom: 0;
    left: -0.5em;
    z-index: -1;
}

@media (max-width: 768px) {

    .depicter-layer-frame .pre_slide,
    .depicter-layer-frame .next_slide {
        opacity: 0 !important;
    }

    .depicter-text-layer h2.slide01_text:before {
        bottom: -5px;
    }
}

/**將首頁大Banner改用固定圖片的方式**/
@media (min-width: 1025px) {
    .big_banner {
        min-height: 110px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .aux-s-fhd .big_banner.e-con>.e-con-inner {
        max-width: unset;
    }

    .big_banner_slider {
        padding-top: 110px;
    }
}

@media (max-width: 1024px) {
    .big_banner {
        min-height: 170px !important;
    }

    .big_banner_slider {
        padding-top: 170px;
    }
}

@media (max-width: 768px) {
    .big_banner {
        min-height: 80px !important;
    }

    .big_banner_slider {
        padding-top: 80px;
    }
}



/**以下是首頁的home-focus的部份**/
main#main {
    background-color: #f4f5f2;
}

.home-focus {
    padding-top: 60px;
    padding-bottom: 70px;
}

.home-focus-img img {
    width: 100px;
    height: 100px;
}

.home-focus_txt {
    position: relative;
    border-bottom: 2px solid #890302;
}

.home-focus-text {
    font-size: 14px;
    color: #890302;
}

@media (min-width: 769px) {
    .home-focus-img {
        margin-bottom: 10px !important;
    }

    .home-focus-text {
        width: 15em;
        background-color: #f4f5f2;
        bottom: -0.4em;
    }

    .home-focus-text.text02 {
        text-align: right;
    }

}

@media (max-width: 768px) {
    .home-focus {
        padding-top: 30px;
        padding-bottom: 0px;
    }

    .home-focus-img {
        margin-bottom: 20px !important;
    }

    .home-focus_txt {
        gap: 10px !important;
        padding-bottom: 10px !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/**以下是首頁的home-maincom的部份**/
.home-maincom-grid_text strong {
    color: #890302;
    font-size: 1.1em;
    font-weight: bold;
}

.grid02_title .aux-modern-heading-divider {
    background-color: unset;
}

.home-maincom {
    margin-bottom: 100px !important;
}

.grid02_title h2 {
    font-size: 30px;
    margin: 0px;
}

.grid02_title a h3.aux-modern-heading-secondary {
    font-weight: unset;
    font-size: 16px;
    text-decoration: underline;
}

@media (min-width: 769px) {


    .home-maincom-grid {

        padding: 0px !important;
        grid-template-columns: 1fr 2fr !important;

    }

    .home-maincom-grid_text p:last-child {
        margin-bottom: 0px;
    }

    .home-maincom-grid_img {
        background-size: cover;
        background-repeat: no-repeat;
        background-position-x: center;
        background-position-y: center;
    }

    .home-maincom-grid_img img {
        display: none !important;
    }

    .home-maincom-grid_img.img01 {
        background-image: url(images/home-maincom-grid_img01.jpg);
        background-position-x: calc(100% - 30%);
    }

    .home-maincom-grid_img.img02 {
        background-image: url(images/home-maincom-grid_img02.jpg);
    }
}

@media (max-width: 768px) {
    .home-maincom-grid {
        flex-direction: column !important;
        display: flex !important;
    }

    .grid02_com .aux-row.aux-total-4 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .grid02_com .aux-row.aux-total-4.aux-mb-col1>.aux-col {
        margin-top: 0px !important;
    }

    .aux-row.aux-total-4.aux-tb-col4>.aux-col {
        width: 100%;
    }
}

/**以下是內頁的設定部份**/

main#main {
    padding-top: 200px;
}

body.home main#main {
    padding-top: 0px;
}

@media (max-width: 768px) {
    main#main {
        padding-top: 100px;
    }

    body.home main#main {
        padding-top: 0px;
    }
}

.entry-content a,
.aux-breadcrumbs a,
.elementor-widget-container h5 a,
.elementor-widget-container ul>li>ul a {
    color: #E09E2F;
}

.entry-content a:hover,
.aux-breadcrumbs a:hover,
.elementor-widget-container a:hover,
.widget-container a:hover {
    color: #890302 !important;
}

.sub-menu.aux-submenu a:hover {
    color: #fff !important;
}

.single-post .hentry footer.entry-meta .entry-tax a {
    color: #E09E2F !important;
}

.aux-load-more.center {
    margin-bottom: 2em !important;
}

.aux-load-more.center .aux-label-text {
    background-color: #E09E2F !important;
}

.aux-load-more.center .aux-label-text:hover {
    background-color: #890302 !important;
}

table.about {
    border: none;
}

table.about tr th,
table.about tr td {
    border: none;
    text-align: unset;
}

table.about tr td ol {
    list-style-position: inside !important;
}

table.about h4,
table.about h3 {
    margin: 0px;
}

/**以下是Timeline設定部份**/
ul.be-pack.timeline {
    list-style: none;
}

.timeline li .timeline-panel {
    margin-bottom: 2em;
}


ul.be-pack.timeline .be-content li:before,
.timeline li:after {
    content: " ";
    display: block;
}

.timeline li .tl-circ {
    left: calc(50% - 8px)
}

/**以下是理事長及顧問介紹的設定部份**/
.page-menu {
    text-align: center;
}

.page-menu a {
    display: inline-block;
    padding: 3px 10px;
    background-color: #b9b9b9;
    color: #fff;
    margin-bottom: 4px;
}

.page-menu a:hover {
    background-color: #E09E2F;
}

.page-menu a.active {
    background-color: #890302;
}

@media (min-width: 768px) {
    .Intro-img {
        text-align: right !important;
    }
}

/**以下是加入協會的設定部份**/
.join-grid {
    gap: 20px 30px !important;
}

.join-grid_left {
    background-image: url(images/join-grid_left.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    color: #fff;
}

.join-grid_right {
    background-image: url(images/join-grid_right.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    color: #fff;
}

.join-grid_left>.elementor-widget-container,
.join-grid_right>.elementor-widget-container {
    padding: 20px;
    background-color: lch(0 0 0 / 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/**以下是素行出版品的設定部份**/
.book-info {
    margin-bottom: 4em;
}

@media (min-width: 768px) {
    .book-info img.book_img {
        float: right;
        margin-left: 2em;
        margin-bottom: 2em;
        max-width: 49%;
        border-left: 1em solid #f4f5f2;
    }

    .book-info hr {
        clear: none;
        margin: 2em 0px !important;
    }
}

@media (max-width: 767px) {
    .bookimg_wrap {
        text-align: center;
    }

    .book-info hr {
        margin: 2em 0px !important;
    }

    .book-tabs .e-n-tabs-heading {
        display: flex !important;

    }

    .book-tabs .e-n-tabs-heading button.e-n-tab-title {
        padding: 10px 20px;
    }

}

/**以下是聯絡我們的設定部份**/
.wpcf7 input {
    margin-bottom: 0px !important;
    font-size: small;
}

.aux-input-group label {
    font-size: smaller;
}

.wpcf7 textarea {
    min-height: unset !important;
    height: 100px;
    font-size: small;
}

.aux-input-submit input[type="submit"] {
    background-color: #890302;
}

.contact_list {
    clear: both;
    margin-bottom: 1.5em;
}

.contact_list::after {
    content: "";
    display: block;
    clear: both;
}

.contact_icon {
    float: left;
}

.contact_con {
    margin-left: 80px;
    color: #616161;
    word-break: break-word;
}

.contact_con .title {
    color: #000;
    font-weight: 600;
}

.contact_con.no_icon {
    color: #ff3a97;
}

@media (min-width: 768px) {
    .elementor-widget-google_maps iframe {
        height: 400px !important;
    }

    .contact-grid_left .elementor-widget-container,
    .contact-grid_con .elementor-widget-container {
        margin-top: 1em;
    }
}

@media (max-width: 767px) {
    .aux-input-submit {
        text-align: center;
    }
}