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

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

#main-menu > li {
	float: left;
	height: 72px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 1px;
	margin: 0;
}

#main-menu > li > a {
	color: #999;
	display: block;
	height: 72px;
	line-height: 73px;
	margin: 0;
	padding: 0 22px;
	text-transform: uppercase;
}

#main-menu > li:hover,
#main-menu > li > a:hover,
#main-menu > li.active > a,
#main-menu > li.current-menu-item,
#main-menu > li.current_page_item,
#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: #363636;
}

/* Submenu */
#main-menu .sub-menu {
	background: #fff;
	overflow: hidden;
	text-align: left;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
	left: -9999px;
	padding: 0!important;
	position: absolute;
	width: 200px;
	z-index: 1001;
}

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

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

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

#main-menu .sub-menu li a {
	color: #363636;
	font-size: 13px;
	font-family: arial;
	display: block;
	min-height: 24px;
	font-weight: normal;
	padding: 8px 0;
}

#main-menu .sub-menu li:hover {
	background: #f5f5f5;
}

#main-menu .sub-menu .sub-menu {
	left: -9999px!important;
	margin-left: 180px;
	margin-top: -24px;
}

#main-menu .sub-menu li:hover .sub-menu {
	left: auto!important;
}
 
/* 5.2. Comments
==================================== */

#comments > h3:first-child {
	border-top: 3px solid #363636;
	clear: both;
	font-weight: 600;
	line-height: 36px;
	padding: 18px 0;
	text-transform: uppercase;
}

#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;
	margin: 0;
	padding: 0;
}

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

#comments li article {
	clear: both;	
	margin-top: 20px;
	min-height: auto!important;
	position: relative;
}

#comments li:first-child article {
	margin-top: 0;
}

#comments li article > aside {
	left: 0;
	position: relative;
	top: 5px;
}

#comments li article > aside img {
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;	
	        border-radius: 3px;
	display: block;
	margin-left: -100px;
	position: absolute;
	top: 25px;
}

#comments .content header > * {
	float: right;
	font-size: 12px;
	margin: 27px 0 0 12px;
}

#comments .reply a {
	color: #eb592a;
}

#comments .reply a:active,
#comments .reply a:focus,
#comments .reply a:hover {
	color: #333;
}

#comments article .author {
	float: left;
	font-size: 21px;
	font-weight: 400;
	margin-left: 0;
	margin-top: 12px;
}

#comments article .content > * {
	clear: both;
	font-size: 12px;
}

#comments article .content header + p {
	clear: both;
	font-size: 16px;
	padding: 12px 0 0;
}

#comments article footer .edit,
#comments article footer .reply {
	float: right;
	font-size: 12px;
	font-weight: bold;
	margin-left: 10px;
}

#comments em.awaiting-moderation {
	color: #a33;
	display: block;
	font-size: 14px;
	margin: 0 0 12px 0;
	text-align: center;
}
/* Special comments classes */
#comments li.bypostauthor > article {
	border-top: 1px solid #E5E5E5;
	margin-bottom: 24px;
	padding: 12px 0 0;
	position: relative;
}

#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; 
	word-spacing: 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 {
	padding: 12px 0;
}

#respond > h3 {
	border-top: 3px solid #363636;
	clear: both;
	font-weight: 600;
	line-height: 36px;
	padding: 18px 0;
	text-transform: uppercase;
}

#respond p.comment-notes,
#respond p.logged-in-as,
#respond p.form-allowed-tags {
	font-size: 11px;
	color: #999
}

#respond input,
#respond textarea {
	display: 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
==================================== */

#gk-mainbody article > header h1,
#gk-mainbody article > header h2,
h1.page-title,
h2.page-title {
	border-top: 5px solid #363636;
	clear: both;
	font-size: 46px;
	font-weight: 600;
	line-height: 48px;
	padding: 32px 0 18px;
	text-transform: uppercase;
}

#gk-mainbody article > header.category {
	border: none!important;
	margin-bottom: 18px!important;
	padding: 0!important;
}

#gk-mainbody article > header.category h1,
#gk-mainbody article > header.category h2 {
	border: none!important;
	font-size: 42px!important;
	font-weight: 300!important;
	margin: 0 0 16px 0!important;
	padding: 0!important;
}

#gk-mainbody article > header {	
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box;
	float: none;
	margin-bottom: 18px;
}


article {
	min-height: 210px;
}

article header {
	position: relative;
}

article header h2 {
	line-height: 1.0;
	text-transform: uppercase;
}

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

article.page-fullwidth aside.meta {
    display: none;
}

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

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

article > footer::after {
    clear: both;
    content: "";
    display: table;
}

article > .content,
article > .summary {
}

aside.meta {
	float: left;
	position: absolute;
	width: 118px;
}

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

aside.meta dt,
aside.meta dd {
	clear: both;
	display: block;
	font-size: 11px;
	line-height: 17px;
	text-align: right;
}

aside.meta dt,
aside.meta dd[class] {
	font-weight: normal;
}

aside.meta dd {
	margin: 0 0 12px 0;
}

aside.meta dt.date {
	display: none;
}

aside.meta time {
	color: #363636;
	font-size: 48px;
	font-weight: 600;
	display: block;
	line-height: 1;
	margin: 0 0 16px;
	text-transform: uppercase;
}

aside.meta + .content,
aside.meta + .content + footer,
aside.meta + .summary,
aside.meta + .summary + footer,
aside.meta + header,
aside.meta + header + .summary,
aside.meta + header + .summary + footer,
aside.meta + header + .content,
aside.meta + header + .content + footer {
	margin-left: 168px;
}

article.page-fullwidth aside.meta + .content,
article.page-fullwidth aside.meta + .content + footer,
article.page-fullwidth aside.meta + .summary,
article.page-fullwidth aside.meta + .summary + footer,
article.page-fullwidth aside.meta + header,
article.page-fullwidth aside.meta + header + .summary,
article.page-fullwidth aside.meta + header + .summary + footer,
article.page-fullwidth aside.meta + header + .content,
article.page-fullwidth aside.meta + header + .content + footer {
	margin-left: 0;
}

dl.tags {
	border-top: 1px solid #eee;
	clear: both;
	font-size: 13px;
	margin: 0 0 38px;
	padding: 6px 0;
}

dl.tags dt {
	float: left;
	margin-right: 14px;
}

dl.tags dd a {
	display: block;
	float: left;
	margin: 0 12px 2px 0;
	text-decoration: underline;
}

#gk-social-api {
	border-top: 1px solid #E5E5E5;
	margin: -6px 0 18px;
	padding: 18px 0 0;
}

#gk-social-api::after {
	clear: both;
	content: "";
	display: table;
}

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

#gk-social-api > a {	
	min-height: auto;
}

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

article header h1 sup,
article.sticky header h1 sup,
article header h2 sup,
article.sticky header h2 sup {
	color: #eb592a;
	display: inline-block;
	font-size: 12px;
	font-weight: normal;
	line-height: 12px;
	position: relative;
	text-transform: uppercase;
	top: -25px;
}

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

.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. wp-activate.php and wp-signup.php pages
==================================== */

/* wp-activate.php */

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

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

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

.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;
}