/* ******************************************************************
 *	File name		: base.css
 *	Summary			: css base
 * ******************************************************************
 */
 
/*
 
orange #DA4733 rgba(218,71,51,1)
blue #284688 rgba(40,70,136,1.0)

 */
/* -----------------------------------------------------------------
   base
----------------------------------------------------------------- */

body{
	display:block;
	position:relative;
	width:100%;
	height:100%;
	padding-top:125px;
	line-height:145%;
	color:#222;
	background:#000;
	}
	body::after{
		content:" ";
		position:absolute;
		top:0px;
		left:0px;
		width:100%;
		height:125px;
		background:#FFF;
		z-index:2;
	}
	#wrapper{
		position:relative;
		width:100%;
		text-align:center;
		overflow:hidden;
		z-index:5;
}

/* --- responsive --- */
@media only screen and (max-width:950px){
}


/* -----------------------------------------------------------------
   header
----------------------------------------------------------------- */

header{
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:130px;
	text-align:center;
	background:#FFF;
	border-bottom:5px solid #284688;
	z-index:200;
	}
	header #head_contents{
		position:relative;
		width:950px;
		max-width:100%;
		height:100%;
		margin:0 auto;
		padding:0 100px 0 0px;
		text-align:left;
		z-index:1;
	}
	header h1{
		position:absolute;
		top:24px;
		left:15px;
		width:195px;
		height:48px;
		}
		header h1 a{
			position:absolute;
			top:0px;
			left:0px;
			width:100%;
			height:100%;
			font-weight:bold;
			font-size:2.3rem;
			font-family: 'Lusitana', serif;
			text-decoration:none;
			color:#000;
			line-height:1.2;
			}
			header h1 a:hover{
				text-decoration:none;
		}
		header h1 img{
			position:relative;
			width:98px;
			height:48px;
			line-height:1;
		}
		header h1 span{
			display:inline-block;
			margin:0 0 0 10px;
			font-weight:bold;
			font-size:inherit;
			font-family:inherit;
			color:#005DAD;
	}
	header #head_lead{
		position:absolute;
		top:81px;
		left:15px;
		width:calc(100% - 100px);
		padding-top:5px;
		font-weight:600;
		font-size:1.05rem;
		font-family: 'Lusitana', serif;
		color:#000;
		border-top:1px solid #000;
		}
		header #head_lead span{
			display:inline-block;
			font-size:inherit;
			font-weight:bold;
			font-family:inherit;
			color:#005DAD;
	}
	header #datevenue{
		position:absolute;
		top:28px;
		left:220px;
		width:calc(100% - 320px);
		padding:2px 0 2px 17px;
		border-left:1px solid #000;
		color:#999;
		line-height:1.35;
		}
		header #datevenue p:nth-child(1){
			margin:0px;
			font-weight:bold;
			font-size:1.1rem;
		}
		header #datevenue p:nth-child(2){
			font-size:0.84rem;
		}
		header #datevenue span{
			display:none;
	}
	header #riec_logo{
		position:absolute;
		top:20px;
		right:0px;
		width:60px;
		height:81px;
}

/* --- responsive --- */
@media only screen and (max-width:950px){
	header{
		display:none;
	}
}

/* -----------------------------------------------------------------
   main
----------------------------------------------------------------- */

main{
	display:block;
	position:relative;
	width:100%;
	padding:0 25px;
	background:url(../../image/base/bg.png) repeat-y center #000;
	z-index:9;
	}
	main::before,
	main::after{
		content:" ";
		position:absolute;
	}
	main::before{
		top:0px;
		right:0px;
		width:calc((100% - 1920px)/2);
		height:100%;
		background:#002765;
		z-index:0;
	}
	main::after{
		top:0px;
		left:0px;
		width:100%;
		height:330px;
		background:#000;
		z-index:1;
}

/* main_img */
#main_img{
	position:absolute;
	top:-18px;
	left:calc(50% - 960px);
	width:1920px;
	height:508px;
	z-index:10;
}

/* --- responsive --- */
@media only screen and (max-width:950px){
	main{
		background:linear-gradient(90deg, rgba(1,13,34,1), rgba(0,32,83,1));
	}
	main::before,
	main::after{
		display:none;
	}
	#main_img{
		position:relative;
		top:0px;
		left:-175px;
		width:calc(100% + 350px);
		height:auto;
		margin:-2% 0 0 0;
		z-index:10;
	}
}

