/**
 *
 * -------------------------------------------
 * Template CSS file
 * -------------------------------------------
 * 
 **/
 
/*
 *
 * 5. Wordpress elements styling
 *
 *
------------------------------------ */
 
/* 5.1. Main menu
==================================== */ 
 
#main-menu {
	float: right;
	list-style-type: none;
	margin: 14px 0 0 0;
	padding: 0;
	position: relative;
}

#main-menu ul {
	margin: 0!important;
	padding: 0!important;
}

#main-menu > li {
	border: none;
	float: left;
	font-size: 14px;
	height: 32px;
	line-height: 33px;
	margin: 0;
	padding-bottom: 14px;
}

#main-menu > li > a {
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
	color: #444;
	display: block;
	height: 32px;
	line-height: 33px;
	margin: 0;
	padding: 0 12px;
	-webkit-transition: color .3s ease-out;
	   -moz-transition: color .3s ease-out;
	        transition: color .3s ease-out;
}

#main-menu > li > a:hover {
	background: transparent;
}

#main-menu > li.current-menu-item > a,
#main-menu > li.current_page_item > a,
#main-menu > li.current-menu-ancestor > a, 
#main-menu > li.current-menu-parent > a {
	color: #fff!important;
}

#main-menu > li:hover > a,
#main-menu > li.active > a {
	background: transparent;
}

/* Submenu */
#main-menu .sub-menu {	
	background: #fff;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
	display: block;
	left: -9999px;
	margin-top: 12px!important;
	overflow: hidden;
	padding: 0!important;
	position: absolute;
	text-align: left;
	width: 200px;
	z-index: 10;
}

#main-menu li:hover .sub-menu {
	left: auto;
}

#main-menu .sub-menu li {
	border-top: 1px solid #eee;
	margin: 0 16px;
	min-height: 22px;
}

#main-menu .sub-menu li:first-child {
	border-top: none;
}

#main-menu .sub-menu li a {
	color: #777;
	display: block;
	font-size: 12px;
	font-weight: normal;
	line-height: 22px;
	padding: 8px;
}

#main-menu .sub-menu li:hover > a,
#main-menu .sub-menu li > a:active,
#main-menu .sub-menu li > a:focus,
#main-menu .sub-menu li > a:hover {
	text-decoration: none;
}

#main-menu .sub-menu .sub-menu {
	border-top: 1px solid #eee;
	left: -9999px!important;
	margin-left: 160px;
	margin-top: -24px!important;
}

#main-menu .sub-menu li:hover .sub-menu {
	left: auto!important;
}
 
/* mobile menu */ 
#main-menu-mobile {
	left: -9999px;
	position: absolute;
	top: 0px;
} 
 
/* 5.2. Comments
==================================== */

#comments {
	border-top: 1px solid #e5e5e5;
	margin: 20px 0 0 0;
	position: relative;
}

#comments.nocomments {
	border-top: none;
}

#comments > h2:first-child {
	border-top: 1px solid #e5e5e5;
	font-size: 15px;
	font-weight: 400;
	left: -168px;
	margin: 0 0 16px;
	position: absolute;
	text-align: right;
	top: 0;
	width: 128px;
}

#comments > nav {
	margin: 12px 0;
	overflow: hidden;
}

#comments > nav .nav-prev {
	float: left;
}

#comments > nav .nav-next {
	float: right;
}

#comments > ol {
	list-style-type: none;
	padding: 0;
}

#comments ol.children {
	list-style-type: none;
	margin-left: 5%;
	padding: 0;
}

#comments li article {
	margin-bottom: 24px;
	padding: 12px;
	border-top: 1px solid #E5E5E5;
	color: #999;
}

#comments > ol > li:first-child > article {
	border-top: none;
}

#comments li article > aside {
	float: left;
	margin: 14px 12px 0 0;
}

#comments li article > aside img {
	display: block;
}

#comments li article > .content {
	margin: 0 0 0 82px;
}

#comments article time {
	color: #b3b6b7;
	font-size: 11px;
}

#comments article .content > p {
	margin-bottom: 0;
	margin-top: 0.5em;
	padding: 12px;
	font-size: 13px;
	line-height: 1.7;
}

#comments article footer {
	color: #999;
	font-size: 11px;
	font-style: italic;
	margin-left: 12px;
}

#comments article footer .edit-link,
#comments article footer .reply {
	margin-left: 12px;
}

#comments em.awaiting-moderation {
	display: block;
	font-size: 14px;
	margin: 10px 0 0 0;
	text-align: center;
}
/* Special comments classes */
#comments li.bypostauthor > article {
	background: #fafafa;
	border-top: none!important;
}

#comments li.bypostauthor article .content {
	border: none!important;
}

#comments li.bypostauthor article aside {
	left: 2%;
}

#comments li.byuser article {}
#comments li.odd article {}
#comments li.even article {}

/* Comments typography */
#comments li article abbr[title],
#comments li article acronym[title] {
	border-bottom: 1px dotted;
}

#comments li article code {
	background: #fafafa;
	border-left: 4px solid #eee;
	display: block;
	margin: 10px 0;
	padding: 10px 20px; 
	white-space: pre;
}

#comments li article blockquote {
	background: #fafafa;
	border: 2px solid #eee;
	border-left: none;
	border-right: none;
	display: block;
	margin: 10px 0;
	padding: 10px; 
	position: relative;
}

#comments li article blockquote p {
	margin: 0;
}

#comments li article q {
	color: #888;
	font-weight: bold;
}

