/*
	Theme Name: hinagata
	Theme URI: http://hinagata.thed.org/
	Author: th
	Author URI: http://thed.org/
	Text Domain: hinagata
	Version: 0.9.3
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, sticky-post, theme-options
	Description: hinagata theme want the user to be able to customize the web site in the dashboard.
*/

/* WordPress */
	.wp-caption {
		margin: 1em 0;
		overflow: hidden;
		zoom: 1;
		clear: both;
		max-width: 100%;
		height: auto;
	}

	.wp-caption-text,
	.gallery-caption {
		margin: 0;
		padding: 0 1em;
		border: none;
		text-align: center;
		font-size: smaller;
	}

	.alignleft {
		display: inline;
		margin: 0 2em 1em 0;
		text-align: left;
		clear: left;
		float: left;
	}

	.alignright {
		display: inline;
		margin: 0 0 1em 2em;
		text-align: right;
		clear: right;
		float: right;
	}

	.aligncenter {
		display: block;
		margin: 1em auto;
	}

	.bypostauthor,
	.sticky {
		background: rgba( 0, 0, 0, 0.05 );
	}

	body.custom-background {
		background: none;
	}

	.gallery {
		margin: 1em auto;
		overflow: hidden;
		zoom: 1;
		clear: both;
	}

		.gallery-item {
			float: left;
		}

		.gallery-columns-1 > .gallery-item { width: 99.9%; }
		.gallery-columns-2 > .gallery-item { width: 49.9%; }
		.gallery-columns-3 > .gallery-item { width: 33.3%; }
		.gallery-columns-4 > .gallery-item { width: 24.9%; }
		.gallery-columns-5 > .gallery-item { width: 19.9%; }
		.gallery-columns-6 > .gallery-item { width: 16.6%; }
		.gallery-columns-7 > .gallery-item { width: 14.2%; }
		.gallery-columns-8 > .gallery-item { width: 12.4%; }
		.gallery-columns-9 > .gallery-item { width: 11.1%; }

			.gallery-icon {
				text-align: center;
			}



