/* -------------- */
/* SETUP */
/* DESKTOP */
/* MINI-DESKTOP */
/* TABLET */
/* MOBILE */
/* MINI-MOBILE */
/* SPECIAL BREAKPOINTS */
/* -------------- */

/* SETUP //////////////////////////////////////////////////////////////// */

:root {
  /* Default Colors */
  --color_darkGrey: #596363;
  --color_grey: #f1f1f1;
  --color_lightGrey: #ededed;
  --color_black: #000000;
  --color_white: #ffffff;
  --color_white-transp: #ffffff5f;

  /* Corporate Colors: */
  --color_blue: #005eaa;
  --color_blueOpac: rgba(0, 94, 170, 0.6);
  --color_lightBlue: rgba(0, 69, 145, 0.075);
  --color_anthrazit: #494d5f;
  --color_yellow: #ffe400;

  /* System */
  --color_green: #00871b;
  --color_orange: #fea137;
  --color_red: #cd0000;

  /* Font Sizes */
  --fsize_h1: 4.5rem;
  --fsize_h2: 2.4rem;
  --fsize_h3: 2.4rem;
  --fsize_h4: 2.4rem;
  --fsize_h5: 2.4rem;
  --fsize_h6: 2.4rem;
  --fsize_p: 1.15rem;
  --fsize_s: 0.85rem;
  --fsize_nav: 1.2rem;

  /* Borders */
  --border_link: 0.0625em solid var(--color_blue);
  --border_link-white: 0.0625em solid var(--color_white);
  --border_regular: 0.1rem solid var(--color_blue);
  --borderRadius_regular: 0em;
  --brandBorder: 0.15rem solid var(--color_blue);

  /* Layout */
  --nav_height: 7rem;
  --nav_trigger_offset: 0.4rem;
  --max_nav_width: 100%;
  --max_inner_width: 120rem;
  --x_padding: 4em;
  --y_padding: 4em;
}

/* FONTS – LICENSED TO CANONICA + LOTTI AG *******************************************************************************/

