/*
Theme Name: tibori.2015
*/

html {
	margin: 0;
	padding: 0;
}

body {
	line-height: 1.8em;
	font-size: 14px;
	background-color: #F7F7F7;
	/*
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
	*/
}

body::before {
    content: '';
    will-change: transform;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    position: fixed;
}

body .demo-blog {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}

img {
	max-width: 100%;
	height: auto;
}


.mdl-layout {
	height: auto;
}

main {
	max-width:1300px;
	margin: 0 auto;
	padding: 0 4%;
	width: 92%;
}

.demo-blog__posts {
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 72%;
  float: left;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.page .demo-blog .demo-blog__posts,
.single-3dcg .demo-blog .demo-blog__posts {
	width: 100%;
	max-width: 100%;
}

blockquote {
	background-color: #f7f7f7;
	padding: 10px 15px;
	border: 1px solid #cecccc;
	margin-left: 0;
	margin-right: 0;
}

blockquote:before,
blockquote:after {
	content: "";
	display: none;
}

blockquote p {
	margin: 16px 0;
}

.wp-block-image {
	margin-left: 0;
	margin-right: 0;
}

figure {
	margin-left: 0;
	margin-right: 0;
}

.wp-block-image img {
	margin-left: 0;
	margin-right: 0;
}

/* ************************************************************************
	
								header
	
************************************************************************** */

header {
	width: 96%;
	padding: 10px 2%;
}

header a {
	text-decoration: none;
color: #999;
font-weight: normal;
letter-spacing: 0.08em
}

.logo {
	text-align: center;
	font-size: 16px;
	margin: 15px 0 25px;
}

.logo_img {
	display: block;
}

.logo_img img {
	width: 60px;
	margin-bottom: 5px;
	opacity: 0.4;
}


.header_menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}

.header_menu ul li {
	display: inline-block;
	font-size: 13px;
	margin-left: 28px;
	margin-right: 28px;
	line-height: 1.6em;
}

/* ************************************************************************
	
								sidebar
	
************************************************************************** */
.sidebar {
	float: right;
	width: 21.2%;
	box-shadow: 0 0 4px rgba(0,0,0,0.08);
	border-radius: 5px;
	background-color: #FFF;
	padding: 2%;
}

.sidebar h2 {
	font-size: 20px;
	color: rgb(97, 97, 97);
	margin-bottom: 10px;
	line-height: 1.4em;
	margin: 25px 0 5px;
}

.widget:first-child h2 {
	margin-top: 0;
}

.sidebar label {
	display: none;
}

.widget ul {
	padding-left: 7px;
	list-style: none;
	margin-top: 0;
}

.widget ul li {
	color: #ccc;
	font-size: 13px;
	line-height: 1.4em;
	margin-bottom: 3px;
}

.widget ul a {
	text-decoration: none;
	color: #999;
	-webkit-transition: color 0.4	s linear;
}

.widget ul a:hover {
	color: #ffab40;
}

.tagcloud a,
.st-tag-cloud a {
	text-decoration: none;
	display: inline-block;
	border: 1px solid #eee;
	color:#999;
	font-weight: normal;
	font-size: 12px !important;
	border-radius: 15px;
	margin-right: 4px;
	margin-bottom: 4px;
	padding: 1px 7px;
	-webkit-transition: background-color 1s linear;
}

.tagcloud a:hover,
.st-tag-cloud a:hover {
	background-color: #CCC;
	color: #FFF;
}