/* reset */
	::selection { color: #fff;background: #000; }
	::-moz-selection { color: #fff;background: #000; }

	* {
		color: #808080;
		font-family: Arial, Helvetica, sans-serif;
		line-height: 1.6em;
		letter-spacing: 0.1em;
		word-spacing: 0.1em;
		word-wrap: break-word;
			-ms-word-wrap: break-word;
	}

	a, a * {
		color: #000;
		cursor: pointer;
		text-decoration: none;
	}

		a:hover, a:hover * {
			color: #808080;
			text-decoration: underline;
		}

		a img {
			border: none;
		}

		a:hover img {
			opacity:0.90;
				-webkit-opacity:0.90;
				-moz-opacity:0.90;
				-ms-opacity:0.90;
				-o-opacity:0.90;
				filter:alpha( opacity=90 );
		}

	p, dl, ul, ol, table {
		margin: 1em 0;
		padding: 0;
	}

	table {
		width: 100%;
		table-layout: fixed;
		border-spacing: 0;
		border-collapse: collapse;
	}

	dt {
		margin: 0;
		padding: 0;
	}

	dd {
		margin: 0 0 1em 0.8em;
		padding: 0 0 0 1em;
		border-left: 1px solid #ccc;
	}

	li {
		margin: 0 0 0 2em;
		padding: 0;
	}

	th, td {
		margin: 0;
		padding: 0.5em 1em;
		empty-cells: show;
		text-align: left;
		vertical-align: top;
	}

	th {
		border-bottom: 1px solid #666;
	}

	td {
		border-bottom: 1px solid #ccc;
	}

	h1, h2, h3, h4, h5, h6, dt, th, caption, strong,
	h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, dt *, th *, caption *, strong * {
		color:#000;
	}

	h1, h2, h3, h4, h5, h6,
	h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
		margin: 0;
		padding: 0;
		letter-spacing: 0.05em;
		word-spacing: 0.05em;
	}

	h1, h1 * { font-size: 2.0rem; }
	h2, h2 * { font-size: 1.8rem; }
	h3, h3 * { font-size: 1.6rem; }
	h4, h4 * { font-size: 1.4rem; }
	h5, h5 * { font-size: 1.2rem; }
	h6, h6 * { font-size: 1.0rem; }

		dd > p, dd > dl, dd > ul, dd > ol, dd > table,
		li > p, li > dl, li > ul, li > ol, li > table,
		th > p, th > dl, th > ul, th > ol, th > table,
		td > p, td > dl, td > ul, td > ol, td > table {
			margin: 0;
		}

		h1 + p, h1 + dl, h1 + ul, h1 + ol, h1 + table,
		h2 + p, h2 + dl, h2 + ul, h2 + ol, h2 + table,
		h3 + p, h3 + dl, h3 + ul, h3 + ol, h3 + table,
		h4 + p, h4 + dl, h4 + ul, h4 + ol, h4 + table,
		h5 + p, h5 + dl, h5 + ul, h5 + ol, h5 + table,
		h6 + p, h6 + dl, h6 + ul, h6 + ol, h6 + table {
			margin: 0 0 1em;
		}

	img, video, iframe, embed, object {
		max-width: 100%;
		height: auto;
		vertical-align: top;
	}

	nav, form {
		margin: 1em 0;
		padding: 0;
		width: 100%;
		display: inline-block;
	}

	textarea, input, select {
		margin: 1em 0;
		padding: 0 0.5em;
		width: auto;
		height: 2em;
		vertical-align: middle;
		background: rgba( 0, 0, 0, 0.05 );
		border-radius: 0.3em;
			-webkit-border-radius: 0.3em;
			-moz-border-radius: 0.3em;
			-ms-border-radius: 0.3em;
			-o-border-radius: 0.3em;
		box-sizing: border-box;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			-ms-box-sizing: border-box;
			-o-box-sizing: border-box;
	}

		textarea {
			display: block;
			height: auto;
		}

		input {
			vertical-align: middle;
		}

		input[type="submit"] {
			cursor: pointer;
			background: rgba( 0, 0, 0, 0.1 );
		}

			input[type="submit"]:hover {
				background: rgba( 0, 0, 0, 0.2 );
			}

			input[type="submit"]:active {
				background: rgba( 0, 0, 0, 0.05 );
			}

		select {
			padding: 0 0 0 0.5em;
		}

	sup, sub {
		height: 0;
		font-size: smaller;
		position: relative;
	}

		sup {
			bottom: 1ex;
		}

		sub {
			top: 0.5ex;
		}

	address, pre, blockquote {
		margin: 1em 0;
		padding: 1em 2em;
		white-space: pre-wrap;
		background: rgba( 0, 0, 0, 0.05 );
		border-radius: 0.3em;
			-webkit-border-radius: 0.3em;
			-moz-border-radius: 0.3em;
			-ms-border-radius: 0.3em;
			-o-border-radius: 0.3em;
	}

		address, pre {
			font-family: monospace;
		}

		blockquote, q, cite {
			font-family: serif;
		}

	q {
		quotes: '"' '"' "'" "'";
	}

		q:before {
			content: open-quote;
		}

		q:after {
			content: close-quote;
		}

	code, em {
		margin: 0 0.3em;
		padding: 0 0.3em;
		background: rgba( 0, 0, 0, 0.1 );
		border-radius: 0.3em;
			-webkit-border-radius: 0.3em;
			-moz-border-radius: 0.3em;
			-ms-border-radius: 0.3em;
			-o-border-radius: 0.3em;
	}

	hr {
		width: 0;
		height: 0;
		border: none;
		clear: both;
	}



/* layout */
	html {
		margin: 0;
		padding: 0;
		width: 100%;
		background: #ccc;
	}

		body {
			margin: 0;
			padding: 0;
			width: 100%;
			min-width:320px;
			background: linear-gradient( #fcfcfc 0%, #f0f0f0 100% );
				background: -webkit-gradient( linear, center top, center bottom, color-stop( 0.0, #fcfcfc ), color-stop( 1.0, #f0f0f0 ) );
				background: -moz-linear-gradient( #fcfcfc 0%, #f0f0f0 100% );
				background: -ms-linear-gradient( #fcfcfc 0%, #f0f0f0 100% );
				background: -o-linear-gradient( #fcfcfc 0%, #f0f0f0 100% );
		}

		* html body{
			overflow: hidden;
		}

			div#page {}

				div#page > header,
				div#page > main,
					div#page > footer > div.wrapper {
						margin: 0 auto;
						padding: 2em 0;
						max-width: 960px;
						min-width: 320px;
				}

				div#page > header,
				div#page > main {
					background: rgba( 255, 255,255, 0.9 );
				}

				div#page > footer {
					text-align: center;
					background: #ccc;
				}

					div.wrapper {}

						div.container {}

							div.content {
								margin: 0 auto;
								padding: 0 2em;
							}

								div#heading {}

								div#colophon {
									text-align: center;
								}

	article {
		margin: 0 0 2em;
		padding: 2em;
		border-radius: 0.3em;
			-webkit-border-radius: 0.3em;
			-moz-border-radius: 0.3em;
			-ms-border-radius: 0.3em;
			-o-border-radius: 0.3em;
	}

		article a, article a * {
			transition: 0.2s linear;
				-webkit-transition: 0.2s linear;
				-moz-transition: 0.2s linear;
				-ms-transition: 0.2s linear;
				-o-transition: 0.2s linear;
		}

			article:hover a, article:hover a * {
				color: red;
			}

		div.entry {}

			header.entry-header {}

			div.entry-main,
					nav.entry-navigation {
						overflow: hidden;
						zoom: 1;
			}

				div.entry-thumbnail {
					display: inline;
					float: left;
					margin: 1em 2em 1em 0;
				}

				div.entry-content {}

						div.nav-previous {
							width: 45%;
							float: left;
							text-align: left;
						}

						div.nav-next {
							width: 45%;
							float: right;
							text-align: right;
						}

			footer.entry-footer {
				text-align: right;
				font-size: smaller;
			}

	.comment, .trackback, .pingback {
		margin: 0.1em 0;
		padding: 2em;
		display: block;
		list-style-type: none;
		overflow: hidden;
		background: rgba( 0, 0, 0, 0.05 );
		border-radius: 0.3em;
			-webkit-border-radius: 0.3em;
			-moz-border-radius: 0.3em;
			-ms-border-radius: 0.3em;
			-o-border-radius: 0.3em;
	}

		.comment-author {
			display: inline;
			float: left;
		}

		.comment-body {
			padding: 0 0 0 1em;
			overflow: hidden;
		}

		.reply {
			clear: both;
		}

	/* navigation */
	h4#menu-toggle {
		display: none;
	}

	nav#site-navigation {
		margin: 1em 0;
		padding: 0;
		display: inline-block;
		position: relative;
		width: 100%;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}

		nav#site-navigation ul {
			margin: 0;
			padding: 0;
			float: left;
			list-style: none;
		}

			nav#site-navigation ul li {
				margin: 0;
				padding: 0;
				display: inline;
				position: relative;
				float: left;
			}

				nav#site-navigation ul li a {
					color: #808080;
					display: block;
					padding: 1em;
					line-height: 1em;
					border-bottom: 0.2em solid #fff;
					transition: 0.2s linear;
						-webkit-transition: 0.2s linear;
						-moz-transition: 0.2s linear;
						-ms-transition: 0.2s linear;
						-o-transition: 0.2s linear;
				}

				nav#site-navigation ul li:hover a {
					background: rgba( 240, 240, 240, 0.95 );
					border-bottom: 0.2em solid #ccc;
					box-shadow: 0.2em 0.2em 0.2em rgba( 0, 0, 0, 0.1 );
						-webkit-box-shadow: 0.2em 0.2em 0.2em rgba( 0, 0, 0, 0.1 );
						-moz-box-shadow: 0.2em 0.2em 0.2em rgba( 0, 0, 0, 0.1 );
						-ms-box-shadow: 0.2em 0.2em 0.2em rgba( 0, 0, 0, 0.1 );
						-o-box-shadow: 0.2em 0.2em 0.2em rgba( 0, 0, 0, 0.1 );
				}

				nav#site-navigation ul li:hover a:hover {
					color: #000;
					text-decoration: none;
					border-bottom: 0.2em solid #333;
				}

				nav#site-navigation ul li.current-menu-item > a {
					border-bottom: 0.2em solid #999;
				}

		nav#site-navigation ul li:hover > ul {
			display: block;
		}

		nav#site-navigation ul ul {
			display: none;
			position: absolute;
			top: 3.1em;
			left: 0;
			z-index: 1;
		}

			nav#site-navigation ul ul a {
				width: 10em;
			}

				nav#site-navigation ul ul ul {
					left: 12em;
					top: 0;
				}

	/* others */
	.page-numbers {
		margin: 0.1em;
		padding: 0.3em 0.6em;
		text-decoration: none;
		border: 1px solid #ccc;
		border-radius: 0.3em;
			-webkit-border-radius: 0.3em;
			-moz-border-radius: 0.3em;
			-ms-border-radius: 0.3em;
			-o-border-radius: 0.3em;
	}

		.page-numbers:hover, .page-numbers.current {
			background: rgba( 0, 0, 0, 0.05 );
		}

	.note-item {
		padding: 0 0 0 1em;
		text-indent: -1em;
		display: block;
	}

	.responsive_media {
		position: relative;
		height: 0;
		overflow: hidden;
	}

		.responsive_media iframe,
		.responsive_media video,
		.responsive_media embed,
		.responsive_media object {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
		}

	.block-wrapper {
		margin: 1em 0;
		overflow: hidden;
		zoom: 1;
		clear: both;
	}

		.block-1_2,
		.block-1_3, .block-2_3,
		.block-1_4, .block-2_4, .block-3_4,
		.block-1_5, .block-2_5, .block-3_5, .block-4_5,
		.block-1_6, .block-2_6, .block-3_6, .block-4_6, .block-5_6 {
			float: left;
		}

			.block-1_2 { width: 49.9%; }
			.block-1_3 { width: 33.3%; }
			.block-2_3 { width: 66.6%; }
			.block-1_4 { width: 24.9%; }
			.block-2_4 { width: 49.9%; }
			.block-3_4 { width: 74.9%; }
			.block-1_5 { width: 19.9%; }
			.block-2_5 { width: 39.9%; }
			.block-3_5 { width: 59.9%; }
			.block-4_5 { width: 79.9%; }
			.block-1_6 { width: 16.6%; }
			.block-2_6 { width: 33.3%; }
			.block-3_6 { width: 49.9%; }
			.block-4_6 { width: 66.6%; }
			.block-5_6 { width: 83.3%; }

				.block-container {
					padding: 0.5em;
				}



