@charset "UTF-8";
/* CSS Information
============================================
File: mahaeblog.css
Site: Okinawa Story
*マハブログページ遺産スタイル
============================================= */

/* Clearing Floats */

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
    *zoom: 1;/* For IE 6/7 only */
}


/* Blog Elements
-------------------------------------------------------------- */
.entry {
	line-height: 1.8;
	margin: 0 auto;
	font-size: 1.4rem;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
    max-width: 65rem;
}
.entry a{
    text-decoration: none;
}
.entry p{
    clear: none;
}
.entry p,
.comment p {
	margin: 1.2rem 0;
}
.entry h1,
.comment h1,
.entry h2,
.comment h2,
.entry h3,
.comment h3,
.entry h4,
.comment h4,
.entry h5,
.comment h5,
.entry h6,
.comment h6 {
	color: #006dba !important;
	font-weight: bold;
	line-height: 1.4;
	margin: 2rem 0 5px;
}
.entry h1,
.comment h1 {
	font-size: 2.6rem;
}
.entry h2,
.comment h2 {
	font-size: 2.4rem;
}
.entry h3,
.comment h3 {
	font-size: 2rem;
}
.entry h4,
.comment h4 {
	font-size: 1.8rem;
}
.entry h5,
.comment h5 {
	font-size: 1.6rem;
	margin: 2rem 0 0;
}
.entry h6,
.comment h6 {
	font-size: 1.4rem;
	margin: 2rem 0 0;
}
.entry ul,
.comment ul{
	list-style: square inside;
	margin: 0 0 2.4rem 3.2rem;
}
.entry ol,
.comment ol{
	list-style: decimal inside;
	margin: 0 0 2.4rem 3.2rem;
}
.entry ol ol,
.comment ol ol{
	list-style: upper-alpha inside;
}
.entry ol ol ol,
.comment ol ol ol{
	list-style: lower-roman inside;
}
.entry ol ol ol ol,
.comment ol ol ol ol{
	list-style: lower-alpha inside;
}
.entry ul ul,
.comment ul ul,
.entry ol ol,
.comment ol ol,
.entry ul ol,
.comment ul ol
.entry ol ul,
.comment ol ul {
	margin-bottom: 5px;
}
.entry dl {
	margin: 1.6rem 0;
}
.entry dt {
	font-weight: bold;
}
.entry dd {
	margin-bottom: 2.4rem;
}
.entry strong {
	font-weight: bold;
}
.entry cite,
.entry em,
.entry i {
	font-style: italic;
}
.entry big,
.entry .big_tag {
	font-size: 2rem;
}
.entry ins {
	text-decoration: none;
}
.entry code,
.entry pre {
	padding: 3px 8px;
	margin: 0 1px;
	background: transparent;
	color: #222;
	font-size: 1.4rem;
	font-family: Monospace, "Courier New", Courier;
	overflow: auto;
	line-height: 1.6;
}
.entry del,
.entry strike,
.entry s{
	text-decoration: line-through;
}
.entry pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}
.entry small {
	font-size: 1.2rem;
}
.entry abbr,
.entry acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
.entry sup,
.entry sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
	font-size: 1.2rem;
}
.entry sup {
	bottom: 1ex;
}
.entry sub {
	top: .5ex;
}
.entry var,
.entry kbd,
.entry tt,
.entry .tt_tag {
	font-size: 1.6rem;
	font-family: "Courier 10 Pitch", Courier, monospace;
}
.entry blockquote {
	background:#f5f5f5;
	border-left: 10px solid #ccc;
	margin: 2rem 0;
	padding: 8px 2.4rem;
}
.entry blockquote cite {
	display: block;
	margin: 8px 0 0 8px;
	color: #777;
}
.entry table {
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #ddd;
	margin: 1.5rem 0;
	text-align: left;
	width: 100%;
}
.entry tr th,
.entry thead th {
	background: #e5e5e5;
	font-weight: bold;
	padding: 1rem;
}
.entry tr td {
	border-top: 1px solid #ddd;
	padding: 1rem;
}
.entry tr.alternate td {
	background: #f5f5f5;
}

