/*======================================
Theme Name: Smartline Lite
Theme URI: https://themezee.com/themes/smartline/
Description: Smartline Lite is a perfect theme for news and magazine websites as well as simple blogs. The responsive design with bold colors and smart lines looks great on any device. The main highlight of Smartline is the flexible and widgetized front page template which allows you to create a magazine-styled homepage with ease.
Version: 1.4.4
Author: ThemeZee
Author URI: https://themezee.com
Tags: two-columns, custom-background, custom-colors, custom-header, custom-menu,  editor-style, rtl-language-support, blog, news, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, threaded-comments, translation-ready, theme-options, one-column, left-sidebar, right-sidebar, three-columns
Text Domain: smartline-lite
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
======================================*/

/* CSS Reset | http://meyerweb.com/eric/tools/css/reset/ | v2.0
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* General Styles
-------------------------------------------------------------- */
html {
	font-size: 100.01%;
}
body {
	font-family: 'Raleway', Arial, Tahoma;
	font-size: 0.95em;
	border: 0;
	color: #111;
	background-color: #e5e5e5;
}

/* Links */
a, a:link, a:visited{
	color: #004488;
	text-decoration: none;
}
a:hover, a:active {
	text-decoration: underline;
}

/* Form Elements */
input, textarea {
	padding: 0.7em;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 1.0em;
	color: #333;
	font-family: 'Raleway', Arial, Tahoma;
}
input[type="submit"] {
	border: none;
	color: #333;
	background-color: #eee;
}
input[type="submit"]:hover {
	background-color: #ddd;
	cursor: pointer;
}

/* Clearing Floats */
.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
    *zoom: 1; /* For IE 6/7 only */
}

/* Make Form Elements responsive */
input, textarea, select {
	max-width: 100%;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Basic Structure
-------------------------------------------------------------- */
#wrapper {
	max-width: 1340px;
	width: 92%;
	margin: 2em auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: #fff;
}
#header-wrap {
	border-top: 4px solid #004488;
}
#header {
	padding: 2.5em;
	background: #fff;
}
#wrap {
	clear: both;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#content {
	float: left;
	width: 70%;
	padding: 2em 2em 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#sidebar {
	margin-left: 70%;
	width: 30%;
	padding: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: #f3f3f3;
	background: -moz-linear-gradient(left, #e6e6e6 0%, #f3f3f3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e6e6e6), color-stop(100%,#f3f3f3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, #e6e6e6 0%,#f3f3f3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, #e6e6e6 0%,#f3f3f3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left, #e6e6e6 0%,#f3f3f3 100%); /* IE10+ */
	background: linear-gradient(to right, #e6e6e6 0%,#f3f3f3 100%); /* W3C */
}
#content-full {
	padding: 2em 2em 0;
}

/* Header
-------------------------------------------------------------- */
#logo {
	float: left;
	max-width: 100%;
	overflow: hidden;
}
#logo .site-title {
	display: inline-block;
	font-size: 2.5em;
	font-weight: bold;
	color: #004488;
	font-family: 'Bitter', Georgia, Arial, Tahoma;
}
#logo .site-title a:link,
#logo .site-title a:visited {
	color: #004488;
}
#logo .site-title a:hover,
#logo .site-title a:active {
	color: #333;
	text-decoration: none;
}
#logo .site-description {
	float: right;
	margin: 0.4em 0 0 2em;
	line-height: 1.4em;
	font-size: 1.3em;
	color: #444;
}
#logo .custom-logo {
	margin: 0 1.5em 0 0;
	padding: 0;
	border: none;
	vertical-align: top;
	max-width: 100%;
	height: auto;
}

/* Header Content */
#header-content {
	display: inline;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#header-content div {
	float: right;
	margin-left: 1.5em;
}

/* Custom Header Image */
#custom-header {
	margin: 0;
}
#custom-header img {
	max-width: 1340px;
	vertical-align: top;
	width: 100%;
	height: auto;
}

/* Top Navigation Menu
-------------------------------------------------------------- */
#topnav-toggle, #topnav-icon {
	display: none;
}
#topnav {
	background: #f5f5f5;
	border-bottom: 1px solid #e5e5e5;
}
.top-navigation-menu {
	float: left;
	list-style-type: none;
	list-style-position: outside;
	position: relative;
}
.top-navigation-menu li{
	float: left;
	position: relative;
	margin-left: 0.5em;
	border-right: 1px solid #e5e5e5;
}
.top-navigation-menu a {
	display: block;
	padding: 0.7em 1em 0.7em 0.5em;
	text-decoration: none;
	font-size: 0.85em;
}
.top-navigation-menu a:link, .top-navigation-menu a:visited{
	color: #222;
	text-decoration: none;
}
.top-navigation-menu a:hover {
	color: #555;
	text-decoration: underline;
}
.top-navigation-menu li.current_page_item a, .top-navigation-menu li.current-menu-item a {
	text-decoration: underline;
}
.top-navigation-menu li .sub-menu {
	display: none !important;
}

