/**
 * Feature Name: Frontend-Styles
 * Version:      1.0
 * Author:       MarketPress.com
 * Author URI:   http://marketpress.com
 */

html {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	height: 100%;
	color: #1d1f21;
	font-size: 15px;
	background: #fff;
	line-height: 1.4em;
	word-wrap: break-word;
	font-family: 'Open Sans', sans-serif;
}

img {
	border: 0;
	display:block;
	-ms-interpolation-mode: bicubic;
}

.wrapper {
	width: 1200px;
	margin: 0 auto;
}

/** Standards **/

.clearfix {
	clear: both;
}

a {
	color: #0084cc;
}

a:hover,
a:focus,
a:active {
	text-decoration: none;
}

a img,
.post-thumbnail img {
	display: block;
}

.alignright  {
	float: right;
}

.aligncenter {
	clear: both;
	display: block;
	text-align: center;
	margin: 0.85em auto;
}

.alignleft {
	float: left;
}

abbr, tla, acronym {
	cursor: help;
	border-bottom: 1px dotted #999;
}

blockquote {
	color: #aaa;
	font-size: 1.3em;
	line-height: 1.4em;
	font-style: italic;
	text-align: center;
}

table {
	width: 100%;
	margin: 15px 0;
	border-spacing: 0;
	border-collapse: collapse;
	background-color: transparent;
}

table > thead > tr > th {
	vertical-align: bottom;
	border-bottom: 2px solid #ddd;
}

table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
	padding: 8px;
	vertical-align: top;
	border-top: 1px solid #ddd;
}

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

dl {
	margin: 15px 0;
}

dt {
	width: 160px;
	overflow: hidden;
	text-align: left;
	font-weight: bold;
	white-space: nowrap;
	text-overflow: ellipsis;
}

dd {
	margin-left: 20px;
}

cite {
	font-style: italic;
}

ins {
	text-decoration: none;
	background-color: rgba(254,255,0,0.68);
}

pre {
	overflow-x: auto;
	border: 1px solid #ddd;
}

code, tt, kbd, pre {
	background: #f9f9f9;
	border: 1px solid #ddd;
}

hr {
	border: 0;
	border-top: 3px solid #f6f6f6;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
	line-height: 1.2em;
	font-family: 'Open Sans Condensed', sans-serif;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
}

h4 {
	font-size: 1.5em;
}

h5 {
	font-size: 1.4em;
}

h6 {
	font-size: 1.2em;
}

embed,
iframe,
object,
video {
	max-width: 100%;
	margin-bottom: 1.7em;
}

/** Header **/

body header#header {
	text-align: center;
	padding-top: 50px;
	font-family: 'Open Sans Condensed', sans-serif;
}

body header#header .header-text-container {
	padding-top: 25%;
}

body header#header a {
	text-decoration: none;
}

body header#header h1 {
	margin: 10px 0 25px;
	font-size: 50px;
	font-weight: 300;
	text-shadow: 2px 1px 2px rgba(150, 150, 150, 0.75);
}

body header#header #description {
	font-size: 25px;
	padding: 0 10px;
	line-height: 1.2em;
	text-shadow: 2px 1px 2px rgba(150, 150, 150, 0.75);
}

/** Headline **/

#headline {
	width: 100%;
	z-index: 100;
	background: #fff;
	position: fixed;
}


#headline .logo {
	float: left;
	margin: 20px 0;
	max-width: 350px;
}

#headline .logo h1 {
	padding: 0;
	margin: 5px 0;
	font-size: 2em;
	font-weight: 300;
	font-family: 'Open Sans Condensed';
}

#headline .logo a {
	color: #1d1f21;
	text-decoration: none;
}

#headline nav,
#headline .menu {
	float: right;
	margin-top: 18px;
}

#headline nav ul,
#headline .menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#headline nav ul li,
#headline .menu ul li {
	float: left;
	position: relative;
}

#headline nav ul li a,
#headline .menu ul li a {
	color: #1d1f21;
	font-size: 1.4em;
	display: block;
	padding: 10px 15px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'Open Sans Condensed';
	border: 1px solid transparent;
	border-radius: 3px;
	margin-left: 15px;
}

