/* Variables starts */
:root {
  --color-white: #ffffff;
  --color-orange: #f19953;
  --color-light-orange: #F4AD75;
  --color-primary: #333333;
  --color-tertiary: #eeeeee;
  --color-main-blue: #0a588b;
  --color-grey: #8691a0;
  --color-dark-grey: #575757;
  --color-light-blue: #e4f1fa;
  --color-light-grey: #eeeeee;
  --color-smoke-white: #EEEEEE;
}
/* Variables ends */

body {
  font-size: 0.875rem;
}

html, body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #333333;
}

.portal-title {
  font-weight: 700;
  font-size: 22px;
  color: white;
}

.landing-body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.overflow-y-scroll {
  overflow-y: scroll;
}

.landing-main-wrapper {
  padding-top: 57px;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Navbar
 */
.navbar {
  min-height: 60px;
  background-color: #09578a !important;
  padding: 0 32px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
}

.navbar-brand {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
}

.navbar .navbar-toggler {
  top: 0.25rem;
  right: 1rem;
}

.navbar-nav {
  width: 100%;
  flex-direction: row;
  position: initial;
  justify-content: flex-end;
}

.navbar-nav .nav-item {
  font-size: 16px;
  color: var(--color-white);
  margin-right: 80px;
}
.navbar-nav .nav-item:last-of-type {
  margin-right: 0;
}

.active a {
  color: #ffffff !important;
  text-decoration: underline;
}

.navbar-nav .nav-item a {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-smoke-white);
}
.navbar-nav .nav-item a:hover {
  text-decoration: underline;
  color: var(--color-white);
}

.navbar-nav .lang a:after {
  display: none;
}

.navbar-np-logo {
  width: 100%;
  height: 40px;
  max-width: 230px;
}

.navbar-nextpax .nav-item a {
  font-size: 14px;
}
.navbar-nextpax .nav-item a:after {
  display: none;
}

.navbar-nextpax .nav-item .nav-link {
  padding: 0;
}

.search {
  cursor: pointer;
  height: 24px;
}

.search-section {
  width: 100%;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  visibility: hidden;
}

.search-section.toggled {
  visibility: visible;
}

.search-section-input {
  width: 100%;
  background: var(--color-light-grey);
  border: none;
  padding: 5px 10px 5px 50px;
  font-size: 14px;
  caret-color: var(--color-main-blue);
  border-radius: 4px;
}

.search-section-input:placeholder {
  font-size: 14px;
}

.search-section-input:focus {
  outline: none;
}

/* .search-section-input:-webkit-search-cancel-button {
  appearance: none;
  background-image: url("../images/icons/search-icon-blue.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 24px;
  height: 20px;
} */

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 1em;
  width: 1em;
  background: url("../images/icons/close-icon-blue.svg") no-repeat 50% 50%;
  background-size: contain;
  opacity: 0;
  cursor: pointer;
}

input[type="search"]:focus::-webkit-search-cancel-button {
  opacity: 1;
  pointer-events: all;
}

.search-section-input-wrapper {
  width: 98%;
}

.navbar-np-logo {
  width: 100%;
  max-width: 230px;
}

.search-section-input-icon {
  width: 24px;
  height: 20px;
  margin: auto;
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  background-image: url("../images/icons/search-icon-blue.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.search-section-input-close-icon {
  width: 24px;
  height: 20px;
  margin: auto;
  position: absolute;
  right: 16px;
  top: 0;
  bottom: 0;
  background-image: url("../images/icons/close-icon-blue.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* Navbar */

/* Header */
.header-wrapper {
  height: calc(100vh - 57px);
  position: relative;
  padding: 180px 80px 280px 80px;
  background-image: url("../images/header-background-img.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}
.header-wrapper:before {
  content: "";
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(40, 40, 40, 0.65) 0%,
    rgba(51, 51, 51, 0) 66.15%
  );
}

.header-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.header-content-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-white);
}

.header-content-descripiton {
  font-size: 22px;
  color: var(--color-white);
}

.header-content-button-link {
  display: inline-block;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: 700;
  background-color: var(--color-orange);
  border-radius: 8px;
  color: var(--color-white);
  transition: background-color 0.5s ease-in-out;
}
.header-content-button-link:hover {
  color: var(--color-white);
  background-color: var(--color-light-orange);
  text-decoration: none;
}
/* / Header */

/* Login dev center */
.login-dev-center-content-left {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 20px 80px;
  background-color: var(--color-tertiary);
}

.login-dev-center-content-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary);
}

