/*
Theme Name: Bridge Theme 2
Theme URI: https://www.lapinamk.fi/fi/Yrityksille-ja-yhteisoille/Kehittamisymparistot/FrostBit
Author: Frostbit
Author URI: https://www.lapinamk.fi/fi/Yrityksille-ja-yhteisoille/Kehittamisymparistot/FrostBit
Description: Gutenberg compliance theme template
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bridge-2-theme
Tags: translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

bridge-2-theme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Custom additions
	## Contact area
	## Header Partner logo
	## Fix in overflow with some Stackable-blocks
	## Header
## Footer
# Back-button
# Hamburger menu
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Custom additions
--------------------------------------------------------------*/

.front_page_main_widget {
	position: absolute;
	bottom: 30px;
	left: 0;
	right: 0;
}

.cryptedmail:after {
	content: attr(data-name) "@" attr(data-domain) "." attr(data-tld);
}

/*--------------------------------------------------------------
## Contact area
--------------------------------------------------------------*/

@media only screen and (max-width: 800px) {
	#contact-container.show {
		width: 100vw;
		padding-right: 14px;
	}
}

@media only screen and (min-width: 800px) {
	#open-contact-button.move {
		left: 340px;
	}
}

@media only screen and (min-width: 1400px) {
	#contact-container {
		position: absolute;
		left: 0;
		background: #0b6468;/*rgba(255, 255, 255, 0.5);*//*#0b6468;*/
	}

	#close-contact-button {
		display: none;
	}

	#open-contact-button {
		left: 340px;
	}
}

@media only screen and (max-width: 1400px) {

	#open-contact-button {
		z-index: 9;
	}

	#contact-container {
		position: fixed;
		left: -340px;
		background: #0b6468;/*rgba(255, 255, 255, 1);*//*#0b6468;*/
	}

	#contact-container.show {
		left: 0;
	}

	.contact-content {
		margin: 154px 0 0;
	}

}

.contact-content {
	color: white;
}

.contact-button {
	position: absolute;
	top: 50px;
	background: #0b6468;
	color: white;
	border: 0;
	height: 64px;
	padding-right: 30px;
	font-size: 1.2em;
	transition: left 0.5s;
	left: 0;
}

#contact-container {
	display: block;
	top: 0;
	bottom: 0;
	width: 340px;
	overflow-y: auto;
	z-index: 10;
	transition: left 0.5s, width 0.5s;
}

#close-contact-button {
	border: 3px solid white;
	border-radius: 32px 32px 32px 32px;
	margin-left: 30px;
}

#open-contact-button {
	border-radius: 0 32px 32px 0;
}

/*--------------------------------------------------------------
## Header Partner logo
--------------------------------------------------------------*/

.header-partner-logo {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: white;
	overflow: hidden;
}

.header-partner-logo img {
	max-width:100%;
	height:auto;
	max-height: 60px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
## Fix in overflow with some Stackable-blocks
--------------------------------------------------------------*/

.ugb-top-separator {
	top: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.site-header {
	position: relative;
	/*background-color: #c3dcea;*/
}

.site-header img {
	width: auto;
	max-height: 50vh;
}

.site-header .site-branding {
	position: relative;
}

.header-full-view .site-branding img {
	margin-top: 90px;
}

.site-header div.header-opacity-layer {
	content: "";
	opacity: 0.2;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: #ffffff;
	position: absolute;
}

.header-min-view div.header-opacity-layer {
	background-color: #0b6468 !important;
}

.header-min-view img {
	max-height: 300px;
}

.header-min-view .site-branding {
	position: absolute;
	bottom: 0;
}

.site-branding-no-text {
	position: absolute;
	bottom: 0;
	width: 100%;
}

.header-full-view {
	height: 100vh;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.site-footer aside.widget-area {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center; /* align horizontal */
}

.site-footer aside.widget-area > div {
	float: left;
	width: 30%;
	min-width: 300px;
	padding: 20px;
}

nav.footer-navigation {
	padding-top: 1em;
}

.site-footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.site-footer ul li {
	display: inline;
	/*border-left: 1px solid #cdcdcd;*/
	padding-left: 5px;
}

.site-footer h2 {
	color: #cdcdcd;
}

.site-footer a {
	text-decoration: none;
	color: white;
}

/* mouse over link */
.site-footer a:hover {
	color: #f4b562;
}

.site-footer input[type=search] {
	background-color: #1c2541;
	color: white;
}

.site-footer input[type=search]:focus {
	color: white;
}

.site-footer input[type=submit] {
	background-color: #0b6468;
	border: none;
	color: white;
	padding: 10px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
}

/* FOOTER always bottom */
/*
div#page {
	position: relative;
	min-height: 100vh;
	padding-bottom: 150px;
}

footer.site-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}*/

/*nav#site-navigation {
	position: absolute;
	top: 0;
	left: 0;
}*/


/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

/*--------------------------------------------------------------
# Back-button
--------------------------------------------------------------*/

#frostbit-back-nav {
	width: 60px;
	height: 60px;
	border-radius: 30px;
	background-color: #0b6468;
	padding: 1em;
	z-index: 9;
	cursor: pointer;
	position: relative;
}

.back-nav-icon {
	font-weight: bold;
	position: absolute;
	top: 15px;
	left: 15px;
	width: 30px;
	height: 30px;
	display:block;
	color: white;
	font-size: 50px;
	line-height: 33px;
	font-family: Arial, Helvetica, sans-serif;
}

/*--------------------------------------------------------------
# Hamburger menu
--------------------------------------------------------------*/

div#frostbit-menu-drawer h2 {
	color: white;
}

div#frostbit-menu-drawer input[type=search] {
	background-color: #0b6468;
	color: white;
}

