/*
* Main
*/
:root {
  --header-size: 80px;
  
  --color-dark-gray: #282828;
  --color-gray: #353535;
  --color-light-gray: #f6f6f6;
  --color-text-gray: #848484;

  --color-primary: #2c67ad;
    --color-secondary: #f8be12;
    --color-teriary: #d92133;

  --size-m: 10px;
  --size-l: 20px;
  --size-xl: 50px;
}

html, p {
  font-family: Gill Sans, Noto Sans, sans-serif;
  font-size: 18px;
  color: var(--color-dark-gray);
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--color-dark-gray);
}

a:hover {
  color: var(--color-primary);
  transition: ease-in 65ms color;
}

h1, h2, h3 {
  font-size: 2rem;
}

.button {
  border: 0;
  box-shadow: none;
  border-radius: 0.2rem;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  -webkit-text-decoration: none;
  text-decoration: none;
  -webkit-transition: background-color ease 65ms;
  transition: background-color ease 65ms;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.375;
  color: #ffffff;
  background-color: var(--color-primary);
}



.button:hover{
  background-color: #224e85;
  color: #ffffff;
}

.dark {
  color: var(--color-dark-gray) !important;
}

.desktop {
  display: block;
}

.mobile {
  display: none;
}

/**
* Icon
*/
i:before  {
  content: '';
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
  height: 20px;
  width: 20px;
}

i.address:before  {
  background: url('./img/icon/location.svg') no-repeat;
  margin: 0;
}

i.phone:before  {
  background: url('./img/icon/phone.svg') no-repeat;
}

i.mail:before  {
  background: url('./img/icon/email.svg') no-repeat;
}

/*
* Header
*/
header {
  display: flex;
  width: 100%;
  height: var(--header-size);
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--size-l);
  position: fixed;
  top: 0;
  background: #ffffff;
  z-index: 5;
}

header img {
  max-height: 48px;
}

nav {
  display: flex;
}

nav.full {
  position: fixed;
  left: 0;
  top: var(--header-size);
  display: block;
  height: 100%;
  width: 100%;
  background: #ffffff;
  text-align: center;
  padding-top: var(--size-xl);
}

nav a {
    display: block;
    text-transform: uppercase;
    margin: 0 2px;
    padding: 12px 12px;
    font-size: 17px;
    font-weight: 600;
}

.menuIcon {
  cursor: pointer;
}

.menuIcon .bar1, .menuIcon .bar2, .menuIcon .bar3 {
  width: 35px;
  height: 5px;
  background-color: var(--color-dark-gray);
  margin: 6px 0;
  transition: 0.4s;
}

.menuIcon.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.menuIcon.change .bar2 {
  opacity: 0;
}

.menuIcon.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

/*
* Content
*/
.row {
 display: flex;
 flex-direction: row;
 align-items: center;
}

.col {
  flex: 0.5;
}

.center {
  text-align: center;
}

.banner {
  margin-top: var(--header-size);
  height: 60vh;
  text-align: center;
  overflow: hidden;
}

.banner.small {
  height: 40vh;
  background: url('./img/banner.png') no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
}

.banner.small.mobile {
display: none;
}

.banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner .bannerContent {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 120px;
  margin-top: calc(50vh - 120px); /* banner height - content height */
  color: var(--color-dark-gray);
}

.banner .button {
  margin-top: var(--size-l);
}

.contentRow {
  padding: var(--size-xl);
}

.contentRow.darkRow {
  background: var(--color-dark-gray);
  color: var(--color-text-gray);
}

.contentRow img {
  max-height: 400px;
  max-width: 620px;
}

.contentRow img.noMax {
  max-height: none;
}

.contentRow h1:after, .contentRow h2:after, .contentRow h3:after {
  content: ' ';
  width: 80px;
  height: 4px;
  background: var(--color-primary);
  display: block;
  margin: var(--size-l) 0;
}

.center h1:after, .center h2:after, .center h3:after {
  margin: var(--size-l) auto;
}

.contentRow h1.secondary:after, .contentRow h2.secondary:after, .contentRow h3.secondary:after {
  background: var(--color-secondary);
}

.contentRow h1.tertiary:after, .contentRow h2.tertiary:after, .contentRow h3.tertiary:after {
  background: var(--color-teriary);
}

.contentRow h1.none:after, .contentRow h2.none:after, .contentRow h3.none:after {
  background: var(--color-light-gray);
}

.contentRow p {
  color: var(--color-text-gray);
  margin: var(--size-m) 0;
}

.contentRow.darkRow h2 {
  color: #ffffff;
}

.contentRow.darkRow h2, .contentRow.darkRow p {
  color: var(--color-light-gray);
}

.contentRow img {
  box-shadow: 0 35px 80px -35px rgb(0 0 0 / 40%);
}

.contentRow.darkRow img {
  box-shadow: 0 35px 80px -35px rgb(255 255 255 / 20%);
}

.contentRow img.flat {
  box-shadow: none;
}

.contentRow ul {
  margin-top: var(--size-l);
}

.contentRow li {
  display: block;
  margin: var(--size-m) 0;
  color: var(--color-text-gray);
}

.contactRow li {
  content: '⬪';
  margin: var(--size-xl) 0;
}

.contentRow:not(.contactRow) li:before {
  content: '⬪';
  margin-right: var(--size-m);
}

.partner img {
  display: inline-block;
  max-width: calc(100vw / 8);
  vertical-align: middle;
  margin-top: var(--size-m);
}

/*
* Footer
*/
footer {
  background: var(--color-light-gray);
  margin-top: var(--size-xl);
  padding: var(--size-m) var(--size-xl);
  color: var(--color-dark-gray)
}

footer .row {
  justify-content: space-between;
}

footer img {
  max-height: calc(var(--header-size) - var(--size-l));
}

footer ul, footer address {
  align-self: flex-start;
}

footer li {
  display: block;
  margin: var(--size-m) 0;
  color: var(--color-text-gray);
}

footer li a {
    color: var(--color-text-gray);
}

footer li.footerTitle {
  margin: var(--size-m) 0;
  color: var(--color-dark-gray);
}

footer .footerCopyright {
  margin-top: var(--size-l);
  padding-top: var(--size-l);
  border-top: 1px solid rgba(0,0,0,.12);
}

footer .footerCopyright p {
  color: var(--color-text-gray);
  text-align: center;
}

/*
* Scroll to top
*/
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-dark-gray);
  color: #ffffff;
  display: none;
  border-radius: 0.2rem;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  z-index: 9;
}

#backToTop > i:before {
  margin: 0 var(--size-m);
  background: url('./img//icon/chevron-up.svg') no-repeat;
  vertical-align: text-top;
}

/*
* Tablet / mobile
*/
@media (max-width: 992px) {
  .desktop {
    display: none;
  }
  
  .mobile {
    display: block;
  }
.banner.small.mobile {
display: flex;
}
  
  nav {
    display: none;
  }

  .row {
    flex-direction: column;
  }

  .row img {
    max-width: 100%;
  }

  .partner img {
    max-width: calc(100vw / 4);
  }
}

.text-primary {
    color: var(--color-primary);
}

.bold {
    font-weight: 700;
}

div.container {
    margin: 20px auto;
    max-width: 1400px;
}

div.container-xl {
    margin: 20px auto;
    max-width: 1600px;
    display: flex;
    justify-content: space-between;
}

.vam {
    vertical-align: middle;
}
