.pageBg {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%),
    url("/wp-content/uploads/contact_bg.webp") !important;
}

.fancybox__backdrop {
  background-color: var(--colorBrandPrimary20) !important;
}

#contact-button {
  display: none !important;
}

.leftSide .logo {
  /* margin-bottom: 2vh; */
  width: 50%;
  max-width: 30vh;
  display: none;
}
.contactInfo {
  font-size: 0.75rem !important;
  display: none;
  margin-top: 0.5rem 0;
}
#logo-white {
  width: 9vh;
  height: auto;
  transition: all 0.3s ease;
  display: inline-block;
  margin-left: auto;
}
#logoContainer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  top: 0;
  padding: 2vh 2vh 1vh 5%;
  gap: 1.5rem;
  z-index: 10;
  display: none;
}

.container {
  background-color: var(--colorBrandPrimary90);
  backdrop-filter: blur(5px);
  border-radius: 0.5rem;
  font-size: 16px;
  line-height: 0.4rem;
  text-align: justify;
  padding: 0.5rem 2rem 2rem;
  overflow: scroll;
  overflow-y: auto;
}
li {
  color: rgba(0, 0, 0, 0.7);
  text-align: left;
  margin: 0 0 1rem;
}
.fancybox__content {
  background: none !important;
}
.popupContent {
  backdrop-filter: blur(5px) !important;
}
.popupCloseButton {
  margin-top: 0 !important;
  top: 10px !important;
  right: 10px !important;
  /* top: 0px !important;
  right: 0px !important; */
}
.disclaimer {
  color: rgba(255, 255, 255, 0.7) !important;
  position: fixed;
  top: 2.2rem;
  /* top: initial; */
  left: 2rem;
  z-index: 10;
}
/* .col3 {
  align-content: start !important;
  gap: 1.5rem !important;
} */

/*------Cards CSS-----------------------*/

/* .col3 > div > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
} */

/* .col3 > div > div:last-child {
  background-color: var(--colorBrandSecondary90);
  text-align: left;
  color: white;
  position: relative;
  width: 100%;
  max-width: auto;
  font-size: min(1.3vw, 16px);
} */

.col3 ul {
  padding: 1rem;
}

.triangle {
  display: none;
  width: 12px;
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, -90%);
}

.main {
  /* padding: 15px 0 !important; */
  padding: 22px 0 60px 0;
  flex-direction: column;
  align-items: flex-start;
}

/*------General CSS-----------------------*/
.registerBtn {
  position: relative !important;
  top: 0rem !important;
  transform: none;
}

.rightSide {
  width: 100% !important;
  padding: 0 5% 0 2%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leftSide {
  /* width: 25% !important; */
  pointer-events: visible !important;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  align-items: center !important;
  text-align: center;
  justify-content: space-between;
  padding: 0 1rem 0 1rem !important;
}
.leftSide hr {
  display: none;
  width: 145px;
  margin: 1rem 0;
  background-color: #3d3843;
}

.leftSide h4 {
  display: none;
  color: white;
  font-family: var(--fontRegular);
  font-size: 14px;
  margin-bottom: 1rem;
}
.leftSide div {
  pointer-events: visible !important;
  pointer-events: visible !important;
}

.logo {
  display: none;
}

.companyLogo {
  width: 35%;
  margin-top: 1rem;
}

.companyLogo[src*="CW"] {
  width: 50% !important;
}

.personImage,
.teamPopupImage {
  width: 100px !important;
  height: auto;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 auto;
  background-position: bottom;
  transition: all 0.2s ease;
  /* filter: grayscale(0.4); */
  border: solid 5px var(--colorBrandSecondary);
  border-radius: 50%;
}
.col3 {
  /* flex-direction: column !important; */
  align-content: space-evenly;
  justify-content: flex-start;
  flex-wrap: nowrap;
  /* gap: 3.5rem 2rem; */
  overflow: hidden;
  overflow: auto;
  padding: 1rem 0;
  width: 95%;
  align-items: center;
  /* max-width: 1000px; */
}
.buttonPrimaryWithText {
  font-size: 0.8rem !important;
  padding: 0.75rem 0.7rem !important;
}

.leftSide h1 {
  /* display: none; */
  margin: 0;
  line-height: 1.2em !important;
  font-size: min(4vw, 20px);
}

h3,
.h3 {
  font-size: 20px;
  color: var(--colorWhite);
  white-space: nowrap;
  word-break: keep-all;
  text-align: center;
  /* margin: 0.25rem 0; */
  margin: 0;
  font-family: var(--fontHeader);
  text-shadow: 0 0 15px #000;
}

#disclaimer {
  display: none;
  max-height: 250px;
  max-width: 90%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5rem;
  pointer-events: all !important;
}

