body{
	margin:0px;
	height:100%;
	background-color:#ffffff;
}

.WRAPPER{
	position:relative;
	margin:0 auto;
	max-width:960px;
}

.clear{clear:both} 

ul, li, p, div {
	margin: 0;
	padding: 0;
	font-family: '微軟正黑體', Arial, Helvetica, sans-serif;
	text-align:justify;
}

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  font-family: Arial, Helvetica,"微軟正黑體","Microsoft JhengHei", simhei, sans-serif; }

a {
	padding: 0px;
	text-decoration: none;
	outline: none; /* for Firefox */
	-webkit-transition: .3s all ease;
	-o-transition: .3s all ease;
	transition: .3s all ease; }
a:hover{
	text-decoration: none;
}
p {
  font-size: 16px;
  line-height: 1.35; }

div > img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}
img {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

.intro-bg{background:#001459 url(../img/KV_bg_s.jpg) center top repeat-y; background-size:150%;}
.bg-main{background-color:#ffffff;}
.footer-bg{background-color:rgba(21,9,68,0.05);/*background: transparent url("../img/logo_footbg.png") center top repeat-x;*/}

/* top-header */
.top-header {
	margin: 0px auto;
	padding: 0px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	/*height: 60px;*/
	height: 80px;
	background-color: rgba( 255, 255,255, 0.00 );
	
    /*-moz-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.2);*/
	z-index: 100;
}
.top-header .container {
	position: relative;
	max-width: 960px;
	height: auto;
	margin: 0px auto;
}
.logo_div {
	/*width: 180px;
	height: 80px;*/
	width: auto;
	height: auto;
	padding-top: 0px;
	padding-left: 0px;
	display: block;
}
img#logo{
	/*width:175px; 
	height:70px;*/
	width:100px;
	height:100px;
}
.tel_div {
	margin: 0px 3px 0px 0px;
	padding: 0px;
	position: relative;
	float: right;
}
.tel_div p {
	/*font-size: 16px;*/
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-decoration: none;
	color: #32408c;
	line-height: 80px;
}
.tel_div p span {
	font-family: '微軟正黑體', Arial, Helvetica, sans-serif;
	/*font-size: 26px;*/
	font-size: 22px;
	font-weight: bold;
	/*color: #20b0ed;*/
	margin-top: 0px;
	margin-left:10px;
	cursor:pointer;
	padding:10px;
}
.tel_div p span:hover{
	color: #232d6b;
	border-bottom: solid 5px #232d6b;
}
.tel_div ul {
	margin: 9px 0px;
	float: right;
	display: none;
}
.tel_div ul li {
	padding: 6px 3px;
	float: left;
	cursor:pointer;
}
.tel_div ul li a{
	display:block;
}
.tel_div a {
	color: #32408c;
	text-decoration: none;
}

.tel_div a:hover {
	/*color: #183b87;*/
	color: #232d6b;
}
.tel_div .round {
	width: 47px;
	height: 45px;
	border-radius: 45px;
	background-color: #32408c;
}
.tel_div .round:hover {
	background-color: #232d6b;
}
#logo {
	margin-top: 0px;
	margin-left: 0px;
	padding: 0px;
	border-radius: 5px;
	background-color: rgba( 255, 255, 255, 0.00 );
	/*position: absolute;*/
}
/* END top-header */

/* 首頁 */
h1{
	color: transparent;
	opacity: 0;
	height:1px ;
}
#content_main{
	position: relative;
	margin: -42px 0 0;/*margin: 0px;*/
	padding: 0px;
	width: 100%;
	height:958px;
	overflow:hidden;
	background: url(../img/KV_bg.jpg) center top no-repeat;
	background-size: cover;
}
#content_main.index_bg{
	padding-bottom:13%;
}
#content_main .bg_star{
	position:absolute;
	width:100%;
	min-height:100%;
	background: center top no-repeat;
	background-size: cover;
}
#content_main .KV_bg {
	position:relative;
	margin: 20% auto 5% 16%;/*margin: 20% auto 0 16%;*/
	padding: 0;
	float: left;
	width: 68%;
	height: auto;
	max-width: 650px;
	display: inline-block;
	z-index: 4;
}
#content_main .KV_text1 {
	position: absolute;
	top: 0;
	left: 0;
	margin: 17% auto 0px 16%;
	padding: 0px 0% 0px 0%;
	float: left;
	width: 68%;
	height: auto;
	max-width: 650px;
	display: inline-block;
	z-index: 4;
}
#content_main .KV {
	position: absolute;
	top: 0;
	left: 0;
	margin: 34% auto 0px 16%;
	padding: 0px 0% 0px 0%;
	float: left;
	width: 68%;
	height: auto;
	max-width: 650px;
	display: inline-block;
	z-index: 4;
}
#content_main .KV_text2 {
	position: absolute;
	top: 0;
	left: 0;
	margin: 61% auto 0 16%;
	padding: 0px 0% 0px 0%;
	float: left;
	width: 68%;
	height: auto;
	max-width: 650px;
	display: inline-block;
	z-index: 4;
}
#content_main.index_bg h2{
    position: relative;
    margin: calc(100%/2 - 17.5%) auto 0;
    padding: 0;
	color: #c6e9ff;
    font-size: 2rem;
    text-align: center;
    text-shadow: 0 0 .2em #000000, 0 0 .3em #060e47, 0 0 .6em #224a8f;
	z-index: 3;
}
#content_main.index_bg h2 span.left, #content_main.index_bg h2 span.right{
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: table;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
#content_main.index_bg h2 span.left{
    left: auto;
}
#content_main.index_bg h2 span.right{
    right: auto;
}
#content_main .light {
	position: absolute;
	top: 0;
	left: 0;
	margin: calc(100%/2 - 60px) auto 0px calc(100%/2 - 150px);
	padding: 0px;
	float: left;
	width: 50%;
	height: auto;
	max-width: 300px;
	display: inline-block;
	z-index: 1;
}

