@import url("reset.css");
* {
	outline: none !important;
}
html,body,div,span,iframe,h1,h2,h3,h4,h5,h6,p,a,form,img {
	margin: 0px;
	padding: 0px;
	border: 0px;
	outline: 0;
	font-family: "微軟正黑體","Microsoft JhengHei", Verdana, Arial, 新細明體;
}
body{
	background-attachment: fixed;
	font-family: Arial, Helvetica, sans-serif;
}
body,html{
	overflow-x:hidden;
  }
  body {
	overflow-x: hidden !important;
  }
a{
	padding: 0px;
	text-decoration: none;
	outline: none; /* for Firefox */
	cursor: pointer;
	-webkit-transition: all 0.2s ease-out 0s;
	-moz-transition: all 0.2s ease-out 0s;
	-ms-transition: all 0.2s ease-out 0s;
	-o-transition: all 0.2s ease-out 0s;
	transition: all 0.2s ease-out 0s;
}
a,
a:visited,
a:focus,
a:hover,
a.active {
	outline: 0;
}
a:visited,
a:focus,
a:hover,
a.active{
	text-decoration: none;
} 
div > img {
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}
img {
	margin: 0px;
	padding: 0px;
	border: 0px;
	outline: none;
}
button {
    margin: 0px;
    padding: 0px;
    border: 0px; }
button:hover {
	outline: none; /* for Firefox */
}
ul{
	padding: 0;
	margin: 0;
	list-style: none;
  }
ul li{
	padding: 0;
	margin: 0;
	list-style: none;
  }
/* top-header */
.main_content {
	position: relative;
}
header{
	width: 100%;
    position: relative;
    z-index: 2;
}
header.fixed-header {
	position: fixed;
	left: 0px;
	z-index: 10;
}
header.fixed-header .head-control {
background: transparent;
transition-duration: 0.4s;
}
.header-mid {
	z-index: 10;
	background-color: var(--color3);
	width: 100%;
	line-height: 70px;
	padding-right: 30px;
}
.head-wrap {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	position: relative;
	display: table;
}
.logo_box {
	width: 110px;
	height: 66px;
	display: block;
	padding: 2px 3px;
	position: relative;
	background-color: #ffffff;
	box-shadow: 1px 1px 4px #00000062;
}
.logo {
	margin: 0px 2px 2px 2px;
	width: 100px;
	height: 85px;
	float: left;
	clear: both;
	position: absolute;
	display: inline-block;
}
.logo img {
	margin: auto;
	top: 95%;
}
.head_up {
	color: #999;
	vertical-align: top;
	height: 25px;
	text-align: right;
}
.img-responsive{
  display: block;
  max-width: 100%;
  height: auto;
}
.head-item {
	margin: 0px;
	display: inline-block;
	position: relative;
	vertical-align: middle;
	margin-right: 5px;
}
.nav-align{
	justify-self: end;
    justify-content: flex-end;
    align-items: center;
}
nav ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
nav ul > li {
    float: left;
    position: relative;
}
.head-top .nav-kids li{
	margin-left: 5px;
	font-weight: 800;
}
.head-top .nav-kids li a{
	outline: 0;
    color: #ffffff;
    background: #79aefc;
	padding: 12px 20px;
	border-radius: 1.4rem;
	cursor: pointer;
  	display: inline-block;
    position: relative;
    top: 1px;
	box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
	transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
}
.head-top .nav-kids li a h2{
	font-size: 1.4rem;;
}
.head-top .nav-kids li a:hover{
	background: #4587ec;
	box-shadow: rgba(0, 0, 0, 0.25) 0 2px 5px;
  	transform: translateY(-2px);
}
.head-top .nav-kids li a:disabled {
	pointer-events: none;
  }
.head-top .nav-kids li a:active {
	color: #ffffff;
	background: #2563c1;
	box-shadow: none;
	transform: translateY(0);
}
.right{
	float: right;
}
#goclass {
    position: fixed;
    bottom: 190px;
    cursor: pointer;
    z-index: 99;
    float: right;
    right: 15px;
    display: none;
}
#gotop {
    position: fixed;
    bottom: 60px;
    cursor: pointer;
    z-index: 99;
    float: right;
    right: 15px;
    display: none;
}