/* widget */
	.widget {
		margin: 0;
	}

		.widget p, .widget dl, .widget ul, .widget ol, .widget table {
			margin: 0;
		}

		.widget_title {
			color: #000;
		}

	/* calendar */
	.widget_calendar {
	}

		.widget_calendar a {
			display: block;
			width: 100%;
			height: 100%;
		}

		.widget_calendar th,
		.widget_calendar td {
			text-align: center;
		}

		.widget_calendar td {
			color: #ccc;
			text-shadow: 0.1em 0.1em 0.1em rgba( 0, 0, 0, 0.05 );
				-webkit-text-shadow: 0.1em 0.1em 0.1em rgba( 0, 0, 0, 0.05 );
				-moz-text-shadow: 0.1em 0.1em 0.1em rgba( 0, 0, 0, 0.05 );
				-ms-text-shadow: 0.1em 0.1em 0.1em rgba( 0, 0, 0, 0.05 );
				-o-text-shadow: 0.1em 0.1em 0.1em rgba( 0, 0, 0, 0.05 );
		}

			.widget_calendar tfoot td.pad,
			.widget_calendar td#prev,
			.widget_calendar td#next {
				border: none;
			}

				.widget_calendar td#today {
					background: rgba( 0, 0, 0, 0.05 );
				}

				.widget_calendar td#prev {
					text-align: left;
				}

				.widget_calendar td#next {
					text-align: right;
				}