#headline nav ul li:hover a,
#headline nav ul:focus li a,
#headline nav ul li a.active,
#headline nav ul li.current-menu-item a,
#headline nav ul li.current_page_parent a,
#headline nav ul li.current_page_ancestor a,
#headline .menu ul li:hover a,
#headline .menu ul li:focus a,
#headline .menu ul li a.active,
#headline .menu ul li.current-menu-item a,
#headline .menu ul li.current_page_parent a,
#headline .menu ul li.current_page_ancestor a {
	color: #fff;
	background: #0084cc;
}

#headline nav ul li.menu-item-has-children:hover a {
	border-radius: 0;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	-moz-border-radius: 0;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-webkit-border-radius: 0;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
}

#headline .wrapper {
	position: relative;
}

#headline .wrapper .navigation {
	right: 0;
	bottom: 20px;
	position: absolute;
}

#headline .wrapper:after {
	clear: both;
	content: ' ';
	height: 0;
	width: 0;
	display: block;
}

#headline .sub-menu,
#headline .children {
	display: none;
}

#headline li:hover .sub-menu {
	right: 0;
	display: block;
	text-align: right;
	position: absolute;
	background: #0084cc;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	-moz-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
}

#headline .sub-menu li {
	float: none;
	width: 275px;
}

#headline .sub-menu li a {
	margin-left: 0 !important;
}

#headline .sub-menu li:hover a {
	background-color: rgba( 255, 255, 255, 0.1 ) !important;
}

#headline .sub-menu li ul {
	display: block !important;
	position: relative !important;
}

#headline .sub-menu li ul li:hover a {
	background-color: rgba( 255, 255, 255, 0.2 ) !important;
}

/** Main **/

body main#primary {
	background: #fff;
	padding-top: 100px;
}

body main#primary article:first-child {
	padding-top: 50px;
}

body.single main#primary article:first-child,
body.page main#primary article:first-child {
	padding-top: 0;
}

body main#primary article {
	margin: 0;
}

main#primary .wrapper {
	padding: 50px;
	box-sizing: border-box;
}

body main#primary article.sticky .wrapper {
	background: #f1f1f1;
}

body main#primary article h2 {
	margin: 0;
}

body main#primary article h2 a {
	color: #1d1f21;
	text-decoration: none;
}

body main#primary article .entry-meta {
	margin: 15px 0;
}

body main#primary article .entry-meta .bypostauthor {
	font-weight: bold;
}

body main#primary article footer .alignleft,
body main#primary article footer .alignright {
	max-width: 250px;
}

body main#primary article footer:after {
	width: 0;
	height: 0;
	clear: both;
	content: ' ';
	display: block;
}

body main#primary article .post-thumbnail {
	height: 600px;
}

body main#primary article .comments {
	margin-top: 25px;
}

body main#primary article .comments a {
	color: #1d1f21;
	font-size: 1.2em;
	text-decoration: none;
	font-family: 'Open Sans Condensed';
}

body main#primary article .comments a .count {
	color: #fff;
	font-size: 1em;
	margin-right: 5px;
	padding: 5px 10px;
	text-decoration: none;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: 3px;
	background: #0084cc;
}

body main#primary article .comments a:hover,
body main#primary article .comments a:focus,
body main#primary article .comments a:hover {
	color: #0084cc;
}

/** Captions, Gallery and Images **/

img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
.size-full,
.size-large,
.wp-post-image,
.commentlist img {
	height: auto;
	max-width: 100%;
}

