/*!
Theme Name: Local Business Maps
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.2.5
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: local-business
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, 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.

Local Business is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Map
	- 

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

@font-face {
  font-family: 'Karla';
  src: url(/site-assets/themes/yrityskartta-local-business/fonts/Karla-Regular.woff2);
  font-weight: 400;
}

@font-face {
  font-family: 'Karla';
  src: url(/site-assets/themes/yrityskartta-local-business/fonts/Karla-Bold.woff2);
  font-weight: 700;
}

@font-face {
  font-family: 'Karla';
  src: url(/site-assets/themes/yrityskartta-local-business/fonts/Karla-ExtraBold.woff2);
  font-weight: 800;
}

@font-face {
  font-family: 'Open Sans';
  src: url(/site-assets/themes/yrityskartta-local-business/fonts/OpenSans-Regular.woff2);
  font-weight: 400;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: 'Karla';
  color: rgb(41, 71, 91);
}

h1 {
  line-height: 1.3;
  font-weight: 800;
}

h2 {
  font-weight: 800;
}

h2.wp-block-post-title {
  margin-top: 0.2em;
}

h2 a {
  text-decoration: none;
  color: inherit;
}

p {
  margin-bottom: 1.5em;
}

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

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: 'Courier 10 Pitch', courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
}

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

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

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */

body {
  max-width: 100%;
  overflow-x: hidden;
}

body.single-map {
  background-color: #18425e;
}

.site {
  max-width: 60em;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}

@media screen and (min-width: 60em) {
  .single-map .site {
    border: 0.5em solid white;
    border-radius: 3em;
    overflow: hidden;
    margin-top: 1em;
  }
}

body:not(.single-map):not(.home) .site-main {
  min-height: 96vh;
  padding: 8em 1.3em 3em;
}

body.home .site-main {
  padding: 0 1.3em 3em;
}

hr {
  background-color: #ccc;
  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: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

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

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 0;
}

