#theme_nav_xs,
nav {
	--c-red:#ff6b7f;
	--c-black:#3e4442;
}
nav.drawer-nav .c_red .shelf_third a,
nav .c_red .link_shelf_third_item .qk-text--nav_menu_text{
    color: var(--c-red) !important;
}
nav .c_red .qk-text--nav_menu_text:hover,
nav .c_red .link_shelf_third_item .qk-text--nav_menu_text:hover{
    color: var(--c-red) !important;
}
/*底線特效*/
nav .dropdown a,
nav .second-level-dropdown .dropdown_toggle {
    position: relative;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
    -webkit-transition: all .2s ease 0s;
    -moz-transition: all .2s ease 0s;
    -o-transition: all .2s ease 0s;
    transition: all .2s ease 0s;
}
nav .dropdown a:after,
nav .second-level-dropdown .dropdown_toggle:after {
    content: "";
    position: absolute;
    bottom: 0;
    z-index:1;
    background: var(--accent);
    left: 50%; 
    transform: translateX(-50%);
    height: 2px;
    width: 0;
    border-radius: 10px;
    -webkit-transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
}
nav .dropdown a:hover:after,
nav .second-level-dropdown .dropdown_toggle:hover:after {
    width: 100%; 
}

nav .c_red.dropdown a:after,
nav .c_red .second-level-dropdown .dropdown_toggle:after {
    background: var(--c-red); 
}
.tool-nav .dropdown a:after,
.tool-nav .second-level-dropdown .dropdown_toggle:after {
	display:none;
}

nav .menu_fix {
    width: 100%;
    position: relative;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
    -webkit-transition: all .2s ease 0s;
    -moz-transition: all .2s ease 0s;
    -o-transition: all .2s ease 0s;
    transition: all .2s ease 0s;
}
nav .menu_fix .icon_new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    margin: 0;
    top: -18px;
    right: -20px;
    height: 21px;
    padding: 0 4px 0 8px; 
    background:  var(--c-red); 
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    border-radius: 6px 2px 2px 6px; 
    transform: scale(0.85);
    animation: newup2 1s ease-out infinite alternate;
    z-index: 1;
}
nav .menu_fix .icon_new:after {
    content: "";
    position: absolute;
    right: -6px; 
    top: 2.5px;  
    width: 13px;
    height: 16px;
    background:  var(--c-red); 
    transform: rotate(45deg);
    border-radius: 3px;
    z-index: -1;  
}
@keyframes newup2 {
    0%   { opacity: 1; }
    100% { opacity: 0.7; }
}

nav .menu_fix.c_red .txt_b5, 
nav .menu_fix.c_red .txt_en {
	color:var(--c-red);
}
nav .menu_fix .txt_b5, 
nav .menu_fix .txt_en {
	display:block;
    text-align: center;
    white-space: nowrap;
    width: 100%;
}
nav .menu_fix .txt_en {
	margin-top:-20px;
}
nav .menu_fix .txt_en,
nav .dropdown:hover .menu_fix .txt_b5,
nav .dropdown_toggle:hover .menu_fix .txt_b5{
	opacity:0;
}
nav .menu_fix .txt_b5,	
nav .dropdown:hover .menu_fix .txt_en,
nav .dropdown_toggle:hover .menu_fix .txt_en {
	opacity:1;
}

@media (max-width: 991px) {
nav .menu_fix .icon_new,
nav .menu_fix .txt_en {
	display:none;
}
nav .menu_fix .txt_b5, 
nav .menu_fix .txt_en {
    text-align: left;
}
}

/*==style-B (2nd layer image)==*/
nav .menu_pic {
  max-width:100%;
  text-align:center;
}
nav .menu_pic img{
  max-width:100%;
}
nav .hide {
	display:none;
}
nav .menu_pic p:first-child {
	width: 250px;
	height:250px;
}

/*TEST-image
.two_dimension_dropdown.fix_bn .two_dimension_dropdown_menu {
    display: block  !important;
}*/

.two_dimension_dropdown .two_dimension_swiper_menus .swiper {
    min-height: 250px;
}

