/* for markdown at 2014-01-26 */

.mdview h1, .mdview h2, .mdview h3 {color: #000;}
.mdview p {color: #555;letter-spacing:1px}

.mdview h1.title { text-align:center; padding-bottom: 10px; }
.mdview h2 { 
	font-weight: bold; 
	font-style: normal;
	margin-top:20px;
	margin-bottom:12px; 
	border-bottom: 1px solid #e0e0e0; padding-bottom: 10px;
}
.mdview h3 { margin-top:18px; margin-bottom:10px; }
.mdview h4 {}

.mdview p {line-height: 1.6em; margin: 0.8em 0em 1.0em 0em;}
.mdview ul {list-style-type: square;list-style-position:outside; margin-left:1.5em;}
.mdview ol {list-style-type:upper-roman;list-style-position:outside;}
.mdview pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	line-height: 1.4em;
}

.mdview em {
	font-style: italic;
}
.mdview blockquote {
	padding: 0px 0px 0px 10px;
	margin: 10px 0 10px 0em;
	border-left: 5px solid #ccc;
}
.mdview blockquote p {
	color: #999;
}

/* fit width for image */

.mdview .fitwidth {
    width: 750px;
}
/* < 960 */
@media screen and (max-width: 960px) {
    .mdview .fitwidth {
        width: 100%;
    }
}

/* code */
.mdview p code {
	background:#f6c696;
	color:white;
	padding:3px 10px;
	margin: 0px 5px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.mdview pre code {
	text-indent:0;
	background:rgb(240, 246, 243);
	color:rgb(8, 131, 158);
	border-color:#ccc;
	border-style:dotted;
	border-width:0px;
	display:block;
	margin:10px 0px;
	padding:10px 0 10px 5px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

/* table */

.mdview table {
	width: 100%;
	margin-bottom: 20px;
}

.mdview table th,.mdview table td {
	padding: 8px;
	line-height: 20px;
	text-align: left;
	vertical-align: top;
	border-top: 1px solid #dddddd;
}

.mdview table th {
	font-weight: bold;
}

.mdview table thead th {
	vertical-align: bottom;
}

.mdview table caption+thead tr:first-child th,.mdview table caption+thead tr:first-child td,.mdview table colgroup+thead tr:first-child th,.mdview table colgroup+thead tr:first-child td,.mdview table thead:first-child tr:first-child th,.mdview table thead:first-child tr:first-child td {
	border-top: 0;
}

.mdview table tbody+tbody {
	border-top: 2px solid #dddddd;
}

.mdview table {
	border: 1px solid #dddddd;
	border-collapse: separate;
	*border-collapse: collapse;
	border-left: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.mdview table th,.mdview table td {
	border-left: 1px solid #dddddd;
}

.mdview table caption+thead tr:first-child th,.mdview table caption+tbody tr:first-child th,.mdview table caption+tbody tr:first-child td,.mdview table colgroup+thead tr:first-child th,.mdview table colgroup+tbody tr:first-child th,.mdview table colgroup+tbody tr:first-child td,.mdview table thead:first-child tr:first-child th,.mdview table tbody:first-child tr:first-child th,.mdview table tbody:first-child tr:first-child td {
	border-top: 0;
}

.mdview table thead:first-child tr:first-child th:first-child,.mdview table tbody:first-child tr:first-child td:first-child {
	-webkit-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
}

.mdview table thead:first-child tr:first-child th:last-child,.mdview table tbody:first-child tr:first-child td:last-child {
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
}

.mdview table thead:last-child tr:last-child th:first-child,.mdview table tbody:last-child tr:last-child td:first-child,.mdview table tfoot:last-child tr:last-child td:first-child {
	-webkit-border-radius: 0 0 0 4px;
	-moz-border-radius: 0 0 0 4px;
	border-radius: 0 0 0 4px;
	-webkit-border-bottom-left-radius: 4px;
	border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
}

.mdview table thead:last-child tr:last-child th:last-child,.mdview table tbody:last-child tr:last-child td:last-child,.mdview table tfoot:last-child tr:last-child td:last-child {
	-webkit-border-bottom-right-radius: 4px;
	border-bottom-right-radius: 4px;
	-moz-border-radius-bottomright: 4px;
}

.mdview table caption+thead tr:first-child th:first-child,.mdview table caption+tbody tr:first-child td:first-child,.mdview table colgroup+thead tr:first-child th:first-child,.mdview table colgroup+tbody tr:first-child td:first-child {
	-webkit-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
}

.mdview table caption+thead tr:first-child th:last-child,.mdview table caption+tbody tr:first-child td:last-child,.mdview table colgroup+thead tr:first-child th:last-child,.mdview table colgroup+tbody tr:first-child td:last-child {
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
}

.mdview table tbody tr:nth-child(odd) td,.mdview table tbody tr:nth-child(odd) th {
	background-color: #f9f9f9;
}