@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
* {
    font-family: 'Noto Sans TC';
}

html, body {
	height: 100%;
}

body{
	/* background-image: url(../Images/background.png);
	background-color: rgba(255, 255, 255, 0.8); */
	background-color: white;
	background-blend-mode: lighten;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

h1{
	margin-top: 60px;
	margin-bottom: 50px;
	text-align: center;
	color: #0071BC;
	font-weight: bold;
	word-break: break-all;
}

h2, h4{
	margin-bottom: 30px;
	text-align: center;
	color: #0071BC;
}

label{
	font-size: 20px;
	color: #0071BC;
}

a{
	color: #0066FF;
}

a:hover{
	color: #0071BC;
	text-decoration: none;
}

hr{
	border: 0;
	border-bottom: 2px solid #AAAAAA;
}

/* form, form-group */
.form-group input{
	border-color: #0071BC;
	border-width: 1px;
	color: #0071BC;
}

.form-group label{
	color: #0071BC;
	font-weight: bold;
}

input, option, select{
	color: #0071BC;
}

.large-checkbox {
    width: 1.2em;
    height: 1.2em;
    text-align: center;
    vertical-align: middle;
}

.large-checkbox-questionnaire {
    width: 0.8em;
    height: 0.8em;
    text-align: center;
    vertical-align: middle;
}

.large-radio {
    width: 0.8em;
    height: 0.8em;
}

.input-group-text{
	background-color: #0071BC;
	color: white;
}

.sms-topic-select {
	width: 100%;
	height: 50px !important;
	margin-top: 20px;
}

/* footer */

footer{
	margin-top: 100px;
	width: 100%;
	padding: 20px 20px;
	background-color: #0071BC;
}

.footer-span1{
	font-size: 23px;
	font-weight: bold;
	color: #ffffff;
}

.footer-span2{
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
}

.footer-span3{
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
}

footer img{
	height: 80px;
	width: 90px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}

@media screen and (max-width: 1350px){
	.footer-span1{
		font-size: 20px;
	}

	.footer-span2{
		font-size: 15px;
	}

	.footer-span3{
		font-size: 12px;
	}
}

@media screen and (max-width: 767px) {
	.md-span-center{
		text-align: center;
	}
}

/* table */
table{
	background-color: #ffffff;
}

.table th, .table td{
	vertical-align: middle !important;
}

tr, th, td{
	text-align: center;
}

@media screen and (min-width: 1350px){
	tr, th, td{
		font-size: 24px;
	}
}

td a{
	color: black;
}

td a:hover{
	color: red;
}

thead{
	background-color: #0071BC;
	color: #ffffff;
}

.information-table > thead{
	background-color: white;
	color: #0071BC;
	font-weight: bold;
}

.table-striped > tbody > tr:nth-child(2n) > td{
	background-color: rgba(0, 113, 188, 0.2);
}

.table-striped > tbody > tr:nth-child(2n+1) > td{
	background-color: rgba(255, 255, 255, 0.2);
}

.table-striped2 > tbody > tr:nth-child(4n) > td{
	background-color: rgba(255, 255, 255, 0.2);
}

.table-striped2 > tbody > tr:nth-child(4n+1) > td{
	background-color: rgba(255, 255, 255, 0.2);
}

.table-striped2 > tbody > tr:nth-child(4n+2) > td{
	background-color: rgba(255, 255, 255, 0.2);
}
.table-striped2 > tbody > tr:nth-child(4n+3) > td{
	background-color: rgba(0, 113, 188, 0.2);
}


.td-white-backgroud{
	background-color: #ffffff;
	color: #000000;
}

.td-width10{
	width: 10%;
	word-break: break-all;
}

.td-width15{
	width: 15%;
	word-break: break-all;
}

.td-width20{
	width: 20%;
	word-break: break-all;
}

.td-width25{
	width: 25%;
	word-break: break-all;
}

.td-width30{
	width: 30%;
	word-break: break-all;
}

.td-width35{
	width: 35%;
	word-break: break-all;
}

.td-width40{
	width: 40%;
	word-break: break-all;
}

.td-width45{
	width: 40%;
	word-break: break-all;
}

.td-width50{
	width: 50%;
	word-break: break-all;
}

.red-color-tr:hover{
	color: red;
	transition: all .1s linear;
	cursor: pointer;
}

.table-borderless th, .table-borderless td {
	border: none;
}

.table-bordered th, .table-bordered td{
	border: 0.5px solid #000000 !important;
}

.course-table > tbody > tr:nth-child(6n+1) > td, .course-table > tbody > tr:nth-child(6n+2) > td, .course-table > tbody > tr:nth-child(6n+3) > td{
	background-color: rgba(165, 165, 165, 0.2) !important;
}

.course-table > tbody > tr:nth-child(6n+4) > td, .course-table > tbody > tr:nth-child(6n+5) > td, .course-table > tbody > tr:nth-child(6n+6) > td{
	background-color: rgba(0, 113, 188, 0.2) !important;
}

.course-table > thead > tr > th, .course-table > tbody > tr > th, .course-table > tfoot > tr > th,
.course-table > thead > tr > td, .course-table > tbody > tr > td, .course-table > tfoot > tr > td {
	border: 0.5px solid #000000;
}

/* tab table */

.tab {
	overflow: hidden;
}

.tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
	font-size: 17px;
}