/* Navigation Menu
-------------------------------------------------------------- */
#mainnav-toggle, #mainnav-icon {
	display: none;
}
#navi-wrap {
	border-top: 1px solid #004488;
	border-bottom: 1px solid #004488;
	background: #fff;
	padding-top: 1px;
	padding-bottom: 1px;
}
#mainnav {
	background: #004488;
	position: relative;
}
.main-navigation-menu {
	float: left;
	list-style-type: none;
	list-style-position: outside;
	background: #004488;
}
.main-navigation-menu li{
	float: left;
	border-right: 1px solid #fff;
}
.main-navigation-menu a {
	display: block;
	padding: 1.2em;
	text-decoration: none;
	font-size: 1.0em;
	font-family: 'Bitter', Georgia, Arial, Tahoma;
	-webkit-transition: all 0.1s ease-out;
	-moz-transition: all 0.1s ease-out;
	-ms-transition: all 0.1s ease-out;
	-o-transition: all 0.1s ease-out;
	transition: all 0.1s ease-out;
}
.main-navigation-menu a:link, .main-navigation-menu a:visited{
	color: #fff;
	text-decoration: none;
}
.main-navigation-menu a:hover {
	background: #303030;
}
.main-navigation-menu ul {
	position: absolute;
	display: none;
	z-index: 99;
	color: #fff;
	background: #303030;
	border-top: 1px solid #fff;
}
.main-navigation-menu ul li{
	float: none;
	position: relative;
	border: none;
}
.main-navigation-menu ul a {
	min-width: 250px;
	min-width: 16rem;
	padding: 1em;
	font-weight: normal;
	color: #fff;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.main-navigation-menu ul a:link, .main-navigation-menu ul a:visited{
	color: #fff;
	font-size: 0.9em;
	text-decoration: none;
}
.main-navigation-menu ul a:hover {
	background: rgba(255,255,255,0.1);
}
.main-navigation-menu li ul ul {
	border: none;
	border-left: 1px solid #fff;
	top: 0;
	left: 100%;
}
.main-navigation-menu li.menu-item-has-children:hover > ul,
.main-navigation-menu li.page_item_has_children:hover > ul,
.main-navigation-menu li.menu-item-has-children[aria-expanded="true"] > ul {
	display: block;
}
.main-navigation-menu li.current_page_item a, .main-navigation-menu li.current-menu-item a {
	text-decoration: underline;
}
.main-navigation-menu li.current_page_item ul li a, .main-navigation-menu li.current-menu-item ul li a{
	text-decoration: none;
}
.main-navigation-menu ul li.current_page_item a, .main-navigation-menu ul li.current-menu-item a {
	text-decoration: underline;
}
.main-navigation-menu ul li.current_page_item ul li a, .main-navigation-menu ul li.current-menu-item ul li a{
	text-decoration: none;
}

/* Mega Menu Styling */
.mega-menu-content {
	line-height: 1.5;
}
.mega-menu-content .mega-menu-widget .mega-menu-widget-header-title {
	font-weight: bold;
}
.main-navigation-menu .mega-menu-content .mega-menu-widget ul li a:hover,
.main-navigation-menu .mega-menu-content .mega-menu-widget ul li a:active {
	color: rgba(255,255,255,0.6);
	background: none;
}

.main-navigation-menu .mega-menu-content .widget_meta ul li,
.main-navigation-menu .mega-menu-content .widget_pages ul li,
.main-navigation-menu .mega-menu-content .widget_categories ul li,
.main-navigation-menu .mega-menu-content .widget_archive ul li {
	display: block;
}

.main-navigation-menu .mega-menu-content .widget_meta ul li a,
.main-navigation-menu .mega-menu-content .widget_pages ul li a,
.main-navigation-menu .mega-menu-content .widget_categories ul li a,
.main-navigation-menu .mega-menu-content .widget_archive ul li a {
	display: block;
	padding: 0.5em 0.75em;
	font-size: 14px;
	font-size: 0.875rem;
}

.main-navigation-menu .mega-menu-content .widget_meta ul li a:hover,
.main-navigation-menu .mega-menu-content .widget_pages ul li a:hover,
.main-navigation-menu .mega-menu-content .widget_categories ul li a:hover,
.main-navigation-menu .mega-menu-content .widget_archive ul li a:hover {
	color: #fff;
	background: rgba(255,255,255,0.1);
}

/* Widget Styling
-------------------------------------------------------------- */
.widget {
	margin-bottom: 1em;
	padding: 1em;
	background: #fff;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
#sidebar .widget {
	float: left;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.widgettitle {
	font-size: 0.9em;
	font-family: 'Raleway', Arial, Tahoma;
	padding: 0.9em;
	margin: -0.5em -0.5em 1em -0.5em;
	background: #004488;
	color: #fff;
	box-shadow: inset 0 0 1px #bbb;
	border: 1px solid #004488;
}
.widget .textwidget {
	line-height: 1.5em;
}
.widget .textwidget p {
	margin-bottom: 1em;
}
.widget ul {
	line-height: 1.5em;
}
.widget ul {
	list-style: circle inside;
	color: #333;
}
.widget ul .children {
	padding: 0;
	margin: 0.5em 0 0.5em 1em;
}
.widget a:link, .widget a:visited  {
	text-decoration: none;
	color: #004488;
}
.widget a:hover, .widget a:active {
	text-decoration: underline;
}
.widget img {
	max-width: 100%;
	height: auto;
}
.widgettitle a:link, .widgettitle a:visited  {
	color: #fff;
}

/* Custom Widgets
-------------------------------------------------------------- */

/* Custom Menu Widget */
.widget_nav_menu .menu ul {
	padding: 0.3em 0 0.3em 1em;
}

/* Calendar Widget */
#wp-calendar {
	margin: 0;
	width: 100%;
	color: #444;
	line-height: 1.6em;
}
#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: left;
}
#wp-calendar caption {
	font-style: italic;
	margin-bottom: 0.1em;
}
#wp-calendar th {
	font-weight: bold;
	font-size: 0.85em;
}
#wp-calendar tfoot tr td {
	padding-top: 0.5em;
}
#wp-calendar #next {
	padding-right: 0.8em;
	text-align: right;
}


