/*
 * Poseidon Pro CSS
 *
 * Copyright(C) 2015, ThemeZee.com - support@themezee.com
 * License: GPL v3
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 *
 * @package Poseidon Pro
 */


/*--------------------------------------------------------------
# Header Bar
--------------------------------------------------------------*/
.header-bar-wrap {
	background: #404040;
	color: #fff;
}

.header-bar {
	position: relative;
}

.top-navigation-toggle {
	display: none;
}

.top-navigation-menu {
	display: inline;
	margin: 0 0 0 -0.8em;
	padding: 0;
	list-style-position: outside;
	list-style-type: none;
}

.top-navigation-menu li {
	float: left;
}

.top-navigation-menu a {
	display: block;
	padding: 1em 1.25em;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	font-size: 0.75rem;
	font-family: 'Raleway', Tahoma, Arial;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	color: #fff;
}

.top-navigation-menu > .menu-item-has-children > a:after {
	display: inline-block;
	margin: 0.3em 0 0 0.3em;
	content: '\f431';
	vertical-align: top;
	text-decoration: inherit;
	font-size: 12px;
	font-family: 'Genericons';
	line-height: 1;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.top-navigation-menu a:link,
.top-navigation-menu a:visited {
	color: #fff;
}

.top-navigation-menu a:hover,
.top-navigation-menu a:active {
	color: rgba(255,255,255,0.6);
}

.top-navigation-menu ul {
	position: absolute;
	z-index: 9999;
	display: none;
	margin: 0;
	padding: 0;
	border-top: 4px solid rgba(255,255,255,0.15);
	background: #404040;
	list-style-position: outside;
	list-style-type: none;
}

.top-navigation-menu ul li {
	position: relative;
	float: none;
}

.top-navigation-menu ul a {
	box-sizing: border-box;
	padding: 0.8em 1em;
	min-width: 250px;
	min-width: 16rem;
	border-bottom: 1px dotted rgba(255,255,255,0.15);
	-webkit-transition: none;
	transition: none;
}

.top-navigation-menu ul li:last-child > a {
	border-bottom: none;
}

.top-navigation-menu ul .menu-item-has-children > a:after {
	display: inline-block;
	margin: 0.3em 0 0 0.2em;
	content: '\f431';
	vertical-align: top;
	text-decoration: inherit;
	font-size: 12px;
	font-family: 'Genericons';
	line-height: 1;
	-webkit-transform: rotate(270deg);
	transform: rotate(270deg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.top-navigation-menu li ul ul {
	top: 0;
	left: 100%;
	margin-top: -4px;
}

.top-navigation-menu li.menu-item-has-children:hover > ul,
.top-navigation-menu li.menu-item-has-children[aria-expanded="true"] > ul {
	display: block;
}

.top-navigation-menu li.current-menu-item > a {
	text-decoration: underline;
}

.top-navigation-menu li.current-menu-item > a:after {
	text-decoration: none;
}

/* Mega Menu Styling */
.top-navigation-menu .mega-menu-content .mega-menu-widget ul li {
	border-top: 1px dotted rgba(255,255,255,0.15);
}

/* Social Icons */
.header-bar .social-icons-navigation {
	float: right;
}

.header-bar .social-icons-menu li a {
	padding: 0.75em;
}

.header-bar .social-icons-menu li a:before {
	font-size: 18px;
}

.header-bar .social-icons-menu li a:hover {
	color: rgba(255,255,255,0.6);
	text-decoration: none;
}

/*--------------------------------------------------------------
# Header Search
--------------------------------------------------------------*/
.header-search .header-search-form {
	position: absolute;
	right: 0;
	display: none;
	margin: 0;
	padding: 1em;
	background: #fff;
	border: 1px solid #ddd;
	z-index: 10;
}

.header-search .header-search-form .search-form {
	min-width: 300px;
}

.header-search .header-search-icon {
	padding: 1em;
}

.header-search .header-search-icon {
	color: #404040;
}

.header-search .header-search-icon:hover {
	cursor: pointer;
}

.header-search .header-search-icon:focus {
	outline: none;
}

.header-search .header-search-icon .genericon-search {
	display: inline-block;
	margin: 0.1em 0 0;
	padding: 0;
	content: '\f400';
	vertical-align: middle;
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	font-size: 26px;
	font-family: 'Genericons';
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*--------------------------------------------------------------
# Site Logo
--------------------------------------------------------------*/
.site-branding .site-logo {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: top;
}

/*--------------------------------------------------------------
# Magazine Post Widgets
--------------------------------------------------------------*/

/* Magazine Posts List */
.widget-magazine-posts-list .type-post .wp-post-image {
	float: left;
	margin: 0 1.5em 1.5em 0;
	padding: 0.3em 0 0;
	max-width: 40%;
}

.widget-magazine-posts-list .type-post .entry-title {
	font-size: 28px;
	font-size: 1.75rem;
}

.widget-magazine-posts-list .type-post .entry-content {
	font-size: 16px;
	font-size: 1rem;
}

.widget-magazine-posts-list .type-post .entry-excerpt p {
	margin-bottom: 1em;
}

/*--------------------------------------------------------------
# Author Bio
--------------------------------------------------------------*/
.entry-author {
	margin: 0 0 2em;
	padding: 2em 0 0;
	border-top: 1px solid #ddd;
}

.entry-author .author-avatar {
	float: left;
	margin: 0 1.5em 0.15em 0;
	max-width: 25%;
}

.entry-author .author-avatar img {
	vertical-align: top;
}

.entry-author .author-heading .author-title {
	display: inline-block;
	margin: 0 1em 0.25em 0;
	padding: 0;
	font-size: 17px;
	font-size: 1.0625rem;
}

.entry-author .author-heading .author-link {
	display: inline-block;
	margin: 0 0 0.5em;
	font-size: 16px;
	font-size: 1rem;
}

.entry-author .author-bio {
	margin: 0;
	font-size: 17px;
	font-size: 1.0625rem;
}

/*--------------------------------------------------------------
# Footer Widget Area
--------------------------------------------------------------*/
.footer-widgets-background {
	padding: 3em 0 0;
	background: #404040;
}

.footer-widgets {
	margin-right: -2em;
}

.footer-widget-column {
	float: left;
	box-sizing: border-box;
	padding-right: 2em;
	width: 25%;
}

.footer-widgets .widget {
	color: rgba(255,255,255,0.6)
}

.footer-widgets .widget-title {
	border-bottom: 4px solid rgba(255,255,255,0.08);
	color: #fff;
}

.footer-widgets .widget a:link,
.footer-widgets .widget a:visited {
	color: #fff;
}

.footer-widgets .widget a:hover,
.footer-widgets .widget a:active {
	color: rgba(255,255,255,0.6);
}

/* Custom Footer Widgets */
#footer-widgets .tzwb-social-icons .social-icons-menu li a,
#footer-widgets .widget_tag_cloud .tagcloud a {
	background: rgba(255,255,255,0.1);
}

#footer-widgets .tzwb-social-icons .social-icons-menu li a:hover,
#footer-widgets .widget_tag_cloud .tagcloud a:hover,
#footer-widgets .widget_tag_cloud .tagcloud a:active {
	color: #fff;
	background: rgba(255,255,255,0.2);
}

.footer-widgets .tzwb-tabbed-content .tzwb-tabnavi {
	border-top: 1px solid rgba(255,255,255,0.08);
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-widgets .tzwb-tabbed-content .tzwb-tabnavi li a:link,
.footer-widgets .tzwb-tabbed-content .tzwb-tabnavi li a:visited  {
	color: rgba(255,255,255,0.6);
}

.footer-widgets .tzwb-tabbed-content .tzwb-tabnavi li a:hover,
.footer-widgets .tzwb-tabbed-content .tzwb-tabnavi li a:active,
.footer-widgets .tzwb-tabbed-content .tzwb-tabnavi li a.current-tab {
	color: #fff;
}

/*--------------------------------------------------------------
# Footer Navigation
--------------------------------------------------------------*/
.footer-navigation {
	float: right;
}

.footer-navigation-toggle {
	display: none;
}

.footer-navigation-menu {
	display: block;
	margin: 0;
	padding: 2em 0;
	list-style-position: outside;
	list-style-type: none;
}

.footer-navigation-menu li {
	float: left;
}

.footer-navigation-menu a {
	display: block;
	padding: 0.1em 1em;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	font-size: 0.875rem;
	font-family: 'Raleway', Tahoma, Arial;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.footer-navigation-menu a:link,
.footer-navigation-menu a:visited {
	color: #404040;
	text-decoration: none;
}

.footer-navigation-menu a:hover,
.footer-navigation-menu a:active {
	color: #22aadd;
}

/*--------------------------------------------------------------
# Scroll to Top Button
--------------------------------------------------------------*/
.scroll-to-top-button {
	z-index: 9999;
	width: 45px;
	height: 45px;
	display: inline;
	position: fixed;
	cursor: pointer;
	margin: 0 auto;
	padding: 0;
	right: 1em;
	bottom: 1em;
	background: #22aadd;
	transition: none;
}

.scroll-to-top-button:focus,
.scroll-to-top-button:active {
	background: #22aadd;
}

.scroll-to-top-button:hover {
	background: #404040;
}

.scroll-to-top-button:after {
	display: inline-block;
	margin: 0 0 0 3px;
	color: #fff;
	content: '\f432';
	vertical-align: top;
	text-decoration: inherit;
	font-size: 28px;
	font-family: 'Genericons';
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Desktop X-Large ( < 1200px )
--------------------------------------------------------------*/
@media only screen and (max-width: 75em) {
	.widget-magazine-posts-list .type-post .entry-title {
		font-size: 26px;
		font-size: 1.625rem;
	}

}

/*--------------------------------------------------------------
## Desktop Medium ( < 1040px )
--------------------------------------------------------------*/
@media only screen and (max-width: 65em) {
	.footer-widget-column {
		width: 50%;
	}

	.footer-widget-column:nth-child(3) {
		clear: left;
	}

}

/*--------------------------------------------------------------
## Desktop Small ( < 960px )
--------------------------------------------------------------*/
@media only screen and (max-width: 60em) {
	.header-bar-wrap .header-bar {
		padding: 0;
	}

	/* Header Search */
	.header-search .header-search-form {
		position: static;
		display: block !important;
		visibility: visible;
		margin: 2em 0 1em;
		padding: 0;
		background: none;
		border: none;
	}

	.header-search .header-search-form .search-form {
		min-width: auto;
	}

	.header-search .header-search-icon {
		display: none;
	}

	/* Magazine Posts */
	.widget-magazine-posts-list .type-post .entry-title {
		font-size: 24px;
		font-size: 1.5rem;
	}

	.widget-magazine-posts-sidebar .large-post .wp-post-image {
		float: left;
		margin: 0 1.5em 0 0;
		max-width: 40%;
	}

	/*** Mobile Top Navigation ***/

	/* Reset */
	.top-navigation-menu {
		margin: 0;
	}
	.top-navigation-menu li {
		position: static;
		float: none;
	}

	.top-navigation-menu ul {
		position: static;
		display: block;
	}

	.top-navigation-menu ul a {
		float: none;
		width: auto;
	}

	.top-navigation-menu li ul ul {
		margin: 0;
	}

	.top-navigation-menu li:hover ul ul,
	.top-navigation-menu li:hover ul ul ul,
	.top-navigation-menu li:hover ul ul ul ul,
	.top-navigation-menu li:hover ul,
	.top-navigation-menu li li:hover ul,
	.top-navigation-menu li li li:hover ul,
	.top-navigation-menu li li li li:hover ul {
		display: inline;
	}

	.top-navigation-menu > .menu-item-has-children > a:after,
	.top-navigation-menu ul .menu-item-has-children > a:after {
		display: none;
	}

	/* Top Navigation Toggle */
	.top-navigation-toggle {
		display: inline-block;
		padding: 1em 1.25em;
		color: #fff;
		background: none;
	}

	.top-navigation-toggle:hover,
	.top-navigation-toggle:active {
		color: rgba(255,255,255,0.6);
		background: none;
		cursor: pointer;
	}

	.top-navigation-toggle:focus {
		background: none;
	}

	.top-navigation-toggle:after {
		display: inline-block;
		float: left;
		content: '\f419';
		vertical-align: middle;
		text-decoration: inherit;
		font-weight: normal;
		font-size: 17px;
		font-family: 'Genericons';
		line-height: 1;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	/* Top Navigation Menu */
	.top-navigation-menu {
		display: none;
		float: left;
		width: 100%;
		border-top: 4px solid rgba(255,255,255,0.15);
	}

	.top-navigation-menu a {
		display: block;
		clear: left;
		padding: 1em 1.25em;
		border-bottom: 1px dotted rgba(255,255,255,0.15);
		font-size: 13px;
		font-size: 0.8125rem;
	}

	.top-navigation-menu > li:last-child > a {
		border-bottom: none;
	}

	.top-navigation-menu ul {
		width: 100%;
		border: none;
	}

	.top-navigation-menu ul a {
		display: block;
		padding-left: 2.5em;
		width: 100%;
	}

	.top-navigation-menu ul ul a {
		padding-left: 4em;
	}

	.top-navigation-menu ul ul ul a {
		padding-left: 5.5em;
	}

	.top-navigation-menu ul li:last-child > a {
		border-bottom: 1px dotted rgba(255,255,255,0.15);
	}

	/* Mobile Submenu Dropdowns */
	.top-navigation-menu .submenu-dropdown-toggle {
		display: block;
		float: right;
		margin: 0;
		padding: 0.6em 1.2em;
		color: #fff;
	}

	.top-navigation-menu .submenu-dropdown-toggle:hover {
		color: rgba(255,255,255,0.6);
		cursor: pointer;
	}

	.top-navigation-menu .submenu-dropdown-toggle:before {
		content: '\f431';
		vertical-align: middle;
		text-decoration: inherit;
		font-size: 24px;
		font-family: 'Genericons';
		line-height: 1;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	.top-navigation-menu .submenu-dropdown-toggle.active:before {
		content: '\f432';
	}

	.top-navigation-menu ul .submenu-dropdown-toggle {
		padding: 0.4em 1em;
	}

	/* Footer Widgets */
	.footer-widgets-background {
		padding: 2em 0 0;
	}

	.footer-widgets .widget {
		margin: 0 0 2em;
	}

	/* Footer Navigation */
	.footer-navigation {
		float: none;
		text-align: center;
	}

	.footer-navigation-menu {
		padding-bottom: 0;
	}

	.footer-navigation-menu li {
		float: none;
		display: inline-block;
	}
}

/*--------------------------------------------------------------
## Mobile Extra Large ( < 640px )
--------------------------------------------------------------*/
@media only screen and (max-width: 40em) {
	.widget-magazine-posts-list .type-post .entry-title {
		font-size: 22px;
		font-size: 1.375rem;
	}

	/* Footer Navigation Menu */
	.footer-navigation-menu li,
	.footer-navigation-menu a {
		display: block;
	}

	.footer-navigation-menu a {
		padding: 0.8em 0;
	}
}

/*--------------------------------------------------------------
## Mobile Large ( < 560px )
--------------------------------------------------------------*/
@media only screen and (max-width: 35em) {
	.footer-widgets {
		margin-right: 0;
	}

	.footer-widget-column {
		float: none;
		padding-right: 0;
		width: 100%;
	}

}

/*--------------------------------------------------------------
## Mobile Medium ( < 480px )
--------------------------------------------------------------*/
@media only screen and (max-width: 30em) {
	/* Author Bio */
	.entry-author .author-avatar {
		float: none;
		margin: 0 0 1em;
		max-width: 100%;
	}

	.entry-author .author-heading .author-title {
		display: block;
		margin: 0 0 0.25em;
	}

	.entry-author .author-heading .author-link {
		display: block;
	}

	/* Magazine Posts */
	.widget-magazine-posts-list .type-post .entry-title {
		font-size: 20px;
		font-size: 1.25rem;
	}

	.widget-magazine-posts-sidebar .large-post .wp-post-image {
		float: none;
		margin: 0 0 0.5em 0;
		max-width: 100%;
	}

	/* Footer Widgets */
	.footer-widgets-background {
		padding: 1.5em 0 0;
	}

	.footer-widgets {
		margin-right: -1.5em;
	}

	.footer-widget-column {
		padding-right: 1.5em;
	}

	.footer-widgets .widget {
		margin: 0 0 1.5em;
	}

}

/*--------------------------------------------------------------
## Mobile Small ( < 320px )
--------------------------------------------------------------*/
@media only screen and (max-width: 25em) {
	.widget-magazine-posts-list .type-post .wp-post-image {
		float: none;
		margin: 0 0 0.5em;
		padding: 0;
		max-width: 100%;
	}

}

@media only screen and (max-width: 20em) {
	.header-bar .social-icons-navigation {
		display: none;
	}

}

/*--------------------------------------------------------------
# Media Query Fixes
--------------------------------------------------------------*/

/* Ensure footer navigation is visible on desktop view */
@media only screen and (min-width: 60.001em) {
	.top-navigation-menu {
		display: block !important;
	}

}
