/* 
Theme Name:		 Athena Child theme
Description:	 Child theme of Athena
Author:			 Kelvin Au
Author URI:		 http://kelvinau.net/
Template:		 athena
Version:		 1.0.0
Text Domain:	 Athena-child
-------------------------------------------------------------- */ 

/* =Theme customization starts here
------------------------------------------------------- */
/* MAIN */
main{
    min-height: 600px;	
}
#athena-header > .header-inner > .row {
  max-width: none;
}
}
@media (max-width: 991px) {
	.arrow-container {
		display: none;
	}
}
@media (max-width: 600px) {
	.metaslider img {
		height: 300px !important;
	}
}
.arrow-container {
	text-align: center;
}
.arrow-down {
    border: solid #fefefe;
    border-width: 0 6px 6px 0;
    display: inline-block;
    padding: 6px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    margin-top: -40px;
    opacity: 0.7;
}

/* Menu */
/* Register for iOS click event*/
li.pll-parent-menu-item li.lang-item a {
	cursor: pointer;
}
.pll-parent-menu-item {
	border-left: 2px solid #fff;
	padding-left: 15px;
}
@media (max-width: 991px) {
	.pll-parent-menu-item {
		border-left: 0;
		border-top: 1px solid #fff;
		padding-left: 0;
	}
}
ul.athena-nav>li.menu-item a {
	padding-bottom: 3px !important;
	transition: 0.05s all ease-in-out !important;
    -moz-transition: 0.05s all ease-in-out !important;
    -webkit-transition: 0.05s all ease-in-out !important;
}
#athena-header {
	position: fixed;
	width: 100%;
}
#athena-header .header-inner {
	border-bottom: 2px solid rgba(50,50,50,0.1);
	background: rgba(27,27,27,0.3) !important;
	height: 75px;
}
#athena-header .slicknav_menu {
	background: none !important;
}
.slicknav_btn {
	background-color: rgba(255,255,255,0.4) !important;
}
#athena-header .header-inner #athena-logo{
	line-height: 65px !important;
}
#athena-logo img {
	padding: 5px 0 15px 0 !important;
}
#athena-header:not(.frontpage) .header-inner, #athena-header.frontpage.sticky .header-inner {
	background: #E74C3C !important;
}
#athena-header .header-inner, #athena-header.frontpage.sticky .header-inner {
	height: 60px !important;
}
#athena-header .header-inner #athena-logo img, #athena-header.frontpage.sticky .header-inner #athena-logo img {
	max-height: 70px !important;
}
@media (max-width: 991px) {
/* 	#athena-header .header-inner, #athena-header.frontpage.sticky .header-inner {
		height: 60px !important;
	}
	#athena-header.frontpage .header-inner #athena-logo img, #athena-header.frontpage.sticky .header-inner #athena-logo img {
		max-height: 60px !important;
	}
	#athena-logo img {
		padding-top: 0 !important;
	} */
}
ul.athena-nav {
	padding: 30px 10px;
}
ul.athena-nav a {
	color: #fff !important;
}
ul.athena-nav>li.menu-item.current-menu-parent ul a {
	border-bottom: none;
}
ul.athena-nav>li.menu-item.current-menu-item a, ul.athena-nav>li.menu-item.current-menu-parent > a, ul.athena-nav>li.menu-item a:hover {
	border-bottom: 2px solid #fff !important;
}
ul.athena-nav>li.menu-item.current-menu-parent ul.sub-menu li.current-menu-item a, ul.athena-nav>li.menu-item.current-menu-parent ul.sub-menu li a:hover {
	border-bottom: 2px solid #fff !important;
}
ul.athena-nav>li.menu-item.menu-item-has-children {
	padding-right: 20px !important;
	margin-right: 15px;
}
ul.athena-nav>li.menu-item.menu-item-has-children:hover {
	cursor: pointer;
}
ul.athena-nav>li.menu-item.menu-item-has-children>a:after {
    position: absolute;
    margin-left: 6px !important;	
    margin-top: 2px;
    margin-right: 0 !important;
}
.athena-header-menu .sub-menu {
	padding-top: 19px !important;
	padding-left: 0 !important;
	width: 160px;
}
.athena-header-menu .sub-menu li a{
    max-width: 130px;	
    word-wrap: break-word;
}
.frontpage ul.athena-nav ul li {
	background: rgba(27,27,27,0.3) !important;
}
.frontpage.sticky ul.athena-nav ul li,#athena-header:not(.frontpage) ul.athena-nav ul li {
	background: #E74C3C !important;
	opacity: 0.95;
}
@media (max-width: 991px) {
	#athena-header.frontpage ul li{
	    background: rgba(27,27,27,0.3);
	}	
	#athena-header.frontpage ul li a, #athena-header.frontpage ul li a:visited {
		color: #fff;
	}	
	#athena-header.frontpage.sticky ul li, #athena-header:not(.frontpage) ul li {
	    background: #e74c3c;
	}	
	#athena-header.frontpage.sticky ul li a, #athena-header.frontpage.sticky ul li a:visited, #athena-header:not(.frontpage) ul li a, #athena-header:not(.frontpage) ul li a:visited {
		color: #fff;
	}
	.athena-header-menu .sub-menu {
		padding-top: 0 !important;
    	margin-left: 0px;		
	}
	.athena-header-menu .sub-menu li a {
		max-width: none;	
		padding-right: 40px;
	}
	.slicknav_menu {
		padding-top: 10px !important;
	}
	.slicknav_nav {
		width: 150px;
	    margin-top: 50px !important;	
	    
	   	position: fixed;
    	margin-left: -96px !important;
	}
	.slicknav_nav a {
		margin: 0 !important;
		text-align: right;
	}
	.slicknav_nav a:hover {
		border-radius: 0 !important;
		background: rgba(27,27,27,0.2) !important;
	}
	.slicknav_nav a.slicknav_item a:hover {
		background: none !important;
	}
	.slicknav_nav .menu-item:not(.menu-item-has-children) {
		padding-right: 15px;
	}
}
/* Entry Content */
.entry-content {
    word-wrap: break-word;
}
/* Footer */
.site-info {
	background: #E74C3C !important;
	color: #fff !important;
	padding: 0 !important;
}
#authica-social {
	height: 20px;
}
#authica-social a:hover {
	color: rgba(255,255,255,1) !important;
}
.site-info .designedBy {
	color: rgba(255,255,255,0.8) !important;
	padding: 10px 0;
	font-size: 12px;
}
.site-info .designedBy:hover {
	color: rgba(255,255,255,1) !important;
}
/* Blog Post */
.athena-blog-post {
	box-shadow: 0px 0px 6px #BFBFBF !important;
    -moz-box-shadow: 0px 0px 6px #BFBFBF !important;
    -webkit-box-shadow: 0px 0px 6px #BFBFBF !important;
}
/* Pagination */
#main.athena-page {
	padding-bottom: 30px;
}
.athena-pagination span.page-numbers.current{
	font-weight: bold;
    color: #CE4335;
}
/* Home */
#athena-featured {
	margin-bottom: 15px;
}
.homepage-page-content {
	//padding-left: 65px !important;
}
.homepage-page-content .athena-blog-post {
	width: 49% !important;
}
@media (max-width: 767px) {
	.homepage-page-content {
		//padding-left: 45px !important;
	}
	#athena-featured {
		min-height: 200px !important;
	}
	#athena-featured .featured-box {
		padding: 10px 30px !important;
		min-height: 200px !important;
	}
	.homepage-page-content .athena-blog-post {
		width: 100% !important;
	}
}
.homepage-page-content .post-panel-content .entry-header {
	margin-top: 0;
}
/* News */
.page-template-news .athena-blog-post {
	width: 97% !important;
}
.page-template-news .has-post-thumbnail #athena-posts-image{
	padding: 30px 0;
}
@media (max-width: 767px) {
	.page-template-news .athena-blog-post {
		width: 92.5% !important;
	}
	.page-template-news .has-post-thumbnail #athena-posts-image{
		padding-bottom: 0;
	}
}
/* Location */
.page-template-location .location {
	padding-bottom: 15px;
}
/* Single Post */
.single-post .site-content {
	padding-top: 60px;
}
/* Single Page */
#athena-page-jumbotron {
	margin-top: -20px !important;
}
/* Forum */
#subscription-toggle{
	padding-top: 1em;
    display: inline-block;
}
#subscription-toggle a:hover{
	text-decoration:underline;
}
#favorite-toggle a:hover{
	text-decoration:underline;
}
.bbp-header #subscription-toggle{
	padding-top:0;
}
.forum-search .bbp-search-form {
	width: 100%;
}
#bbp_search {
    background-color: white;
    border: 1px solid #E3E3E3;
    float: left;
    font-size: 1em;
    height: 32px;
}
#bbp_search:focus {
    outline: 0 !important;	
    
}
#bbp_search_submit {
    background: url(image/search_grey_2.png);
    background-size: 100% 100%;
    height: 32px;
    width: 32px;
    margin-right: 0 !important;
    opacity: 0.5;
}
#bbp_search_submit:hover {
	opacity: 0.7;
}
.bbp-submit-wrapper button#bbp_topic_submit:hover {
	background: #be4235!important;
} 
.bbp-author-avatar img.wp-user-avatar {
	margin-top: -9.5px;
}
.forum-title-single{
	width:100%;
	background:white;
	text-align:center;
	padding:1em;
	float:left;
	font-size:2em;
	height: auto;
}
@media screen and (min-width: 56.875em){
	.forum-title-single{
		font-size:40px;
		padding:0.3em;
	}
}
#bbpress-forums .bbp-breadcrumb {
	font-weight: bold;
	width: 100%;
}
#bbpress-forums .bbp-breadcrumb p{
	margin-bottom: 0 !important;
}
#bbpress-forums #bbp-user-wrapper .bbp-user-profile-header, #bbpress-forums #bbp-user-wrapper .bbp-user-header {
	display: none;
}
.forum-archive .bbp-breadcrumb {
	display: none;
}
.bbp-user-edit .bbp-breadcrumb .bbp-breadcrumb-sep, .bbp-user-page .bbp-breadcrumb .bbp-breadcrumb-sep, .bbp-user-page .bbp-breadcrumb .bbp-breadcrumb-current {
	display: none;
}
#bbpress-forums #bbp-your-profile input:not([disabled]), #bbpress-forums #bbp-your-profile textarea:not([disabled])  {
	background-color: #fff;
}
#bbpress-forums #bbp-your-profile .bbp-form .avatar-container {
	width: 80%;
	float: right;
}
#bbpress-forums #bbp-your-profile .bbp-form .avatar-container #wpua-images-existing {
	margin-top: 5px;
}
#bbpress-forums #bbp-your-profile .bbp-form .avatar-container #wpua-images-existing #wpua-preview-existing {
	margin-right: 15px;
}
#bbpress-forums #bbp-your-profile .bbp-form .avatar-container #wpua-images-existing span {
	margin: 0;
	width: 100%;
}
#bbpress-forums #bbp-your-profile .bbp-form .avatar-container span.description {
	margin: 5px 0;
}
#bbpress-forums #bbp-your-profile .bbp-form .avatar-container #wpua-undo-button-existing {
	display: none;
}
#bbpress-forums #bbp-your-profile .bbp-form .avatar-container #wpua-edit-attachment-existing {
	display: none;
}
@media (max-width: 991px) { 
	#bbpress-forums fieldset.bbp-form label{
		width: 100% !important;
		text-align: left !important;
	}
	#bbpress-forums #bbp-your-profile fieldset input, #bbpress-forums #bbp-your-profile fieldset textarea {
		width: 100% !important;
	}
	#bbpress-forums #bbp-your-profile fieldset fieldset.password {
		width: 100% !important;
	}
}
@media only screen and (max-width: 480px) {
	#bbpress-forums div.bbp-reply-author img.avatar {
		margin-top: 0;
	}
}
.bbp-meta .bbp-admin-links a {
	color: #E74C3C;
}
.bbp-the-content.wp-editor-area {
	border: 1px solid #ccc;
}
.bbp-the-content.wp-editor-area:focus {
    border: 2px solid #8caee5;
}
.bbp-topic-freshness > a, .bbp-forum-freshness > a{
	color: #4D5051 !important;
	pointer-events: none;
   	cursor: default;
}
#bbpress-forums .status-closed a {
	color: #5D9306 !important;
}
#bbpress-forums .forum-topic-admin-action {
	float: right;
	padding-bottom: 15px;
}
#bbpress-forums .forum-topic-admin-action button:last-child {
	margin-right: 0 !important;
}
#bbpress-forums .forum-internal-forum-reply-count {
	float: left;
}
body.bbpress.single-topic .print-content {
	display: none;	
	text-align: center;
}
body.bbpress.single-topic .print-content .header-image{
	width: 25%;
}