/* Images | Gallery | Videos
-------------------------------------------------------------- */
.entry .wp-post-image {
	width: 100%;
	margin: 2.4rem 2.4rem 1.5rem 0;
	height: auto;
}
.entry .wp-post-image-topcat {
	width: 50%;
	margin: 0 2.4rem 1.5rem 0;
    height: auto;
    float: left;
}
.entry img,
.comment img {
	width: auto;
	height: auto;
	margin-bottom: 5px;
   margin-top: 5px;
}
.entry .wp-caption {
	max-width: 100%;
	height: auto;
	text-align: center;
	margin: 1.5rem 0;
}
.entry .wp-caption-text {
	margin: 0 !important;
	padding: 0;
	font-size: 1.5rem;
	text-align: center;
}
.entry .alignleft {
	float: left;
	display: inline;
	margin: 1.5rem 3rem 1.5rem 0;
}
.entry .alignright	{
	float: right;
	display: inline;
	margin: 1.5rem 0 1.5rem 3rem;
}
.entry .aligncenter {
	margin: 1.5rem auto;
	display: block;
}

/* Gallery Styling */
.entry .gallery {
	margin: 1.5rem auto !important;
}
.entry .gallery-item {
	float: left;
	margin: 1rem 0 0 0 !important;
	padding-right: 1.5rem;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.entry .gallery img {
	margin: 0 !important;
	border: none !important;
}
.entry .gallery-caption {
	margin-left: 5px !important;
}

/* Make Vidoes responsive */
.entry embed,
.entry iframe,
.entry object,
.entry video {
	max-width: 100%;
}

/* Image.php Navigation */
.entry #image-nav {
	margin-bottom: 2.4rem;
	padding: 8px 0;
	color: #252525;
}
.entry #image-nav .nav-previous {
	float: left;
}
.entry #image-nav .nav-next {
	float: right;
}
.entry #image-nav .nav-previous a,
.entry #image-nav .nav-next a {
	font-size: 1.4rem;
	font-weight: bold;
	text-decoration: none;
	color: #252525;
	padding: 8px 1.2rem;
	border: 1px solid #e2e2e2;
	background: #f5f5f5;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
.entry #image-nav .nav-previous a:hover,
.entry #image-nav .nav-next a:hover {
	background: #fdfdfd;
	border: 1px solid #ccc;
}


/*============================ MEDIA QUERIES ============================*/

@media only screen and (max-width: 80em) {/*1280*/

	.entry .wp-post-image {
		width: 100%;
	}
	.entry .wp-post-image-topcat {
	width: 50%;
    }
}

/* Tablets (portrait) | <800px */
@media only screen and (max-width: 50em) {/*800*/

    .entry{
        font-size: 1.2rem;
    }

    .entry h1,
    .comment h1 {
        font-size: 2.4rem;
    }
    .entry h2,
    .comment h2 {
        font-size: 2rem;
    }
    .entry h3,
    .comment h3 {
        font-size: 1.6rem;
    }
    .entry h4,
    .comment h4 {
        font-size: 1.4rem;
    }
    .entry h5,
    .comment h5 {
        font-size: 1.2rem;
    }
    .entry h6,
    .comment h6 {
        font-size: 1rem;
        margin: 2rem 0 0;
    }

	.entry tr th,
	.entry thead th {
		padding: 6px;
	}
	.entry tr td {
		padding: 6px;
	}
}

/* Smartphones | <480px */
@media only screen and (max-width: 30em) {/*480*/

	.entry .alignright,
    .entry .alignleft {
		float: none;
		margin: 1.5rem 0;
	}
	.entry .wp-post-image {
		max-width: 100%;
		margin: 1.5rem 0 0;
	}
}