
/* Font
--------------------------------------------- */
@font-face {
	font-family: HuiFontP109;
	src: url('../font/HuiFontP109.ttf') format('truetype');
}

#main_wrap {
	width: auto!important;
	padding: 0px!important;
}
/* - general
 ------------------------------------------------------------ */
article#school-project {
}
article#school-project .outline {
	width: 1000px;
	margin: 0 auto;
}

/*-----------------------------------------------
_ all
-----------------------------------------------*/
section#special2{
	background: url(../images/bgbg.jpg) repeat;
	text-align: center;
}

section#special2 a:link {
		color: #F39200;
	}
	
	#special2 a:visited {
		color: #F39200;	
	}
	
	#special2 a:hover {
		color: #1D9E32;
	}

	#special2 a:active {
		color: #F39200;
	}


#special2 .outline {
	width: 1000px;
	margin: 0 auto;
}

#all_saba{
	width: 1030px;
	float: left;
	font-family: Arial, sans-serif;
	color: #666666;
	text-decoration: none;
	padding: 20px;
	margin-top: 10px;
	border: 4px #fff solid;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	background-repeat: no-repeat;
	text-align: left;
	margin-bottom: 20px;
	background-position: top center;
	background-color: black;
}

/*-----------------------------------------------
_ top_img
-----------------------------------------------*/

#all_saba .top{
	width: 980px;
	height: 800px;
	float: left;
}

	#all_saba .top .title{
		width: 980px;
		height: 550px;
		text-align: center;
		float: left;
		margin-top: 370px;
	}

		#all_saba .top .title p{
			font-size: 20px;
			color: #fff;
		}
		
		#all_saba .top .title h1{
			padding-top: 5px;
			text-indent:100%;
			white-space:nowrap;
			overflow:hidden;
			
		}
	.fb-like{
    position: relative;
    top: -5px;
}


/*-----------------------------------------------
_ contents
-----------------------------------------------*/

.contents{
	float: left;
	width: 1000px;
	min-height: 500px;
	margin: 0px 0px 20px 0px;
}

/*-----------------------------------------------
_ about
-----------------------------------------------*/

.about{
	float: left;
	height: 60px;
	width: 980px;
	font-size: 14px;
}
	.about p{
		font-size: 16px;
	}
	
	.about_text{
			padding: 0px 60px 35px 60px;
		
		}
		
		.about_text p{
				color: #666;
				text-align: center;
			}	
/*-----------------------------------------------
_ attention
-----------------------------------------------*/

.contents .attention{
	width: 957px;
	height: 80px;
	float: left;
	background-color: #fff;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	margin: 10px 0px 0px 9px;
}

	
	.contents .attention_attention{
		padding: 12px 0px 0px 50px;
		float: left;
		width: 920px;
		height: 50px;
	}
	
		.contents .attention_attention p{
			font-size: 14px;
			color: red;
		}

.contents .footer_bg{
	width: 980px;
	min-height: 440px;
	float: left;
	background: url(../images/bg_sub2.png) no-repeat;
	background-position: bottom;
}
		
/*-----------------------------------------------
_ special lessons
-----------------------------------------------*/
		