#content_main .light,
#content_main .light::before,
#content_main .light::after {
	content: "";
	display: grid;
	grid-area: 1/1;
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: 0 0 0.5rem 0 #552b8c;
	animation: lighting 2.8s linear infinite;
}
        @keyframes lighting {
            to {
                box-shadow: 0 0 3rem 10rem rgba(82, 88, 93, 0.0);
            }
        }
        @keyframes lighting-sm {
            to {
                box-shadow: 0 0 3rem 6.8rem rgba(82, 88, 93, 0.0);
            }
        }
@media (min-width: 1200px) {
  #content_main.index_bg h2 { margin-top: calc(100%/3 - 90px);}
  #content_main.index_bg h2 span.left, #content_main.index_bg h2 span.right { position: absolute; top: 0%;display: inline-block;}
  #content_main.index_bg h2 span.left {right: calc(100%/4 + 100px);}
  #content_main.index_bg h2 span.right {left: calc(100%/4 + 118px);}
}
/* END 首頁 */

/* 教師選單頁 */
#content_main .teacher_btn{
	position:relative;
	width:96%;
	max-width:1280px;
	margin:0 auto;
	margin-top:450px;
	z-index:20;
}
#content_main .teacher_btn .btn_ENteacher{
	background: url(../img/btn_ENteacher.png) center no-repeat;
	background-size:100%;
	width:20%;
	max-width: 300px;
	height: 300px;
}
#content_main .teacher_btn .btn_ENteacher:hover{
	background: url(../img/btn_ENteacher_hover.png) center no-repeat;
	background-size:100%;
}
#content_main .teacher_btn .btn_ADteacher{
	background: url(../img/btn_ADteacher.png) center no-repeat;
	background-size:100%;
	width:20%;
	max-width:300px;
	height:300px;
	margin:-300px 0 0 79%;
}
#content_main .teacher_btn .btn_ADteacher:hover{
	background: url(../img/btn_ADteacher_hover.png) center no-repeat;
	background-size:100%;
}
/* END 教師選單頁 */