.login-dev-center-content-description {
  display: block;
  font-size: 16px;
  color: var(--color-primary);
}

.login-dev-center-content-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  transition: all 0.5s ease-in-out;
}
.login-dev-center-content-link:hover {
  text-decoration: none;
}

.login-dev-center-content-right {
  background-image: url("../images/login-dev-center-img.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 370px;
}
/* / Login dev center */

/* Api solutions */
.api-solutions-wrapper {
  padding: 80px 0 80px 0;
}

.api-solutions-content-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary);
}

.api-solutions-content-description {
  font-size: 16px;
  color: var(--color-primary);
}

.api-solutions-content-box {
  max-width: 450px;
  padding: 30px 70px;
  box-shadow: 4px 4px 10px rgba(155, 154, 154, 0.25);
  border-radius: 20px;
}

.api-solutions-content-box-icon {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.api-solutions-content-box-icon.da {
  width: 50px;
  height: 50px;
  background-image: url("../images/icons/distribution-api-icon.svg");
}

.api-solutions-content-box-icon.sa {
  width: 80px;
  height: 55px;
  background-image: url("../images/icons/supply-api-icon.png");
}

.api-solutions-content-box-icon.ba {
  width: 69px;
  height: 55px;
  background-image: url("../images/icons/bookings-api-icon.svg");
}

.api-solutions-content-box-title {
  font-size: 22px;
  font-weight: 700;
}

.api-solutions-content-box-description {
  font-size: 16px;
}

.api-solutions-content-box-link {
  display: inline-block;
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  transition: all 0.5s ease-in-out;
}
.api-solutions-content-box-link:hover {
  text-decoration: none;
}

.api-solutions-content-boxes-wrap {
  gap: 80px;
  margin-top: 64px;
}
/* / Api solutions */

/* Nextpax api solutions */
.np-api-solutions-wrapper {
  padding: 80px 100px 100px;
  background-color: var(--color-main-blue);
}

.np-api-solutions-title {
  margin-bottom: 40px;
  color: var(--color-white);
  font-size: 38px;
  font-weight: 700;
}

.np-api-solutions-desc {
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 64px;
  text-align: center;
}

.np-api-solutions-boxes-wrapper {
  gap: 40px;
}

.np-api-solutions-box-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
}

.np-api-solutions-box {
  max-width: 385px;
  position: relative;
  padding: 35px 35px 70px 35px;
  background: var(--color-white);
  box-shadow: 4px 4px 10px rgba(155, 154, 154, 0.25);
  border-radius: 20px;
}

.np-api-solutions-box-description {
  line-height: 35px;
  letter-spacing: 0.32px;
}

.np-api-solutions-box-link {
  width: auto;
  position: absolute;
  bottom: 35px;
}
/* / Nextpax api solutions */

/* Footer */
.footer-wrapper {
  padding: 0 80px;
  border-top: 1px solid var(--color-grey);
}

.footer-section-top {
  padding: 30px 0;
}

.footer-section-top-left {
  padding-right: 50px;
  border-right: 1px solid var(--color-main-blue);
}

.footer-section-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.footer-section-img {
  width: 265px;
  height: 100%;
  background-image: url("../images/footer-pci-img.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-section-top-right {
  padding-left: 50px;
}

.footer-section-list {
  padding-right: 10px;
}

.footer-section-list:last-of-type {
  padding-right: 0;
}

.footer-section-list label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-main-blue);
  margin-bottom: 24px;
}

