:root{
	--orange: #ff7800;
	--black: #130f40;
	--light-color: #666;
	--box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
	--border: .2rem solid rgba(0,0,0,.1);
	--outline: .1rem solid rgba(0,0,0,.1);
	--outline-hover: .2rem solid var(--black);
	--bg-color: #f7f7fc;
	--layout-size: 5%;
}
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	word-break: break-all;
	outline: none;
	border: none;
}
html{
	scroll-behavior:smooth;
}
a{
	text-decoration: none;
}
a:hover{
	text-decoration: none;
}
a:not([href]){
	cursor: default;
}
img{
	vertical-align: middle;
	border-style: none;
}
ul,
ol{
	list-style: none;
	padding-left: 0;
}

.text-gray-400 {
    color: #5a5c69!important;
	font-size: 1.75rem;
	font-weight: 400;
    line-height: 1.2;
}
.text-gray-500 {
    color: #5a5c69!important;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
}
.text-gray-600 {
    color: #858796!important;
}

/* Header */
header.container-fluid{
	position: sticky;
	top: 0;
	left: 0;
	padding: 0;
	display: flex;
	/*flex-direction: column;*/
	box-shadow: 0px 2px 10px rgba(0, 0, 0, .3);
	background-color: #fff;
	z-index: 1001;
}
header .header_superior{
	/*width: 100%;
    max-width: 100%;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--layout-size);
    position: relative;
    z-index: 1;
}
header .logo{
	display: flex;
	align-items: center;
}
header .logo img{
	height: 57px;
	/*width: 120px;
	height: auto;*/
}
header .logo .logo_name{
    font-size: 20px;
    font-weight: 600;
    color: #0f8783;
    white-space: nowrap;
    margin-left: 5px;
}
header .logo .logo_name p{
	padding: 2px;
	margin-bottom: 0;
}
header .logo .logo_name p:nth-of-type(2){
	font-size: 16px;
}

header .icons div{
	height: 4rem;
    width: 4rem;
    line-height: 4rem;
    border-radius: 0.5rem;
    background: #eee;
    color: var(--black);
    font-size: 1.5rem;
    cursor: pointer;
    text-align: center;
}
header .icons div:hover{
	background: var(--orange);
	color: #fff;
}

header .login-form{
	position: fixed;
    top: 15%;
    right: -20rem;
    width: 15rem;
    max-width: calc(100% - 2rem);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    border-radius: 0.5rem;
    background: #fff;
    text-align: center;
	transition: .3s linear;
}
header .login-form.active{
	right: 1rem;
}
header .login-form .btn{
	margin: .5rem auto;
	display: inline-block;
	padding: .8rem 3rem;
	border-radius: .5rem;
	border: .1rem solid var(--black);
	color: var(--black);
	cursor: pointer;
	background: none;
	width: 100%;
}
header .login-form .btn:hover{
	background: var(--orange);
	color: #fff;
}

@media(max-width:992px){
	header .logo img {
	    height: 49.5px;		
		width: auto;
		max-width: 100%;
	}
	header .logo .logo_name {
	    font-size: 14px;
	}
	header .logo .logo_name p:nth-of-type(2) {
	    font-size: 12px;
	}
	header .icons div {
	    height: 3rem;
	    width: 3rem;
	    line-height: 3rem;
	    border-radius: 0.3rem;
	    font-size: 1.2rem;
	}
}

/* Navigation */
.container_menu {
    width: 100%;
    height: auto;
    background: #fff;
    padding: 0px var(--layout-size) 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}
.nav-btn{
	flex: 1;
	display: flex;
}
.nav-btn .logo{
	display: none;
}
.nav-btn > ul{
	display:flex;
	align-items:center;
	flex-wrap: wrap;
	margin-bottom: 0;
}
.nav-btn ul li{
	font-size: 16px;
}
.nav-link{
	position: relative;
	padding: 0 1rem;
}
.nav-link > a{
	color:#000;
	letter-spacing:1px;
	font-size:1.2rem;
	display:flex;
	align-items:center;
	justify-content:space-between;
}
.nav-link > a span{
	position: relative;	
	line-height:2rem;
	text-transform: uppercase;
}
.nav-link > a span:before{
	position: absolute;
	content: '';
	left: 0;
	bottom: 0;
	height: 3px;
	width: 100%;
	background: #666;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .4s linear;
}
.nav-link > a > i{
	margin-left:.2rem;
}
.nav-link > a span:hover:before{
	transform: scale(1);
	transform-origin: left;
}
.nav-link:hover > a{
	text-decoration: none;
}