#bbpress-forums .admin-topic-reply {
	background-color: #ffffe0 !important;
}
#bbpress-forums .admin-forum-reply {
	background-color: #ffff7b!important;
    color: #4D5051!important;
    padding: 5px;
    font-weight: bold;
}
#bbpress-forums .hentry {
	margin: 0;
	padding: 0 0 1.5em;
}

.internal-forum li.bbp-forum-topic-count, .internal-forum li.bbp-topic-voice-count, .internal-forum li.bbp-forum-reply-count, .internal-forum li.bbp-topic-reply-count {
	width: 5%;
}
.internal-forum li.bbp-topic-tenant-reply-count, .internal-forum li.bbp-topic-admin-reply-count {
	float: left;
    text-align: center;
    width: 5%;
}

@media only screen and (max-width: 991px) {
	.internal-forum li.bbp-forum-topic-count, .internal-forum li.bbp-topic-voice-count, .internal-forum li.bbp-forum-reply-count, .internal-forum li.bbp-topic-reply-count, .internal-forum li.bbp-topic-tenant-reply-count, .internal-forum li.bbp-topic-admin-reply-count {
	    width: 15%;
	}
	.internal-forum li.bbp-forum-info, .internal-forum li.bbp-topic-title {
		width: 40%;
	}
	.internal-forum li.bbp-topic-freshness {
		display: none;
	}
}
#bbpress-forums p.bbp-topic-meta span {
	white-space: normal;
}

