/*
Theme Name: Helena Onepager
Theme URI: https://www.heyimyourwriter.com/
Author: heyimyourwriter.com
Description: Clean, minimal one-page vCard theme for heyimyourwriter.com. Replaces uCard (Pixelwars) while preserving the same look and content model: full-screen hero with rotating tagline, homepage blocks driven by pages and their featured images, and standalone page templates. No jQuery dependency.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: helena-onepager
*/

/* ----------------------------------------------------------------
   1. BASE
---------------------------------------------------------------- */
*,
*:after,
*::before {
	box-sizing: border-box;
}
html {
	font-size: 100%;
	-webkit-font-smoothing: antialiased;
}
body {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #345;
	-webkit-text-size-adjust: none;
}
.one-page-layout body {
	background-color: #222;
}
a {
	color: #000000;
	text-decoration: none;
	outline: none;
}
a:hover,
a:focus {
	color: #0a0707;
	text-decoration: none;
	outline: none;
}
iframe {
	border: none;
}
img,
figure {
	max-width: 100%;
	height: auto;
}
p {
	margin: 1em 0 1.4em 0;
	line-height: 1.5;
}
p:empty {
	display: none;
}

/* fonts */
body,
input,
textarea,
select,
.filters,
.nav-menu,
th,
dt,
.button,
.catlinks a,
input[type=submit],
button,
label,
.tab-titles,
a.more-link,
.widget-title,
.section-title {
	font-family: 'Roboto', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
}
.social-link {
	font-family: fontello;
	font-style: normal;
	font-weight: 400;
	speak: none;
	display: inline-block;
	text-decoration: inherit;
	text-align: center;
	font-variant: normal;
	text-transform: none;
}
.site-alert:before,
.hentry .entry-header:before {
	display: inline-block;
	font-family: 'Pe-icon-7-stroke';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* typography */
h1 {
	font-size: 26px;
	margin: 0.8em 0 0.4em 0;
	line-height: 1.2;
	font-weight: 100;
}
h2 {
	font-size: 23px;
	margin: 1.0em 0 0.6em 0;
	line-height: 1.3;
	font-weight: 100;
}
h3 {
	font-size: 1.00em;
	margin: 1.0em 0 .6em 0;
	font-weight: 700;
}
h4 {
	font-size: 0.75em;
	margin: 2.0em 0 .6em 0;
}
h5,
h6 {
	font-size: 0.75em;
	margin: 1.0em 0 .6em 0;
}
blockquote {
	position: relative;
	margin: 1.6em 0;
	padding: 0 .8em;
	text-align: center;
	font-size: 1.4em;
	line-height: 1.2;
	font-weight: bold;
	letter-spacing: -1px;
}
blockquote p {
	line-height: 100%;
}
blockquote cite {
	display: block;
	font-size: 13px;
	padding-right: 1em;
	margin-top: 1em;
	font-style: normal;
	font-weight: 400;
	color: #ccc;
	letter-spacing: 0.03em;
}
hr {
	padding: .6em 0 1em 0;
	margin-bottom: 3em;
	outline: 0;
	border-width: 0 0 2px 0;
	border-style: solid;
	border-color: #eee;
}
table {
	font-size: .875em;
	margin-bottom: 3em;
	text-align: center;
}
tr th {
	padding: .8em 1em;
	font-size: 12px;
	font-weight: bold;
	border-bottom: 2px solid #DDE4E6;
	text-transform: uppercase;
}
tr td {
	color: #6A7686;
	padding: .8em 1em .6em 1em;
	border-bottom: 1px solid #eee;
}
tfoot tr td {
	border-bottom: 0;
}
tr:nth-child(odd) td {
	background: #FAFCFD;
}
code,
pre {
	padding: 0 3px 2px;
	margin-bottom: 4em;
	font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
	font-size: 12px;
	color: #333333;
	white-space: pre;
	overflow: auto;
}
code {
	display: inline-block;
	margin: 0 .4em;
	padding: 1px 6px;
	background: #fff;
	border: 1px solid #DDE4E6;
	box-shadow: 1px 1px 0 #fff, 2px 2px 0 #DDE4E6;
}
ol,
ul {
	margin: .2em 0 1em 0;
}
ul {
	list-style: none;
}
li::before {
	content: "\00bb";
	color: #f75686;
	display: inline-block;
	width: 1em;
	margin-left: -1em;
}
dt {
	margin-bottom: .4em;
	font-size: 12px;
	font-weight: bold;
}
dd {
	padding-bottom: 1em;
	margin-left: 1.4em;
}

/* ----------------------------------------------------------------
   2. FORMS
---------------------------------------------------------------- */
fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}
form p {
	position: relative;
	margin: 1.6em 0;
}
label {
	display: block;
	font-size: 10px;
	letter-spacing: 1px;
	font-weight: 700;
	margin-bottom: 0.6em;
	text-transform: uppercase;
}
::placeholder {
	color: rgba(51, 68, 85, 0.34);
}
label input {
	font-weight: 400;
}
input:not([type=submit]):not([type=button]):not([type=file]):not([type=radio]):not([type=checkbox]),
textarea,
select {
	padding: 1em;
	width: 100%;
	font-size: .925rem;
	color: #345;
	border: 2px solid rgba(0, 0, 0, 0.07);
	border-radius: 0;
	background-color: transparent;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
}
input:not([type=submit]):not([type=button]):not([type=file]):not([type=radio]):not([type=checkbox]):focus,
textarea:focus,
input:focus,
select:focus {
	border-color: #4ECE99;
	outline: 0;
}
textarea {
	min-height: 9em;
	line-height: 1.6;
	resize: vertical;
}
input[type=submit],
input[type=button],
button,
a.button {
	display: inline-block;
	position: relative;
	padding: 1.1em 2em;
	margin-bottom: .25em;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.2;
	letter-spacing: .08em;
	outline: 0;
	border: 2px solid #345;
	color: #345;
	text-shadow: none;
	background: none;
	border-radius: 0;
	transition: all 0.1s;
}
input[type=submit]:hover,
input[type=button]:hover,
button:hover,
a.button:hover {
	color: #fff;
	background-color: #8ACB82;
	border-color: transparent;
}
input[type=submit]:active,
input[type=button]:active,
button:active,
a.button:active {
	opacity: .8;
}