/* main_contents */
#main_contents{
	position:relative;
	width:950px;
	max-width:100%;
	min-height:500px;
	margin:0 auto;
	padding:65px 0 30px 250px;
	font-size:0.95em;
	text-align:center;
	z-index:15;
	}
	#main_contents *{
		text-align:left;
		color:#FFF;
	}
	#main_contents p{
		margin:0 0 15px;
		font-size:0.9em;
		text-align:justify;
		color:#FFF;
	}
	#main_contents p.default{
		text-align:left;
}

#main_contents section{
	position:relative;
	padding:0 0 25px;
	margin:0 0 25px;
	}
	#main_contents section p:last-child{
		margin-bottom:0px;
}

/* --- responsive --- */
@media only screen and (max-width:950px){
	#main_contents{
		padding:0px 0 30px 0px;
	}
	#main_contents p{
		font-size:0.84em;
		line-height:1.5;
	}
}

/* -----------------------------------------------------------------
   menu
----------------------------------------------------------------- */

#menu{
	position:absolute;
	top:20px;
	left:calc(50% - 475px);
	width:220px;
	z-index:100;
	}
	#menu.fixed{
		position:fixed;
		top:145px;
		left:calc(50% - 475px);
		width:220px;
		z-index:100;
}
#menu #main_nav ul{
	position:relative;
	width:220px;
	padding:0;
	list-style:none;
	}
	#menu #main_nav ul:after{
		content:" ";
		display:block;
		clear:both;
	}
	#menu #main_nav ul li{
		position:relative;
		width:220px;
		height:55px;
		margin-bottom:6px;
		padding:0px;
		text-align:left;
		-moz-border-radius:6p;
		-webkit-border-radius:6px;
		border-radius:6px;
		background:rgba(40,70,136,0.5);
		color:#FFFFFF;
		-moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.4) inset;
		-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.4) inset;
		box-shadow: 0px 0px 5px rgba(0,0,0,0.4) inset;
	}
	#menu #main_nav ul li#nav_home{
		display:none;
	}
	#menu #main_nav ul li a{
		display:block;
		width:100%;
		height:55px;
		padding:0 0 0 27px;
		line-height:55px;
		-moz-border-radius:6p;
		-webkit-border-radius:6px;
		border-radius:6px;
		text-decoration:none;
		background:rgba(40,70,136,1);
		color:#FFFFFF;
	}
	#menu #main_nav ul li a:hover{
		background:#1B2F5C;
	}
	#menu #main_nav ul li a::before{
		content:" ";
		display:block;
		position:absolute;
		top:25px;
		left:0px;
		width:20px;
		height:5px;
		background:#7ECEF4;
		text-decoration:none;
	}
	#menu #main_nav ul li.active a::before{
		top:22px;
		height:11px;
		background:#FFF100;
	}
	#menu #main_nav ul li a:hover::before{
		background:#FFF100;
}
/* --- responsive --- */
@media only screen and (max-width:950px){
}

/* -----------------------------------------------------------------
   sponcer
----------------------------------------------------------------- */

#sponcer{
	position:relative;
	width:100%;
	padding:1px 20px 20px;
	background:#A2B6C1;
	}
	#sponcer_contents{
		position:relative;
		width:950px;
		max-width:100%;
		margin:30px auto 15px;
		padding:0 0 0 250px;
	}
	#sponcer_contents h2{
		width:100%;
		margin:30px auto 10px;
		color:#000;
		border-bottom:1px dotted #000;
	}
	#sponcer dl{
		width:100%;
		max-width:100%;
		margin:0 auto 20px;
	}
	#sponcer dl dt{
		position:relative;
		margin-bottom:5px;
		padding-left:16px;
		font-weight:bold;
		font-size:0.9rem;
		color:#000;
		}
		#sponcer dl dt::before{
			content:" ";
			display:block;
			position:absolute;
			top:5px;
			left:0px;
			width:10px;
			height:10px;
			background:#FFF100;
	}
	#sponcer dl dd{
		position:relative;
		width:100%;
		margin-bottom:10px;
		padding-left:16px;
		font-size:0.84em;
		line-height:1.4;
		text-align:left;
		color:#000;
	}
	#sponcer p{
		position:relative;
		width:950px;
		max-width:100%;
		margin:0 auto 7px;
		padding-left:16px;
		font-size:0.87em;
		color:#000;
		}
		#sponcer p a{
			color:#00235B;
		}
		#sponcer p::before{
			content:" ";
			display:block;
			position:absolute;
			top:5px;
			left:0px;
			width:10px;
			height:10px;
			background:#FFF100;
}