/* 英文教師頁與課輔行政頁*/
#content_main .en_bg{
	background: url(../img/En_bg.jpg) no-repeat center top;
	height:100%;
	padding-top:250px;/*padding-top:200px;*/
}
#content_main .ad_bg{
	background: url(../img/Ad_bg.jpg) no-repeat center top;
	height:100%;
	padding-top:200px;
}
.area_box{
	float:right;
	text-align:center;
	margin: 3.5% 8% 0% 2%;
	padding-top:0%;
	border-left:rgba(0, 0, 0, 0.1) solid 0px;
}
.area_box a, .area_box a:hover{
	text-decoration:none;
}
.area_box h2, .area_box h4, .area{
	text-align:center;
	margin-left:6%;
}
.area li{
	display:inline-block;
	color:#9D9E9E;
}
.area li:hover{
	font-weight:bold;
	color:#595757;
	cursor:pointer;
}
.en_bg .area li:active{
	color:#D50051;
}
.ad_bg .area li:active{
	color:#ED6F00;
}
.area li:after{
	content: " |";
}
.area li:hover:after{
	content: " |";
	color:#9D9E9E;
	font-weight:normal;
}
.area li.noline:after
{
	content: " ";
}
.title_en, .title_en_gray:hover{
	color:#CE3966;
	font-size:20px;
	font-weight:bold;
	line-height:22px;
}
.title_en img, .title_ad img{ margin:-5px 3px 0 0;}
.title_ad_gray, .title_en_gray{
	color:#595757;
	font-size:20px;
	font-weight:bold;
	line-height:22px;
	padding-top:15px;
}
.title_ad_gray:hover, .title_ad{
	color:#ED6F00;
	font-size:20px;
	font-weight:bold;
	line-height:22px;
	padding-top:15px;
}
.title_ad_gray:hover .circle_text, .title_ad .circle_text{
	background-color:#F5A862;
}
.divide{
	height:1px;
	background:rgba(0, 0, 0, 0.15);/*background:#9d9e9e*/
	width:60%;
	margin:0 0 0 25%;
}
.teacher_box{
	float:right;
	margin-right:-3%;
	/*padding-top:2%;*/
	position:relative;
}
.teacher_box .teacher_pic{
	float:left;
	display:block;
    margin-left: -22px;
    margin-right: -22px;
	/*padding-bottom: 10px;*//*老師有背景照片*/
    filter: drop-shadow(8px 18px 0px rgba(5, 5, 66, 0.50));
	
}
.teacher_box .teacher_pic img{
	filter: drop-shadow(-5px -5px 0px rgba(255, 255, 255, 0.90)); /*filter: drop-shadow(0px 8px 8px rgba(117, 117, 108, 0.8));*/
    padding: 20px;
}
.teacher_box .teacher_info{
	float:right;
	display:inline-block; /*background-color: rgba(255, 255, 255, 1.0);*/
    height: auto;
    margin-top: 15%;
}
/*.teacher_box .teacher_info h2{
	font-size: 28px;
	color: #b31e3b;
	font-weight: bold;
	margin-left: -15px;
}*/
.teacher_info .h2{
	font-size: 32px;
	color: #f30f42; /*color: #c91c3e;*/
	font-weight: bold;
	margin-left: -15px;
    position: absolute;
    top: -88px;
    left: auto;
}
.teacher_info .cor-light{
	color: #d2e4ff; /*color: #2d0275;*/
    font-size: 120%;
}
.teacher_box .edu_ideal{
	float:right;
}
.teacher_info .icon{
	position: absolute;
	float:right;
	right:-2px;
	margin-top:0px;
    z-index: 4;
}
.teacher_info .mt-third{
	margin-top:10px;
}
.teacher_info .mt-third .bar_geen{
	margin-right:135px;
	display:inline-block;
}
.teacher_info p.sz-talk{
    font-size: 120%;
    padding-right: 0px;
}
/*#b6223e{
	font-size: 19px;
	color: #fff;
}
#b6223e.sz-year{
	font-size: 16px;
}
#b6223e{
	font-size: 19px;
	min-height: 118px;
	color: #fff;
}*/
@media (min-width: 576px) {
.teacher_info .mt-third{ margin-top:2%; /*margin-top:22%;*/ }
}
#teacher{
	width:85%;
	margin:0 auto;
	margin-bottom:40px;
	/*border-radius:10px;
	background-color:#FFF;*/
}
/* teacher-carousel-item */
#teacher .carousel-item.active,
#teacher .carousel-item-next,
#teacher .carousel-item-prev {
  display: block;
  -webkit-transition: -webkit-transform 0.6s ease-in-out;
  transition: -webkit-transform 0.6s ease-in-out;
  -o-transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
 }
