/*
Theme Name: Maxitype v1.12
Version: 1
Text Domain: maxitype
*/

/* Webfonts
------------------------------------ */
@font-face {
  font-family: 'Selecta';
  src: url('fonts/Selecta-Regular.woff') format("woff"),
    url('fonts/Selecta-Regular.woff2') format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Selecta';
  src: url('fonts/Selecta-RegularItalic.woff') format("woff"),
    url('fonts/Selecta-RegularItalic.woff2') format("woff2");
  font-weight: normal;
  font-style: italic;
}


@font-face {
  /* font-family: 'SelectaGX';
  src: url('fonts/ttf/SelectaGX.ttf');
  font-weight: normal;
  font-style: normal; */
}


/* General
------------------------------------ */

* {
  box-sizing: border-box;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  margin: 0;
  padding: 0;

  font-family: 'Selecta';
  /* font-size: 15px; */
  font-size: 5.3333vw;
  line-height: 1.06em;


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

h1, h2, h3, h4 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
svg {
  display: block;
}
strong {
  font-weight: inherit;
  /* color: #00b38f; */
}

.hidden {
  display: none;
}


@media (min-width: 900px) {
  body {
    font-size: 1.0417vw;
    line-height: 1.06em;
  }
}
/* @media (min-width: 1800px) {
  body {
    font-size: 18.75px;
    line-height: 1.06em;
  }
} */
/* @media (min-width: 1680px) {
  body {
    font-size: 17.5px;
    line-height: 1.06em;
  }
} */
/* @media (min-width: 1536px) {
  body {
    font-size: 16px;
    line-height: 1.06em;
  }
} */
@media (min-width: 1440px) {
  body {
    font-size: 15px;
    line-height: 1.06em;
  }
}

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

header {
  position:fixed;
  width: 100%;
  top: 0;
  z-index: 4;
  background-color: black;
}
header ul {
  display: flex;
  margin: 0 -0.6667em;
}
header ul li {
  margin: 0 0.6667em;
}
header .header-content {
  height: 2.4em;
  display: flex;
  /* align-items: center; */
  overflow: hidden;
}
header .site-title,
header .sub-navigation,
header .site-navigation {
  padding: 0 0.6667em;
  display: flex;
}
header .site-title,
header .site-navigation {
  flex: 1 1 0;
}
header .site-title {
  height: 100%;
  display: flex;
  align-items: center;
}

header .sub-navigation ul {
  justify-content: center;
  align-items: center;
}
header .site-navigation {
  justify-content: flex-end;
}
header .site-navigation ul {
  align-items: center;
}
header .site-navigation ul li {
}
header a {
  color: grey;
  cursor: pointer;
}
header .red a {
  color: rgb(0,255,0);
}
header .white a {
  color: white;
}
header a:hover {
  color: white;
}
header a.disabled {
  color: grey;
  cursor: default;
}
header ul li.current-menu-item a {
  color: white;
}

header select {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: 1.0833em;
  border: none;
  width: 100%;
  text-align: left;
  appearance: none;
  -webkit-appearance:none;
  background: transparent;
  border-radius: 0;
  outline: none !important;
  color: white;
  cursor: pointer;
}

header .site-title svg {
  width: 8em;
  margin: 0 -0.275em;
}
header .site-title svg path {
  fill: #808080;
}
header .site-title a:hover svg path {
  fill: white;
}

header .typeface-dropdown-container {
  color: white;
  display: grid;
}
header .typeface-dropdown-container .triangle {
  grid-column: 1;
  grid-row: 1 / 2;
}
header .typeface-dropdown-container select {
  padding-left: 2em;
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  z-index: 2; /* -> safari */
}


@media (max-width: 899px) {
  header .header-content {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
  }
  header .sub-navigation {
    order: 3;
    width: 100%;
  }
  header .sub-navigation ul {
    justify-content: space-between;
    margin: 0;
  }
  header .sub-navigation ul li {
    margin: 0;
  }
  header .site-title,
  header .site-navigation {
    flex: none;
  }
}
@media (min-width: 900px) {
  header a {
    /* font-size: 1.3333em;
    line-height: 1.06em; */
  }
}


/* Mobile Menu
------------------------------------ */

.mobile-navigation-container {
  display: none;
}
.mobile-navigation button {
  color: grey;
  width: 1.6667em;
  font-size: 1.8em;
  line-height: 1.5em
  /* height: 3em; */
}
.mobile-navigation .mobile-menu-container {
  position: fixed;
  top: 2.4em;
  left: 0;
  right: 0;
  height: 0;
  overflow: hidden;
  background-color: black;

  transition: height 400ms;
}
.mobile-navigation.open .mobile-menu-container {
  height: 100%;
}

header .mobile-menu {

}
header .mobile-menu ul {
  /* inherit header ul */
  display: block;
  padding: 0 1em;
  margin: 0;
}
header .mobile-menu ul li {
  margin: 1em 0;
}
header .mobile-menu .select {
  display: grid;
  grid-template-columns: 1.7em auto
}
header .mobile-menu .select select {
  color: grey;
  grid-column: 1 / 3;
  grid-row: 1;
  padding-left: 1.7em;
}
header .mobile-menu .select label {
  color: grey;
  grid-column: 1 / 2;
  grid-row: 1;
}
header .mobile-menu ul li.active select,
header .mobile-menu ul li.active label {
  color: white;
}
header .mobile-menu ul li ul {
  padding: 0 1.7em;
}
header .mobile-menu ul li:not(.active) ul {
  display: none;
}
header .mobile-menu ul li.active>a {
  color: white;
}
@media (max-width: 899px) {
  header .sub-navigation,
  header .site-navigation {
    display: none;
  }
  header .mobile-navigation-container,
  header .mobile-navigation {
    display: flex;
  }
}


/* Header scroll bar
------------------------------------ */
#scroll-bar {
  width: 0%;
  height: 2px;
  position: absolute;
  bottom: 0;
  background-color: rgb(0,255,0);
}





