@font-face {
    font-family: 'Domaine Display';
    src: url('DomaineDisplayWeb-Semibold.woff2') format('woff2'),
        url('DomaineDisplayWeb-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Domaine Display';
    src: url('DomaineDisplayWeb-Regular.woff2') format('woff2'),
        url('DomaineDisplayWeb-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    /*font-display: swap; */
}


@font-face {
    font-family: 'HK Grotesk';
    src: url('HKGrotesk-SemiBold.woff2') format('woff2'),
        url('HKGrotesk-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'HK Grotesk';
    src: url('HKGrotesk-Regular.woff2') format('woff2'),
        url('HKGrotesk-Regular.woff') format('woff');
    font-weight: 400;
    font-style: light;
}


body {
	font-family: 'HK Grotesk', sans-serif;
    color: #05284C;
    font-weight: 600;
    padding-top: 1em;
}

p {
  color: rgb(154, 154, 154);
  font-weight: 400;
}

a, a:visited {
    text-decoration: none;
    color: #FF0046;
    color: color(display-p3 1.0 0 0.2745);
}

h1 {
    font-family: 'Domaine Display',serif;
    margin-top: 0rem;
    text-align: left;
    font-size: 7em;
    letter-spacing: -0.03em;
    color: #FF0046;
    color: color(display-p3 1.0 0 0.2745);
}


h2 {
    font-family: 'Domaine Display',serif;
    text-align: left;
    font-size: 5em;
    letter-spacing: -0.03em;
    color: #FF0046;
    color: color(display-p3 1.0 0 0.2745);
}


html:lang(lv) h1 {
  font-size: 6.7em;
}

h1.small {
    font-size: 5em;
    letter-spacing: -0.02em;
}


.bg-kpmsdark {
  background-color: #05284C;
}

.bg-kpmsdark p {
  color: #DDD;
}

.bg-kpmsdark h3, .bg-kpmsdark h4, .bg-kpmsdark h5  {
  color: #FFF;
}

h5.title {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.8em;
    margin-top: 0;
    margin-bottom: 2em;
}

.bg-kpmsgray {
  background: #DDD url("../assets/bg-gray.jpg") no-repeat left top;
  background-size: cover;
}

.sectionspace {
  padding-top: 4em;
  padding-bottom: 4em;
}

h5 {
  color: white;
  /* border-bottom: 2px solid #FF0046; */
  display: inline-block;
  margin-top: 0.3rem;
}

.pr-3{padding-right:.6rem!important}
.pr-l{padding-right:2rem!important}
.pr-xl{padding-right:3rem!important}

.mb-m{margin-bottom:2rem!important}
.mb-xl{margin-bottom:3rem!important}

.form-label {
    line-height: 1.2rem;
    display: block;
    padding: .3rem 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.8em;
}

.btn {
  padding: 1em 1.5em;
  height: auto;
  text-transform: uppercase;
  background-color: #05284C!important;
  border-radius: 0;
  border: 0;
}

.blog {
  font-weight: 400;
}

.blog {
    padding-top: 2.4rem;
}

.blog h2 {
  text-transform: none;
  font-size: 3em;
  margin-top: 0;
}

.blog h1 {
  text-transform: none;
  font-size: 4em;
  letter-spacing: 0.01em;
  margin-bottom: 0.5em;
}




.team h2 {
  text-transform: none;
  margin-bottom: 0;
}

.team h3.country {
  font-size: 2.1em;
  text-transform: uppercase;
  margin-top: 1.5em;
}

.team h4 {
  text-transform: none;
}

.team-image {
  padding-right: 1em;
  max-width: 200px;
  width: 100%;
}

/*  Hero reveal  */
/* @keyframes FadeIn {
  0% {
    opacity: 0;
    transform: scale(.1);
  }

  85% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
} */

@keyframes FadeIn {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 10;
  }

  13% {
    opacity: 0;
  }

  30% {
    opacity: 10;
  }
  33% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
  100% {
  }
}

@keyframes MoveDown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0%);
  }
}

#h1fx div {
  display: inline;
  animation: FadeIn 0.5s linear;
  animation-fill-mode: both;
}


