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

#main-menu > ul {
	height: 72px;
	margin: 0;
	padding: 0;
}

#main-menu > li {
	height: 40px;
	float: left;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1px;
	margin: 0 0 0 6px;
}

#main-menu > li > a {
	background: #333;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
	color: #fff;
	display: block;
	height: 40px;
	line-height: 41px;
	margin: 0;
	padding: 0 22px;
	text-transform: uppercase;
}

#main-menu > li:hover > a,
#main-menu > li > a:hover,
#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  {
	background: #de7037;
}

#main-menu > li.haschild:hover > a {
	-webkit-border-radius: 3px 3px 0 0;
	   -moz-border-radius: 3px 3px 0 0;
	        border-radius: 3px 3px 0 0;
}

/* Submenu */
#main-menu .sub-menu {
	background: #de7037;
	-webkit-border-radius: 0 3px 3px 3px;
	   -moz-border-radius: 0 3px 3px 3px;
	        border-radius: 0 3px 3px 3px;
	-webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
	   -moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
	    -ms-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
	     -o-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
	        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
	left: -9999px;
	padding: 0!important;
	overflow: hidden;
	text-align: left;
	min-width: 250px;
	position: absolute;
	z-index: 1000;
}

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

#main-menu li:hover .sub-menu ul {
	display: block;
	margin: 0!important;
	padding: 0!important
}

#main-menu .sub-menu li {
	margin: 0;
	min-height: 24px;
	padding: 0 18px;
	border-top: 1px solid #ed8753;
}

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

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

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

#main-menu .sub-menu .sub-menu {
	left: -9999px!important;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
	margin-left: 180px;	
	margin-top: -32px!important;
	padding: 0;
}

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

#comments {
	margin: 20px 0 0 0;
}

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

#comments > h2:first-child {
	background: transparent url('../images/style1/separator.png') repeat-x left top;
	clear: both;
	font-size: 24px;
	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;
	padding: 0;
}

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

#comments li article {
	clear: both;	
	margin-top: 20px;
	position: relative;
}

#comments li article > aside {
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	left: 0;
	position: absolute;
	top: 20px;
}

#comments li article > aside img {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	display: block;
}

#comments li article > .content {
	border-top: 1px solid #e5e5e5;
	margin-bottom: 24px;
	padding: 12px 0 0 80px;
	position: relative;
}

#comments .children li {
	margin-left: 24px;
}

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

#comments article header {
	overflow: hidden;
}

#comments article header > span,
#comments article header > a {
	float: right;
	font-size: 12px;
	margin: 0 0 0 10px;
}


#comments article header span {
	color: #999;
}

#comments article header span.author {
	float: left!important;
	font-size: 16px!important;
	font-weight: 400!important;
	margin: 0!important;
}

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

#comments article .content > p {
	font-size: 14px;
	line-height: 2.0;
	color: #666;
	font-weight: 400;
}

#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 {
}

#comments li.bypostauthor article .content {
}

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

#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 #e5e5e5;
	display: block;
	margin: 10px 0;
	padding: 10px 20px; 
	white-space: pre;
}

#comments li article blockquote {
	background: #fafafa;
	border: 2px solid #e5e5e5;
	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 {
	background: transparent url('../images/style1/separator.png') repeat-x left top;
	clear: both;
	font-size: 24px;
	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: 13px;
	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
==================================== */

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

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

article header {
	position: relative;
}

article header h1,
article header h2 {
	clear: both;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.2;
	padding: 0;
}

article > header > time {
	background: transparent url('../images/style1/date_bg.png') no-repeat 0 0;
	color: white;
	font-size: 26px;
	font-weight: bold;
	height: 89px;
	left: -117px;
	line-height: 80px;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	-webkit-transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	-ms-transform: rotate(-5deg);
	-o-transform: rotate(-5deg);
	transform: rotate(-5deg);
	width: 150px;
}

article > header time + h1,
article > header time + h2,
article > header time + h1 + ul,
article > header time + h2 + ul {
	padding-left: 68px;
}

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

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

article header ul.meta {
	list-style-type: none;
	margin: 0;
	overflow: hidden;
}

article header ul.meta li {
	float: left;
	line-height: 28px;
	list-style-type: none;
	margin-right: 15px;
}

article .tags,
article .other {
	border-top: 1px solid #e5e5e5;
	font-size: 13px;
	padding: 8px 0;
}

article .tags a,
article .other a {
	text-decoration: underline;
}

#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: #DE7037;
	font-size: 12px;
	font-weight: 400;
	padding: 2px 6px;
	top: -1.8em;
}

article figure.featured-image {
	background: transparent url('../images/style1/img_bg.png') repeat 0 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	     -o-box-sizing: border-box;
	        box-sizing: border-box;
	display: block;
	line-height: 0;
	margin: 0 0 32px 0;
	padding: 12px;
	position: relative;
	width: 100%;
} 

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

article figure.featured-image img + figcaption {
	bottom: -10px;
	color: #bbb;
	font-size: 12px;
	left: 0;
	position: absolute;
	text-align: center;
}

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

.mp-formdiv{
	overflow: hidden;
}
.mp-formdiv input{
	margin-bottom: 7px;
}