/* ----------------------------------------------------------------
   3. COMMON
---------------------------------------------------------------- */
.cf:before,
.cf:after,
.entry-content:before,
.entry-content:after {
	content: " ";
	display: table;
}
.cf:after,
.entry-content:after {
	clear: both;
}
.center {
	text-align: center;
}
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	text-decoration: none;
	text-transform: none;
	width: auto;
	z-index: 100000;
}
::selection {
	text-shadow: none;
	color: #333;
	background: #FFFFCF;
}

/* wordpress alignment */
.alignleft {
	float: left;
	margin-right: 1em;
}
.alignright {
	float: right;
	margin-left: 1em;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.textleft {
	text-align: left;
}
.textright {
	text-align: right;
}
.textcenter {
	text-align: center;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 1em;
}

/* bootstrap grid subset (used by ucard-shortcodes markup) */
.row:before,
.row:after {
	content: " ";
	display: table;
}
.row:after {
	clear: both;
}
.col-md-12 {
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}

/* ----------------------------------------------------------------
   4. LAYOUT
---------------------------------------------------------------- */
.site,
.site-main {
	height: 100%;
}
.page-layout {
	position: relative;
	width: 100%;
	min-height: 100%;
	background-size: cover;
	background-position: center center;
}
.cd-main {
	overflow-x: hidden;
	position: relative;
}
.layout-fixed,
.layout-medium,
.layout-full {
	width: 90%;
	margin: 0 auto;
	z-index: 1;
	position: relative;
}
.layout-fixed {
	max-width: 700px;
}
.layout-medium {
	max-width: 1040px;
}
.hentry {
	padding: 0 0 2em 0;
}
.entry-header {
	padding-top: 2em;
}
.entry-title {
	margin: 0;
	text-align: center;
	display: none !important;
}
.entry-content {
	margin: 1.2em 0 0;
}
.hentry .entry-header:before {
	font-size: 28px;
	color: #DCDFE2;
	display: block;
	text-align: center;
	padding-bottom: .3em;
}

/* ----- header ----- */
.header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 10% 0;
	background-size: cover;
	background-position: center;
	background-color: #fff;
}
.one-page-layout .header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100svh;
	padding: 0;
	z-index: 1000;
}
.one-page-layout .site-middle {
	margin-top: 100vh;
	margin-top: 100svh;
}
.header .site-title {
	font-size: 44px;
	font-size: 10vw;
	letter-spacing: 0;
	font-weight: 100;
	color: #fff;
	line-height: 1;
	padding: 0;
	margin: 0;
	display: none;
}
.site-title img {
	max-width: 80%;
	margin-bottom: 16px;
}
.site-description {
	font-size: 12px;
	font-weight: 100;
	color: #23282d !important;
}
#typist-element {
	color: #23282d !important;
}
.selectedText {
	display: none;
}
.header-wrap > img {
	display: none;
}