.aligncenter img {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.wp-caption {
	padding: 4px;
	margin-top: 1em;
	max-width: 100%;
	margin-bottom: 1em;
}

.wp-caption-text {
	color: #666;
	margin-top: 5px;
	font-size: 0.9em;
}

.gallery {
	overflow: hidden;
}

.gallery-item,
.gallery-figure,
.gallery-figcaption {
	margin: 0;
	padding: 0;
}

.gallery-item-container,
.column-item {
	float: left;
	display: block;
	overflow: hidden;
	padding: 0.75em 0;
	text-align: center;
}

.columns-1 .column-item {
	width: 100%;
}

.columns-2 .column-item {
	width: 50%;
}

.columns-3 .column-item {
	width: 33.33%;
}

.columns-4 .column-item {
	width: 25%;
}

.columns-5 .column-item {
	width: 20%;
}

.columns-6 .column-item {
	width: 16.66%;
}

.columns-7.column-item-item {
	width: 14.28%;
}

.columns-8 .column-item {
	width: 12.5%;
}

.columns-9 .column-item {
	width: 11.11%;
}

.columns-1 .column-item,
.columns-2 .column-item:nth-of-type(2n+1),
.columns-3 .column-item:nth-of-type(3n+1),
.columns-4 .column-item:nth-of-type(4n+1),
.columns-5 .column-item:nth-of-type(5n+1),
.columns-6 .column-item:nth-of-type(6n+1),
.columns-7 .column-item:nth-of-type(7n+1),
.columns-8 .column-item:nth-of-type(8n+1),
.columns-9 .column-itemitem:nth-of-type(9n+1) {
	clear: left;
}

.gallery-figure {
	margin: 0 0.5em;
}

.gallery-figcaption {
	color: #666;
	font-size: 0.9em;
}

.gallery {
	margin-top: 15px;
	text-align: center;
}

.gallery figure {
	float: left;
	margin: 10px;
}

.format-gallery .gallery-item {
	display: inline-block;
}

.format-gallery .gallery-item img {
	display: inline-block !important;
	opacity: 0.50;
	-moz-opacity: 0.50;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=50);
}

.format-gallery .gallery-item a:hover img,
.format-gallery .gallery-item a:focus img,
.format-gallery .gallery-item a:active img {
	opacity: 1;
	-moz-opacity: 1;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=100);
}

.format-gallery .wp-caption-text.gallery-caption {
	display: none;
}

/** Pagination **/

.pagination {
	text-align: center;
}

.pagination ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 300;
	display: inline-block;
	font-family: 'Open Sans Condensed', sans-serif;
}

.pagination ul li {
	float: left;
	padding: 0 3px;
	font-size: 1.3em;
}

.pagination ul li a,
.pagination ul li .current {
	color: #1d1f21;
	font-size: 1em;
	display: block;
	padding: 5px 10px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'Open Sans Condensed';
	border: 1px solid transparent;
	border-radius: 3px;
}

.pagination ul li .current,
.pagination ul li a:hover,
.pagination ul li a:focus,
.pagination ul li a.active {
	color: #fff;
	background: #0084cc;
}

/** Comments List **/

ol.commentlist {
	padding: 0;
	list-style: none;
	margin: 25px 0 25px;
	display: inline-block;
	padding-top: 25px;
	border-top: 3px solid #f1f1f1;
}

.comment {
	margin: 25px 0 0;
	padding: 25px 0 0;
	border-top: 1px solid #eee;
}

.comment-reply-link {
	display: block;
	margin-top: 25px;
	margin-left: 200px;
}

.comment p {
	margin: 0;
}

.comment time {
	color: #999;
	font-size: 0.9em;
	font-style: italic;
}

.comment img {
	border-radius: 100%;
	-o-border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
}

.comment-author {
	float: left;
	width: 150px;
	text-align: center;
	text-transform: uppercase;
}

.comment-author a {
	text-decoration: none;
}

.comment-author img {
	display: inline-block;
}

.comment-text {
	float: left;
	max-width: 900px;
	text-align: left;
	margin-left: 50px;
}

.comment-text img {
	max-width: 100%;
	max-height: 100%;
}

.comment:first-child {
	margin: 0;
	padding: 0;
	border-top: none;
}

ol.commentlist ul.children {
	list-style: none;
}

ol.commentlist ul.children .comment:first-child {
	margin: 25px 0 0;
	padding: 25px 0 0;
	border-top: 1px solid #eee;
}

ol.commentlist ul.children .comment-text {
	margin-left: 200px;
	position: absolute;
}

ol.pingbacklist li {
	margin-bottom: 5px;
}

ol.pingbacklist li a {
	text-decoration: none;
}

ol.pingbacklist li a:hover,
ol.pingbacklist li a:focus,
ol.pingbacklist li a:active  {
	color: #1d1f21;
}

img.icon {
	display: inline-block !important;
}

/** Respond **/

#respond {
	padding: 0;
	list-style: none;
	margin: 25px 0 25px;
	display: inline-block;
	padding-top: 25px;
	border-top: 3px solid #f1f1f1;
}

.commentlist #respond {
	border-top: 0;
	margin-top: 0;
}

#respond label {
	float: left;
	width: 150px;
	margin-right: 50px;
}

#respond #submit,
#respond p.form-allowed-tags {
	margin-left: 200px;
}