/* Home
------------------------------------ */

main {}

body.info-open main {
  filter: grayscale(100%);
}




/* Home Section */

main.home section {
  background-color: black;
}

main.home section .section-content {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: flex-end;
}


/* Home Section background */

main.home section .section-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* display: flex;
  align-items: center;
  justify-content: center; */
}

main.home section .section-background a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 899px) {
  main.home section .section-background a {
    pointer-events: none;
  }
}

main.home section .section-background svg {
  display: block;
  width: 81.2em;
  max-width: 90%;
  height: auto;
}
main.home section .section-background h2 {
  color: white;
  font-size: 18vw;
  line-height: 1.2em;
  margin: 0;
}


/* Home Section footer */





main.home section .section-footer-info {
  color: grey;
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: none;
  display: none;
}
main.home section .section-footer-info ul {
  display: flex;
  /* margin: 0 -0.6667em; */
}
main.home section .section-footer-info ul li {
  min-width: 10.5em;
  margin: 0 0.6667em;
}
main.home section .section-footer-buttons {
  padding: 0 0.6667em;
  position: absolute;
  bottom: 1em;
  left: 0;
  right: 0;
}
main.home section .section-footer-buttons ul {
  display: flex;
  margin: 0 -0.3333em;

}
main.home section .section-footer-buttons ul li {
  padding: 0 0.3333em;
  width: 50%;
  display: flex;
  justify-content: center;
}
main.home section .section-footer-buttons ul li a {
  border: 1px solid rgb(0,255,0);
  padding: 0.3667em;
  color: rgb(0,255,0);
  display: block;
  flex-grow: 1;
  text-align: center;
}
main.home section .section-footer-buttons ul li a:hover {
  color: black;
  background-color: rgb(0,255,0);
}

@media (min-width: 900px) {
  main.home section .section-content {
    height: 72vh;
  }
  main.home section .section-footer-info {
    display: block;
  }
  main.home section .section-footer {
    z-index: 2;
    flex-grow: 1;

    position: fixed;
    width: 100%;
    left: 0;
    /* bottom: 1em; */
    /* bottom: 2.6666em; */
    bottom: 3em;
    display: none;
  }
  main.home section.active .section-footer {
    display: block;
  }
  main.home section .section-footer-buttons {
    left: auto;
  }
  main.home section .section-footer-buttons ul li {
    width: auto;
  }
}



/* Single Typeface
------------------------------------ */

