
/*** ------------------------------------------------------------------------------ 

WP

-----------------------------------------------------------------------------  ***/

/*
Theme Name: EXAM
Description: Used to style the TinyMCE editor.
*/


/**
 * Table of Contents:
 *
 * 1.0 - Body
 * 2.0 - Headings
 * 3.0 - Text Elements
 * 4.0 - Links
 * 5.0 - Alignment
 * 6.0 - Tables
 * 7.0 - Images
 * 8.0 - Galleries
 * 9.0 - Audio/Video
 * 10.0 - Post Formats
 * 11.0 - RTL
 * ----------------------------------------------------------------------------
 */


/**
 * 1.0 Body
 * ----------------------------------------------------------------------------
 *//*

html .mceContentBody {
	max-width: 680px;
}

body {
	color:#333;
	line-height: 1.6;
	font-size: 12px;
	font-family: Meiryo, "メイリオ", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ Pro W3", MS PGothic, "ＭＳ Ｐゴシック", Osaka;
}
*/

/**
 * 2.0 Headings
 * ----------------------------------------------------------------------------
 */
.article-post {
	font-size: 16px;
	word-break: break-all;
}
@media screen and (max-width: 737px){
	.article-post{
		padding:0 10px;
		margin:0 0 30px;
	}
}
/*
.article-post h1 {
	text-align: center;
	font-size: 32px;
	color: #000000;
	font-weight: bold;
	margin: 0 0 50px;
}

.article-post h2{
	text-align: center;
	font-size: 32px;
	color: #000000;
	font-weight: bold;
	margin: 0 0 50px;
}
.article-post h3 {
	color: #000000;
	background: #EEE;
	border-left: 5px solid;
	padding: 5px 0 3px 15px;
	font-size: 20px;
	margin: 50px 0 40px;
	font-weight: bold;
}

.article-post h4 {
	font-size: 18px;
	font-weight: bold;
}

.article-post h5 {
	font-size: 16px;
	font-weight: bold;
}
.article-post h6 {
	font-size: 14px;
	font-weight: bold;
}
*/
@media screen and (max-width: 737px){
    /*
	.article-post h2{
		font-size: 24px;
		margin: 0 10px 20px;
	}
	.article-post h2:after,
	.article-post h2:before{
		content: "-";
		display: inline-block;
		padding: 0 5px;
	}
	.article-post h3{
		font-size: 18px;
	}
    */
}
/**
 * 3.0 Text Elements
 * ----------------------------------------------------------------------------
 */

.article-post address {
	font-style: italic;
	margin-bottom: 24px;
}

.article-post abbr[title] {
	border-bottom: 1px dotted #2b2b2b;
	cursor: help;
}

.article-post b,
.article-post strong {
	font-weight: 700;
}

.article-post cite {
	border: 0;
}

.article-post cite,
.article-post dfn,
.article-post em,
.article-post i {
	font-style: italic;
}

.article-post mark,
.article-post ins {
	background: #fff9c0;
	border: 0;
	color: inherit;
	text-decoration: none;
}

.article-post p {
	margin:0 0 2em;
	padding:0;
}

.article-post code,
.article-post kbd,
.article-post tt,
.article-post var,
.article-post samp,
.article-post pre {
	font-family: monospace, serif;
	font-size: 15px;
	line-height: 1.6;
}

