﻿@charset "utf-8";

body {
	font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'sans-serif';
}

a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

a:hover {
	text-decoration: none;
	color: inherit;
}

img {
	display: block;
	width: 100%;
}

ul {
	padding-left: 0;
	list-style-type: none;
}

button:hover,
a:hover {
	opacity: 0.7 !important;
	transition: 0.3s;

}

/*清除*/
:focus {
	outline: none !important;
	box-shadow: none !important;
}

.form-control:focus {
	border-color: #ced4da !important;
}

/*網頁選取顏色*/
::selection {
	background-color: #999;
	color: #fff;
}

::-moz-selection {
	background-color: #999;
	color: #fff;
}

/*捲軸樣式*/
/* 整個捲軸 */

::-webkit-scrollbar {
	width: 8px;
}

/* 捲軸的軌道 */
::-webkit-scrollbar-track {
	background: #666;
}

/*捲軸尚未滑到的軌道*/
::-webkit-scrollbar-track-piece {
	background: #666;
}

/* 滑動的區塊 */
::-webkit-scrollbar-thumb {
	background: #999;
}

/* 滑鼠移到滑動的區塊上 */
::-webkit-scrollbar-thumb:hover {
	background: #999;
}

/********通用********/
select {
	appearance: none !important;
	-moz-appearance: none !important;
	-webkit-appearance: none !important;
	cursor: pointer;
}

select.form-control {
	width: 100%;
	padding: 0 15px;
	transition: all 0.4s;
	background: url(../images/arrow-line.png) no-repeat;
	background-size: 16px;
	background-position: calc(100% - 15px) center;
	box-sizing: border-box;
	color: #333;
	font-size: 18px;
}

/*背景*/
.page-body {
	background: url(../images/body-bg.jpg) center center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	z-index: 1;
	padding: 80px 0 130px;
    min-height: 100vh;
}

.page-body:before {
	content: "";
	background: linear-gradient(to bottom right, rgba(167, 230, 131, 0.5), rgba(25, 166, 167, 0.5));
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	z-index: -1;
}

/*標題logo*/
.header {
	text-align: center;
	margin-bottom: 30px;
}

