/* ==============================<<Mode>>============================== */
/* ---------------css reset start--------------- */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---------------css reset end--------------- */
/* ---------------fix box-sizing--------------- */
*,*:before,*:after{
    box-sizing: border-box;
}
/* ---------------fix box-sizing--------------- */
/* ------------auto-resizing image------------ */
img{
	max-width: 100%;
	height: auto;
}
/* ------------auto-resizing image------------ */
/* -------------------debug------------------- */
/* *{
    outline: 1px solid black;
} */
/* -------------------debug------------------- */
/* ==============================<<Mode>>============================== */

.wrap{
	max-width: 1024px;
	margin: auto;
	position: relative;
}

.bar{
	background: #EBEBEB;
	display: flex;
	justify-content: right;
	align-items: center;
	padding: 10px;
}
.bar li a{
	display: block;
	text-decoration: none;
	padding: 0 10px 0;
}
.bar li a:hover{
	color: skyblue;
}
.bar li img{
	margin-right: 5px;
	vertical-align: bottom;
}
.bar .fb{
	border-right: 3px solid gray;
}

.header{
	display: flex;
	margin: 20px 10px 30px;
	justify-content: space-between;
	align-items: center;
}
.header h1 a{
	background: url(image/Logo.png) no-repeat center;
    background-size: cover;
	width: 172px;
	height: 36px;
	display: block;
	text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
}
.header .menu{
	display: flex;
}
.header .menu li a{
	display: block;
	padding: 10px;
	text-decoration: none;
	text-align: center;
	color: rgb(156,156,156);
}
.header .menu li a:hover{
	text-decoration: 3px underline;
	text-underline-offset: 10px;
	color: gray;
}
.header .menu .fa-circle-down{
	margin-left: 3px;
}

.list{
	display: flex;
	justify-content: center;
	align-items:start;
	gap: 100px; 
	background: #EBEBEB;
	width: 100%;
	max-height: 0;
	padding: 30px 0;
	overflow: hidden;
	opacity: 0;
	position: absolute;
	top: 120px;
	left: 0;
	z-index: 8;
	transition: max-height 0.5s ease, opacity 0.5s ease;
}
.list.add{
	max-height: 700px;
	opacity: 1;
}
.list li{
	display: flex;
	justify-content: left;
	align-items:start;
	gap:50px;
	line-height: 2;
}
.list li h2{
	writing-mode:vertical-lr;
	font-size: 20px;
	color: rgb(156,156,156);
}
.list li a{
	text-decoration: none;
	color: rgb(156,156,156);
}
.list li a:hover, .header .menu .product.active{
	text-decoration: 3px underline;
	text-underline-offset: 8px;
	color: gray;
}
@media (max-width: 720px) {
    .list{
		gap: 30px; 
	}
}
@media (max-width: 650px) {
    .list{
		flex-wrap: wrap;
	}
}
@media (max-width: 350px) {
    .list{
		top: 150px;
	}
}

.picture{
	position: relative;
}
.picture .text{
	color: white;
	font-size: 30px;
	height: 150px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: rgba(0,0,0,0.5);
	position: absolute;
	left: 0;
	right: 0;
	top: 40%;
	z-index: 5;
	cursor: pointer;
}
.picture .text p{
	margin-bottom: 10px;
	padding-left: 50px;
}
.picture .badge .html5{
	background: url(image/html5.png) no-repeat center;
    background-size: cover;
	width: 96px;
	height: 142px;
	display: block;
	text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
	position: absolute;
	top: 30px;
	right: 150px;
	z-index: 5;
}
.picture .badge .css3{
	background: url(image/CSS3.png) no-repeat center;
    background-size: cover;
	width: 96px;
	height: 142px;
	display: block;
	text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
	position: absolute;
	top: 30px;
	right: 50px;
	z-index: 5;
}
.picture .swiper .swiper-pagination-bullet{
	background: white;
	width: 16px;
    height: 16px;
}
@media (max-width: 600px) {
    .picture .text{
		top: 30%;
	}
	.picture .badge .html5, .picture .badge .css3{
		display: none;
	}
}
@media (max-width: 500px) {
    .picture .text{
		height: 100%;
		top:0;
		font-size: 20px;
	}
}

.main{
	margin-top: 20px;
	margin-bottom: 20px;
}
.main .course{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
}
.main .course .item{
	border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
	width: 300px;
	padding: 10px;
	cursor: pointer;
}
.main .course .item:hover{
	transform: scale(1.1);
  	transition: transform 0.5s;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}
.main .course .item a{
	text-decoration: none;
	color: black;
}
.main .course .item h2{
	text-align: center;
	font-size: 20px;
	margin: 10px;
}
.main .course .item p{
	line-height: 1.5;
}
.main .course .item ul{
	list-style-type: disc;
	padding-left: 20px;
	line-height: 1.5;
}