@font-face {
  /* Euclid Square Bold */
  /* Used for: titles, bold text */
  font-family: "Euclid Square";
  src: url("/wp-content/themes/oho/font/euclidsquare/EuclidSquare-Bold-WebXL.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/euclidsquare/EuclidSquare-Bold-WebXL.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  /* Euclid Square Medium */
  /* Used for: text */
  font-family: "Euclid Square";
  src: url("/wp-content/themes/oho/font/euclidsquare/EuclidSquare-Medium-WebXL.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/euclidsquare/EuclidSquare-Medium-WebXL.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Canonica Lotti Icon Font */
@font-face {
  font-family: "Canonica Lotti Icons";
  src: url("/wp-content/themes/oho/font/icon_canonicalotti/Canonica-Lotti.woff") format("woff"),
    url("/wp-content/themes/oho/font/icon_canonicalotti/Canonica-Lotti.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

[class*="icon-cl--"]:before {
  display: inline-block;
  font-family: "Canonica Lotti Icons";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: inherit;
}

.icon-cl--check:before {
  content: "\0041";
}

.icon-cl--arrow-right:before {
  content: "\0042";
}

.icon-cl--arrow-left:before {
  content: "\0042";
}

.icon-cl--chevron-left:before {
  content: "\0043";
}

.icon-cl--chevron-right:before {
  content: "\0044";
}

.icon-cl--pin:before {
  content: "\0045";
}

/* //////////////////////////////////////////////////////////////// */

html,
body {
  font-size: 1em;
  /* ensures that browser's default font size is used as a reference for rem */
  line-height: 1.45em;
  /* ideally the same line-height that is used on p tag */
}

body {
  font-family: "Euclid Square", sans-serif;
  font-weight: 500;
  margin: 0;
  font-feature-settings: "kern" 1;
  -webkit-font-kerning: normal;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  background: var(--color_blue);
}

h1,
.h1 {
  font-family: "Euclid Square", sans-serif;
  font-weight: 700;
  font-size: var(--fsize_h1);
  line-height: 1.1;
  letter-spacing: 0em;
  color: var(--color_blue);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

h2,
.h2 {
  font-family: "Euclid Square", sans-serif;
  font-weight: 700;
  font-size: var(--fsize_h2);
  line-height: 1.1;
  letter-spacing: 0em;
  color: var(--color_blue);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Euclid Square", sans-serif;
  font-weight: 700;
  font-size: var(--fsize_h3);
  line-height: 1.2;
  letter-spacing: 0em;
  color: var(--color_blue);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

p,
li,
p a,
.p,
.p a {
  font-family: "Euclid Square", sans-serif;
  font-weight: 500;
  font-size: var(--fsize_p);
  line-height: 1.45;
  letter-spacing: 0em;
  color: var(--color_blue);
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

/* ––– */

ul {
  padding-left: 2em;
}

ul.plain {
  padding-left: 0;
}

ul.plain li {
  list-style: none;
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

ul.plain li::before {
  content: none;
}

ul.left-aligned {
  padding-left: 1em;
}

/* ––– */

strong,
b {
  font-family: "Euclid Square", sans-serif;
  font-weight: 700;
  color: var(--color_blue);
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

/* --- */

address {
  font-style: normal;
}

/***** locked wysiwyg styles to avoid different title sizes */

.wysiwyg-editor h1,
.wysiwyg-editor h2,
.wysiwyg-editor h3,
.wysiwyg-editor h4,
.wysiwyg-editor h5,
.wysiwyg-editor h6 {
  font-family: "Euclid Square", sans-serif;
  font-weight: 700;
  font-size: var(--fsize_h2);
  line-height: 3.75;
  letter-spacing: 0.01em;
  color: var(--color_blue);
  text-decoration: none;
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
  overflow: visible;
}

/* LINKS / GLOBAL INTERACTIONS *******************************************************************************/

/***** Links */

p a,
.p a,
td a {
  text-decoration: underline;
  /* border-bottom: var(--border_link); 
  padding: 0em 0em 0.0625em 0em; */
}

p a.plain,
.p a.plain,
td a.plain {
  text-decoration: none;
}

p a:hover,
.p a:hover {
  cursor: pointer;
  /* border-bottom: var(--border_link); */
  color: var(--color_blue);
}

p a strong,
p a b,
.p a strong,
.p a b {
  padding: 0;
  font-weight: 700;
}

a {
  color: var(--color_blue);
  text-decoration: none;
  cursor: pointer;
}

p a.plain:hover,
.p a.plain:hover,
td a.plain:hover {
  text-decoration: underline;
}

.fcolor--white a {
  border-bottom: var(--border_link-white);
}

.fcolor--white a:hover {
  color: var(--color_white);
}

/***** Buttons */

button,
.button,
.link {
  font-family: "Euclid Square", sans-serif;
  font-size: var(--fsize_p);
  letter-spacing: 0em;
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
  display: inline-block;
  background: none;
  border-radius: 0px;
  border: none;
  padding: 0.5em 0.8125em;
  font-weight: 700;
  text-transform: uppercase;
}

.button {
  background: var(--color_blue);
  color: var(--color_white);
  border-radius: var(--borderRadius_regular);
  margin-top: 0em;
  cursor: pointer;
}

.button.neg {
  background: var(--color_white);
  color: var(--color_blue);
  border: var(--border_regular);
}

.button.hover-slide-up {
  cursor: pointer;
  display: inline-block;
  border: var(--brandBorder);
  border-color: var(--color_blue);
  background: var(--color_white);
  color: var(--color_blue);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button.hover-slide-up::after {
  content: "";
  position: absolute;
  width: 101%;
  height: 101%;
  top: 0;
  left: 0;
  background: var(--color_blue);
  transform: translateY(100%);
  z-index: -1;
  transition: all 0.2s cubic-bezier(0.77, 0, 0.18, 1);
}

.button.hover-slide-up:hover::after {
  transform: translateY(0%);
}

.button.hover-slide-up:hover {
  color: var(--color_white);
}

/* Special links */

.link {
  padding: 0;
}

.link--arrow-right,
.link--arrow-left {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  padding-right: 2.25em;
}

.link--arrow-left {
  padding-left: 2.25em;
}

.link--arrow-right::after,
.link--arrow-left::after {
  content: "\0042";
  position: absolute;
  right: 0;
  display: inline-block;
  font-family: "Canonica Lotti Icons";
  font-size: 1.5em;
  font-style: normal;
  font-weight: normal;
  line-height: inherit;
  color: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 0.2s ease;
}

.link--arrow-left::after {
  right: auto;
  left: 0;
  transform: rotate(180deg);
}


.link--arrow-right:hover::after {
  transform: translateX(0.35em);
}

.link--arrow-left:hover::after {
  transform: rotate(180deg) translateX(0.35em);
}

/**/

.centered-button {
  width: 100%;
  text-align: center;
  margin: 1.875em 0;
}

.centered-button .button {
  display: inline;
}

/***** Default Interactions */

::-moz-selection {
  background: var(--color_blue);
  color: var(--color_white);
}

::selection {
  background: var(--color_blue);
  color: var(--color_white);
}

*:focus {
  outline: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* MISC *******************************************************************************/

/***** hide stuff on specific breakpoints */

.no-xl,
.no-lg {
  display: none;
}

/***** SVG shapes */
.svg-wrap {
  position: relative;
}

.svg-wrap svg {
  width: auto;
  height: 100%;
}

.svg-wrap svg.canonica-lotti-logo .companyname,
.svg-wrap svg.canonica-lotti-logo .leftbox,
.svg-wrap svg.canonica-lotti-signet .leftbox {
  fill: var(--color_blue);
}

.svg-wrap svg.canonica-lotti-logo .rightbox,
.svg-wrap svg.canonica-lotti-signet .rightbox {
  fill: var(--color_yellow);
}

.svg-wrap svg.canonica-lotti-logo .cl,
.svg-wrap svg.canonica-lotti-logo .arrow,
.svg-wrap svg.canonica-lotti-signet .cl,
.svg-wrap svg.canonica-lotti-signet .arrow {
  fill: var(--color_white);
}


/* DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

/*
-----------------------------------------------------------------------------

01. Presets

-----------------------------------------------------------------------------
*/

/* LAYOUT *******************************************************************************/

/* body {
  background: var(--color_anthrazit);
} */

main {
  position: relative;
  overflow: hidden;
}

.main__inner {
  padding-top: var(--nav_height);
  /* Space to Navigation */
}

.sec-wrap {
  width: 100%;
  height: auto;
  background: var(--color_white);
  position: relative;
}

.sec-wrap__inner {
  position: relative;
  width: 100%;
  height: auto;
  max-width: var(--max_inner_width);
  margin-left: auto;
  margin-right: auto;
  padding: var(--y_padding) var(--x_padding);
}

.sec-wrap__inner.no-sibling-padding~.sec-wrap__inner {
  padding-top: 0;
}

.sec-wrap__inner.pxy0 {
  padding: 0;
}

.sec-wrap__inner.px0 {
  padding-left: 0;
  padding-right: 0;
}

.sec-wrap__inner.py0 {
  padding-top: 0;
  padding-bottom: 0;
}


.sec-wrap__inner.pt0 {
  padding-top: 0;
}

.sec-wrap__inner.pb0 {
  padding-bottom: 0;
}

.sec-wrap__inner.full {
  max-width: 100%;
}

.sec-wrap__inner.narrow {
  max-width: 109em;
}

.sec-wrap__inner.narrower {
  max-width: 84em;
}

.sec-wrap__inner.slim {
  max-width: 76em;
}

.sec-wrap__inner.slimmer {
  max-width: 60em;
}

.sec-wrap__inner.slim-af {
  max-width: 50em;
}

/****** Flex Container */

.flex-wrap {
  display: flex;
}

/***** Text columns */

.text-2-columns {
  column-count: 2;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  -ms-column-count: 2;
  column-gap: 1.875em;
  -webkit-column-gap: 1.875em;
  -moz-column-gap: 1.875em;
  -ms-column-gap: 1.875em;
  margin: 1.875em 0;
}

.text-3-columns {
  column-count: 3;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  -ms-column-count: 3;
  column-gap: 2em;
  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  -ms-column-gap: 2em;
}

/***** Text overflow */

span.nobreak {
  white-space: nowrap;
}

span.shorten {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/**/

.text-left {
  text-align: left;
}

.centered-text h1,
.centered-text h2,
.centered-text h3,
.centered-text h4,
.centered-text h5,
.centered-text h6,
.centered-text p,
.centered-text span,
.centered-text a,
h1.centered-text,
h2.centered-text,
h3.centered-text,
h4.centered-text,
h5.centered-text,
h6.centered-text,
p.centered-text,
span.centered-text,
a.centered-text {
  text-align: center;
}

/***** Centered image */

.centered-image-wrap {
  width: 100%;
  margin: auto;
  height: 28em;
  position: relative;
  overflow: hidden;
  /* fallback for bg-img usage */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.centered-image-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.centered-image-wrap.full img {
  width: 100%;
}

/***** Covered image wrap */

.covered-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.covered-image-wrap.fallback {
  background-color: var(--color_blue);
  background-position: center;
  background-image: url("/wp-content/uploads/canonica-lotti-teambilder-platzhalter.jpg");
  background-repeat: no-repeat;
  background-size: 60%;
}

.covered-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/***** Contained image wrap */

.contained-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.contained-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

/**** ie-browser fixes */

.browser-ie .covered-image-wrap,
.browser-edge .covered-image-wrap {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/***** Vertical centered */

.centered--vertical {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

/*
-----------------------------------------------------------------------------

02. Footer

-----------------------------------------------------------------------------
*/

.footer-wrap {
  position: relative;
  z-index: 99;
  width: 100%;
  height: auto;
}

.footer-wrap__inner {
  margin: 0 auto;
  max-width: var(--max_nav_width);
  padding: 1.5rem var(--x_padding) 1.75rem var(--x_padding);
}

.footer-wrap .law-links {
  text-align: right;
}

.footer-wrap .address-wrap .box {
  padding-right: 3em;
}

/* MINI-DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 86em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  :root {
    /* Font Sizes */
    --fsize_h1: 4.2rem;
    --fsize_h2: 2.1rem;
    --fsize_h3: 2.1rem;
    --fsize_h4: 2.1rem;
    --fsize_h5: 2.1rem;
    --fsize_h6: 2.1rem;
    --fsize_p: 1.1rem;

    /* Layout */
    --x_padding: 3em;

    /* Swiper */
    --swiper-navigation-size: 1.5rem;
  }


  .no-xl {
    display: inherit;
  }

  .sec-wrap__inner.slim {
    max-width: 70em;
  }

  .sec-wrap__inner.slimmer {
    max-width: 54em;
  }

  .sec-wrap__inner.slim-af {
    max-width: 45em;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */

  .footer-wrap .address-wrap {
    flex-basis: calc(100% - 12rem);
  }

  .footer-wrap .law-links {
    flex-basis: 12rem;

    display: flex;
    justify-content: flex-end;
    flex-direction: column;
  }
}

/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 55em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  :root {
    /* Font Sizes */
    --fsize_h1: 3.2rem;
    --fsize_h2: 1.6rem;
    --fsize_h3: 1.6rem;
    --fsize_h4: 1.6rem;
    --fsize_h5: 1.6rem;
    --fsize_h6: 1.6rem;
    --fsize_p: 1.075rem;

    /* Swiper */
    --swiper-navigation-size: 1.25rem;
  }

  .no-md {
    display: none;
  }

  .no-lg {
    display: inherit;
  }

  span.no-lg {
    display: inline;
  }

  /* LAYOUT *******************************************************************************/

  .main__inner {
    margin-top: 0;
  }
}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 36em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    /* Font Sizes */
    --fsize_h1: 2rem;
    --fsize_h2: 1.25rem;
    --fsize_h3: 1.25rem;
    --fsize_h4: 1.25rem;
    --fsize_h5: 1.25rem;
    --fsize_h6: 1.25rem;
    --fsize_p: 0.95rem;
    --fsize_s: 0.75rem;

    /* Layout */
    --x_padding: 2em;
    --y_padding: 3em;
  }

  h1,
  .h1,
  h2,
  .h2 {
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual;
  }

  .no-sm {
    display: none;
  }

  .no-md {
    display: inherit;
  }

  span.no-md {
    display: inline;
  }


  ul {
    padding-left: 1.5em;
  }

  /**/

  .text-left-sm h1,
  .text-left-sm h2,
  .text-left-sm h3,
  .text-left-sm h4,
  .text-left-sm h5,
  .text-left-sm h6,
  .text-left-sm p,
  .text-left-sm span,
  .text-left-sm a,
  h1.text-left-sm,
  h2.text-left-sm,
  h3.text-left-sm,
  h4.text-left-sm,
  h5.text-left-sm,
  h6.text-left-sm,
  p.text-left-sm,
  span.text-left-sm,
  a.text-left-sm {
    text-align: left;
  }

  /* LAYOUT *******************************************************************************/

  .main__inner {
    margin-top: 0;
    /* Space to Navigation */
  }

  /**/

  .text-2-columns {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
  }

  .text-3-columns {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */

  .footer-wrap .address-wrap,
  .footer-wrap .law-links {
    flex-basis: 100%;
  }

  .footer-wrap .law-links {
    margin-top: 2.5em;
    text-align: left;
  }

  .footer-wrap .address-wrap .box {
    padding-right: 0;
  }
}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 27em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /**/

  .text-left-xs h1,
  .text-left-xs h2,
  .text-left-xs h3,
  .text-left-xs h4,
  .text-left-xs h5,
  .text-left-xs h6,
  .text-left-xs p,
  .text-left-xs span,
  .text-left-xs a,
  h1.text-left-xs,
  h2.text-left-xs,
  h3.text-left-xs,
  h4.text-left-xs,
  h5.text-left-xs,
  h6.text-left-xs,
  p.text-left-xs,
  span.text-left-xs,
  a.text-left-xs {
    text-align: left;
  }

  /* MISC *******************************************************************************/

  .no-xs {
    display: none;
  }

  .no-sm {
    display: inherit;
  }

  span.no-sm {
    display: inline;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */
}

/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */

/* Printer */

@media print {
  @page {
    margin: 1cm;
  }

  header,
  nav,
  footer {
    display: none;
  }

  img {
    max-width: 31.25em;
    visibility: visible !important;
  }
}