.tab button:hover {
	background-color: #0071BC;
	color: #ffffff;
}

.tab button.active {
	background-color: #0071BC;
	color: #ffffff;
}

.tabcontent {
	display: none;
	padding: 0px 12px 6px 12px;
	border-top: none;
	height: 400px;
}

.tablinks{
	color: #0071BC;
}

.tab-td{
	text-align: left;
	word-break: break-all;
}

.tab-link-img{
	height: 24px;
	width: 24px;
	margin-top: -5px;
}

/* navbar */

.navbar{
	background-color: #0071BC;
}

.navbar-brand img{
	width: 50px;
	height: 45px;
}

.navbar-brand{
	font-size: 24px;
	color:#ffffff;
	font-weight: bold;
	text-align: center;
}

.navbar li div{
	margin-top: -1px;
}

.dropdown:hover .dropdown-menu {
	display: block;
}

.nav-item:hover{
	color: #ffffff;
}

.nav-link{
	font-size: 22px;
	color:#ffffff;
}

.nav-link:hover{
	color:#ffffff;
}

.navbar-brand:hover{
	color:#ffffff;
}

.dropdown-item{
	font-size: 22px;
	color: #0071BC;
}

.dropdown-item:hover{
	color: #ffffff;
	background-color: #0071BC;
	transition: all .3s linear;
}

.navbar-light .navbar-toggler {
	border-color: rgba(11, 175, 159, 1);
	color: #0071BC;
}

.navbar-toggler .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 113, 188, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar button{
	background-color: #ffffff;
	color:#0071BC;
	font-size: 20px;
	border-radius: 20px;
}

.nav-item::after{
	content:'';
	display:block;
	width:0px;
	height:2px;
	background:#ffffff;
	transition: 0.2s;
}

.nav-item:hover::after{
	width:100%;
}

@media screen and (max-width: 1350px){
	.navbar-brand img{
		width: 30px;
		height: 28px;
		margin-top: -2px;
	}

	.navbar-brand{
		font-size: 18px;
	}

	.navbar button{
		font-size: 14px;
	}

	.nav-link{
		font-size: 14px;
	}

	.dropdown-item{
		font-size: 14px;
	}
}

/* confirm dialog */

.modal-title{
	color: #0071BC;
	font-weight: bold;
}

#SubmitConfirm, #LogoutConfirm, #DeleteConfirm, #AlertConfirm, #AlertRedirectLogin{
	background-color: #0071BC;
	color: #ffffff;
}

#SubmitConfirm:hover, #LogoutConfirm:hover, #DeleteConfirm:hover, #AlertConfirm:hover, #AlertRedirectLogin:hover{
	background-color: #ffffff;
	color: #0071BC;
	border-color: #0071BC;
}

#SubmitCancel, #LogoutCancel, #DeleteCancel{
	background-color: #6c757d;
	color: white;
	border-color: #6c757d;
}

#SubmitCancel:hover, #LogoutCancel:hover, #DeleteCancel:hover{
	background-color: white;
	color: #6c757d;
	border-color: #6c757d;
}