/*第二層(含以上)效果延用*/
.dropdown{
	position:absolute;
	top:100%;
	left:0;
	min-width: 100%;
	opacity:0; /*選項出現的效果*/
	pointer-events:none; /*取消鼠標事件*/
	transition:opacity .5s, transform .5s; /*選項出現的動畫*/
	z-index: 1;
}
.dropdown ul{
	position: relative;
    background-color: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}
.dropdown-link > a{
	display:flex;
	color:#3498db;
	padding:.5rem 1rem;
	font-size:1rem;
	font-weight: bold;
    align-items:center;
	justify-content:space-between;
	transition:.3s;
	white-space: nowrap;
}
.dropdown-link:hover > a{
	background-color:#3498db;
	color:#fff;
	text-decoration:none;
}
.dropdown-link{ /*第三層(含以上)效果延用*/
	position:relative;
	background-color:#fff;
}
.dropdown-link i{
	transform:rotate(-90deg);
}
.dropdown.second{
	top:0;
	left:100.5%;
	cursor:pointer;
}
.nav-link:hover > .dropdown, /*開關(移入移出)*/
.dropdown-link:hover > .dropdown{
	opacity:1;
	pointer-events:auto;
}

/*RWD(漢堡圖示)*/
.hamburger-menu-container{
	display:none;
	align-items:center;
}
.hamburger-menu{
	width:2.5rem;
	height:2.5rem;
	display:flex;
	align-items:center;
	justify-content: center;
}
.hamburger-menu div{
	width:1.6rem;
	height:3px;
	border-radius:3px;
	background-color:#000;
	position:relative;
	z-index:1001;
	transition:.5s;
}
.hamburger-menu div:before,
.hamburger-menu div:after{
	content:'';
	position:absolute;
	width:inherit;
	height:inherit;
	background-color:#000;
	border-radius:3px;
	transition:.5s;
}
.hamburger-menu div:before{
	transform:translateY(-7px);
}
.hamburger-menu div:after{
	transform:translateY(7px);
}

#check{ /*要當RWD開關用(與漢堡同位置)*/
	position:absolute;
	top:50%;
	right:var(--layout-size);
	transform:translate(-50%, -50%);
	width:2.5rem;
	height:2.5rem;
	z-index:1002;
	cursor:pointer;
	opacity:0;
	display:none;
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div{
	background-color:transparent;
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div:before{
	transform:translateY(0) rotate(-45deg);
}
#check:checked ~ .hamburger-menu-container .hamburger-menu div:after{
	transform:translateY(0) rotate(45deg);
}

@keyframes animation{
	from{
		opacity:0;
		transform:translateY(-15px);
	}
	to{
		opacity:1;
		transform:translateY(0px);
	}
}