.header .logo {
	background: linear-gradient(90deg, #26BB7A, #037A5E);
	border-radius: 35px;
	display: inline-block;
	color: #fff;
	padding: 5px 50px;
	font-size: 28.5px;
	margin-bottom: 10px;
}

.logo-text {
	color: #037A5E;
	font-size: 25px;
	font-weight: 500;
}

/*內容*/

.page .content {
	background-color: #fff;
	padding: 10px 60px 70px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
	position: relative;
}

.page .content .form-control {
	margin-bottom: 10px;
}

input[type=checkbox],
input[type=radio] {
	zoom: 1.5;
	margin: 2px 1px;
	cursor: pointer;
}

.form-check {
	padding-left: 0;
}

.form-check-label {
	padding-left: 30px;
	cursor: pointer;
	color: #333;
	font-size: 17px;
}

/*內容-標題*/

.page .title-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(90deg, #3FA89A, #B2DC8C);
	padding: 10px 60px;
	color: #fff;
	font-size: 20px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}


.page .title-box .path a {
	margin: 0 10px;
	display: flex;
	align-items: center;
}

.page .title-box .path img {
	width: 25px;
	margin-right: 5px;
}


.page .title-box .path a:first-child {
	margin-left: 0;
}

.page .title-box .message {
	display: flex;
	align-items: center;
}

.page .title-box .message span {
	margin-left: 7px;
}

/*按鈕*/
.table button {
	padding: .3rem 1rem;
	color: #fff;
	display: flex;
	align-items: center;
	margin: auto;
}

.table button img {
	width: 20px;
}

.btn-light,
.btn-light:hover,
.btn-light:focus,
.btn-light:not(:disabled):not(.disabled):active {
	background-color: #fff;
	color: #85AA61;
	padding: .1rem 1rem;
	margin-left: 10px;
	border: 0;
	border-radius: 10px;
}

.btn-gray,
.btn-gray:hover,
.btn-gray:focus,
.btn-gray:not(:disabled):not(.disabled):active {
	background: linear-gradient(to bottom right, #D6D6D6, #AEAEAE);
	border: 0;
	color: #fff;
}

.btn-green,
.btn-green:hover,
.btn-green:focus,
.btn-green:not(:disabled):not(.disabled):active {
	background: linear-gradient(to bottom right, #89E5D2, #39C5B7);
	border: 0;
	color: #fff;
}

.btn-yellow,
.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:not(:disabled):not(.disabled):active {
	background: linear-gradient(to bottom right, #EBBE43, #EFE47C);
	border: 0;
	color: #fff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
	font-size: 18px;
	padding: .375rem 1rem;
}

.btn-red,
.btn-red:hover,
.btn-red:focus,
.btn-red:not(:disabled):not(.disabled):active {
	background-color: #B21919;
	border: 0;
	color: #fff;
	border-radius: 25px;
}

/*內容-上方*/
.page .download {
	text-align: right;
	border-bottom: 1px solid #bfdfae;
	padding-bottom: 5px;
	color: #037A5E;
	font-size: 18px;
	margin-bottom: 30px;

}

.page .download svg {
	margin-right: 5px;
}

.page .download a {
	margin-left: 20px;
	display: inline-block;
}

.page .download img {
	width: 20px;
	margin-right: 5px;
	display: inline-block;
	padding-bottom: 5px;
}

.page .download a:first-child {
	margin-left: 0;
}

/**內容-綠色標題**/
.page-title {
	color: #00986F;
	font-size: 22px;
	font-weight: 500;
}

/*表格*/

.table {
	border-radius: 7px;
	border: 1px solid #ccc;
	margin-bottom: 30px;
}

.table ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	color: #666;
	font-size: 20px;
	padding: 12px 0;
	align-items: center;
}

.table ul li {
	flex: 1;
	text-align: center;
	word-break: break-all;
}

#answer-table > ul > li:last-child {
	flex-grow: 3;
}

.table ul:nth-child(odd) {
	background-color: #ECECEC;
}

.table ul:last-child {
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
}

.table ul li span {
	color: #333;
	font-size: 25px;
	font-weight: 600;
	width: 50px;
	display: inline-block;
	text-align: left;
}

.table ul.thead {
	background-color: #3C4594;
	color: #fff;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
	font-size: 17px;
}

.table ul.total {
	color: #FB3F3F;
	font-size: 20px;
}

/*footer*/
footer {
	background: linear-gradient(90deg, rgba(2, 102, 103, 0), rgba(2, 102, 103, 0.65), rgba(2, 102, 103, 0));
	/*margin-top: 80px;*/
	text-align: center;
	color: #fff;
	padding: 5px 0;
	font-size: 14px;
	font-weight: 300;
	position: absolute;
	bottom: 0;
	width: 100%;
}

footer a {
	display: block;
	font-size: 17px;
	font-weight: 500;
}

/*視窗*/
.modal-footer {
	padding: 1rem 3rem 2rem;
}

.modal-header {
	border-bottom: 0;
	padding: 2rem 3rem 1rem 3rem;
}

.modal-body {
	padding: 1rem 3rem;
	font-size: 18px;
	color: #333;
	overflow-y: auto;
	max-height: calc(100vh - 10vh);
}

.modal-title {
	color: #00986F;
	font-size: 22px;
}

.modal-footer {
	border-top: 0;
}

.modal-header .close {
	font-size: 30px;
	position: absolute;
	right: 20px;
	top: 20px;
}

.btn-close {
	display: block;
	width: 100%;
	background-color: #999;
	color: #fff;
	font-size: 18px;
}

.btn-close:hover {
	color: #fff;
}

.btn-confirm {
	display: block;
	width: 100%;
	background-color: #1e6fff;
	color: #fff;
	font-size: 18px;
}

.btn-confirm:hover {
	color: #fff;
}

.modal-body .modal-class {
	display: flex;
	flex-wrap: wrap;
	font-size: 18px;
	margin-top: 10px;
}

.modal-body .modal-class li:nth-child(odd) {
	width: 130px;
	padding: 3px 0;
}

.modal-body .modal-class li:nth-child(even) {
	width: calc(100% - 130px);
	color: #999;
	padding: 3px 0;
}

/*--------------------------------------------------------------
首頁
--------------------------------------------------------------*/


.index {
	min-height: 100vh;
	background: url(../images/body-bg.jpg) center center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	z-index: 1;
	padding: 80px 0 0;
}

.index:before {
	content: "";
	background: linear-gradient(to bottom right, rgba(167, 230, 131, 0.7), rgba(25, 166, 167, 0.7));
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	z-index: -1;
}

@media (min-width: 1200px) {

	.index .container {
		max-width: 1050px;
	}
}

.index-content .con,
.index-content .login {
	background: linear-gradient(to bottom right, #fff, #DFF8CF);
	border-radius: 10px;
	-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

.index-content .con {
	height: 560px;
	padding: 0px 70px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
}

.index-content .login {
	height: 275px;
	margin-bottom: 10px;
}

.index-content .ant {
	font-size: 21px;
	color: #E94D4D;
	line-height: 30px;
	margin-top: 15px;
	width: 100%;
}

.btn-download {
	display: flex;
	align-items: center;
}

.btn-download img {
	width: 20px;
	margin-right: 5px;
}

.index-content .time {
	margin: 20px 0 20px 0;
	color: #999;
	font-size: 17px;
	width: 100%;
}

.index-content .time .title {
	color: #333;
}

/*輪播*/


.carousel-control-prev-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%666666' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")
}

.carousel-control-next-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%666666' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")
}

.carousel-control-prev {
	left: -65px;
}

.carousel-control-next {
	right: -65px;
}

/*登入*/
.login {
	cursor: pointer;
	position: relative;

}

.login .login-line {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px
}

.login .login-enter {
	text-align: center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	height: 128px;
}

.login .login-enter img {
	width: 80px;
	margin: auto;
}

.login .login-enter h3 {
	margin-bottom: 20px;
	color: #444;
}

/*註冊*/
.modal .registered {
	margin-top: 10px;
	color: #E85050;
	display: block;
	margin: auto;
	font-size: 18px;
}

.modal label {
	font-size: 18px;
}

.modal input,
.modal input:focus {
	background-color: #ECECEC;
	border: 0;
	font-size: 17px;
}

.modal input::-webkit-input-placeholder {

	color: #A7A7A7;
}

.modal .btn-login {
	background: #999;
	width: 100%;
	color: #fff;
	font-size: 18px;
}

.registered-link,
.student-link,
.registered-link:hover,
.student-link:hover {
	color: #E94D4D;
	margin: auto;
}

.registered-link span,
.student-link span {
	text-decoration: underline;
	margin-left: 3px;
}
/*首頁footer*/
.index-footer {
	padding: 20px 0;
}

.index-footer {
	text-align: center;
	color: #fff;
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7)
}

.index-footer p {
	margin-bottom: 10px;
}
.index-footer .unit a{
	background-color: #51B925;
	color: #fff;
	padding: 3px 10px;
	border-radius: 5px;
	margin-right:10px ;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0)
}
.index-footer .unit a:last-child{
	margin-right:0px ;
}
.index-footer img {
	width: 20px;
    margin-right: 5px;
    display: inline-block;
}