.pagination {
    position: absolute;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 58%;
    display: inline-block;
	padding-top: 50px;
    padding-left: 0;
    margin: 60px 0;
    border-radius: 4px;
    text-align: center;
    right: 0px !important;
    z-index: 9;
    width: 30px;
}
.pagination > span {
    position: relative;
    margin: 0 0 23px;
    float: left;
    width: 30px;
    height: 30px;
}
.pagination > span i {
    display: inline-block;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
    width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 0px 15px 25px 15px;
	border-color: transparent transparent #ffffff transparent;
}
.pagination span.hover {
    -webkit-transition-property: all;
    -moz-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
    position: absolute;
    display: inline-block;
    opacity: 0;
    white-space: nowrap;
    right: 12px;
    color: #ffffff;
    font-family: "微軟正黑體";
    font-size: 20px;
	font-weight: 800;
    line-height: 1.4;
	padding: 6px 0px 6px 10px;
	background: #4587ec;
	border-radius: 45px;
	margin-right:-12px;
}
.pagination span.hover::after {
    display: inline-block;
    margin: 0 0 0 0px;
    -webkit-transform: translateY(-7px);
    -moz-transform: translateY(-7px);
    -ms-transform: translateY(-7px);
    -o-transform: translateY(-7px);
    transform: translateY(-7px);
    content: "";
    width: 15px;
    height: 2px;
    background: #4587ec;
}
.pagination span a:active > span.hover, .pagination span a:hover > span.hover{
    opacity: 1;
}
.pagination > span i:hover{
	opacity: 0;
	transition-duration: 0.3s;
}

