
/*sticky footer*/
html,body{height: 100%;}
.Site{
	display: flex;
  	min-height: 100vh;
  	flex-direction: column;
}
.Site-content{
	flex: 1 0 auto;
}
.Site-header, .Site-footer {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
}
/*-------------*/

main{padding: 0 calc(50% - 585px);}
.lessonListBlock{	
	background-color: white;
	padding:15px;
	border-radius: 5px;
	position: relative;
	/*display: flex;*/
	box-shadow: 0 3px 5px #aaa;
	width: 100%;
	margin:0 auto 15px;
	border:1px solid #ddd;
}
.lessonDate{
	width: 20%;
	padding:0 15px;
}
.lessonListBlock h3,.lessonListBlock h4{margin-top:0;line-height: 1.5}
.textBox_title, .lessonDate_title ,.page-slogon{color:#EE781E;}
.lessonDetail,.lessonDate{float:left;}
.lessonDetail{border-right:2px dashed #ccc;}
.imgframe ,.textBox{
	display: inline-block;
	vertical-align: top;
}
.lessonDetail{
	width: 80%;
	/*position: relative;*/
}
.imgframe{
	width: 25%;
	position: relative;
}
.imgframe img{
	width: 100%;
	height: 100%;
}
.textBox{
	width: 73%;
	box-sizing:border-box;
	padding:0 1em;
}
.lessonListBlock:after ,.lessonDetail:after{
	content:'';
	display: block;
	clear:both;
}
.page-slogon{padding:15px;}
.page-slogon img,.page-slogon .floatP{float:left;}
.page-slogon .floatP{
	margin-left: 10px;
	font-size: 18px;
}
.page-slogon > p{
	margin-top: 10px;
}
.clearFloat{clear:both;}
#searchBox{
	margin: 70px 0;
}
#searchBox .btn:hover, #searchBox .btn:active{
	background-color: #EE781E;
	color: white;
}
@media screen and (max-width: 1170px){
	.lessonListBlock{
		width: 97%;
	}
}
@media screen and (max-width: 878px){
	.lessonListBlock{
		display: block;padding-bottom: 0;
	}
	.lessonDetail, .lessonDate{width:100%;}
	.lessonDetail{
		border-right:none;
		border-bottom: 1px solid #ccc;
		padding-bottom: 15px;
	}
	.lessonDate{padding:10px 0;}
	.lesson-left-block ,.lesson-right-block{
		display: inline-block;
		vertical-align: middle;
	}
	.lesson-left-block{width: 70%;}
	.lesson-right-block{width:28%;}
	
}
@media screen and (max-width: 600px){
	.imgframe , .textBox{display: block;width: 100%;}
	.imgframe{
		text-align: center;
		margin-bottom: 1%;
	}
	.imgframe img{width:90%;height: auto;}
}