main.typeface {
  padding-top: 2.4em;
}
main.typeface section {

}
main.typeface section .section-background {
  /* padding: 2.4em 0; */
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
main.typeface section .section-background svg {
  display: block;
  /* width: 90.6667em;
  max-width: 94.4444%; */
  height: auto;
  max-height: 100%;
  height: 100%;
  width: 100%;
}
main.typeface section .section-background .wpbdmv-animation {
  display: flex;
  justify-content: center;
  width: 100%;
}
main.typeface section .section-background video {
  display: block;
  /* max-width: 94.4444%; */
  width: 100% !important;
  height: auto !important;
}
@media (min-width: 900px) {
  main.typeface {
    padding-top: 0;
  }
}

/* Cart
------------------------------------ */
section.cart {
  padding: 2.4em 0 5em;
  background-color: white;

  min-height: 100vh;
}
main.typeface section.cart {
  padding-top: 0; /*1.5em;*/
}
section.cart h3 {
  margin: 1.5em 0 0.3em;
  font-size: 0.8em;
  line-height: 1.0833em;
  color: black;
}
section.cart .select {
  height: 2.2em;

  display: flex;
}

section.cart select {
  font-family: inherit;
  font-weight: inherit;
  font-size: 0.8em;
  line-height: 1.0833em;
  border: none;
  width: 100%;
  text-align: center;

  border: 0.5px solid #707070;
}
section.cart select,
section.cart select:focus {
  outline: none;
}
section.cart .cart-column {
  /* padding: 0 1.3333em; */
  padding: 0 0.5em;
}

section.cart .cart-svgfont {
  position: relative;
}
section.cart .cart-svgfont img {
  display: block;
}
section.cart .cart-svgfont a.info-button {
  position: absolute;
  right: 2em;
  bottom: 1em;
  border: 1px solid rgb(0,255,0);
  padding: 0.3667em 2em;
  color: rgb(0,255,0);
  flex-grow: 1;
  text-align: center;
  cursor: pointer;

  display: none; /* = mobile */
}
section.cart .cart-svgfont a.info-button:hover {
  color: rgb(0,0,0);
  background-color: rgb(0,255,0);
}

section.cart .cart-columns.hidden {
  display: none;
}


@media (min-width: 900px) {
  section.cart .cart-columns {
    padding: 0 1.3333em;
    display: flex;
  }
  section.cart .cart-column {
    flex: 1 0 50%;
  }
  section.cart .cart-svgfont a.info-button {
    display: block;
  }
}

/* Cart Select
------------------------------------ */

section.cart .cart-select.hidden {
  display: none;
}
section.cart .cart-select .select-licencing .licencing-columns {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.1em;
}
section.cart .cart-select .select-licencing .licencing-columns .select {
  width: 50%;
  padding: 0.1em;
}

section.cart .cart-select .select-single-style ul li a,
section.cart .cart-select .select-package ul li a {
  font-size: 1.4667em;
  line-height: 1.0455em;
  cursor: pointer;
  color: #707070;
}
section.cart .cart-select .select-single-style ul li.in-cart a,
section.cart .cart-select .select-package ul li.in-cart a {
  color: #00FF00;
}
section.cart .cart-select .select-single-style ul li a:hover,
section.cart .cart-select .select-package ul li a:hover {
  color: #DBDBDB;
}
section.cart .cart-select .select-single-style ul li a .font-price,
section.cart .cart-select .select-package ul li a .font-price {
  display: none;
}
section.cart .cart-select .select-single-style ul li a:hover .font-price,
section.cart .cart-select .select-package ul li a:hover .font-price {
  display: inline;
}
section.cart .cart-select .select-single-style ul li a .font-in-cart svg,
section.cart .cart-select .select-package ul li a .font-in-cart svg {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
}
section.cart .cart-select .select-single-style ul li a .font-in-cart svg path,
section.cart .cart-select .select-package ul li a .font-in-cart svg path {
  fill: #00FF00;
}
section.cart .cart-select .select-single-style ul li a:hover .font-in-cart svg path,
section.cart .cart-select .select-package ul li a:hover .font-in-cart svg path {
  fill: #DBDBDB;
}
section.cart .cart-select .select-single-style ul li a .font-in-cart,
section.cart .cart-select .select-package ul li a .font-in-cart {
  display: none;
}
section.cart .cart-select .select-single-style ul li.in-cart a .font-in-cart,
section.cart .cart-select .select-package ul li.in-cart a .font-in-cart {
  display: inline;
}

section.cart .cart-select .select-single-style ul li a .font-description,
section.cart .cart-select .select-package ul li a .font-description {
  font-size: 0.5454em;
  color: #DBDBDB;
  line-height: 1em;
  margin-bottom: 0.5em;
}


@media (min-width: 900px) {
  section.cart .cart-select .single-style-columns {
    display: flex;
  }
  section.cart .cart-select .select-licencing .licencing-columns .select {
    width: 25%;
  }
  section.cart .cart-select .single-style-column {
    width: 50%;
  }

}

/* Cart Checkout
------------------------------------ */

button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  border-radius: 0;
}
button.hidden {
  display: none !important;
}
section.cart .cart-checkout h4 {
  margin: 0 0 0;
  font-size: 1.4667em;
  line-height: 1.0455em;
  color: #707070;
}
section.cart .cart-checkout table {
  border-collapse: collapse;
  width: 100%;
}
section.cart .cart-checkout table tr td {
  padding: 0 0 1.0455em;
  color: #707070;
  vertical-align: baseline;
}
section.cart .cart-checkout table tr td:last-child {
  text-align: right;
}
section.cart .cart-checkout table tr td div,
section.cart .cart-checkout table tr td button,
section.cart .cart-checkout table tr td ul li {
  font-size: 1.4667em;
  line-height: 1.0455em;
}
section.cart .cart-checkout table tr td:last-child div,
section.cart .cart-checkout table tr td:last-child button {
  display: inline-block;
  margin-left: 0.3em;
}
section.cart .cart-checkout table tr td:last-child button svg {
  width: 0.72em;
  height: 0.72em;
}
section.cart .cart-checkout table tr.total.hidden {
  display: none;
}
section.cart .cart-checkout table tr.total td {
  color: black
}
section.cart .cart-checkout table tr td ul li {
  color: #DBDBDB;
}
section.cart .cart-checkout table tr td ul li {
  font-size: 1.4667em;
  line-height: 1.0455em;
}
section.cart .cart-checkout .checkout-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 -0.1em;
}
section.cart .cart-checkout .checkout-nav.hidden {
  display: none;
}
button.button {
  border: 1px solid #707070;
  height: 2.75em;
  font-size: 0.8em;
  line-height: 1.0455em;
  margin: 0.1em 0.1em;
  flex: 1 1 8em;
  padding: 0 0.5em;
}
button.button.primary {
  border: none;
  background-color: #00FF00;
}