/* datetimepicker */

.bootstrap-datetimepicker-widget table th{
	border-radius: 0px !important;
	background-color: #ffffff !important;
	color: #0071BC !important;
}

.bootstrap-datetimepicker-widget table th:hover{
	background-color: #0071BC !important;
	color: #ffffff !important;
}

.bootstrap-datetimepicker-widget table td.today{
	background-color: #0071BC !important;
	color: #ffffff !important;
}

.bootstrap-datetimepicker-widget td.active{
	background-color: #FF8800 !important;
	color: #ffffff !important;
}

.bootstrap-datetimepicker-widget td span.active {
	background-color: #0071BC !important;
	color: #ffffff !important;
}

.bootstrap-datetimepicker-widget td.day {
	padding: 6px;
	font-size: 16px;
}

/* datepicker */

.datepicker tr, .datepicker th, .datepicker td{
	font-size: 1rem !important;
}

.datepicker-days thead th{
	border-radius: 0px !important;
	background-color: #ffffff !important;
	color: #0071BC !important;
}

.datepicker-days thead th:hover{
	background-color: #0071BC !important;
	color: #ffffff !important;
}

.datepicker-days tbody td:hover{
	background-color: #0071BC !important;
	color: #ffffff !important;
}

.datepicker-months thead th{
	border-radius: 0px !important;
	background-color: #ffffff !important;
	color: #0071BC !important;
}

.datepicker-months thead th:hover{
	background-color: #0071BC !important;
	color: #ffffff !important;
}

.datepicker-months tbody td span:hover{
	background-color: #0071BC !important;
	color: #ffffff !important;
}

.datepicker-years thead th{
	border-radius: 0px !important;
	background-color: #ffffff !important;
	color: #0071BC !important;
}

.datepicker-years thead th:hover{
	background-color: #0071BC !important;
	color: #ffffff !important;
}

.datepicker-years tbody td span:hover{
	background-color: #0071BC !important;
	color: #ffffff !important;
}

/* button */
@media screen and (min-width: 1350px){
	.defaultButton, .small-button, .complete-button, .error-button, .user-button, .rwd-button-font, .sms-button {
		font-size: 24px !important;
	}
}

@media screen and (min-width: 1350px){
	.complete-button2{
		font-size: 16px !important;
	}
}

.sms-button {
	width: 100%;
	height: 50px;
	margin-top: 20px;
	background-color: #0071BC;
	color: #ffffff;
}

.sms-button:hover {
	background-color: #ffffff;
	color: #0071BC;
	border-color: #0071BC;
}

.defaultButton{
	width: 100%;
	height: 50px;
	margin-top: 20px;
	background-color: #0071BC;
	color: #ffffff;
}

.defaultButton:hover{
	background-color: #ffffff;
	color: #0071BC;
	border-color: #0071BC;
}

.searchButton{
	width: 100%;
	height: 35px;
	background-color: #0071BC;
	color: #ffffff;
}

.searchButton:hover{
	background-color: #ffffff;
	color: #0071BC;
	border-color: #0071BC;
}

.search-group-button {
	height: inherit;
	width: 60px;
}

.addButton{
	width: 100%;
	height: 35px;
	margin-top: 20px;
	border-radius: 17px !important;
	color: #ffffff;
	background-color: #1FC9A8;
}

.addButton:hover{
	color: #1FC9A8;
	background-color: #ffffff;
	border-color: #1FC9A8;
}

.create-button {
	width: 100%;
	height: 35px;
	color: #ffffff;
	background-color: #1FC9A8;
}

.create-button:hover {
	color: #1FC9A8;
	background-color: #ffffff;
	border-color: #1FC9A8;
}

.reduceButton{
	width: 100%;
	height: 35px;
	margin-top: 20px;
	border-radius: 17px !important;
	color: #ffffff;
	background-color: #FF4500;
}

.reduceButton:hover{
	color: #FF4500;
	background-color: #ffffff;
	border-color: #FF4500;
}

.captchaButton{
	background-color: #0071BC;
	color: #ffffff;
}

.captchaButton:hover{
	background-color: #ffffff;
	color: #0071BC;
	border-color: #0071BC;
}