#teacher .carousel-item.active.item-t {
	filter: alpha(opacity=100);
	opacity: 1.0;
  -webkit-transition: -webkit-transform 0.5s ease-out;
  transition: -webkit-transform 0.5s ease-out;
  -o-transition: transform 0.5s ease-out;
  transition: transform 0.5s ease-out;
  transition: transform 0.5s ease-out, -webkit-transform 0.5s ease-out;
}
#teacher .carousel-item.item-t {
	filter: alpha(opacity=0);
	opacity: 0.0;
  -webkit-transition: -webkit-transform 0.5s ease-in;
  transition: -webkit-transform 0.5s ease-in;
  -o-transition: transform 0.5s ease-in;
  transition: transform 0.5s ease-in;
  transition: transform 0.5s ease-in, -webkit-transform 0.5s ease-in;
}

.title_gr{
	color:#f30f42;/*color:#c91c3e;*/
	font-size:20px;
	font-weight:bold;
	line-height:22px;
    margin-top: 5%;
}
.title_grbg{
	color:#FFF;
	background-color:#b51743;
	margin:0px 5px 0px -130px !important;
	position:absolute;
	/*display:block;*/
    width: 125px;
}
.title_orange{
	color:#ED6F00;
	font-size:20px;
	font-weight:bold;
	line-height:22px;
}
.circle_text{
	color:#FFF;
	font-size:10px;
	padding:2px 4px;
	background:#9d9e9e;
	border-radius:10px;
}
.bar_geen{
	/*height:100%;*/
	background:#f5ce3e;
	margin:0 3px 0 -7px;
	height:22px;
}
.bar_orange{
	/*height:100%;*/
	background:#ED6F00;
	margin:0 3px 0 -7px;
	height:22px;
}
.name{
	font-size:32px;
	font-weight:bold;
}
.mCustomScrollbar{
	height:100%;
	max-height:220px;
}

.pagination{
	position:relative;
	z-index:20;
	margin:10px auto;
	/*padding:10px;*/
	overflow:hidden;
	max-width:420px;
	width:100%;
}
#page_list{
	max-width:320px;
	min-width:270px;
	width:100%;
}
#page_list li{
	display:inline-block;
	width:33.33%;
	padding-right:0px;
}
.pagination li{
	margin:0px -0.5%;
	padding:15px 2px 10px 2px;
	border-right:solid #dcdcdd 1px;
	text-align:center;
	font-size:10px;
}
.pagination li:nth-child(1), .pagination li:nth-last-child(1), .pagination li:nth-last-child(2){
	border-right: none;
}
.pagination .prev_btn, .pagination .next_btn{
	width:50px;
}
.pagination li:after{
	/*content: " |";*/
}
.pagination li:nth-child(1):after, .pagination li:nth-last-child(1):after, .pagination li:nth-last-child(2):after{
	/*content: " ";*/
}
.pagination h5{
	line-height:10px;
	font-size:17px;
}
.pagination a{
	text-decoration:none;
	color:#f7f7f7;
}
.pagination a:hover, .pagination a:active{
	text-decoration:none;
	color:#FFF;
}
.pagination li:hover, .pagination li:active, #page_list li:hover, #page_list li:active{
	background: rgba(255,255,255,0.2);
}
.pagination li:nth-child(1):hover, .pagination li:nth-last-child(1):hover{
	background:none;
}
.AD_list{
	background-color:#edb07c;
	border-radius:15px;
}
.EN_list{
	background-color:#38467d;
	border-radius:15px;
}

