html,
body {
  --theme-color: rgba(32, 35, 37, 1);
  --theme-color-light:rgba(224, 224, 229, 1);
  --theme-background: rgba(255, 255, 255, 1);
  --theme-background-light: rgba(255, 255, 255, 1);
  --theme-background-grey: rgba(247, 247, 251, 1);
  --theme-background-dark: rgba(224, 224, 229, 1);
  --theme-header-color: rgba(255, 255, 255, 1);
  --theme-button-hover: rgba(224, 224, 229, 1);
  --theme-border-color: rgba(0, 0, 0, 0.15);
  --theme-text: rgba(32, 35, 37, 1);
  --text-black: rgba(0, 0, 0, 1);
  --text-black-a9: rgba(0, 0, 0, 0.9);
  --text-black-a8: rgba(0, 0, 0, 0.8);
  --text-black-a7: rgba(0, 0, 0, 0.7);
  --text-black-a6: rgba(0, 0, 0, 0.6);
  --text-black-a4: rgba(0, 0, 0, 0.4);
  --text-white: rgba(255, 255, 255, 1);
  --text-white-a9: rgba(255, 255, 255, 0.9);
  --text-white-a8: rgba(255, 255, 255, 0.8);
  --text-white-a7: rgba(255, 255, 255, 0.7);
  --text-white-a6: rgba(255, 255, 255, 0.6);
  --text-white-a4: rgba(255, 255, 255, 0.4);

  background: rgba(255, 255, 255, 1) !important;
  margin: 0 !important;
  font-family: "Open Sans", sans-serif;
}

a
  .dark
  #header.sticky-header:not(.transparent-header)
  #header-wrap:not(.not-dark),
.dark #header.sticky-header.transparent-header #header-wrap:not(.not-dark),
.dark #header.transparent-header.floating-header .container,
.dark #header.transparent-header.floating-header.sticky-header .container,
#header.dark.sticky-header:not(.transparent-header) #header-wrap:not(.not-dark),
#header.dark.sticky-header.transparent-header #header-wrap:not(.not-dark),
#header.dark.transparent-header.floating-header .container,
#header.dark.transparent-header.floating-header.sticky-header .container,
.dark .responsive-sticky-header #header-wrap,
.responsive-sticky-header.dark #header-wrap {
  background: var(--theme-header-color) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
#gotoTop {
  background: var(--theme-background-dark);
}
#gotoTop:hover {
  background: var(--theme-color);
}

.stretched #gotoTop {
  bottom: 60px !important;
}

#header {
  position: absolute;
  width: 100%;
}

#header-wrap {
  position: relative;
  z-index: 199;
  /* box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); */
}

.nav-div {
  cursor: pointer;
  display: block;
  line-height: 22px;
  padding: 19px 15px;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.nav-button {
  color: var(--theme-text) !important;
  opacity: 0.4;
  transition: all 0.2s !important;
  font-weight: 500 !important;
}

.nav-button:hover {
  opacity: 1 !important;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.4) !important;
}

#primary-menu ul ul:not(.mega-menu-column),
#primary-menu ul li .mega-menu-content {
  background: var(--theme-header-color) !important;
  border: none;
  box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.3) !important;
  top: 105% !important;
  width: 120px;
  min-width: 120px;
}

.dropdown-menu > li {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

#primary-menu ul li > a,
.dropdown-menu ul li > a {
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}


.dropdown-menu > li > a,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background: transparent !important;
}

.dropdown-menu > li:hover,
.dropdown-menu > li:focus {
  background: var(--theme-button-hover) !important;
}

.nav-locale {
  width: 20px;
}

.home-content {
  width: 1040px;
  justify-content: center;
  margin: auto;

}

/* .content-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
  transition: all 0.3s;
} */

.page2 {
  background: var(--theme-background);
}

.heading-block {
  margin-bottom: 40px;
}

.heading-block:after {
  border-top: none;
}

.block-title {
  padding-top: 0 !important;
}

.heading-block > h3 {
  font-size: 40px;
  font-weight: 700;
  line-height: 55px;
  color: var(--theme-color);
}

.iframe-wrapper {
  margin: 50px auto;
  display: flex;
  justify-content: center;
}

