@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n)

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/


/*上方選單右邊設定 臉書/LINE/電話/信箱
.tp_links a:before {寬高大小設定}
.tp_links a.me_tp_fb {}
.tp_links a.me_tp_fb:before {背景換圖/建議.SVG}
.tp_links a.me_tp_line {}
.tp_links a.me_tp_line:before {背景換圖/建議.SVG}
.tp_links a.me_tp_call {}
.tp_links a.me_tp_call:before {背景換圖/建議.SVG}
.tp_links a.me_tp_mail {}
.tp_links a.me_tp_mail:before {背景換圖/建議.SVG}
*/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*反白顏色*/
::-moz-selection{
  background-color: #444;
  color: #fff;
}
::selection{
  background-color: #444;
  color: #fff;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 頁面的麵包屑 首頁/頁面名稱/ */
.path { display:none;}
.pageIndex .main_part {    border-top: none;}
#content {    min-height: 80vh;background: url(https://pic03.eapple.com.tw/yclawyer/white-simple-textured.jpg);}

/*首頁+聯絡按鈕*/
.animated-arrow {    background: #b1a88e;}
.swiper-pagination {    position: relative;    transform: translateX(-50%);    left: 50%;    margin-left: 0;}


/*預設解除背景輪播*/
#content_main { margin: 0;
    background: url(https://pic03.eapple.com.tw/yclawyer/white-simple-textured.jpg);}
.bannerindex { position:static; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;}
.swiper-slide img { height:auto;}
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*Header*/
.navigation {
    padding: 5px;
    padding-bottom: 21px;
}

/*選單設定*/
/*調整header留白*/
.nav-menu {    margin: 0;    padding: 0;}
.main_header_area .container {    max-width: 95%;}
.nav-menu>li:hover>a, .nav-menu>li.active>a, .nav-menu>li.focus>a {   color:#fff;}
.nav-dropdown>li:hover>a, .nav-dropdown>li.focus>a {    color: #d3cdbe;}
/*li.tp_links {    display: none;}*/
.main_header_area {    background: #d3cdbe;box-shadow: 1px 1px 5px 0px rgb(51 51 102 / 15%);}

/*下拉*/
.nav-dropdown>li>a {    background: #f7f5f5;    transition: 0.2s;        letter-spacing: 1.5px; width: 100%;}
.nav-dropdown>li>a:hover {    transition: 0.2s;    background-color:#b1a88e;;    color: #fff}
.nav-dropdown>li:hover>a .submenu-indicator-chevron, .nav-dropdown>.focus>a .submenu-indicator-chevron {    border-color: transparent #fff #fff transparent;}

/*手機漢堡選單設定*/
.nav-toggle {    top: 10px;}
.nav-toggle:before {    background-color: #fff;    box-shadow: 0 0.5em 0 0 #fff, 0 1em 0 0 #fff;}
.nav-toggle:after {    color: #fff;}
.navigation-portrait .nav-menus-wrapper { background-color: #d3cdbe;width: 60%;}
.navigation-portrait .nav-menu>li {   width: 92.7%;    border-top: solid 1px #00000017;}
.nav-menu>li {
    letter-spacing: 3px;
    padding: 0px;
}

@media (max-width: 768px){
.navigation-portrait .nav-menu > li > a {    padding: 0px 0px 15px 3px;}
}
/*電腦選單漸變效果處*********************************/
/*固定選單
.pageIndex .header_area {    position: fixed;    width: 100%;}
/*選單底色
.pageIndex .header_area.sticky .main_header_area {    background: rgb(255 255 255 / 95%);transition: all 0.3s;}
.pageIndex .header_area .main_header_area {    background: transparent;transition: all 0.3s;}
/*選單字體顏色
.pageIndex .header_area .nav-menu>li>a {    color: #fff;}
.pageIndex .header_area.sticky .nav-menu>li>a {    color:#444 ;}
.pageIndex .header_area .nav-menu > li > a:after {    background: #fff;}
.pageIndex .header_area.sticky .nav-menu > li > a:after {    background:#444 ;}
/*選單logo變色
.pageIndex .header_area .nav-brand img{filter: invert(1) brightness(2);transition: 0.3s;}
.pageIndex .header_area.sticky .nav-brand img{filter: none;}
/*選單下拉箭頭顏色
.pageIndex .header_area .submenu-indicator-chevron {    border-color: transparent #fff #fff transparent;}
.pageIndex .header_area.sticky .submenu-indicator-chevron {    border-color: transparent #444 #444 transparent;}
/**/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*LOGO設定*/
.nav-brand img { margin-top: 10px;max-width: 300px;}
.footer_logo img {    width: 200px;    margin: auto;}

@media screen and (max-width: 1024px) {
.nav-brand img { margin-top: 10px;max-width: 200px;}}


@media screen and (max-width: 990px) {
.nav-brand img {display:none;}
}
.submenu-indicator-chevron {    border-color: transparent #616666 #616666 transparent;}
.nav-menu > li > a {       color: #0b1919;   padding: 20px;    margin-top: 18px;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*Footer*/
.footer{
    border-top: none !important;padding: 30px 0 0;
    background: url(https://pic03.eapple.com.tw/yclawyer/white-wall.jpg);
    box-shadow: 1px 1px 5px 0px rgb(51 51 102 / 50%);
}
.footer_menu a:hover {    background: #dfdbd0;    color: #444;}
.copy {    background: #b1a88e;   color: #ffffff;   border: none;}
.copy a{    color: #ffffff;}
.copy a:hover {    color: #46380c;}
.footer_menu {
    border-bottom: none !important;
    display: flex;
    align-content: space-around;
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;}
.footer_menu a {
    transition: all 0.3s;   padding: 10px; border: none;
    margin: 0 10px 10px 10px;   line-height: 100%;
    color: rgb(255 255 255); background: #b1a88e; 
    max-width: 120px;   width: 100%;}

.footer_info li p {    line-height: 200%;    letter-spacing: 2px;    font-weight: 800;    color: #46380c;}

/*Footer logo置中*/

/*.footer_info {    padding: 0;}
.footer_info ul {    width: 100%;    text-align: center;}
.footer_logo {    display: block;    margin: 0 auto;    text-align: center;}
.footer_info li:nth-child(1) {    width: 100%;    max-width: 295px;    margin: 20px auto 20px;    text-align: left;}
.footer_info li:nth-child(2) {    width: 100%;}
.footer_menu {    text-align: center;}
*/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {}
.banner h5 {padding: 40px;    font-weight: 900;}
.banner.banA {}
.banner.banB {display: none;}
.banner.banC {display: none;}
.banner.banD {}
.banner.banE {}
.banner.banblog {
    background: url(https://pic03.eapple.com.tw/yclawyer/LawBN.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
    min-height: 30vh;}

@media screen and (max-width: 768px) {
.banner h5{font-size: 28px;}
}
@media screen and (max-width: 600px) {
.banner h5{font-size: 24px;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*購物車設定*/
/* 產品的看更多按鈕設定 */
.products-list .more {    border: 1px solid #ADA17E !important;    color: #ADA17E;}
.products-list a:hover .more {    background: #ADA17E;    border-color: #ADA17E;	color: #ffffff;}


/*外層*/
.product-layer-two li a {    color: #ADA17E;    border: 1px solid #ADA17E;    transition: all 0.3s;}
.product-layer-two li:hover > a { background: #ADA17E;    color: #fff;}
.product-layer-two li.active > a {background: #ADA17E;    color: #fff;	font-weight: normal;}

/*內層*/
.lastPage {    background: #ADA17E;}
.nextaction {    background-color: #ADA17E;}
.lastaction {    color: #fff;    background-color: #ADA17E;}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*文章管理*/
.products-box {    width: 90%;    max-width: 1500px;    margin: 100px auto;}
.module_i_news {
    padding: 100px 20px;background: #44444421;
}
.module_i_news ul {    display: flex;    flex-wrap: wrap;}
.module_i_news li {    width: 25%;    padding: 10px;}
.i_blog_ri , .i_blog_le {    width: 100%;}
.module_i_news li a , .subbox_item a{overflow: hidden;}
.module_i_news li a:before , .module_i_news li a:after , .subbox_item a:before , .subbox_item a:after{    transition: 0.3s;}
.module_i_news li a:after , .subbox_item a:after{    background: rgb(222 184 135 / 70%);content: none;}
.module_i_news li a:before, .subbox_item a:before {    background: rgb(90 90 90 / 80%);    color: #fff;}
.module_i_news .title_i_box h4 {    font-size: 28px;    color: #222;    font-weight: normal;    letter-spacing: 2px;}

.module_i_news li a:before , .subbox_item a:before {    transform: translateX(-50%);    width: 100%;    bottom: -40px;    top: unset;    opacity: 0;}
.module_i_news li a:hover:before , .subbox_item a:hover:before {    opacity: 1;    transform: translateX(-50%);    bottom: 0;}

/*文章分享變1排3個*/
.blog_page .main_part {    max-width: 1400px;}
.blog_list_le , .blog_list_ri {    width: 100%;}
.blog_subbox {    display: flex;    flex-wrap: wrap;    justify-content: flex-start;}
.subbox_item {    width: calc(100% / 3);    padding: 5px;}
.blog_list_le img {    max-width: 100%;    overflow: hidden;}
@media screen and (max-width: 980px) {
.module_i_news li , .subbox_item {    width: 50%;}
.module_i_news ul {    max-width: 650px;}
.products-box {    margin: 70px auto;}
.module_i_news {    padding: 70px 20px;}
}
@media screen and (max-width: 600px) {
.module_i_news {    padding: 50px 20px;}
.module_i_news li , .subbox_item{    width: 100%;    margin: 0 auto;    max-width: 350px;}
.products-box {    margin: 50px auto;}
.module_i_news .title_i_box h4 {    font-size: 24px;}
.footer_logo { margin: auto;
    text-align: center;}
}


/*文章設定*/
.blog_back a.article_btn_back {    background: #12437c;}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {    background: #12437c !important;}
.share_page .edit {    text-align: justify;    line-height: 180%;}
.subbox_item a:before , .subbox_item a:after {    transition: 0.3s;}
.blog_le .accordion > li {    transition: all 0.3s;}
.blog_box_edit {    line-height: 180%;    text-align: justify;}
h4.blog_category_title {    text-align: justify;}
.link a {    width: 100%;    display: block;    padding: 15px 10px;}
.accordion li .link {    padding: 0;}

/**/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*主分類頁面*/
ul.show-list , ul.other_subalbum , ul.pic-list {    display: flex;    flex-wrap: wrap; justify-content: flex-start;}
.other_subalbum li , .show-list .item , .pic-list .item{    width: calc(94% / 3);}

.album_page .main_part , .album_class_page .main_part , .album_info_page .main_part {    max-width: 1400px;}
.show-list .item:hover .show_name {    color: #ADA17E;}
.show-list .show_pic {    padding-bottom: 100%;}
.show-list .show_pic img {
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    -o-object-fit: cover;
    -webkit-object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

/*次分類頁面*/
.other_album_choice li {    background: #ADA17E;}
.other_subalbum li p {    line-height: 220%;}
.other_subalbum li a div {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}
.other_subalbum li a img {
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    -o-object-fit: cover;
    -webkit-object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.other_subalbum li a div:after {
    content: "";
    position: absolute;
    background: rgb(0 0 0 / 30%);
    width: 100%;
    height: 100%;
    transform: translate(-50% , -50%) scale(0);
    top: 50%;
    left: 50%;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}
.other_subalbum li a:hover div:after {    transform: translate(-50% , -50%) scale(1);    opacity: 1;}


/*照片頁*/
.pic-list .show_pic {
    padding-bottom: 100%;
}
.pic-list .show_pic img{
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    -o-object-fit: cover;
    -webkit-object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
/*聯絡頁*/
.contact_content .information_right {background: #e1e1e1ad;}
.note {    text-align: left;}
@media screen and (max-width: 980px) {
.other_subalbum li , .show-list .item , .pic-list .item{    width: 48%;}
}
@media screen and (max-width: 600px) {
.other_subalbum li , .show-list .item , .pic-list .item{    width: 96%;margin: 10px 2%;}
.list_before.info li {
    padding-left: 42px;
    padding-bottom: 10px;}
.blank_letter {    padding-top: 0px;}

}

/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本列表
.work_info_page .main_part { max-width:2000px;}
.work_info_page .show_content { padding:0; width:100%;}
.work_info_page .subalbum-menu { text-align:center;}
.work_info_page .subalbum-menu h2 { float:none;}
.work_info_page .pic-list .item { margin:0; padding:10px; width:49%; float:none; display:inline-block;}
@media screen and (max-width: 768px) {
.work_info_page .pic-list .item { width:100%;}
}
.work_info_page .pic-list .show_pic { height:auto; line-height:0;}
.work_info_page .pic-list .show_pic img { max-width:100%; max-height:100%;}
.work_info_page .pic-list .item a { max-width:100%; pointer-events: none; cursor: default; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*其他分頁*/
.promotion_title h2 {    border-bottom: 2px solid #ADA17E;}
.promotion_title {    border-bottom: 1px solid #ADA17E;}

.contact_page .main_part{padding-top: 0;}

/*
.list_before.info li:last-child {    padding-left: 0;}
/**/
/*購物車開金流*/
.box_search {    margin-left: 40px;}
.shop_search_btn {    background: #ADA17E;}


@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: block; }
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
.nav-menu {    margin: 0;padding: 0 10px;}
.nav-dropdown>li {    text-align: left;}
.nav-dropdown>li>a {    width: calc(100% - 45px);}
.list_before.info {    max-width: 100%;}
.box_search {    margin-left: 0;}
.nav-header {    position: static;    text-align: center;    margin: 1px;}
.footer_info ul li:nth-child(1) {    margin: 13px;}
.nav-brand img {
    display: flex;
    margin: 0 0 0 -12px;
    display: none;
}
.footer_logo {    text-align: center;}
}
.footer_menu a {
    width: 100%;
    max-width: inherit;
    transition: all 0.3s;
    padding: 10px;
    border: none;
    line-height: 100%;
    min-width: 50%;}
}

/*手機選單漸變效果處*********************************/
/*選單底色
.pageIndex .header_area {    position: relative;}
.pageIndex .header_area .main_header_area {    background: #fff ;}
/*選單字體顏色
.pageIndex .header_area .nav-menu>li>a {   color:#444 ;}
/*選單logo變色
.pageIndex .header_area .nav-brand img{filter: none;}
/*選單下拉箭頭顏色
.pageIndex .header_area .submenu-indicator-chevron {    border-color: transparent #444 #444 transparent;}
/**/




/*手機版LOGO設定*/
.footer_logo { margin-left: unset; margin: auto; text-align: center; }

}

@media screen and (max-width: 600px) {
.nav-brand img {    display: none;}
.products-list .item {    width: 100%;}
.subbox_item a:before , .subbox_item a:after {    content: none;}
.footer_menu a { width: 100%; margin: 5px 0px; max-width: inherit;}

/*手機板大圖*/
/*
.swiper-slide img { display:none; }
.swiper-slide {    width: 100%;    height: 0;    padding-bottom: calc(100% / 3 * 4);}
.swiper-slide:nth-child(1) { background-image:url(https://pic03.eapple.com.tw/.../Banner-03.png) ; background-size:cover;   background-position: center;}
.swiper-slide:nth-child(2) { background-image:url(https://pic03.eapple.com.tw/.../Banner-04.png) ; background-size:cover;   background-position: center;}
*/

}