figure.wp-block-image {
  border: 0.5em solid white;
  border-radius: 1em;
  box-shadow: 0 0.2em 1.2em rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

figure.wp-block-image.map-link:hover {
  box-shadow: 0 0.2em 1.2em rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

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

/* Links
--------------------------------------------- */
a {
  color: #215387;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

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

/* 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);
  line-height: 1;
  padding: 0.6em 1em 0.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%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

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

.site-header {
  position: relative;
  height: 0;
  z-index: 99;
}

.site-branding {
  position: absolute;
  top: 0.2em;
  left: 0.3em;
  touch-action: none;
}

.single-map .custom-logo-link {
  pointer-events: none;
  cursor: default;
  touch-action: none;
}

.site-branding img {
  width: 6em;
  height: 6em;
}

.site-title,
.site-description {
  width: 1px;
  height: 1px;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  top: 1em;
  right: 1.3em;
  font-size: 1.1em;
  touch-action: none;
  font-family: 'Karla';
}

.main-navigation.toggled #primary-menu {
  min-width: 11em;
  background: #1c3340;
  margin-top: 0.5em;
  padding: 0.2em 1.5em 0.5em;
  border-radius: 1em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.main-navigation ul ul {
  padding-left: 0.7em;
  padding-right: 0.7em;
}

.map-menu {
  background-color: white;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  border-radius: 0.7em;
  margin-left: -1em;
  margin-right: -1em;
  padding: 0.5em;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  font-weight: bold;
  margin: 1em 0;
  color: #efefef;
}

.map-menu a {
  color: #1c3340;
  padding-left: 0.5em;
}

.map-menu > a {
  border-bottom: 1px solid lightgray;
  color: #8c8c8c;
  margin: 0.5em 0 0;
  padding: 0 0 0.5em 0.5em;
  font-size: 1.2em;
}

.map-menu-item {
  display: flex;
  align-items: center;
}

.map-menu-item::before {
  width: 1em;
  height: 1em;
  content: url(/site-assets/themes/yrityskartta-local-business/media/map_22_color.svg);
  line-height: 1;
}

/* Small menu. */

.menu-toggle {
  padding: 0;
  border-radius: 3em;
  width: 2.7em;
  height: 2.7em;
  background-color: white;
  color: #215387;
}

.single-map .menu-toggle {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: none;
}

.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.menu-toggle:hover {
  cursor: pointer;
  background-color: rgb(235, 235, 235);
}

.main-navigation.toggled .menu-svg path {
  d: path('M 19 7 l -2 -2 l -7 7 l -7 -7 l -2 2 l 7 7 l -7 7 l 2 2 l 7 -7 l 7 7 l 2 -2 l -7 -7 Z');
  transform: translate(2px, -1px);
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

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

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

/* Posts and pages
--------------------------------------------- */

.sticky {
  display: block;
}

/*
.post,
.page {
  margin: 0 0 1.5em;
}
*/

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

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

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

/* Blocks */

.wp-block-post-template.is-flex-container {
  margin: 0;
}

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

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

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

/* 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 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;
  display: grid;
  grid-gap: 1.5em;
}

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

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.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;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

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

.alignwide {
  margin-left: -1.3em;
  margin-right: -1.3em;
  padding-left: 1.3em;
  padding-right: 1.3em;
  max-width: 100vw;
}
@media (min-width: 990px) {
  .alignwide {
    margin-left: -10vw;
    margin-right: -10vw;
    padding-left: 18vw;
    padding-right: 18vw;
  }
}

/*-- custom --*/
/*
.front-page-heading-banner{
	border-color: white;
    border-left: 0.5em solid white;
    border-bottom: 0.5em solid white;
    border-right: 0.5em solid white;
    border-bottom-left-radius: 2em;
    border-bottom-right-radius: 2em;
    box-shadow: 0 0.5em 1em rgba(0,0,0,0.2);
    overflow: hidden;
}
*/

/*--------------------------------------------------------------
# Map
--------------------------------------------------------------*/

#pan-container {
  height: 96vh;
}
@media screen and (min-width: 60em) {
  #pan-container {
    height: 85vh;
    max-height: 60em;
    position: relative;
  }
}
#panzoom {
  background-repeat: no-repeat;
}
.karttapallerot {
  position: absolute;
  margin-top: -19px;
  margin-left: -19px;
  width: 38px;
  height: 38px;
  background-color: #fefdff;
  color: #d04251;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.karttapallerot:hover {
  background-color: #eeecef;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.karttapallerot {
  animation-duration: 1s;
  /*animation-name: slidein;*/
}

@keyframes slidein {
  from {
    transform: scale(1);
  }

  25% {
    transform: scale(0.7);
  }

  50% {
    transform: scale(1.5);
  }

  75% {
    transform: scale(0.9);
  }

  to {
    transform: scale(1);
  }
}

.hide-pins .karttapallerot {
  visibility: hidden;
}

#business-info-area {
  opacity: 0;
  transition: opacity 0.2s;
}

#business-info-area:not(:empty) {
  position: absolute;
  z-index: 99;
  bottom: 0;
  width: 100%;
  max-width: 60em;
  background-color: white;
  padding: 2rem 1.5rem 4rem 1.5rem;
  opacity: 1;
  transition: opacity 0.2s;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

#business-info-area .close-button {
  border-radius: 3em;
  width: 2.4em;
  height: 2.4em;
  margin: -56px 0 -12px auto;
  font-weight: 700;
  font-size: 19px;
  cursor: pointer;
  background-color: rgb(240, 240, 240);
  background-color: #1fac9c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

#business-info-area .close-button:hover {
  background-color: #219e90;
}

#business-info-area h2 {
  margin-bottom: 0.3rem;
  font-size: 1.6em;
}

#business-info-area h3 {
  margin: 0.3rem 0;
}

#business-info-area .street-addr {
  margin: 0;
  padding-bottom: 1em;
  border-bottom: 1px solid lightgray;
}

#business-info-area .street-addr::before {
  content: url(/site-assets/themes/yrityskartta-local-business/media/place_red_24dp.svg);
  position: relative;
  display: inline-block;
  width: 1em;
  left: 0;
  top: 0.25em;
  margin-right: 0.33em;
}

#business-info-area .info-text {
  max-height: 30vh;
  overflow-y: scroll;
  touch-action: none;
}

#business-info-area .see-more {
  margin: 0.3rem 0 1rem;
  font-size: 1.1em;
  font-weight: bold;
}

#business-info-area .company-links {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

#business-info-area .company-url:hover {
  opacity: 0.6;
}

