/*
 * iweb32-style011
 *
 * Copyright 2016, TANK
 * 
 * 
 * 2016 / 03 / 10
 */
 
 
/* + course
*----------------------------------------------------------------------------*/
.course ul {
	text-align: center;
}

.course ul li {
	margin: 10px 5px;
	display: inline-block;
}

.course ul li a ,
.sign a {
	padding: 5px 10px;
	display: block;
	background: #3A5898;
	color: #fff;
	border: 1px #0e1f5b solid;
	border-radius: 5px;
	-webkit-border-radius: 5px;
}

.course ul li a:hover {
	background: #2f477a;
}


/* + eventClass
*----------------------------------------------------------------------------*/
.item {
	margin: 30px 0;
}

.eventClass {
	padding: 8px 0;
	background: #5BC0DE;
	border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
}

.eventClass ul {
	margin: -15px 0;
}

.eventClass ul li {
	position: relative;
	display: inline-block;
}

.eventClass ul li a {
	padding: 20px 15px;
	display: inline-block;
	font-size: 18px;
	color: #fff;
}

.eventClass ul li a b {
	margin-left: 5px;
	font-weight: normal;
	display: none;
}

.eventClass ul li ul.sub {
	display: inline-block;
}

.eventClass ul li a:hover ,
.eventClass ul li.action a {
	background: #2080B3;
	color: #fff;
}

#products {
	margin: 0;
	padding: 20px;
	background: #DCF7FF;
	border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
}


/* + echelon
*----------------------------------------------------------------------------*/
#products .echelon {
	overflow: hidden;
	margin: 10px 0;
	padding-bottom: 20px;
	border-bottom: 1px #4690B7 dashed;
}

#products .echelon:last-child {
	padding-bottom: 0;
	border-bottom: 0
}

#products h3:before {
	padding-right: 10px;
	content: "\f041";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#products .echelon .echelonList {
	overflow: hidden;
	width: 100%;
	margin: 0;
}

#products .echelon .echelonList p {
	float: left;
	width: 12%;
}

#products .echelon .echelonList p:nth-child(2) ,
#products .echelon .echelonList p:nth-child(6) {
	width: 8%;
}

#products .echelon .echelonList p:nth-child(7) {
	width: 10%;
}

#products .echelon .echelonList p:first-child {
	width: 15%;
}

#products .echelon .echelonList p:last-child {
	width: 22%;
}

#products .echelon .echelonList p label {
	padding: 10px 5px;
	border: 1px #9EDFF3 solid;
	background: #36A9CC;
	border-left: 0;
	display: none;
	color: #fff;
	vertical-align: initial;
	text-align: center;
}

#products .echelon .echelonList:first-child p label {
	display: block;
}

#products .echelon .echelonList p b {
	padding: 10px 0;
	height: 34px;
	text-align: center;
	display: inherit;
	font-weight: normal;
	border-bottom: 1px #9EDFF3 solid;
	border-right: 1px #9EDFF3 solid;
	line-height: 34px;
}

#products .echelon .echelonList p:first-child label ,
#products .echelon .echelonList p:first-child b {
	border-left: 1px #9EDFF3 solid;
}

#products .echelon .echelonList p b a {
	padding: 5px;
	display: inline-block;
	background: #FF0000;
	color: #fff;
	border: 1px #8E0D0D solid;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	line-height: 24px;
}

#products .echelon .echelonList p b a:hover {
	background: #F93535;
}


/* + sign
*----------------------------------------------------------------------------*/
.sign {
	text-align: right;
}

.sign a {
	display: inline-block;
	background: #F3173F;
	border: 1px #841227 solid;
}

.sign a:hover {
	background: #DA0028;
}


/**********適應性**********/
/************************/
/* +width:1024 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	#products {
		padding: 10px;
	}
	#products .echelon .echelonList p:last-child {
		width: 25%;
	}
	#products .echelon .echelonList p:nth-child(2) ,
	#products .echelon .echelonList p:nth-child(6) {
		width: 7%;
	}
	.eventClass ul li a {
		padding: 20px 10px;
		font-size: 16px;
	}
	.course ul li a {
		padding: 5px;
	}
}


/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	.container .content-wrap #article {
		margin: 10px;
	}
}


/* +width:640 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
	.eventClass {
		padding: 0;
		background: none;
		border-radius: 0;
		-webkit-border-radius: 0;
	}
	.eventClass ul {
		position: relative;
		margin: 0 0 20px;
	}
	.eventClass ul li {
		position: relative;
		display: block;
	}
	.eventClass ul li a {
		padding: 10px;
		display: block;
		background: #2080B3;
		color: #fff;
	}
	.eventClass ul li a b {
		display: inline-block;
	}
	.eventClass ul li ul.sub {
		position: absolute;
		margin: 0;
		width: 100%;
		display: none;
	}
	.eventClass ul li:hover ul.sub {
		display: block;
	}
	.eventClass ul li ul.sub li a {
		background: #A9DDF9;
		color: #000;
		border-bottom: 1px #2080B3 solid;
	}
	#products {
		border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	#products .echelon .echelonList {
		margin: 10px 0 20px;
	}
	#products .echelon .echelonList:nth-child(2n) {
		background: #CBF3FF;
	}
	#products .echelon .echelonList p ,
	#products .echelon .echelonList p:first-child ,
	#products .echelon .echelonList p:last-child ,
	#products .echelon .echelonList p:nth-child(2) ,
	#products .echelon .echelonList p:nth-child(6) ,
	#products .echelon .echelonList p:nth-child(7) {
		width: 100%;
		border-bottom: 1px #9EDFF3 dashed;
	}
	#products .echelon .echelonList p:last-child {
		border-bottom: 2px #9EDFF3 solid;
	}
	#products .echelon .echelonList:first-child p label ,
	#products .echelon .echelonList p label ,
	#products .echelon .echelonList p b {
		padding: 10px 0;
		width: 49%;
		height: auto;
		border: 0;
		display: inline-block;
		line-height: normal;
		text-align: left;
	}
	#products .echelon .echelonList:first-child p label ,
	#products .echelon .echelonList p label {
		width: 70px;
		background: none;
		color: #000;
		text-align: right;
		margin-right: 15px;
	}
	#products .echelon .echelonList p:first-child label ,
	#products .echelon .echelonList p b ,
	#products .echelon .echelonList p:first-child b ,
	#products .echelon .echelonList p:last-child b {
		border-left: 0;
		border-right: 0;
	}
	#products .echelon .echelonList p:last-child label ,
	#products .echelon .echelonList p label.signIN {
		line-height: 35px;
	}
}