/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

:root {  
  --footer-background: var(--dark-neutral800);
  --footer-color: var(--light-neutral200);
  --footer-color-dark: var(--light-neutral900);
  --footer-font-size: var(--text-md-regular);
  --footer-font-headline: var(--text-lg-regular);
  --footer-font-small: var(--text-sm-regular);
  --footer-dropdown: var(--light-neutral100);  
  --footer-dropdown-highlight: var(--light-neutral200);
  --footer-border-color: #7e858d;
  --footer-flag-border: #b2b2b2;
}

/* main settings and spacings */
.footerWrapper {
  background: var(--footer-background);
  color: var(--footer-color);
}
.footerRow {  /* All Footer */
  margin: 0px 96px 0px;
  @media (width < 720px) { margin: 0px 30px 0px;}
}
.footerFirstRow {  /* Full Footer */
  padding-top: 96px;
  @media (width < 720px) { padding-top: 30px;}
}
.footerSecRow {  /* Full Footer */
  align-content: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footerFirstRow ~.footerSecRow {  /* Full Footer */
  margin-top: 96px;
  @media (width < 720px) { margin-top: 56px;}  
}
.footerThirdRow {  /* Slim Footers */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  @media (width < 1170px) { justify-content: space-around;}  
  padding-top: 10px;
  padding-bottom: 10px;
}
.footerSecRow ~ .footerThirdRow {  /* Full Footer */
  margin-top: 64px;
  border-top: 1px solid var(--footer-border-color);
  padding: 18px 0 48px;
  justify-content: space-between;
}

/* Linklist First Row */
#footer ul, 
#footer li {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul li.hs-menu-depth-1 > a {
  display: none
}
ul.maincolumns {
  display: flex;
  gap: 96px;
  flex-wrap: wrap;
  @media (width < 720px) {
    justify-content: space-between;
    gap: 40px;
  }
}
ul.maincolumns li {
  min-width: 220px;
}
ul.maincolumns li a {
  color: var(--footer-color);
  font-size: var(--footer-font-size);
  font-weight: 400;
  line-height: 34px;
  text-decoration: none;
}
ul.maincolumns li a:hover {
  text-decoration: underline;
}

ul.maincolumns li.hs-item-has-children > a {
  font-size: var(--footer-font-headline);
  font-weight: 600;
  line-height: 40px;
  pointer-events: none;
}
  


/* linklist tags */
/* list item should look like this: "Jobs <span class="tags yellow">We are hiring</span>" */
ul.maincolumns span.tags {
  background-color: var(--bg-brand-primary);
  border-radius: 15px;
  color: var(--pineapple-900);
  font-size: var(--footer-font-small);
  padding: 4px 8px;
  &.yellow {
    background-color: var(--bg-brand-primary);
    color: var(--pineapple-900);
  }
  &.purple {
    background-color: var(--bg-accent-solid);
    color: var(--text-white-primary);
  }
}


/* Language and Social Media Row */
 .footerSecRow .languageDropdownWrapper,
 .footerSecRow .socialIconWrapper {
  @media (width < 1024px) {
    margin-top: 40px;
  }
}
.languageDropdownWrapper,
.socialIconWrapper {
  display: flex;
  align-items: center;
  @media (width < 1024px) {
    flex-direction: column;
    align-items: start;
  }
}

.languageDropdownWrapper .countryLabel,
.socialIconWrapper .socialLabel {
  font-size: var(--footer-font-headline);
  font-weight: 600;
  margin-right: 30px;
  line-height: 2;
  color: var(--footer-color);
}

/* Social media icons */
.iconWrapper {
  display: flex;
  align-items: center;
}
.footerIcon {
  margin: 0 8px 0;
}
.footerIconBox {
  display: block;
  height: 24px;
  width: 24px;
  overflow: hidden;
  align-content: center;
  justify-content: center;
  background-color: transparent;
}
.footerIconBox svg {
  display: block;
  width: auto;
  height: 24px;
}
.footerIconBox svg path {
  fill: white;
}