.intro-wrapper {
  margin: 60px auto 80px;
  max-width: 1040px;
}
.intro-title > h3 {
  margin-bottom: -20px;
  font-size: 18px;
  color: var(--theme-color);
}
.intro-text {
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  opacity: 0.6;
  width: 970px;
  color: var(--theme-text);
}
.intro-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 880px;
  margin: 0 auto 100px;
}
.intro-feature-block {
  width: 160px;
}
.intro-feature-pic {
  height: 160px;
  width: 160px;
  margin: 0 0 36px 0;
}
.intro-feature-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  color: var(--theme-text);
}
.page3 {
  background: var(--theme-background-light);
}

.teamtable-wrapper {
  max-width: 1040px;
  margin: 0 auto 80px;
  display: flex;
}
.teamtable-menu {
  list-style: none;
  border-left: 1px solid var(--theme-color-light);
  margin-bottom: 0;
}
.team-menu-item {
  width: 200px;
  padding: 14px 0 14px 30px;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin-top: 10px;
  margin-left: -1px;
  transition: all .3s;
  cursor: pointer;
}
.team-menu-item:first-child {
  margin-top: 0px;
}
.tm-selected {
  background-color: var(--theme-color) !important;
  color: var(--text-white) !important;
  font-weight: 700 !important;
}
.teammember-row {
  display: flex;
  padding: 20px 0 30px 80px;
}
.team-member {
  width: 160px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 30px;
  transition: all .3s;
}
.team-member > div {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--theme-background-grey);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .3s;
}
.name-circle {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 0;
  opacity: 0.1;
  transition: all .3s;
}
.name-text {
  font-size: 18px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 0;
  opacity: 0.1;
  transition: all .3s;
}
.ti-selected > div > .name-circle, .ti-selected > .name-text {
  opacity: 1;
}
.page4 {
  padding-top: 60px;
  max-width: 100vw;
  position: relative;
  overflow: hidden;
  background-color: var(--theme-background-grey);
  padding-bottom: 150px;
}
/* .page4::before {
  content: "";
  width: 115%;
  height: 608px!important;
  background: white;
  border-bottom: 54px solid white;
  margin-bottom: -70px;
  transform: rotate(7deg) translate(-8%, -80%);
  transform-origin: 50% 100%;
  margin-bottom: -450px;
} */
.portfolio-title {
  transform: rotate(0);
  margin-bottom: 140px;
}