#disclaimer h6 {
  font-weight: 200;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

ul > li:last-child {
  margin: 0;
}

.contentIcon {
  height: min(32px, 22vh);
}

.rightSide {
  padding: 0;
  padding-top: 12px;
}

/* .leftSide {
  padding: 0;
} */

.phoneIcon {
  margin-right: 7px;
  vertical-align: middle;
  width: max(2vw, 2vh);
}

.contactCard {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: fit-content;

  /* gap: 0.5rem; */
  width: 90%;
  padding: 0;
  min-width: 30%;
}

.contactCardTop {
  width: 100%;
  background-color: transparent;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -50px;
  z-index: 2;
}

.contactCardTop h4 {
  font-family: var(--fontRegular);
  font-size: 14px;
  color: var(--colorWhite50);
  display: none;
}

.contactCardBottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: rgb(0 0 0 / 50%);
  /* padding: 1rem; */
  padding: 0.75rem 1rem;
  position: relative;
  width: fit-content;
  min-width: 200px;
  max-width: 350px;
  margin: 0;
  padding-top: 60px;
  border-radius: 0.2rem;
  font-size: 14px;
  backdrop-filter: blur(4px);
  /* border: solid 1px rgba(125, 125, 125, 0.2); */
  outline: 5px solid rgba(125, 125, 125, 0.05);
  border-top: 3px solid var(--colorBrandRed);
  gap: 0.5rem;
}

.contactCardBottom p {
  font-family: var(--fontLight);
  font-size: 12px;
  /* padding: 0 1rem; */
  letter-spacing: 0.1cap;
  line-height: 1.6;
}

.contactCardBottom h3 {
  margin: 0 !important;
}

.contactCardBottom .job {
  font-size: medium;
  color: gray;
}

.rightSide a:link,
a:visited {
  color: rgb(235, 235, 235) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 16px;
}

.col3 div a[href^="mailto"] {
  display: inline-block;
  /* font-size: 11px !important; */
  color: #cfc4c0 !important;
  font-weight: lighter !important;
}

.registerBtn {
  position: relative;
  right: 0;
}

#button-container {
  position: relative !important;
  transform: none !important;
  top: auto !important;
  right: auto !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  gap: 0.5rem;
}

/* -------------------------------------------- */

/* Styles for mobile landscape screens */
@media only screen and (min-width: 412px) and (max-height: 767px) and (orientation: landscape) {
  .main {
    padding: 15px 0 40px 0 !important;
  }
  .leftSide {
    /* flex-direction: column; */
    justify-content: space-between;
    align-items: start;
    text-align: left;
    width: 100% !important;
    gap: 1rem;
  }
  .contactCard {
    width: auto;
  }
  .buttonPrimaryWithText {
    /* margin: 1.25rem 0 0.5rem 0; */
    font-size: 1rem !important;
  }
  .rightSide {
    padding: 1% 1% 2% 2%;
    width: 100%;
  }

  .contactCardTop h4 {
    display: block;
  }

  .col3 {
    gap: 2rem;
    width: 100% !important;
    align-items: flex-start;
    padding-right: 1rem;
    /* align-content: center; */
  }
  .contactCardBottom {
    gap: 1rem;
  }
  h3,
  .h3 {
    margin: 0.75rem 0;
    font-size: 18px;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    /* top: initial; */
    left: 4rem;
    bottom: 6rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
}

/* Tablet Portrait (768px to 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .main {
    /* flex-direction: row; */
    /* padding: 16px 0 40px; */
  }
  .rightSide p {
    font-size: 10px;
  }

  /* .leftSide {
    flex-direction: column;
    align-items: start;
    width: 25% !important;
    gap: 1rem;
  } */
  /* #logoContainer {
    display: flex;
  } */

  .contentIcon {
    height: min(64px, 22vh);
  }
  .col3 {
    flex-direction: row !important;
    justify-content: center;
    align-content: space-evenly;
    gap: 1.25rem 2rem;
    /* padding: 15% 0; */
    padding-right: 1rem;
    padding: 25% 0 !important;
  }
  .contactCard {
    height: 100%;
    justify-content: center !important;
    max-height: 500px;
  }
  .contactCardBottom {
    flex: 1;
  }

  .teamPopupImage {
    width: 14vw;
  }
  .contactCardTop h4 {
    display: block;
  }

  h3,
  .h3 {
    margin: 0.5rem 0;
    font-size: 24px;
  }
  .companyLogo {
    display: inline;
  }
  /* .leftSide .logo {
    display: block;
  } */

  .buttonPrimaryWithText {
    font-size: 1.1rem;
    padding: 10px 24px;
    /* margin-top: 1.5rem; */
  }
  /* .registerBtn {
    right: initial !important;
    top: 50%;
    transform: translateY(300%);
    left: 5%;
  } */

  .leftSide hr {
    display: block;
    margin: 1rem 0 !important;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    /* top: initial; */
    left: 3rem;
    bottom: 5rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
}