/* nav menu */
.nav-menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
}
.nav-menu ul li {
	display: inline-block;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 700;
}
.nav-menu ul li::before {
	content: "";
	display: none;
}
.nav-menu ul i {
	display: block;
	margin-bottom: .2em;
	position: absolute;
	top: 14px;
	left: -6px;
	font-size: 12px;
}
.nav-menu a {
	display: block;
	padding: 1.8em 3em;
	color: #fff;
	position: relative;
	letter-spacing: .12em;
	transition: all 0.1s;
}
.nav-menu a:hover {
	color: #fff;
	opacity: .8;
}
.nav-menu:not(.menu-with-icons) ul {
	margin: 1.6em 0 0;
}
.nav-menu:not(.menu-with-icons) ul a {
	padding: .5em;
}

/* header search */
.header-search {
	display: none;
	padding: 0;
}
#search-form {
	position: relative;
}
#search-form #search {
	outline: 0;
	font-size: 1.7em;
	color: #fff;
	font-weight: 100;
	padding: 1em .4em;
	max-width: none;
	text-align: center;
	border: 0;
}
#search-form #search:focus {
	border: 0;
}
#search-form #search::placeholder {
	color: rgba(255, 255, 255, 0.5);
}
#search-submit {
	font-size: 17px;
	text-shadow: none;
	color: #fff;
	border: 0;
	outline: 0;
	padding: 0;
	width: 32px;
	line-height: 2.6em;
	background: #4ECE99;
	border-radius: 0;
	font-weight: 400;
	margin-bottom: 0;
	vertical-align: middle;
	display: none;
}
#search-submit:hover {
	opacity: .9;
}
#search-submit:active {
	opacity: .8;
}

/* header social */
.header-social {
	width: 100%;
	margin-top: 2em;
	text-align: center;
}
.header .social {
	margin: 1em 0;
	padding: 0 6px;
}
.header .social-link {
	font-size: 14px;
	width: auto;
	height: auto;
	border: 0;
	line-height: 22px;
	width: 25px;
	margin: 0;
	border-radius: 4px;
	float: none;
	color: rgb(35, 40, 45);
	transition: all 0.3s ease-out;
}
.header .header-bottom .social-link:hover {
	background: none;
	color: rgba(255, 255, 255, 0.9);
}

/* mouse scroll animation (hidden per site design) */
.mouse-scroll {
	display: none !important;
	position: absolute;
	bottom: 30px;
	left: 50%;
	margin-left: -17px;
	line-height: 18px;
	font-size: 13px;
	font-weight: 400;
	color: #FFF;
	letter-spacing: 2px;
	margin-top: 10%;
	text-decoration: none;
	overflow: hidden;
}
.mouse-scroll .mouse {
	position: relative;
	display: block;
	width: 30px;
	height: 48px;
	margin: 0 auto 20px;
	box-sizing: border-box;
	border: 2px solid rgb(35, 40, 45);
	border-radius: 18px;
}
.mouse-scroll .mouse .mouse-movement {
	position: absolute;
	display: block;
	top: 29%;
	left: 50%;
	width: 5px;
	height: 6px;
	margin: -3px 0 0 -3px;
	background: rgb(35, 40, 45);
	border-radius: 50%;
	animation: scroll-ani 2.5s linear infinite;
}
@keyframes scroll-ani {
	0%   { opacity: 1; top: 29%; }
	15%  { opacity: 1; top: 50%; }
	50%  { opacity: 0; top: 50%; }
	100% { opacity: 0; top: 29%; }
}

