@font-face {
    font-family: wenkai;
    src: url('../fonts/wenkai/LXGWWenKaiTC-Regular.ttf');
    font-weight: normal;
}

@font-face {
    font-family: fenyuan;
    src: url('../fonts/open-huninn-font-master/jf-openhuninn-2.0.ttf');
    font-weight: normal;
}

/*menu*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background: url(../images/h_line.jpg) repeat-x center top;
    background-size: auto 10px; */
    background-color: #822126;
    box-shadow: 0 4px 4px 0 rgba(84, 84, 84, 0.2);
    z-index: 100;
    padding: 30px 30px 40px;
}

@media screen and (max-width: 991px) {
    header {
        padding: 10px;
    }
}
.top-munu-fgs{
    min-height:90px;
    min-width: 130px;
}

@media (max-width: 1534px) {
    .main-header .header-desktop .main-nav {
        --lqd-menu-items-top-padding: 0;
        --lqd-menu-items-right-padding: 15px;
        --lqd-menu-items-bottom-padding: 0;
        --lqd-menu-items-left-padding: 15px;
    }
    .top-munu-fgs{
        min-height:70px;
        min-width: 100px;
        padding-top:20px
    }
}
@media (max-width: 1199px) {
    .main-header .header-desktop .main-nav {
        --lqd-menu-items-top-padding: 0;
        --lqd-menu-items-right-padding: 10px;
        --lqd-menu-items-bottom-padding: 0;
        --lqd-menu-items-left-padding: 10px;
    }
    .top-munu-fgs{
        display: none;
    }
    .main-header .header-desktop .main-nav > li > a {
        font-size: 16px;
    }
}
@media (max-width: 1199px) {
}
.ld-module-sd>.ld-module-dropdown.is-active .ld-sd-wrap {
    background: antiquewhite;
}

.main-nav-hover-fade-inactive:hover>li>a {
    opacity: 1;
}

/*menu*/
body {
    font-family: 'fenyuan';
    font-size: 16px;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
.title {
    font-family: 'wenkai';
    font-weight: 500;
}



.logo {
    width: 100%;
    max-height: 100px;
    padding: 0 20px;


}

.main-nav>li,
.main-nav>li>a {
    color: #fff;
    font-family: YuMincho;
    font-weight: bold;
    font-size: 20px;
}

.main-nav>li:hover,
.main-nav>li>a:hover {
    color: #b98f41;
}

.dark-bg {
    background-color: rgb(205, 180, 137, 0.5);
    background-repeat: repeat;

}

.fa-line {
    color: green;
    font-size: 60px;
    background: #ffffff;
    border-radius: 50%;
}

@media (max-width: 1199px) {
    #lqd-contents-wrap .clients {
        padding-top: 170px;
        padding-bottom: 170px;
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 1199px) {
    #lqd-contents-wrap>section {
        padding-right: 20px;
        padding-left: 20px;
    }
}

.clients {
    background-position: 50% 85%;
}

.clients .lqd-shape svg {
    height: 160px;
    transform: translateX(-50%) rotateY(180deg);
}

.gallery .ld-media-row {
    margin-inline-start: -0.25vw;
    margin-inline-end: -0.25vw;
}

.gallery .module-item-1,
.gallery .module-item-4 {
    height: 22.25vw;
}

.gallery .masonry-item {
    padding-inline-start: 0.25vw;
    padding-inline-end: 0.25vw;
    margin-bottom: 0.5vw;
}

/* ***** Marketing ***** */
.marketing .module-content {
    padding-right: 15%;
}

.marketing .module-content .lqd-highlight-inner {
    background: #D3FFF8;
    bottom: 4px;
    left: 0em;
}

.carousel-dots-mobile.carousel-dots-mobile-outside .flickity-page-dots {
    margin-top: 2.5em;
}

.marketing .carousel-nav {
    left: -17px;
}

.marketing .carousel-nav .flickity-button {
    font-size: 26px;
    width: 50px;
    height: 50px;
}

.marketing .flickity-button,
.marketing .flickity-button:focus,
.marketing .flickity-button:hover {
    background-color: transparent;
    color: #000;
}

@media (max-width: 1199px) {
    .marketing {
        padding: 50px 30px 60px 30px;
    }

    .marketing .carousel-dots-mobile {
        display: block;
    }

    .marketing .carousel-dots-mobile-inside .carousel-dots-mobile {
        opacity: 0;
    }

    .marketing .module-content {
        padding: 0 10px;
    }
}

@media(max-width:767px) {
    .marketing {
        padding: 40px 10px 50px 10px;
    }

    .marketing .module-image {
        margin: 0 0 10px 0;
    }

    .marketing .module-content {
        padding: 0 15px;
    }

    .marketing .module-content .ld-fancy-heading h2 {
        font-size: 15vw;
    }
}