.tableStyle{
	margin-top: 50px;
	margin-bottom: 50px;
	padding: 0 10px;
	overflow-x: auto;
}
.tableStyle h2{
	text-align: center;
	margin-bottom: 30px;
	font-size: 24px;
}
.tableStyle .tableinner{
	margin: 0 auto;
}
.tableStyle .tableinner th, .tableStyle .tableinner td {
	width: 230px;
	height: 42px;
	text-align: left;
	border-top: 1px solid rgb(245,245,245);
	border-bottom: 1px solid rgb(245,245,245);
	vertical-align: middle;
	padding-left: 10px;
	white-space: nowrap;
}
.tableStyle .tableinner th{
	background-color: rgb(247,247,247);
}
.tableStyle .tableinner span{
	color: #00CC99;
}

.formStyle{
	background: linear-gradient(#00644b,#009771);
	margin: 0 auto;
	padding: 50px 0;
}
.formStyle h2{
	text-align: center;
	font-size: 24px;
	color: white;
	width: 250px;
	margin: 0 auto;
	line-height: 1.5;	
}
.formStyle .forminner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
	margin: 20px 0;
	padding: 0 20px;
}
.formStyle .forminner textarea{
	width: 450px;
	height: 250px;
	border: 1px solid #AAAAAA;
	border-radius: 3px;
	resize: none;
	overflow: hidden;
	padding: 10px;
}
.formStyle .forminner ul{
	display: flex;
	flex-direction:column;
	justify-content: center;
	color: white;
	line-height: 20px;
	padding-bottom: 30px;
	position: relative;
	width: 450px;
}
.formStyle .forminner ul label{
	display: block;
}
.formStyle .forminner ul input{
	display: block;
	width: 100%;
	height: 38px;
	margin: 5px 0 10px;
	text-indent: 10px;
	padding-right: 20px;
}
.formStyle .forminner .enter{
	height: 30px;
	width: 60px;
	color:white;
	background: rgb(88,192,146);
	border: none;
	border-radius: 5px;
	position: absolute;
	bottom: -10px;
	right: 0;
}
.formStyle .forminner .enter:hover{
    background: rgb(140,220,178);
}
.formStyle .forminner .enter:active{
    color: black;
}

.footer{
	display: flex;
	justify-content: space-between;
	color:gray;
	margin: 30px 10px 20px 10px;
	align-items: center;
}

.footer .logo{
	background: url(image/Logo.png) no-repeat center;
    background-size: cover;
	width: 172px;
	height: 36px;
	display: block;
	text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
}
.footer .info li{
	margin-bottom: 10px;
}
.footer .info a{
	text-decoration: none;
	color: gray;
}
.footer .info a:hover{
	color: black;
}
@media (max-width: 450px) {
	.footer{
		display: block;
	}
	.footer .logo{
		margin-bottom: 20px;
	}
}

.up{
	font-size: 50px;
	position: fixed;
	bottom: 100px;
	right: 50px;
	color: rgba(0, 0, 0, 0.3);
	z-index: 10;
}
.up:hover{
	color: black;
}
.down{
	font-size: 50px;
	position: fixed;
	bottom: 50px;
	right: 50px;
	color: rgba(0, 0, 0, 0.3);
	z-index: 10;
}
.down:hover{
	color: black;
}

.ad{
	width: 200px;
	height: 200px;
	background: url(image/ad-jQuery.png) no-repeat white center;
	background-size:auto;
	position: fixed;
	bottom: 200px;
	right: 50px;
	border: 1px solid black;
	z-index: 10;
}
.ad .adTitle{
	display: block;
	width: 200px;
	height: 80px;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	background: red;
	color: white;
	font-size: 20px;
	position: relative;
	opacity:0.8;
	animation: blink 1s ease-in-out 0.5s infinite alternate;
}
@keyframes blink{
	0%,
    100% {
        color: white;
    }

    50% {
        color: yellow;
		opacity:1;
    }
}
.ad .adTitle:hover{
	color: yellow;
	opacity:1;
}
.ad .cencel{
	display: block;
	width: 40px;
	height: 20px;
	line-height: 20px;
	text-decoration: none;
	color: white;
	background: grey;
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 0;
}
.ad .cencel:hover{
	background: black;
}
.ad .fa-hand-pointer{
	padding-right: 10px;
}

.message{
	background: black;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	opacity: 0;
	transition: opacity 5s ease-in;
	z-index: -1;
}
.message p{
	color: red;
	font-size: 50px;
	line-height: 2;
}
.message .fa-xmark{
	font-size: 50px;
	color: white;
	cursor: pointer;
	border: 5px solid white;
	border-radius: 25%;
	margin-top: 100px;
}
.message .fa-xmark:hover{
	color: blue;
	border: 5px solid blue;
}
.message.show{
	opacity: 0.8;
	z-index: 10;
}
