.banner-nav-anchor{
grid-template-columns: auto auto;
}
.template-05-header a{
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
background: white;
padding: 15px;
border-radius: 100px;
text-decoration: unset !important;
border: 2px solid #707070;
position: relative;
overflow: hidden;
transition: all .5s;
width: 100%;
max-width: 390px;
margin: 0 auto;
margin-top:25px;
}
.template-05-header a span {
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 400;
margin: 0;
color: black;
z-index: 1;
transition: all .5s;
line-height: 1.2em;
}
.template-05-header a svg {
height: var(--xd-19px);
z-index: 1;
transition: all .5s;
}
.template-05-header a::before {
content: "";
position: absolute;
width: 120%;
height: 120%;
z-index: 0;
background: var(--main-color);
top: 120%;
left: 50%;
transform: translateX(-50%);
transition: all .5s;
}
.director-independence a svg line {
stroke: black;
}
.template-05-header a:hover {
border: 2px solid var(--main-color);
}
.template-05-header a:hover::before {
top: -10%;
}
.template-05-header a:hover span {
color: white;
}
.template-05-header a:hover svg line {
stroke: white;
}
.template-04{
padding: 0 var(--pad-space);
margin-top: var(--section-gap);
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(//www.tahhsin.com.tw/wp-content/uploads/2024/06/compnay-history-tablet-t.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.template-04>div{
width: 100%;
max-width: 1250px;
margin: 0 auto;
padding: var(--section-gap) 0;
}
.template-04-header{
margin-bottom: 80px;
}
.template-04-header h6 {
font-family: var(--en-font);
font-size: var(--xd-65px);
color: white;
margin: 0;
font-weight: 600;
line-height: 1.1em;
margin-bottom: 2px;
}
.template-04-header h5{
font-family: var(--ch-font);
font-size: var(--xd-33px);
color: white;
margin: 0;
font-weight: 400;
}
.template-04-topbar{
display: none;
margin-bottom: 40px;
}
.template-04-topbar>div{
display: flex;
gap: 10px;
align-items: center;
background: #E8E8E8;
border-radius: 200px;
padding: 10px;
}
.template-04-topbar>div>div{
width: calc(100% - 100px);
}
.template-04-topbar button{
width: 40px;
padding: 0px;
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
aspect-ratio: 1 / 1;
background: transparent !important;
outline: unset !important;
border: unset !important;
}
.template-04-topbar p {
font-family: var(--ch-font);
font-size: 16px;
font-weight: 500;
text-align: center;
margin: 0px;
border-radius: 50px;
padding: 0px 15px;
line-height: 1em;
transition: all .5s;
width: 100%;
cursor: pointer;
}
.template-04-topbar span {
display: block;
font-size: 14px;
padding-top: 5px;
font-weight: 400;
}
.template-04-topbar button svg {
height: 40px;
width: 13px;
}
.template-04-body{
display: flex;
}
.template-04-body,
.template-04-body-aside{
gap: 30px;
grid-gap: 30px;
}
.template-04-body-aside{
width: 240px;
height: inherit;
display: grid;
grid-template-rows: 1fr 1fr 1fr;
}
.template-04-body-aside>div{
background: white;
cursor: pointer;
border:2px solid #AFAFAF;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 20px;
padding: 20px;
overflow: hidden;
transition: all .5s;
}
.template-04-body-aside p{
font-family: var(--ch-font);
font-size: var(--xd-22px);
font-weight: 500;
color: #707070;
margin: 0;
margin-bottom: 6px;
text-align: center;
}
.template-04-body-aside span{
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 500;
color: #AFAFAF;
margin: 0;
}
.template-04-body-aside>div.active{
background: var(--main-color);
border:2px solid white;
}
.template-04-body-aside>div.active span,
.template-04-body-aside>div.active p{
color: white;
}
.template-04-body-content{
background: var(--main-color);
border-radius: var(--box-radius);
padding: 60px;
width: calc( 100% - 240px - 40px);
}
.template-04-body-content-slick .slick-track{
display: flex !important;
}
.template-04-body-content-slick .slick-track .slick-slide{
height: inherit !important;
}
.template-04-body-content-top{
border-bottom: 1.5px solid white;
padding-bottom: 25px;
margin-bottom: 25px;
}
.template-04-body-content-top h5{
font-family: var(--en-font);
font-size: var(--xd-65px);
font-weight: 600;
color: white;
line-height: 1.1em;
margin: 0;
text-align: right;
margin-bottom: 80px;
}
.template-04-body-content-top h6{
font-family: var(--ch-font);
font-size: var(--xd-48px);
font-weight: 500;
color: white;
margin: 0;
text-align: left;
margin-bottom: 7px;
}
.template-04-body-content-top p{
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 500;
color: white;
margin: 0;
text-align: left;
line-height: 2em;
width: 100%;
}
.template-04-body-content-bottom p.mobile-mode{
display: none;
}
.template-04-body-content-bottom{
display: grid;
grid-template-columns: 1fr 120px;
grid-gap: 40px;
}
.template-04-body-content-bottom>p{
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 500;
color: white;
margin: 0;
text-align: left;
line-height: 2em;
width: 100%;
}
.template-04-body-content-control>div{
display: flex;
align-items: flex-end;
justify-content: flex-end;
gap:30px;
position: absolute;
right: 0;
bottom: 0;
}
.template-04-body-content-control button{
background: white !important;
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
border: unset !important;
outline: unset !important;
border-radius: 100%;
cursor: pointer;
}
.template-04-body-content-control button:first-child svg{
transform: translateX(-20%);
}
.template-04-body-content-control button:last-child svg{
transform: translateX(10%);
}
.template-05{
padding: var(--section-gap) var(--pad-space) 0 var(--pad-space)
}
.template-05>div{
width: 100%;
max-width: 1250px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr;
grid-gap: 80px;
}
.template-05-header{
display: grid;
grid-template-columns: 1fr;
grid-gap: 40px;
}
.template-05-header h5{
font-family: var(--ch-font);
font-size: var(--xd-33px);
font-weight: 500;
color: var(--main-color);
margin: 0;
line-height: 1.5em;
}
.template-05-header h6{
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 500;
color: #000000;
margin: 0;
line-height: 2em;
}
.template-05-header p{
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 400;
color: #000000;
margin: 0;
line-height: 2em;
}
.template-05-content th,
.template-05-content td{
font-family: var(--ch-font);
font-size: var(--xd-19px);
font-weight: 400;
margin: 0;
text-align: center;
vertical-align: middle;
color: #4B4A4A;
height: 95px;
}
.template-05-content th{
color: white;
font-weight: 500;
}
.template-05-content a{
background: white;
border: 1px solid #707070;
padding: 8px;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 100%;
margin: 0 auto;
}
.template-05-content table{
table-layout: fixed;
border-collapse: separate;
border-spacing: 0;
margin: 0;
}
.template-05-content th,
.template-05-content td{
border: unset;
border-block-start:unset !important;
}
.template-05-content th{
background: var(--main-color);
}
.template-05-content tbody tr td:nth-child(odd) {
background-color: #F7F7F7;
}
.template-05-content tbody tr td:nth-child(even) {
background-color: #E8E8E8;
}
.template-05-content thead th:first-child{
border-radius: 20px 0 0 0;
}
.template-05-content thead th:last-child{
border-radius: 0 20px 0 0;
}
.template-05-content tbody tr:last-child td:first-child{
border-radius: 0 0 0 20px;
}
.template-05-content tbody tr:last-child td:last-child{
border-radius: 0 0 20px 0;
}
.template-05-content thead tr th:not(:last-child){
border-right:2px solid white;
}
.template-05-content tbody tr td{
border-right: 2px solid #DBDBDB;
}
.template-05-content tbody tr td:first-child{
border-left: 2px solid #DBDBDB;
}
.template-05-content tbody tr td{
border-bottom: 2px solid #DBDBDB;
}
.pdf-dow-grid{
padding: var(--section-gap) var(--pad-space) 0 var(--pad-space);
}
.pdf-dow-grid>div{
width: 100%;
max-width: 1250px;
margin: 0 auto;
}
.pdf-dow-grid-header{
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
grid-gap: 20px;
grid-gap: 0px;
}
.pdf-dow-grid-header h5{
font-family: var(--ch-font);
font-size: var(--xd-33px);
font-weight: 500;
margin: 0;
color: var(--main-color);
}
.pdf-dow-grid-header>div{
width: 130px;
background: var(--main-color);
border-radius: 100px;
position: relative;
}
.pdf-dow-grid-header select {
padding: 7px 20px;
font-size: var(--xd-16px);
margin: 0;
border: unset;
background: transparent;
color: white;
font-weight: 500;
outline: unset;
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border-radius: 100px;
}
.pdf-dow-grid-header select:hover{
background: var(--main-color);
}
.pdf-dow-grid-header select option{
color: black;
background-color: white;
}
.pdf-dow-grid-header svg{
position: absolute;
right: 20px;
top: calc(50% + 2px);
transform: translateY(-50%);
width: 13px;
transition: all .5s;
}
.pdf-dow-grid-header svg line{
stroke: white;
}
.pdf-dow-grid-header{
margin-bottom: 60px;
}
.pdf-dow-grid-body{
display: grid;
grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
grid-gap: 25px;
}
.pdf-dow-grid-body-box{
border: 2px solid #707070;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 30px 25px;
position: relative;
overflow: hidden;
}
.pdf-dow-grid-body-box::before{
content: "";
position: absolute;
width: 100%;
height: 100%;
left: -100%;
top: 0%;
background-color: var(--main-color);
z-index: 0;
transition: .5s all;
}
.pdf-dow-grid-body-box:hover::before{
left: 0%;
}
.pdf-dow-grid-body-box p{
font-size: var(--xd-19px);
font-weight: 400;
color: black;
margin: 0;
z-index: 1;
transition: .5s all;
}
.pdf-dow-grid-body-box:hover p{
color: white;
}
.pdf-dow-grid-body-box a{
display: flex;
align-items: center;
justify-content: center;
width: 45px;
height: 45px;
padding: 13px;
background: white;
border-radius: 100%;
z-index: 1;
}
@media only screen and (max-width:1215px){
.template-04-body-content-bottom p.mobile-mode{
display: block;
}
.template-04-body-content-bottom p.desk-mode{
display: none;
}
}
@media only screen and (max-width:1050px){
.banner-nav-anchor{
grid-template-columns: auto auto;
grid-gap: 20px 4vw;
}
}
@media only screen and (max-width:1024px){
.template-04-topbar{
display: block;
}
.template-04-body-aside{
display: none;
}
.template-04-body-content{
width: 100%;
}
.pdf-dow-grid.add-section-gap{
padding-top: calc(var(--section-gap) * 2);
}
.pdf-dow-grid{
padding-top: calc( var(--section-gap) * 2);
}
}
@media only screen and (max-width:767px){
.template-04-topbar {
margin-bottom: 30px;
}
.template-04-header{
margin-bottom: 60px;
}
.template-04-body-content{
padding: var(--pad-space);
}
.template-04-body-content-top h5{
text-align: left;
margin-bottom: 0px;
}
.template-04-body-content-top h6{
margin-bottom: 7px;
}
.template-04-body-content  p{
line-height: 1.6em;
font-size: 15px;
}
.template-04-body-content-control>div{
gap: 15px;
}
.template-04-body-content-control button{
width: 35px;
height: 35px;
padding: 13px;
}
.template-04-body-content-bottom{
grid-template-columns: 1fr 85px;
}
.template-05-header p,
.template-05-header h6{
line-height: 1.8em;
font-size: 14px;
}
.template-05-header{
grid-gap: 20px;
}
.template-05>div{
grid-gap: 30px;
}
.template-05-content th, .template-05-content td{
padding: 15px 5px;
height: auto;
font-size: 14px;
}
.pdf-dow-grid-header{
margin-bottom: 25px;
grid-gap: 15px;
}
.pdf-dow-grid-header>div{
width: 110px;
}
.pdf-dow-grid-body{
grid-gap: 15px;
}
.banner-nav-anchor {
grid-template-columns: auto auto;
grid-gap: 20px 4vw;
}
.template-05-header a{
margin-top: 10px;
}
.pdf-dow-grid-header{
align-items: flex-end;
}
}
@media only screen and (max-width:600px){
.template-04-body-content-bottom{
grid-template-columns: 1fr;
grid-gap: 60px;
}
.pdf-dow-grid-body-box{
padding: 20px;
align-items: center;
}
.pdf-dow-grid-body-box a{
width: 35px;
height: 35px;
padding: 10px;
}
.template-05-content thead th:first-child{
border-radius: 10px 0 0 0;
}
.template-05-content thead th:last-child{
border-radius: 0 10px 0 0;
}
.template-05-content tbody tr:last-child td:first-child{
border-radius: 0 0 0 10px;
}
.template-05-content tbody tr:last-child td:last-child{
border-radius: 0 0 10px 0;
}
.template-04-body-content-control>div{
position: relative;
}
.template-04-body-content-bottom{
grid-gap: 20px;
}
.template-04-body-content-slick .slick-track{
display:  block !important;
}
.template-04-body-content-slick .slick-track .slick-slide{
height: 100% !important;
}
}
@media only screen and (max-width:450px){
.banner-nav-anchor {
grid-template-columns: auto;
max-width: calc( 100% - var(--pad-space));
}
}