@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/poppins-regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/poppins-bold.woff2') format('woff2');
  font-display: swap;
}

.d-none {
  display: none !important;
}

.d-flex {
  display: flex !important;
}

.flex-column {
  flex-direction: column !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 992px) {
  .d-lg-flex {
    display: flex !important;
  }

  .d-lg-none {
    display: none !important;
  }
}

/* =========================================================
   NAVIGATION
========================================================= */

.header-sticky{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition:
    background-color .28s ease,
    box-shadow .28s ease,
    min-height .28s ease,
    transform .28s ease;
}

.header-sticky > header.container{
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.header-sticky .navbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  min-height: 60px;
  padding: 0;
  gap: 24px;
}

.header-sticky .logo{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-sticky .logo a{
  display: inline-flex;
  align-items: center;
}

.header-sticky .logo img{
  display: block;
  width: 129.70px;
  height: 37.44px;
  max-width: none;
}

.header-sticky .navbar-collapse{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  min-width: 0;
}

.header-sticky .nav-links{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.header-sticky .nav-links li,
.header-sticky .nav-links .nav-item{
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-sticky .nav-links li a,
.header-sticky .nav-links .nav-link{
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: rgba(18,17,39,0.72);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  transition: color .2s ease, opacity .2s ease;
}

.header-sticky .nav-links li a:hover,
.header-sticky .nav-links .nav-link:hover,
.header-sticky .nav-links li a:focus,
.header-sticky .nav-links .nav-link:focus{
  color: rgba(18,17,39,1);
}

#form-btn-nav-desktop{
  flex: 0 0 auto;
  margin-left: 28px;
}

.btn-cta{
  font-family:'Poppins', sans-serif;
  background:linear-gradient(135deg,#0085ff,#3da0fc) !important;
  color:#fff !important;
  border:0 !important;
  padding:8px 24px !important;
  min-height:34px;
  border-radius:14px;
  font-weight:700;
  font-size:14px !important;
  line-height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:0 2px 6px rgba(255,107,0,.12) !important;
  transition:background .18s ease, box-shadow .18s ease, transform .18s ease, filter .18s ease !important;
}

#form-btn-nav-mobile{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:14px 24px !important;
  border:0 !important;
  border-radius:14px !important;
  background:linear-gradient(135deg,#0085ff,#3da0fc) !important;
  color:#fff !important;
  font-family:'Poppins', sans-serif;
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  white-space:nowrap;
  text-align:center;
  box-shadow:0 10px 22px #0084ff49 !important;
}

.btn-cta:hover,
.btn-cta:focus{
  background: linear-gradient(135deg,#0170d9,#3180ca) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px #0084ff40 !important;
  transform: translateY(-1px);
  filter: none;
}

.header-sticky .navbar-toggler{
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
  align-items: center;
  justify-content: center;
}

.header-sticky .navbar-toggler:focus{
  box-shadow: none;
  outline: none;
}

.header-sticky .navbar-toggler-icon{
  width: 24px;
  height: 24px;
  display: inline-block;
  position: relative;
  background: none !important;
}

.header-sticky .navbar-toggler-icon::before,
.header-sticky .navbar-toggler-icon::after,
.header-sticky .navbar-toggler-icon{
  border-radius: 2px;
}

.header-sticky .navbar-toggler-icon::before,
.header-sticky .navbar-toggler-icon::after{
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #272d4e;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.header-sticky .navbar-toggler-icon{
  height: 2px;
  background: #272d4e !important;
}

.header-sticky .navbar-toggler-icon::before{
  top: -7px;
}

.header-sticky .navbar-toggler-icon::after{
  top: 7px;
}

/* affix after scroll */
.header-sticky.sticky{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,.96);
  box-shadow: 3px 6px 15px -10px rgba(84,84,84,.2);
  border-bottom: 1px solid rgba(18,17,39,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-sticky.sticky .navbar{
  min-height: 60px;
}

.header-sticky.sticky .logo img{
  width: 129.70px;
  height: 37.44px;
}

.mobile-navbar{
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1101;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
  padding: 20px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#navbar-collapse.show .mobile-navbar{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-navbar .navbar-toggler{
  display: inline-flex !important;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: 0;
  margin-top: 0;
  align-self: flex-end;
}

.mobile-navbar .navbar-toggler img{
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-navbar ul{
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  width: 100%;
  max-width: 360px;
}

.mobile-navbar li{
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-navbar li a{
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: #1f2b5b;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.mobile-navbar li a:hover,
.mobile-navbar li a:focus{
  color: #1f2b5b;
}

/* NAV CTA - Swedbank orange */
.btn-cta,
#form-btn-nav-mobile{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:18px 34px;
  border:0 !important;
  border-radius:14px !important;
  background:linear-gradient(135deg,#0085ff,#3da0fc) !important;
  color:#fff !important;
  font-family:'Poppins', sans-serif;
  font-size:18px !important;
  font-weight:500 !important;
  line-height:1.2 !important;
  white-space:nowrap;
  text-align:center;
  box-shadow:0 12px 26px #0084ff45 !important;
}

.btn-cta:hover,
.btn-cta:focus,
#form-btn-nav-mobile:hover,
#form-btn-nav-mobile:focus{
  background:linear-gradient(135deg,#148cfc,#4ba8fe) !important;
  color:#fff !important;
}

/* desktop */
@media (min-width: 992px){
  .header-sticky .mobile-navbar{
    display: none !important;
  }

  .header-sticky .navbar-expand-lg{
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .header-sticky .navbar-expand-lg .navbar-collapse{
    display: flex !important;
    flex-basis: auto;
  }

  .header-sticky .navbar-expand-lg .navbar-toggler{
    display: none !important;
  }
}

/* smaller desktop like terminalai */
@media (min-width: 992px) and (max-width: 1199px){
  .header-sticky .logo img{
      width: 129.70px;
      height: 37.44px;
  }

  .header-sticky .nav-links{
    gap: 26px;
  }

  .header-sticky .nav-links li a,
  .header-sticky .nav-links .nav-link{
    font-size: 15px;
  }

  #form-btn-nav-desktop{
    margin-left: 18px;
  }

  .btn-cta{
    min-height: 34px;
    padding: 8px 20px !important;
  }
}

@media (max-width: 991px){
  .header-sticky > header.container{
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-sticky .navbar,
  .header-sticky.sticky .navbar{
    min-height: 60px;
    gap: 0;
    position: relative;
  }

  .header-sticky .logo{
    flex: 0 0 auto;
  }

  .header-sticky .logo img,
  .header-sticky.sticky .logo img{
    width: 129.70px;
    height: 37.44px;
  }

  .header-sticky .nav-links,
  #form-btn-nav-desktop{
    display: none !important;
  }

  .header-sticky .navbar-toggler{
    display: inline-flex !important;
    flex: 0 0 auto;
    margin-left: auto;
    position: relative;
    z-index: 1103;
  }

  .header-sticky .navbar-collapse{
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 1100;
    background: #fff;
    margin: 0;
    padding: 20px;
  }

  .header-sticky .navbar-collapse.show{
    display: block;
  }

  .header-sticky .mobile-navbar{
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
    background: transparent;
  }

  .collapse:not(.show){
    display: none !important;
  }

  .collapse.show{
    display: block !important;
  }

  body.menu-open{
    overflow: hidden;
  }

  #navbar-collapse.show ~ .navbar-toggler,
  .header-sticky.menu-open .navbar > .navbar-toggler{
    opacity: 0;
    pointer-events: none;
  }

  body.menu-open .header-sticky .navbar > .navbar-toggler{
    opacity: 0;
    pointer-events: none;
  }
}