/* Tablet landscape */
@media only screen and (min-width: 1024px) {
  .main {
    flex-direction: row;
    align-items: center;
    padding: 60px 0 40px;
  }
  .leftSide {
    padding-left: 2% !important;
    flex-direction: column;
    align-items: start !important;
    width: 35% !important;
  }

  .contentIcon {
    height: min(64px, 22vh);
  }

  .contactCard {
    width: fit-content;
    height: 100%;
    justify-content: center !important;
    /* gap: 1.25rem; */
  }
  .col3 {
    justify-content: space-evenly;
  }

  .teamPopupImage {
    width: 10vw;
  }
  .contactCardTop h4 {
    display: block;
  }
  .col3 {
    gap: 1.25rem 1rem;
    padding: 0;
    justify-content: center;
    /* align-content: center; */
  }

  .buttonPrimaryWithText {
    font-size: 1rem !important;
    /* margin-top: 1.5rem; */
  }

  .companyLogo {
    display: inline;
  }
  .leftSide .logo {
    display: block;
    margin-bottom: 1rem;
  }
  .leftSide h4 {
    display: block;
  }
  .leftSide hr {
    display: block !important;
  }
  .contactInfo {
    display: block;
    margin: 0.5rem 0;
  }
  #logoContainer {
    display: flex;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    /* top: initial; */
    left: 4rem;
    bottom: 6rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
}

@media only screen and (min-width: 481px) and (max-height: 430px) and (orientation: landscape) {
  .leftSide {
    gap: 1rem;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    /* top: initial; */
    left: 4rem;
    bottom: 8rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
  .leftSide {
    width: 100%;
  }
}
/* Desktop (1441px to 1920px) */
@media only screen and (min-width: 1441px) and (max-width: 1920px) {
  #logoContainer {
    display: flex;
  }
  /* Styles for desktop screens */
}

/* Large Desktop (1921px and above) */
@media only screen and (min-width: 1921px) {
  #logoContainer {
    display: flex;
  }
  /* Styles for large desktop screens */
}

/* Portrait Orientation */
@media only screen and (orientation: portrait) {
  /* Styles for portrait orientation */
}

/* Landscape Orientation */
@media only screen and (orientation: landscape) {
  #logoContainer {
    display: flex;
  }
  /* Styles for landscape orientation */
}

/* Large Devices and Tablets in Landscape Mode */
/* Styles for large screens and tablets in landscape orientation */
@media (min-width: 1024px) and (orientation: landscape) {
  .contactCardBottom {
    max-width: 320px;
    flex: 1;
  }
  .contactCard {
    height: 100%;
    max-height: 580px;
  }
  .col3 {
    flex-direction: row !important;
    padding: 6% 0;
    justify-content: center;
    align-content: center;
  }
  #logoContainer {
    display: flex;
  }
  .contentContainerLeft {
    display: flex;
  }
  .leftSide h1 {
    font-size: max(3vh, 14px);
  }
  .personImage {
    width: 120px !important;
  }
  .contactCardTop {
    margin-bottom: -60px;
  }
  .contactCardBottom {
    padding-top: 70px;
  }
  /* .registerBtn {
    right: initial !important;
    top: 50%;
    transform: translateY(320%);
    left: 5%;
  } */
}

/* Small Desktop */
/* @media only screen and (min-width: 1280px) and (max-width: 1440px) { */
@media only screen and (min-width: 1280px) {
  /* .rightSide {
    padding: 0 5% 0 2%;
  } */

  .teamPopupImage {
    width: 7vw;
  }
  .contactCardBottom {
    min-width: 210px;
  }

  .teamPopupImage {
    width: 25%;
  }
  h3,
  .h3 {
    margin: 0.5rem 0;
    font-size: 24px;
  }
  #logoContainer {
    display: flex;
  }

  /* a,
  a:link,
  a:visited {
    font-size: 18px;
  } */

  .col3 {
    overflow: hidden !important;
    padding: 10% 0;
  }

  .col3 div a[href^="mailto"] {
    display: inline-block;
    font-size: 15px !important;
  }

  /* .companyLogo {
    width: 30%;
  } */
  .phoneIcon {
    margin-right: 7px;
    vertical-align: sub;
    width: 2.4vh;
  }
  .disclaimer {
    position: fixed;
    top: initial;
    /* top: initial; */
    left: 4rem;
    bottom: 6rem;
    z-index: 10;
  }
  .leftSide h1 {
    display: inline-block;
    margin: 0;
    line-height: 1.2em !important;
  }
}
