@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

:root {
  --primary-font: "Lato", sans-serif;
  --site-max-width: 1500px;
  --site-padding: 24px;
  --site-border-radius: 12px;
  --menu-background: rgba(255, 255, 255, 0.62);
  --accent-color: #EB6F1A;
  --accent-color-text: #FFFFFF;
  --button-color: #2E5FA4;
  --button-color-hover: #0D1D41;
  --button-text-color: #FFFFFF;
  --background-color: #FFFFFF;
  --text-color: #000000;
  --gray-color: #5C5C5C;
  --footer-text-color: #FFFFFF;
  --footer-background: #000000;
}

body {
  font-family: var(--primary-font);
  font-weight: 400;
  font-style: normal;
  font-size: 17px;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  text-transform: uppercase;
  margin: 0.9em 0 0.6em 0;
  line-height: 1.4em;
}

h1, h2 {
  font-size: 1.8em;
}

h2.underline {
  display: inline-block;
  border-bottom: 9px solid var(--button-color);
  padding-bottom: 4px;
}

h3 {
  font-size: 1.35em;
}

h2.underline + h3 {
  margin-top: 0;
}

h3.light {
  color: var(--gray-color);
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 100ms, border-color 200ms, background-color 300ms;
}

ul,
p {
  line-height: 1.65em;
  margin: 1.5em 0;
}

.button-wrapper {
  clear: both;
  text-align: center;
  padding: 7% 0;
}

.button {
  display: inline-block;
  padding: 18px;
  background-color: var(--button-color);
  color: var(--button-text-color);
  font-weight: 600;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}

.button:hover {
  color: var(--button-text-color);
  background-color: var(--button-color-hover)
}

.button-gray {
  background-color: #EFEFF0;
  color: var(--text-color);
  text-transform: none;
  font-weight: 400;
  font-size: 1.2em;
  padding: 9px 18px;
  line-height: 1.1em;
}

#header {
  position: relative;
  width: 100%;
  z-index: 9999;
}

.page-cover #header {
  position: absolute;
}

#header .menu-toggle {
  display: none;
  position: absolute;
  z-index: 10001;
  left: 50%;
  bottom: 9px;
  width: 48px;
  height: 48px;
  background: url("../img/menu-icon.bee76e0135e7.png") no-repeat 50% 50%;
  cursor: pointer;
  transform: translateX(-50%);
  filter: brightness(0);
}

#header.is-active .menu-toggle {
  background-image: url("../img/menu-close-icon.e18695a1aba2.png");
  background-size: 32px;
}

.header-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: var(--site-padding);
}

.header-inner:after {
  content: "";
  display: block;
  clear: left;
}

.logo {
  float: left;
  margin-right: var(--site-padding);
}

.logo img {
  max-width: 100%;
  width: 185px;
  height: auto;
}

#mainnav {
  text-align: right;
  margin-top: 24px;
}

.mainmenu {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.15em;
}

.mainmenu li {
  display: block;
  text-align: left;
}

.mainmenu li span.link {
  cursor: default;
}

.mainmenu li.level-0 {
  position: relative;
  display: inline-block;
  margin: 0;
}

.mainmenu li .link {
  position: relative;
  display: block;
  color: var(--text-color);
  padding: 8px 0;
}

.mainmenu li.level-0 {
  margin-right: var(--site-padding);
}

.mainmenu li.level-0:last-child {
  margin-right: 0;
  margin-left: -12px;
}

.mainmenu li.level-0:last-child > .link {
  padding: 12px;
  background-color: var(--accent-color);
  border-radius: calc(var(--site-border-radius) / 2);
  color: var(--accent-color-text);
  border: 0;
}

.mainmenu li.level-0:last-child > .link:hover,
.mainmenu li.level-0:last-child.is-active > .link,
.mainmenu li.level-0:last-child.is-selected > .link {
  color: var(--accent-color-text);
}

.mainmenu li.level-0 > .link {
  border-bottom: 8px solid transparent;
  padding-top: 0;
  padding-bottom: 8px;
}

.mainmenu li.level-0 > .link:hover,
.mainmenu li.level-0.is-active > .link,
.mainmenu li.level-0.is-selected > .link {
  color: var(--text-color);
  border-color: var(--button-color);
}

