/*!
Theme Name: VW-STORK
Theme URI: 
Author: Mori
Author URI: 
Description: 
Version: 1.0.0
License: 
License URI: 
Text Domain: vw-stork
Tags: 
*/

/**
 * レスポンシブページネーション設定
 */
.pagination{
	list-style-type: none;
	padding-left: 0;
	margin: 30px auto;
}
.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;
	}
}

/**
 * タイル表示設定
 */
.getPostDispAreaTile-gridsize,
.getPostTile {
    width:16%;
    padding: 5px 5px 5px 5px;
    margin: 10px 10px 10px 10px;
}
.getPostTile {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #ffffff;
}
.getPostStringAreaTile {
	line-height: 0.9em;
}
.getPostImgAreaTile img {
	object-fit: cover;
}
.getPostDateTile {
    font-size: 9pt;
    color: #8679b0;
}
.getPostCatTile {
    font-size: 8pt;
	color: #8679b0;
}
.getPostTitleTile {
    font-size: 12px;
	font-weight: bold;
}
.getPostContentTile {
    font-size: 8pt;
}

/* search */
.searchfield { 
	padding: 5px;
	margin-top: 10px;
	font-size: 14px;
	width: 150px;
}
.searchsubmit { 
	width: 35px;
	height: 30px;
	padding: 0;
	font-family: FontAwesome;
	font-size: 20px;	
	border: none;
	background: transparent;
	cursor: pointer;
}