/*
Theme Name: RWSV01
Theme URI: http://rest.works
Author: Eve Jackson
Author URI: http://redfeatherdesign.com
Description: Custom theme for Restworks
Requires at least: WordPress 4.9.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-menu, featured-images
Text Domain: mnp
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. Testing a change
*/
/** CSS RESET **/
body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

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

/*$olive-white:#fbf9ec;
$off-white:#e1e0dc;
$black: #302716; // black
$red:#c13a2b;
$olive:#988e82;
$dark-olive:#736a5b;
$light-olive:#d5cfbf;
*/
/*
$margin-none: 0;
$margin-small: 16px 2.5%;
$margin-med: 32px 5%;
$margin-horizontal-none:0;
$margin-horizontal-small:2.5%;
$margin-horizontal-medium:5%;
$margin-horizontal-large:10%;
*/
/*
$margin-vertical-none:0;
$margin-vertical-small:16px;
$margin-vertical-medium:32px;
$margin-vertical-large:64px;


$padding-small: 16px 2.5%;
$padding-med:32px 5%;
$padding-horizontal-none:0;
$padding-horizontal-small:2.5%;
$padding-horizontal-medium:5%;
$padding-horizontal-large:10%;
$padding-vertical-small:16px;
$padding-vertical-medium:32px;
$padding-vertical-large:64px;
*/
/* use these */
/*$padding-none: 0;
$padding-horizontal: 32px;
//$padding-vertical-none:0;
$padding-vertical:32px;
*/
/*
$margin-none:0;
$margin-horizontal: 32px;
//$margin-horizontal-none:0;
$margin-vertical:32px;
*/
/*
$width-none:100%;
$width-small:95%;
$width-med:90%;
*/
/*
$bgc1:#64807D; // Banner colors
// menu
$primary-menu-wrap:#262236;
$primary-menu-bg:#262236;
$primary-menu-header-bg:#262236;
$primary-menu-btn-bg: #262236;
$primary-menu-btn-hover-bg:#262236;
$primary-menu-btn-active-bg:#262236;

$primary-menu-border-bg:lighten(#262236,10%);
$primary-menu-link-active-bg:lighten(#262236,25%);
$primary-menu-link-hover-bg:#303250;
$primary-menu-header-span-bg:darken($bgc1,35%);
$primary-menu-header-span-hover-bg:#303250;
$primary-menu-arrow-bg:darken($bgc1,5%);
$primary-menu-arrow-hover-bg:darken($bgc1,20%);
$primary-menu-submenu-bg:#303250;
*/
/* Transitions */
/* WordPress - NOTE: some of this has to go into an earlier stylesheet as a reset */
.wp-block-buttons.alignfull {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}

.wp-block-buttons {
  margin: 16px 0;
}

.wp-block-buttons .wp-block-button .wp-block-button__link {
  border-radius: 4px !important;
  font-size: 0.9em;
  background: #262236;
  font-weight: bold;
}

.wp-block-buttons .wp-block-button .wp-block-button__link:hover {
  background: #100e17;
  background: #1EE68E;
  color: #fff;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
  background: none;
  border: 2px solid #15bc73;
  color: #1EE68E;
}

.wp-block-columns {
  gap: 32px;
}

.wp-block-columns .wp-block-column {
  padding: 0 !important;
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch !important;
}

.wp-block-columns .wp-block-column.has-background {
  padding: 32px !important;
}

.wp-block-columns .wp-block-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .wp-block-columns .wp-block-column .wp-block-heading{
  //padding:0 !important;
}*/
.wp-block-columns .wp-block-column .wp-block-heading.is-style-underline {
  padding-bottom: 16px !important;
}

.wp-block-columns .wp-block-column.has-background {
  padding: 16px 32px;
}

.wp-block-group.alignfull {
  max-width: 100vw;
  padding: 0 32px;
}

.wp-block-group.alignwide {
  margin: 16px calc(50% - 683px);
  max-width: 1366px !important;
}

