/* ====================================
CD = 
LD = 
=======================================
Editor:
1. Recca
2.
3.
=======================================
Index:
1. html
2. body
3. header
4. content
5. footer
6. share
7.
8.
9.
10.
=====================================*/




@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);


/* html */
a {
	text-decoration: none;
}
figure img {
	height: auto;
	width: 100%;
}





/* body */
body {
	background-color: #D5DADD;
	font-family: verdana, 'Noto Sans TC';
	margin: 0px;
	/*margin-bottom: 120px;*/
	min-width: 320px;
	padding: 0px;
}






/* header */
header {
	 background-color: #7CEECE;
}
#logo {
	/*border-bottom: 4px #fff solid;*/
	background-image: url(../images/bg_header.png);
	background-repeat: repeat-x;
	text-align: center;
}
header #logo a, header #logo a:hover {
	text-decoration: none;
}
.logo_school, .logo_name, .nav-btn {
	display: inline-block;
	transition: all 0.2s linear;
}
.logo_name {
	color: #fff;
	vertical-align: middle;
}
.logo_name .schoolname_chi {
	font-size: 1.8em;
}
.nav-btn {
	margin-top: -19px;
	position: absolute;
	right: 10px;
	top: 50%;
	width: 54px;
}
/*
@media (max-width: 600px) {
	.logo_school {
		transition: all 0.2s linear;
		width: 12.5%;
	}
	.logo_school img {
		height: auto;
		width: 100%;
	}
	.logo_name {
		font-size: 55%;
		text-align: left;
		transition: all 0.2s linear;
		width: 85%;
	}
}*/





/* nav */
nav {
	 background-color: #EBEE7B;
}
nav ul li a {
	color: #664C00 !important;
}
nav ul li ul li a {
	color: #fff !important;
}
@media (max-width: 991px) {
	.navbar {
		padding: inherit;
		position: absolute;
		width: 100%;
		z-index: 1000;
	}
	.navbar-toggler {
		border: none;
	}
	
	#navbars {
		padding: 2%;
	}	
	#navbars > ul > li {
		border-bottom: 1px #fff solid;
	}
}






/* content */
.indexbg {
	background-color: #E8EFEF;
}
.content_inside_root {
	background-color: #fff;
	position: relative;
}
#content {
	padding-bottom: 20px;
	position: relative;
}
#content:before {
	background-color: rgba(255,255,255,0.7);
	content: "";
	display: block;
	height: 100%;
	left: 0px;
	position: absolute;
	top: 0px;
	width: 100%;
}

.contentpadding {
	padding: 25px 35px;
}

.page_header {
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(232,239,239,1) 100%);
	padding: 30px 10px;
	text-align: center;
}
.page_header h1 {
	margin: auto;
}
.bg_inside0, .bg_inside1, .bg_inside2, .bg_inside3, .bg_inside4, .bg_inside5 {
	background-image: url(../images/background/bg_01.jpg);
	background-size: cover;
}
.bg_inside1 {
	background-image: url(../images/background/bg_02.jpg);
}
.bg_inside2 {
	background-image: url(../images/background/bg_03.jpg);
}
.bg_inside3 {
	background-image: url(../images/background/bg_04.jpg);
}
.bg_inside5 {
	background-image: url(../images/background/bg_05.jpg);
}
.bg_inside6 {
	background-image: url(../images/background/bg_06.jpg);
}



.photocutbox_big, .photocutboxA, .photocutboxB, .photocutboxC {
	background-size: cover;
	background-position: center;
	background-image: url(../images/cover/001.jpg);
	height: 100%;
	max-height: 355px;
	overflow: hidden;
	padding: 0px;
	padding-top: 60%;
	position: relative;
}
.photocutboxA {
	background-image: url(../images/events/event0001/event_04.jpg);
}
.photocutboxB {
	background-image: url(../images/events/event0001/event_02.jpg);
}
.photocutboxC {
	background-image: url(../images/events/event0001/original.jpg);
}
.photocutboxA div, .photocutboxB div, .photocutboxC div {
	color: #fff;
	font-size: 40px;
	display: block;
	height: 80px;
	line-height: 80px;
	margin-top: -40px;
	position: absolute;
	text-align: center;
	top: 50%;
	transition: all .4s ease-in-out;
	width: 100%;
}
.photocutboxA div span, .photocutboxB div span, .photocutboxC div span {
	background-color: rgba(41,61,86,0.75);
	padding: 2%;
}
.photocutboxA:hover div, .photocutboxB:hover div, .photocutboxC:hover div {
	transform: scale(1.2);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}