/*提示大小*/
.error{
	font-size:16px!important;
	color: #E94D4D;
}

/*--------------------------------------------------------------
公告訊息
--------------------------------------------------------------*/
.news-page .date{
	color: #999;
	font-size: 15px;
}
.news-page .date span{
	margin: 0 3px;
}
.news-page .news-title{
	color: #333;
	font-size: 19px;
}
.news-page .news-title a:hover{
	color: #00986F;
}
.news-page ul{
	margin: 15px 0 30px 0;
}
/*公告訊息*/
.news-box .news-box-con{
	color: #999;
	font-size: 16px;
	margin-top: 30px;
}
.news-box .news-box-date{
	color: #999;
	font-size: 14px;
	color: #00986F;
}
/*--------------------------------------------------------------
成績單
--------------------------------------------------------------*/

.transcript .transcript-data {
	padding: 50px 0 70px;
}

.transcript .transcript-data .data-box {
	display: flex;
	align-items: center;
	flex-flow: wrap;
}

.transcript .transcript-data ul {
	color: #222;
	font-size: 20px;
	margin-bottom: 30px;
	font-weight: 500;
}

.transcript .transcript-data ul span {
	color: #777;
	margin-left: 5px;
}

.transcript .transcript-data .text p {
	color: #666;
	font-size: 18px;
	margin: 0;
}

