/*
Theme Name: Miyako Mainichi
Theme URI: http://wordpress.org/
Description: The Miyako Mainichi News Theme
Version: 0.1
Author: Miyakomainichi.com
Tags: three columns, widgets
*/

@import "menu.css";
@import "side.css";
@import "category.css";
@import "article.css";
@import "page.css";
@import "single.css";

body {
	font-size:85%;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
	line-height:1.5;
	letter-spacing:0.05em;
	color:#333;
	background-color:#fff;
	background-color:transparent;
	z-index:3;
	background: url("/wp/wp-content/themes/miyakomainichi/images/background_image.gif");
}

h1 {
	font-size:150%;
}

h2 {
	font-size:117%;
}

h3 {
	font-size:117%;
}


* {
	margin:0;
	padding:0;
}

a {
	text-decoration:none;
	color:#000099;
}

li {
	list-style:none;
}

img {
	border:none;
	padding:0px;
}

div#wrapper {
position:relative;
	width:100%;
	margin:0 auto;
}

div#header {
	position:relative;
	background: url("/wp/wp-content/themes/miyakomainichi/images/header_back.gif") repeat-x top left;
	text-align:left;
	margin:0 auto;
	background-color:#FFFFFF;
	height:200px;
}

div#topbar {
	height:24px;
}

div#header .wrap {
	position:relative;
	text-align:center;
	margin:0 auto;
	width:990px;
}

p#description {
	float:left;
	line-height:2em;
	color:#fff;
	font-size:85%;
	text-indent:20px;
}

ul#information {
	float:right;
	width:400px;
}

ul#information li {
	float:right;
}

ul#information li a {
	display:block;
	font-size:85%;
	line-height:2em;
	padding-right:10px;
	color:#fff;
}

ul#information li a:hover {
	color:#E26602;
}

/*
ul#information li a:before {
	content: " | ";
}
*/

div#header h1 {
	position:absolute;
	top:28px;
	left:10px;
/*	width:300px;
	height:100px;
*/
	text-indent:-9999px;
/*	background:url("images/top_label.gif") no-repeat top left; */
}

div#header div#logo {
	position:absolute;
	top:28px;
	left:10px;
	width:300px;
	height:100px;
}

/* 今日の日付 */
div#today {
	position:absolute;
	top:63px;
	left:330px;
	width:200px;
	text-align:center;
	z-index:10;
}

div#today p#newstyle {
	font-size:1em;
	color:black;
	font-weight:bold;
}

div#today p#oldstyle {
	font-size:0.95em;
	text-indent:0px;
/*	color:white; */
	line-height:23px;
	height:23px;
/*	background:url("images/background_today.gif") no-repeat 10px top; */
}

/* ヘッダのスライドショー */
div#random_image {
/*	width:170px;
	height:125px; */
	position:absolute;
	right:0;
	top:25px;
	z-index:5;
}

/* メニュー */
div#navigation {
	position:absolute;
	background:url("images/menu.gif") no-repeat top left;
	width:1000px;
	height:52px;
	top:150px;
	left:-5px;
	text-align:left;
	z-index:1;
}

/* サイドメニュー１ */
div#side_menu {
	position:absolute;
	left:0;
	top:0;
	width:150px;
	padding-top:5px;
	padding-left:15px;
	padding-right:15px;
        padding-bottom:20px;
}

/* サイドメニュー２ */
div#extra {
	position:absolute;
	right:0;
	top:0;
	width:220px;
	padding-top:5px;
	padding-left:15px;
	padding-right:15px;
}

div#container {
	position:relative;
	border-left:1px solid #ccc;
	border-right:1px solid #ccc;
	width:990px;
	margin:0 auto;
	background-color:white;
/*	min-height:1050px; */
	min-height:2080px;
}

div#content {
	width:560px;
	margin-left:180px;
	margin-right:250px;
	padding-top:5px;
	padding-bottom:30px;
}

div#footer {
	border-top:1px solid #ccc;
	width:auto;
	margin:0 auto;
	background-color:#eee;
}

div#footer div.wrap {
	position:relative;
	margin:0 auto;
	height:128px;
	width:990px;
}

ul#footer_links {
	position:absolute;
	top:10px;
	left:20px;
	font-size:85%;
}

ul#footer_links li {
	margin-left:10px;
	float:left;
}

p#update_info {
	position:absolute;
	bottom:26px;
	left:15px;
	font-size:75%;	
}

p#update_info a {
	color:black;
}

/* コピーライト(フッター部) */
p#copyright {
	position:absolute;
	bottom:10px;
	left:15px;
	font-size:75%;
}

div#pagetop {
	position:fixed;
	bottom:121px;
	right:0;
}

div#pagetop a {
	display:block;
	text-indent:-9999px;
	outline: none;
	height:117px;
	width:34px;
	background:url("/wp/wp-content/themes/miyakomainichi/images/btn_pagetop.gif") no-repeat top left;
}

div#email {
	position:absolute;
	right:10px;
	top:5px;
}

div#email a {
	text-indent:-9999px;
	display:block;
	width:220px;
	height:118px;
	background:url("/wp/wp-content/themes/miyakomainichi/images/banner_email2.gif") no-repeat top left;
}

.clearfix {
	clear:both;
}

.clearfix:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}

div#rssreader {
	padding-bottom:3px;
}