.wp-block-group.is-layout-grid {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr;
}

.wp-block-group.is-layout-grid .wp-block-image {
  border-radius: 16px;
}

/*.wp-block-group.is-layout-grid .wp-block-image a {
aspect-ratio:1 / 1 !important;
}*/
.wp-block-group.is-layout-grid .wp-block-image img {
  border-radius: 16px;
  aspect-ratio: 1/1 !important;
}

.wp-block-group.is-layout-grid .wp-block-group {
  padding: 16px 32px !important;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-group {
  padding: 16px 32px;
  display: flex;
  flex-flow: column wrap;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-group .set-meta {
  font-size: 0.8em;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-buttons {
  justify-self: flex-end;
  margin-top: auto;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-group .wp-block-buttons {
  justify-self: flex-end;
  margin-top: auto;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-group__inner-container {
  display: flex;
  flex-flow: column nowrap;
  height: 100%;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-group__inner-container .wp-block-group {
  padding: 0 !important;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-bbx-bbx-image-mask {
  justify-self: flex-end;
  margin-top: auto;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-bbx-bbx-image-mask .wp-block-group.group-one {
  padding: 0 !important;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-bbx-bbx-image-mask .wp-block-group.group-one .wp-block-group__inner-container .wp-block-image {
  height: 100%;
  width: 100%;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-bbx-bbx-image-mask .wp-block-group.group-one .wp-block-group__inner-container .wp-block-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-bbx-bbx-image-mask .wp-block-group.group-two .wp-block-group__inner-container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.wp-block-group.is-layout-grid .wp-block-group .wp-block-bbx-bbx-image-mask .wp-block-group.group-two.has-accent-one-background-color {
  color: #fff;
}

.wp-block-image a img {
  grid-column: 1/2;
  grid-row: 1/2;
}

.wp-block-image .wp-element-caption {
  align-self: end;
  grid-column: 1/2;
  grid-row: 1/2;
  background: #262236;
  padding: 8px 16px;
  margin-bottom: 0;
  color: #fff;
  border-radius: 0 0 16px 16px;
}

.wp-block-image {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  padding: 0;
}

.wp-block-image a,
.wp-block-image img {
  grid-column: 1/2;
  grid-row: 1/2;
}

.wp-block-image .wp-element-caption {
  align-self: end;
  grid-column: 1/2;
  grid-row: 1/2;
  background: #262236;
  padding: 8px 16px;
  margin-bottom: 0;
  color: #fff;
  border-radius: 0 0 16px 16px;
}

.wp-block-image a:hover img {
  opacity: 0.85;
}

.wp-block-media-text {
  border: 1px solid #d1d1d1;
  border-radius: 16px;
  margin: 16px 0;
  display: grid;
}

.wp-block-media-text .wp-block-media-text__media {
  height: 100%;
  width: 100%;
}

.wp-block-media-text .wp-block-media-text__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
}

.wp-block-media-text .wp-block-media-text__content {
  padding: 8px 32px;
}

ul.wp-block-latest-posts {
  list-style-type: none;
  padding:0 32px !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

ul.wp-block-latest-posts.alignwide {
  list-style-type: none;
  margin: 32px calc(50% - 683px) !important;
}

ul.wp-block-latest-posts li {
  list-style-type: none !important;
  padding: 0 !important;
  align-items: center;
  margin: 0;
  background: #f2f2f2;
  border-radius: 24px;
  border: 1px solid #d1d1d1;
  display: flex;
  flex-flow: column nowrap;
}

ul.wp-block-latest-posts li .wp-block-latest-posts__featured-image {
  aspect-ratio: 3/2;
}

ul.wp-block-latest-posts li .wp-block-latest-posts__featured-image a {
  display: block;
  height: 100%;
}

ul.wp-block-latest-posts li .wp-block-latest-posts__featured-image a img,
ul.wp-block-latest-posts li .wp-block-latest-posts__featured-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

ul.wp-block-latest-posts li .wp-block-latest-posts__post-title {
  padding: 16px 32px 0;
  width: calc(100% - 64px);
  font-weight: 500;
  font-size: 1.2em;
  display: inline-block;
}

ul.wp-block-latest-posts li time {
  font-size: 0.8em;
}

ul.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt {
  padding: 0 32px 16px;
  display: flex;
  flex-flow: column wrap;
  width: calc(100% - 64px);
  flex: 1 1 auto;
}

ul.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt .post-meta {
  margin: 0 0 16px !important;
  font-size: 0.85em;
}

ul.wp-block-latest-posts li .wp-block-latest-posts__post-excerpt .wp-block-buttons {
  justify-self: flex-end;
  margin: auto 0 16px;
}

.wp-block-separator {
  border-top: 1px solid #d1d1d1 !important;
}

body {
  background: #242424;
}

#wrap {
  background: #fff;
}

/* Widths */
.alignfull {
  margin: 0 calc(50% - 50vw);
  max-width: 100vw;
  max-width: calc(100vw - 64px);
  width: 100vw;
  padding: 0 32px;
}

.alignwide {
  margin: 0 calc(50% - 683px);
  max-width: 1366px;
  padding: 32px;
}

.alignnarrow {
  padding: 32px;
  width: calc(100% - 64px);
  max-width: 796px;
  margin: 0 auto;
}

#header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  background: #262236;
  height: 100px;
}

#header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  gap: 16px;
  height: 100px;
  padding: 0 32px;
  align-items: center;
  justify-content: space-between;
}

#banner {
  width: 100%;
  overflow: hidden;
  max-height: 620px;
  margin-top: 100px;
}

#banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 0;
  vertical-align: bottom;
}

.banner-none {
  height: 100px;
}

.content {
  padding: 0 32px;
}

.content.alignwide {
  width: 100vw !important;
  max-width: 1302px;
}

/*** TABS ***/
#tabs {
  border: none;
}

#tabs ul {
  background: transparent;
  border: none;
  display: flex;
  flex-flow: row nowrap;
  margin: 16px 0 0;
  padding: 0;
}

#tabs ul li {
  background: transparent;
  padding: 8px 16px;
  list-style-type: none;
  margin-right: 2px;
  background: #1EE68E;
}

#tabs ul li a {
  color: #fff;
}

#tabs ul li.all {
  background: #1e1e1e;
}