.small-button{
	background-color: #0071BC;
	color: #ffffff;
}

.small-button:hover{
	background-color: #ffffff;
	color: #0071BC;
	border-color: #0071BC;
}

.complete-button{
	background-color: #00AA00;
	color: #ffffff;
}
.complete-button2{
	background-color: #00AA00;
	color: #ffffff;
}

.error-button{
	background-color: #DD0426;
	color: #ffffff;
}

.language-button{
	background-color: #ffffff;
	color: #0071BC;
}

.user-button{
	background-color: #ffffff;
	color: #0071BC;
	border: 1px solid #007bff !important;
}

.btn-primary:hover{
	background-color: #ffffff;
	color: #007bff;
	border-color: #007bff;
}

.btn-warning:hover{
	background-color: #ffffff;
	color: #FF4500;
	border-color: #FF4500;
}

.customBlueButton{
	background-color: #016FB9;
}

.customBlueButton:hover{
	background-color: #ffffff;
	color: #016FB9;
	border-color: #016FB9;
}

.customRedButton{
	background-color: #DD0426;
}

.customRedButton:hover{
	background-color: #ffffff;
	color: #DD0426;
	border-color: #DD0426;
}

/* input */

.defaultInput{
	width: 100%;
	color: #0071BC;
	border-color: #0071BC;
	border-width: 1px;
}

.searchInput{
	width: 100%;
	height: 35px;
	border-color: #0071BC;
	border-width: 1px;
	color: #0071BC;
}

.has-icon .form-control {
    padding-left: 2.375rem;
}

.has-icon .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
	color: #0071BC;
	padding: 10px;
}

/* album square */

.placeholder{
	width: 100%;
	padding-bottom: 100%;
	height: 0;
	background-color: #0071BC;
	font-size: 30px;
}

.placeholder p{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	color: #ffffff;
}

.placeholder:hover{
	background-color: #ffffff;
	border-color: #0071BC;
}

.placeholder:hover p{
	color: #0071BC;
}

/* show photo square */

.placeholder-photo{
	width: 100%;
	padding-bottom: 100%;
	height: 0;
}

.show-photo-div{
	margin-bottom: 20px;
	border-color: #0071BC;
	border-style: solid;
}

.placeholder-online-people{
	width: 100%;
	padding-bottom: 100%;
	height: 100%;
	font-size: 20px;
	text-align: center;
	border-color: #0071BC;
	border-style: solid;
}

.placeholder-online-people p{
	color: #000000;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}

/* Pagination */
.page-link{
	color: #0071BC;
}

.page-link:hover{
	color: #ffffff;
	background-color: #0071BC;
}

.page-item.active .page-link{
	color: #ffffff;
	background-color: #0071BC;
	border-color: #dee2e6;
}

/* animation */
#animation-div1, #animation-div2, #animation-div3{
	opacity: 0;
}

/* width % */
.w-60{
	width: 60%;
}

.w-80{
	width: 80%;
}

/* border radius */
.border-radius-50{
	border-radius: 50px !important;
}

/* toast */
.toast {
    opacity: 1 !important;
}

.toast-mt {
    margin-top: 5rem !important;
}

/* cards */
.navigation-card-blue{
	background-color: #0071BC;
	border: 2px solid #0071BC;
	border-radius: 2rem;
	margin-top: 30px;
}

.navigation-card-green{
	background-color: #1F9EA8;
	border: 2px solid #1F9EA8;
	border-radius: 2rem;
	margin-top: 30px;
}

.navigation-card-blue > .card-header, .navigation-card-green > .card-header{
	font-size: 28px;
	color: white;
	text-align: center;
}

.navigation-card-blue > .card-body, .navigation-card-green > .card-body{
	padding: 10px 10px;
	background-color: ghostwhite;
	border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
	text-align: center;
}

.navigation-card-blue > .card-body > a, .navigation-card-green > .card-body > a{
	color: black;
	font-size: 24px;
	text-decoration: none;
}

.navigation-card-blue > .card-body > a:hover, .navigation-card-green > .card-body > a:hover{
	color: blue;
}

.blue-card{
	background-color: white;
	border: 2px solid #0071BC;
	border-radius: 10px;
}

