/*
Theme Name: Boulangerie Bonheur
Theme URI:
Description: This is Boulangerie Bonheur theme.
*/


/* ---------------------------------------------

               各ページテーマ

---------------------------------------------- */


.stop { clear: both;}


p.pagenation {
  font-size: 0.75em;
  overflow: hidden;
}
@media screen and (max-width: 800px) {		
	p.pagenation { margin: 0 20px;}
}
@media screen and (max-width: 480px) {		
	p.pagenation { margin: 10px 10px 0;}
}
span.oldpage {float: left}

span.newpage {float: right}

p.postcat {
	float: left;
	width: 50%
}  
  
p.postcat a {
  background-color: #a7d043;
  border-radius: 2px;
  color: #fff;
  padding: 1px 5px;
}

p.postinfo {
  color: #0c8bcd;
  margin: 0;
  float: right;
  font-size: 13px;
  width: 50%;
   text-align: right;
}


/*---記事ないの画像---*/
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px
}

.alignright {
  float: right;
  margin-left: 10px;
  margin-bottom: 10px
}

.wp-caption,
body#tinymce .wp-caption  {
  /*border: solid 1px #aaa;*/
  text-align: center;
  padding-top: 5px;
  margin-bottom: 15px;
  background: #f5f5f5;
	box-shadow: 0 0 3px #bbb;
	-moz-box-shadow: 0 0 3px #bbb;
	-webkit-box-: 0 0 3px #bbb;
}

	section.gallerySection div.wp-caption {
		width: 300px!important;
	}
	
		section.gallerySection div.wp-caption a,
		body#tinymce .wp-caption-dt a, {
			display: block;
			text-align:center;
			height: 218px;
			overflow-y: hidden;
			background: #333;
		}
	
		section.gallerySection div.wp-caption img,
		body#tinymce .wp-caption-dt img {
			width: auto;
			height: 218px;
		}
			body#tinymce .wp-caption-dt img.img00 {/*例外*/
				width: initial!important;
				width: auto!important;
				height: initial!important;
				height: auto!important;
			}

.wp-caption-text,
body#tinymce .wp-caption-dd {
	margin: 0 5px!important;
	padding: 5px 0;
	line-height: 120%;
	height: 40px;
	font-size: 12px;
	text-align: left;
}

	@media screen and (max-width: 480px) {
		.aligncenter {
		}
		
		.alignleft {
		  float: none;
		  margin-right: 0;
		  /*margin-bottom: 10px;*/
		}
		
		.alignright {
		  float: none;
		  margin-left: 0;
		  /*margin-bottom: 10px;*/
		}
		
		.wp-caption {
			padding-top: 0;
			border: none;
			max-width: 100%;
		}
		
		.aligncenter img, .alignleft img, .alignright img, div.postBoxInner p img {
			width: 100%!important;
			height: auto;
		}
		.wp-caption-text {
			margin: 0;
			width: 100%;
		}
	}

/*-----カレンダー------*/

table#wp-calendar {
	margin: 1em 0;
	border: 1px solid #ccc;
	background-color: #fff;
}

#wp-calendar {
	margin: 0 0 5px;
	border-color: #ddd;
	width: 100%;
}
#wp-calendar th,
#wp-calendar td {
	padding: 0;
	line-height: 1.8;
	font-size: 85%;
	text-align: center;
}

#wp-calendar th {
	line-height: 2;
	font-weight: normal;
	background-color:#eee;	
}

#wp-calendar td {
	color: #888;
	padding: 0;
	width: 14%;
	border-right:1px solid #eee;
	border-bottom:1px solid #eee;
}

#wp-calendar td a {
	display: block;
	font-weight: bold;
	text-decoration: none;
	color: #666;
	background-color: #eee;
}

#wp-calendar td a:hover {
	color: #000;
	background-color: #bbb;
}


/*　コメント　*/
#comments {
	border: solid 1px #cfcfcf;
	background-color: #fcfcfc;
	padding:0 18px;
	margin: 20px auto;
	width:600px;
}

#comments h3 {
	font-size:13px;
	border-bottom: solid 1px #cfcfcf;
	padding-bottom: 3px;
	margin-top: 20px;
	text-align: left;
}

#comments p { font-size: 12px; }

#comments p a { color: #0c8bcd; }

#comments input, #comments textarea { display: block; }

#comments textarea { width: 450px }

#comments .required { color: red; }

#comments code {
	display: block;
	margin-top: 5px;
	font-size: smaller;
}

#comments ul {
	margin:0;
	padding: 0;
}

#comments li.compost {
	list-style: none;
	border-bottom: dotted 1px #0c8bcd;
	margin-bottom: 20px;
}

#comments p.cominfo { text-align: right;}

#comments #comfeed a {
	background-image: url(img/feed-icon-12x12.png);
	background-repeat: no-repeat;
	background-position: 0 50%;
	padding-left: 17px;
	line-height: 1em;
	color: #000;
	text-decoration: none;
}

#comments #comfeed {
	background-color: #a7d043;
	padding: 8px;
	margin-top: 30px;
}

#comments #trurl {
	background-color: #dfdfdf;
	padding: 8px;
	margin-bottom: 30px;
}