/* media queries */
	@media screen and ( max-width: 480px ) {
		html {
			zoom: 0.9;
		}

		.content {
			padding: 0 1em;
		}

			#site-title,
			#site-description,
			#site-image {
				margin: 0;
				text-align: center;
			}

			article {
				padding: 1em;
			}

		/* default css navigation */
		div#page.switch {
			overflow: hidden;
		}

		div#page.height0 {
			height: 0;
		}

		h4#menu-toggle {
			position: fixed;
			top: 0;
			left:0;
			width: 100%;
			font-size: 1rem;
			padding: 0.5rem 0;
			color: #fff;
			background: #000;
			text-align: center;
			display: block;
			cursor: pointer;
			z-index: 1;
		}

		nav#site-navigation {
			margin: 0;
			padding: 0;
			position: fixed;
			top: 2rem;
			left: -100%;
			width: 100%;
			min-height: 100%;
			background: #333;
			transition: 0.2s linear;
				-webkit-transition: 0.2s linear;
				-moz-transition: 0.2s linear;
				-ms-transition: 0.2s linear;
				-o-transition: 0.2s linear;
		}

		div#page.switch nav#site-navigation {
			left: 0;
		}

		div#page.switch nav#site-navigation.positionabsolute {
			position: absolute;
		}

			nav#site-navigation ul {
				float: none;
			}

				nav#site-navigation ul li {
					display: block;
					position: static;
					float: none;
					border-top: 1px dotted #ccc;
				}

					nav#site-navigation ul li a {
						margin: 0.2em 0;
						border: none;
					}

						nav#site-navigation ul li a: before {
							content: "> ";
						}

					nav#site-navigation ul li:hover a {
						background: none;
						border: none;
						box-shadow: none;
							-webkit-box-shadow: none;
							-moz-box-shadow: none;
							-ms-box-shadow: none;
							-o-box-shadow: none;
					}

					nav#site-navigation ul li:hover a:hover,
					nav#site-navigation ul li.current-menu-item > a {
						color: #fff;
						border: none;
					}

			nav#site-navigation ul ul {
				margin: 0 0 0 2em;
				display: block;
				position: static;
				top: auto;
				left: auto;
				z-index: auto;
			}

				nav#site-navigation ul ul a {
					width: auto;
					box-shadow: none;
						-webkit-box-shadow: none;
						-moz-box-shadow: none;
						-ms-box-shadow: none;
						-o-box-shadow: none;
				}

					nav#site-navigation ul ul ul {
						left: auto;
						top: auto;
					}
	}