.mainmenu li > .link:hover,
.mainmenu li.is-active > .link,
.mainmenu li.is-selected > .link {
  color: var(--button-color);
}

.mainmenu .submenu {
  display: none;
  padding: 28px;
  border-radius: var(--site-border-radius);
  margin: 0;
  line-height: 1.15em;
  z-index: 9999;
}

.mainmenu li.level-0 > .submenu {
  border-top: 8px solid transparent;
  width: 480px;
  position: absolute;
  background-color: var(--menu-background);
  top: calc(100% + 8px);
}

.mainmenu li.level-0:nth-last-child(-n+3) > .submenu {
  right: -11em;
}

.mainmenu li.level-1 {
  display: block;
}

.mainmenu li.level-1 .link:hover {
  color: var(--button-color);
}

.mainmenu li.level-1 > .submenu {
  position: absolute;
  top: 28px;
  right: 36px;
  padding: 18px;
  background-color: rgba(46, 95, 164, 0.06);
  height: calc(100% - 56px);
  box-sizing: border-box;
  width: 260px;
}

.header-socials {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 0 0;
  display: block;
  text-align: right;
}

.header-socials li {
  display: inline-block;
  margin-right: 6px;
  line-height: 0;
}

.header-socials li:last-child {
  margin-right: 0;
}

.header-socials li a {
  display: block;
}

.header-socials li a img {
  width: 2em;
  height: auto;
}

/* Section */
section .text {
  max-width: 950px;
  margin: 4em auto 4em auto;
  padding: 0 var(--site-padding);
}

section .text.full-width {
  max-width: var(--site-max-width);
  margin-top: 0;
  margin-bottom: 0;
}

section .text .highlight {
  color: var(--button-color);
  font-weight: 900;
  font-size: 1.1em;
}

/* Map */
section .maps {
  display: flex;
  max-width: 1500px;
  justify-content: center;
  margin: 0 auto 6em auto;
  gap: 48px;
  padding: 0 var(--site-padding);
}

section .maps .map {
  width: 50%;
}

section .maps .map .text {
  padding: 0;
  margin: 0;
}

section .maps .map .text .map-address {
  margin: 2em 0 0.5em 0;
  height: 150px;
}

section .maps .map-canvas {
  width: 100%;
  height: 480px;
  margin-top: 1em;
  border-radius: 7px;
}

/* Image */
section .image-container {
  line-height: 0;
}

section .image-container.format-original {
  text-align: center;
}

section .image-container.format-original .image {
  max-width: 100%;
}

section .image-container.format-landscape .image {
  width: 100%;
}

section .image {
  height: auto;
}