.blue-card > .card-header{
	font-size: 28px;
	background-color: #0071BC;
	color: white;
}

.green-card{
	background-color: white;
	border: 2px solid #1F9EA8;
	border-radius: 10px;
}

.green-card > .card-header{
	font-size: 28px;
	background-color: #1F9EA8;
	color: white;
}

/* Others */

.container{
	min-height: 80%;
	height: auto !important;
}

.defaultTextarea{
	color: #0071BC;
	border-color: #0071BC;
}

.center{
	text-align: center;
}

.redText{
	color: red;
}

.vertical{
	position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.borderForm{
	padding:10px 10px;
	border-color:#0071BC;
	border-width:1px;
	border-style:solid;
	background-color: #ffffff;
}

.margin10 {
	margin: 10px 10px;
}

.paragraghForArticle{
	font-size: 20px;
	line-height: 50px;
	letter-spacing: 3px;
	text-align: justify;
	text-justify:inter-ideograph;
}

.bold{
	font-weight: bold;
}

.customDiv{
	font-size: 20px;
	text-align: center;
	line-height: 50px;
	border-radius: 5px;
	width: 100%;
	height: 50px;
	margin-top: 20px;
	color: #ffffff;
}

@media screen and (min-width: 1350px){
	.customDiv{
		font-size: 24px;
	}
}

.customLabel{
	font-size: 20px;
	text-align: center;
	width: 100%;
	height: 50px;
	margin-top: 20px;
}

#NowDateTime{
	margin-top: 5px;
	font-size: 22px;
	color: #0071BC;
}

.bg-white{
	background-color: #ffffff;
}

.bg-gray{
	background-color: #e9ecef;
}

.bg-primary {
	background-color: #0071BC !important;
}

.text-primary{
	color: #0071BC !important;
}

.text-danger{
	color: red !important;
}

.text-black{
	color: black !important;
}

.dropdown-student{
	color: #FFBB00;
	font-weight: bold;
}

.dropdown-student:hover{
	color: #FF5511;
}

.dropdown-item-student{
	color: #CC6600;
}

.dropdown-item-student:hover{
	background-color: #CC6600;
	color: #ffffff;
}

.login-div{
	border: 2px solid #0071BC !important;
    border-radius: 10px;
    padding: 15px 20px;
}

.div-vertical-center {
    min-height: 100%;
    min-height: 100vh;
    display: flex;
	align-items: center;
	margin-bottom: 0px;
    border-radius: 0px;
    padding: 2rem 1rem !important;
}

.border-10-div{
	background-color: white;
	border-radius: 10px;
}

.text-inter-ideograph{
	text-align: justify;
	text-justify: inter-ideograph;
}

.cursor-pointer:hover {
	cursor: pointer;
}

.loading-gif {
	margin-top: 2.2rem;
	height: 20px;
	width: 20px;
}


.indent-title-2-3{
  text-indent: -2.3em;
  margin-left: 2.3em;
}


.hide {
	display: none;
}

        /* 公告外層容器 */
        .toggle-switch {
            display: flex;
            align-items: center;
            cursor: pointer;
            width: 100px;
            height: 40px;
            border-radius: 20px;
            background-color: #ccc;
            position: relative;
            transition: background 0.3s ease-in-out;
        }

        /* 滑動圓點 */
        .toggle-handle {
            width: 30px;
            height: 30px;
            background-color: gray;
            border-radius: 50%;
            position: absolute;
            left: 5px;
            top: 50%;
            transform: translateY(-50%);
            transition: left 0.3s ease-in-out, background 0.3s ease-in-out;
        }

        /* 文字 */
        .toggle-text {
            position: absolute;
            right: 10px;
            font-size: 16px;
            color: gray;
			 left: 40%; /* 初始狀態讓文字靠右 */
            transition: color 0.3s ease-in-out;
        }

        /* 啟用狀態 */
        .toggle-switch.active {
            background-color: #4CAF50;
			
        }

        .toggle-switch.active .toggle-handle {
            left: 45px;
            background-color: #4CAF50;
			
        }

        .toggle-switch.active .toggle-text {
            color: white;
			left: 35%;  /* 啟動時移動到完全置中 */
        }