.article-post pre {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 24px;
	max-width: 100%;
	overflow: auto;
	padding: 12px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.article-post blockquote,
.article-post q {
	quotes: none;
}

.article-post blockquote:before,
.article-post blockquote:after,
.article-post q:before,
.article-post q:after {
	content: "";
	content: none;
}

.article-post blockquote {
	color: #767676;
	font-size: 19px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.2631578947;
	margin: 0 0 24px;
}

.article-post blockquote cite,
.article-post blockquote small {
	color: #2b2b2b;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.article-post blockquote em,
.article-post blockquote i,
.article-post blockquote cite {
	font-style: normal;
}

.article-post blockquote strong,
.article-post blockquote b {
	font-weight: 400;
}

.article-post small {
	font-size: smaller;
}

.article-post big {
	font-size: 125%;
}

.article-post sup,
.article-post sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

.article-post sup {
	bottom: 1ex;
}

.article-post sub {
	top: .5ex;
}

.article-post dl {
	margin: 0 0 24px;
}

.article-post dt {
	font-weight: bold;
}

.article-post dd {
	margin: 0 0 24px;
}

.article-post ul,
.article-post ol {
	list-style: none;
	margin: 0 0 24px 20px;
	padding-left: 0;
}

.article-post ul {
	list-style: disc;
}

.article-post ol {
	list-style: decimal;
}

.article-post li > ul,
.article-post li > ol {
	margin: 0 0 0 20px;
}

.article-post del {
	color: #767676;
}

.article-post hr {
	background-color: rgba(0, 0, 0, 0.1);
	border: 0;
	height: 1px;
	margin-bottom: 23px;
}


/**
 * 4.0 Links
 * ----------------------------------------------------------------------------
 */
.article-post a{
	outline:none;
	-webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
}
.article-post a:link {
	color: #0074b9;
	text-decoration: none;
}
.article-post a:visited {
	color: #0074b9;
	text-decoration: none;
}
.article-post a:hover {
	color: #0074b9;
	text-decoration:underline;
}
.article-post a:active {
	color: #0074b9;
	text-decoration:underline;
}


/**
 * 5.0 Alignment
 * ----------------------------------------------------------------------------
 */

.article-post .alignleft {
	float: left;
	margin: 7px 24px 7px 0;
}

.article-post .alignright {
	float: right;
	margin: 7px 0 7px 24px;
}

.article-post .aligncenter {
	clear: both;
	display: block;
	margin: 7px auto;
}

.article-post blockquote.alignleft,
.article-post blockquote.alignright {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 17px;
	width: 50%;
}

.article-post blockquote.alignleft p,
.article-post blockquote.alignright p {
	margin-bottom: 17px;
}


/**
 * 6.0 Tables
 * ----------------------------------------------------------------------------
 */

.article-post .mceItemTable {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-width: 1px 0 0 1px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 14px;
	line-height: 1.2857142857;
	margin-bottom: 24px;
	width: 100%;
}

.article-post .mceItemTable th,
.article-post .mceItemTable caption {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-width: 0 1px 1px 0;
	font-weight: 700;
	padding: 8px;
	text-align: left;
	text-transform: uppercase;
	vertical-align: baseline;
}

.article-post .mceItemTable td {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-width: 0 1px 1px 0;
	font-family: Lato, sans-serif;
	font-size: 14px;
	padding: 8px;
	vertical-align: baseline;
}


/**
 * 7.0 Images
 * ----------------------------------------------------------------------------
 */

.article-post img {
	height: auto;
	max-width: 730px;
	vertical-align: middle;
}
@media screen and (max-width: 737px){
	.article-post img {
		max-width: 100%;
	}
}

.article-post .wp-caption {
	background: transparent;
	border: none;
	color: #767676;
	margin: 0 0 24px 0;
	max-width: 474px;
	padding: 0;
	text-align: left;
}

.article-post .html5-captions .wp-caption {
	padding: 0;
}

.article-post .wp-caption.alignleft {
	margin: 7px 14px 7px 0;
}

.article-post .html5-captions .wp-caption.alignleft {
	margin-right: 24px;
}

.article-post .wp-caption.alignright {
	margin: 7px 0 7px 14px;
}

.article-post .wp-caption.alignright img,
.article-post .wp-caption.alignright .wp-caption-dd {
	padding-left: 10px;
}

.article-post .html5-captions .wp-caption.alignright {
	margin-left: 24px;
}

.article-post .html5-captions .wp-caption.alignright img,
.article-post .html5-captions .wp-caption.alignright .wp-caption-dd {
	padding: 0;
}

.article-post .wp-caption.aligncenter {
	margin: 7px 0;
}

.article-post .wp-caption-dt {
	margin: 0;
}

.article-post .wp-caption .wp-caption-text,
.article-post .wp-caption-dd {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 12px;
	font-style: italic;
	line-height: 1.5;
	margin: 9px 0;
	padding: 0 10px 0 0; /* Avoid the caption to overflow the width of the image because wp-caption has 10px wider width */
	text-align: left;
}

.article-post .mceTemp + ul,
.article-post .mceTemp + ol {
	list-style-position: inside;
}

/**
 * 8.0 Gallery
 * -----------------------------------------------------------------------------
 */

.article-post .gallery .gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	padding: 0;
	position: relative;
}

.article-post .gallery-columns-1 .gallery-item {
	max-width: 100%;
	width: auto;
}

.article-post .gallery-columns-2 .gallery-item {
	max-width: 48%;
	max-width: -webkit-calc(50% - 14px);
	max-width:         calc(50% - 14px);
	width: auto;
}

.article-post .gallery-columns-3 .gallery-item {
	max-width: 32%;
	max-width: -webkit-calc(33.3% - 11px);
	max-width:         calc(33.3% - 11px);
	width: auto;
}

.article-post .gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 9px);
	max-width:         calc(25% - 9px);
	width: auto;
}