.portfolio-row{
  max-width: 1040px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
}
.portfolio-block-title {
  width: 100%;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 60px;
}
.portfolio-block-title > div{
  width: 100%;
  height: 1px;
  background-color: var(--theme-color-light);
  position: absolute;
  top: calc(50% - 1px);
  left: 0;

}
.portfolio-block-title > h3{
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: var(--theme-color);
  background-color: var(--theme-background-grey);
  padding: 0 30px;
  margin-bottom: 0;
  transform: rotate(0);
}
.portfolio-block-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.portfolio-block-row > a > img, .portfolio-placeholder {
  width: 150px;
  height: 80px;
  transition: all .3s;
}
.portfolio-block-row > a:hover > img {
  transform: translate(0px, -6px);
  box-shadow: 0 5px 10px 0 rgba(62,62,81,0.08);
}
.page4::after {
  content: "";
  width: 115%;
  height: 400px;
  background-color: white;
  position: absolute;
  bottom: 0;
  z-index: 0;
  transform: rotate(-7deg) translate(-8%, 50%);
  transform-origin: 50% 100%;
}
.page5 {
  background: var(--theme-background);
  padding: 0 0 60px 0;
}
.media-title {
  transform: rotate(0);
  margin-bottom: 80px;
}
.media-row {
  max-width: 1040px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
  transform: rotate(0);
}
.media-block::before {
 content: "";
 width: 10px;
 height: 40px;
 position: absolute;
 top: 41px;
 left: 0px;
 background-color: var(--theme-color);
}
.media-block {
  transition: all .3s;
  position: relative;
  width: 490px;
  padding: 32px 40px 12px 40px;
}
.media-block-link {
  cursor: pointer;
  border: 1px solid var(--theme-color-light);
  transition: all .3s;
}
.media-block-link:hover {
  transform: translate(0px, -10px);
  box-shadow: 0 16px 30px 0 rgba(62,62,81,0.08);
}
.media-block-title {
  font-size: 18px;
  line-height: 30px;
  color: var(--theme-color);
  font-weight: 700;
  margin-bottom: 10px;
}
.media-block-subtitle {
  font-size: 14px;
  line-height: 26px;
  color: var(--theme-color);
  opacity: 0.3;
  font-weight: 400;
  margin-bottom: 20px;
}
.media-block-divider {
  width: 100%;
  height: 1px;
  background-color: var(--theme-color-light);
  margin-bottom: 20px;
}
.media-block-content {
  font-size: 14px;
  line-height: 26px;
  color: var(--theme-color);
  opacity: 0.6;
  font-weight: 400;
  margin-bottom: 20px;
}
.page-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: none !important;
  background: white !important;
}
.footer-content {
  display: flex;
  width: 1040px;
  border-top: 1px solid var(--theme-color-light);
  padding-top: 60px;
}
.footer-content-col1 > img {
  width: 116px;
  height: 40px;
}
.footer-content-col2 {
  margin-left: 85px;
  list-style: none;
  padding-top: 10px;
}
.footer-content-col2 > li {
  margin-bottom: 14px;
  cursor: pointer;
}
.footer-content-col2 > li > a {
  font-size: 16px;
  line-height: 22px;
  color: var(--theme-color);
  font-weight: 400;
  transition: all .3s;
}
.footer-content-col2 > li > a > div {
  opacity: 0.4;
  transition: all .3s;
}
.footer-content-col2 > li:hover > a > div {
  opacity: 1;
}
.footer-content-col3 {
  margin-left: 220px;
  padding-top: 5px;
}
.footer-content-col3 > h3 {
  font-size: 22px;
  line-height: 30px;
  color: var(--theme-color);
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-content-col3 > a {
  cursor: pointer;
  font-size: 16px;
  line-height: 22px;
  color: var(--theme-color);
  font-weight: 400;
  opacity: 0.4;
  transition: all .3s;
}
.footer-content-col3 > a:hover {
  opacity: 1;
  text-decoration: underline !important;
  color: #0079FF;
}
.right-text {
  margin-bottom: 40px;
  text-align: center;
  font-size: 16px;
  opacity: 0.3;
  color: var(--theme-color);
}
.mobile-locale {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  z-index: 999;
  opacity: 0.8;
  overflow: visible;
}
.lang-button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--theme-color);
}
.locale-item > img {
  width: 22px;
}
.locale-wrapper {
  opacity: 0;
  position: absolute;
  top: 30px;
  padding: 1px 3px;
  border-radius: 2px;
  transition: opacity 0.3s;
  background: var(--theme-background-light);
}
.mobile-locale:hover > .locale-wrapper {
  opacity: 1;
}
@media (max-width: 769px) {
  .page__banner:before,
  .page__banner::after {
    opacity: 0;
  }
  .home-content {
    width:95%;
    margin: 80px 0 80px 5px;
  }
  .heading-block > h3 {
    font-size: 28px;
  }
  .intro-wrapper {
    margin: 40px auto 60px;
    padding: 0 5%;
  }
  .intro-text {
    width: 100%;
  }
  .intro-feature {
    padding: 0 5%;
    width: 100%;
  }
  .intro-feature-pic {
    width: 80px;
    height: 80px;
  }
  .intro-feature-title {
    font-size: 14px;
  }
  .intro-feature-block {
    width: 80px;
  }
  .media-title {
    margin-bottom: 30px;
  }
  .media-row {
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }
  .media-block-link {
    width:90%;
    margin-bottom: 30px;
  }
  .media-block {
    width: 100%;
  }
  .footer-content {
    width: 90%;
    margin: 0 auto;
    flex-direction: column;
  }
  .footer-content-col1 {
    display: flex;
    justify-content: center;
  }
  .footer-content-col2 {
    margin: 10px auto;
  }
  .footer-content-col2 > li {
    text-align: center;
  }
  .footer-content-col3 {
    margin: 20px auto;
  }
  .footer-content-col3 > h3 {
    text-align: center;
  }
  .team-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .team-member {
    margin-left: 0;
    width: 300px;
    height: auto;
    margin-bottom: 40px;
  }
  .name-text {
    margin-top: 12px;
  }
  .name-title {
    width: 300px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
    opacity: 0.7;
  }
  .portfolio-block-title {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
  }
  .portfolio-block-title > h3 {
    font-size: 14px;
    padding: 0 10px;
    background-color: white;
  }
  .portfolio-block-mobile {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 86%;
    margin: 0 auto;
  }
  .portfolio-block-mobile > a > img, .portfolio-placeholder-mobile {
    width: 150px;
    height: 80px;
    margin-bottom: 20px;
  }
}
