﻿body {
	background: url(../images/bg.png);
	color: #4a4a4a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.3rem;
}
p, ol, ul { font-size: 1.3rem; }
h1, h2, h3, .outline-list { font-family: 'Roboto Condensed', Arial, sans-serif; }
h1 {
	color: #4a4a4a;
	font-size: 2.9rem;
	font-weight: 300;
	margin-bottom: 0.5em;
	text-transform: uppercase;
}
h2 {
	font-size: 1.8rem;
	font-weight: 300;
	text-transform: uppercase;
}
h3 {
	color: #e05b39;
	font-size: 1.3rem;
	font-weight: bold;
}

a, a:hover, a:focus {
	color: #e05b39;
	text-decoration: none;
}
a:hover { text-decoration: underline; }
a:active { text-decoration: none; }

/***=theme header***/
.theme-header {
	background-color: #282827;
	background-image: url(../images/header-left.png), url(../images/header-right.png);
	background-position: 0 50%, 100% 50%;
	background-repeat: no-repeat;
	margin-bottom: 15px;
	padding: 15px 115px;
}
.theme-header .title {
	background-image: url(../images/header-top.png), url(../images/header-bottom.png);
	background-position: 50% 0, 50% 100%;
	background-repeat: no-repeat;
	color: #d9d5cc;
	margin: 0;
	overflow: hidden;
	padding: 1.2em 0;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/***=theme content wrap***/
.theme-content-wrap {
	border: 5px solid #282827;
	border-width: 5px 0;
	padding: 0 38px 12px;
}

/***=theme nav***/
.main-nav {
	background: rgba(255, 255, 255, 0.41);
	margin-bottom: 7px;
}
.main-nav > h1 {
	color: #282827;
	display: none;
	font-size: 2.5rem;
	font-weight: bold;
	margin: 0 0 0.56em 0.76em;
	text-transform: uppercase;
}
.outline-list {
	font-family: 'Roboto Condensed', Arial, sans-serif;
	font-size: 1.4rem;
	text-transform: uppercase;
}
.outline-list a {
	color: #282827;
	display: block;
	padding: 11px 14px 11px 19px;
	text-decoration: none;
}
.outline-list a:hover { background: #fff; }
.outline-list a.active, .outline-list a:active { color: #e05b39; }

/***sub toggle***/
.sub-toggle {
	cursor: pointer;
	display: inline-block;
	font-size: 1.3rem;
	margin-right: 8px;
	position: relative;
	-ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    transform: rotate(270deg);
	z-index: 10;
}
.sub-toggle.open {
	-ms-transform: rotate(0); /* IE 9 */
    -webkit-transform: rotate(0); /* Chrome, Safari, Opera */
    transform: rotate(0);
}

/***=page content***/
.page-content {
	background: #fff;
	border-top: 2px solid #282827;
	padding: 30px;
}
.page-content > h1 {
	background: url(../images/h1-ribbon.png) 0 5px no-repeat;
	margin-left: -50px;
	padding-left: 50px;
}

/***=pargraph controls (commenting)***/
.portfolio-paragraph-controls {
	float: none;
	left: -29px;
	margin: 0;
	position: absolute;
	width: 29px;
}
.portfolio-paragraph-controls > .paragraph-comment { width: 29px; }


/***=footer***/
.EpFooter {
	background: #282827;
	border: 0;
	margin: 8px 0 0;
	padding: 28px 8px;
	width: auto;
}
.EpFooter > div {
	color: #e05b39;
	font-size: 1.2rem;
}
.EpFooter a { color: #fff; }




@media (min-width: 48em) {
	/***=theme content wrap***/
	.theme-content-wrap {
		padding-left: 0;
		padding-right: 0;
	}

	/***=main nav***/
	.main-nav {
		background: transparent;
		border-top: 2px solid #282827;
		margin: 7px 19px 0 0;
		padding: 28px 0 0 38px;
	}
	.main-nav > h1 { display: block; }

	/***=page content***/
	.page-content { margin-top: 7px; }
}