/* Posts and Pages
-------------------------------------------------------------- */
.type-post, .type-page, .type-attachment  {
	margin: 0 0 2em 0;
	padding: 0 0 0.5em 0;
	border-bottom: 1px dashed #aaa;
}
.page-title, .entry-title {
	font-weight: bold;
	font-family: 'Bitter', Georgia, Arial, Tahoma;
	color: #004488;
	line-height: 1.4em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
.page-title {
    font-size: 2.3em;
	padding: 0.1em 0;
}
.entry-title {
    font-size: 1.5em;
	padding: 0.3em 0;
}
.entry-title a:link, .entry-title a:visited {
	color: #004488;
	text-decoration: none;
}
.entry-title a:hover, .entry-title a:active{
	color: #333;
	text-decoration: underline;
}
.sticky {
	border-left: 5px solid #ddd;
	padding-left: 1.5em;
}

/* Page Links | wp_link_pages() */
.page-links {
	margin: 0;
	word-spacing: 1em;
}

/* Postmeta */
.entry-meta, .postinfo {
	color: #333;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	font-size: 0.9em;
}
.postinfo {
	clear: both;
	margin: 1em 0 0;
}
.entry-meta span, .postinfo span{
	margin-right: 0.5em;
}
.entry-meta a:link, .entry-meta a:visited {
	color: #555;
	text-decoration: underline;
}
.entry-meta a:hover, .entry-meta a:active{
	text-decoration: none;
}

/* Postmeta Icons */
.entry-meta span:before, .postinfo span:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 20px/1 'Genericons';
	vertical-align: middle;
	color: #777;
}
.entry-meta .meta-date:before{
	content: '\f307';
}
.entry-meta .meta-author:before{
	content: '\f304';
}
.entry-meta .meta-category:before{
	content: '\f301';
}
.entry-meta .meta-comments:before,
.postinfo .meta-comments:before{
	content: '\f300';
}
.postinfo .meta-tags:before{
	content: '\f302';
}

/* Read more Link */
.more-link {
	display: inline-block;
	font-weight: bold;
	margin: 1em 0 0.5em;
	padding: 0.4em 1em;
	text-decoration: none;
	color: #333;
	background-color: #eee;
}
.more-link:link, .more-link:visited {
	color: #333;
}
.more-link:hover, .more-link:active {
	background-color: #ddd;
	text-decoration: none;
}

/* Post Navigation */
.post-navigation {
	margin: 0 0 2em 0;
	line-height: 1.5;
}
.post-navigation .nav-links:before,
.post-navigation .nav-links:after {
	content: "";
	display: table;
}
.post-navigation .nav-links:after {
	clear: both;
}
.post-navigation .nav-links .nav-previous {
	float: left;
}
.post-navigation .nav-links .nav-next {
	float: right;
}

/* Archives and Search Heading */
.archive-title {
	font-weight: bold;
	font-size: 1.1em;
	color: #333;
	padding-bottom: 0.5em;
	margin-bottom: 1.5em;
	border-bottom: 1px dashed #aaa;
}
.archive-title span{
	color: #004488;
}
.archive-description {
	margin: -1em 0 1.5em;
	line-height: 1.6;
}

/* Content Pagination */
.post-pagination {
	margin-bottom: 1em;
	color: #333;
}
.post-pagination a {
	padding: 0.2em 0.6em;
	margin-right: 0.2em;
	display: inline-block;
    text-align: center;
	text-decoration: none;
	color: #004488;
}
.post-pagination a:link, .post-pagination a:visited {
	color: #004488;
}
.post-pagination a:hover {
	text-decoration: underline;
}
.post-pagination .current {
	padding: 0.2em 0.6em;
	margin-right: 0.2em;
	background: #004488;
	color: #fff;
}

/* Infinite Scroll Pagination */
.infinite-scroll .post-pagination {
	display: none;
}
.infinite-scroll #infinite-handle span {
	display: inline-block;
	margin-bottom: 1em;
	padding: 0.6em 1em;
	font-size: 1em;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #004488;
}
.infinite-scroll #infinite-handle span:hover {
	background-color: #333;
}

/* Breadcrumbs */
.breadcrumbs {
	color: #333;
	padding-bottom: 0.5em;
	margin-bottom: 1.5em;
	border-bottom: 1px dashed #aaa;
}
.breadcrumbs .trail-browse,
.breadcrumbs .trail-items,
.breadcrumbs .trail-items li {
	display: inline;
	line-height: 1.4;
}
.breadcrumbs .trail-browse {
	margin-right: 0.5em;
}
.breadcrumbs .trail-items {
	list-style: none;
}
.breadcrumbs .trail-items li::after {
	content: "\00bb"; /* Raquo */
	padding: 0 0.5em;
}
.trail-separator-slash .trail-items li::after { content: "\002F"; }
.trail-separator-dash .trail-items li::after { content: "\2013"; }
.trail-separator-bull .trail-items li::after { content: "\2022"; }
.trail-separator-arrow-bracket .trail-items li::after { content: "\003e"; }
.trail-separator-raquo .trail-items li::after { content: "\00bb"; }
.trail-separator-single-arrow .trail-items li::after { content: "\2192"; }
.trail-separator-double-arrow .trail-items li::after { content: "\21D2"; }
.breadcrumbs .trail-items li:last-of-type::after {
	display: none;
}

