@charset "utf-8";

/* = Content
-------------------------------------------------------------- */
.entry-content {
	font-size: 1.6rem;
	line-height: 2;
}
.entry-content a {
	color: #0066cc;
}
.entry-content p {
		margin: 2.5rem 0;
}
	.entry-content p.mb35rem {
		margin-bottom: 3.5rem;
	}
.entry-content hr {
	margin: 4rem 0;
	border: none;
	color: #FFF;
	border-top: 1px dashed #eee;
	height: 0;
	line-height: 0;
	background: none;
	padding: 0;
}
.entry-content h2, .entry-content h3, .entry-content h4 {
	color: #000;
	line-height: 1.3;
	margin: 4.5rem 0 2.5rem;
	clear: both;
}

.entry-content h2 {
	font-size: 2.5rem;
	background: #016ec2;
	color: #FFF;
	margin: 5.5rem 0 2.5rem;
	padding: 1.8rem 1.5rem;
	position: relative;
	border-left: 5px solid #000;
	position: relative;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
	.entry-content h2::before {
		content: '';
		display: block;
		left: 0;
		top: 0;
		min-height: 100%;
		z-index: 10;
		background: #FFF;
		width: 1px;
		position: absolute;
	}

.entry-content h3 {
	font-size: 2.2rem;
	border-bottom: 3px solid #ddd;
	padding-bottom: 5px;
}

.entry-content h4 {
	font-size: 1.9rem;
	margin: 4rem 0 2rem;
	padding-left: 1.4em;
	position: relative;
}
.entry-content h4:before {
	position: absolute;
	content: '';
	top: 0.15em;
	left: 0;
	width: 0.9em;
	height: 0.9em;
	margin: auto;
	background: #ddd;
	border-radius: 50%;
}

	.amazonjs_item .amazonjs_info h4::after {
		content: none;
	}
	.entry-content h4.noborder {
		border: none;
		content: none;
		padding-bottom: 0;
	}
		.entry-content h4.noborder::after,
		.entry-content .infobox h4::after {
			content: none;
		}

.entry-content span.bold {
	font-weight: bold;
	color: #310b00;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.entry-content span.red {
	color: #DF0101;
}
.entry-content span.underline {
	text-decoration: underline;
	color: #310b00;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.entry-content span.marker {
	background: linear-gradient(transparent 60%, rgba(255, 167, 0, 0.7) 60%);
	color: #310b00;
	font-weight: bold;
	padding: 3px 0 4px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.entry-content blockquote {
	color: #555;
	font-size: 1.7rem;
	font-weight: bold;
	margin: 4rem 0;
	padding: 0.5rem 2.5rem;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	position: relative;
	line-height: 1.65;
}
	.entry-content blockquote::before,
	.entry-content blockquote::after {
		content: "";
		display: inline-block;
		position: absolute;
		width: 3.5rem;
		height: 2.5rem;
	}
	.entry-content blockquote::before {
		background: url("../images/common/block_before.png") no-repeat scroll left top #FFF;
		background-size: contain;
		top: -1.2rem;
		left: -0.5rem;
	}
	.entry-content blockquote::after {
		background: url("../images/common/block_after.png") no-repeat scroll right bottom #FFF;
		background-size: contain;
		bottom: -1.2rem;
		right: -0.5rem;
	}

	.entry-content blockquote p {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		margin: 2rem 0;
	}
.entry-content blockquote small,
.entry-content blockquote small a {
	font-weight: normal;
	font-size: 11px;
	color: #888;
}

.instagram-media {
	max-width: 520px!important;
}
.twitter-tweet {
	width: 520px!important;
}
.entry-content blockquote.wp-embedded-content,
.entry-content blockquote.instagram-media,
.entry-content blockquote.twitter-tweet {
	border: 1px solid #eee;
	box-sizing: border-box;
}
.entry-content blockquote.wp-embedded-content::after,
.entry-content blockquote.wp-embedded-content::before,
.entry-content blockquote.instagram-media::after,
.entry-content blockquote.instagram-media::before,
.entry-content blockquote.instagram-media-registered::after,
.entry-content blockquote.instagram-media-registered::before,
.entry-content blockquote.twitter-tweet::after,
.entry-content blockquote.twitter-tweet::before {
	display: none!important;
}

.entry-content iframe.wp-embedded-content {
	width: 100%!important;
}
.entry-content .instagram-media {
	margin: 3.5rem 0!important;
}


.entry-content .infobox {
	background: #FDF9F5;
	margin: 2.5rem 0;
	padding: 1rem 2.5rem;
	line-height: 1.65;
}
	.entry-content .infobox h4 {
		margin: 1.5rem 0;
		font-size: 1.6rem;
		padding: 0;
		border: none;
	}
	.entry-content .infobox p {
		margin: 1.5rem 0;
		font-size: 1.5rem;
	}

.entry-content .ytsl-wrapper {
	margin: 4rem 0;
}
.entry-content .ytsl-wrapper img {
	display: none!important;
}

.entry-content img {
	height: auto!important;
}
.entry-content .imagebox br {
	display: none;
}
.entry-content .imagebox small,
.entry-content .imagebox small a {
	font-weight: normal;
	font-size: 11px;
	color: #888;
}



.entry-content ul {
	padding-left: 1.5em;
	margin: 2.5rem 0;
}
	.entry-content ul li {
		list-style: outside;
	}
.entry-content ol {
	padding-left: 1.5em;
	margin: 2.5rem 0;
}

.entry-content li {
	margin: 1em 0;
}

.entry-content ol li {
	list-style: decimal;
}

.entry-content .gallery-item .gallery-caption {
	line-height: 1.5;
	font-size: 1.3rem;
	padding: 0 0.5em;
}

/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-container img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 2.4rem;
	margin-top: 0.4rem;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 2.4rem;
	margin-top: 0.4rem;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 4.5rem;
}
.entry-content p.clear {
	padding-bottom: 0.5rem;
	margin: -2.5rem;
}
.wp-caption {
	background: #f1f1f1;
	margin-bottom: 2rem;
	max-width: 100% !important; /* prevent too-wide images from breaking layout */
	box-sizing: border-box;
	padding: 5px;
	text-align: center;
}
.wp-caption img {
	max-width: 100%;
	display: block;
}
.wp-caption p.wp-caption-text {
	color: #777;
	margin: 5px 0 0;
}

@media screen and (max-width: 480px) {

	img.alignleft, img.alignright, img.aligncenter {
		margin: 4rem auto 2rem auto;
		float: none;
		display: block;
	}
}