.footerIconBoxXing svg {
  margin-left: 3px;
  width: 18px;
  height: 18px;
}
a:nth-of-type(1) .footerIconBox {
  display: block;
  padding-right: 4px;
}

.footerIconBoxLinkedin svg {
  height: 22px;
}
.footerIconBoxYoutube {
  width: 32px;
}
.footerIconBoxFacebook {
  height: 28px;
  width: 32px;
}
.footerIconBoxFacebook svg {
  height: 32px;
}
.footerIconBoxInsta {
  margin-left: 2px;
}

/* Countryselector */
.container {
  max-width: 400px;
  margin: 0px 15px;
  width: 100%;
}
.dropdown {
  width: 260px;
  height: 44px;
  user-select: none;
  position: relative;
  display: flex;
  justify-content: start;
  z-index: 9;
  margin-right: 0.5rem;
}
.dropdown .dropdown-btn {
  padding: 0px;
  background: var(--footer-dropdown);
  text-align: left;
  color: #333;
  border-bottom: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
}

.dropdown .dropdown-btn > div {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: var(--footer-font-size);
  position: relative;
  margin: 0 10px;
  user-select: none;
  pointer-events: none;
  width: 100%;
  text-align: left;
}
.dropdown .dropdown-btn > div svg {
  transition: transform .25s ease-in-out;
  transform: rotateZ(0deg);
}
.dropdown .dropdown-btn.active > div svg {
  transform: rotateZ(180deg);
}
.dropdown .dropdown-btn .countryName {
  flex: 2;
}

.dropdown .dropdown-btn i {
  color: var(--footer-color-dark);
  line-height: 1.5;
  pointer-events: none;
}
.dropdown .dropdown-btn.active {
  border-top-left-radius: unset;
  border-top-right-radius: unset;
  border-top: 1px solid #b2b2b2;
}
.dropdown .dropdown-content {
  position: absolute;
  box-shadow: 0 1px 2px 1px rgba(0,0,0,0.3);
  bottom: calc(100% - 5px);
  left: 0;
  background: var(--footer-dropdown);
  border-radius: 5px;
  width: 100%;
  overflow: hidden;
  display: none;
}
.dropdown .dropdown-content .dropdown-item {
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  justify-content: start;
  text-decoration: none;
  font-weight: 400;
  font-size: var(--footer-font-size);
  color: var(--footer-color-dark);
  &:hover {
    background-color: var(--footer-dropdown-highlight);
  }
}
.dropdown .dropdown-content .dropdown-item:not(:last-child) {
  border-bottom: 1px solid #b2b2b2;
}

.dropdown .dropdown-content.active {
  display: block;
  border-bottom-left-radius: unset;
  border-bottom-right-radius: unset;
}

i.cSFlag {
  width: 35px;
  height: 24px;
  display: block;
  background-size: contain;
  background-position: 0 50%;
  background-repeat: no-repeat;
  margin-right: 8px;
  border: 1px solid var(--footer-flag-border);
}
/* Countryselector */

/* Impress and Copyright Row */
.footerThirdRowContentWrapper a {
  color: var(--footer-color) !important;
  font-size: var(--footer-font-size);
  font-weight: 400;
  text-decoration: none;
  padding-right: 15px;
}
.footerThirdRowContentWrapper a :hover,
.footerThirdRowContentWrapper a :active {
  text-decoration: underline;
}
.footerThirdRowContentWrapper a :visited {
  color: var(--footer-color);
}
  
 
/* dropdown in slim footer */
.footerThirdRow .languageDropdownWrapper {
  align-items: center;
  flex-direction: initial;
  margin-top: unset;
  position: relative;
  z-index: 10;
}
.footerThirdRow .languageDropdownWrapper .dropdown {
  height: 40px;
  width: 140px;
}
.footerThirdRow .languageDropdownWrapper .dropdown-btn {
  height: 40px;
}
}