.footer-section-list li {
  font-size: 14px;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.footer-section-list li:last-of-type {
  margin-bottom: 0;
}

.footer-section-list li a {
  color: var(--color-primary);
  transition: color 0.5s ease-in-out;
}
.footer-section-list li a:hover {
  color: var(--color-main-blue);
  text-decoration: none;
}

.footer-section-middle-icon {
  width: 48px;
  height: 48px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../images/icons/icon-info.svg");
}

.footer-section-middle {
  padding: 0 0 20px;
}

.footer-section-middle-text {
  font-size: 16px;
  color: var(--color-primary);
}

.footer-section-middle-mail {
  color: var(--color-primary);
}

.footer-section-middle-text span {
  font-size: 16px;
  font-weight: 700;
}

.footer-soc-media-links li {
  width: 32px;
  height: 24px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 50px;
  cursor: pointer;
}
.footer-soc-media-links li:last-of-type {
  margin-right: 0;
}
.footer-soc-media-links li a {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-soc-media-links .fb {
  background-image: url("../images/icons/icon-fb.svg");
}
.footer-soc-media-links .tw {
  background-image: url("../images/icons/icon-tw.svg");
}
.footer-soc-media-links .in {
  background-image: url("../images/icons/icon-insta.svg");
}
.footer-soc-media-links .yt {
  background-image: url("../images/icons/icon-yt.svg");
}
.footer-soc-media-links .li {
  background-image: url("../images/icons/icon-linkedin.svg");
}

.footer-section-bottom {
  padding: 20px;
  border-top: 1px solid var(--color-grey);
}
.footer-section-bottom span {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark-grey);
}
/* / Footer */

/* Floating button */
.floating-button {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  padding: 25px;
  border-radius: 50%;
  background-color: var(--color-white);
  background-image: url("../images/icons/icon-chevron-blue.svg");
  background-size: initial;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 3;
}
/* / Floating button */

/* Page title bar */
.page-title-bar {
  height: 50px;
  background-color: var(--color-light-blue);
  padding: 14px 32px;
  color: var(--color-main-blue);
  font-size: 18px;
  font-weight: 700;
  position: sticky;
  top: 60px;
  z-index: 2;
}
/* / Page title bar */

/* Api sections */
.api-section-main-wrapper {
  padding-top: 130px;
}

.api-section-image {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.api-section-image.da-img {
  background-image: url("../images/da-api-img.svg");
}
.api-section-image.sa-img {
  background-image: url("../images/sa-api-img.svg");
}

.api-section-text {
  padding: 130px 80px 80px;
}

.api-section-text h1 {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 32px;
}

.api-section-text span {
  font-size: 16px;
  line-height: 35px;
  letter-spacing: 0.32px;
  color: var(--color-primary);
}
/* / Api sections */

/* Bookings-api-capabilities-wrapper */
.bookings-api-capabilities-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.bookings-api-capabilities-wrapper .np-api-solutions-box {
  padding: 35px;
}

.bookings-api-capabilities-wrapper .np-api-solutions-box-title {
  font-size: 22px;
}

.bookings-api-capabilities-wrapper .np-api-solutions-box-description {
  line-height: initial;
}

.bookings-icon {
  width: 80px;
  height: 90px;
}

.bookings-icon.compliance-icon {
  background-image: url("../images/icons/compliance-icon.svg");
}

.bookings-icon.sync-icon {
  background-image: url("../images/icons/sync-icon.svg");
}

.bookings-icon.reporting-icon {
  background-image: url("../images/icons/reporting-icon.svg");
}

.bookings-icon.reservation-icon {
  background-image: url("../images/icons/reservation-icon.svg");
}

.bookings-icon.cancelation-icon {
  background-image: url("../images/icons/cancelations-icon.svg");
}

.bookings-icon.payments-icon {
  background-image: url("../images/icons/payments-icon.svg");
}
/* / Bookings-api-capabilities-wrapper */

/* Modal */
.modalDialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 99999;
  opacity: 0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
  display: none;
  align-items: center;
  justify-content: center;
}
.modalDialog:target {
  opacity: 1;
  pointer-events: auto;
  display: flex;
}

.modal-wrapper {
  width: 930px;
  position: relative;
  padding: 24px;
  box-shadow: 4px 4px 10px rgba(155, 154, 154, 0.25);
  border-radius: 8px;
  background: var(--color-white);
}

.modal-header {
  padding: 0 0 24px 0;
}

.modal-header-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}

