/*
Template:lightning
Theme Name:lightning_child
Theme URI:http://actsocks.com/
Description:lightning
Author:kurousa
Version:1.0
*/


body{
}

.widget .subSection-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: bold;
}


nav {
  font-size: 13px;
}


div#grid div#okinawa_matome {
  float: left;
  width: 220px;
  padding: 5px;
  text-align: left;
  margin: 10px;
}
div#okinawa_matome {
  -webkit-box-shadow: 3px 3px 5px 0px #777;
	-moz-box-shadow: 3px 3px 5px 0px #777;
	box-shadow: 3px 3px 5px 0px #777;
	-moz-border-radius: 5px;
  }
div#okinawa_matome {
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	overflow: hidden;
	white-space: nowrap;
	margin: 10px;
  }
  
#okinawa_matome h3 {
	font-size: 16px;
	text-align: center;
	font-weight: bold;
	background: #fff;
  }
  
div#okinawa_matome ul {
	margin: 0;
	padding: 0;
	text-align: center;
  }
  
div#okinawa_matome img {
	clip: rect(50px 300px 300px 60px);
	width: 180px;
	height: 130px;
	margin: 0;
	padding: 0;
	vertical-align: bottom;
	border: 1px solid #ffffff;
	text-align: center;
  }
.month-postList{
  flex-wrap:wrap;
  
  display: flex;
}
.month-media{
  min-width:150px;
  max-width:150px;
  flex-grow: 1;
  
  flex: 1;
  
  margin: 10px;
}
.month-media .month-media-heading {
  font-size: 1em;
  line-height: 1.3em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  font-weight: normal;
}


/*ギャラリーを無理やりカスタムしてみる*/

.portelement_1 {
  max-width: 200px;
  width: 100%;
  height: 205px;
  margin: 0px 0px 10px 0px;
  background: #f9f9f9;
  border: 1px solid #dedede;
  outline: none;
}


/*1個目の画像無理やりサムネをトリミング*/
.postList_thumbnails {
  margin-bottom: 0.5em;
  display: block;
  overflow: hidden;
  float: left;
  /*padding-right:30px;*/
}
.postList_all{
  width:160px;
  }
.media .postList_thumbnails img {
  border: 1px solid #fff;
}
.media .postList_thumbnails a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}
/* trimming */
.trim {
  object-fit: cover;
  width: 130px;
  height: 130px;
  background-color: #ccc;
  border: 1px solid #ccc;
}

@media (max-width: 767px) {
.media .postList_thumbnails {
	 /* padding-right: 20px;*/
	}
}
@media (max-width: 500px) {

.postList_thumbnails {
	  width: 110px;
	}
.media .postList_thumbnails img {
  border: 1px solid #fff;
}
.media .postList_thumbnails a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}
.trim {
  object-fit: cover;
  width: 90px;
  height: 90px;
  background-color: #ccc;
  border: 1px solid #ccc;
}
  }
  
/*全記事一覧のカスタム行ったぁ！*/


.date-temp{
  display: inline-block;
  margin:5px;
}

.date-archive{
  	  width:100%;
	  text-align:center;
	}
	
/*ポスト下バナー*/
.postend ul{
	list-style-type: none;
	padding-left: 0;
}
.postend li{
	padding:5px 10px;
}
.postend {
	display: flex;
	justify-content: center;
}
@media screen and (max-width: 700px) {
            .postend{
                 display: block;
            }
        }