/* footer */
.footer {
  /*position: absolute;
  bottom: 0;
  width: 100%;*/
	padding-top: 20px;
  height: 100px; /* Set the fixed height of the footer here */
  /*line-height: 30px; /* Vertically center the text there */
  background-color: #D5DADD;
}

footer a {
	color: #333;
}

footer ul li{
	display: inline-block;
	margin-right: 15px;
}
footer ul li:last-child {
	float: right;
	margin-right: 0px;
}

.scrollToTopContainer {
	position: fixed;
	width: 100%;
	margin: 0;
	bottom: 0;
	z-index: 99;
}
.scrollToTopContainer a {
	background-color: #EBEE7B;
	bottom: 100px;
	display: block;
	height: 45px;
	position: absolute;
	right: 0;
	transition: 0.2s background;
	width: 45px;
}
.scrollToTopContainer a:hover {
	background-color: #FF1AA4;
	transition: 0.2s background;
}

@media (max-width: 480px) {
	footer ul li:last-child {
		text-align: left;
		width: 100%;
	}
}




/* share */
.skip {
	position: absolute;
	top: -1000px;
}

.ui_nomp {
	margin: 0px;
	padding: 0px;
}
.ui_pl20 {
	padding-left: 20px;
}

.ui_nolst {
	list-style-type: none;
}

.autoM {
    margin: auto;
}

.eng {

}

.mt70 {
	margin-top: 70px;
}
.mtb10 {
	margin: 10px 0px;
}

.datelist {
	background-color: #fff;
	padding: 2% 15px;
	position: relative;
}
.datelist h1, .contact h1 {
	font-weight: 300;
	font-size: 2.1em;
	margin: 0px;
}
.datelist dl {
	overflow: auto;
	overflow-x: hidden;
}
.datelist dl dt, .datelist dl dd {
	color: #D80000;
	display: inline-block;
	float: left;
	font-weight: 300;
	margin: 5px 0px;
	padding: 0px;
}
.datelist dl dd a, .photolist a, .newslist div a dd {
	color: #333;
}
#content:after, .datelist dl:after, .photolist:after, .newslist div a:after {
	content: "";
	clear: both;
	display: block;
}
.more {
	color: #D80000;
	position: absolute;
	right: 10px;
	top: 10px;
}

.ui_nopl {
	padding-left: 0px;
}
.ui_nopr {
	padding-right: 0px;
}
.photolist {
	margin: 20px 0px;
}

.photolist li {
	display: inline-block;
	float: left;
	margin: 25px 1%;
	text-align: center;
	width: 31%;
}
.photolist li div, .ballimg {
	border-radius: 100%;
	margin: auto;
	max-height: 265px;
	max-width: 265px;
	overflow: hidden;
	width: 100%;
}
.photolist li img {
	height: 100%;
	width: 100%;
}

.red {
	color: #8C0000;
}

.newslist div {
	border-bottom: 1px #ccc solid;
}
.newslist div a {
	padding: 20px 0px 15px 0px;
display: block;
}
.newslist div dt, .newslist div dd {
	float: left;
}
.newslist div a dt {
	color: #d80000;
}



.btn-secondary {
	margin: 20px 0px;
	position: relative;
}
.btn-secondary, .btn-secondary:hover, .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
	background-color: #fff;
	border-color: #1D49A9;
	color: #000;
	max-width: 280px;
	text-align: left;
	width: 100%;
}
.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-secondary.dropdown-toggle:focus, .show:active, .btn-secondary:active, .btn-secondary:focus, .btn-secondary.focus {
	box-shadow: none;
}
.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    content: "";
    border-top: 0.7em solid;
    border-right: 0.7em solid transparent;
    border-bottom: 0;
    border-left: 0.7em solid transparent;
    color: #1D49A9;
    right: 10px;
    position: absolute;
	top: 14px;
}

.dropdown-menu {
	background-color: #FF6BC5;
}
.dropdown-item:hover, .dropdown-item:focus {
    text-decoration: none;
    background-color: #FF1AA4;
}


.btn-primary, .btn-primary:hover {
    color: #fff;
    background-color: #007EA8;
    border: none;
}

.booklist img {
	height: auto;
	max-width: 150px;
	margin: auto auto;
	text-align: center;
	width: 100%;
}