#comments li article strike {
	text-decoration: line-through;
}

#comments li article del {
	color: #aaa;
	text-decoration: line-through;
}

/* Comment form */
#respond {
	border-top: 1px solid #e5e5e5;
	padding: 0;
	position: relative;
}

#respond > h3 {
	border-top: 1px solid #e5e5e5;
	font-size: 15px;
	font-weight: 400;
	left: -168px;
	margin: 0 0 16px;
	position: absolute;
	text-align: right;
	top: 0;
	width: 128px;
}

#respond p.comment-notes,
#respond p.logged-in-as,
#respond p.form-allowed-tags {
	margin: 0 0 24px;
	padding-top: 7px;
	font-size: 10px;
}

#respond input,
#respond textarea {
	display: block;
}

#respond input[type="checkbox"] {
	display: inline-block;
}

#respond input[type="text"],
#respond input[type="password"],
#respond textarea {
	width: 100%;
}

#respond #reply-title small {
	float: right;
	font-size: 14px;
	text-transform: none;
}

/* 5.3. Post meta-data
==================================== */

.content > form input[type="submit"] {
	display: inline-block;
	float: none;
}

#gk-mainbody article > header h1,
#gk-mainbody article > header h2 {
	font-size: 40px;
	font-weight: 300;
	line-height: 48px;
	margin: 0
}

#gk-mainbody article > header {
	margin-bottom: 10px;
}

article header {
	position: relative;
}

article.post,
article.page {
	padding-left: 168px;
}

article.post.no-sidebar,
article.page.no-sidebar {
	padding-left: 0;
}

article.no-sidebar figure.featured-image {
	margin-left: 0;
}

article.no-title,
article.page-fullwidth {
	padding-left: 0;
}

section#comments {
	margin-left: 168px;
}

article.no-sidebar + section#comments {
	margin-left: 0;
}

article.no-title + section#comments,
article.page-fullwidth + section#comments {
	margin-left: 0;
}

article > footer {
	border-top: 1px solid #e5e5e5;
	margin-top: 48px;
	padding: 16px 0;
}

article > footer::after,
#respond p.form-submit:after {	
	clear: both;	
	content: "";
	display: table;
}

article > .content,
article > .summary {
	font-size: 14px;
	line-height: 26px;
}

aside.meta {
	float: left;
	left: -168px;
	position: absolute;
	text-align: right;
	width: 128px;
}

aside.meta dl {
	margin: 0;
	position: relative;
}

aside.meta a {
	color: #999;
}

aside.meta dt {
	display: none;	
}

aside.meta dd {
	color: #999;
	font-size: 11px;
	line-height: 2.0;
	margin: 0 2px;
	padding: 0 2px;
}

aside.meta dd b,
aside.meta dd strong {
	font-weight: normal;
}

aside.meta time {
	display: block;
	margin: 0 0 16px;
	font-size: 26px;
	color: #212121;
	border-bottom: 1px solid #e5e5e5;
}

#gk-social-api {
	padding: 0 0 20px 0;
}

#gk-social-api > * {
	display: block;
	float: left!important;
	min-height: 33px;
	margin-right: 5px!important;
}

#gk-social-api > a {	
	min-height: inherit!important;
}

/* 5.4. Post additional features
==================================== */

article header h1 sup,
article.sticky header h1 sup,
article header h2 sup,
article.sticky header h2 sup {
	color: #fb5a29;
	font-size: 12px;
	font-weight: 400;
	padding: 2px 6px;
	top: -1.8em;
}

article figure.featured-image {
	margin-bottom: 32px!important;
	margin-left: -168px;
	padding: 5px;
	position: relative;
}

article.fullwidth-page figure.featured-image {
	margin-left: 0;
}

article figure.featured-image img {
	display: block;
	height: auto;
	margin: 0!important;
	max-width: 100%;
}

article figure.featured-image img + figcaption {
	position: absolute;
	bottom: 5px;
	right: 5px;
	display: block;
	padding: 2px 18px 2px 12px;
	background: #212121;
	color: white;
	text-align: right;
	font-size: 11px;
}

.alignnone {
	float: none;
}

.alignleft {
	float: left;
	margin: 0 15px 15px 0;
}

.alignright {
	float: right;
	margin: 0 0 15px 15px;
}

.aligncenter {
	display: block;
	float: none;
	margin: 0 auto;
}

div.wp-caption {
	max-width: 100%!important;
}

.wp-caption-text {
	font-size: 11px;
	font-style: italic;
	line-height: 1.5;
	text-align: center;
}

.gallery {
	clear: both;
	padding: 16px 0;
}

.gallery-caption {
	font-size: 10px;
}

/* 5.5. Search page
==================================== */

.search-page #searchform {
	overflow: hidden;
}

.search-page #searchform > * {
	float: left;
	margin-right: 10px;
}

.search-page #searchform > label {
	line-height: 34px;
}

/* 5.6. wp-activate.php and wp-signup.php pages
==================================== */

/* wp-activate.php */

#activateform {
	margin: 0 auto 70px auto;
	max-width: 500px;

}

#activateform #key,
#activateform #submit {
	font-size: inherit!important;
}

/* wp-signup.php */
.mu_register {
	margin: 20px auto!important;
	max-width: 500px;
	padding-bottom: 30px;
}

.mu_register input[type="submit"], 
.mu_register #blog_title, 
.mu_register #user_email, 
.mu_register #blogname, 
.mu_register #user_name {
	font-size: inherit!important;	
}

.mu_register label {
	font-size: inherit!important;
}