#page_list_name.carousel-indicators {
	position:relative;/*position: absolute;*/
	right:0;
	top:0;
	bottom:0;
	left:0;
	z-index: 15;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin:4% auto 0px;
	padding:5px;
	list-style: none;
	width:100%;
	background:url(../img/page_list_bg.jpg) center center repeat;
	border-radius:12px;
    -webkit-box-shadow: 0 1px 12px -2px rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 12px -2px rgba(0, 0, 0, 0.4);
}
#page_list_name.carousel-indicators li {
	position: relative;
	-webkit-box-flex: 0;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	width:calc(100%/6);
	height: auto;
	margin: 0px -1px;
	padding:1px 0px 12px;
	text-indent: -999px;
	text-align:center;
	font-size:13px;
	color:#fff;
	cursor:pointer;
	display:inline-table;
	background-color: rgba(255, 255, 255, 0.0);
	border-left:rgba(255,255,255,0.0) solid 1px;
	border-right:rgba(0,0,0,0.05) solid 1px;
	border-radius:8px;
}
#page_list_name.carousel-indicators li.line-nor {
	border-left:rgba(255,255,255,0.0) solid 1px;
	border-right:rgba(255,255,255,0.0) solid 1px;
}
@media (max-width: 990px){
#page_list_name.carousel-indicators {
	width:100%;
	display:block;
}
#page_list_name.carousel-indicators li {
	width:calc(100%/3 - 2px);
	margin: 0px -2px;
	text-indent: -0px;
}
#page_list_name.carousel-indicators li.line-nor {
	border-left:rgba(255,255,255,0.0) solid 1px;
	border-right:rgba(255,255,255,0.0) solid 1px;
}
#page_list_name.carousel-indicators li.line-nor-n {
	border-left:rgba(255,255,255,0.0) solid 1px;
	border-right:rgba(255,255,255,0.0) solid 1px;
}
}


#page_list_name.carousel-indicators .active, #page_list_name.carousel-indicators .active.line-nor, #page_list_name.carousel-indicators .active.line-nor-n {
	background-color:rgba(255,255,255,1.0);
	color:#324082;
	border:#b6223e solid 0px;
	border-radius:8px;
	margin-left:0px;
}
#page_list_name.carousel-indicators .active:after {
  content: "";
  position: absolute;
  width: 0px;
  height: 0px;
  top: -24px;
  left:calc(100%/2 - 12px);
  border: 12px solid transparent;
  border-bottom-color:#fff;
}
#page_list_name.carousel-indicators .active h5 {
	color:#b31e3b;
}
#page_list_name.carousel-indicators li h5 {
	margin:12px auto 1px;
	text-indent:-0px;
	text-align:center;
	font-size:18px;
	color: #fff;
}
@media (max-width: 500px){
#page_list_name.carousel-indicators li h5 {font-size:15px;}
}


/*.prev_btn{
	width:20px;
	height:20px;
	vertical-align:middle;
	background: url(../img/prev_name.png) no-repeat center;
}
/*.next_btn{
	width:20px;
	height:20px;
	vertical-align:middle;
	background: url(../img/next_name.png) no-repeat center;
}
.prev_btn:hover{
	background: url(../img/prev_name_hover.png) no-repeat center;
}
.next_btn:hover{
	background: url(../img/next_name_hover.png) no-repeat center;
}
*/
.prev_btn img, .next_btn img{
    opacity:0.4;
    filter:alpha(opacity=40); /* 针对 IE8 以及更早的版本 */
	/*margin-top:-5px;*/
}
.prev_btn img:hover, .next_btn img:hover{
    opacity:1;
    filter:alpha(opacity=100); /* 针对 IE8 以及更早的版本 */
}



.btn-box {
  position: relative;
  margin-top: -32px;
  margin-left: 25%;
  display: block;
}
.btn-dark {
  color: #fff;
  background-color: #2c247b;  /*background-color: #343a40;*/
  border-color: #2c247b;
  border-radius: 20px;
  box-shadow: 0 0.2rem 0.5rem 0 rgba(12, 28, 91, 0.5);/*box-shadow: 0 0.2rem 0.5rem 0 rgba(82, 88, 93, 0.5);*/
  padding: 6px 20px 0;
}

.btn-dark:hover {
  color: #fff;
  background-color: #3e32a5;
  border-color: #3e32a5;
}

.btn-dark:focus, .btn-dark.focus {
  color: #fff;
  background-color: #3e32a5;
  border-color: #3e32a5;
  box-shadow: 0 0 0 0.2rem rgba(12, 28, 91, 0.5);
}

.btn-dark.disabled, .btn-dark:disabled {
  color: #fff;
  background-color: #2c247b;
  border-color: #2c247b;
}

.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
.show > .btn-dark.dropdown-toggle {
  color: #fff;
  background-color: #2c247b;
  border-color: #2c247b;
}