/* ----- footer ----- */
.site-footer {
	position: relative;
	width: 100%;
	clear: left;
	background-color: #fafafa;
}
.site-footer .site-info {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding: 22px 0;
	text-align: center;
	font-size: 13px;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.site-footer .site-info a {
	color: #345;
}
.site-footer .site-info p {
	margin: 0;
}

/* ----------------------------------------------------------------
   5. HOMEPAGE GALLERY (cd-item blocks)
---------------------------------------------------------------- */
.cd-gallery {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cd-gallery::after {
	clear: both;
	content: "";
	display: table;
}
#content > ul > li::before {
	content: "";
	display: inherit;
	width: 0px;
	margin-left: auto;
}
.cd-item {
	width: 100%;
	height: 50vh;
	text-align: center;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	transform: translateZ(0);
	backface-visibility: hidden;
	transition: transform 0.5s 0.4s;
}
.cd-item > img {
	display: none;
}
.cd-item div {
	display: table-cell;
	vertical-align: middle;
}
.cd-item > a {
	display: table;
	height: 100%;
	width: 101%;
	overflow: hidden;
	color: #23282d;
	-webkit-font-smoothing: antialiased;
	position: relative;
}
.cd-item > a:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	background-color: transparent;
	transition: all 0.3s ease-out;
}
.cd-item a:hover {
	color: #FFF;
}
.cd-item a:hover:before {
	opacity: .8;
	background-color: #1c1c1c;
}
.cd-item i {
	font-size: 44px;
	z-index: 1;
	position: relative;
	margin-bottom: 12px;
}
.cd-item h2 {
	font-family: 'Julius Sans One', sans-serif;
	font-weight: 400;
	font-size: 5.8vw;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: .2em;
	position: relative;
	z-index: 1;
}
.cd-item b {
	display: none;
	font-size: 10px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 10px 19px;
	color: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 16px;
	position: relative;
	z-index: 1;
}
.cd-item p {
	line-height: 1.2;
	font-size: 13px;
	font-weight: 300;
	opacity: .6;
	padding: 0;
	position: relative;
	z-index: 1;
}
.cd-item a:hover > div > h2 {
	color: #FFF !important;
}

/* per-card title alignment — sidebar widgets render a <span>+<div> before
   the <li> cards, so cards sit at :nth-child positions 3-7 (as in uCard) */
#content > ul > li:nth-child(1) > a > div > h2 {
	text-align: left;
	padding-left: 50px;
	float: left;
	padding-right: 20px;
}
#content > ul > li:nth-child(2) > a > div > h2 {
	text-align: right;
	padding-right: 60px;
	float: right;
	padding-left: 20px;
}
#content > ul > li:nth-child(3) > a > div > h2 {
	text-align: left;
	float: left;
	padding-left: 50px;
	padding-right: 20px;
}
#content > ul > li:nth-child(4) > a > div > h2 {
	text-align: right;
	float: right;
	padding-right: 60px;
	padding-left: 20px;
}
#content > ul > li:nth-child(5) > a > div > h2 {
	color: white;
}
#content > ul > li:nth-child(5) > a > div > h2 {
	color: black;
	padding-right: 0px;
	text-align: left;
	float: left;
	padding-left: 50px;
}
#content > ul > li:nth-child(5) > a > div > p {
	display: none;
}
#content > ul > li:nth-child(6) > a > div > h2 {
	text-align: right;
	float: right;
	padding-right: 60px;
}
#content > ul > li:nth-child(7) > a > div > h2,
#content > ul > li:nth-child(7) > a > div > p,
#content > ul > li:nth-child(7) > a > div > b {
	color: #fff;
}
#content > ul > li:nth-child(7) > a > div > h2 {
	color: black !important;
}
#content > ul > li:nth-child(7) > a:hover > div > h2 {
	color: white !important;
}

