@charset "UTF-8";
/* footer-custom 頁尾-自定義 */

.footer-custom {
	padding: 0;
	margin:0;
	background:#c51720;
	color: #fff;
}
.footer-custom a {
	color: #fff;
}
.footer-custom a:hover {
	opacity:0.7;
}
.footer-custom .left {
	padding:0 20px 0 0;
	border-right: 1px solid #ccc;
}
.footer-custom .right {
	padding:0 0 0 5%;
}

/* LOGO */
.footer-custom .logo {
	text-align:center;
	padding:70px 0 20px;
}
.footer-custom .logo a {
	display:inline-block;
	height:100px;
}

/* social */
.footer-custom .social {
	display:block;
	margin-bottom:20px;
	text-align:center;
}
.footer-custom .social li {
	margin-right: 5px;
	list-style: none;
	display: inline-block;
	line-height:50px;
}
.footer-custom .social a {
	position:relative;
	display: block;
	width: 50px;
	height: 50px;
	text-align:center;
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
	border-radius: 50%;
	overflow:hidden;
	padding-top:3px;
}
.footer-custom .social svg {
	font-size: 1.5rem;
	text-align: center;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-o-border-radius: 50%;
}

/* info */
.footer-custom .info {
	display:block;
    padding-bottom:50px;
}
.footer-custom .info li {
	text-align:center;
	margin-bottom:10px;
}
.footer-custom .info li:last-child {
	margin-bottom:0;
}
.footer-custom .info li svg {
	width:25px;
	text-align:center;
	margin-right:5px;
}

/* link */
.footer-custom .link {
	display:  none;
	width: 100%;
	text-align:center;
	margin-bottom: 10px;
}
.footer-custom .link a{
	color:#fff;
}
.footer-custom .link li {
	display: inline-block;
	padding-right: 10px;
	margin-right: 10px;
	border-right: 1px solid #fff;
}
.footer-custom .link li:last-child {
	padding-right: 0;
	margin-right: 0;
	border-right: none;
}

/* copyright */
.footer-custom .copyright {
	position:relative;
	text-align:center;
	width:100%;
    padding:10px 0;
	font-size:1rem;
    background:#991c23;
}

@media only screen and (max-width: 991px) {
	.footer-custom {
	}
	.footer-custom .logo {
		padding:50px 0 15px;
	}
	.footer-custom .logo a {
		height:120px;
	}
	.footer-custom .left {
		padding:0 0 10px;
		border-right:none;
	}
	.footer-custom .right {
		padding:0;
	}
	.footer-custom .copyright {
		padding-bottom: 20px;
	}
}



/*-- 常駐選單 ------------------------------------------------------*/
.nav-list {
    position: fixed;
    top: 40%;
    right: 20px;
    z-index: 999;
    filter: drop-shadow(0px 3px 2px rgba(0, 0, 0, 0.4));
}

.media-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
    width: 48px;
    margin-bottom: 10px;
}

.media-link a {
    text-decoration: none;
}

.go-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 30px;
}

.tab-opt a {
    position: relative;
    text-align: center;
    padding: 10px 0px;
    font-size: 1.2rem;
    color: #fff;
    padding: 15px 0px;
    filter: drop-shadow( inset 2px 3px 5px rgba(0, 0, 0, 0.5));
    transition: 0.3s;
}

.media-link a::after {
    content: '';
    width: 100%;
    height: 100%;
    border-width: 0;
    border-right: 1px solid;
    border-image: linear-gradient(rgba(255, 255, 255, 0), #fff, rgba(255, 255, 255, 0)) 1 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    transform: rotateZ(-90deg);
}

.media-link a:first-of-type::after {
    display: none;
}

.media-link a span {
    display: none;
}

.media-link,
.go-top {
    background: #2c2c2c;
}

.tab-opt a {
    color: #fff;
}
.tab-opt a:hover {
    color: #f9d084;
}

@media screen and (max-width: 600px) {
    .nav-list {
        top: unset;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 999;
        filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
        transform: translateY(0%);
    }
    .media-link {
        flex-direction: row;
        justify-content: space-around;
        align-self: center;
        border-radius: 0px;
        width: 100%;
        margin-bottom: 0px;
    }
    .media-link a {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .media-link a span {
        display: inline;
        font-size: 12px;
        margin-top: 6px;
    }
    .media-link .icon-arrow-up {
        display: block;
    }
    .go-top {
        display: none;
    }
    .media-link a::after {
        transform: rotateZ(180deg);
    }
    .svg-inline--fa.fa-w-16,
    .svg-inline--fa.fa-w-9,
    .svg-inline--fa.fa-w-12{width:unset;}
}

.num {
    writing-mode: horizontal-tb;
    transform: translate(-10px, 5px);
}

@media screen and (max-width:375px) {
    .num {
        display: contents;
    }
}

@media screen and (max-width: 768px){
    .navbar-default .navbar-collapse, .navbar-default .navbar-form{ border:unset;}
    .navbar-collapse{
        box-shadow:unset;
        -webkit-box-shadow:unset;
        left:0;
    }
}

.navbar-collapse.in{
    overflow-y:unset !important;
}

/*-- 常駐選單 end --------------------------------------------- */

/*顏色*/
.footer-custom {
	background: #003522;
	color: #fff;
}
.footer-custom a {
    color: #fff;
}
.footer-custom .social a {
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
}
.footer-custom .copyright {
    background: #dfa730;
    color: #fff;
}