@charset "utf-8";
/*
Theme Name: 鹿児島大学病院
Theme URI: https://com4.kufm.kagoshima-u.ac.jp/
Author: organic design
Version: 1.0
*/



/* ------------------------------------------------ */
/* 1.共通
/* ------------------------------------------------ */


/* ------------------------------------------------ */
/* 13.ブログページ専用スタイル
/* ------------------------------------------------ */

/* 投稿日付とカテゴリー */
.entry-meta {
	margin-bottom: 15px;
	font-weight: bold;
	font-size: 90%;
}

/* 投稿本文の枠 */
.entry-content {
	margin-bottom: 15px;
}

.entry-content::after {
	content: '';
	display: block;
	clear: both;
}


/* エリア内の画像 */
.single #contents img,
.archive #contents img {
max-width:100%;
height:auto;
}


article{
	padding-bottom: 3em;
}


#secondary ul{
margin: 0 0 3em;
padding: 0;
text-align: left;
 list-style-type:none;
}
#secondary ul li{
color:#333;
padding:0;
display: block;
border-bottom: 1px solid #ccc;
}

#secondary ul li span{
margin-left: 1.2em;
}

#secondary ul li a,
#secondary ul li a:visited {
color:#333;
padding: 10px 5px;
display: block;
}
#secondary ul li a:hover {
background-color:#f2f2f2;
color: #222;
}



#secondary li.widget{list-style-type: none;}



/* ------------------------------------------------ */
/* レスポンシブページネーション
/* ------------------------------------------------ */

.pagination{
  list-style-type: none;
  padding-left: 0;
  margin: 30px 0;
}

.pagination,
.pagination li a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.pagination a {
  font-weight: 300;
  padding-top: 1px;
  text-decoration:none;
  border: 1px solid #ddd;
  border-left-width: 0;
  min-width:36px;
  min-height:36px;
  color: #333;
}

.pagination li:not([class*="current"]) a:hover {
  background-color: #eee;
}

.pagination li:first-of-type a {
  border-left-width: 1px;
}

.pagination li.first span,
.pagination li.last span,
.pagination li.previous span,
.pagination li.next span {
  /* screen readers only */
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.pagination li.first a::before,
.pagination li.last a::after,
.pagination li.previous a::before,
.pagination li.next a::after {
  display: inline-block;
  font-family: Fontawesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
}

.pagination li.first a::before { content: "\f100"; }
.pagination li.last a::after { content: "\f101"; }

.pagination li.previous a::before { content: "\f104"; }
.pagination li.next a::after { content: "\f105"; }

.pagination li.current a {
 background-color: #ddd;
 cursor: default;
 pointer-events: none;
}

.pagination > li:first-child > a {
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination > li:last-child > a {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

@media only screen and ( max-width: 680px ) {
  .pagination li.first,
  .pagination li.last {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .pagination li.previous a { border-left-width: 1px; }
}

@media only screen and ( max-width: 500px ) {
  .pagination li {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .pagination li.current,
  .pagination li.first,
  .pagination li.last,
  .pagination li.previous,
  .pagination li.next{
    position: initial;
    top: initial;
    left: initial;
  }

  .pagination li.previous a { border-left-width: 0; }
}

@media only screen and ( max-width: 400px ) {
  .pagination li.first,
  .pagination li.last {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .pagination li.previous a { border-left-width: 1px; }
}

@media only screen and ( max-width: 240px ) { /* For watches? */
  .pagination li { width: 50%;}

  .pagination li.current {
    order: 2;
    width: 100%;
    border-left-width: 1px;
  }
}



/* ------------------------------------------------ */
/* 検索
/* ------------------------------------------------ */


#searchform{
position:relative;
}
.searchfield{
padding:0 10px; 
position:absolute; 
left:0;
top:0; 
border: #EBEBE7 2px solid;
font-size:16px;
}
#sbtn2{
position:absolute; 
left: 10px;
top:0;
background:none;
color:#666;
border:none;

}

.searchsubmit:hover {
  opacity: .6;
}



/* 編集リンク */
a.post-edit-link {
	-webkit-appearance: button;
	-moz-appearance: button;
	appearance: button;
	display: block;
	text-decoration: none;
	color: #333;
	width: 5em;
	padding: 0.4em 1em;
	text-align: center;
}