#tabs ul li:hover {
  opacity: 0.8;
  background: #262236;
}

#tabs ul li.ui-state-active {
  background: #262236;
}

#tabs ul li.tags {
  background: #00618b;
  background: #262236;
  margin-right: 0;
  margin-left: auto;
  position: relative;
}

#tabs ul li.tags ul.subtags {
  display: none;
  position: absolute;
  left: 0;
  top: 36px;
  top: 20px;
  width: 240px;
  padding: 0;
}

#tabs ul li.tags:hover ul.subtags {
  display: block;
  background: #262236;
  opacity: 1 !important;
}

#tabs ul li.tags:hover ul.subtags li {
  display: block;
  background: #262236;
  opacity: 1 !important;
  padding: 0;
  width: calc(100% - 16px);
}

#tabs ul li.tags:hover ul.subtags li:hover {
  display: block;
  background: #262236;
  opacity: 1 !important;
}

#tabs ul li.tags:hover ul.subtags li a {
  display: block;
  background: #262236;
  opacity: 1;
  width: 100%;
  border-bottom: 1px solid white;
  padding: 8px;
  margin: 1px;
  opacity: 1 !important;
}

#tabs ul li.tags:hover ul.subtags li a:hover {
  display: block;
  background: #303250;
  opacity: 1;
}

/*** CONTACT FORM ***/
#form {
  display: inline-block;
}

#form .input {
  width: 100%;
}

#form .input input.inputNew {
  width: 98%;
  position: relative;
}