@media (max-width: 1600px) {
.two_dimension_dropdown.fix_bn .two_dimension_swiper_menus {
   padding:40px 20px !important;
}

.two_dimension_dropdown.fix_bn .two_dimension_swiper_menus .swiper .swiper-slide{
   margin-right:20px !important;
}
.two_dimension_dropdown.fix_bn .two_dimension_swiper_menus .swiper .swiper-slide:last-child {
    margin-right: 0px !important;
}
nav .menu_pic p:first-child {
	width: 240px;
	height:240px;
}
}

@media (max-width: 1200px) {
nav .menu_pic p:first-child {
	width: 200px;
	height:200px;
}
}

@media (max-width: 991px) {
nav .menu_pic {
	width:100%;
	display: block;
    text-align: left;
}
nav .menu_pic p:first-child{
  width:200px;
  padding-bottom:4px;
  height: auto;
}
nav .menu_pic img{
  width:100%;
}
}

@media (max-width: 576px) {
nav .menu_pic p:first-child {
	max-width: 36vw;
}
}

/*-----------------------
social icon
-----------------------*/
.theme_nav_social {
    position: absolute;
    z-index: 100;
    margin-left: 20px;
	padding-top: 14px;
}
.theme_nav_social .social-inner {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.theme_nav_social .social-inner li {
    display: block;
    margin-bottom: 0;
	padding:0 5px;
}
.theme_nav_social .social-inner li a {
    display: block;
    padding: 5px;
}
.theme_nav_social .social-inner .icon {
    position: relative;
    vertical-align: middle;
    width: 20px;
    height: 20px;
	fill:var(--c-black);
	display:none;
}
.theme_nav_social .social-inner a:hover .icon {
	fill:var(--accent);
}
.theme_nav_social .social-inner .icon_image {
    width: 20px;
    height: 20px;
}

.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

@media screen and (max-width: 991px) {
.theme_nav_social {
	position: relative;
	height: 50px;
	width: 100%;
	border-top: 1px solid #eee;
	margin-left: 0px;
	margin-right: 0px;
	padding-top: 0px;
}
.theme_nav_social .social-inner {
    justify-content: center;
    height: 100%;
}
.theme_nav_social .social-inner li {
	padding:0 10px;
}
.theme_nav_social .social-inner .icon {
    width: 24px;
    height: 24px;
}
}


/*-----------------------
theme_nav_xs
-----------------------*/
#theme_nav_xs ul{
    border-top: 1px solid #eee;
	display:flex;
	justify-content:space-around;
	justify-content: flex-start;
    padding: 14px 6px 6px;
}
#theme_nav_xs ul li{
	width:auto;
	padding:0 0.6em;
}
#theme_nav_xs ul li a{
    font-family: Arial, "Microsoft JhengHei", "Noto Sans TC", "黑體-繁", serif !important;
	font-size:13px;
	color:var(--nav_menu_text);
}
#theme_nav_xs .menu_mobile {
    width: 100%;
    position: relative;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
    -webkit-transition: all .2s ease 0s;
    -moz-transition: all .2s ease 0s;
    -o-transition: all .2s ease 0s;
    transition: all .2s ease 0s;
}
#theme_nav_xs .menu_mobile .icon_new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    margin: 0;
    top: -14px;
    right: -16px;
    height: 16px;
    padding: 0 2px 0 6px;
    background: var(--c-red);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    border-radius: 4px 1px 1px 4px;
    transform: scale(0.85);
    animation: newup2 1s ease-out infinite alternate;
    z-index: 1;
}
#theme_nav_xs .menu_mobile .icon_new:after {
    content: "";
    position: absolute;
    right: -5px;
    top: 2.3px;
    width: 12px;
    height: 12px;
    background: var(--c-red);
    transform: rotate(45deg);
    border-radius: 2px;
    z-index: -1;
}
#theme_nav_xs .menu_mobile .txt_b5{
	color:var(--c-red);
}

@media screen and (max-width: 576px) {
#theme_nav_xs ul{
	justify-content:space-around;
    padding: 14px 6px 6px;
}
#theme_nav_xs ul li{
	padding:0;
}
}
	
@media screen and (min-width: 992px) {
#theme_nav_xs ul{
	display:none;
}
}