.pan{
	width: 940px;
	margin: 20px auto 10px;
}

#main_contents a.btn{
	position: relative;
	display: block;
	margin: 0 auto;
	padding: 10px 0;
	background: #8cc63f;
	/*border-bottom: 3px solid #789e2d;*/
	color: #fff;
	font-weight: bold;
	font-size: 120%;
	text-align: center;
	letter-spacing: 1px;

	-webkit-box-shadow: 0 3px 0 #789e2d;
	box-shadow: 0 3px 0 #789e2d;
	/*-webkit-transition: color 0.1s, background-color 0.1s, box-shadow 0.1s, -webkit-transform 0.1s;
  	transition: color 0.1s, background-color 0.1s, box-shadow 0.1s, transform 0.1s;*/


}
#main_contents a.btn:hover{
	/*top: 3px;
	border-bottom: 0 none;*/
	background-color: #789e2d;
	-webkit-box-shadow: 0 0px 0 #789e2d;
	box-shadow: 0 0px 0 #789e2d;
	-webkit-transform: translateY(3px);
	transform: translateY(3px);
	animation: flash 0.5s;
  	-webkit-animation: flash 0.5s;
}

body.library #wrap{
	padding-left: 0;
}
#header{
	position: relative;
	background: url(../img/library/main.jpg) no-repeat center top;
	height: 500px;
}
#header h1{
	position: absolute;
	left: 0; top: 30px;
}
#header #calendar{
	position: absolute;
	right: 0; top: 20px;
	padding: 5px;
	width: 200px;
	background: url(../img/library/bg_calendar.png);
}
#header #calendar iframe{
	border: 0;
}
#header #calendar .calendar_ttl{
	position: relative;
    top: -7px;
}
#header #calendar .calendar_more_btn{
	position: relative;
	display: inline-block;
	margin: 0 auto 0 25px;
	padding: 2px 10px;
	font-size: 80%;
	line-height: 1.3em;
	background: #8cc63f;
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	text-align: center;
	letter-spacing: 1px;
	-webkit-box-shadow: 0 3px 0 #789e2d;
	box-shadow: 0 3px 0 #789e2d;
}
#header #subNav{
	position: absolute;
	right: 220px; top: 20px;
}
#header #subNav a{
	display: inline-block;
	padding: 5px 20px;
	border-left: 1px solid #ccc;
}
#header #subNav a:first-child{
	border-left: 0 none;
}
#header #mainNav{
	position: absolute;
	bottom: 100px;
	left: 0;
	width: 100%;
	}
#header #mainNav > li{
	position: relative;
	float: left;
	padding: 15px 0;
	width: 20%;
	text-align: center;
	background: url(../img/library/bg_mainnav.png);

}
#header #mainNav > li.active,
#header #mainNav > li:hover{
	background: url(../img/library/bg_mainnav_active.png);
}
#header #mainNav > li a{
	display: block;
	padding: 5px 0;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 130%;
}
#header #mainNav > li > a{
	border-left: 1px solid #9dc5a5;	
}
#header #mainNav > li:first-child > a{
	border-left: 0 none;
}
#header #mainNav .mainNav_child{
	display: none;
	position: absolute;
	width: 250px;
	top: 67px;
	left: 0;
	background: #13491d;
	color: #fff;
	z-index: 10;
}
#header #mainNav .mainNav_child li{
	text-align: left;
}
#header #mainNav .mainNav_child li a{
	display: block;
	font-size: 100%;
	padding: 15px 25px 15px 25px;
	border-top: 1px solid #549660;
	background: url(../img/library/mainNav_child_arrow.png) no-repeat 15px 20px;
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	transition: all 0.1s linear;
}
#header #mainNav .mainNav_child li:first-child a{
	border-top: none;
}
#header #mainNav .mainNav_child li a:hover{
	text-indent: 1em;
}