/* intro block (hidden per site design) */
#topinfoblockj {
	display: none !important;
}

/* ----------------------------------------------------------------
   6. PAGE BOTTOM (featured-in, fun-facts, contact)
---------------------------------------------------------------- */
.page-bottom .row {
	margin: 0;
}
.page-bottom .row > div {
	padding-left: 0;
	padding-right: 0;
	color: #23282d;
	background: #ededed;
}
.page-bottom .row > div:nth-child(even) {
	background: #222222;
}
.page-bottom .fun-fact {
	text-align: left;
	max-width: 320px;
	padding: 1em;
	margin: 0 auto;
	overflow: hidden;
}
.page-bottom .fun-fact:first-child {
	padding-top: 2.4em;
}
.page-bottom .fun-fact:last-child {
	padding-bottom: 2.4em;
}
.page-bottom .fun-fact i {
	float: left;
	margin-bottom: 0;
	font-size: 40px;
	color: rgb(209, 183, 172) !important;
}
.page-bottom .fun-fact h4 {
	float: left;
	margin: 13px;
	max-width: none;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .03em;
	color: rgba(255, 255, 255, 0.5);
}
.page-bottom .fun-fact > p {
	margin: 0;
}
/* hide fun-facts 1 and 3 (site design: only the email fact shows) */
#content > div > div.row > div > div:nth-child(1),
#content > div > div.row > div > div:nth-child(3) {
	display: none;
}
.page-bottom .map,
.page-bottom .map-canvas {
	height: 260px;
}
.page-bottom .contact-form {
	padding: 2em;
	margin: 0 auto;
}
.page-bottom input:not([type=submit]):not([type=button]):not([type=file]):not([type=radio]):not([type=checkbox]),
.page-bottom textarea,
.page-bottom select {
	font-size: 12px;
	color: #333;
	border-width: 1px;
	border-color: rgb(34, 34, 34);
}
.page-bottom input:not([type=submit]):not([type=button]):not([type=file]):not([type=radio]):not([type=checkbox]):focus,
.page-bottom textarea:focus,
.page-bottom select:focus {
	border-color: rgb(35, 40, 45);
}
.page-bottom input[type=submit],
.page-bottom input[type=button],
.page-bottom button,
.page-bottom a.button {
	color: #222222;
	border-color: #222222;
}
.page-bottom input[type=submit]:hover,
.page-bottom input[type=button]:hover,
.page-bottom button:hover,
.page-bottom a.button:hover {
	background: #71FFD9;
	border-color: #71FFD9;
	color: #234;
}
.page-bottom .row > div > h4 {
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1px;
	margin: 0;
	padding: 4em 0 1em;
	color: rgb(35, 40, 45);
}

/* "as featured in" logo row */
#featuredin {
	margin-top: 35px;
	white-space: nowrap;
}
.subfeat {
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	text-align: center;
}
.subfeat > h3 {
	color: #d5baaf;
	font-size: 18px;
	margin-right: 12px;
	letter-spacing: 6px;
	margin-bottom: 20px;
	font-weight: 600;
}
.featlink > img {
	min-width: 45px;
	margin-left: 4px;
	margin-right: 4px;
	border: 1px solid #d5baaf !important;
	float: left;
	white-space: nowrap;
	max-width: 18%;
	opacity: 1;
	transition: all 1s ease;
	border-radius: 50%;
	padding: 10px;
	background-color: black;
}
.featlink > img:hover {
	transition: all 0.5s ease;
	opacity: 0.5;
}
.featlink > img::after {
	content: "";
	clear: both;
	display: table;
}