#respond p.logged-in-as {
	margin: 15px 0;
}

/** Inputs **/

label {
	cursor: pointer;
	font-style: italic;
}

input,
textarea {
	color: #1d1f21;
	font-size: 100%;
	padding: 7px 5px;
	background: #f1f1f1;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: 1px solid transparent;
	border-radius: 5px;
	-o-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

input.submit,
input#submit {
	cursor: pointer;
	text-align: center;
}

input.submit:hover,
input#submit:hover {
	background: #ccc;
}

/** Widgets **/

section.widget {
	width: 250px;
	padding: 15px;
	background: #fff;
	margin-bottom: 20px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

section.widget h3 {
	margin-top: 0;
	font-size: 1.3em;
	font-weight: normal;
	margin-bottom: 15px;
	font-family: 'Open Sans Condensed', sans-serif;
}

section.widget .rsswidget img {
	float: right;
}

section.widget ul {
	margin: 0 0 0 10px;
	padding: 0;
	list-style: none;
}

section.widget ul:first-child {
	margin: 0;
}

section.widget ul li {
	margin: 3px 0;
	font-weight: 300;
	padding: 3px 5px 3px 0;
}

section.widget form .search {
	width: 100%;
	display: block;
}

section.widget #searchsubmit,
section.widget .searchbutton,
section.widget .search-submit,
section.widget #searchform .screen-reader-text,
section.widget .search-form .screen-reader-text {
	display: none;
}

section.widget input,
section.widget select {
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

/** Footer **/

body footer#footer {
	color: #fff;
	padding: 50px 0;
	margin-top: 50px;
	background: #444;
}

body footer#footer:after {
	width: 0px;
	height: 0px;
	clear: both;
	content: ' ';
	display: block;
}

body footer#footer .widget-column {
	float: left;
	width: 300px;
	margin-right: 150px;
}

body footer#footer .widget-column:last-child {
	margin-right: 0;
}

body footer#footer .widget-column section.widget {
	padding: 0;
	color: #fff;
	width: 300px;
	background: none;
	margin-bottom: 20px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

body footer#footer .widget-column section.widget .search-form label .screen-reader-text,
body footer#footer .widget-column section.widget .search-form .search-submit {
	position: absolute;
	margin-left: -10000px;
}

body footer#footer .widget-column section.widget .search-field {
	color: #fff;
	width: 100%;
	height: 36px;
	font-size: 100%;
	padding: 7px 5px;
	background: #1d1f21;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: 1px solid transparent;
	
	border-radius: 5px;
	-o-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

body footer#footer .widget-column section.widget .search-form {
	position: relative;
}

body footer#footer .widget-column section.widget table > tbody > tr:nth-child(odd) > td,
body footer#footer .widget-column section.widget table > tbody > tr:nth-child(odd) > th {
	background: #3c3334;
}

/** Copyline **/

body .copyline:after {
	clear: both;
	display: block;
	height: 1px;
	width: 1px;
	content: " ";
}

body .copyline {
	color: #fff;
	width: 100%;
	padding: 35px 0;
	background: #1d1f21;
}

body .copyline a,
body footer#footer a {
	color: #ff5950;
}

body .copyline .mp-site-info {
	margin: 0;
	padding: 0;
	float: left;
}

body .copyline .social-share {
	float: right;
}

body .copyline .social-share a {
	color: #fff;
	float: left;
	width: 35px;
	height: 35px;
	display: block;
	font-size: 1.3em;
	margin-left: 10px;
	text-align: center;
	border-radius: 100%;
	-o-border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
}

body .copyline .social-share a i {
	margin-top: 8px;
}

body .copyline .social-share a:hover,
body .copyline .social-share a:focus,
body .copyline .social-share a:active {
	background: #444;
}

/** To top link **/

.totop {
	width: 50px;
	margin: -70px auto 70px;
}

.totop a {
	width: 45px;
	height: 45px;
	display: block;
	background: #444;
	padding: 12px 0 0;
	box-sizing: border-box;
	
	color: #fff;
	font-size: 2em;
	font-weight: 300;
	text-align: center;
	text-decoration: none;
	font-family: 'Open Sans Condensed';


	border: 4px solid #fff;
	border-radius: 100%;
	-o-border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
}

.totop a:hover,
.totop a:focus,
.totop a:active {
	background: #666;
}