.special_lessons{
	width: 980px;
	min-height: 800px;
	float: left;
	background: url(../images/bg_sub.png) no-repeat;
	background-position: top;
}
	.special_lessons .all_events{
		width: 980px;
		float: left;
		text-align: center;
		margin-top: 15px;
	}
		
		.special_lessons .all_events .each_tutors {
			width: 306px;
			height: 340px;
			padding: 5px 0px 5px 0px;
			margin: 10px;
			float: left;
			-webkit-border-radius: 12px;
			-moz-border-radius: 12px;
			border-radius: 12px;
			background-color: #fff;
		}
		
			.special_lessons .all_events .each_tutors .avatar {
				width: 160px;
				height: 160px;
				margin: 10px auto;
			}
			
			.special_lessons .all_events .each_tutors .avatar:hover {
				opacity: 0.8;
			}
			
			.special_lessons .all_events .each_tutors .avatar img {
			  -webkit-border-radius: 100%;
				 -moz-border-radius: 100%;
				   -o-border-radius: 100%;
				  -ms-border-radius: 100%;
				      border-radius: 100%;
				      width: 100%;
				      height: 100%;
			}

			.special_lessons .all_events .each_tutors .avatar img.bright {
				      filter: brightness(110%);
	    	  -webkit-filter: brightness(110%);
			}
			
			.special_lessons .all_events .each_tutors a {
				font-size: 20px;
				font-weight: bold;
				line-height: 2;
			}
			
			.special_lessons .all_events .each_tutors h4 {
				width: 300px;
				min-height: 30px;
				max-height: 70px;
				padding: 5px 13px 0px 13px;
				float: left;
				line-height: 22px;
			}
			
			.special_lessons .all_events .each_tutors p {
				width: 300px;
				padding: 0px 13px 0px 13px;
				float: left;
			}





/* - modal
 ------------------------------------------------------------ */
.button {
    display: none;
    margin: 100px 0;
    padding: 12px 34px;
    color: #fff;
    border-radius: 60px;
    font-weight: 500;
    background: #1ecd97;
    -webkit-transition: .24s ease;
    -moz-transition: .24s ease;
    -o-transition: .24s ease;
    transition: .24s ease;
}

.button:hover {
    cursor: pointer;
    background: #1bb787;
}

.modal-box {
    height: 0;
}

.content {
    display: table;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 680px;
    margin: auto;
    padding: 5em;
    vertical-align: middle;
    z-index: -1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1), 0 5px 10px rgba(0, 0, 0, .15);
    background: #fff;
}

.content > span {
    display: table-cell;
    text-align: center;
    font-size: 1.8em;
    font-weight: 200;
}

.toggle-on {
    display: none;
}

.toggle-on:checked + .toggle-off + .content {
    z-index: 100;
}

.toggle-off {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    background: rgba(0, 0, 0, .20);
    z-index: -1;
    -webkit-transition: .6s ease-out, 1s z-index ease-out;
    -moz-transition: .6s ease-out, 1s z-index ease-out;
    -o-transition: .6s ease-out, 1s z-index ease-out;
    transition: .6s ease-out, 1s z-index ease-out;
}

.toggle-on:checked + .toggle-off {
    opacity: 1;
    -webkit-transition: .4s ease-in, .3s z-index ease-in;
    -moz-transition: .4s ease-in, .3s z-index ease-in;
    -o-transition: .4s ease-in, .3s z-index ease-in;
    transition: .4s ease-in, .3s z-index ease-in;
    z-index: 1;
}

.toggle-button {
    display: inline-block;
    margin: .8em 0 0;
    padding: .5em 1.2em;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    border-radius: 4px;
    background: #1ecd97;
    -webkit-transition: .24s ease;
    -moz-transition: .24s ease;
    -o-transition: .24s ease;
    transition: .24s ease;
}

.toggle-button:hover {
    cursor: pointer;
    background: #1bb787;
}

/* rotate */
.ani-rotate {
    opacity: 0;
    -webkit-transition: .4s ease, 1s z-index ease;
    -moz-transition: .4s ease, 1s z-index ease;
    -o-transition: .4s ease, 1s z-index ease;
    transition: .4s ease, 1s z-index ease;
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -ms-transform: rotate(450deg);
    transform: rotate(450deg);
}

.toggle-on:checked + .toggle-off + .ani-rotate {
    opacity: 1;
    -webkit-transition: .4s ease;
    -moz-transition: .4s ease;
    -o-transition: .4s ease;
    transition: .4s ease;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
}

.modal-box .ani-rotate h4 {
    font-size: 0.9em;
}

.modal-box .ani-rotate p {
    font-size: 0.8em;
    padding: .3em 0;
    font-weight: bold;
}