#h1fx div:nth-child(1) { animation-delay: .5s }
#h1fx div:nth-child(2) { animation-delay: .75s }
#h1fx div:nth-child(3) { animation-delay: 1s }
#h1fx div:nth-child(4) { animation-delay: 1.25s }
#h1fx div:nth-child(5) { animation-delay: 1.5s }
#h1fx div:nth-child(6) { animation-delay: 1.75s }
#h1fx div:nth-child(7) { animation-delay: 2s }
#h1fx div:nth-child(8) { animation-delay: 2.25s }
#h1fx div:nth-child(9) { animation-delay: 2.5s }
#h1fx div:nth-child(10) { animation-delay: 2.75s }

#h2fx div{

  animation: MoveDown 0.3s ease-in-out;
  animation-delay: 2.75s;
  animation-fill-mode: both;
}

#h2fx  { overflow: hidden;}

/* #h1fx div:nth-child(1) { animation-delay: .5s }
#h1fx div:nth-child(2) { animation-delay: 1s }
#h1fx div:nth-child(3) { animation-delay: 1.5s }
#h1fx div:nth-child(4) { animation-delay: 2s }
#h1fx div:nth-child(5) { animation-delay: 2.5s }
#h1fx div:nth-child(6) { animation-delay: 3s }
#h1fx div:nth-child(7) { animation-delay: 3.5s }
#h1fx div:nth-child(8) { animation-delay: 4s }
#h1fx div:nth-child(9) { animation-delay: 4.5s }
#h1fx div:nth-child(10) { animation-delay: 5s } */

@media (max-width:840px){

  body {
      font-size: 80%;
  }

  #header .navbar-section {
      margin-right: -5px;
  }

  h1 {
      font-size: 4.3em;
  }

  html:lang(lv) h1 {
    font-size: 4.3em;
  }

  html:lang(lt) h1 {
    font-size: 4.1em;
  }

  h4 {
      font-size: 1rem;
  }

  h1.small {
    font-size: 3.4em;
    letter-spacing: -0.02em;
  }

  .team h2 {
    margin-top: 0.5em;
  }

}

h2 {
    font-family: 'Domaine Display',serif;
    color: #05284C;
    text-align: left;
    font-size: 2em;
    letter-spacing: 0.01em;
    color: #FF0046;
    color: color(display-p3 1.0 0 0.2745);
    text-transform: uppercase;
}


h3, h4, h5, h6 {
    font-family: 'HK Grotesk', sans-serif;
    color: #05284C;
    font-weight: 600;
    line-height: 1.3;
}


#header a {
    /* color: #05284C; */
    color: #aaa !important;
    text-transform: uppercase;
    font-weight: 600;
}

.dropmenu ul li a{
    border: 2px solid;
    border-color: rgba(255, 255, 255, 0);
}


.dropmenu ul li a.active, .dropmenu ul li a:focus, .dropmenu ul li a:hover {
    color: #05284C !important;
    /*border-bottom: 2px solid;*/
}

.dropmenu ul li a:hover {
    color: #05284C !important;
    border: 2px solid;
}


#page-wrapper {
	/* background-image: url('../assets/kpms-bg-1.jpg'); */
	background-size: cover;
}

#header {
    /* color: #454d5d; */
    color: #eee;
    border-bottom: none;
    background: unset;
}

#header .logo img, #header .logo svg {
    display: inherit;
    height: 20px;
}



.mobile-menu .button_container span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    cursor: pointer;
    transition: all .35s ease;
    border: none;
    background: #05284C;
}

.overlay {
  background: #05284C;
}

.overlay.open {
      opacity: 1;
}


.treemenu li {
    line-height: 1.2rem;
    margin: 0 0 1px;
    padding: 5px 0;
    list-style: none;
    background: none;
}

.treemenu li a.active, .treemenu li a:focus, .treemenu li a:hover {
    text-decoration: none;
    color: #FF0046 !important;
    color: color(display-p3 1.0 0 0.2745) !important;
}

.treemenu li .treemenu li a:hover {
    text-decoration: none;
    color: #FFFFFF !important;
}
