/********** CSS Reset **********/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	font-family:'Helvetica', 'Arial','PingFang','Microsoft JhengHei', sans-serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

img {
	width: 100%;
	height: auto;
}

html, body {
      position: relative;
      height: 100%;
    }

::-moz-selection { /* Code for Firefox */
  color: #ffffff;
  background: #333;
}

::selection {
  color: #ffffff;
  background: #333;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
html {
    scroll-behavior: smooth;
}
:root {
    scroll-padding-top: 6rem;
}
/******************** gotop - START********************/
#gotop {
    display: block;
    background-image: url(../img/gotop.svg);
    width: 60px;
    height: 60px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    opacity: 0.8;
    transition: all 0.3s;
    
}
#gotop:hover {
    text-decoration: none;
    background-image: url(../img/gotop-color.svg);
    opacity: 1;
}

#gotop:active {
    opacity: 1;
    background-image: url(../img/gotop-color.svg);
    opacity: 1;
}

/******************** gotop - END ********************/

/******************** Footer - START ********************/
footer {
	position:relative; 
	width: 100%;
	height: auto;
    background: #514E53;
    z-index: 1;
}
.footer-box {
    color: #fff;
    padding: 50px 0 30px 0;
}
.footer-content {
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.footer-address h2 {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 28px;
/*    font-weight: 400;*/
}
.footer-address p {
    font-size: 16px;
    line-height: 24px;
/*    padding: 30px;*/
}
.footer-address-content {
    padding: 20px 30px;
}

.footer-address-content p a{
    color: #fff;
    transition: all 0.3s;
}
.footer-address-content p a:hover{
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact {
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
}

.footer-contact p {
    font-size: 16px;
    line-height: 24px;
    transition: all 0.3s;
}
.footer-contact-box {
    margin: auto;  
}
.footer-contact-box p a{
    color: #fff;
    transition: all 0.3s;
}
.footer-contact-box p a:hover{
    color: rgba(255, 255, 255, 0.5);
}
.footer-icon {
    margin-top: 15px;
    opacity: 1;
    transition: all 0.3s;
}
.footer-icon img {
    width: 36px;
    margin-right: 10px;
    transition: all 0.3s;
}
.footer-icon a:hover img {
    opacity: 0.5;
}

.footer-cadence-partner {
/*    background: #c10000;*/
    text-align: center;
}
.footer-cp-logo {
    padding: 30px;
}

.footer-cadence-partner img {
    width: 220px;
}
.footer-logo {
    text-align: center;
    margin-top: 30px;
}

.footer-logo img {
    width: 200px;
    margin-bottom: 30px;
}

/* 筆電 小1600*/
@media (max-width: 1605px) {
    .footer-address-content {
        padding: 0px 20px;
    }

}
/* 平板 小於992 */
@media (max-width: 992px) {
    .footer-box {
        color: #fff;
        padding: 50px 0 30px 0;
        /*        background: red;*/
    }

    .footer-content {
        padding-bottom: 0px;
        border-bottom: none;

    }

    .footer-address-content {
        padding: 0px 0px 30px 0px;
        border-bottom: 1px solid rgba(238, 238, 238, 0.6);

    }

    .footer-address h2 {
        font-size: 16px;
        margin-bottom: 15px;
        /*    font-weight: 400;*/
    }

    .footer-address p {
        font-size: 14px;
        line-height: 22px;
    }

    .footer-contact {
        border-right: 0px solid rgba(238, 238, 238, 0.6);
        border-left: 0px solid #eee;
        padding: 0px 0px 0px 0px;
        margin: 20px 0;
        /*    border-bottom: 1px solid rgba(238, 238, 238, 0.6);*/
    }

    .footer-contact-box {
        margin: 0;
        padding: 0;
        /*    margin-top: 20px;*/
    }

    .footer-contact p {
        font-size: 14px;
        line-height: 22px;
        display: inline-block;
        margin-right: 15px;
    }

    .footer-icon {
        margin-top: 15px;
        opacity: 1;
        transition: all 0.3s;
    }

    .footer-icon img {
        width: 30px;
        margin-right: 5px;
    }

    .footer-icon a:hover img {
        opacity: 0.5;
    }

    .footer-cadence-partner {
        /*    background: #c10000;*/
        text-align: center;
        /*    padding: 30px;*/
        margin: 60px 0;
        box-sizing: border-box;
    }

    .footer-cp-logo {
        padding: 0px;
    }

    .footer-cadence-partner img {
        max-width: 100%;
    }

    .footer-logo {
        text-align: center;
        margin-top: 30px;
    }

    .footer-logo img {
        width: 180px;
        margin-bottom: 0px;
    }
    
    .footer-copyright {
        text-align: center;
        margin-top: 30px;
    }
    

    .copyright {
        font-size: 13px;
        line-height: 20px;
    }

}

/* 手機 小於320 */
@media (max-width: 365px) {
    .footer-contact p {
        font-size: 12.5px;
        line-height: 22px;
        display: inline-block;
        margin-right: 0px;
    }
} 

/******************** Footer - END ********************/

/***************************** header - START  *****************************/
#header-index {
    position: relative;
    width: 100%;
    height: 60%;
    overflow:hidden;
    display: block;
}

.raith-header-title {
    width: 70%;
    position: absolute;
    color: #fff;
    top: calc(30%);
    left: calc(50% - 35%);
    z-index: 2;
    text-align: center;
}
.raith-header-title img {
    width: 400px;
}

.raith-header-title h1 {
    font-size: 4em;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.2em;
    text-shadow: 2px 2px 5px #1c1c1d;
}
.color-cover {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    /*    top: 0;*/
    left: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 96, 52, 0.2) 30%, rgba(0, 93, 145, 0.5)  85%);
    /*    opacity: 0.9;*/
    overflow: hidden;
}

#header-index video{
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 桌機 平板 小於1590 */
@media (max-width: 1590px) {
    .raith-header-title {
        width: 90%;
        left: calc(50% - 45%);
    }
    .raith-header-title h1 {
        font-size: 4em;
    }
}
/* 平板 小於992 */
@media (max-width: 991.98px) { 
    .raith-header-title {
        width: 90%;
        left: calc(50% - 45%);
    }
    .raith-header-title img {
        width: 300px;
    }
    .raith-header-title h1 {
        font-size: 4em;
    }
}
/* 平板 小於768 */
@media (max-width: 767.98px) {
    .raith-header-title {
        width: 90%;
        left: calc(50% - 45%);
        top: calc(25%);
    }
    .raith-header-title img {
        width: 250px;
    }
    .raith-header-title h1 {
        font-size: 3em;
    }

}


/***************************** header - END  *****************************/