/* Cart Form
------------------------------------ */

.cart-form.hidden {
  display: none;
}
input {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  outline: inherit;
  border-radius: 0;
}
input:disabled {
  border: 1px solid #DBDBDB;
}
input:disabled::placeholder {
  color: #DBDBDB;
}
.checkbox input[type=checkbox] {
  width: 1.0667em;
  height: 1.0667em;
  appearance: none;
  -webkit-appearance:none;
  margin: 0 0.3em 0 0;
  vertical-align: bottom;
  border: 1px solid #707070;
  flex-shrink: 0;
}
.checkbox input[type=checkbox]:checked:after {
  content: "✓";
}
.cart-form .form-group select.form-item {
  text-align: left;
  padding: 0.2em 0.2em;
  color: #707070;
}

.cart-form .form-group {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.1em;
}
.cart-form .form-group .form-item {
  flex: 1 1 40%;
  margin: 0 0.1em 0.4em;
  border: 1px solid #707070;
  font-size: 1.0667em;
  line-height: 1em;
  height: 2.0625em;
  padding: 0.2em 0.4em;
}
.cart-form .form-group .form-item.hidden {
  display: none;
}

.checkbox {
  margin: 1em 0;
  display: flex;
}
.checkbox label a {
  cursor: pointer;
  text-decoration: underline;
  white-space: nowrap;
}
.cart-checkout {
}
.cart-form .form-section {
  padding-bottom: 1em;
}

@media (min-width: 900px) {
  .cart-checkout {
    min-height: 25em;
    padding-bottom: 2em;
  }
  .checkbox label a {
    cursor: pointer;
    text-decoration: underline;
    white-space: break-spaces;
  }
}