#form .left-input {
  float: left;
  width: 45%;
}

#form .right-input {
  float: right;
  width: 45%;
}

#form .form-section {
  float: left;
  padding: 10px 2.5%;
  width: 95%;
  background: #f2f2f2;
  margin-bottom: 15px;
  border: 1px solid #ccc;
}

#form .form-section p.heading {
  text-transform: uppercase;
  font-weight: bold;
  border-bottom: 1px dotted #323232;
  width: 100%;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

#form .input textarea {
  width: 100%;
}

input#yoursite {
  display: none;
}

.misha_loadmore {
  background: #262236;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  font-size: 14px;
  font-size: 0.875rem;
  cursor: pointer;
  text-transform: uppercase;
  padding: 8px;
  width: 120px;
  font-weight: bold;
  margin: 16px auto;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
}

.misha_loadmore:hover {
  background: #1EE68E;
}

body {
  font-family: "Quicksand", Helvetica, sans-serif;
  color: #242424;
  font-size: 1.2em;
  font-weight: 200;
  line-height: 1.4em;
}

strong {
  font-weight: bold;
  font-weight: 500;
}

em {
  font-style: italic;
}

.wp-block-heading {
  padding: 32px 0;
}

.wp-block-heading.has-background {
  padding: 16px 32px;
}

.wp-block-heading.is-style-underline {
  margin: 16px 0;
  line-height: 0.6em;
  padding: 32px 0 16px;
  border-bottom: 1px solid #242424;
}

.wp-block-heading.alignwide {
  margin: 0 calc(50% - 683px);
  width: calc(100vw - 64px) !important;
  max-width: 1302px !important;
  padding: 32px 32px 16px;
}

.wp-block-heading.alignwide.is-style-underline {
  margin: 0 calc(50% - 683px + 32px);
  width: calc(100vw - 64px) !important;
  max-width: 1302px !important;
  padding: 32px 0 16px;
}

h1 {
  font-size: 2.8em;
  line-height: 2em;
  line-height: 1.2em;
  font-weight: 100;
  padding: 32px 0 16px;
  position: relative;
}

h2 {
  color: #242424;
  font-size: 1.4em;
  line-height: 1.6em;
  font-weight: 400;
  position: relative;
  text-transform: uppercase;
}

h3 {
  font-size: 1.2em;
  line-height: 1.2em;
  font-weight: 400;
}

h4 {
  color: #242424;
  font-size: 1.3em;
  line-height: 1.2em;
  font-weight: 200;
}

h5 {
  color: #242424;
  font-size: 1em;
  line-height: 1.2em;
  font-weight: 200;
}

h6 {
  color: #242424;
  font-size: 1em;
  line-height: 1.2em;
  font-weight: 200;
}

.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6, .footer li, .footer a {
  color: #fff;
}

.has-accent-one-background-color .wp-block-heading {
  color: #fff;
}

.has-accent-one-background-color .wp-block-heading.is-style-underline {
  border-bottom: 2px solid #fff;
}

.wp-block-heading.has-black-background-color {
  color: #fff;
}

.wp-block-heading.has-base-dark-color {
  color: #fff;
}

.has-text-align-center {
  text-align: center;
}

p {
  line-height: 1.6em;
  padding: 8px 0;
  margin: 0 !important;
}

a {
  color: #1bd583;
  text-decoration: none;
	font-weight:bold;
}

a:hover {
  color: #242424;
}

.banner .tagline {
  font-size: 4em;
}

#banner p.tagline {
  font-size: 4em;
  line-height: 1.2em;
  color: #fff;
  font-family: "Quicksand", Helvetica, sans-serif;
}

#banner p.subtag {
  font-size: 1.2em;
  line-height: 1.6em;
  color: #fff;
}

#logo p {
  font-size: 1em;
  color: #242424;
  padding: 24px 0;
}

#logo span.sitename {
  font-size: 1.6em;
  color: #1EE68E;
}