/* --- responsive --- */
@media only screen and (max-width:950px){
	#sponcer_contents{
		width:100%;
		padding:0px;
	}
	#sponcer p{
		font-size:0.77em;
		line-height:1.35;
		}
}


/* -----------------------------------------------------------------
   updates
----------------------------------------------------------------- */

#updates{
	position:relative;
	width:100%;
	padding:0 20px;
	font-size:0.75em;
	text-align:left;
	background:#333;
	color:#FFF;
	line-height:1.3;
	}
	#updates_contents{
		position:relative;
		width:950px;
		max-width:100%;
		margin:0 auto;
		padding:10px 0 10px 250px;
	}
	#updates_contents h2{
		position:relative;
		width:100%;
		margin:0 0 5px;
		padding:0px;
		font-size:1.0rem;
		text-align:left;
		background:#333;
		color:#FFF100;
		line-height:1.3;
		}
		#updates_contents h2::after{
			display:none;
	}
	#updates_contents ul{
		position:relative;
		width:100%;
		list-style:none;
		}
		#updates_contents ul li{
			position:relative;
			margin:0 0 5px;
			font-size:0.74rem;
			padding:3px 10px 3px 90px;
			border-bottom:1px solid rgba(255,255,255,0.1);
		}
		#updates_contents ul li span{
			position:absolute;
			top:0px;
			left:0px;
			width:80px;
			padding:3px;
			font-weight:bold;
			font-size:0.70rem;
			text-align:center;
			background:rgba(255,255,255,0.7);
			color:#000;
}
/* --- responsive --- */
@media only screen and (max-width:950px){
	#updates_contents{
		padding:10px 0 10px 0px;
	}
}


/* -----------------------------------------------------------------
   link_banner
----------------------------------------------------------------- */

.link_banner{
		display:-webkit-flex;
		display:flex;
		-webkit-box-pack:justify;
		-ms-flex-pack:justify;
		justify-content:space-between;
		flex-wrap:wrap;
		position:relative;
		width:100%;
		margin:20px 0 20px;
		list-style:none;
		text-align:center;
	}
	.link_banner li{
		position:relative;
		width:220px;
		margin:0 5px 10px;
	}
	.link_banner li:nth-child(3n+2):last-child{
		margin-right:240px;
	}
	.link_banner ul li a:hover{
		opacity:0.7;
}

/* --- responsive --- */
@media screen and (max-width:1000px){
	.link_banner{
		margin:0 0 10px;
	}
	.link_banner li{
		width:45%;
		margin:0 0px 10px;
	}
	.link_banner li:nth-child(3n+2):last-child{
		margin-right:0px;
	}
}

/* -----------------------------------------------------------------
   footer
----------------------------------------------------------------- */
footer{
	clear:both;
	position:relative;
	width:100%;
	padding:20px 0px 30px;
	text-align:center;
	background:#000;
	}
	footer *{
		color:#FFF;
	}

	footer #ft_contents{
		position:relative;
		width:950px;
		max-width:100%;
		margin:0 auto;
		padding:0 20px;
	}
	footer p#copyright{
		position:relative;
		width:100%;
		padding:8px 0 10px;
		font-size:0.75em;
		text-align:center;
		color:#FFF;
	}
	footer ul{
		display:-webkit-flex;
		display:flex;
		-webkit-box-pack:justify;
		-ms-flex-pack:justify;
		justify-content:center;
		flex-wrap:wrap;
		list-style:none;
	}
	footer ul li{
		position:relative;
		margin:0 10px;
		padding-left:10px;
		font-size:0.77rem;
	}
	footer ul li:after{
		content:" ";
		position:absolute;
		top:4px;
		left:0px;
		border: 6px solid transparent;
		border-left: 6px solid rgba(255,255,255,1);
}

/* --- responsive --- */

@media only screen and (max-width:950px){
	footer #ft_contents{
		width:100%;
	}
}



