html,
body {
  font-family: SansOri, SansOriFallback, sans-serif;
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 62.5%;
  font-size: 63.0%\0; /* IE has again different recalc for rem units */
}

body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-size: 1.4rem;
}

a {
  color: var(--default-main);
  text-decoration: none;
}

a:hover,
a:focus,
.active {
  color: var(--primary-main);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: normal;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

svg:not(:root) {
  /* Corrects overflow displayed oddly in IE 9. */
  overflow: hidden;
}

::selection {
  background: var(--grey-300);
  color: var(--common-black);
}

.upper {
  text-transform: uppercase;
}

.hidden-accessible {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
}

.main,
.left-side,
.right-side {
  height: 100%;
  background-color: transparent;
}

.left-side {
  background-color: var(--common-white);
}

.right-side {
  display: none;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

@media only screen and (min-width: 768px) {
  .main {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .left-side {
    grid-column: 1;
  }

  .right-side {
    grid-column: 2;
    display: block;
    background-image: url("../images/oriflame-girls-1280.jpg");
  }
}

.ui-landing-nav {
  margin: 0 auto;
  display: table;
  height: 100%;
  width: 90%;
  max-width: 440px;
  background-color: var(--common-white);
}

.box-vertical {
  display: table-cell;
  vertical-align: middle;
}

.logo {
  text-align: center;
  font-weight: 700;
  line-height: 1.25em;
}

.logo .oriflame-logo {
  width: 260px;
}

.category-title {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 700;
  line-height: 52px;
  text-transform: uppercase;
}

.category-title:first-of-type {
  margin-top: 0;
}

.accordion .accordion-item {
  padding: 11px 0;
  clear: both;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  position: relative;
}

.accordion .accordion-item + .accordion-item {
  border-top: 0;
}

.accordion .accordion-item:hover {
  color: var(--primary-main);
}

.accordion .accordion-item .heading {
  margin-right: 9px;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 13px;
  line-height: 30px;
  cursor: pointer;
}

.accordion .accordion-item .heading.expanded {
  color: var(--primary-main);
}

.accordion .accordion-item .heading::before {
  position: absolute;
  left: auto;
  right: 10px;
  top: 11px;
  display: block;
  content: "\3e";
  font-family: IconsOri;
}

.accordion .accordion-item .heading.expanded:before {
  content: "\22c1";
}

.accordion .accordion-item .content {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  overflow: hidden;
  opacity: 0;
  max-height: 0px;
  -webkit-transition: max-height 0.4s ease-in-out; /* older Android browser */
  -webkit-transition-property: opacity, max-height, margin;
  transition: max-height 0.4s ease-in-out;
  transition-property: opacity, max-height, margin;
}

.accordion .accordion-item .content.expanded {
  margin: 9px 0 0;
  opacity: 1;
}

.accordion .accordion-item .content .g-half {
  width: 49.187%;
  margin-right: 1.626%;
  display: block;
  float: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  list-style: none;
}

.accordion .accordion-item .content .g-last {
  margin-right: 0;
  width: 49.187%;
}

@media only screen and (max-width: 1024px) {
  .ui-landing-nav .market-link {
    line-height: 2;
    display: inline-block;
  }
}

@media only screen and (max-width: 919px) {
  .accordion .accordion-item .content .g-half {
    width: 100%;
    margin: 0;
    float: none;
  }
}

#popup-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

#popup-lang-switcher {
  margin: 0 auto;
  padding: 0;
  min-width: 90px;
  min-height: 50px;
  max-width: 780px;
  display: block;
  position: absolute;
  z-index: 1001;
  border: 1px solid var(--grey-300);
  background: var(--common-white);
  border-radius: 5px;
  box-sizing: border-box;
  outline: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 28px);
  display: none;
}

#popup-lang-switcher .titlebar {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 8px 0 0;
}

#popup-lang-switcher .icon-close {
  display: inline-block;
  font-size: 19px;
  line-height: 19px;
}

#popup-lang-switcher .icon-close::before {
  content: "\2716";
  font-family: IconsOri;
}

#popup-lang-switcher .content {
  margin: 0 auto;
  padding: 20px;
  overflow: hidden;
  display: block;
}

#popup-lang-switcher .content .intro-text {
  margin: 10px 0;
}

#popup-lang-switcher .button {
  margin: 10px auto;
  width: 100%;
  float: none;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  height: 45px;
  padding: 0 25.5px;
  line-height: 43px;
  color: var(--common-white);
  border: 2px solid var(--primary-main);
  background: var(--primary-main);
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 100%;
  font-weight: 700;
  border-radius: 999px;
  -webkit-transition: -webkit-box-shadow 0.15s, -webkit-transform 0.15s;
  transition: box-shadow 0.15s, transform 0.15s, -webkit-box-shadow 0.15s,
    -webkit-transform 0.15s;
}

#popup-lang-switcher .button:not([disabled]):hover,
#popup-lang-switcher .button:not([disabled]):focus {
  color: var(--common-white);
  box-shadow: 0 3px 8px 0 rgba(51, 51, 51, 0.1);
  background: var(--primary-main);
  transform: scale(1.01);
}

#popup-lang-switcher .button.secondary,
#popup-lang-switcher .button.secondary:not([disabled]):focus,
#popup-lang-switcher .button.secondary:not([disabled]):hover {
  color: var(--common-black);
  background: var(--common-white);
  border-color: var(--grey-300);
}

@media only screen and (min-width: 768px) {
  #popup-lang-switcher {
    width: calc(100% - 38px);
  }

  #popup-lang-switcher .button {
    margin: 10px 11px 10px 11px;
    float: left;
    width: 47.5%;
    width: calc(50% - 22px);
  }
}