.content ul {
  padding: 0 32px 16px 12px;
  font-size: 1em;
  margin-left: 8px;
}

.content ul.has-background {
  padding: 16px 32px;
  font-size: 1em;
  margin-left: 0;
}

.content ul li {
  color: #242424;
  list-style-type: disc;
}

.content ol {
  padding: 0 32px 16px 12px;
  font-size: 1em;
  margin-left: 8px;
}

.content ol.has-background {
  padding: 16px 32px;
  font-size: 1em;
  margin-left: 0;
}

.content ol li {
  color: #242424;
  list-style-type: decimal;
}

.footer p {
  color: #fff;
}

.footer h3 {
  color: #fff;
}

figcaption {
  text-align: center;
}

.prev-next-links {
  margin: 16px 0;
  padding: 8px 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  border-top: 1px solid #242424;
}

.prev-link {
  text-align: left;
  flex: 0 0 47.5%;
}

.next-link {
  text-align: right;
  flex: 0 0 47.5%;
}

.caption {
  font-size: 0.8em;
  font-style: italic;
}

#menu-wrap button {
  display: none;
  order: 2;
}

.bbx-menu h3 {
  display: none;
}

.menus {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  order: 1;
}

.menu-container {
  height: 100px;
  width: 100%;
  justify-self: flex-end !important;
  display: flex;
  margin: 0 auto;
  flex-flow: row nowrap;
  justify-content: flex-end !important;
}

#menu-footer-menu-en, #menu-footer-menu-du {
  margin: 0 0 0 2px;
}

#primary {
  margin-right: 5px;
  flex: 0 0 80%;
  flex: 0 0 calc(100% - 120px);
  order: 1;
  position: relative;
}

#primary ul, ul#menu-footer-menu-en, ul#menu-footer-menu-du {
  margin: 0;
  list-style: none;
  float: right;
  z-index: 1;
}

#primary ul li, ul#menu-footer-menu-en li, ul#menu-footer-menu-du li {
  display: inline-block;
  z-index: 1;
}

#primary ul li a, ul#menu-footer-menu-en li a, ul#menu-footer-menu-du li a {
  display: block;
  padding: 35px 30px;
  text-align: center;
  text-transform: uppercase;
  color: white;
  color: #000;
  color: #fff;
  text-decoration: none;
  font-size: 0.8em;
  font-weight: bold;
  transition: 0.4s;
}

.footer-right .widget {
  float: right;
}

ul#menu-footer-menu-en, ul#menu-footer-menu-du {
  right: 0 !important;
  margin-right: 0 !important;
  float: right !important;
}

ul#menu-footer-menu-en li a, ul#menu-footer-menu-du li a {
  text-transform: none;
  padding: 0 10px;
}

.menu-footer-menu-en-container {
  float: right;
  margin-right: 0 !important;
  right: 0;
}

#primary ul li.lang-item a {
  padding: 40px 5px;
}

#primary ul li a:hover, ul#menu-footer-menu-en li a:hover, ul#menu-footer-menu-du li a:hover {
  color: #1EE68E;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  -ms-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

#primary ul li.current-menu-item a {
  color: #1EE68E;
}

/******************
    SUBNAV
******************/
.sub-menu {
  background: black;
  background: rgba(80, 55, 78, 0.9);
  width: 100%;
  height: 38px;
  display: none;
}

#primary ul li ul {
  padding: 0 1000em;
  /* trick from css-tricks comments */
  margin: 0 -1000em;
  /* trick from css-tricks comments */
  width: 100%;
  position: absolute;
  left: 0;
  display: none;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

#primary ul li:hover ul, #primary ul li.current_page_item ul {
  display: inline-block;
}

#primary ul li ul li {
  margin: 0;
  float: left;
}

#primary ul li ul li a {
  float: left;
  text-align: left;
  padding: 8px 30px;
  margin: 0;
  color: #fff;
  text-transform: none;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  -ms-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