.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,
.show > .btn-dark.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.0);
}
.heart_btn{
	text-align:right;
	margin-top:-20px;/*老師沒有背景照片*/
}
.heart_img{
	margin-top:-12px;
}
.heart_btn .click_num{
	font-size:30px;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
	color:#595757;
	background-color:#fcf3f3;
}
.margin-50{
	margin-top:-80px;
	margin-bottom:40px;
	width:80%;
}
.teacher_box .carousel-control-prev, .teacher_box .carousel-control-next{
	width:10%;
    opacity: 0.8;
}
.teacher_box .carousel-control-prev:hover, .teacher_box .carousel-control-next:hover{
    opacity: 1;
}

/* END 英文教師頁*/


footer {
	margin: 0px;
    padding: 0px;
    text-align: center;
}

footer#subfooter {
    margin: 0px auto;
	padding: 0px;
    width: 100%;
    position: absolute;
    bottom: 0;
}
footer#subfooter .container-fluid.bg {
    /*background: transparent url("../img/logo_footbg.png") center top repeat-x;*/
    background-color:rgba(21,9,68,0.00);
}
footer#subfooter p {
    font-size: 16px;
    line-height: 28px;
	padding: 15px 10px;
    text-align: center;
}
footer#subfooter .logo_AMC_foot {
    margin: 15px auto 5px;
    padding: 0px;
	max-width: 991px;
	position: relative;
}
footer#subfooter .tel_div {
    margin: 0px auto;
    padding: 20px 0px 0px;
	font-size: 17px;
	line-height: 22px;
	text-align: center;
	letter-spacing: 0.2px;
	color: #fff;
	float: left;
}
footer#subfooter .tel_div img {
    margin: -20px auto 0px;
    padding: 0px;
	text-align: center;
	display: block;
}
footer#subfooter .tel_div span {
    margin: 0px 5px 0px 0px;
	font-size: 16px;
	line-height: 16px;
}
footer#subfooter .tel_div a {
    margin: 0px 0px 0px;
    padding: 0px 12px 0px 8px;
	color: #fff;
	border-right: #601986 solid 1px;
}
footer#subfooter .tel_div a:focus,
footer#subfooter .tel_div a:hover,
footer#subfooter .tel_div a:active,
footer#subfooter .tel_div a.active {
	color: #fff;
	text-decoration: none;
}
footer#subfooter .tel_div a.noline {
	border-right: #601986 solid 0px;
}
footer#subfooter .web_div {
    margin: 0px auto;
    padding: 0px;
	float: right;
}
footer#subfooter .web_div img {
	border-left:#FFF solid 4px;
	margin: 3px -14px 10px -25px;
	display: inline-block;
}
@media (max-width: 991.98px){
	footer#subfooter.footer-bg {
        background: url(../img/KV_bg_dark.jpg) center bottom no-repeat;
        background-size: cover;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
	footer#subfooter p {
        font-size: 15px;
        line-height: 26px;
        padding: 10px 10px 0px;
    }
    footer#subfooter .logo_AMC_foot {
        max-width: none;
    }
	footer#subfooter .tel_div {
		float: none;
    }
	footer#subfooter .tel_div img {
        margin: -5px auto 0px;
    }
	footer#subfooter .web_div {
		margin: 10px auto -5px;
		float: none;
        text-align: center;
    }
	footer#subfooter .web_div img {
		border-left:#FFF solid 4px;
		margin: 3px -38px 10px -10px;
    }
}
@media (min-width: 480px) and (max-width: 767.98px) {
	footer#subfooter p {
        font-size: 13px;
        line-height: 16px;
        padding: 10px 10px 0px;
    }
    footer#subfooter .logo_AMC_foot {
        max-width: none;
    }
	footer#subfooter .tel_div {
		font-size: 15px;
		float: none;
        margin-left: -15px;
        margin-right: -15px;
    }
	footer#subfooter .tel_div img {
        margin: -5px auto 0px;
    }
	footer#subfooter .tel_div span {
		font-size: 15px;
		line-height: 15px;
    }
	footer#subfooter .web_div {
		margin: 10px auto -5px;
        text-align: center;
		float: none;
    }
	footer#subfooter .web_div img {
		border-left:#FFF solid 3px;
		margin: 3px -38px 10px -10px;
    }
}
@media (min-width: 320px) and (max-width: 479.98px) {
	footer#subfooter p {
        font-size: 13px;
        line-height: 16px;
        padding: 10px 10px 10px;
    }
    footer#subfooter .logo_AMC_foot {
        max-width: none;
        display: inline-table;
        padding-bottom: 10px;
    }
	footer#subfooter .tel_div {
		font-size: 13px;
		float: none;
        margin-top: -10px;
        margin-left: -10px;
        margin-right: -10px;
    }
	footer#subfooter .tel_div img {
        margin: -16px auto 0px;
    }
	footer#subfooter .tel_div span {
		margin: 0px 0px 0px 0px;
		font-size: 12px;
		line-height: 13px;
    }
	footer#subfooter .tel_div a {
		padding: 0px 3px 0px 1px;
    }
	footer#subfooter .web_div {
		margin: 0px auto -5px;
        text-align: center;
        display: block;
    }
	footer#subfooter .web_div img {
		border-left:#FFF solid 3px;
		margin: 3px -25px 0px -10px;
		width: 55%;
		height: 55%;
    }
}



