/**
 *
 */

h1 {
	padding: 80px 0 40px;
	font-size: 40px;
	line-height: 48px;
	color: #505762;
}
.search h1 {
	padding: 60px 0;
}

/* ---[ Menu: Main Navigation ]------------ */
.menu {
	float: right;
	width: 30%;
	overflow: hidden;
	padding: 30px 20px;
	background: #f3f5f8;
	border-bottom: 1px solid #e5e8ed;
	display: none;
}	
.menu b,
.menu label {
	display: block;
	font-weight: 500;
	padding-bottom: 15px;

	font-size: 15px;
	font-weight: 500;
}
.menu form,
.menu aside {
}
.menu form input {
	padding: 20px;
	width: 75%;
}
.menu li {
	list-style: none;
}
.menu a {
	display: block;
	text-decoration: none;
	color: #717985;
}
.menu a:hover {
	color: #414b59;
}
.menu li span {
	float: right;
	opacity: .6;
}

#menu {
	float: right;
	width: 30%;
	border: 1px solid gold;
	}
.main {
	float: none;
	100%;
	}
#jPanelMenu-menu {
	overflow-y: auto !important;
	}




/* ---[ Masthead ]------------ */

.masthead {
	overflow: hidden;
	padding: 20px 35px;
	background: #fff;
	border-bottom: 1px solid rgba(22,36,54,.1);
}
.masthead a {
	float: left;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	color: #8895a7;
}
.masthead #logo:hover,
.masthead ul a:hover,
.masthead ul .active a,
.posts .items li:first-child h2 a:hover,
p a:hover {
	color: #4171b1;
}
.masthead ul {
	list-style: none;
	float: right;
}
.masthead ul li {
	float: left;
	padding-left: 40px;
}
.masthead ul a {
	display: inline-block;
	color: #555f6d;
}
.masthead ul img {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	top: -2px;
	width: 16px;
	height: 16px;
	opacity: .4;
}
.masthead ul a:hover img {
	opacity: .7;
}
.masthead ul a.active img {
	opacity: 1;
}


/**
 *   Index page listing, category listing, search page results
 */
.items {
	list-style: none;
}
.items > li {
	padding: 20px 0;
	border-bottom: 1px solid #ccc;
}
.posts .items > li:first-child {
	background: #fff !important;
	padding: 50px 0 20px;
}
.items li h2 a,
.posts .items li h2 a {
	color: #3d4551;
}
.items h2 {
	font-size: 32px;
	line-height: 41px;
}
.items h2 a {
	display: block;
	padding-bottom: 12px;
	color: #fff;
	color: rgba(176,200,236,.8);
	text-decoration: none;
}
.items .content {
	padding: 10px 0 0;
}
.items .content p {
	padding-bottom: 15px;
}

/* ---[ Pagination ]------------ */
.pagination {
	overflow: hidden;
	padding: 30px 0;
	margin-bottom: 50px;
	border-top: 1px solid rgba(22,36,54,.1);
	border-bottom: 1px solid rgba(22,36,54,.1);
}
	.pagination:empty {
		display: none;
	}
	.pagination a {
		float: left;
		text-decoration: none;

		font-size: 13px;
		font-weight: 500;

		color: #6f7b8b;
	}
		.pagination a:hover {
			color: #3c4857;
		}
	.pagination a.next {
		float: right;
	}

/**
 *   Give some extra space to single-page wrappers
 */
.main.inner {
	padding-bottom: 50px;
}
.main.inner ul,
.main.inner ol,
.items li ul {
	padding: 20px 30px;
}
.main.inner ul ul,
.main.inner ol ol,
.items li ul ul {
	padding: 0 20px;
}

/* ---[ Footnotes and Straplines ]------------ */
.footnote, .commentlist time, .items footer {
	display: block;
	padding: 5px 0 15px;

	color: #98a2b1;
	font-size: 14px;
	font-style: italic;
	
	white-space: nowrap;
}
.footnote {
	padding: 20px 0 40px;
}

/* ---[ Comments ]------------ */
ul.commentlist {
	margin-bottom: 40px;

	list-style: none;
	border-top: 1px solid rgba(22,36,54,.1);
}
	ul.commentlist .inner {
		position: relative;
	}
	ul.commentlist li {
		padding: 40px 0;
		border-bottom: 1px solid rgba(22,36,54,.1);
	}
		ul.commentlist time {
			font-size: 13px;
		}
		ul.commentlist h2 {
			font-size: 25px;
			line-height: 33px;
		}
		ul.commentlist .counter {
			position: absolute;
			right: 0;
			top: 0;

			font-size: 25px;
			font-weight: 300;
			color: #cdd2da;
		}

#comment {
	overflow: hidden;
}
	#comment label[for] {
		display: none;
	}
	#comment p {
		float: left;
		width: 48%;
		margin-right: 4%;
		margin-bottom: 10px;

		text-indent: 0;
	}
		#comment p + p {
			margin-right: 0;
		}
		#comment p.textarea {
			float: none;
			width: 100%;
		}
	#comment input, #comment textarea {
		width: 100%;
		padding: 10px 15px;

		font-size: 15px;
		font-weight: normal;

		border: 1px solid rgba(22,36,54,.2);
		border-radius: 4px;
	}
		#comment input:focus, #comment textarea:focus {
			outline: none;
			background: #f7f9fc;
		}
		#comment textarea {
			min-height: 150px;
			max-height: 800px;
			resize: vertical;
		}
	#comment button {
		display: inline-block;
		padding: 9px 18px;

		background: #4e82ce;
		color: #fff;

		border: none;
		border-radius: 5px;
		cursor: pointer;

		font-size: 13px;
		font-weight: 500;
	}
		#comment button:hover {
			background: #3c6eb7;
		}

/* ---[ Footer ]------------ */
footer {
	padding: 30px 0 40px;
	clear: both;
}
footer ul {
	list-style: none;
}
footer li {
	display: inline-block;
	padding-right: 35px;
	font-size: 14px;
}
footer a {
	text-decoration: none;
}
	
	
@media screen and (min-width: 40em) {
  #menu-trigger {
	display : none;
  }
  .menu {
	display: block;
	}
  .main,
  .page-footer {
	float: left;
	width: 70%;
	}
}