@media(max-width:992px){
	.hamburger-menu-container{
		display:flex;
	}
	#check{
		display:block;
	}

	.nav-btn{ /*RWD切換*/
		position:fixed;
		height:calc(100vh - 81.5px);
		top:81.5px;
		left:0;
		width:100%;
		background-color:#69bde7;
		flex-direction:column;
		align-items:center;
		justify-content:space-between;
		overflow-x:hidden;
		overflow-y:auto;
		transform:translateX(100%);
		transition:.65s;
		opacity:0;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}
	.nav-btn > ul{
		flex-direction:column;
		width: 100%;
	}
	.nav-link{ /*第一層*/
		width:100%;
		opacity:0;
		transform:translateY(-15px);
		/*padding: 0*/;
	}
	.nav-link > a{
		line-height:1;
		padding:1.2rem;
		color: #fff;
	}
	.nav-link:hover > a{
		transform:scale(1);
		background-color:#50a9d6;
	}
	.nav-link > a span:before{
		background: #FFF;
	}
	.dropdown, .dropdown.second{ /*第二層(含以上)*/
		position:initial;
		top:inherit;
		left:inherit;
		transform:inherit;
		opacity:1;
		pointer-events:auto;
		width:100%;
		padding:0;
		background-color:#3183ac;
		display:none;
		margin-left:0;
		overflow: hidden;
	}
	.dropdown-link > a{
		background-color:transparent;
		color:#3498db;
		padding:1.2rem 2rem;
		line-height:1;
	}
	.dropdown.second .dropdown-link > a{
		padding:1.2rem 2rem 1.2rem 3rem;
	}
	.dropdown.second .dropdown.second .dropdown-link > a{
		padding:1.2rem 2rem 1.2rem 4rem;
	}
	.dropdown-link{
		border-bottom:none;
	}
	.dropdown-link:before {
	    content: '';
	    position: absolute;
	    bottom: 0;
	    height: 1px;
	    width: 100%;
	    background: #0d7e75;
	}
	.nav-link .arrow{ /*所有層箭頭*/
		z-index:1;
		border-bottom: 10px solid #2b70c0;
		left:10%;
		transform:scale(1.1) rotate(-180deg);
		transition:.5s;
		top: 0;
	}
	.nav-link:hover .arrow{
		border-bottom: 10px solid #50a9d6;
	}
	.dropdown.second .arrow{ /*第二層箭頭(含以上)隱藏*/
		display:none;
	}
	.dropdown-link:hover > a{
		background-color:#3a91bd;
	}
	.dropdown-link:first-child:hover ~ .arrow{
		border-bottom: 10px solid #50a9d6;
	}
	.nav-link > a > i{
		font-size:1.1rem;
		transition:.7s;
		transform:rotate(-90deg);
	}
	.dropdown i{
		font-size:1rem;
		transition:.7s;
	}

	.nav-link.show > .dropdown, /*顯示(移入移出)*/
	.dropdown-link.show > .dropdown{
		display:block;
	}
	.nav-link.show > a > i,
	.dropdown-link.show > a > i{
		transform:rotate(360deg);
	}

	#check:checked ~ .nav-btn{ /*RWD開關*/
		transform:translateX(0);
		opacity:1;
	}
	#check:checked ~ .nav-btn .nav-link{
		animation:animation .5s ease forwards var(--i); /*RWD導覽列出現時的特效*/
	}
}

/* Wrapper */
#wrapper{
	display:flex;
	flex-direction:column;
    min-height: calc(100vh - 89px);
    background:#fafafa;
	overflow:hidden;
}
#wrap-content{
	flex:1;
	margin: 20px auto;
    padding: 1rem 5%;
}
.copyright{
	border-top: 1px solid #c9c9c9;
	background: rgb(10 48 143 / 0.1);
}
@media(max-width:992px){
	#wrapper{
		min-height: calc(100vh - 81.5px);
	}
	.copyright{
		font-size: 85%;
	}
}

/*go-top*/
#go-top{
	display:none;
	font-size:30px;
	position:fixed;
	bottom: 37.5px;
    right: 24px;
	border:2px solid #333;
	border-radius:5px;
	width:45px;
	height:45px;
	line-height:45px;
	text-align:center;
	background-color:rgba(255,255,255,.5);
	cursor:pointer;
}

/*comments*/
#plus-box{
	position: fixed;
	bottom: 35px;
    left: 24px;
	width: 60px;
	height: 60px;
}
#plus-box .plus{
	position: absolute;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	background: #009688;
	box-shadow: 1px 2px 4px grey;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
#plus-box .plus:hover{
	cursor: pointer;
}
#plus-box .plus i{
	transition: 0.4s;
	font-size: 2em;
	color: #fff;
}
#plus-box .box{
	position: absolute;
	bottom: 40px;
	right: 50%;
	transform: translateX(50%);
	height: 0;
	transition-delay: 0.3s;
	width: 44px;
	transition: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
#plus-box .box .item{
	overflow: hidden;
	border-radius: 50%;
	transition: 0.4s ease-in;
	width: 44px;
	height: 44px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	box-shadow: 1px 1px 3px grey;
	font-size: 25px;
	text-decoration: none;
	color: #ffffff;
}
#plus-box .box .item1{
	transition-delay: 0.1s;
	background: #1565c0;
}
#plus-box .box .item2{
	transition-delay: 0.2s;
	background: #fff;
}
#plus-box .box .item2 i{
	color: #7fb94e;
	font-size: 2.05em;
}
#plus-box .box .item3{
	transition-delay: 0.3s;
	background: #F7425A;
}
#plus-box .box .item:hover{
	cursor:pointer;
}
#plus-box .box-active{
	height: 100px;
	bottom: 70px;
}
#plus-box .plus-active i{
	transform:rotate(225deg);
}