.text-color-0267A7 {
	color: #0267A7;
}
.text-size-1-5rem {
	font-size: 1.5rem;
}

.line-height-1-2rem {
	line-height: 2.9rem;
}
.line-height-2-6rem {
	line-height: 2.6rem;
}
.line-height-2-4rem {
	line-height: 2.4rem;
}

@media (max-width: 575px) {
	.datelist .line-height-2-4rem {
		line-height: 1.5rem;
	}
	.datelist .line-height-2-4rem dt {
		margin-bottom: 0px;
	}
	.datelist .line-height-2-4rem dd {
		margin-top: 0px;
	}
}



.h-100h {
	height: inherit !important;
}
@media (max-width: 990px) {
.h-100h {
	height: 100% !important;
}
}
h2 {
	color: #0267A7;
	margin-bottom: 40px;
}
h2 span {
	color: #999;
	font-size: 0.5em;
	font-weight: 100;
	line-height: 0.8em;
}
h3 {
	color: #000;
}

.white {
	color: #fff;
}





@media (min-width: 1200px) {
	.container-fluid {
		max-width: 1170px;
	}
}

@media (max-width: 800px) {
	.photolist li {
		margin: 10px 1%;
		width: 47%;
	}
}


@media (max-width: 768px) {
	.mt70 {
		margin-top: 20px;
	}
	.ui_nopl {
		padding-left: 15px;
	}
	.ui_nopr {
		padding-right: 15px;
	}
}
@media (max-width: 480px) {
	.more {
		display: block;
		position: relative;
		right: inherit;
		text-align: center;
		top: inherit;
	}
	.photolist li {
		margin: 10px 1%;
		width: 98%;
	}
}




/* photoWall */
.grid-item, .grid-item--width2 { width: 190px; margin: 5px; }

.grid-item a {
	display: block;
}
.grid-item img, .grid-item--width2 img {
	width: 100%;
}
.grid:after {
	content: "";
	clear: both;
	display: block;
}
/* */




/* new header 2021 */
#logo > div > a {
	display: block;
	position: relative;
	
	transition: .2s all linear;
}
#logo .logo_girl {
	left: 50%;
	position: absolute;
	top: 0px;
	transform: translateX(-240%);
	
	transition: .2s all linear;
}
#logo .logo_boy {
	left: 50%;
	position: absolute;
	top: 0px;
	transform: translateX(155%);
	
	transition: .2s all linear;
}
@media (max-width: 991px) {
	.logo_school {
		width: 70%;
	}
	/*.logo_name {
		font-size: 70%;
	}
	#logo .logo_girl {
		transform: translateX(-210%);
	}
	#logo .logo_boy {
		transform: translateX(125%);
	}*/
}
/*@media (max-width: 767px) {
	.logo_school {
		width: 70px;
	}
	.logo_name {
		font-size: 60%;
		text-align: left;
	}
	
	#logo .logo_girl {
		bottom: 0px;
		top: inherit;
		width: 80px;
		
		transform: translateX(-270%);
	}
	#logo .logo_boy {
		bottom: 0px;
		top: inherit;
		width: 80px;
		
		transform: translateX(180%);
	}
}*/

@media (max-width: 576px) {
	/*.nav-btn {
		top: 20%;
	}
	.logo_school {
		width: 60px;
	}
	.logo_name {
		font-size: 60%;
		text-align: left;
	}
	#logo .logo_girl {
		position: relative;
		transform: translateX(-90%);
	}
	#logo .logo_boy {
		bottom: 0px;
		transform: translateX(30%);
		top: inherit;
	}*/
}

@media (max-width: 400px) {
	#logo > div > a {
		text-align: left;
	}
	/*#logo .logo_girl, #logo .logo_boy {
		width: 60px;
	}*/
}





/* overwitre */
div#controlBar.controlBar {
	background-color: transparent;
}
.controlBar {
	background-color: transparent !important;
}



.h-30 {
  height: 30% !important;
}
.h-70 {
  height: 70% !important;
}





html[lang=en-US] .photocutboxA div, html[lang=en-US] .photocutboxB div, html[lang=en-US] .photocutboxC div {
    font-size: 30px;
}

html[lang=en-US] .datelist h1, html[lang=en-US] .contact h1 {
    font-size: 1.7em;
}

html[lang=en-US] .text-size-1-5rem {
    font-size: 1.4rem;
}

html[lang=en-US] body {
	font-size: 0.9rem;
}