/* Text Elements
-------------------------------------------------------------- */
.entry {
	line-height: 1.6em;
	margin: 0.4em 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
.entry p, .comment p {
	margin: 0.75em 0;
}
.entry h1, .comment h1,
.entry h2, .comment h2,
.entry h3, .comment h3,
.entry h4, .comment h4,
.entry h5, .comment h5,
.entry h6, .comment h6 {
	color: #222;
	font-weight: bold;
	line-height: 1.0em;
	margin: 1.2em 0 0.3em;
}
.entry h1, .comment h1 {
	font-size: 3.0em;
}
.entry h2, .comment h2 {
	font-size: 2.25em;
}
.entry h3, .comment h3 {
	font-size: 1.5em;
}
.entry h4, .comment h4 {
	font-size: 1.25em;
}
.entry h5, .comment h5 {
	font-size: 1.125em;
	margin: 1.3em 0 0;
}
.entry h6, .comment h6 {
	font-size: 1.0em;
	margin: 1.3em 0 0;
}
.entry ul, .comment ul{
	list-style: square inside;
	margin: 0 0 1.5em 2em;
}
.entry ol, .comment ol{
	list-style: decimal inside;
	margin: 0 0 1.5em 2em;
}
.entry ol ol, .comment ol ol{
	list-style: upper-alpha inside;
}
.entry ol ol ol, .comment ol ol ol{
	list-style: lower-roman inside;
}
.entry ol ol ol ol, .comment ol ol ol ol{
	list-style: lower-alpha inside;
}
.entry ul ul, .comment ul ul,
.entry ol ol, .comment ol ol,
.entry ul ol, .comment ul ol
.entry ol ul, .comment ol ul {
	margin-bottom: 0.2em;
}
dl {
	margin: 1em 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.5em;
}
strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big, .big_tag {
	font-size: 1.3em;
}
ins {
	text-decoration: none;
}
code, pre {
	padding: 3px 8px;
	margin: 0 1px;
	background: #eeeeee;
	color: #222;
	font-size: 0.9em;
	font-family: Monospace, "Courier New", Courier;
	overflow: auto;
	line-height: 1.4em;
}
del, strike, s{
	text-decoration: line-through;
}
pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}
small {
	font-size: 0.7em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
	font-size: 0.8em;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
.entry var, .entry kbd, .entry tt, .entry .tt_tag {
	font-size: 1.1em;
	font-family: "Courier 10 Pitch", Courier, monospace;
}
blockquote {
	background: #f5f5f5;
	border-left: 10px solid #ccc;
	margin: 1.2em 0;
	padding: 0.3em 1.4em;
}
blockquote cite {
	display: block;
	margin: 0.5em 0 0 0.5em;
	color: #777;
}
.entry table {
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #ddd;
	margin: 1em 0;
	text-align: left;
	width: 100%;
}
.entry tr th,
.entry thead th {
	background: #e5e5e5;
	font-weight: bold;
	padding: 0.2em 1em;
}
.entry tr td {
	border-top: 1px solid #ddd;
	padding: 0.2em 1em;
}
.entry tr.alternate td {
	background: #f5f5f5;
}

/* Images | Gallery | Videos
-------------------------------------------------------------- */
article .wp-post-image {
	max-width: 100%;
	margin: 1.2em 2em 1em 0;
	height: auto;
}
.entry img {
	max-width: 100%;
	height: auto;
}
.wp-caption {
	max-width: 100%;
	height: auto;
	text-align: center;
	margin: 1em 0;
}
.wp-caption p.wp-caption-text {
	margin: 0;
	padding: 0;
	font-size: 0.9em;
	text-align: center;
}
.alignleft {
	float: left;
	display: inline;
	margin: 1em 2em 1em 0;
}
.alignright	{
	float: right;
	display: inline;
	margin: 1em 0 1em 2em;
}
.aligncenter {
	margin: 1em auto;
	display: block;
}

/* Gallery Styling */
.gallery {
	padding-top: 1em;
}
.gallery-item {
	padding: 0.3em 1em 0 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.gallery img {
	margin: 0;
	padding: 2px;
	border: 1px solid #ddd !important;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.gallery-caption {
	max-width: 100%;
	height: auto;
	text-align: center;
	margin: 0.5em 0;
}

/* Make Vidoes responsive */
embed, iframe, object, video {
	max-width: 100%;
}

/* Image.php Navigation */
#image-nav {
	margin-bottom: 1.5em;
	padding: 0.5em;
	color: #333;
	border-bottom: 1px dashed #aaa;
}
#image-nav .nav-previous {
	float: left;
}
#image-nav .nav-next {
	float: right;
}
#image-nav .nav-previous a, #image-nav .nav-next a {
	font-size: 0.9em;
	text-decoration: none;
	color: #004488;
}
#image-nav .nav-previous a:hover, #image-nav .nav-next a:hover {
	text-decoration: underline;
}
/* Search Form
-------------------------------------------------------------- */
.search-form {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow:hidden;
}
.search-form .screen-reader-text {
	display: none;
}
.search-form .search-field {
	display: inline-block;
	margin: 0;
	width: 100%;
	padding: 0.7em 45px 0.7em 0.7em;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 1.0em;
	color: #333;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
}
.search-form .search-submit {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	background: transparent;
	padding: 0.8em 0.7em 0 0;
	cursor: pointer;
}
.search-form .search-submit .genericon-search {
	display: inline-block;
	width: 24px;
	height: 24px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 24px;
	line-height: 1;
	font-family: 'Genericons';
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	vertical-align: text-bottom;
	color: #777;
	content: '\f400';
}
.search-form .search-submit:hover .genericon-search {
	color: #333;
}


/* Social Icons | based upon http://kovshenin.com/2014/social-menus-in-wordpress-themes/
-------------------------------------------------------------- */
#social-icons-menu {
	list-style-type: none;
	list-style-position: outside;
	line-height: 1em;
}
#social-icons-menu li {
	float: left;
	margin: 0 2px 2px 0;
	padding: 0;
	background: #222;
}
#social-icons-menu li a {
	position: relative;
	display: inline-block;
	padding: 0.9em;
	background: #444;
	text-decoration: none;
	color: #fff;
}
#social-icons-menu li a:before {
	color: #fff;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 16px/1;
	line-height: 1;
	font-family: 'Genericons';
	text-decoration: inherit;
	vertical-align: top;
}

