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

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

#main-menu > li {
	border: none;
	float: left;
	font-size: 14px;
	min-height: 45px;
	line-height: 45px;
	margin: 0;
}

#main-menu > li:hover,
#main-menu > li > a:hover,
#main-menu > li:hover > a {
	background: #e25b32;
	border-color: #2a2a2a;
	border-bottom: none;
	border-top: none;
	-webkit-box-shadow: inset 0 0 27px rgba(0, 0, 0, 0.75);
	   -moz-box-shadow: inset 0 0 27px rgba(0, 0, 0, 0.75);
	    -ms-box-shadow: inset 0 0 27px rgba(0, 0, 0, 0.75);
	        box-shadow: inset 0 0 27px rgba(0, 0, 0, 0.75);
	color: #fff;
}

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

#main-menu > li > a {
	border: 1px solid transparent;
	border-top: none;
	border-bottom: none;
	border-left: none;
	color: #fefefe;
	display: block;
	font-size: 14px;
	font-weight: 300;
	height: 45px;
	line-height: 45px;
	margin: 0;
	padding: 0 14px;
	text-transform: uppercase;
	-webkit-transition: all 0.3s ease-out;
	   -moz-transition: all 0.3s ease-out;
	    -ms-transition: all 0.3s ease-out;
	        transition: all 0.3s ease-out;
}

/* Submenu */
#main-menu .sub-menu {
	background: #2a2a2a;
	-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	    -ms-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	     -o-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	left: -9999px;
	overflow: hidden;
	text-align: left;
	position: absolute;
	width: 200px;
	z-index: 999;
}

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

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

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

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

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

#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 {
	color: #fff;
}

#main-menu .sub-menu .sub-menu {
	margin-left: 160px;
	margin-top: -32px;	
}

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

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

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

#comments > h2:first-child {
	font-size: 20px;
	font-weight: 700;
	margin-top: 0;
	padding: 24px 0 0;
}

#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 {
	border-top: 1px solid #E5E5E5;
	margin: 24px 0 0;
	padding: 24px 0 0;
}

#comments li article {
	clear: both;	
	position: relative;
}

#comments li article > aside {
	left: 0;
	position: absolute;
	top: 0;
}

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

#comments li article > .content {
	margin: 0 0 0 66px;
	overflow: hidden;
	padding-left: 10px;
}

#comments .content p {
	margin: 0;
}

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

#comments article .author {
	display: block;
	float: left;
	font-size: 13px;
	font-weight: 700;
	margin-right: 16px;
}

#comments article .author a {
	color: #363636;
}

#comments article .author a:active,
#comments article .author a:focus,
#comments article .author a:hover {
	color: #e25b32;
}

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

#comments article .edit-link,
#comments article .reply {
	float: right;
	font-size: 12px;
	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 {
}

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

#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: 1px solid #E5E5E5;
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	padding: 24px 0 0;
}

#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 {
	clear: both;
	font-size: 38px;
	font-weight: 300;
	line-height: 42px;
	margin: 0;
	padding: 0 0 6px;
}

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

article header {
	overflow: hidden;
	position: relative;
}

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

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

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

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

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

article header ul {
	margin: 0;
}

article header ul li {
	color: #999;
	float: left;
	font-size: 12px;
	margin-right: 16px;
	padding: 0;
}

article header ul li::before {
	display: none;
}

.gk-post-meta {
	display: block;
	float: left;
	text-align: right;
	width: 130px;
}

.gk-post-meta li {
	font-size: 11px;
	line-height: 22px;
	padding-left: 0;
}

.gk-post-meta ul {
	margin: 0;
}

.gk-post-meta li::before {
	display: none;
}

.gk-post-meta + .content {
	margin-left: 160px;
}

.gk-post-meta .tags,
.gk-post-meta .author {
	border-top: 1px solid #e5e5e5;
	margin-top: 20px;
	padding-top: 20px;
}

.gk-post-meta .tags {
	color: #999;
}

.gk-post-meta .tags p {
	color: #666;
	line-height: 17px;
	margin: 0 0 9px 0;
}

.gk-post-meta .tags a {
	color: #999;
	font-style: italic;
}

.gk-post-meta .author a.gk-url {
	color: #999;
}

.gk-post-meta .author .gk-author-name {
	clear: both;
	display: block;
	font-size: 14px;
}

.gk-post-meta .tags a:active,
.gk-post-meta .tags a:focus,
.gk-post-meta .tags a:hover,
.gk-post-meta .author a.gk-url:active,
.gk-post-meta .author a.gk-url:focus,
.gk-post-meta .author a.gk-url:hover {
	color: #e25b32;
}

#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: auto;
}

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

article header h1 sup,
article.sticky header h1 sup,
article header h2 sup,
article.sticky header h2 sup {	
	background: #E25B32;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	padding: 1px 3px;
	position: relative;
	top: -1.5em;
}

article figure.featured-image img {
	display: block;
	height: auto;
	margin: 0 auto 24px 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;
}

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

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

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

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

.intro #searchform {
	padding: 20px 0 0 0;
}

.intro #searchform #searchsubmit {
	display: inline-block;
	float: none;
}