/* Cart Payment
------------------------------------ */

.cart-form.payment-form.hidden {
  display: none;
}
.cart-form.payment-form .form-group .cardholder-name-container {
  display: flex;
}
.form-warning {
  margin: 0 0.1em 0.4em;
  color: red;
}
.form-warning.hidden {
  display: none;
}
.form-warning p {
  margin: 0.4em 0.4em;
}
.cart-form.payment-form .form-group .form-item.stripe-field {
  padding: 0.4em 0.4em;
}
.cart-form.payment-form .form-submit button {
  background-color: #00FF00;
  height: 2.75em;
  font-size: 0.8em;
  line-height: 1.0455em;
  width: 100%;
}
.cart-form.payment-form .form-submit button:disabled span {
  display: none;
}
.cart-form.payment-form .form-submit button.loading::after {
  content: "...";
}

/* Cart Popup
------------------------------------ */
.cart-popup-screen {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-popup-screen .cart-popup-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255, 0.8);
}
.cart-popup-content {
  width: 100%;
  height: 100%;
  max-width: 55em;
  /* max-height: 25.75em; */
  position: relative;
  box-shadow: 0px 0px 33px rgba(0, 0, 0, 0.1);
  background-color: white;
  overflow: auto;
}
.cart-popup-screen .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1.1333em;
  font-size: 1.0667em;
  line-height: 1;
  cursor: pointer;
}
.cart-popup-screen .cart-popup-header {
  padding: 2.5em 0.6667em 0.6667em;
}
.cart-popup-screen .cart-popup-header h3 {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.06em;
}
.cart-popup-screen .cart-popup-body {
  padding: 0 0.6667em 0.6667em;;
}
@media (min-width: 900px) {
  .cart-popup-content {
    height: auto;
  }
  .cart-popup-screen .cart-popup-header {
    padding: 4.2667em 5.8em 0;
  }
  .cart-popup-screen .cart-popup-body {
    padding: 1.2em 5.8em 2em;
  }
}

.cart-popup-screen .cart-popup-body p,
.cart-popup-screen .cart-popup-body ul li {
  font-size: 0.9em;
  line-height: 1.06em;
}
.cart-popup-screen .cart-popup-body ul {
  list-style-type: disc;
  padding: 0 0.9em;
}


.cart-popup-share-cart .cart-popup-content {
  max-width: 29.0667em;
  max-height: 9.1333em;
}
.cart-popup-share-cart .cart-popup-screen .cart-popup-header {
  padding: 1.4667em 1.9333em 0;
}
.cart-popup-share-cart .cart-popup-screen .cart-popup-footer {
  padding: 1.5333em 1.9333em 1.9333em;

  display: flex;
}



/* Cart Success
------------------------------------ */
section.cart .cart-success {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
section.cart .cart-success.hidden {
  display: none;
}
section.cart .cart-success h3,
section.cart .cart-success p {
  font-size: 1.06em;
  line-height: 1.06em;
}
section.cart .cart-success h3 {
  margin-bottom: 1em;
  text-align: center;
}

/* Typeface Info
------------------------------------ */

#typeface-info {
  z-index: 5;
  position: fixed;
  top: 2.4em;
  left: 0;
  width: 100%;
  bottom: 0;

  /* justify-content: center; */

  display: none;
}
body.info-open #typeface-info {
  display: flex;
}
body.info-open {
  overflow: hidden;
}

#typeface-info .info-popup {
  width: 100%;
  /* height: 100%; */
  position: relative;
  display: flex;
  justify-content: center;
}
#typeface-info .info-popup .background {
  width: 100%;
  height: 100%;
  position: absolute;



  background-color: rgba(0,0,2,0.75);
}
#typeface-info .info-container {
  width: 100%;
  max-width: 48em;
  /* height: 100%; */
  background-color: white;
  overflow: auto;
  position: relative;
  z-index: 2;

  /* top: 2.4em; */
  bottom: 0;
}
#typeface-info .info-container button.close {
  position: absolute;
  top: 1em;
  right: 1em;
  height: 1.5em;
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  border-radius: 0;
}
#typeface-info .info-container .content {
  padding: 0.667em;
}
#typeface-info .info-container .content p {
  font-size: 0.9em;
  line-height: 1.06em;
  margin-top: 0;
}
#typeface-info .info-container .content p.has-small-font-size,
main.page .content p.has-small-font-size {
  font-size: 0.6em;
  line-height: 1.06em;
}