#header #search{
	position: absolute;
	bottom: 0; left: 0;
	width: 100%;
}
#opac{
	margin: 0 auto;
	padding: 20px 0;
	max-width: 1280px;
	background: url(../img/library/bg_search.png);
}
#opac img, #opac input{
	vertical-align: middle;
}
#opac input[type="text"]{
	margin: 0 10px;
	padding: 5px 10px;
	width: 330px;
	border: 0 none;
	background: #fff;
	text-align: left;
}
#opac input[type="submit"]{
	margin: 0 70px 0 10px;
	padding: 5px 10px;
	width: 80px;
	border: 0 none;
	background: #4d4d4d;
	color: #fff;
	font-weight: bold;
	text-align: center;
}

#top #main_contents h2{
	padding: 0;
	text-align: center;
}

#news{
	float: left;
	border-bottom: 0 none;
	height: auto;
	padding: 0;
}
#news .top_info_h{
	position: relative;
	border: 1px solid #ccc;
	margin-top: -1px;
	padding: 0 20px 0;
	padding-bottom: 65px;
	
}
#news dl{
	margin-top: 20px;
}
#news dl.first{
	margin-top: 40px;
}
#news dd a{
	text-decoration: underline;
}
#news dd a:hover{
	color: #8cc63f;
	text-decoration: none;
}
#topics{
	float: right;
	border-bottom: none;
	height: auto;
	padding: 0;
}
#topics .top_info_h{
	position: relative;
	border-bottom: 1px solid #ccc;
	padding-bottom: 65px;
}
#topics .hover_line{
	border-color: #8cc63f;
}
#topics .bx-wrapper .bx-pager{
	position: static;
	margin: 20px auto;
}
#topics .bx-wrapper .bx-pager.bx-default-pager a:hover,
#topics .bx-wrapper .bx-pager.bx-default-pager a.active{
	background: #8cc63f;
}

#news a.btn.more,
#topics a.btn.more{
	position: absolute;
	width: 428px;
	margin: 0 20px;
	left: 0;
	bottom: 20px;
}
#topics a.btn.more{
	width: 428px;
}

#quicksearch,
#room{
	margin: 30px 0;
}
#quicksearch{
	float: left;
}
#room{
	float: right;
}

.banner_contents{
	width: 470px;
}
.banner_contents .inner{
	width: 386px;
	margin: 0 auto;
}
.banner_contents h2{
	padding-bottom: 20px !important;
	border-bottom: 1px solid #ccc;
}
.banner_contents li{
	float: left;
	width: 50%;
	margin-top: -1px;
}
.banner_contents li a{
	display: table;
	table-layout: fixed;
	border-collapse: collapse;
	width: 100%;
	opacity: 1;
	filter: alpha(opacity=100);
	-ms-filter: "alpha(opacity=100)";
}
.banner_contents li a:hover{
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha(opacity=80)";
}
.banner_contents li a span{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 20px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
.banner_contents li:nth-child(2n) a span{
	border-right: none;
	border-left: 1px solid #ccc;
}
.banner_contents li:nth-child(3) a span,
.banner_contents li:nth-child(4) a span{
	border-bottom: none;
}


#footer{
	padding: 25px 0;
	width: auto;
	border-top: 0 none;
	background: #f2f2f2;
	color: #6f6f6f;
}
#footer .centering{
	position: relative;
}
#footer .logo{
	position: absolute;
	top: 25px;
	right: 0;
}
#footer h3{
	display: inline-block;
	font-size: 105%;
}
#footer address{
	float: none;
	display: inline-block;
	line-height: 2.2em;
	font-size: 95%;
	margin-top: 5px;
	margin-bottom: 30px;
	padding: 6px 20px 0 0;
	border-top: 1px solid #6f6f6f;
}
#footer address span{
	display: inline-block;
	margin: 0 5px 0 0;
}
#footer address strong{
	background: #fff;
	color: #6f6f6f;
	line-height: 1em;
	margin-right: 10px;
	padding: 5px 10px;
	font-size: 85%;
}
#footer #copyright{
	display: block;
	float: none;
	clear: both;
	font-size: 80%;
	letter-spacing: 1px;
	text-align: center;
}