/* Add Genericons */
#social-icons-menu li a:before { content: '\f408';} /* Default Icon */
#social-icons-menu li a[href*="codepen.io"]:before  { content: '\f216'; }
#social-icons-menu li a[href*="digg.com"]:before { content: '\f221'; }
#social-icons-menu li a[href*="dribbble.com"]:before { content: '\f201'; }
#social-icons-menu li a[href*="facebook.com"]:before { content: '\f204'; }
#social-icons-menu li a[href*="flickr.com"]:before { content: '\f211'; }
#social-icons-menu li a[href*="plus.google.com"]:before { content: '\f218'; }
#social-icons-menu li a[href*="github.com"]:before { content: '\f200'; }
#social-icons-menu li a[href*="instagram.com"]:before { content: '\f215'; }
#social-icons-menu li a[href*="linkedin.com"]:before { content: '\f207'; }
#social-icons-menu li a[href*="pinterest.com"]:before { content: '\f209'; }
#social-icons-menu li a[href*="polldaddy.com"]:before { content: '\f217'; }
#social-icons-menu li a[href*="getpocket.com"]:before { content: '\f224'; }
#social-icons-menu li a[href*="reddit.com"]:before { content: '\f222'; }
#social-icons-menu li a[href*="spotify.com"]:before { content: '\f515'; }
#social-icons-menu li a[href*="skype.com"]:before,
#social-icons-menu li a[href*="skype:"]:before { content: '\f220'; }
#social-icons-menu li a[href*="stumbleupon.com"]:before { content: '\f223'; }
#social-icons-menu li a[href*="tumblr.com"]:before { content: '\f214'; }
#social-icons-menu li a[href*="twitch.tv"]:before { content: '\f516'; }
#social-icons-menu li a[href*="twitter.com"]:before { content: '\f202'; }
#social-icons-menu li a[href*="vimeo.com"]:before  { content: '\f212'; }
#social-icons-menu li a[href*="wordpress.org"]:before,
#social-icons-menu li a[href*="wordpress.com"]:before { content: '\f205'; }
#social-icons-menu li a[href*="youtube.com"]:before { content: '\f213'; }
#social-icons-menu li a[href*="newsletter"]:before,
#social-icons-menu li a[href*="mailto"]:before { content: '\f410'; }
#social-icons-menu li a[href*="/feed"]:before,
#social-icons-menu li a[href*="/feed/"]:before,
#social-icons-menu li a[href*="?feed=rss2"]:before,
#social-icons-menu li a[href*="feedburner.google.com"]:before,
#social-icons-menu li a[href*="feedburner.com"]:before { content: '\f413'; }

/* Add Colors */
#social-icons-menu li a { background: #444; } /* Default Icon */
#social-icons-menu li a[href*="codepen.io"]  { background: #222; }
#social-icons-menu li a[href*="digg.com"] { background: #151515; }
#social-icons-menu li a[href*="dribbble.com"] { background: #ea4c89; }
#social-icons-menu li a[href*="facebook.com"] { background: #3b5998; }
#social-icons-menu li a[href*="flickr.com"] { background: #ff0084; }
#social-icons-menu li a[href*="plus.google.com"] { background: #dd4b39; }
#social-icons-menu li a[href*="github.com"] { background: #171515; }
#social-icons-menu li a[href*="instagram.com"] { background: #3f729b; }
#social-icons-menu li a[href*="linkedin.com"] { background: #007bb6; }
#social-icons-menu li a[href*="pinterest.com"] { background: #cb2027; }
#social-icons-menu li a[href*="polldaddy.com"] { background: #bc0b0b; }
#social-icons-menu li a[href*="getpocket.com"] { background: #ee4056; }
#social-icons-menu li a[href*="reddit.com"] { background: #ff4500; }
#social-icons-menu li a[href*="spotify.com"] { background: #81b71a; }
#social-icons-menu li a[href*="skype.com"],
#social-icons-menu li a[href*="skype:"] { background: #00aff0; }
#social-icons-menu li a[href*="stumbleupon.com"] { background: #f74425; }
#social-icons-menu li a[href*="tumblr.com"] { background: #32506d; }
#social-icons-menu li a[href*="twitch.tv"] { background: #6441A5; }
#social-icons-menu li a[href*="twitter.com"] { background: #00aced; }
#social-icons-menu li a[href*="vimeo.com"]  { background: #aad450; }
#social-icons-menu li a[href*="wordpress.org"] { background: #21759b; }
#social-icons-menu li a[href*="wordpress.com"] { background: #1e8cbe; }
#social-icons-menu li a[href*="youtube.com"] { background: #c4302b; }
#social-icons-menu li a[href*="newsletter"],
#social-icons-menu li a[href*="mailto"] { background: #dd4444; }
#social-icons-menu li a[href*="/feed"],
#social-icons-menu li a[href*="/feed/"],
#social-icons-menu li a[href*="?feed=rss2"],
#social-icons-menu li a[href*="feedburner.google.com"],
#social-icons-menu li a[href*="feedburner.com"] { background: #ee802f; }

#social-icons-menu li a:hover {
	text-decoration: none;
	opacity: 0.9;
}

#social-icons-menu li a .screen-reader-text {
	display: none;
}
.social-icons-wrap .social-icons-hint {
	font-size: 0.8em;
	color: #777;
	max-width: 300px;
	line-height: 1.2em;
}


/* Comments
-------------------------------------------------------------- */
#comments {
	margin: 1em 0;
}
#comments .comments-title, #respond #reply-title {
	font-family: 'Bitter', Georgia, Arial, Tahoma;
	font-size: 1.4em;
	color: #333;
	line-height: 1.4em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	margin-bottom: 1em;
	padding-bottom: 0.3em;
	border-bottom: 1px dashed #aaa;
}
.commentlist {
	display: block;
	margin: 0;
}
.commentlist .comment{
	display: block;
	margin-bottom: 2em;
	padding: 1em;
	border-top: 1px solid #ddd;
	background: #f5f5f5;
	list-style: none;
	line-height: 1.5em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
.comment-author img {
	float: left;
	margin-right: 1em;
	margin-top: -0.1em;
}
.comment-author img:after {
	clear: both;
}
.comment-author .fn {
	font-size: 1.1em;
	padding: 0.2em 0;
}
.comment-author .fn a:link, .comment-author .fn a:visited {
	text-decoration: underline;
}
.comment-author .fn a:hover, .comment-author .fn a:active {
	text-decoration: none;
}
.bypostauthor .fn, .comment-author-admin .fn{
	font-style: italic;
	background: #eee;
	padding: 0.2em 0.6em;
}
.comment-meta {
	font-size: 0.9em;
	margin-bottom: 1.5em;
}
.comment-meta a:link, .comment-meta a:visited,
.comment-meta a:active, .comment-meta a:hover {
	color: #666;
}
#comments .children {
	margin-top: 1em;
	margin-left: 1em;
}
#comments .children .comment {
	background: #fff;
	border: 1px solid #ddd;
}
.nocomments {
	color: #444;
	padding: 1em;
}
.commentlist .pingback {
	display: block;
	padding: 0.8em 0;
	border-top: 1px solid #eee;
	list-style: none;
	line-height: 1.3em;
}

