/*
  Based on the Ionic One Wordpress Theme
*/

:root {
    --fg-prnt: #000000;
    --fg-del: #333333;
    --fg-body: #444444;
    --fg-hdr: #515151;
    --fg-g1: #6A6A6A;
    --fg-g9: #FFFFFF;

    --fg-auth: #0099FF;
    --fg-hdr-hov: #21759b;

    --link: #0085BA;
    --lnkh: #0C87D3;
    --link-ftr: #686868;
    --lnkh-ftr: #333333;
    --link-ttl: #444444;
    --lnkh-ttl: #111111;

    --tbl-fg: #757575;
    --tbl-border: #EDEDED;
    --th-fg: #636363;
    --th-bg: #F1F1F1;
    --th-border: #C1C1C1;

    --nav-bg-out: #F9F9F9;
    --nav-bg-sel: #16A1E7;
    --nav-bg-mnu: #E9E9EA;
    --nav-bg-hov: #C0C0C0;
    --nav-border: #757591;

    --bg-page: #E6E6E6;
    --bg-hr: #CCCCCC;
    --bg-sbh: #F2F2EA;
    --bg-wht: #FFFFFF;
    --bg-quote: #EFEFEF;
    --bg-sticky: #F8F8F8;
    --bg-footer: #F2F2F2;

    --border-g1: #333333;
    --border-g2: #666666;
    --border-g3: #E9E9E9;
    --border-g4: #DDDDDD;
    --border-g5: #F1F1F1;
    --border-g6: #F3F3F3;

    --border-input: #CCCCCC;
    --border-quote: #D6D6D6;
    --border-auth: #0099FF;

    --shadow1: #EEEEEE;
    --shadow2: #888888;
    --shadow3: #CCCCCC;
}

/*Reset Css*/
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%;
	vertical-align: baseline;
}

body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before,
blockquote:after {
	content: '';
	content: none;
}
q:before {
	content: "“"
}
q:after {
	content: "”"
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th, td {
	font-weight: normal;
	text-align: left;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: none;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
}

.title-block {
    display: inline-block;
    margin: 14px 0;
	padding: 12px 0;
   	float: none;
}
.title-block a {
    font-size: 34px;
    font-weight: normal;
    text-decoration: none;
	padding-left: 15px;
	color: var(--link-ttl);
	text-shadow: 0.1px 1px 2px var(--shadow2);
}
.title-block a:hover{
	color: var(--lnkh-ttl);
	text-decoration: none;
}
.title-block .site-description:hover{
	color: var(--lnkh-ttl);
	text-decoration: none;
}
.title-block .site-description {
    font-weight: normal;
	padding-left: 18px;
	line-height: 2;
	font-size: 12px;
	text-shadow: 0.1px 1px 2px var(--shadow3);
}
del {
	color: var(--fg-del);
}
ins {
	background: none;
	text-decoration: none;
}
hr {
	background-color: var(--bg-hr);
	border: 0;
	height: 1px;
	margin: 24px;
}
sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}
/* Clearing floats */
.clear:after,
.wrapper:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after {
	display: table;
	content: "";
}

.wrapper {
    border: 1px solid var(--border-g3);
}

/* =Repeatable patterns
-------------------------------------------------------------- */

/* Small headers */
.entry-content th {
	background: var(--th-bg);
	border: 1px solid var(--th-border);
	font-size: 11px;
	line-height: 2.2;
	font-weight: bold;
	padding: 7px 14px;
	text-transform: uppercase;
	color: var(--th-fg);
}

/* Form fields, general styles first */
button,
input,
textarea {
	border: 1px solid var(--border-input);
	border-radius: 0px;
	font-family: inherit;
	margin-right: 0%;
	margin-bottom: 7px;
	padding: 8px 10px;
}
button, input {
    line-height: normal;
}
textarea {
	font-size: 100%;
	overflow: auto;
	vertical-align: top;
}
input[type="submit"] {
	-webkit-appearance: none;
	appearance: none;
}
/* Reset non-text input types */
input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="hidden"],
input[type="image"],
input[type="color"] {
	border: 0;
	border-radius: 0;
	padding: 0;
}

/* Buttons */

li.bypostauthor cite span {
    background-color: var(--bg-wht);
    background-image: none;
    border: 1px solid var(--border-auth);
    border-radius: 2px;
    box-shadow: none;
    color: var(--fg-auth);
    padding: 0;
}

/* Responsive images - Iconic One*/
.entry-content img {
	max-width: 100%; /* Fluid images for content */
}
img[class*="align"],
img[class*="attachment-"] {
	height: auto; /* This makes sure that images scales properly on all browsers*/
}
img.size-full,
img.size-large,
img.header-image {
	max-width: 100%;
	height: auto; /* This makes sure that images scales properly on all browsers*/
}