div#ads_image1 {
/*	position:relative; */
	margin-top:5px;
	margin-bottom:10px;
}

div#ads_image2 {
/*	position:relative; */
	margin-top:15px;
	margin-bottom:10px;
}

div#headline,
div#lastnews  {
	position:relative;
	margin-bottom:10px;
	clear:both;
}

div#tickerline {
	position:absolute;
	top:10px;
	right:0px;
}

div#headline h2 {
	height:30px;
	text-indent:-9999px;
	background: url("/wp/wp-content/themes/miyakomainichi/images/headline.gif") no-repeat top left;
}

h3.headline {
	text-indent:0;
}

div#headline p.datetime {
	font-size:85%;
	position:absolute;
	top:-26px;
	height:1em;
	left:185px;
}

/** category title **/
div.category h3 {
	margin-top:20px;
	font-weight:normal;
	padding-bottom:5px;
}

div.category ul li {
	position:relative;
	background:url("/wp/wp-content/themes/miyakomainichi/images/arrow1.gif") no-repeat top left;
	text-indent:15px;
	line-height:1.4em;
	list-style:none;
}

div.category ul li a:hover {
	text-decoration:underline;
}

/** news today **/
#newstoday h3 {
	background: url("/wp/wp-content/themes/miyakomainichi/images/tag_today.gif?20131105") no-repeat top left;
}

/** news archives **/
div#news_archives h3 {
	background:url("/wp/wp-content/themes/miyakomainichi/images/tag_archive.gif?20131105") no-repeat top left;
}

/** news today, news archives **/
div#newstoday h3,
div#news_archives h3 {
	margin-top:20px;
	margin-bottom:5px;
	height:30px;
	line-height:30px;
	text-indent:1em;
	font-size:110%;
	color:white;
	letter-spacing:0.1em;
}

div#newstoday ul li,
div#news_archives ul li {
	position:relative;
	text-indent:1em;
	line-height:1.6em;
	list-style:none;
	background:url("/wp/wp-content/themes/miyakomainichi/images/arrow1.gif") no-repeat top left;
}

div#newstoday ul li a:hover,
div#lastnews ul#lastnews_list li a:hover,
div#news_archives ul li a:hover {
	text-decoration:underline;
}

div#lastnews h2 {
	height:30px;
	text-indent:-9999px;
	background: url("/wp/wp-content/themes/miyakomainichi/images/lastnews.gif") no-repeat top left;
}

div#lastnews  ul#lastnews_list {
	margin-top:5px;
}

div#lastnews  ul#lastnews_list li {
	position:relative;
	text-indent:1em;
	line-height:1.4em;
	list-style:none;
	margin-left:185px;
	background:url("/wp/wp-content/themes/miyakomainichi/images/arrow1.gif") no-repeat top left;
}

div#lastnews div.lastnews_thumb {
	float:left;
/*	border:1px solid #ccc;
	padding:3px;
	background-color:#f3f3f3;
	margin-left:5px; */
	text-align:center;
/*	margin-top:5px; */
	margin-top:13px;

}

/** timestamp **/
span.timestamp {
	position:absolute;
	display:block;
	right:0;
	top:0;
	font-size:85%;
	color:#666;
}

/** article **/
div.article {
position:relative;
	margin-top:10px;
}

div.article:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}

/** article title **/
div.article h3.title {
height:40px;
	text-indent:10px;
	line-height:40px;
	background:url("/wp/wp-content/themes/miyakomainichi/images/tag_article_title.gif") repeat-x top left;
}

div.article p {
/*	text-indent:1em; */
}

/** breadcrumb **/
div.breadcrumb {
height:25px;
	background:url("/wp/wp-content/themes/miyakomainichi/images/tag_breadcrumb.gif") repeat-x top left;
}

div.breadcrumb p {
text-indent:2em;
line-height:2em;
font-size:0.9em;
}

/** search result **/
div#search_result h2 {
	height:40px;
	text-indent:10px;
	line-height:40px;
	background:url("/wp/wp-content/themes/miyakomainichi/images/tag_article_title.gif") repeat-x top left;
}

div#search_result ul li {
	position:relative;
	margin-top:10px;
	text-indent:15px;
	line-height:1.4em;
	list-style:none;
	background:url("/wp/wp-content/themes/miyakomainichi/images/arrow1.gif") no-repeat top left;
}

/** search navigation **/
ul.search_navi {
	position:relative;
	margin-top:15px;
	height:20px;
	background-color:#eee;
	border:1px solid #ddd;
	clear:both;
}

ul.search_navi li {
	position:absolute;
}

ul.search_navi li a {
	width:100px;
}

ul.search_navi li.next-posts {
	top:0px;
	right:10px;
}

ul.search_navi li.previous-posts {
	top:0px;
	left:10px;
}

ul#counter {
	position:absolute;
	bottom:27px;
	left:480px;
}

ul#counter li {
	font-size:11px;
	float:left;
	margin-right:10px;
}

/* こよみ */
#koyomi table {
	border-collapse:collapse;
}

#koyomi table tr,
#koyomi table td {
	border:1px solid #777;
	padding:3px;
}


/** 広告枠 **/
#adv {
     position: relative;
     margin-top: 35px;
}

#adv:after {
     clear:both;
}

.adv01 {
     float:left;
     width: 250px;
}

.adv02 {
     float:left;
     margin-left: 10px;
     width: 300px;
}