/* contact toggle */
#contactme {
	border: 1px solid #d5baaf !important;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	color: rgb(209, 183, 172) !important;
	font-family: 'Julius Sans One', sans-serif;
	font-size: 20px;
	max-width: 300px;
}
#contactme:hover {
	background-color: white;
	transition: all 0.3s ease;
	color: #333 !important;
	cursor: pointer;
}
.contactclass {
	transition: all 0.3s ease;
	max-height: 400px !important;
	height: 390px !important;
	opacity: 1 !important;
}
.contact-form {
	transition: all 0.3s ease;
	max-height: 0px;
	min-height: 388px;
}
#contactbox {
	max-height: 0px;
	height: 0px;
	overflow: hidden;
	opacity: 0;
	transition: all 0.3s ease;
}
.hellbutt > a {
	padding: 5px;
	margin: 10px;
	text-align: center;
	min-width: 80px;
	min-height: 30px;
	background-color: rgb(209, 183, 172);
	color: #333;
	font-size: 14px;
}

/* ----------------------------------------------------------------
   7. SOCIAL LINK ICONS (fontello glyphs)
---------------------------------------------------------------- */
html a.social-link {
	display: inline-block;
	padding: 0;
	margin: 0 .4em .3em 0;
	text-align: center;
	font-size: 13px;
	font-family: "fontello";
	width: 40px;
	line-height: 38px;
	color: inherit;
	border: 1px solid rgba(28, 38, 43, 0.10);
	border-radius: 50%;
	transition: all 0.1s;
}
a.social-link:hover {
	color: #fff;
}
.social-link.facebook:before        { content: '\e825'; }
.social-link.twitter:before         { content: '\e826'; }
.social-link.flickr:before          { content: '\e835'; }
.social-link.rss:before             { content: '\e82f'; }
.social-link.dribbble:before        { content: '\e82c'; }
.social-link.lastfm:before          { content: '\e82e'; }
.social-link.linkedin:before        { content: '\e827'; }
.social-link.vimeo:before           { content: '\e830'; }
.social-link.forrst:before          { content: '\e831'; }
.social-link.skype:before           { content: '\e832'; }
.social-link.tumblr:before          { content: '\e836'; }
.social-link.behance:before         { content: '\e82b'; }
.social-link.blogger:before         { content: '\e837'; }
.social-link.delicious:before       { content: '\e838'; }
.social-link.digg:before            { content: '\e839'; }
.social-link.github:before          { content: '\e82a'; }
.social-link.wordpress:before       { content: '\e83b'; }
.social-link.google-plus:before     { content: '\e801'; }
.social-link.youtube:before         { content: '\e834'; }
.social-link.pinterest:before       { content: '\e829'; }
.social-link.instagram:before       { content: '\e82d'; }
.social-link.stack-overflow:before  { content: '\e83c'; }
.social-link.foursquare:before      { content: '\e83d'; }
.social-link.xing:before            { content: '\e83e'; }
.social-link.weibo:before           { content: '\e83f'; }
.social-link.soundcloud:before      { content: '\e840'; }
.social-link.fivehundredpx:before   { content: '\e841'; }
.social-link.slideshare:before      { content: '\e842'; }
.social-link.vine:before            { content: '\e863'; }
.social-link.vkontakte:before       { content: '\e846'; }
.social-link.spotify:before         { content: '\e803'; }
.social-link.facebook:hover         { background-color: #3c5fac; }
.social-link.twitter:hover          { background-color: #5ec3df; }
.social-link.flickr:hover           { background-color: #FF0084; }
.social-link.rss:hover              { background-color: #ff9900; }
.social-link.dribbble:hover         { background-color: #EA4C89; }
.social-link.lastfm:hover           { background-color: #D51007; }
.social-link.linkedin:hover         { background-color: #2089b5; }
.social-link.vimeo:hover            { background-color: #0dadd6; }
.social-link.google-plus:hover      { background-color: #c63d2d; }

/* ----------------------------------------------------------------
   8. BLOG / MEDIA GRID
---------------------------------------------------------------- */
.media-grid {
	min-height: 400px;
	width: 100%;
}
.media-grid:before,
.media-grid:after {
	content: " ";
	display: table;
}
.media-grid:after {
	clear: both;
}
.media-grid .media-cell {
	padding: 0 10px;
	margin-bottom: 20px;
	text-align: center;
	box-sizing: border-box;
}
.media-cell-desc {
	position: relative;
	padding: 28px 40px;
	background: #fff;
}
.media-cell-desc h3 {
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	font-weight: 700;
	letter-spacing: 0.2px;
	font-size: 12px;
	color: #345;
	line-height: 1.4;
}
.media-cell-desc h3 a {
	color: inherit;
}
.media-cell-desc p {
	font-size: .875em;
	margin: 0;
	color: #a7b6b9;
}
.media-box {
	position: relative;
	margin-bottom: 30px;
	background-color: #fff;
}
.media-box a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0;
}
.media-box img {
	display: block;
	width: 100%;
}
.media-box .mask {
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	text-align: center;
	overflow: hidden;
	background: rgba(51, 71, 93, 0.6);
	transition: all 0.3s ease-out;
}
.media-box:hover .mask {
	opacity: 1;
}
.media-box .mask:before {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -33px 0 0 -33px;
	width: 66px;
	line-height: 66px;
	font-size: 66px;
	text-align: center;
	font-family: 'Pe-icon-7-stroke';
	content: "\e69d";
	color: #fff;
}
.latest-posts {
	margin-top: 2em;
}
.latest-posts .media-cell-desc {
	padding-top: 2em;
}
.latest-posts .mask:before {
	content: "\e62e";
}
.catlinks a,
.cat-links a {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
p.launch {
	margin: 2em 0;
	text-align: center;
}

/* widget areas */
.widget-area .widget {
	margin-bottom: 3em;
}
.widget-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 1.5em;
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget ul li {
	margin: .4em 0;
}
.widget ul ul {
	padding-left: 1.4em;
}

/* comments */
.comments-area {
	padding: 1em 0;
}
.comments-area .commentlist {
	padding-bottom: 1em;
}
.commentlist,
.commentlist ol {
	list-style: none;
	padding-left: 0;
}
.commentlist li::before {
	content: "";
	display: none;
}
.comments-area article {
	padding: .8em 0;
	margin-top: 1em;
}
.comment-meta img {
	max-width: 66px;
	position: absolute;
	top: 14px;
	left: 0;
}
.comment-meta,
.comment-content {
	margin-left: 84px;
}
.comment-content p {
	font-size: .925em;
}
.comments-area ol ol {
	margin-left: 8%;
}
#respond form p {
	margin-bottom: 0;
}
.form-submit {
	padding-top: 2em;
	margin-top: 0;
}

/* pagination / nav links */
.navigation,
.pagination,
.nav-single {
	margin: 2em 0;
	text-align: center;
}
.navigation a,
.pagination a,
a.more-link,
.nav-single a {
	display: inline-block;
	position: relative;
	padding: 1.1em 2em;
	margin-bottom: .25em;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.2;
	letter-spacing: .08em;
	border: 2px solid #345;
	color: #345;
	transition: all 0.1s;
}
.navigation a:hover,
.pagination a:hover,
a.more-link:hover,
.nav-single a:hover {
	color: #fff;
	background-color: #4ECE99;
	border-color: transparent;
}

/* 404 */
.http-alert {
	text-align: center;
}
.http-alert h1 {
	font-size: 6em;
	margin: 0;
	font-weight: 100;
}

/* ----------------------------------------------------------------
   9. RESPONSIVE
---------------------------------------------------------------- */
@media screen and (max-width: 660px) {
	#masthead > div > p {
		font-size: 8vw !important;
	}
	#colophon > div > div > p {
		font-size: 9px !important;
	}
	#content > ul > li > a > div > h2 {
		text-align: center !important;
		float: unset !important;
		padding: 5px !important;
	}
	.featlink > img {
		margin-left: 2px !important;
		margin-right: 2px !important;
	}
	#topinfoblockj > div > div.intropicj > img {
		float: initial !important;
		width: 80% !important;
		margin: auto !important;
	}
	#topinfoblockj > div > div.introtextj2 > p {
		font-size: 19px !important;
	}
}

@media screen and (min-width: 661px) and (max-width: 991px) {
	#content > ul > li > a > div > h2 {
		text-align: center !important;
		float: unset !important;
		padding: 10px !important;
	}
	#topinfoblockj > div > div.introtextj2 > p {
		font-size: 18px !important;
	}
}

@media screen and (min-width: 768px) {
	.with-sidebar {
		float: left;
		width: 61%;
	}
	.sidebar {
		float: left;
		width: 34%;
		margin-left: 5%;
		margin-top: 1.4em;
	}
	.site-description {
		font-size: 22px;
		font-weight: 100;
	}
	.nav-menu:not(.menu-with-icons) ul {
		margin-bottom: 1.3em;
	}
	.hentry {
		padding: 0 0 4em 0;
	}
	.entry-header {
		padding-top: 3em;
	}
	.entry-content {
		margin-top: 2em;
	}
	blockquote {
		font-size: 1.8em;
		padding: 0 2em;
	}
	blockquote:before {
		font-size: 1.0em;
	}
	input:not([type=submit]):not([type=button]):not([type=file]):not([type=radio]):not([type=checkbox]),
	select {
		max-width: 360px;
	}
	.media-grid .media-cell {
		float: left;
		width: 50%;
		padding: 0 20px;
		margin-bottom: 20px;
	}
	.comment-form-author,
	.comment-form-email,
	.comment-form-url {
		float: left;
		width: 30%;
		margin-right: 3%;
	}
	.comment-form-url {
		width: 34%;
		margin-right: 0;
	}
	.form-allowed-tags,
	.form-submit {
		clear: left;
	}
}

@media screen and (min-width: 992px) {
	.header {
		padding: 4% 0;
	}
	.site-description {
		font-size: 30px;
		font-size: 6vw;
	}
	.cd-item {
		width: 50%;
		float: left;
	}
	.cd-item:last-child:nth-child(odd) {
		width: 100%;
	}
	.cd-item h2 {
		font-size: 1.8vw;
	}
	#content > ul > li:nth-child(7) {
		height: 400px !important;
	}
	.cd-item h2,
	.cd-item p,
	.cd-item i {
		transform: translateY(30px);
		transition: transform 0.3s 0.1s;
	}
	.cd-item p {
		font-size: 16px;
		margin-bottom: 2em;
		opacity: .5;
	}
	.cd-item b {
		opacity: 0;
		display: inline-block;
		transform: translateY(20px);
		transition: opacity 0.3s 0s, transform 0.3s 0s;
	}
	.page-bottom .map,
	.page-bottom .map-canvas {
		height: 100%;
	}
	.page-bottom .col-md-12 {
		text-align: center;
	}
	.page-bottom .col-md-12 .fun-fact {
		display: inline-block;
		text-align: center;
	}
	.page-bottom .col-md-12 .fun-fact i {
		float: none;
	}
	.page-bottom .col-md-12 .fun-fact h4 {
		float: none;
	}
	.page-bottom .col-md-12 .fun-fact,
	.page-bottom .col-md-12 .fun-fact:first-child,
	.page-bottom .col-md-12 .fun-fact:last-child {
		padding: 3em 2em;
	}
	.with-sidebar {
		width: 68%;
	}
	.sidebar {
		width: 25.8%;
		margin-left: 6%;
	}
	.row {
		margin-left: -30px;
		margin-right: -30px;
	}
	.col-md-12 {
		float: left;
		width: 100%;
		padding-left: 30px;
		padding-right: 30px;
	}
	.media-grid {
		margin-left: -20px;
		margin-right: -20px;
	}
	.media-grid .media-cell {
		width: 33.33%;
	}
}

@media (hover: hover) and (min-width: 992px) {
	.cd-item a:hover h2,
	.cd-item a:hover p,
	.cd-item a:hover i {
		transform: translateY(0);
		transition: transform 0.3s 0s;
	}
	.cd-item a:hover b {
		opacity: 1;
		transform: translateY(0);
		transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
	}
}