/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
img.header-image,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	line-height: 1.4;
	color: var(--fg-g1);
}

/* Navigation for posts and pages*/
.site-content nav {
	border: 1px solid var(--tbl-border);
	background: var(--nav-bg-out);
	clear: both;
	line-height: 2;
	margin-bottom: 28px;
	overflow: hidden;
	padding: 2%;
}

/* =Basic structure
-------------------------------------------------------------- */

/* Body, links, basics */
html {
	font-size: 90.5%;
}
body {
	font-size: 14px;
	font-family: "Ubuntu", Helvetica, Arial, sans-serif;
	text-rendering: optimizeLegibility;
	color: var(--fg-body);
}

a {
	outline: none;
	color: var(--link);
	text-decoration:none;
}
a:hover {
	color: var(--lnkh);
	text-decoration:underline;
}

/* Assistive text */
.assistive-text, .site .screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
}
.sitenav .assistive-text:hover,
.sitenav .assistive-text:active,
.sitenav .assistive-text:focus {
	background: var(--bg-wht);
	border: 2px solid var(--border-g1);
	border-radius: 3px;
	clip: auto !important;
	color: #000;
	display: block;
	font-size: 12px;
	padding: 12px;
	position: absolute;
	top: 5px;
	left: 5px;
	z-index: 100000;
}

/* Page structure */
.site {
	padding: 0 24px;
	background-color: var(--bg-wht);
}
.site-content {
	margin: 0 14px;
}
.widget-area {
	margin-top: 10px;
}

/* Header */
.site-header {
	border-left: 1px solid var(--border-g3);
    border-right: 1px solid var(--border-g3);
    border-top: 1px solid var(--border-g3);
    height: auto;
    text-align: left;
}
.site-header h1,
.site-header h2 {
	text-align: center;
}
.site-header h1 a,
.site-header h2 a {
	color: var(--fg-hdr);
	display: inline-block;
	text-decoration: none;
}
.site-header h1 a:hover,
.site-header h2 a:hover {
	color: var(--fg-hdr-hov);
}
.site-header h1 {
	font-size: 24px;
	line-height: 1.3;
	margin-bottom: 14px;
}
.site-header h2 {
	font-weight: normal;
	font-size: 13px;
	line-height: 1;
	color: var(--tbl-fg);
}
.site-header .header-img {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
}

/* Navigation Menu and icons*/
.sitenav li {
	font-size: 12px;
	line-height: 1.4;
	width: auto;
    display: inline-block;
}
.sitenav li:hover {
    display: inline-block;
    text-decoration: none;
    background: var(--nav-bg-hov);
}
.sitenav li a:hover {
    color: var(--fg-g1);
}

/* Sidebar */
aside.sidebar h2 {
	background: var(--bg-sbh);
	font-size: 16px;
	margin-bottom: 1ex;
}
aside.sidebar ul {
	list-style: disc;
	margin-left: 2em;
}
aside.sidebar {
	margin-bottom: 2ex;
}

/* Footer box-shadow: 4px 1px 10px 1px #F1F1F1;*/
footer[role="contentinfo"] {
    background: var(--bg-footer);
    width: 100%;
	border-top: 1px solid var(--tbl-border);
	border-bottom: 1px solid var(--border-g3);
	clear: both;
	font-size: 14px;
	height: auto;
	line-height: 2;
	margin-right: auto;
	margin-bottom: 0px;
	padding: 12px 0;
}
footer[role="contentinfo"] a {
	color: var(--link-ftr);
	margin-left: 5px;
	text-decoration: none;
}
footer[role="contentinfo"] a:hover {
	color: var(--lnkh-ftr);
}


/* Main content area, sticky post styling content
-------------------------------------------------------------- */