/* Modal Modal-Dialog */
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-dialog {
  width: calc(100% - 20px);
  margin: 20px auto;
}
@media (min-width: 992px) {
  .modal-dialog { width: 100%; max-width: 1002px; }
}
.modal-content {
  margin: 0px auto 20px;
}
.modal-content > .modal-footer {
  border-top: 0px solid #e5e5e5;
  border-radius: 0 0 20px 20px;
}
/* Add Animation */
.modal-content {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.15s;
  animation-name: zoom;
  animation-duration: 0.15s;
}
@-webkit-keyframes zoom {
  from {transform:scale(1.05)} 
  to {transform:scale(1)}
}
@keyframes zoom {
  from {transform:scale(1.05)} 
  to {transform:scale(1)}
}



/* Modal Center */
.modal-header { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }
/* Close button */
.modal-header .close { position: absolute; top: 6px; right: 14px; display: block; overflow: visible; -webkit-transition: color 0.2s; transition: color 0.2s; text-decoration: none; font-size: 45px; font-weight: normal; filter: alpha(opacity=100); opacity: 1.0; color: #95979c; }
.modal-header .close:hover { color: #2b2e38; }
.modal-header .close-bull {
    margin-top: -2px;margin-right: 0px; }
.modal-header .close-bull:hover {
  animation: rotation 0.2s 1 linear; }
  @keyframes rotation {
    from {
        margin-top: 0px;
        margin-right: 0px;
        transform: rotate(0deg);
    }
    to {
        margin-top: 0px;
        margin-right: -5px;
        transform: rotate(90deg);
    }
  }

.modal-title { text-transform: uppercase; margin: 5px auto 0; padding: 0px; font-size: 26px; font-weight: bold; }
.modal-body { padding: 20px 20px 0px; }
.modal-content { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column;
 flex-direction: column; width: 100%; pointer-events: auto; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 20px; outline: 0; }
.close { font-size: 2.5rem; }
.close:hover,
.close:focus { text-decoration: none; outline: none; }
.modal-backdrop { background-color: #2b2e38; }
.modal-backdrop.in {filter: alpha(opacity=90); opacity: .9; }
.modal-footer { background-color: #F8F8F8; border-radius: 0px 0px 6px 6px; text-align: center; }
.modal-footer .btn { text-align: center; margin: 0px auto; border: #6c757d solid 1px; }

/* == 預約試讀 == */
#admissions_form .modal-body {
	background-color: #f8f8f8;
}
#admissions_form iframe {
    position: relative;
	margin: 0px auto;
	padding: 10px 0% 0px 0.8%;
	max-width: 100%;
	height: 660px;
	border: #e5e5e5 1px solid;
	background-color: #fff;
}
@media (max-width: 991px){
	#admissions_form iframe { height: 660px; }
}
@media (max-width: 767px){
	#admissions_form iframe { height: 710px; }
}
@media (max-width: 640px){
	#admissions_form iframe { height: 730px; }
}

@media (max-width: 480px){
	#admissions_form iframe { height: 700px; }
}
@media (max-width: 380px){
	#admissions_form iframe { height: 730px; }
}
@media (max-width: 320px){
	#admissions_form iframe { height: 740px; }
}

/* END 活動說明 */


@media (max-width: 1600px){
#content_main .en_bg{ background: url(../img/En_bg.jpg) no-repeat center top;}
.area_box{ margin-left:-3%;}
.list_pic{ width:110%; max-width:320px; height:auto;}
.teacher_box{ margin-right:-1.5%; margin-top:2%;}
.teacher_box .teacher_pic{ padding-top:20px; padding-right:0px; padding-bottom:0px;/*老師無背景*/}
}


@media (max-width: 1200px){
#content_main{ height:1080px; /*padding-bottom:13%;*/}
#content_main .en_bg{ padding-top:60px; background-size: cover;}
.area_box{ margin-right:0%;}
#b6223e.sz-year{ margin-top:-28px;}
.teacher_box{ margin-right:0%; margin-top:-4.5%;}
.teacher_box .teacher_pic{ padding-top:0px; padding-right:20px; padding-bottom:20px;}
.teacher_info p.sz-talk{padding-right: 12%;}
.btn-box {margin-left: auto;}
}

@media (max-width: 990px){
#content_main{ height:100%;}
#content_main .en_bg{ background: url(../img/KV_bg.jpg) center top no-repeat; height: auto; padding:20px 0 200px; background-size:250%;}
#content_main .ad_bg{ background: url(../img/Ad_bg_s.jpg) no-repeat center top; height:100%; padding-top:80px; background-size:100%; background-color:#f9f0f0;}
.area_box{ float: none; margin-right:0%; padding-top:0%; }
.area_box h4, .area{ margin-left:0%; }
.list_pic{ width:320px; height:auto; margin: auto calc(100%/2 - 150px);}
.divide{ margin:0 auto;}
.teacher_box{ width:100%; margin:0 auto;padding-top:4%;background:#001459 url(../img/KV_bg_s.jpg) center top repeat; background-size:150%;}
/* .teacher_box .carousel-control-prev, .teacher_box .carousel-control-next{ width:100%;} */
.teacher_box .carousel-control-prev img{ position:absolute; left:0%;}
.teacher_box .carousel-control-next img{ position:absolute; right:0%;}
.teacher_box .col-sm-6{ -ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;display: table;}
.teacher_box .teacher_pic{ padding:5%; margin-top: -7.5%; margin-left: auto; margin-right: auto; text-align: center;/*老師無背景*/}
.teacher_box .teacher_info{background-color: transparent; border-radius: 25px; margin: auto; padding-left: 25px;padding-bottom: 25px;}
.teacher_info .h2{ position: relative;margin: 35px auto;top:0;}
.teacher_info .icon{ right:20px;}
.teacher_info p.sz-talk{ padding-right:20px; margin-bottom: 0px;}
.btn-box { margin-top: -42px;margin-left: auto; margin-bottom: 20px; }
}
@media (min-width: 500px) and (max-width: 767.98px) {
#content_main.index_bg { margin-top: 0%;}
#content_main .light { margin-top: calc(100%/2 - 70px);margin-left: calc(100%/2 - 95px);max-width: 200px;}
#content_main .light,#content_main .light::before,#content_main .light::after { animation: lighting-sm 2.8s linear infinite;}
#content_main.index_bg h2{ margin-top: calc(100% - 1%);}
}
@media (max-width: 499.98px){
#content_main.index_bg { margin-top: 3%;}
#content_main .light { margin-left: calc(100%/2 - 95px);max-width: 200px;}
#content_main .light,#content_main .light::before,#content_main .light::after { animation: lighting-sm 2.8s linear infinite;}
#content_main.index_bg h2{ margin-top: calc(100% - 1%);font-size: 1.875rem;}
.list_pic{ width:210px; height:auto; margin: 42px calc(100%/2 - 80px) -5px;}
.title_gr{ margin-top: 0;}
.teacher_box .teacher_pic{ padding:5%; margin-top: -7.5%; margin-left: auto; margin-right: auto; text-align: center;/*老師無背景*/}
.teacher_box .teacher_info{ background-color: transparent; border-radius: 25px; margin: auto; padding-left: 4px;padding-bottom: 25px;}
.teacher_info .h2{ position: relative;margin: 0px -5px 68px;top:0;}
.teacher_info .cor-light{font-size: 110%;}
.teacher_info .icon{ margin-top: -55px;right:0px;}
.teacher_info p.sz-talk{padding-right:0px; margin-bottom: 0px;}
}