.demo-blog.mdl-layout .mdl-layout__content {
  padding-top: 10px;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.demo-blog .mdl-card__title {
  padding: 16px;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

input#s {
	padding: 5px 4px;
	width: 75%;
	border-radius: 2px;
	border: 1px solid #ddd;
}

/* ************************************************************************
	
								footer
	
************************************************************************** */
footer {
	clear: both;
}

.mdl-mini-footer--left-section a {
	font-size: 0;
}

/* ************************************************************************
	
								index
	
************************************************************************** */

.demo-blog .mdl-card {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	  -ms-flex-direction: column;
		  flex-direction: column;
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	  -ms-flex-align: stretch;
		  align-items: stretch;
	min-height: 360px;
	box-shadow: 0 0 4px rgba(0,0,0,0.15);
	border-radius: 5px;
	width: 100%;
}

.mdl-cell {
	margin: 0 0 30px;
}

.demo-blog .mdl-card__media {
	position: relative;
	overflow: hidden;
	height:260px;
	box-sizing: border-box;
	background-size: cover;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	  -ms-flex-positive: 1;
		  flex-grow: 1;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	  -ms-flex-direction: row;
		  flex-direction: row;
	-webkit-box-align: end;
	-webkit-align-items: flex-end;
	  -ms-flex-align: end;
		  align-items: flex-end;
	cursor: pointer;
}

.demo-blog .mdl-card__media a,
.demo-blog .mdl-card__title a {
  color: inherit;
}

.contents_thumbnail {
	width: 100%;
	bottom: -80px;
	position: absolute;
}

.contents_thumbnail img {
	width: 100%;
}

.contents_title {
	position: absolute;
	bottom: 6px;
	left: 15px;
	font-size: 24px;
	text-shadow: 1px 1px 6px #999; 
}
.mdl-card__supporting-text a p {
	color: #666;
	text-decoration: none;
}

/* *******************

		pager

* ********************/
.navigation {
	width: 100%;
	overflow: hidden;
}

.pager_menu a {
	text-decoration: none;
	color: #999;
}

.pager_prev {
	float: left;
}

.pager_next {
	float: right;
}


/* ************************************************************************
	
								Single
	
************************************************************************** */
article .mdl-card__media {
	background-color: #CCC;
}

.single_contents {
	padding: 4%;
	border-top: 1px solid #eee;
}

.single_contents img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.single_contents h2 {
	border-bottom: 1px dotted #000;
	color: #333;
	padding: 6px 0;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2em;
	margin-top: 45px;
	margin-bottom: 14px !important;
}

.single_contents h3 {
	color: #333;
	font-size: 16px;
	border-bottom: 1px dotted #999;
	padding-bottom: 2px;
	font-weight: bold;
	line-height: 1.2em;
	margin-bottom: 14px !important;
}

.hatenablogcard{
  clear:both;
  width:100%;
  height:155px;
  margin:10px 0;
  max-width:680px;
}

.single_contents table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
}

.single_contents table th {
	border: 1px solid #ddd;
	background-color: #f7f7f7;
	text-align: left;
	padding: 5px 10px;
	min-width: 6em;
}

.single_contents table td {
	border: 1px solid #ddd;
	padding: 5px 10px;
}

iframe {
	max-width: 100%;
}

/* ************************************************************************
	
								Comment
	
************************************************************************** */
.comment_area {
	background-color: #EEE;
	padding: 4%;
}

.comment_area h3 {
	border-bottom: 1px solid rgba(0,0,0,.12);
	display: block;
	font-size: 16px;
	color: rgb(97, 97, 97);
	line-height: 1.4em;
	margin-bottom: 10px;
}

ol.commets-list {
	padding-left: 25px;
}

.comment_area p {
	margin-bottom: 0;
	color: #444;
	line-height: 1.5em;
}

.comment_area .reply {
	margin-bottom: 20px;
}

.comment-form-comment label {
	display: none;
}

textarea#comment {
	width: 100%;
	border: 1px solid #CCC;
	background-color: rgba(255,255,255,0.8);
}

#respond p label {
	min-width: 8em;
	display: inline-block
}

.comment-reply-title {
	margin-bottom: 3px;
}

#respond p input {
	padding: 4px 5px;
}

div.sharedaddy h3.sd-title {
	margin-top: 80px !important;
	display: block !important;
}

div.sharedaddy h3.sd-title:before {
	border: none !important;
}

#jp-relatedposts h3.jp-relatedposts-headline {
	display: block !important;
	float: none !important;
}

#jp-relatedposts h3.jp-relatedposts-headline em:before {
	border: none !important;
}

/* ************************************************************************
	
								page
	
************************************************************************** */