.site-content article.sticky  {
    background: var(--bg-sticky);
    border-color: var(--border-g4);
    border-style: solid solid double;
    border-width: 1px 1px 1px 7px;
    box-shadow: 0.01em 0.1em 0.1em 0.1em var(--shadow1);
	clear: both;
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 24px;
	margin-top: -6px;
    padding: 17px;
    text-align: left;
}
.entry-content {
	line-height: 1.7;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin: 24px 0;
}
.entry-content h1 {
	font-size: 21px;
	line-height: 1.5;
}
.entry-content h2 {
	font-size: 18px;
	line-height: 1.6;
}
.entry-content h3 {
	font-size: 16px;
	line-height: 1.8;
}
.entry-content h4 {
	font-size: 14px;
	line-height: 1.8;
}
.entry-content h5 {
	font-size: 13px;
	line-height: 1.8;
}
.entry-content h6 {
	font-size: 12px;
	line-height: 1.8;
}
.entry-content p {
	margin: 20px 0;
	line-height: 1.7;
}
.entry-content blockquote p {
    margin: 0;
}
.entry-content ol,
.entry-content ul {
	margin: 0 0 24px;
	line-height: 1.7;
}
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
	margin-bottom: 0;
}
.entry-content ul {
	list-style: square outside;
}
.entry-content ol {
	list-style: decimal outside;
}
.entry-content li {
	margin: 0 0 0 36px;
}
.entry-content blockquote {
	background: var(--bg-quote);
    border-left: 4px solid var(--border-quote);
	border-right: 4px solid var(--border-quote);
	border-radius: 14px;
	margin-bottom: 24px;
	padding: 24px;
	font-style: italic;
}
.entry-content blockquote p:last-child {
	margin-bottom: 0;
}
.entry-content code {
	font-family: Consolas, Monaco, Lucida Console, monospace;
	font-size: 12px;
	line-height: 2;
}
.entry-content pre {
	border: 1px solid var(--tbl-border);
	border-radius: 20px;
	color: var(--fg-g1);
	font-family: Consolas, Monaco, Lucida Console, monospace;
	font-size: 12px;
	line-height: 1.5;
	margin: 24px 0;
	overflow: auto;
	padding: 24px;
}
.entry-content pre code {
	display: block;
}
.entry-content abbr,
.entry-content dfn,
.entry-content acronym {
	border-bottom: 1px dotted var(--border-g2);
	cursor: help;
}
.entry-content address {
	display: block;
	line-height: 1.5;
	margin: 0 0 24px;
}
img.alignleft {
	margin: 4px 24px 12px 0;
}
img.alignright {
	margin: 12px 0 12px 24px;
}
img.aligncenter {
	margin-top: 12px;
	margin-bottom: 12px;
}
.entry-content dl {
	margin: 0 24px;
}
.entry-content dt {
	font-weight: bold;
	line-height: 1.7;
}
.entry-content dd {
	line-height: 1.7;
	margin-bottom: 24px;
}
.entry-content table {
	border-bottom: 1px solid var(--tbl-border);
	color: var(--tbl-fg);
	font-size: 12px;
	line-height: 1.7;
	margin: 0 0 24px;
	width: 100%;
}
.entry-content table caption {
	font-size: 16px;
	margin: 24px 0;
}
.entry-content td {
	border: 1px solid var(--th-border);
	padding: 14px 14px;
}
.site-content article {
	border-bottom: 2px double var(--border-g6);
	margin-bottom: 28px;
	padding-bottom: 24px;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}

.entry-content summary {
    font-size: 120%;
}

/* =Single image attachment view
-------------------------------------------------------------- */

.article.attachment {
	overflow: hidden;
}
.image-attachment div.attachment {
	text-align: center;
}
.image-attachment div.attachment p {
	text-align: center;
}
.image-attachment div.attachment img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
}
.image-attachment .entry-caption {
	margin-top: 8px;
}

/* =article formats
-------------------------------------------------------------- */

/* Quote posts */
article.format-quote .entry-content p {
	margin: 0;
	padding-bottom: 24px;
}
article.format-quote .entry-content blockquote {
	display: block;
	padding: 24px 24px 0;
	font-size: 15px;
	line-height: 1.6;
	font-style: normal;
	color: var(--fg-g1);
	background: var(--bg-quote);
}

/* =Front page template
-------------------------------------------------------------- */

.entry-page-image {
	margin-bottom: 14px;
}
.footercopy {
    padding-left: 20px;
	float: left;
}
.footercredit {
    float: right;
    padding-right: 20px;
	margin-left:20px;
}

/* =Plugins
----------------------------------------------- */

.widget_top-posts .widgets-list-layout-links {
    float: right;
    width: 80%;
}
picture img {
    max-width: 100%;
    height: auto;
}
/* new responsive selectnav.js css */
	.selectnav { display: none; }
	select.selectnav {
	border: 1px solid var(--border-g4);
    border-radius: 4px;
    margin: 4px;
    padding: 10px;
    width: 96%;
	} /* mobile menu styling */

/* when to trigger the select menu.js #menu-top {
		display: inline!important;
	}*/

@media screen and (max-width: 480px) {
    .js .selectnav {
		display: inline-block;
	}
	.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul, .nav-menu li {
        background: none repeat scroll 0 0 var(--nav-bg-mnu);
        line-height: 1.5;
	}
	.sitenav li a {
		border-bottom: 0;
		color: var(--fg-g1);
		padding: 0 2;
		text-transform: uppercase;
		white-space: nowrap;
	}
    .site-header {
        text-align: center;
        height: auto;
        border:none;
    }
    .sitenav {
        box-shadow:none;
    }
    .wrapper {
        border: none;
	}
}