section .image-cover {
  position: relative;
  height: 640px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

section .image-cover .image-title-wrapper {
  max-width: var(--site-max-width);
  padding: var(--site-padding);
  margin: 0 auto;
  padding-top: 32px;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
  transform: translateY(10px);
}

section .image-cover .image-title {
  display: block;
  font-size: 1.3em;
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

section .image-cover .image-subtitle {
  margin: 0;
  line-height: 1em;
  animation: slideInRight 0.8s ease-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
  transform: translateX(40px);
}

section .image-home {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

section .image-home .image-title-wrapper {
  position: absolute;
  right: 15%;
  bottom: 40%;
  color: #FFFFFF;
  font-size: 3.8em;
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
  transform: translateY(10px);
  z-index: 1000;
}

section .image-home .image-title-wrapper i {
  position: absolute;
  font-weight: 600;
  font-style: normal;
  font-size: 2em;
  margin: 0 8px;
}

section .image-home .image-title {
  display: block;
  animation: fadeIn 1.2s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

section .image-home .image-title > i {
  left: -80px;
  top: -50px;
}

section .image-home .image-subtitle {
  display: block;
  font-weight: 600;
  animation: slideInRight 1.2s ease-out forwards;
  animation-delay: 1.2s;
  opacity: 0;
  transform: translateX(40px);
}

section .image-home .image-subtitle > i {
  right: -80px;
  top: -45px;
}

section .image-cover .image-button-wrapper {
  position: absolute;
  bottom: 3em;
  text-align: center;
  width: 100%;
  padding: 0 var(--site-padding);
  box-sizing: border-box;
}

section .image-cover .image-icon {
  width: 130px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 2em auto;
}

section .image-cover .image-button {
  display: inline-block;
  padding: var(--site-padding);
  background-color: rgba(255, 255, 255, 0.68);
  border-radius: calc(var(--site-border-radius) / 2);
  font-size: 1.1em;
}

section .image-cover .image-button:hover {
  background-color: var(--accent-color);
  color: var(--accent-color-text);
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Team List */
section .team-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

section .team-list .team-members {
  text-align: center;
  font-size: 0;
}

section .team-list .team-members:after {
  content: "";
  display: table;
  clear: both;
}

section .team-list .team-member {
  display: inline-block;
  font-size: 17px;
  width: 25%;
  text-align: center;
  cursor: pointer;
  padding-bottom: 3%;
}

section .team-list .team-member .team-member-title {
  display: block;
  font-weight: 400;
  font-size: 1em;
  margin: 12px 0 8px 0;
  color: var(--text-color);
  text-transform: none;
}

section .team-list .team-member .team-member-more:before {
  content: "+";
  display: block;
  font-weight: 900;
  font-size: var(--site-padding);
}

section .team-list .team-member:hover .team-member-more:before,
section .team-list .team-member.is-active .team-member-more:before {
  color: var(--accent-color)
}

section .team-list .team-member .team-member-photo {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--text-color);
  padding: 0 var(--site-padding);
  box-sizing: border-box;
}

section .team-list .team-content-wrapper {
  display: none;
  max-width: 1000px;
  margin: 0 auto;
}

section .team-list .team-content-wrapper .team-content {
  text-align: justify;
}

section .team-list .team-member .team-member-content {
  display: none;
}

section .team-list .team-content:after {
  content: "";
  display: block;
  clear: left;
}

section .team-list .team-content .team-member-title {
  font-size: 1em;
  color: var(--button-color);
}

section .team-list .team-content .team-member-image {
  float: left;
  display: block;
  width: 100%;
  max-width: 370px;
  height: 560px;
  border-radius: var(--site-border-radius);
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 6%;
  margin-bottom: 1.5em;
}

section .team-list .team-content .text {
  max-width: initial;
  padding: 0;
  margin: 0 auto;
  text-align: justify;
}

section .team-list .team-content p:first-of-type {
  margin-top: 0;
}

section .team-plugin .team-member {
  width: 100%;
}

section .team-plugin .team-member .team-member-more:before {
  color: #BFBFBF;
  font-size: 60px;
  line-height: 1em;
}

section .team-plugin .team-content .team-member-image {
  max-width: 100%;
  height: auto;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--text-color);
  padding: 0 var(--site-padding);
  box-sizing: border-box;
}

section .team-plugin .team-content-wrapper {
  max-width: 1100px;
}

/* Forms */
.forms {
  max-width: 950px;
  margin: 2em auto 0 auto;
  padding: 0 var(--site-padding);
  box-sizing: border-box;
}

.forms ::placeholder {
  color: var(--text-color);
  opacity: 1;
}

.forms .form-field-wrapper {
  background-color: #ECEBED;
  border-radius: var(--site-border-radius);
  padding: var(--site-padding);
}

.forms .form-field-wrapper .form-field.CheckboxInput {
  padding: 0;
}

.forms .form-field-wrapper .form-field:first-child {
  margin-top: 0;
}

.forms .form-field-wrapper .form-field:last-child {
  margin-bottom: 0;
}

.forms .form-field {
  margin: 1em 0;
}

.forms .form-field.hidden {
  display: none;
}

.forms .form-field-group {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}

.forms .form-field-group .form-field {
  flex: 1 0 0;
}

.branch-selector,
.forms .form-field.CheckboxInput,
.forms .form-field select,
.forms .form-field textarea,
.forms .form-field input:not([type="checkbox"]) {
  width: 100%;
  padding: var(--site-padding);
  font-size: 1em;
  font-family: var(--primary-font);
  color: var(--text-color);
  background-color: #ECEBED;
  border-radius: var(--site-border-radius);
  border: 0;
  box-sizing: border-box;
}

.form-field-wrapper .form-field input:not([type="checkbox"], [type="file"]) {
  background-color: #FFFFFF;
}

.forms .form-field.error.CheckboxInput,
.forms .form-field.error select,
.forms .form-field.error textarea,
.forms .form-field.error input:not([type="checkbox"]) {
  outline: 1px solid red;
}

.forms .form-field textarea {
  min-height: 195px;
  resize: vertical;
}

.forms .form-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  vertical-align: top;
  margin-right: 10px;
}

.forms .form-field input[type="file"] {
  padding: calc(var(--site-padding) / 2) 0;
  cursor: pointer;
}

.forms .form-recaptcha {
  text-align: center;
}

.forms .form-recaptcha .g-recaptcha {
  display: inline-block;
}

.forms .form-field:not(.CheckboxInput) label {
  display: inline-block;
  line-height: 1.65em;
  margin: 0.5em 0 8px 10px
}

.forms p {
  margin-left: 10px;
  margin-bottom: 0;
}

.forms p + .form-field-wrapper,
.forms p + .form-field {
  margin-top: 8px;
}

.forms .errorlist {
  list-style: none;
  padding: 0;
  margin: 0;
  color: red;
}

.forms .form-sent {
  width: 100%;
  padding: 3em var(--site-padding);
  margin: 3em 0;
  font-size: 1.3em;
  color: var(--text-color);
  background-color: #ECEBED;
  border-radius: var(--site-border-radius);
  box-sizing: border-box;
  text-align: center;
}

.forms .form-sent p {
  margin: 1.5em 0;
}

.forms .formset-container .form-field {
  margin: 0;
}

.forms .formset-add {
  display: block;
  padding-top: 1em;
}

.forms .formset-add:before {
  content: "+";
  display: inline-block;
  font-weight: 900;
  font-size: var(--site-padding);
  line-height: 1em;
  margin-right: 10px;
  position: relative;
  top: 2px;
}

.forms .formset-delete {
  display: none;
}

/* Contact Form */

.branch-selector.form-field {
  display: flex;
  gap: calc(var(--site-padding) / 2);
  margin-bottom: 4em;
}

.branch-selector .branch {
  flex: 1;
  padding: var(--site-padding);
  border-radius: var(--site-border-radius);
  cursor: pointer;
  text-align: center;
  display: block;
}

.branch-selector .branch h3 {
  display: inline-block;
  border-bottom: 7px solid transparent;
  padding-bottom: 4px;
}

.branch-selector .branch:hover,
.branch-selector .branch.is-selected {
  background-color: #FFFFFF;
}

.branch-selector .branch:hover h3,
.branch-selector .branch.is-selected h3 {
  border-color: var(--button-color);
}

.branch-selector .branch p {
  margin: 0;
}

#contact-form-content {
  display: none;
}

#contact-form-content.is-active {
  display: block;
}


