@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}
*/


/*電腦LOGO
.nav-brand {}
*/

/*手機LOGO
.nav-brand-m {}
*/

/*header*/
.main_header_area { background: #fff;}
.nav-header { padding: 25px 10px 10px; position: relative; text-align: center;}
.nav-brand img { max-width: 200px; width: 70%;}

/*header_menu*/
.nav-menu { margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center; justify-content: space-around; width: 100%;}
.nav-menu>li { position: relative;}
.nav-menu>li>a { padding: 10px 7px;}
.nav-menu>li:hover>a, .nav-menu>li.active>a, .nav-menu>li.focus>a { color: #255C89;}

.nav-menu > li > a:not(.tp_links a):before{ content: ""; position: absolute; height: 1px; background: #255C89;width:0; transition:all 0.3s; top: 0; left: 0;}
.nav-menu > li > a:not(.tp_links a):after{ content: ""; position: absolute; height: 1px; background: #255C89;width:0; transition:all 0.3s; bottom: 0; right: 0;}
.nav-menu > li:hover > a:not(.tp_links a):before {width: 100%;}
.nav-menu > li:hover > a:not(.tp_links a):after {width: 100%;}

@media screen and (max-width: 768px){ .nav-menu { flex-direction: column; align-items: flex-start; padding: 0 20px;}}

/*下拉區塊->無陰影、半透明簡約框線*/
.nav-dropdown { background: rgba(255,255,255,0.9);}
.nav-dropdown>li>a { color: #5f5f5f; background-color: transparent; border-bottom: none; backdrop-filter: blur(0.8rem);}
.nav-menu>li>.nav-dropdown { border: solid 1px #ccc;}

.nav-dropdown>li:hover>a, .nav-dropdown>li.focus>a { color: #025383;}
.nav-dropdown > li > a:hover, .nav-dropdown > li > a:focus { color: #025383;}
.nav-dropdown>li:hover>a .submenu-indicator-chevron, .nav-dropdown>.focus>a .submenu-indicator-chevron { border-color: transparent #025383 #025383 transparent;}

/*index內容*/
.pageIndex .main_part { border-top: none;}

/*news_part*/
.news_part { display: none;}

/*footer*/
.footer { background: #D3E5F3; position: relative;}
.footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: -75px;
    height: 75px;
    width: 100%;
    background: url(https://pic03.eapple.com.tw/onefreediving/footer_top.png) no-repeat center;
    background-size: cover;
}
.center { max-width: 1300px; width: 95%; padding: 30px 0;}
.footer_logo { max-width: 190px; width: 100%;}
.footer_logo img { width: 80%;}

/*footer_info*/
.footer_info { padding: 0; margin: auto;}
.footer_info li:nth-child(1) { width: 100%;}
.footer_info li p { color: #092E44; line-height: 30px; display: inline-block; padding-right: 20px; width: 38%;}
.footer_info li p:before { margin: 0 7px 0 0; font-weight: 600;}

/*footer_menu*/
.footer_info li:nth-child(2) { width: 100%;}
.footer_info ul { width: 75%; padding: 0 0 0 30px; border-left: 1px solid #ccc;}

.footer_menu { margin-top: 10px;}
.footer_menu a { border: none; margin:5px 0; padding: 0 10px; background: transparent; border-right: 1px #ccc solid; transition: all 0.5s ease-in-out;}
.footer_menu a:first-child { border-left: 1px #ccc solid;}
.footer_menu a:hover { background: transparent; color: #092E44; transition: all 0.5s ease-in-out;}

@media screen and (max-width: 1024px){ 
    .footer_info ul { width: 100%;}
    .footer_info { width: 90%; margin: auto;}
}
@media screen and (max-width: 768px){
    .footer_logo { text-align: center; margin: 0 auto 10px auto;}
    .footer_info { display: block; text-align: center;}
    .footer_info ul { width: 100% !important; border-left: none;}
    .footer_info li:nth-child(1) { padding-top: 20px;}
}
@media screen and (max-width: 600px){.footer_info ul li:nth-child(1) { width: 95%; margin: auto; border-right: none; text-align: center;}}
@media screen and (max-width: 425px){.footer_menu{text-align: center;}}

/*分頁小標*/
.path { display: none;}

/*Index_main*/
.pageIndex #content_main { background:transparent;}

/* = = = 文章管理 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.blog_le .accordion > li:hover { background: #255C89 !important;}
.submenu a:hover { background: #D3E5F3; color: #666;}
.subbox_item { display: inline-block; float: none;}

.subbox_item a:before { color: #255C89; background: none; transition: all 500ms;}
.subbox_item a:after { background: rgba(255 255 255 / 60%); border: 2px solid #255C89; backdrop-filter: blur(1px); transition: all 500ms;}

/* = = = 相簿管理 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.overlay { transform: scale(1,0);}

.show-list .show_name { text-align: center;}
.show-list .item:hover .show_name { color: #025383;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播
#content_main { margin:0;}
.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;}
    }


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner { display: none;}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬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; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */





@media screen and (max-width: 768px) {
    /* 開啟手機板下方按鈕所需設定 */
    #bottom_menu {display: block; }
    .footer.with_shopping_mode { padding:30px 0 70px; }
    #to_top { bottom:60px;}
    #content_main { margin:0;}
    .bannerindex { position:static; height:auto;}
    .swiper-banner { position:static; margin:0; height:auto;} 
    .swiper-slide img { height:auto;}
    }
    
    @media screen and (max-width: 600px) { 
    }




