/*----------------------------------------------------------------------------
******************************************************************************
Layout
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Base === */
body {
	background: url(http://www.okayama-u.ac.jp/user/pharmaco/en/images/body_bg.jpg);
}

.layout {
	width: 960px;
	margin: 0 auto;
	overflow: hidden;
}

/* ==== Backgraund === */
#wrap {
	background: url(../images/wrap_bg.jpg) repeat-x;
}
/* ==== Header === */
#hd {
	height: 130px;
	position: relative;
	background: url(http://www.okayama-u.ac.jp/user/pharmaco/en/images/hd_bg.jpg) no-repeat;
}
#hd_right {
	float:right;
	width:100px;
	margin-right:10px;
	margin-top:5px;
	}
/* ==== Navigation === */
#nav {
	height: 60px;
	background: url(../images/nav_bg.jpg) no-repeat;
}

#nav ul {}
#nav li {
	float: left;
}
#nav a img.current {
	opacity: 0;
	filter: alpha(Opacity=0);
}

/* ==== Content === */
#con {}
#sidenav {
	width: 220px;
	float: left;
	margin-top:20px;
	background:url(http://www.okayama-u.ac.jp/user/pharmaco/en/images/sidenav_bg.jpg) top center no-repeat;
	padding-top:48px;
}
#sidenav ul {
	padding: 0px;
}
#sidenav li {
}
#sidenav li a {
	width: 220px;
	box-sizing:border-box;
	height: auto;
	padding: 12px 5px 5px 23px;
	display: block;
	text-decoration: none;
	background: url(http://www.okayama-u.ac.jp/user/pharmaco/en/images/sidenav_icon.png) no-repeat 6px 16px;
	font-size: 12px;
	color: #333333;
	border-bottom:dotted 1px #CCC;
}

#main.index {
	width: 100%;
	margin-top:20px;
}
#main{
width: 720px;
float: right;
margin-top: 20px;
}


/* ol,ul */
#main ol, #main ul {
	padding: 5px 0px 5px 25px;
}
#main ul {
	list-style-type: disc;
}
#main ol li, #main ul li {
	padding: 5px 0px;
}
/* table */
#main table {
	margin: 10px 0px;
}
#main table th, #main table td {
	padding: 5px;
}
/* img */
#main a img{
	display: inline-block;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
#main a img:hover, .shrink:focus, .shrink:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

#main .main_msg{
  background:#27528d;
  border-radius: 5px;
  padding: 10px 15px;
  margin-top:20px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.8em;
}

/* ==== Footer === */
#ft {
	margin-top:20px;
	padding-top: 25px;
	padding-bottom: 25px;
	text-align: center;
	background:#01398C;
	color:#FFFFFF;
}
/*----------------------------------------------------------------------------
******************************************************************************
Head
******************************************************************************
----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
}
h1 {
	position: absolute;
	top: 23px;
	left: 0px;
}
h2 {
	font-size: 2.5em;
	font-weight:normal;
	padding: 0.5em 0 0.5em 0.6em;
	margin: 0em 0 0.8em 0;
	background: url(../images/h2_bg.jpg) left center no-repeat;
	color: #0C2749;
}
h3 {
	font-size: 1.2em;
	font-weight:normal;
	padding: 0.6em 0 0.6em 3.0em;
	margin: 0.8em 0 0.4em 0;
	background: url(../images/h3_bg.jpg) left center no-repeat;
}
h4 {
	font-size: 1.1em;
	color:#0B006D;
	padding: 0.2em 0 0.3em 1.0em;
	margin: 1.2em 0 1em 0;
	border-left:#0B006D 10px solid;
	border-bottom:#0B006D 1px solid;
}
h5 {
	font-size: 1.1em;
	margin: 10px 0px;
}
	
h1.img, h2.img, h3.img, h4.img, h5.img, h6.img { margin: 0;padding: 0;background: none;border: none; }

/*----------------------------------------------------------------------------
******************************************************************************
Original
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Index === */
#i_img {
	margin-top:15px;
}
#i_news {
}
#i_news table {
}
#i_news table td {
	vertical-align: top;
	font-size: 12px;
	padding: 10px;
	border-bottom: 1px dotted #CCC;
}
#i_news table td.date {
	width: 120px;
	background: url(http://www.okayama-u.ac.jp/user/pharmaco/en/images/common/news_icon.gif) 0 12px no-repeat;
	padding-left: 15px;
	color:#0B006D;
}
#i_sidebox {
	float:right;
	margin-top: 40px;
}
#i_info{
	width:210px;
	background:#C5D6ED;
	margin-left:30px;
}
#i_bnr{
	margin-top:20px;
	width:210px;
	margin-left:30px;
}
#i_bnr img{
	margin-bottom:12px;
}
/*----pagetop----*/
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    background: #3870BC;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
}

.padding_T86 {
	padding-top:86px;
}
.flex_box {
	display: flex;
	justify-content: space-between;
}
.i_bnr_top {
	width: 100%;
}

.i_bnr_side {
    margin-right: 7px;
}
.i_bnr_side p {
    font-size: 0.8em;
    text-align: center;
    font-weight: bold;
    padding: 0;
    margin-bottom: 12px;
    padding: 5px 0;
    background: linear-gradient(#3870BA,#0C006E);
    border: solid 1px #13326F;
}
.i_bnr_side p a{
    color:#FFFFFF;
    text-decoration: none;
    display:block;
}
.i_bnr_side p:hover {
    transition: All 0.5s ease;
    background:#FFF;
    border: solid 1px #0C006E;
}
.i_bnr_side p:hover a{
    transition: All 0.5s ease;
    color:#0C006E;
    text-decoration: none;
}