/* Footer */
footer {
  background: var(--footer-background);
}

footer .footer-inner {
  max-width: 964px;
  margin: 0 auto;
  padding: 0 18px;
  overflow: hidden;
}

.footer-links {
  padding-bottom: calc(var(--site-padding) / 2);
  border-bottom: 1px solid var(--footer-text-color);
}

.footer-links h2 {
  color: var(--footer-text-color);
  margin: 1.5em 0 2em 0;
  font-weight: 600;
  font-size: 1.1em;
}

.footer-links .footer-links-content .text {
  display: flex;
  justify-content: center;
  gap: 12%;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.15em;
}

.footer-links li {
  margin: 6px 0;
}

.footer-links a {
  color: var(--footer-text-color);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-links .footer-socials {
  list-style: none;
  padding: 2em 0 0 0;
  margin: 0;
  display: flex;
  color: #c1bbb2;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.footer-links .footer-socials .column-title {
  margin-right: 6px;
}

.footer-links .footer-socials li a {
  display: block;
  line-height: 0;
}

.footer-links .footer-socials li a img {
  width: 1.5em;
  height: auto;
}

footer .credit {
  padding: 1% 0;
  text-align: center;
}

footer .credit .credit-text,
footer .credit .credit-logo {
  display: inline-block;
  vertical-align: middle;
}

footer .credit .credit-text {
  font-size: 0.8em;
  color: var(--footer-text-color);
}

footer .credit .credit-logo {
  display: inline-block;
  margin: 15px 3px;
  width: 164px;
  height: 32px;
  background: no-repeat url("../img/myo-concept.08c39a72ac73.png");
  background-size: contain;
}