.transcript .transcript-data .text p span {
	color: #FB3F3F;
	font-size: 20px;
}

.transcript .transcript-data .text p span:first-child {
	margin-left: 10px;
}

.transcript .transcript-data .text p span:last-child {
	margin-right: 10px;
}

.transcript .transcript-data .text p span::before {
	content: "、";
}

.transcript .transcript-data .text p span:first-child::before {
	content: "";
}

.transcript .number-box {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	align-items: flex-end;
}

.transcript .number-people {
	color: #FB3F3F;
	font-size: 17.5px;
}

/*表格上-按鈕*/
.button-active {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 15px;
}

.button-active button {
	margin-left: 10px;
}

.button-active button:first-child {
	margin-left: 0px;
}

/*表格下文字*/
.transcript .total-text {
	font-size: 20px;
	text-align: center;
	display: flex;
	justify-content: center;
}

.transcript .total-text span {
	color: #FB3F3F;
	margin-right: 20px;
}

@media screen and (min-width: 768px) {

	.transcript .total-text li:nth-child(1),
	.transcript .total-text li:nth-child(2) {
		display: none;
	}
}

/*備註*/
.remarks {
	color: #FB3F3F;
	font-size: 16px;
	margin-top: 60px;
}

/*--------------------------------------------------------------
作答分析
--------------------------------------------------------------*/


.answer .back {
	margin: auto;
	display: block;
	font-size: 18px;
	background-color: #999999;
	border: 0;
}

.answer .back svg {
	margin-right: 10px;
}

.answer .name {
	position: absolute;
	right: 60px;
	top: 85px;
	color: #333;
}

/*表格*/
.answer .table ul li img {
	width: 20px;
	margin: auto;
}

.answer .table ul {
	padding: 8px 0;
	font-size: 22px;
}

.answer .table ul.thead {
	padding: 12px 0;
}

.answer .table ul li.red {
	color: #FB3F3F;
}

/*--------------------------------------------------------------
資料下載
--------------------------------------------------------------*/
.download-page .table ul {
	font-size: 17px;
}

.download-page .table ul li:nth-child(1) {
	width: 20%;
}

.download-page .table ul li:nth-child(2) {
	width: 60%;
	text-align: left;
}

.download-page .table ul li:nth-child(3) {
	width: 20%;
}

.download-page .table ul.thead li:nth-child(2) {
	text-align: center;
}

/*--------------------------------------------------------------
班級成績表
--------------------------------------------------------------*/

/*表格上方*/
.class .number-box {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	align-items: flex-end;
}

.class .number-data {
	display: flex;
	align-items: center;
	color: #666;
	font-size: 17px;
}

.class .number-people {
	color: #FB3F3F;
	font-size: 17.5px;
}

.class .number-data label {
	width: 50px;
	margin: 0;
}

.class .number-data .form-control {
	width: 80px;
	height: 30px;
	margin: 0;
	color: #666;
	font-size: 16px;
}

.class .table ul li {
	font-size: 16px;
}

.class .table ul li a {
	color: #39C5B7;
	text-decoration: underline
}

/*頁數*/

.page-box {
	justify-content: space-between;
	align-items: center;
	color: #666;
}

.page-box .title span {
	margin: 0 5px;
}

.page-box .number .btn {
	font-size: 14px;
	line-height: 14px;
	color: #333;
	width: 30px;
	height: 30px;
	text-align: center;
	padding: 9px;
	border: 0;
	margin: 0 3px;
}

.page-box .number .btn-page.active,
.page-box .number .btn-page:hover {

	color: #212529;
	background-color: #dae0e5;
	border-color: #d3d9df;
}


.page-box .number .btn-page:disabled:hover {

	background-color: #fff;
	border-color: #fff;
}