/* Comment Pagination */
.comment-pagination {
	font-size: 0.9em;
}
.comment-pagination .alignleft {
	float: left;
}
.comment-pagination .alignright {
	float: right;
}

/* Comment Form */
#respond {
	margin: 2.5em 0 0;
}
#commentform {
	padding: 0;
}
#commentform p {
	margin: 1em 0;
}
#commentform input[type="text"], #commentform textarea {
	display: inline-block;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#commentform label {
	display: block;
	margin: 0.6em 0 0.2em;
}
#commentform #submit {
	display: block;
	font-weight: bold;
	border: none;
	margin-top: 1em;
	padding: 1em 4em;
	text-decoration: none;
	color: #333;
	background: #eee;
}
#commentform #submit:hover {
	background-color: #ddd;
	cursor: pointer;
	text-decoration: none;
}

/* Front Page Template
-------------------------------------------------------------- */

/* Front Page Slideshow */
#frontpage-slider-wrap {
	padding: 0;
	margin-bottom: 2em;
	/* All other Slideshow Styles in flexslider.css */
}

.frontpage-magazine-no-widgets, .frontpage-slider-empty-posts {
	line-height: 1.5em;
	margin-bottom: 1.5em;
}
/* General Widget Styling */
#frontpage-magazine-widgets .widget {
	margin: 0 0 2em 0;
	padding: 0;
}
#frontpage-magazine-widgets .widget .widgettitle {
	font-family: 'Raleway', Arial, Tahoma;
	font-size: 0.9em;
	padding: 0.9em;
	margin: 0 0 1.5em 0;
	background: #004488;
	color: #fff;
	box-shadow: inset 0 0 1px #bbb;
	border: 1px solid #004488;
}

/* Category Posts Widgets */
.widget-category-posts {
	margin-bottom: -1.5em;
}
.widget-category-posts .widgettitle .category-archive-link {
	float: right;
}
.widget-category-posts .widgettitle .category-archive-link .genericon-next {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1;
	font-size: 21px;
	font-family: 'Genericons';
	text-decoration: inherit;
	vertical-align: top;
	content: '\f429';
	margin: -4px -4px 0 0;
}
.widget-category-posts .widgettitle .category-archive-link .genericon-next:hover {
	text-decoration: none;
}
.widget-category-posts .type-post {
	margin: 0;
	padding: 0;
	border: none;
	box-shadow: none;
}
.widget-category-posts .more-link:link, .widget-category-posts .more-link:visited  {
	color: #333;
}
.widget-category-posts .more-link:hover, .widget-category-posts .more-link:active {
	text-decoration: none;
}
.widget-category-posts .big-post .entry-title {
	font-size: 1.35em;
}
.widget-category-posts .big-post .wp-post-image {
	margin: 0 0 0.5em 0;
}
.widget-category-posts .small-post {
	float: left;
	display: block;
	width: 100%;
	margin: 0 0 1em 0;
	padding: 0 0 1em 0;
	border-bottom: 1px solid #ddd;
}
.widget-category-posts .small-post .wp-post-image {
	float: left;
	margin: 0 1em 0 0;
	max-width: 30%;
}
.widget-category-posts .small-post .small-post-content {
	padding: 0.4em 0.8em;
}
.widget-category-posts .small-post .entry-title {
	border: none;
	margin: 0 0 0.3em;
	padding: 0;
	font-size: 1.15em;
}
.widget-category-posts .small-post .entry-meta {
	display: inline;
}
.widget-category-posts .widget-category-posts-content .small-posts .small-post:last-child,
.widget-category-posts .category-posts-columns .small-post:last-child,
.widget-category-posts .category-posts-grid-row:last-child .small-post {
	border-bottom: none;
}

/* Category Posts Boxed Widget */
#widget-category-posts-boxed .big-post {
	float: left;
	width: 50%;
	padding-right: 1em;
	margin-bottom: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#widget-category-posts-boxed .small-posts {
	width: 50%;
	margin-left: 50%;
	padding-left: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Category Posts Grid Widget */
#widget-category-posts-grid .category-posts-grid-row {
	margin-right: -2em;
}
#widget-category-posts-grid .category-posts-grid-row .big-post,
#widget-category-posts-grid .category-posts-grid-row .small-post-wrap {
	float: left;
	width: 50%;
	padding-right: 2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#widget-category-posts-grid .category-posts-grid-row .small-post-wrap {
	padding-right: 2em;
}


/* Front Page Category Area Thre (two columns) */
#widget-category-posts-columns .category-posts-column-left {
	float: left;
	width: 50%;
	padding-right: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#widget-category-posts-columns .category-posts-column-right {
	margin-left: 50%;
	width: 50%;
	padding-left: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#widget-category-posts-columns .category-posts-columns .big-post {
	margin-bottom: 1.5em;
}

/* Single Category Post ) */
#widget-category-posts-single .single-post {
	margin: 0 0 2em 0;
}
#widget-category-posts-single .single-post .wp-post-image {
	margin: 0 0 0.5em 0;
}
#widget-category-posts-single .single-post .more-link {
	margin: 0;
}

/* Footer
-------------------------------------------------------------- */
#footer {
	margin-top: 1px;
	padding: 1.2em;
	color: #fff;
	background: #004488;
}
#footer #footer-text {
	float: right;
	font-size: 0.85em;
}
#footer #footer-text a:link, #footer #footer-text a:visited {
	color: #fff;
	border-bottom: 1px dotted #ccc;
}
#footer #footer-text a:hover, #footer #footer-text a:active {
	border-bottom: none;
	text-decoration: none;
}

/* Footer Navigation Menu */
#footernav-icon {
	display: none;
}
#footernav {
	float: left;
}
#footernav-menu {
	float: left;
	list-style-type: none;
	list-style-position: outside;
	position: relative;
}
#footernav-menu li {
	float: left;
	position: relative;
	padding-right: 1.2em;
	margin-right: 1.2em;
	border-right: 1px dashed #aaa;
}
#footernav-menu a {
	display: inline-block;
	text-decoration: none;
	font-size: 0.9em;
}
#footernav-menu a:link, #footernav-menu a:visited{
	color: #fff;
	text-decoration: none;
}
#footernav-menu a:hover {
	text-decoration: underline;
}