@media screen and (max-width: 420px) {
    .site-header {
        height: auto;
        border:none;
    }
}
/* =Media queries

-------------------------------------------------------------- */
/* ---------------------------------------------------------------
 * MOBILE CSS fallback for device width 768px or below
 * ------------------------------------------------------------ */
/* Minimum width of 768pixels. */
@media screen and (min-width: 400px) {
	picture img {
		margin-right: 20px;
	}
	.site {
		margin: 0 auto;
		max-width: 960px;
	}
	.site-content {
		border-right: 1px solid var(--border-g5);
		float: left;
		margin: 0px 1%;
		padding: 20px 2% 0 1%;
		width: 63.2%;
	}
	body.single-attachment .site-content,
	body.full-width .site-content {
		width: 96%;
		border-right: none;
	}
	.widget-area {
		float: right;
		margin: 24px 0;
		padding: 0 2% 0 0;
		width: 28.7%;
	}
	.site-header h1,
	.site-header h2 {
		text-align: left;
	}
	.site-header h1 {
		font-size: 26px;
		line-height: 1.446153846;
		margin-bottom: 0;
	}
	.sitenav ul.nav-menu,
	.sitenav div.nav-menu > ul {
		background: none repeat scroll 0 0 var(--nav-bg-mnu);
		border-bottom: 4px solid var(--nav-border);
		display: inline-block !important;
		text-align: left;
		width: 100%;
	}
    .sitenav li:first-child {
        margin-left: 15px;
    }
	.sitenav li a,
	.sitenav li {
		display: inline-block;
		text-decoration: none;
	}
	.sitenav li a {
		border-bottom: 0;
		color: var(--fg-g1);
		line-height: 2.5;
		padding: 0 15px;
		text-transform: uppercase;
		white-space: nowrap;
	}
	.sitenav li a:hover {
		color: var(--fg-g1);
	}
	.sitenav .current-menu-item > a,
	.sitenav .current-menu-ancestor > a,
	.sitenav .current_page_item > a,
	.sitenav .current_page_ancestor > a {
		    background: none repeat scroll 0 0 var(--nav-bg-sel);
			color: var(--fg-g9);
			font-weight: bold;
	}
	.entry-page-image {
		float: right;
		margin-bottom: 0;
		width: 47.916666667%;
	}
}

/* Minimum width of 960 pixels. */
@media screen and (min-width: 960px) {
	body {
		background-color: var(--bg-page);
	}
	body .site {
		padding: 12px;
		margin-bottom: 12px;
    }
	body.custom-background-empty {
		background-color: var(--bg-wht);
	}
	body.custom-background-empty .site,
	body.custom-background-white .site {
		background-color: var(--bg-wht);
	}
}
@media screen and (max-width: 600px) {
    .site-header {
        margin-bottom: 0;
    }
    select.selectnav {
        margin: 0 1%;
        width: 95%;
    }
    .wrapper {
        width: 100%;
    }
    .title-block {
        margin: 12px 0;
        padding: 0;
    }
}
@media screen and (max-width: 500px) {
    .site {
        padding: 0px;
    }
    .widget-area {
        padding: 0 10px;
    }
    img.alignleft {
        margin: 8px 0 0 0;
    }
    .footercopy {
        float: none;
        padding-right: 20px;
        text-align: center;
    }
    .footercredit {
        float: none;
        margin-left: 0;
        margin-top:10px;
        padding: 0 20px;
        text-align: center;
    }
}
/* Print styles
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		color: var(--fg-prnt);
		font-size: 10pt;
	}
	footer a[rel=bookmark]:link:after,
	footer a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}
	a {
		text-decoration: none;
	}
	.entry-content img {
		border-radius: 0;
		box-shadow: none;
    }

	.site {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}
	.site-header {
		margin-bottom: 72px;
		text-align: left;
	}
	.site-header h1 {
		font-size: 21pt;
		line-height: 1;
		text-align: left;
	}
	.site-header h2 {
		color: var(--fg-prnt);
		font-size: 10pt;
		text-align: left;
	}
	.site-header h1 a,
	.site-header h2 a {
		color: var(--fg-prnt);
	}
	#colophon,
	.site-content nav,
	.widget-area,
	img.header-image,
	.wrapper {
		border-top: none;
		box-shadow: none;
		}
	.site-content {
		margin: 0;
		width: auto;
	}
}