/* END top-header */
/* Main */
main{
	position: relative;
}
.banner {
	width: 100%;
	height: 100vh;
	position:relative;
	top: 0px;
	margin-bottom: 165px;
}
.banner::after{
	content: "";
	background: url(../img/banner.jpg) center top;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    margin: 0px 0px 0px 0px;
	top: 0;
	z-index: -2;
}
.banner::before{
	content:"";
	background: url(../img/banner_F.png);
	width: 100%;
    height: 30%;
	position: absolute;
	background-size: 100% 100%;
	display: block;
    background-repeat: no-repeat;
	bottom:0;
	z-index: -1;
}
.banner h1, .banner h2, section h2{
	text-indent: -3000px;
	height: 1.5;
}
.banner-title{
	margin-top: 58vh;
}
.bannerform {
    margin: 55vh auto 0px;
    /* margin: 15px 0px 0px; */
    background-color: #fff;
    border-radius: 24px;
	position: relative;
    margin-bottom: 0px;
    border: #4587ec solid 5px;
    box-shadow: 0px 8px 10px 5px rgba(0, 0, 0, 0.15);
	min-height: 55vh;
}
.bannerform .fromtitle {
	color: #fff;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0px -12px -8px;
    padding: 5px 26px 6px;
    width: calc(100% + 25px);
    background-image: linear-gradient(0deg, #4587ec 0%, #5e94e4 50%, #79b3ff 100%);
    border-radius: 18px 18px 0 0;
}
.sec1{
	background: transparent url(../img/page1.jpg)left center;
	width: 100%;
    height: 100%;
	min-height: 700px;
	position: relative;
	background-size: cover;
	display: block;
    background-repeat: no-repeat;
	border-radius: 40px;
	top:0;
}
.sec2{
	background: transparent url(../img/page2.jpg)right center;
	width: 100%;
    height: 100%;
	min-height: 700px;
	position: relative;
	background-size: cover;
	display: block;
    background-repeat: no-repeat;
	border-radius: 40px;
	top:0;
}
.sec1 h3, .sec2 h3{
	color: #175dc5;
	font-size: 32px;
    font-weight: bold;
}
.sec1 p, .sec2 p {
    color: #141414;
    padding: 6px 0px;
    border-radius: 10px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: bold;
    text-align: left;
    margin: 0 auto;
}
.text-box{
	padding: 18px 22px;
	border: 4px solid #4283e6;
	border-radius: 30px;
	background-color: #ffffff;
}
.text-box2{
	padding: 18px 22px;
	border: 0px solid transparent;
	border-radius: 30px;
	background-color: #ffffff;
	margin: 3px 3px;
}
.sliderbox{
	background: #ebf1f8 url(../img/section_bg.png) right center;
	position: relative;
	background-size: 100% 100%;
	display: block;
    background-repeat: no-repeat;
	top:0;
}
.content-top{
	margin-left: -.75rem;
	margin-right:-.75rem;
}
.sliderbox2{
	margin-left: -.75rem;
	margin-right:-.75rem;
}
.carousel{
	z-index: 0;
}
.btn-click{
	outline: 0;
    color: #ffffff;
    background: #025de6;
    padding: 12px 30px;
    border-radius: 1.4rem;
    cursor: pointer;
    display: inline-block;
    position: relative;
    top: 1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
}
.btn-click:hover, .btn-click:active, .btn-click:focus{
	outline: 0;
	color: #ffffff!important;
	background: #013481!important;
	box-shadow: rgba(0, 0, 0, 0.25) 0 2px 1px;
	border: 0px solid transparent;
}
.img-ear{
	width: 28px;
	height: 28px;
}
.img-gotop{
	width: 50px;
	height: 50px;
}
.img-box {
    background-color: #ffffff;
    border-radius: 35px;
	overflow: hidden;
	margin: auto;
    display: block;
}
.btn-rounded {
    --mdb-btn-border-radius: 12rem;
    border-radius: var(--mdb-btn-border-radius);
	height: 52px;
	box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
}
h3{ font-weight: 700;padding-bottom: 15px;}
h3.title{
	font-size: 2rem;
	font-weight: 700;
	padding: 0px 0px 15px 0px;
}
p{
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
}
.carousel-caption h5{
	text-align: left;
	color:#424242;
}
#carousel1 .carousel-inner{
	background-color: transparent;
}
.carousel-item h3{
	font-size: 1.75rem;
	font-weight: 700;
}
.carousel-item h4{
	font-size: 1.4rem;
	font-weight: 700;
}
.carousel-item h5{
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.8;
}
.carousel-item p, .sliderbox2 p{
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.5;
}
.carousel-control-next, .carousel-control-prev {
	max-width: 100%;
	width: 50px;
    height: 50px;
    /* margin-top: -20px; */
    position: absolute;
    color: #ffffff;
    background-color: #9bc5f5;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1.5rem;
    top: 50%;
    outline: none;
}
.style2{
    background-color: transparent;
}
.page-box{
	width: 100%;
	margin: 0px auto 0px;
    padding: 30px 25px 30px;
    text-align: left;
    position: relative;
    border-radius: 1rem;
    border: #9bc5f5 solid 4px;
    background-color: #ffffffa6;
    display: flex;
}
.primary-text-block{
	background-color: #0d6efd!important;
	color: #ffffff;
	display:inline-block;
	padding: 6px 18px;
	border-radius: 0.5rem;
}
.img-circlebox{
	width: 100%;
	height: 100%;
	border: 0px solid #ffffff;
	border-radius: 50% !important;
	margin: 50px auto;
	overflow: hidden;
	box-shadow: 3px 3px 5px 5px #00000093 inset;
}
.rounded {
    border-radius: 50% !important;
	background-color: #ffffff;
}
.rounded:hover {
	transform: scale(1.05);
    transition: all 0.85s ease 0s;
}
.bg-F {
    background-image: linear-gradient(to top, #a0c9ff 0%, #ffffff 100%);
    padding: 5% 2%;
    margin-top: 5px;
}
section#contact .container {
    background-color: #f5f5f5a6;
    border-radius: 1rem;
	display: flex;
    box-shadow: 2px 2px 10px 6px #2e2b3548;
}
section#contact h2{
	font-size: 2.8rem;
	font-weight: 800;
	color: #0281c6;
}
section#contact h3{
	font-size: 2.2rem;
	font-weight: 800;
	color: #175dc5;
	padding-bottom: 5px;
}
section#contact p{
	font-size: 15px;
	padding: 0px 0px 20px 20px;
}
section#contact .team-member iframe {
    position: relative;
    padding: 10px 0% 0px 0.5%;
    z-index: 96;
    max-width: 100%;
    min-height: 500px;
    border-radius: 8px;
}
.imgB{
	width: 50px;
	height: 65px;
}
.contact-title{
	text-shadow: 2px 2px 10px #ffffff, -2px -2px 10px #ffffff, 2px -2px 10px #ffffff, -2px 2px 10px #ffffff;
}
.footform{
	padding: 6px 8px;
	margin: 8px 8px;
	height: 430px;
}
#exampleModal h3{
	font-size: 1.75rem;
	font-weight: 800;
	margin: 2px auto;
	color: #175dc5;
	padding-bottom: 5px;
}
#exampleModal .modal-dialog{
	margin-top: 4%;
    margin-bottom: 4%;
    /* max-width: 960px; */
}
#contact #registration{
	width: 100%!important;
}
.modal .btn-c{
	outline: 0;
    color: #ffffff;
    background: #4e4e4e;
    padding: 6px 12px;
    border-radius: 1rem;
    cursor: pointer;
    display: inline-block;
    position: relative;
    top: 1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
}
.modal .btn-confirm{
	outline: 0;
    color: #ffffff;
    background: #3082fc;
    padding: 6px 12px;
    border-radius: 1rem;
    cursor: pointer;
    display: inline-block;
    position: relative;
    top: 1px;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
}
.modal .btn-confirm:hover, .modal .btn-confirm:focus, .modal .btn-confirm:active, .modal .btn-confirm:visited{
	outline: 0;
    color: #ffffff;
    background: #1863d4;
	border: 0px solid transparent;
	box-shadow: rgba(0, 0, 0, 0.25) 0 1px 2px;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
}
.modal-body iframe{
	min-height: 45vh;
}
/* Main END */
/* footer */
footer {
	margin: 0px;
    padding: 0px;
    text-align: center;
	background: transparent;
}
.logo_AMC_foot {
    position: absolute;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    background: transparent url(../img/logo_footbg.png) center 0px repeat-x;
}
#AMC_foot {
    width: 445px;
    height: 60px;
    margin-left: 0px;
    margin-top: -5px;
    margin-bottom: 8px;
}
#AMC_foot_web {
    width: 255px;
    height: 20px;
    margin-bottom: -5px;
}
/* END footer */
#registration p.form_Box {
    width: 170px;
    height: 35px;
    padding: 2px 0px 0px 0px;
    float: left;
}
#registration select {
    border: solid 1px #CCC;
    font-size: 15px;
    width: 98%;
    padding: 5px 10px 5px 2px;
    color: #333;
    width: 170px;
}
#registration p.form_Box select {
    width: 25%;
    margin-left: -5px;
    margin-right: 10px;
}
@media (max-width: 320px){
	.tel_div{margin: -45px 0px;}
	.bannerform{
		min-height: 40vh;
	}
}
@media (max-width:600px) {
	.content-top, .sliderbox2 {
	margin-left: 0rem;
	margin-right: 0rem;}
	.text-box{ margin: 2px 4px;}
	.modal-body iframe{
		height: 38vh;
	}
	#exampleModal .modal-body iframe{
		height: 30vh;
	}
	/* #exampleModal .modal-dialog{
		margin-top: 4%;
		margin-bottom: 4%;
		max-width: 460px;
	} */
	/* footer */
	.tel_div p { display: none; }
	.tel_div ul { display: block; list-style-type:none; }
	/* END footer */
}
@media (max-width: 767px){
	.pagination{
		margin: -10px 0;
	}
	.banner{
		top: 0px;
		margin-bottom:10px;
		min-height: 120vh;
		background-image: url(../img/banner_m.jpg);
		background-position: center;
		background-size: cover;
	}
	.banner-title{
		margin-top: 36vh;
	}
	.bannerform{
		margin: 2px auto;
        height: 62.5vh;
	}
	.sec1, .sec2{
		background: #ffffff;
		background-size: cover;
	}
	.sliderbox{
		background: #ebf1f8 url(../img/section_bg-m.png) top center;
		background-size: 100% 100%;;
	}
	.imgB {
		width: 30px;
		height: 35px;
	}
	section#contact h3 {
		font-size: 1.5rem;}
	#exampleModal h3 {
		font-size: 1.3rem;}
	.mt-mo{margin-top: 300px;}
	/* footer */
	#AMC_foot{ width: auto; height: auto; max-width: 100%; max-height: 100%; margin-top: -5px; padding-left: 7px; }
	#AMC_foot_web { width: 300px; height: 24px; margin-top: -6px; margin-bottom: 10px; }
	/* END footer */
}
@media (min-width: 768px) and (max-width: 991px) {
	.bannerform {
		margin: 490px auto 0px;}
	section#contact .container{
		min-height: 300px;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	section#contact .container{
		min-height: 330px;
	}
}
@media (min-width: 320px) and (max-width: 479px) {
	section#contact h2 {
		font-size: 2.2rem;}
	section#contact h3 {
		font-size: 1.85rem;}
		.banner-title {
			margin-top: 28vh;
		}
		.bannerform{
			margin: 2px auto;
			min-height: 48vh;
		}
		section#contact .container {
			min-height: 50vh;
		}
		#exampleModal .modal-body iframe {
			height: 52vh;
		}
}
@media (min-width: 480px) and (max-width: 767px){
}
@media (min-width: 768px){
	section#contact .team-member iframe {
        min-height: 600px;
    }
	section#contact .container{
		min-height: 230px;
	}
}
@media (min-width: 992px){
	section#contact .container{
		min-height: 235px;
	}
	.bannerform{
		min-height: 38vh;
	}
}
@media (min-width: 1200px){
	.bannerform{
		min-height: 52vh;
	}
}