/* Increase font-size */
#bbpress-forums {
	font-size: 14px;
}
@media only screen and (max-width: 991px) {
	#bbpress-forums {
		font-size: 12px;
	}
}
#bbpress-fourms .bbp-pagination {
	font-size: 14px;
}
.bbp-pagination-links a, .bbp-pagination-links span.current {
	margin: 0 10px;
	padding: 7px 14px;
}
.bbp-pagination-links a:last-child {
	margin-right: 0;
}
.bbp-pagination-links a.prev.page-numbers, .bbp-pagination-links a.next.page-numbers {
	padding: 7px 11px;	
}
div.bbp-breadcrumb, div.bbp-topic-tags {
	font-size: 14px;
}
#bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results {
	font-size: 14px;
}
#bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta {
	font-size: 13px;
}


@media only screen and (max-width: 480px) {
	#bbpress-forums #bbp-search-results .bbp-body div.bbp-reply-author {
		padding-left: 0;
		padding-top: 15px;
	}
	#bbpress-forums div.bbp-reply-author img.avatar {
		position: relative;
		top: 0;
		padding-top: 15px;
	}
}
@media print {
	@page { 
		margin: 0; 
	}
	body.bbpress.single-topic header, body.bbpress.single-topic footer, body.bbpress.single-topic footer.entry-footer {
		display: none;
	}
	body.bbpress.single-topic #bbpress-forums{
		display: none;
	}
	body.bbpress.single-topic .site-main {
		margin-top: 0 !important;
		padding-top: 15px !important;
	}
	body.bbpress.single-topic .entry-content {
		margin-top: 0;
	}
	body.bbpress.single-topic .print-content {
		display: block;
	}
}