.page img {
	display: inline-block;
}


.mdl-card {
	font-size: 14px;
}


.demo-blog .mdl-card__supporting-text {
  width: 96%;
  padding: 2%;
  min-height: 64px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid #eee;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.demo-blog .mdl-card__supporting-text strong {
  font-weight: 400;
}
.demo-blog .mdl-card__media ~ .mdl-card__supporting-text {
  min-height: 64px;
}
.demo-blog .mdl-card__supporting-text:not(:last-child) {
  box-sizing: border-box;
  min-height: 76px;
}
.demo-blog:not(.demo-blog--blogpost) .mdl-card__supporting-text ~ .mdl-card__supporting-text {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.demo-blog .mdl-card__actions:first-child {
  margin-left: 0;
}
.demo-blog .meta {
  box-sizing: border-box;
  padding: 16px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  height: auto;
}
.demo-blog .meta > .meta__favorites{
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  margin: 0 8px;
  font-size: 13px;
  font-weight: 500;
}
.demo-blog .meta > .meta__favorites .material-icons {
  font-size: 2em;
  cursor: pointer;
  margin-left: 12px;
}
.demo-blog .mdl-card .meta.meta--fill {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.demo-blog .meta > *:first-child {
  margin-right: 16px;
}
.demo-blog .meta > * {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
.demo-blog.is-small-screen .demo-blog__posts > .mdl-card.coffee-pic {
  -webkit-box-ordinal-group: 1;
  -webkit-order: 0;
      -ms-flex-order: 0;
          order: 0;
}
.demo-blog.is-small-screen .demo-blog__posts > .mdl-card.something-else {
  -webkit-box-ordinal-group: 0;
  -webkit-order: -1;
      -ms-flex-order: -1;
          order: -1;
}
.demo-blog .coffee-pic .mdl-card__media {
  background-image: url('images/coffee.jpg');
}
.demo-blog .something-else .mdl-card__media {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.demo-blog .something-else > button {
  position: absolute;
  top: 0;
  right: 28px;
  -webkit-transform: translate(0px, -28px);
      -ms-transform: translate(0px, -28px);
          transform: translate(0px, -28px);
}
.demo-blog .something-else .mdl-card__media {
  font-size: 13px;
  font-weight: 500;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.demo-blog .something-else .mdl-card__media img {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
}
.demo-blog .something-else .mdl-card__supporting-text {
  background-color: #F5F5F5;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}
.demo-blog .on-the-road-again .mdl-card__media {
}
.demo-blog .shopping .mdl-card__media {
}
.demo-blog .demo-blog__posts > .demo-nav {
  margin: 12px 15px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: white;
  font-weight: 500;
}
.demo-blog .demo-blog__posts > .demo-nav > .demo-nav__button {
  color: white;
  text-decoration: none;
}
.demo-blog .demo-blog__posts > .demo-nav .mdl-button {
  color: rgba(0,0,0,0.54);
  background-color: white;
}
.demo-blog .demo-blog__posts > .demo-nav > .demo-nav__button:first-child .mdl-button {
  margin-right: 16px;
}
.demo-blog .demo-blog__posts > .demo-nav > .demo-nav__button:last-child .mdl-button {
  margin-left: 16px;
}
.demo-blog .mdl-card > a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
.demo-blog .mdl-card h3 {
  margin: 0;
}
.demo-blog .mdl-card h3 a {
  text-decoration: none;
}
.demo-blog .mdl-card h3.quote:before, .demo-blog .mdl-card h3.quote:after {
  display: block;
  font-size: 3em;
  margin-top: 0.5em;
}
.demo-blog .mdl-card h3.quote:before {
  content: '“';
}
.demo-blog .mdl-card h3.quote:after {
  content: '”';
}
.demo-blog--blogpost .custom-header {
  background-color: transparent;
}
.demo-blog--blogpost .demo-blog__posts > .mdl-card .mdl-card__media {
  background-image: url('images/road_big.jpg');
  height: 280px;
}
.demo-blog--blogpost .comments {
  background-color: #EEE;
}
.demo-blog--blogpost .meta > * {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.demo-blog--blogpost .meta + .mdl-card__supporting-text {
  border: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
.demo-blog--blogpost .meta + .mdl-card__supporting-text p {
  max-width: 512px;
  margin: 16px auto;
  font-size: 16px;
  line-height: 28px;
}

.demo-blog--blogpost .comments {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  padding: 32px;
  box-sizing: border-box;
}
.demo-blog--blogpost .comments > form {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-diretion: row;
  margin-bottom: 16px;
}
.demo-blog--blogpost .comments > form .mdl-textfield {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  margin-right: 16px;
  color: rgb(97, 97, 97);
}
/* Workaround for Firefox.
 * User agent stylesheet kept overwriting the font in FF only.
 */
.demo-blog--blogpost .comments > form .mdl-textfield .mdl-textfield__input {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}
.demo-blog--blogpost .comments > form .mdl-textfield input,
.demo-blog--blogpost .comments > form .mdl-textfield textarea {
  resize: none;
}
.demo-blog--blogpost .comments > form button {
  margin-top: 20px;
  background-color: rgba(0, 0, 0, 0.24);
  color: white;
}
.demo-blog--blogpost .comments .comment {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.demo-blog--blogpost .comments .comment > .comment__header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 16px;
}
.demo-blog--blogpost .comments .comment > .comment__header > .comment__avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  margin-right: 16px;
}
.demo-blog--blogpost .comments .comment > .comment__header > .comment__author {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
.demo-blog--blogpost .comments .comment > .comment__text {
  line-height: 1.5em;
}
.demo-blog--blogpost .comments .comment > .comment__actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 0.8em;
  margin-top: 16px;
}
.demo-blog--blogpost .comments .comment > .comment__actions button {
  margin-right: 16px;
  color: rgba(0, 0, 0, 0.24);
}
.demo-blog--blogpost .comments .comment > .comment__answers {
  padding-top: 32px;
  padding-left: 48px;
}

.demo-blog--blogpost .demo-back {
  position: absolute;
  top: 16px;
  left: 16px;
  color: white;
  z-index: 9999;
}
.demo-blog .section-spacer {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.demo-blog .something-else {
  overflow: visible;
  z-index: 10;
}
.demo-blog .amazing .mdl-card__title {
  background-color: #263238;
}
.demo-blog .minilogo {
  width: 44px;
  height: 44px;
  background-image: url('images/avatar.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  border-radius: 22px;
  background-color: #F5F5F5;
}

/* Fixes for IE 10 */
.mdl-grid {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.social-btn {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  margin: 0 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.46;
  border-radius: 2px;
}
.social-btn__twitter {
  background-image: url('https://www.gstatic.com/images/icons/material/system/2x/post_twitter_black_24dp.png');
}
.social-btn__blogger {
  background-image: url('https://www.gstatic.com/images/icons/material/system/2x/post_facebook_black_24dp.png');
}
.social-btn__gplus {
  background-image: url('https://www.gstatic.com/images/icons/material/system/2x/post_gplus_black_24dp.png');
}
.social-btn__share {
  color: rgba(0, 0, 0, 0.54);
  background: transparent;
}

.demo-blog .mdl-mini-footer {
  margin-top: 80px;
  height: 120px;
  padding: 40px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: white;
  box-sizing: border-box;
}



@media screen and (max-width: 1300px) {
	
	.contents_thumbnail {
		bottom: -130px;
	}
}


@media screen and (max-width: 1000px) {
	
	.contents_thumbnail {
		bottom: -30px;
	}
}

@media screen and (max-width: 760px) {
	
	
	.demo-blog__posts {
		float: none;
		width: 100%;
	}
	
	.sidebar {
		margin-top: 40px;
		float: none;
		width: 92%;
		padding: 2% 4%;
	}
	
	.demo-blog .mdl-card__media {
		height: 140px;
	}
	
	.contents_thumbnail {
		bottom: -90px;
	}
	
	.header_menu ul li {
		margin-left: 15px;
		margin-right: 15px;
	}
	
}