#business-info-area .company-url img {
  max-height: 2em;
}

@media screen and (min-width: 40em) {
  #business-info-area:not(:empty) {
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    max-width: 20rem;
    padding: 0 2rem 0 1.5rem;
    flex-direction: column;
    justify-content: center;
    font-size: 0.8em;
  }
  #business-info-area .close-button {
    margin: 0;
    border-radius: 3em;
    width: 2.7em;
    height: 2.7em;
    position: absolute;
    left: 15.5em;
  }
  #business-info-area .info-text {
    max-height: auto;
    overflow-y: auto;
    touch-action: auto;
  }
}

/*
#business-info-area .company-url[href^="http"]::after,
#business-info-area .company-url[href^="https://"]::after
{
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
}
/*
#mobile-header {
  background-image: url('/wp-content/uploads-webpc/uploads/2022/11/header-small.png.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 115px;
}
*/

.mobile-toggle-open-container .menu-toggle-open {
  padding: 0.6em;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.map-footer {
  position: absolute;
  z-index: 99;
  bottom: 0;
  height: 40px;
  width: 100%;
  max-width: 60em;
  background-color: #1c3340;
  border-top: 0.3em solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1fac9c;
  touch-action: none;
}
.map-footer p {
  margin: 0.5em 0;
  font-size: 0.8em;
}

@media screen and (min-width: 60em) {
  .map-footer {
    position: relative;
  }
}

.single-map #colophon.site-footer {
  display: none;
}

/* Full screen toggle*/

#go-full-screen {
  position: absolute;
  display: inline-block;
  bottom: 7.9rem;
  left: 1.5rem;
  border-radius: 3em;
  width: 2.7rem;
  height: 2.7rem;
  font-size: 1.5em;
  cursor: pointer;
  background-color: rgb(240, 240, 240);
  background-color: #1fac9c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  /*line-height: 1em;*/
  padding-top: 0.1em;
}

/* Company list */

/* Toggle */

#company-list-toggle {
  position: absolute;
  bottom: 3.5rem;
  right: 1.2rem;
  width: 3.5rem;
  height: 3.5rem;
  cursor: pointer;
}

#company-list-toggle img {
  position: relative;
}

#company-list-toggle .shadow {
  bottom: 50%;
  right: 50%;
  position: absolute;
  display: inline-block;
  width: 0;
  height: 0;
  box-shadow: 0 0 2em 1em rgba(0, 0, 0, 1);
}

/* List */

span#company-list {
  max-height: 60vh;
  overflow-y: scroll;
  position: absolute;
  bottom: 8rem;
  left: 5vw;
  width: 90vw;
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

span#company-list.is-closed {
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

span#company-list ul {
  list-style: none;
  margin: 0 0 0 2em;
  padding: 0;
}

span#company-list li {
  margin: 0.5em 0;
  cursor: pointer;
}
span#company-list li:hover {
  text-decoration: underline;
}

.list-pin-num {
  display: inline-block;
  min-width: 2em;
  margin-left: -2em;
  font-family: 'Karla';
  font-weight: bold;
}
@media (min-width: 60em) {
  #company-list-toggle {
    bottom: 1.5rem;
  }
  span#company-list {
    overflow-y: scroll;
    position: absolute;
    bottom: 0;
    right: 0;
    left: initial;
    width: 31vw;
    height: 100%;
    max-height: 100%;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    font-size: 0.8em;
  }
}
/* Switch */

.switch {
  position: absolute;
  display: inline-block;
  width: 60px;
  height: 34px;
  bottom: 4em;
  left: 1.5em;
  border-radius: 34px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
@media (min-width: 60em) {
  .switch {
    bottom: 1.5rem;
  }
  #go-full-screen {
    bottom: 5.5rem;
  }
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

input:checked + .slider {
  background-color: #89dd5e;
}

input:focus + .slider {
  box-shadow: 0 0 1px #89dd5e;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Footer */

.site-footer {
  padding: 2em 0;
  text-align: center;
  background-color: rgb(241, 241, 241);
}

@media (min-width: 960px) {
  .site-footer {
    background-color: rgb(241, 241, 241);
    margin-left: calc((100vw - 960px) / -2);
    margin-right: calc((100vw - 960px) / -2);
  }
}