#typeface-info .info-container .content figure {
  align-items: center;
}
#typeface-info .info-container .content figure figcaption {
  font-size: 0.9em;
  line-height: 1.06em;
  max-width: 40em;
}
#typeface-info .info-container .content figure img {
  margin: 0 0 2.6667em;
}
@media (min-width: 900px) {
  #typeface-info .info-container .content {
    padding: 2.4em 2.5667em 2.5667em;
  }
  #typeface-info .info-container .content p {
    font-size: 1.3333em;
    line-height: 1.2em;
  }
  #typeface-info .info-container .content p.has-small-font-size,
  main.page .content p.has-small-font-size {
    font-size: 0.9em;
    line-height: 1.2em;
  }
}


/* Typeface Info
------------------------------------ */

.popup {
  z-index: 5;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  top: 2.4em;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.popup.hidden {
  display: none;
}
.popup .background {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0,0,2,0.5);
}
.popup-frame {
  width: 100%;
  background-color: white;
  overflow: auto;
  position: relative;
  z-index: 2;
}
.popup-frame button.close {
  position: absolute;
  top: 1em;
  right: 0.667em;
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  border-radius: 0;
  height: 1.5em;
}
.popup-frame .content {
  padding: 2.5em 0.6667em 0.6667em;
}
.popup-frame .content h3 {
  font-size: 0.9em;
  line-height: 1.06em;
  color: black;
  margin: 0;
}
.popup-frame .content p {
  font-size: 0.8em;
  line-height: 1.06em;
}
.popup-frame .content label {
  font-size: 0.8em;
  line-height: 1.06em;
}
.popup-frame .content .input-group input {
  border: 1px solid #707070;
  height: 2.2em;
  margin: 0.1667em 0;
  padding: 0 0.5em;
  width: 100%;
  font-size: 0.8em;
  line-height: 1.06em;
}
.popup-frame .content .notice {
  color: red;
  height: 2em;
  font-size: 0.8em;
  line-height: 1.06em;
}
.popup-frame .content button.button {
  width: 100%;
  margin: 0;
}

@media (min-width: 900px) {
  .popup {
    align-items: center;
  }
  .popup-frame {
    max-width: 55em;
    height: 25.7333em;

    /* top: 2.4em; */
    bottom: 0;
  }
  .popup-frame .content {
    padding: 4.2667em 5.8em 4.2667em;
  }
  .popup-frame .content .input-group {
    display: flex;
    margin: 0.5em -0.1667em;
  }
  .popup-frame .content .input-group input {
    width: 50%;
    height: 2.2em;
    margin: 0 0.1667em;
    font-size: 1em;
    line-height: 1.06em;
  }
  .popup-frame .content label {
    font-size: 1em;
    line-height: 1.06em;
  }
  .popup-frame button.close {
    right: 1em;
  }
  .popup-frame .content p {
    font-size: 1.3333em;
    line-height: 1.2em;
  }
  .popup-frame .content .notice {
    margin-top: 5em;
    color: red;
    height: 2em;
    font-size: 1em;
    line-height: 1.06em;
  }
}


/* Text content
------------------------------------ */

figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
figure img {
  display: block;

  max-width: 100%;
  height: auto;
}
figure figcaption {
  font-size: 0.9em;
  line-height: 1.06em;
}
figure.alignwide img,
.wp-block-column figure img {
  width: 100%;
  height: auto;
}



@media (min-width: 900px) {
  .wp-block-columns {
    display: flex;
    margin: 0 -1.3333em;
  }
  .wp-block-column {
    flex: 1 1 50%;
    margin: 0 1.3333em;
  }
}