/*============================ MEDIA QUERIES ============================*/

/* Small screens | <1120px */
@media only screen and (max-width: 70em) {
	#wrapper {
		width: 94%;
	}
	#content {
		width: 67%;
	}
	#sidebar {
		margin-left: 67%;
		width: 33%;
	}
	#logo .site-title {
		float: none;
	}
	#logo .site-description {
		float: none;
		margin: 0.4em 0 0 0;
		font-size: 1.2em;
	}
	.widget-category-posts .type-post .entry-title {
		font-size: 1.2em;
	}
	.widget-category-posts .small-post .entry-title{
		font-size: 1.05em;
	}
}
/* Smaller screens | <1120px */
@media only screen and (max-width: 65em) {
	#wrapper {
		width: 96%;
		margin: 1em auto;
	}
	#logo .site-description {
		font-size: 1.1em;
	}
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	#wrapper {
		width: 100%;
		margin: 0;
	}
	#header {
		padding: 2em;
		text-align: center;
	}
	#content {
		float: none;
		width: 100%;
	}
	#sidebar {
		clear: both;
		margin: 2em 0 0;
		width: 100%;
	}
	#logo {
		float: none;
		width: 100%;
	}
	#header-content {
		display: block;
		text-align: center;
	}
	#header-content div {
		float: none;
		margin: 1em 0 0;
	}
	#header-content #header-search .search-form {
		display: inline-block;
		max-width: 350px;
	}
	#header-content #social-icons-menu li {
		float: none;
		display: inline-block;
		margin: 0 1px 2px 0;
		padding: 0;
		background: #222;
	}

	/* Mobile Main Navigation */

	/* Reset */
	#mainnav, .main-navigation-menu, .main-navigation-menu li, .main-navigation-menu a, .main-navigation-menu ul,
	.main-navigation-menu ul a, .main-navigation-menu ul ul, .main-navigation-menu li ul ul
	{
		margin: 0;
		padding: 0;
		position: static;
		float: none;
		display: inline;
		font-size: 1.0em;
		border: none;
		box-shadow: none;
		background: none;
		top: auto;
		left: auto;
	}
	.main-navigation-menu li,
	.main-navigation-menu ul,
	.main-navigation-menu li ul ul,
	.mega-menu-item .mega-menu-content,
	.mega-menu-item .mega-menu-content .mega-menu-widget {
		position: static;
		display: block;
		left: auto;
		top: auto;
		clear: left;
	}

	#mainnav {
		margin: 1.5em 0;
		float: none;
	}
	#mainnav-toggle {
		display: block;
		width: 100%;
		margin: 0;
		padding: 1.3em;
		text-align: left;
		text-transform: uppercase;
		text-decoration: none;
		font-size: 1.0em;
		font-family: 'Bitter', Georgia, Arial, Tahoma;
		color: #fff;
		background: #004488;
		border: none;
		-webkit-transition: all 0.1s ease-out;
		-moz-transition: all 0.1s ease-out;
		-ms-transition: all 0.1s ease-out;
		-o-transition: all 0.1s ease-out;
		transition: all 0.1s ease-out;
	}
	#mainnav-toggle:hover {
		cursor: pointer;
		background: #303030;
	}
	#mainnav-toggle:after {
		float: right;
		margin: -0.1em 0 0;
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		content: '\f419';
		font: normal 24px/1 Genericons;
		text-decoration: inherit;
		vertical-align: text-bottom;
	}
	.main-navigation-menu {
		width: 100%;
		display: none;
		border-top: 1px solid #fff;
		background: #303030;
	}
	.main-navigation-menu a {
		display: block;
		padding: 1.3em;
		text-decoration: none;
		font-size: 1.0em;
		border-bottom: 1px solid rgba(255,255,255,0.1);
		background: #303030;
		clear: left;
	}
	.main-navigation-menu a:hover {
		background: rgba(255,255,255,0.05);
	}
	.main-navigation-menu ul {
		float: left;
		background: #303030;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.main-navigation-menu ul a {
		display: block;
		width: 100%;
		padding: 1em 1em 1em 3em;
		font-size: 0.9em;
		border-bottom: 1px solid rgba(255,255,255,0.1);
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.main-navigation-menu ul li ul a {
		padding-left: 5em;
	}
	.main-navigation-menu ul li ul li ul a{
		padding-left: 7em;
	}
	.main-navigation-menu li.current_page_item a, .main-navigation-menu li.current-menu-item a {
		text-decoration: underline;
	}
	.main-navigation-menu li.current_page_item ul li a, .main-navigation-menu li.current-menu-item ul li a{
		text-decoration: none;
	}
	.main-navigation-menu ul li.current_page_item a, .main-navigation-menu ul li.current-menu-item a {
		text-decoration: underline;
	}

	.main-navigation-menu .submenu-dropdown-toggle {
		float: right;
		display: block;
		margin: 0;
		padding: 1.15em 1.5em;
	}
	.main-navigation-menu .submenu-dropdown-toggle:hover {
		cursor: pointer;
		background: rgba(255,255,255,0.05);
	}
	.main-navigation-menu .submenu-dropdown-toggle:before {
		font-size: 20px;
		line-height: 1;
		font-family: 'Genericons';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-decoration: inherit;
		vertical-align: middle;
		content: '\f510';
		color: #fff;
	}
	.main-navigation-menu .submenu-dropdown-toggle.active:before {
		content: '\f50e';
	}
	.main-navigation-menu ul .submenu-dropdown-toggle {
		padding: 0.75em 1.2em;
	}
	.main-navigation-menu ul .submenu-dropdown-toggle:before {
		font-size: 16px;
	}

	/* Mega Menu Styling */
	.mega-menu-item .mega-menu-two-columns > li,
	.mega-menu-item .mega-menu-three-columns > li,
	.mega-menu-item .mega-menu-five-columns > li {
		width: 100%;
	}

	.mega-menu-item .mega-menu-four-columns > li,
	.mega-menu-item .mega-menu-six-columns > li {
		width: 50%;
	}

	.widget-category-posts .type-post .entry-title {
		font-size: 1.4em;
	}
	.widget-category-posts .small-post .entry-title{
		font-size: 1.1em;
	}

	/* Footer */
	#footer {
		text-align: center;
	}

	#footer #footer-text {
		float: none;
	}

	/* Footer Navigation Menu */
	#footernav {
		float: none;
	}
	#footernav-menu {
		float: none;
	}
	#footernav-menu li {
		float: none;
		display: inline-block;
		padding: 0;
		border: none;
		margin: 0 1em 1.5em;
	}
}