.modal-header-close {
  width: 18px;
  height: 18px;
  background-image: url("../images/icons/close-icon-blue.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 22px;
  color: var(--color-main-blue);
}
.modal-header-close:hover {
  text-decoration: none;
}

.modal-body-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.modal-body-lang {
  margin-right: 50px;
  cursor: pointer;
}

.modal-body-lang span {
  font-size: 16px;
  color: var(--color-primary);
}

.modal-body-lang img {
  width: 20px;
  height: 20px;
}
/* / Modal */

/* Docs */
.docs-main-wrapper .api-solutions-wrapper {
  padding: 130px 0 80px 0;
}


/* 
* Responsive styling
*/
@media (max-width: 1430px) {
  .np-api-solutions-wrapper {
    padding: 80px 30px 100px;
  }
  .api-solutions-content-boxes-wrap {
    max-width: 100%;
  }
  .api-solutions-wrapper {
    padding: 80px;
  }
}

@media (max-width: 1290px) {
  .np-api-solutions-wrapper {
    padding: 80px 100px 100px;
  }
  .api-solutions-content-boxes-wrap {
    flex-direction: column;
    gap: 30px;
    padding: 0 70px;
  }
  .np-api-solutions-boxes-wrapper {
    flex-direction: column;
  }
  .np-api-solutions-box {
    max-width: initial;
  }
  .api-solutions-content-box {
    max-width: initial;
  }

  /* Docs */
  .api-section-text {
    padding: 100px 30px 30px;
  }
}

@media(max-width: 1110px) {
  .bookings-api-capabilities-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .api-section-main-wrapper {
    padding-top: 0;
  }
  .docs-main-wrapper .api-solutions-wrapper {
    padding: 80px;
  }
  .navbar-nav .nav-item {
    margin-right: 40px;
  }
  .footer-wrapper {
    padding: 0 32px;
  }
}

@media(max-width: 900px) {
  .navbar {
    min-height: initial;
    position: sticky;
    padding: 0 20px 10px 20px;
    justify-content: center;
    flex-wrap: wrap !important;
  }
  .navbar-brand {
    justify-content: center;
    padding: 0;
  }
  .navbar-nav {
    justify-content: center !important;
  }
  .nav-item a {
    font-size: 16px;
  }
}

@media(max-width: 600px) {
  .bookings-api-capabilities-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}


@media (max-width: 768px) {
  .page-title-bar {
    top: 85px;
    font-size: 16px;
    height: 40px;
    padding: 0 20px;
  }
  .navbar-nav .nav-item {
    margin-right: 24px;
  }
  .navbar-nav .nav-item:last-of-type {
    margin-right: 0;
  }
  .portal-title {
    font-size: 18px;
    margin-left: 10px !important;
  }
  .search-section {
    top: 40px;
  }
  .navbar-np-logo {
    width: 100%;
    max-width: 150px;
  }

  /* Global */
  .landing-main-wrapper {
    padding-top: 0;
  }
  .floating-button {
    right: 20px;
    bottom: 20px;
  }

  /* Header */
  .header-wrapper {
    padding: 30px 20px;
    height: calc(70vh - 57px);
  }
  .header-content {
    padding: 0;
  }
  .header-content-title {
    font-size: 34px;
  }
  .header-content-descripiton {
    font-size: 20px;
  }
  .header-content-button-link {
    font-size: 16px;
  }

  /* Login dev center */
  .login-dev-center-wrapper {
    flex-direction: column;
  }
  .login-dev-center-content-left {
    padding: 20px;
  }
  .login-dev-center-content-title {
    font-size: 26px;
  }

  /* Api solutions */
  .api-solutions-wrapper {
    padding: 20px;
    align-items: flex-start !important;
  }
  .docs-main-wrapper .api-solutions-wrapper {
    padding: 20px;
  }
  .api-solutions-content-title {
    font-size: 26px;
  }
  .api-solutions-content-boxes-wrap {
    flex-direction: column;
    margin-top: 20px;
    gap: 20px;
    padding: 0;
  }
  .api-solutions-content-box {
    padding: 20px;
  }

  /* NP Api solutions */
  .np-api-solutions-wrapper {
    padding: 20px;
  }
  .np-api-solutions-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .np-api-solutions-boxes-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .np-api-solutions-box {
    padding: 20px 20px 70px 20px;
  }

  /* Footer */
  .footer-section-top {
    padding: 20px;
    flex-direction: column;
  }
  .footer-section-top-left {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-main-blue);
  }
  .footer-section-top-right {
    padding-left: 0;
  }
  .footer-section-middle {
    padding: 0 20px 20px;
    flex-direction: column;
  }
  .footer-section-middle-text span {
    font-size: 14px;
  }
  .footer-section-middle-left {
    margin-bottom: 20px;
  }

  /* Docs */
  .api-section-wrapper {
    flex-direction: column-reverse !important;
  }
  .api-section-image {
    height: 300px;
    width: 100% !important;
  }
  .api-section-text {
    width: 100% !important;
    padding: 20px;
  }
  .api-section-text h1 {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .api-section-text span {
    font-size: 14px;
    line-height: 30px;
  }
  .np-api-solutions-desc {
    text-align: left;
  }
}