div#frostbit-menu-drawer input[type=submit] {
	background-color: #1c2541;
	border: none;
	color: white;
	padding: 10px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
}

#menuToggle div#menuToggle-burger {
	position: absolute;
	top: 50px;
	right: -310px; /* moved to right. prev left: 20px */
 	width: 64px;
	height: 64px;
	border-radius: 32px;
	background-color: #0b6468;
	padding: 1em;
}

#menuToggle
{
	display: block;
	position: fixed;
	top: 0;
	right: 350px; /* moved to right. prev left: 10px */
	bottom: 0;
	z-index: 10;
	-webkit-user-select: none;
	user-select: none;
}

#menuToggle .menu-main-container a {
	border-bottom: 1px solid #055154;
}

#menuToggle a
{
	text-decoration: none;
	color: white;
	width: 100%;
	padding: 10px;
	display: inline-block;
	transition: color 0.3s ease;

}

#menuToggle a:hover
{
	color: black !important;
	background-color: #f4b562;
}

#menuToggle input#frostbit-menu-button
{
	display: block;
	width: 60px;
	height: 60px;
	position: absolute;
	top: 50px;
	right: -310px; /* moved to right. prev left: 20px */

	cursor: pointer;

	opacity: 0; /* hide this */
	z-index: 11; /* and place it over the hamburger */

	-webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
	display: block;
	width: 33px;
	height: 4px;
	margin-bottom: 5px;
	position: relative;

	background: white;
	border-radius: 3px;

	z-index: 1;

	transform-origin: 4px 0px;

	transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
	background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
	opacity 0.55s ease;
}