@media screen and (max-width: 991px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .mobile {
        display: none;
    }

    .desktop {
        display: block;
        margin: 0 auto;
    }
}

/* sticky header */
.is-stuck {
    background-color: #822126;
    box-shadow: 0 4px 4px 0 rgba(84, 84, 84, 0.2);
    z-index: 100;
    padding: 5px;
}

.is-stuck .navbar-collapse .main-nav>li>a {
    color: #fff
}

.is-stuck .ld-module-sd>.nav-trigger {
    color: #fff;
}

footer {
    background-color: #822126;
}

.nav-trigger,
.nav-trigger:hover,
.nav-trigger:focus {
    font-size: 16px;
    color: #fff;
}

/*button colour*/
.bg-slate-700:hover {
    background-color: var(--lqd-color-slate-700);
}

.bg-second,
.bg-second:hover {
    background: #ff4d54;
}

.iconbox-title {
    font-size: 18px;
}


/* menu */
.main-nav>li {
    padding-top: 47px;

}

.main-nav>li>a {
    flex: 0.2 auto;
}


/* footer */
.social-icon {
    padding: 12px;

}


/* healper css */
.text-shadow {
    text-shadow:
        1px 1px 2px black,
        0 0 1em #b98f41,
        0 0 0.2em #b98f41;
}

.highlight {
    /*    background: #E5BDBD;
    padding: 5px;*/
}

.highlight2 {
    background: #009E5E;
    padding: 5px;
}

.te .text-black {
    color: #000;
}

.text-14 {
    font-size: 14px;
    ;
}

.text-16 {
    font-size: 16px;
    ;
}

.text-26 {
    font-size: 26px;
    ;
}

.text-30 {
    font-size: 30px;
    ;
}

.pt-3 {
    padding-top: 3px
}

.fa-square {
    color: #822126;
}

.line-mid {
    height: 5px;
    width: 100%;
    background-color: #822126;
    margin: 30px 0;
}

/*content*/

/*法寶講座*/

.events .text-22 {
    font-size: 22px;
    padding-top: 10px;
}

.events .lqd-tabs-style-3 .lqd-tabs-nav li a:after {
    background-color: #822126;
    height: 4px;
}

.lqd-tabs-style-3 .lqd-tabs-nav {
    --icon-size: 44px;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-color: #DEAFB6;
}

.module-container>div {
    color: #fff !important;
    line-height: 4;
}

.module-container>div:nth-child(odd) {
    background-color: #822126;
}

.module-container>div:nth-child(even) {
    background-color: #AD3647;
}

.border-black-10 {
    border-color: rgba(255, 255, 255, 0.3);
}

.button-event {
    background: transparent;
    border: 3px solid #fff;
    border-radius: 100px;
    color: #fff;
    margin: 0 5px;
}

.button-event:hover {
    background: transparent;
    border: 3px solid #fff;
    border-radius: 100px;
    color: #fff;
}

.btn-more {
    background: transparent;
    border: 3px solid #822126;
    border-radius: 100px;
    color: #822126;
    font-size: 16px;
    padding: 10px;
    font-weight: bold
}

.btn-more:hover {
    background: transparent;
    border: 3px solid #822126;
    border-radius: 100px;
    color: #822126;
}

/*course*/
.course-text-part {
    background: transparent;
    border: 3px solid #822126;
    border-radius: 10px;
    color: #000;
    padding: 20px
}

.rounded-8 {
    border-radius: 8px;
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;

}

.course-stye2-part2 {
    padding: 30px;
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}

.course-stye2-part3 {
    padding: 30px;
    color: #fff;
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
    text-shadow:
        0 0 1em #b98f41,
        0 0 0.2em #b98f41;

}

.bg2 {
    background: #1E9EC6;
}

.bg3 {
    background: #6366A5;
}


.lqd-tabs-style-3 .lqd-tabs-nav a {
    color: #000;
    font-size: 22px;
}

.lqd-tabs-style-3 .lqd-tabs-nav li a:after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background-color: #822126;
    transform: scaleX(0);
    transition: transform 0.3s;
}

/*art*/
.art-latest {
    max-width: 500px
}

.art-latest h3 {
    padding-bottom: 3px;
    line-height: 1.6;

}

@media(max-width:767px) {
    .art-latest .desc {
        display: none
    }

    section {
        padding: 15px 10px !important
    }
    #site-header section {
        padding: 5px 0px !important
    }
    .banner-title{
        padding-top: 100px;
    }
}

.lqd-imggrp-single figure{
    text-align: center;
    display: block;
}