/* Tablets (portrait) | <800px */
@media only screen and (max-width: 50em) {
	#logo .site-title {
		font-size: 2.3em;
	}
	#logo .site-description {
		font-size: 1.1em;
	}

	/* Mobile Top Navigation */

	/* Reset */
	#topnav, .top-navigation-menu, .top-navigation-menu li, .top-navigation-menu a, .top-navigation-menu ul {
		margin: 0;
		padding: 0;
		position: static;
		float: none;
		display: inline;
		font-size: 1.0em;
		border: none;
		box-shadow: none;
		background: none;
		top: 0;
		left: 0;
	}

	#topnav {
		float: none;
	}
	#topnav-toggle {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0.5em;
		font-size: 0.9em;
		text-align: left;
		text-decoration: none;
		color: #333;
		background: #eee;
		border: none;
	}
	#topnav-toggle:hover {
		cursor: pointer;
		text-decoration: underline;
	}
	#topnav-toggle:after {
		float: right;
		margin: 0.05em 0 0;
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		content: '\f419';
		font: normal 14px/1 Genericons;
		text-decoration: inherit;
		vertical-align: text-bottom;
	}
	#topnav-toggle:hover:after {
		text-decoration: none;
	}
	.top-navigation-menu {
		width: 100%;
		display: none;
		border-top: 1px solid #e5e5e5;
		background: #f5f5f5;
	}
	.top-navigation-menu a {
		display: block;
		padding: 0.7em 1em;
		text-decoration: none;
		font-size: 0.9em;
		border-bottom: 1px solid #e5e5e5;
		clear: left;
	}
	.top-navigation-menu a:hover {
		text-decoration: underline;
	}
	.top-navigation-menu li.current_page_item a, .top-navigation-menu li.current-menu-item a {
		text-decoration: underline;
	}


	.entry h1, .comment h1 {
	font-size: 2.2em;
	}
	.entry h2, .comment h2 {
		font-size: 1.8em;
	}
	.entry h3, .comment h3 {
		font-size: 1.4em;
	}
	.entry tr th,
	.entry thead th {
		padding: 0.2em 0.4em;
	}
	.entry tr td {
		padding: 0.2em 0.4em;
	}
	.widget-category-posts .type-post .entry-title {
		font-size: 1.2em;
	}
	.widget-category-posts .small-post .entry-title{
		font-size: 1.0em;
	}
}

/* Phablets (portrait) | <640px */
@media only screen and (max-width: 40em) {
	#content {
		padding: 1em 1em 0;
	}
	.type-post, .type-page, .type-attachment  {
		margin: 0 0 1em 0;
	}
	.page-title {
		font-size: 2.0em;
	}
	.entry-title {
		font-size: 1.4em;
	}

	/* Mega Menu Styling */
	.mega-menu-item .mega-menu-four-columns > li,
	.mega-menu-item .mega-menu-six-columns > li {
		width: 100%;
	}

	/* Frontpage Categories */
	.widget-category-posts .type-post {
		margin: 0 0 1em 0;
	}
	#widget-category-posts-grid .category-posts-grid-row {
		margin-right: 0;
	}
	#widget-category-posts-grid .category-posts-grid-row .big-post,
	#widget-category-posts-grid .category-posts-grid-row .small-post-wrap,
	#widget-category-posts-boxed .big-post,
	#widget-category-posts-columns .category-posts-column-left {
		float: none;
		width: 100%;
		padding-right: 0;
	}
	#widget-category-posts-boxed .small-posts,
	#widget-category-posts-columns .category-posts-column-right {
		width: 100%;
		margin-left: 0;
		padding-left: 0;
	}
	#widget-category-posts-boxed .small-posts {
		padding-bottom: 0.5em;
	}
	#widget-category-posts-columns .category-posts-column-right {
		margin-top: 1.5em;
	}
}


/* Smartphones | <480px */
@media only screen and (max-width: 30em) {
	#logo .site-title {
		font-size: 2.0em;
	}
	#logo .site-description {
		font-size: 1.0em;
	}
	.alignright, .alignleft {
		float: none;
		margin: 1em 0;
	}
	#footer #footer-text {
		margin-top: 1.2em;
	}

	/* Footer Navigation Menu */
	#footernav-menu li {
		display: block;
		margin: 0 0 1.5em;
	}
}

/* Smartphones | <320px */
@media only screen and (max-width: 20em) {
	.entry-meta span, .postinfo span {
		display: block;
	}
	.widget-category-posts .type-post .entry-title {
		font-size: 1.0em;
	}
	.widget-category-posts .small-post .entry-title{
		font-size: 0.9em;
	}
}

/* Big Screens Navi Fix | >720px */
@media only screen and (min-width: 60.001em) {
	/* ensure #nav is visible on desktop version */
	.main-navigation-menu {
		display: block !important;
	}
	.main-navigation-menu li.menu-item:hover a {
		background: #303030;
	}
	.main-navigation-menu li.menu-item:hover ul a:hover {
		background: rgba(255,255,255,0.1);
	}
}
@media only screen and (min-width: 50.001em) {
	/* ensure top navigation is visible on desktop version */
	.top-navigation-menu {
		display: block !important;
	}
}