#primary ul li ul li a:hover {
  color: #1EE68E;
  background: #312c46;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

#primary ul li.first-menu-item {
  position: relative;
  border-left: none;
}

/***************************
   MOBILE NAV STYLES
   ***************************/
.mobile {
  display: none;
  margin: 0;
  padding: 20px 15px;
  background: #323232;
  position: absolute;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  right: 15px;
  top: 0;
  line-height: 0;
  width: 25%;
}

#mobile {
  display: none;
}

.active {
  max-height: 9000px !important;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -o-transition-duration: 1s;
  -ms-transition-duration: 1s;
  transition-duration: 1s;
}

#lang-select {
  width: 100%;
  height: 50px;
  margin: 25px 0;
}

#language-select {
  flex: 0 0 10%;
  margin: 10px !important;
}

#language-select {
  width: 100px;
  height: 30px;
  margin: 40px 10px 40px 10px;
}

@media (max-width: 1023px) {
  #menu-wrap {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    height: 90px;
    height: auto;
    flex: 0 0 40%;
    padding: 0;
  }
  #menu-wrap .menu-container {
    z-index: 100;
    width: 80px;
    height: 80px;
  }
  #menu-wrap .buttonset {
    text-align: right;
    order: 2;
  }
  #menu-wrap button {
    display: block;
    border: none;
    color: #fff;
    color: #1EE68E;
    padding: 16px 24px;
    cursor: pointer;
    font-size: 2.2em;
    order: 2;
    background: #313131;
  }
  /*#menu-wrap button.active {
      background: $accent-three;
  }*/
  /* General styles for all menus */
  .bbx-menu {
    position: fixed;
    margin-top: 0;
    flex-flow: column nowrap;
    justify-content: flex-start;
    background: #fff;
    background: #f2f2f2;
    background: #262236;
  }
  .bbx-menu h3 {
    color: #fff;
    display: inline;
    font-size: 1.9em;
    padding: 33px 20px 33px 18px;
    padding: 16px 5%;
    margin: 0;
    font-weight: 300;
    background: #262236;
    position: relative;
    border-bottom: 1px solid #fff;
  }
  .bbx-menu h3 span {
    float: right;
    position: absolute;
    right: 5%;
    top: 0;
    height: 32px;
    width: 10px;
    padding: 33px 20px 33px;
    padding: 8px 20px 20px;
    padding: 16px 2.5%;
  }
  .bbx-menu h3 span:hover {
    color: #1EE68E;
    cursor: pointer;
  }
  #primary {
    width: 100%;
    padding: 0;
    margin-top: 0;
  }
  #primary ul {
    float: none;
    width: 100%;
    margin-top: 0;
  }
  #primary ul li {
    width: 100%;
  }
  #primary ul li a::before {
    display: none;
  }
  #primary ul li a {
    display: block;
    color: #fff;
    font-weight: 300;
    text-transform: uppercase;
    text-align: left;
    padding: 16px 2.5%;
    border-bottom: 1px solid #424242;
    border-bottom: 1px solid #d1d1d1;
  }
  #primary ul li a:hover {
    color: #1EE68E;
  }
  .menu-item-has-children {
    position: relative;
  }
  span.arrow {
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    width: 65px;
    height: 55px;
    display: inline-block;
    background: #1EE68E;
    text-align: center;
  }
  span.arrow::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
    position: absolute;
    right: 1em;
    left: 50%;
    top: 31px;
    top: 50%;
    transform: translate(-50%, -50%);
    transition-property: transform;
    transition-duration: 0.2s;
  }
  span.arrow.submenu-open::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
  }
  .arrow:hover {
    cursor: pointer;
  }
  #primary ul li.menu-item-has-children.current_page_item a::after,
  #primary ul li.current_page_ancestor a::after {
    display: none;
    content: "";
  }
  .bbx-menu a:active {
    color: #47a3da;
  }
  /* Subnav */
  #primary ul li ul.sub-menu {
    display: none;
    height: auto;
    position: relative;
    margin-top: 10px;
    margin-top: 0;
    top: 0;
    width: 100%;
    text-align: left;
  }
  #primary ul li ul.sub-menu li {
    width: 100%;
    padding: 0;
  }
  #primary ul li ul.sub-menu li a {
    padding: 15px 5%;
    float: none;
    margin: 0;
    display: block;
    width: 90%;
    background: #fff;
  }
  /* Orientation-dependent styles for the content of the menu */
  .bbx-menu-vertical {
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1000;
  }
  .bbx-menu-vertical a {
    padding: 1em;
  }
  /* Vertical menu that slides from the left or right */
  .bbx-menu-right {
    right: -100%;
  }
  .bbx-menu-left.bbx-menu-open {
    left: 0px;
  }
  .bbx-menu-right.bbx-menu-open {
    right: 0px;
  }
  /* Transitions */
  .bbx-menu,
  .bbx-menu-push {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #primary ul li.menu-item-has-children:hover a::after,
  #primary ul li.menu-item-has-children.current_page_item a::after,
  #primary ul li.current_page_ancestor a::after {
    content: "";
  }
}
@media (max-width: 1365px) {
  .alignfull {
    max-width: calc(100vw - 64px);
    width: 100vw;
  }
  .alignwide {
    max-width: 1302px;
  }
  .content.alignwide {
    margin: 0 calc(50% - 50vw) !important;
    max-width: calc(100vw - 64px);
  }
  .wp-block-group .wp-block-group__inner-container .wp-block-bbx-bbx-mt-carousel .carousel.alignwide {
    margin: 0 calc(50% - 50vw) !important;
  }
  #header.alignwide {
    margin: 0 calc(50% - 50vw) !important;
  }
  .wp-block-bbx-bbx-mt-carousel {
    margin: 16px calc(50% - 50vw) !important;
  }
  .wp-block-heading.alignwide {
    margin: 16px calc(50% - 50vw + 32px) !important;
    max-width: calc(100vw - 128px) !important;
  }
  .wp-block-columns.alignwide {
    margin: 16px calc(50% - 50vw) !important;
  }
  .wp-block-group.alignwide {
    margin: 16px calc(50% - 50vw) !important;
  }
  ul.wp-block-latest-posts.alignwide {
    margin: 16px calc(50% - 50vw) !important;
  }
  .footer {
    margin: 16px calc(50% - 50vw) !important;
  }
}
@media (max-width: 1023px) {
  .wp-block-group.is-layout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  ul.wp-block-latest-posts {
    grid-template-columns: repeat(2, 1fr);
  }
  #tabs {
    font-size: 0.8em;
  }
}
@media (max-width: 767px) {
  .alignnarrow {
    width: calc(100% - 64px);
  }
  .wp-block-columns.alignwide {
    margin: 32px calc(50% - 683px);
    max-width: 1366px !important;
    max-width: 100vw !important;
    width: 100vw !important;
  }
  #menu-wrap {
    height: 80px;
    flex: 0 0 20%;
    flex: 0 0 80px;
    display: block;
    margin-top: -4px;
  }
  .logo-wrap {
    height: 80px;
    flex: 0 0 calc(100% - 80px);
    background: lightcyan;
  }
  #logo img {
    max-height: 60px;
  }
  .wp-block-media-text {
    border: 1px solid #d1d1d1;
    border-radius: 16px;
    margin: 16px 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    display: block;
  }
  .wp-block-media-text .wp-block-media-text__media img {
    border-radius: 16px 16px 0 0;
  }
  h3.wp-block-heading {
    font-size: 1.2em !important;
  }
  #tabs ul {
    display: flex;
    flex-flow: column nowrap;
  }
  .wp-block-group.is-layout-grid {
    grid-template-columns: 1fr !important;
  }
  ul.wp-block-latest-posts {
    grid-template-columns: 1fr !important;
  }
}

/*# sourceMappingURL=style.css.map */