.article-post .gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 8px);
	max-width:         calc(20% - 8px);
	width: auto;
}

.article-post .gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 7px);
	max-width:         calc(16.7% - 7px);
	width: auto;
}

.article-post .gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 7px);
	max-width:         calc(14.28% - 7px);
	width: auto;
}

.article-post .gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 6px);
	max-width:         calc(12.5% - 6px);
	width: auto;
}

.article-post .gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 6px);
	max-width:         calc(11.1% - 6px);
	width: auto;
}

.article-post .gallery-columns-1 .gallery-item:nth-of-type(1n),
.article-post .gallery-columns-2 .gallery-item:nth-of-type(2n),
.article-post .gallery-columns-3 .gallery-item:nth-of-type(3n),
.article-post .gallery-columns-4 .gallery-item:nth-of-type(4n),
.article-post .gallery-columns-5 .gallery-item:nth-of-type(5n),
.article-post .gallery-columns-6 .gallery-item:nth-of-type(6n),
.article-post .gallery-columns-7 .gallery-item:nth-of-type(7n),
.article-post .gallery-columns-8 .gallery-item:nth-of-type(8n),
.article-post .gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.article-post .gallery-columns-1 .gallery-item:nth-of-type(1n),
.article-post .gallery-columns-2 .gallery-item:nth-of-type(2n - 1),
.article-post .gallery-columns-3 .gallery-item:nth-of-type(3n - 2),
.article-post .gallery-columns-4 .gallery-item:nth-of-type(4n - 3),
.article-post .gallery-columns-5 .gallery-item:nth-of-type(5n - 4),
.article-post .gallery-columns-6 .gallery-item:nth-of-type(6n - 5),
.article-post .gallery-columns-7 .gallery-item:nth-of-type(7n - 6),
.article-post .gallery-columns-8 .gallery-item:nth-of-type(8n - 7),
.article-post .gallery-columns-9 .gallery-item:nth-of-type(9n - 8) {
	margin-left: 12px; /* Compensate for the default negative margin on .gallery, which can't be changed. */
}

.article-post .gallery .gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 6px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	width: 100%;
}

.article-post .gallery .gallery-caption:before {
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.article-post .gallery-item:hover .gallery-caption {
	opacity: 1;
}

.article-post .gallery-columns-7 .gallery-caption,
.article-post .gallery-columns-8 .gallery-caption,
.article-post .gallery-columns-9 .gallery-caption {
	display: none;
}


/**
 * 9.0 Audio/Video
 * ----------------------------------------------------------------------------
 */

.article-post .mejs-mediaelement,
.article-post .mejs-container .mejs-controls {
	background: #000;
}

.article-post .mejs-controls .mejs-time-rail .mejs-time-loaded,
.article-post .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background: #fff;
}

.article-post .mejs-controls .mejs-time-rail .mejs-time-current {
	background: #24890d;
}

.article-post .mejs-controls .mejs-time-rail .mejs-time-total,
.article-post .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	background: rgba(255, 255, 255, .33);
}

.article-post .mejs-controls .mejs-time-rail span,
.article-post .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.article-post .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	border-radius: 0;
}

.article-post .mejs-overlay-loading {
	background: transparent;
}


/**
 * 10.0 RTL
 * ----------------------------------------------------------------------------
 */

.article-post html .mceContentBody.rtl {
	direction: rtl;
	unicode-bidi: embed;
}

.article-post .rtl ol,
.article-post .rtl ul {
	margin-left: 0;
	margin-right: 24px;
}

.article-post .rtl .wp-caption,
.article-post .rtl tr th {
	text-align: right;
}

.article-post .rtl td {
	text-align: right;
}