/* Page
------------------------------------ */
main.page {
}
main.page section a.anchor {
  margin-top: -2.4em;
  margin-bottom: 2.4em;
  display: inline-block;
}
main.page .content {
  padding: 4.3333em 0.6667em 2.4em;
}
main.page .content p,
main.page .content h2,
main.page .content h3,
main.page .content h4 {
  font-size: 0.9em;
  line-height: 1.06em;
}
main.page .content h2 {
  color: rgb(155, 155, 155) /* #FF2E00 */;
}
main.page .content strong {
  font-weight: inherit;
  color: rgb(155, 155, 155) /* #FF2E00 */;
}
main.page .content figure figcaption {
  margin-top: 1em;
  font-size: 0.6em;
  line-height: 1.06em;
}
main.page .wp-block-columns {
  margin-bottom: 2em;
}
@media (min-width: 900px) {
  main.page .content {
    padding: 4.3333em 2.6667em 2.4em;
  }
  main.page .content p,
  main.page .content h2,
  main.page .content h3,
  main.page .content h4 {
    font-size: 1.3333em;
    line-height: 1.15em;
  }
  main.page .content figure figcaption {
    font-size: 1em;
    line-height: 1.06em;
  }

}


/* Slideshow
------------------------------------ */
.wp-block-gallery {
  position: relative;
}
.wp-block-gallery ul.blocks-gallery-grid {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: calc(57.14% + 2em);
  overflow: hidden;

  /* display: grid;
  align-items: flex-end; */
}

.wp-block-gallery ul.blocks-gallery-grid li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* grid-column: 1 / span 1;
  grid-row: 1 / span 1;
  overflow: hidden; */
}
.wp-block-gallery ul.blocks-gallery-grid li:not(:first-child) {
  transform: translateX(-100%);
}
.wp-block-gallery ul.blocks-gallery-grid li figure {
  display: block;
  width: 100%;
  height: 100%;
}
.wp-block-gallery ul.blocks-gallery-grid li figure img {
  width: 100%;
  height: calc(100% - 2em);
  object-fit: cover;
  object-position: center;

  /* -webkit-user-drag: none;
  -moz-user-drag: none;
  user-drag: none; */
}
.wp-block-gallery ul.slideshow-pagination {
  display: flex;
  justify-content: center;
  margin: 0.8em 0;
}
.wp-block-gallery ul.slideshow-pagination li {
  width: 0.6667em;
  height: 0.6667em;
  border: 1px solid rgb(155, 155, 155) /* #FF2E00 */;
  border-radius: 100%;
  margin: 0 0.1667em;
}
.wp-block-gallery ul.slideshow-pagination li.active {
  background-color: rgb(155, 155, 155) /* #FF2E00 */;
}

.wp-block-gallery .left-side,
.wp-block-gallery .right-side {
  position: absolute;
  width: 2em;
  top: 0;
  bottom:4em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.wp-block-gallery .left-side {
  left: 0;
}
.wp-block-gallery .right-side {
  right: 0;
}
.wp-block-gallery .left-side svg,
.wp-block-gallery .right-side svg {
  width: 1em;
  height: 1.325em;
}
.wp-block-gallery .left-side svg path,
.wp-block-gallery .right-side svg path {
  fill: rgb(155, 155, 155);
}
@media (min-width: 900px) {
  .wp-block-gallery ul.blocks-gallery-grid {
    padding-bottom: calc(57.14% + 3em);
  }
  .wp-block-gallery ul.blocks-gallery-grid li figure img {
    height: calc(100% - 3em);
  }
  .wp-block-gallery .left-side,
  .wp-block-gallery .right-side {
    width: 6em;
    bottom: 5em;
  }
  .wp-block-gallery .left-side svg,
  .wp-block-gallery .right-side svg {
    /* width: 2.6667em; */
    width: 2em;
    /* height: 3.5333em; */
    height: 2.65em;
  }
}


/* Footer
------------------------------------ */
footer {
  background-color: rgb(155, 155, 155);
}
.footer-content {
  height: 2.6667em;
  display: flex;
  /* justify-content: space-between; */
  justify-content: flex-end;
}
footer .menu {
  display: flex;
}
footer ul {
  display: flex;
  align-items: center;
}
footer ul li {
  margin: 0 0.6667em;
}
footer ul li a {
  /* font-size: 1em;
  line-height: 1.06em; */
  color: white;
}
footer .copyright {
  display: flex;
  align-items: center;
  margin: 0 0.6667em;
}
footer .copyright span {
  /* font-size: 1.3333em;
  line-height: 1.06em; */
  color: white;
}
@media (max-width:899px) {
  .footer-content {
    font-size: 0.666em;
    justify-content: space-between;
  }
}



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