#menuToggle span:first-child
{
	margin-top: 5px;
	transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
	transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ div#menuToggle-burger span
{
	opacity: 1;
	transform: rotate(45deg) translate(3px, -6px);
	background: white;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input#frostbit-menu-button:checked ~ div#menuToggle-burger span:nth-last-child(2)
{
	opacity: 0;
	transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input#frostbit-menu-button:checked ~ div#menuToggle-burger span:nth-last-child(1)
{
	transform: rotate(-45deg) translate(2px, 2px);
}

@media only screen and (max-width: 800px) {
	#menuToggle div#frostbit-menu-drawer {
		width: 100vw !important;
	}

	#menuToggle {
		right: 100vw !important;
	}

	#menuToggle div#menuToggle-burger {
		right: -100vw;
		margin-right: 50px;
	}

	#menuToggle input#frostbit-menu-button {
		right: -100vw;
		margin-right: 50px;
	}
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
/*#primary-menu*/
#menuToggle div#frostbit-menu-drawer
{
	position: absolute;
	overflow-y: auto;
	width: 350px;

	height: 100%;

	/*margin: 0 0 0 -10px;*/
	padding: 20px;
	padding-top: 125px;

	background: #0b6468;

	-webkit-font-smoothing: antialiased;
	/* to stop flickering of text in safari */

	transform-origin: 0% 0%;
	transform: translate(100%, 0); /* moved to right */

	transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menuToggle div ul
{
	list-style-type: none;
	margin: 0 0 0 16px !important;
	padding: 0 0;
}

#menuToggle div.menu-main-container > ul
{
	margin: 0 0 0 0 !important;
}

#primary-menu li
{
	/*padding: 10px 0;*/
	font-size: 20px;
	width: 100%;
	padding: 0 0;
}

#primary-menu li.current-menu-item > a
{
	color: #c3dcea;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input#frostbit-menu-button:checked ~ div#frostbit-menu-drawer
{
	transform: none;
}

div#frostbit-menu-drawer .widget-column {
	font-size: 90%;
	color: #aaaaaa;
	padding-top: 20px;
	padding-bottom: 20px;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2.2em;
  margin: 0.67em 0;
  line-height: 1.4;
}

h2 {
  font-size: 1.8em;
  line-height: 1.4;
}

h3 {
  font-size: 1.50em;
  line-height: 1.4;
}

h4 {
  font-size: 1.20em;
  line-height: 1.5;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.8em;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 0.875rem;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #191e23;
  /* font-family: Helvetica, Arial, sans-serif; */
	font-family: 'Muli', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  color: #191e23;
  clear: both;
}

.entry-header .entry-title {
  font-size: 2.44em;
  line-height: 1.4;
  margin: 1em 0 1rem;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 0.8em 1em;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 0.875rem;
}

@media screen and (min-width: 600px) {
  code, kbd, tt, var {
    font-size: 0.8125rem;
  }
}

p > code {
  padding: 2px;
  border-radius: 2px;
  background: #f3f4f5;
  font-size: inherit;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

.site-header {
	min-height: 350px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

.archive .site-header {
	margin-bottom: 3.5em;
}

.site-title {
	padding-top: 50px;
	margin: 0;
	/*margin: .4375em 0 0;*/
	font-size: 38px;
	font-weight: bold;
	line-height: 1.2;
	color: #333332;
}

.main-site-title {
	padding-top: 150px;
}

.site-title a {
	text-decoration: none;
	color: inherit;
}

.site-branding {
	margin-bottom: 1.0em;
}

.site-description {
	margin: .4375em 0 0;
	font-size: 17px;
	font-weight: inherit;
	line-height: 1.4;
	word-wrap: break-word;
	color: #6c7781;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */ }

blockquote, q {
  quotes: "" ""; }
  blockquote:before, blockquote:after, q:before, q:after {
    content: ""; }

hr {
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul, ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #0073aa;
}

a:hover, a:focus, a:active {
  color: #00a0d2;
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/*.main-navigation {
	clear: both;
	display: block;
  margin: 0 auto;
	max-width: 790px;
  text-align: center;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
  text-align: left;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  display: block;
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.menu-toggle {
  padding: 1em;
}*/

@media screen and (max-width: 37.5em) {
	/* Small menu. */
	.menu-toggle,
	.main-navigation.toggled ul {
		display: block;
    margin: 0 auto;
	}
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  /*.main-navigation a {
    padding: 0 .5em;
  }*/
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  border-bottom: 1px solid #e2e4e7;
	margin: 0 auto 60px;
  max-width: 790px;
	overflow: hidden;
  padding-bottom: 60px;
}

.nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	width: 50%;
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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. */
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft,
.alignright {
	max-width: 790px !important;	/* Let's work to make this !important unnecessary */
}

.alignleft img,
.alignright img,
.alignleft figcaption,
.alignright figcaption {
	max-width: 50%;
	width: 50%;
}

.alignleft figcaption {
	clear: left;
}

.alignright figcaption {
	clear: right;
}

.alignleft img,
.alignleft figcaption {
  float: left;
  margin-right: 1.5em;
}

.alignright img,
.alignright figcaption {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area {
	width: 25%;
}

.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}

.widget select {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#page {
  margin: 0 auto;
  max-width: 100%;
}

.site-branding {
  text-align: center;
  margin: 0px 0;
}

.site-footer {
  /*margin: 1em 0;*/
	position: relative;
  color: #c3dcea;
  font-size: 90%;
	background-color: #1c2541;

}

.site-footer .site-info {
	margin: 0;
	padding: 0 3em 3em;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

.hentry {
  margin: 60px 0;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.entry-meta {
  color: #6c7781;
  font-size: 90%;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.entry-header,
.page-header,
.entry-footer,
.site-info,
.posts-navigation,
.post-navigation,
.page-navigation,
.comments-area,
.not-found .page-content,
.search .entry-summary {
  margin: 1.5em auto;
  padding-left: 14px;
  padding-right: 14px;
  max-width: 790px;
}

.entry-header .wp-post-image {
  margin-bottom: 1.5em;
}

.entry-footer span{
  margin-right: 1em;
}

.entry-footer{
  color: #6c7781;
  font-size: 90%;
  padding-bottom: 40px;
  border-bottom: 1px solid #e2e4e7;
}

@media screen and (min-width: 608px) {
  .entry-header,
  .page-header,
  .entry-footer,
  .site-info,
  .posts-navigation,
  .post-navigation,
  .page-navigation,
  .comments-area,
  .not-found .page-content,
  .search .entry-summary {
    padding-left: 0;
    padding-right: 0;
  }
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.3333333333%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.6666666667%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.2857142857%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.1111111111%;
}

.gallery-caption {
  display: block;
}
