/*
Theme Name: ASGS Rail
Author: eloq GmbH
Author URI: https://eloq.swiss/
Description: Die eloq GmbH macht nicht einfach Internetseiten. Wir bieten Ihnen durchdachte Konzepte, mischen Designkompetenz mit technischem Können und streben so nach der perfekten Internet-Präsenz unseres Kunden. Das vorliegende Theme wurde von uns mit Passion und Freude handgefertigt. Wir hoffen, Ihnen gefällt unsere Arbeit!
Version: 1.5.7
*/

/* Imports */

@import url("css/utilities.css");
/*
COLOR DEFINITIONS - GOES BELOW:
*/

:root {
    --orange: #e15501;
    --grey: #5a5a56;
    --grey-alt: #6c767c;
    --white: #fff;
    --white-alt: #ededed;
}

/* === Theme Specific === */

/* ----- GENERAL ----- */

body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  min-height: 100vh;
}

body > main {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

section,
a {
  position: relative;
}

/* END GENERAL */

/* --- TYPOGRAPHY --- */

/* === Typo === */

@font-face {
  src: url("./fonts/URWDIN-Light/font.eot");
  font-family: "URWDIN-Light";
  font-display: swap;
  src: url("./fonts/URWDIN-Light/font.woff2") format("woff2"),
    url("./fonts/URWDIN-Light/font.woff") format("woff"),
    url("./fonts/URWDIN-Light/font.eot?#iefix") format("embedded-opentype"),
    url("./fonts/URWDIN-Light/font.ttf") format("truetype");
}

@font-face {
  src: url("./fonts/URWDIN-Medium/font.eot");
  font-family: "URWDIN-Medium";
  font-display: swap;
  src: url("./fonts/URWDIN-Medium/font.woff2") format("woff2"),
    url("./fonts/URWDIN-Medium/font.woff") format("woff"),
    url("./fonts/URWDIN-Medium/font.eot?#iefix") format("embedded-opentype"),
    url("./fonts/URWDIN-Medium/font.ttf") format("truetype");
}

@font-face {
  src: url("./fonts/URWDIN-Bold/font.eot");
  font-family: "URWDIN-Bold";
  font-display: swap;
  src: url("./fonts/URWDIN-Bold/font.woff2") format("woff2"),
    url("./fonts/URWDIN-Bold/font.woff") format("woff"),
    url("./fonts/URWDIN-Bold/font.eot?#iefix") format("embedded-opentype"),
    url("./fonts/URWDIN-Bold/font.ttf") format("truetype");
}

body {
  font-family: "URWDIN-Light", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  hyphens: auto;
  font-size: 18px;
  color: var(--grey);
  /* Silbentrennung */
  -o-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

p {
  font-family: "URWDIN-Light", sans-serif;
  margin-bottom: 23px;
}

p:empty {
  margin-bottom: 0;
}

p.lead {
  font-family: "URWDIN-Medium", sans-serif;
  font-size: 21px;
}

p.bold {
  font-family: "URWDIN-Bold", sans-serif;
  font-size: 21px;
}

h1,
h2,
h3,
h4 {
  font-family: "URWDIN-Bold", serif;
  color: var(--orange);
  line-height: 1.3;
}

h1 {
  text-transform: uppercase;
  font-size: 40px;
  margin-bottom: 30px;
}
h2 {
  font-size: 30px;
  margin-bottom: 22.5px;
}
h3 {
  font-size: 20px;
  margin-bottom: 15px;
}
h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--grey);
}

a,
a:hover {
  color: var(--orange);
}

i {
  color: #000;
}


/* ----- WP ADMIN BAR ----- */

/*#wpadminbar {
    display: none;
  }*/

/* END WP ADMIN BAR */


/* --- HEADER --- */

/* === Header === */

main {
  margin-top: 50px;
}

header {
    position: fixed;
  width: 100%;
  z-index: 999;
}

nav.navbar {
    background-color: var(--white);
    padding-top: 15px;
    padding-bottom: 25px;
    -webkit-box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 10px 20px -10px rgba(0, 0, 0, 0.15);
    height: initial;
    background-image: url(/wp-content/themes/asgs_rail/img/nav_background.webp);
    background-size: 1200px auto;
  }

nav.navbar .navbar-nav .nav-link {
  padding:2px 8px;
  font-family: "URWDIN-Medium";
  color: var(--grey);
}
nav.navbar .navbar-nav .wpml-ls-current-language .nav-link {
    font-family: "URWDIN-Bold";
  }

nav.navbar .dropdown-toggle::after {
  display: none;
}

nav.navbar .container {
  position: relative;
}

nav.navbar .navbar-brand svg {
  height: 80px;
}

nav .navbar-brand .home_link,
nav .navbar-brand .home_link svg {
  transition: all 0.5s cubic-bezier(0.9, 0, 0.5, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.9, 0, 0.5, 1);
  -moz-transition: all 0.5s cubic-bezier(0.9, 0, 0.5, 1);
  -ms-transition: all 0.5s cubic-bezier(0.9, 0, 0.5, 1);
  -o-transition: all 0.5s cubic-bezier(0.9, 0, 0.5, 1);
}

nav .navbar-brand .home_link .home {
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

nav .navbar-brand .home_link {
  padding-left: 30px;
  padding-right: 0px;
  overflow: hidden;
  font-family: "URWDIN-Bold";
}
nav .navbar-brand .home_link svg:not(.home) {
  top: 7px;
  left: 0px;
  height: 18px;
  width: 21.2px;
  fill: var(--orange);
}

nav .navbar-brand .home_link .home {
  right: 0px;
  top: -25px;
  opacity: 0;
  position: absolute;
}

nav .navbar-brand:hover .home_link,
nav .navbar-brand:hover .home_link svg:not(.home),
body.path-frontpage nav .navbar-brand .home_link,
body.path-frontpage nav .navbar-brand .home_link svg:not(.home) {
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

nav .navbar-brand:hover .home_link,
body.path-frontpage nav .navbar-brand .home_link {
  padding-left: 0px;
  padding-right: 30px;
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

nav .navbar-brand:hover .home_link svg:not(.home),
body.path-frontpage nav .navbar-brand .home_link svg:not(.home) {
  transform: translateX(-30px);
  -webkit-transform: translateX(-30px);
  -moz-transform: translateX(-30px);
  -ms-transform: translateX(-30px);
  -o-transform: translateX(-30px);
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

nav .navbar-brand:hover .home_link .home,
body.path-frontpage nav .navbar-brand .home_link .home {
  opacity: 1;
  -webkit-transition-delay: 0.15s;
  -o-transition-delay: 0.15s;
  transition-delay: 0.15s;
}


/* --- FOOTER --- */

/* === Footer === */

footer {
  padding-top: 40px;
  background: var(--orange);
}

footer p,
footer a,
footer a:hover {
  color: var(--white);
}

footer svg.footer_logo {
  max-width: 110px;
}

footer .social_media_links {
  margin-bottom: 14px;
}

footer .social_media_links a svg {
  width: 30px;
  margin-right: 15px;
}

footer .social_media_links a svg .a {
  fill: var(--white);
}

footer ul.footer_nav li {
  display: block;
  padding: 0;
  margin: 7px 0px;
  border-left: 1px solid var(--white);
  line-height: 1;
}

footer ul.footer_nav li > a {
  padding: 0px 15px 2px;
}

footer ul.footer_nav li:first-child {
  font-family: "URWDIN-Bold";
  text-transform: uppercase;
}

footer ul.footer_nav li:first-child svg {
  height: 15px;
  margin-right: 7px;
  top: 4px;
}

footer ul.footer_nav li.language_button.current_language {
  font-family: "URWDIN-Bold";
  text-transform: uppercase;
}

footer ul.footer_nav li > a,
footer ul.footer_nav li > a:hover {
  color: var(--white);
  text-decoration: none;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  footer svg.footer_logo {
    max-height: 125px;
  }
}

@media (min-width: 576px) {
  footer .social_media_links a:last-child svg {
    margin-right: 0px;
  }
  footer ul.footer_nav li:first-child {
    border-left: 0;
    padding-left: 0;
  }
  footer ul.footer_nav li:last-child > a {
    padding-right: 0;
  }
  footer .menu-item a {
    position: relative;
  }

  footer .menu-item a:before {
    content: "";
    left: 15px;
    bottom: -1px;
    width: calc(100% - 30px);
    height: 2px;
    position: absolute;
    background: var(--white);
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right;
    -ms-transform-origin: right;
    transform-origin: right;
    -webkit-transition: -webkit-transform 0.4s ease-out;
    transition: -webkit-transform 0.4s ease-out;
    -o-transition: transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
    transition: transform 0.4s ease-out, -webkit-transform 0.4s ease-out;
  }
  footer .menu-item:last-child a:before,
  footer .menu-item:first-child a:before {
    width: calc(100% - 15px);
  }
  footer .menu-item:first-child a:before {
    left: 0;
  }

  footer .menu-item a:hover::before {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
  }
}

@media (min-width: 992px) {
  footer svg.footer_logo {
    max-width: 180px;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  footer ul.footer_nav li:first-child svg {
    width: 17.5px;
  }
}


/* ----- BUTTONS ----- */

/* Button classes:
        - btn_xyz_primary
        - btn_xyz_secondary 
*/

/* Button Reset */

button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;
  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;
  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  /* Corrects inability to style clickable `input` types in iOS */
  -webkit-appearance: none;
}

/*==================
  BUTTONS
    -> .btn-primary
    -> .btn-primary.btn_white
    -> .btn-primary.btn_color
    -> .btn-secondary
    -> .btn-secondary.btn_white
    -> .btn-secondary.btn_color
  ==================*/
.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-block;
  font-family: "URWDIN-Bold";
  color: var(--grey);
  background: var(--grey);
  padding: 15px 30px;
  margin-bottom: 23px;
  transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -ms-transition: 0.3s ease;
  -o-transition: 0.3s ease;
}

.btn-primary:before,
.btn-secondary:before {
  content: "";
  position: absolute;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  left: 1px;
  right: 1px;
  top: 1px;
  z-index: -10;
  background: var(--white);
  transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -ms-transition: 0.3s ease;
  -o-transition: 0.3s ease;
}

.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled):active,
a:hover .btn-primary,
a:hover .btn-secondary,
.btn-primary:not(.btn_white):hover::before,
.btn-secondary:not(.btn_white):hover::before,
a:hover .btn-primary:not(.btn_white):before,
a:hover .btn-secondary:not(.btn_white):before {
  color: var(--white);
  background: var(--orange);
  text-decoration: none;
}

section.teaser_cards .btn-primary:hover,
section.teaser_cards .btn-primary:not(:disabled):not(.disabled):active,
section.teaser_cards .btn-secondary:hover,
section.teaser_cards .btn-secondary:not(:disabled):not(.disabled):active,
section.teaser_cards a:hover .btn-primary,
section.teaser_cards a:hover .btn-secondary,
section.teaser_cards .btn-primary:not(.btn_white):hover::before,
section.teaser_cards .btn-secondary:not(.btn_white):hover::before,
section.teaser_cards a:hover .btn-primary:not(.btn_white):before,
section.teaser_cards a:hover .btn-secondary:not(.btn_white):before {
  background: var(--orange);
}

.btn-primary.btn_white:hover,
.btn-primary.btn_white:not(:disabled):not(.disabled):active,
.btn-secondary.btn_white:hover,
.btn-secondary.btn_white:not(:disabled):not(.disabled):active,
a:hover .btn-primary.btn_white,
a:hover .btn-secondary.btn_white {
  color: var(--grey);
  background: var(--grey);
}
.btn-primary.btn_color,
.btn-secondary.btn_color,
.btn-primary.btn_color:hover,
.btn-primary.btn_color:not(:disabled):not(.disabled):active,
.btn-secondary.btn_color:hover,
.btn-secondary.btn_color:not(:disabled):not(.disabled):active,
a:hover .btn-primary.btn_color,
a:hover .btn-secondary.btn_color {
  color: var(--white);
  background: var(--white);
}
.btn-primary.btn_color:before,
.btn-secondary.btn_color:before,
.btn-primary.btn_color:hover::before,
.btn-secondary.btn_color:hover::before,
a:hover .btn-primary.btn_color:before,
a:hover .btn-secondary.btn_color:before {
  background: var(--orange);
}

.btn-primary,
.btn-primary:before {
  clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 100% 100%, 0% 100%);
}

.btn-primary:hover,
a:hover .btn-primary {
  clip-path: polygon(
    0% 0%,
    calc(100% - 20px) 0%,
    100% 50%,
    calc(100% - 20px) 100%,
    0% 100%
  );
  -webkit-clip-path: polygon(
    0% 0%,
    calc(100% - 20px) 0%,
    100% 50%,
    calc(100% - 20px) 100%,
    0% 100%
  );
}

.btn-primary:hover::before,
a:hover .btn-primary:before {
  clip-path: polygon(
    0% 0%,
    calc(100% - 19.7px) 0%,
    calc(100% - 0.3px) 50%,
    calc(100% - 19.7px) 100%,
    0% 100%
  );
  -webkit-clip-path: polygon(
    0% 0%,
    calc(100% - 19.7px) 0%,
    calc(100% - 0.3px) 50%,
    calc(100% - 19.7px) 100%,
    0% 100%
  );
}

.btn-secondary {
  padding-bottom: 31px;
  margin-bottom: 7px;
}

.btn-secondary,
.btn-secondary:before {
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(100% - 16px),
    calc(50% + 26px) calc(100% - 16px),
    50% calc(100% - 16px),
    calc(50% - 26px) calc(100% - 16px),
    0% calc(100% - 16px)
  );
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(100% - 16px),
    calc(50% + 26px) calc(100% - 16px),
    50% calc(100% - 16px),
    calc(50% - 26px) calc(100% - 16px),
    0% calc(100% - 16px)
  );
}

.btn-secondary:hover,
a:hover .btn-secondary {
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(100% - 16px),
    calc(50% + 26px) calc(100% - 16px),
    50% 100%,
    calc(50% - 26px) calc(100% - 16px),
    0% calc(100% - 16px)
  );
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(100% - 16px),
    calc(50% + 26px) calc(100% - 16px),
    50% 100%,
    calc(50% - 26px) calc(100% - 16px),
    0% calc(100% - 16px)
  );
}

.btn-secondary:hover::before,
a:hover .btn-secondary:before {
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(100% - 16px),
    calc(50% + 25.6px) calc(100% - 16px),
    50% calc(100% - 0.3px),
    calc(50% - 25.6px) calc(100% - 16px),
    0% calc(100% - 16px)
  );
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(100% - 16px),
    calc(50% + 25.6px) calc(100% - 16px),
    50% calc(100% - 0.3px),
    calc(50% - 25.6px) calc(100% - 16px),
    0% calc(100% - 16px)
  );
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:not(:disabled):not(.disabled):active:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 0;
}

/* iE and Edge adjustment because of clip-path property not working */

@supports (-ms-ime-align: auto) {
  .btn-primary,
  .btn-secondary {
    background: var(--white);
    border: 1px solid var(--grey);
    margin-bottom: 23px;
    padding-bottom: 15px;
  }
  .btn-primary:before,
  .btn-secondary:before {
    top: auto;
    left: auto;
    background: transparent !important;
    width: 0;
    height: 0;
    z-index: 100;
  }

  .btn-primary:hover,
  .btn-primary:not(:disabled):not(.disabled):active,
  .btn-secondary:hover,
  .btn-secondary:not(:disabled):not(.disabled):active,
  a:hover .btn-primary,
  a:hover .btn-secondary {
    border: 1px solid var(--orange);
  }

  .btn-primary:before,
  .btn-primary:after,
  .btn-secondary:before,
  .btn-secondary:after {
    content: "";
    position: absolute;
    -webkit-transform-origin: 0% 50%;
    -ms-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    -ms-transition: 0.3s ease;
  }
  .btn-primary:before {
    right: -19px;
    top: 0px;
    border-left: 19px solid var(--white);
    border-top: 28.5px solid transparent;
    border-bottom: 28.5px solid transparent;
  }
  .btn-primary:after {
    right: -21px;
    top: -1px;
    border-left: 20px solid var(--grey);
    border-top: 29.5px solid transparent;
    border-bottom: 29.5px solid transparent;
  }

  .btn-primary:hover,
  a:hover .btn-primary {
    padding-right: 10px;
  }
  .btn-primary:hover::before,
  a:hover .btn-primary:before {
    border-left: 19px solid var(--orange);
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
  }
  .btn-primary:hover::after,
  a:hover .btn-primary:after {
    border-left: 20px solid var(--orange);
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
  }

  .btn-primary.btn_white:hover,
  .btn-primary.btn_white:not(:disabled):not(.disabled):active,
  a:hover .btn-primary.btn_white {
    color: var(--grey);
    background: var(--white);
    text-decoration: none;
    border: 1px solid var(--grey);
  }
  .btn-primary.btn_white:hover::before,
  a:hover .btn-primary.btn_white:before {
    border-left: 19px solid var(--white);
  }
  .btn-primary.btn_white:hover::after,
  a:hover .btn-primary.btn_white:after {
    border-left: 20px solid var(--grey);
  }

  .btn-primary.btn_color {
    color: var(--white);
    background: var(--orange);
    border: 1px solid var(--white);
  }
  .btn-primary.btn_color:hover,
  .btn-primary.btn_color:not(:disabled):not(.disabled):active,
  a:hover .btn-primary.btn_color {
    color: var(--white);
    background: var(--orange);
    text-decoration: none;
    border: 1px solid var(--white);
  }
  .btn-primary.btn_color:before {
    border-left: 19px solid var(--orange);
  }
  .btn-primary.btn_color:after {
    border-left: 20px solid var(--white);
  }
  .btn-primary.btn_color:hover::before,
  a:hover .btn-primary.btn_color:before {
    border-left: 19px solid var(--orange);
  }
  .btn-primary.btn_color:hover::after,
  a:hover .btn-primary.btn_color:after {
    border-left: 20px solid var(--white);
  }

  .btn-secondary:before,
  .btn-secondary:after {
    left: calc(50% - 26px);
    border-left: 26px solid transparent;
    border-right: 26px solid transparent;
    -webkit-transform-origin: 50% 0%;
    -ms-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    transform: scaleY(0);
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
  }

  .btn-secondary:before {
    bottom: -14px;
    border-top: 15px solid var(--white);
  }
  .btn-secondary:after {
    bottom: -16px;
    border-top: 15px solid var(--grey);
  }

  .btn-secondary:hover::before,
  a:hover .btn-secondary:before,
  .btn-secondary:hover::after,
  a:hover .btn-secondary:after {
    border-top: 15px solid var(--orange);
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
  }

  .btn-secondary.btn_white:hover,
  .btn-secondary.btn_white:not(:disabled):not(.disabled):active,
  a:hover .btn-secondary.btn_white {
    color: var(--grey);
    background: var(--white);
    text-decoration: none;
    border: 1px solid var(--grey);
  }
  .btn-secondary.btn_white:hover::before,
  a:hover .btn-secondary.btn_white:before {
    border-top: 15px solid var(--white);
  }
  .btn-secondary.btn_white:hover::after,
  a:hover .btn-secondary.btn_white:after {
    border-top: 15px solid var(--grey);
  }

  .btn-secondary.btn_color,
  .btn-secondary.btn_color:hover,
  .btn-secondary.btn_color:not(:disabled):not(.disabled):active,
  a:hover .btn-secondary.btn_color {
    color: var(--white);
    background: var(--orange);
    text-decoration: none;
    border: 1px solid var(--white);
  }

  .btn-secondary.btn_color:before,
  .btn-secondary.btn_color:hover::before,
  a:hover .btn-secondary.btn_color:before {
    border-top: 15px solid var(--orange);
  }
  .btn-secondary.btn_color:after,
  .btn-secondary.btn_color:hover::after,
  a:hover .btn-secondary.btn_color:after {
    border-top: 15px solid var(--white);
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .btn-primary,
  .btn-secondary {
    background: var(--white);
    border: 1px solid var(--grey);
    margin-bottom: 23px;
    padding-bottom: 15px;
  }
  .btn-primary:before,
  .btn-secondary:before {
    top: auto;
    left: auto;
    background: transparent !important;
    width: 0;
    height: 0;
    z-index: 100;
  }

  .btn-primary:hover,
  .btn-primary:not(:disabled):not(.disabled):active,
  .btn-secondary:hover,
  .btn-secondary:not(:disabled):not(.disabled):active,
  a:hover .btn-primary,
  a:hover .btn-secondary {
    border: 1px solid var(--orange);
  }

  .btn-primary:before,
  .btn-primary:after,
  .btn-secondary:before,
  .btn-secondary:after {
    content: "";
    position: absolute;
    -webkit-transform-origin: 0% 50%;
    -ms-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    -ms-transition: 0.3s ease;
  }
  .btn-primary:before {
    right: -19px;
    top: 0px;
    border-left: 19px solid var(--white);
    border-top: 28.5px solid transparent;
    border-bottom: 28.5px solid transparent;
  }
  .btn-primary:after {
    right: -21px;
    top: -1px;
    border-left: 20px solid var(--grey);
    border-top: 29.5px solid transparent;
    border-bottom: 29.5px solid transparent;
  }

  .btn-primary:hover,
  a:hover .btn-primary {
    padding-right: 10px;
  }
  .btn-primary:hover::before,
  a:hover .btn-primary:before {
    border-left: 19px solid var(--orange);
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
  }
  .btn-primary:hover::after,
  a:hover .btn-primary:after {
    border-left: 20px solid var(--orange);
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
  }

  .btn-primary.btn_white:hover,
  .btn-primary.btn_white:not(:disabled):not(.disabled):active,
  a:hover .btn-primary.btn_white {
    color: var(--grey);
    background: var(--white);
    text-decoration: none;
    border: 1px solid var(--grey);
  }
  .btn-primary.btn_white:hover::before,
  a:hover .btn-primary.btn_white:before {
    border-left: 19px solid var(--white);
  }
  .btn-primary.btn_white:hover::after,
  a:hover .btn-primary.btn_white:after {
    border-left: 20px solid var(--grey);
  }

  .btn-primary.btn_color {
    color: var(--white);
    background: var(--orange);
    border: 1px solid var(--white);
  }
  .btn-primary.btn_color:hover,
  .btn-primary.btn_color:not(:disabled):not(.disabled):active,
  a:hover .btn-primary.btn_color {
    color: var(--white);
    background: var(--orange);
    text-decoration: none;
    border: 1px solid var(--white);
  }
  .btn-primary.btn_color:before {
    border-left: 19px solid var(--orange);
  }
  .btn-primary.btn_color:after {
    border-left: 20px solid var(--white);
  }
  .btn-primary.btn_color:hover::before,
  a:hover .btn-primary.btn_color:before {
    border-left: 19px solid var(--orange);
  }
  .btn-primary.btn_color:hover::after,
  a:hover .btn-primary.btn_color:after {
    border-left: 20px solid var(--white);
  }

  .btn-secondary:before,
  .btn-secondary:after {
    left: calc(50% - 26px);
    border-left: 26px solid transparent;
    border-right: 26px solid transparent;
    -webkit-transform-origin: 50% 0%;
    -ms-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    transform: scaleY(0);
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
  }

  .btn-secondary:before {
    bottom: -14px;
    border-top: 15px solid var(--white);
  }
  .btn-secondary:after {
    bottom: -16px;
    border-top: 15px solid var(--grey);
  }

  .btn-secondary:hover::before,
  a:hover .btn-secondary:before,
  .btn-secondary:hover::after,
  a:hover .btn-secondary:after {
    border-top: 15px solid var(--orange);
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
  }

  .btn-secondary.btn_white:hover,
  .btn-secondary.btn_white:not(:disabled):not(.disabled):active,
  a:hover .btn-secondary.btn_white {
    color: var(--grey);
    background: var(--white);
    text-decoration: none;
    border: 1px solid var(--grey);
  }
  .btn-secondary.btn_white:hover::before,
  a:hover .btn-secondary.btn_white:before {
    border-top: 15px solid var(--white);
  }
  .btn-secondary.btn_white:hover::after,
  a:hover .btn-secondary.btn_white:after {
    border-top: 15px solid var(--grey);
  }

  .btn-secondary.btn_color,
  .btn-secondary.btn_color:hover,
  .btn-secondary.btn_color:not(:disabled):not(.disabled):active,
  a:hover .btn-secondary.btn_color {
    color: var(--white);
    background: var(--orange);
    text-decoration: none;
    border: 1px solid var(--white);
  }

  .btn-secondary.btn_color:before,
  .btn-secondary.btn_color:hover::before,
  a:hover .btn-secondary.btn_color:before {
    border-top: 15px solid var(--orange);
  }
  .btn-secondary.btn_color:after,
  .btn-secondary.btn_color:hover::after,
  a:hover .btn-secondary.btn_color:after {
    border-top: 15px solid var(--white);
  }
}
/*==================
    END BUTTONS
    ==================*/

/* Cookie Banner */

#moove_gdpr_cookie_info_bar
  .moove-gdpr-info-bar-container
  .moove-gdpr-info-bar-content {
  flex-direction: column;
}

#moove_gdpr_cookie_info_bar * {
  max-width: 32em;
}

.moove-gdpr-cookie-notice {
  margin-bottom: 1.4em;
}

.moove-gdpr-button-holder {
  width: 100%;
  justify-content: space-between;
  padding-left: 0 !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-button-holder {
  flex-direction: row;
  justify-content: space-between;
  padding-left: 0 !important;
  flex-wrap: nowrap !important;
  padding: 30px !important;
}

.moove-gdpr-button-holder button {
  width: 100%;
  border-radius: 0.375rem !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-button-holder button {
  width: 50%;
}

.mgbutton.moove-gdpr-infobar-allow-all.gdpr-fbo-0,
#moove_gdpr_cookie_modal
  .moove-gdpr-modal-content
  .moove-gdpr-modal-footer-content
  .moove-gdpr-button-holder
  button.mgbutton {
  background-color: #2d4156 !important;
  color: #eaeff2 !important;
}

.mgbutton.moove-gdpr-infobar-settings-btn.change-settings-button.gdpr-fbo-2 {
  border: none !important;
  background-color: #eaeff2 !important;
  color: #2d4156 !important;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme {
  box-shadow: 0 0.625rem 1.875rem rgba(2, 2, 3, 0.28);
  border-top: none !important;
  padding: 2em;
}

/* ----- LAZYLOAD EFFECT ----- */

img.bg_static_cover {
  object-fit: cover;
  -o-object-fit: cover;
  object-position: center;
  -o-object-position: center;
  font-family: "object-fit: cover; object-position: center;";
  max-width: 100%;
  width: 100%;
  height: 100%;
}



/* END LAZYLOAD EFFECT */

#wpmem_login .logo_wrapper img {
    height: 80px !important;
}


#wpmem_login .button_div input.buttons {
    background: #2d4156;
    color: #ededed;
    border: none;
}

#wpmem_login .button_div.login-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

#wpmem_login .button_div.login-actions .remember-wrap {
    width: max-content;
}

#wpmem_login .button_div.login-actions .buttons {
    background: #2d4156;
    color: #ededed;
    border: none;
    padding: 8px 12px;
}


article.intern section.hero {
    height: 288px;
  }
article.intern section.hero:before {
content:'';
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
mix-blend-mode: normal;
z-index: 1;
}
  
article.intern section.hero .copyright {
bottom: 0;
right: 0;
padding: 2px 4px;
background: rgba(0, 0, 0, 0.5);
color: rgba(255, 255, 255, 0.9);
font-size: 12px;
}

article.intern section.hero img.bg_static_cover {
    height: 100%;
    z-index: -1;
}
article.intern section.hero > .logo_banner {
    z-index: 2;
  }

@media (max-width: 767px) {
    article.intern section.hero {
        margin-bottom: 0 !important;
      }
}
  
  @media (min-width: 768px) {
    article.intern section.hero {
      height: 330px;
    }
  
    article.intern section.hero > .logo_banner {
      background: #fff;
      top: 30%;
      right: 0px;
      padding: 20px;
      padding-right: 45px;
    }
  
    article.intern section.hero > .logo_banner > svg {
      width: 100%;
      height: 135px;
    }
  }
  
  @media (min-width: 992px) {
    article.intern section.hero {
      height: 413px;
    }
  
    article.intern section.hero > .logo_banner {
      padding: 25px;
      padding-right: 57.5px;
    }
  
    article.intern section.hero > .logo_banner > svg {
      width: 211px;
    }
  }
  
  @media (min-width: 1200px) {
    article.intern section.hero {
      height: 496px;
    }
  
    article.intern section.hero > .logo_banner {
      padding: 30px;
      padding-right: 70px;
    }
  
    article.intern section.hero > .logo_banner > svg {
      width: 252px;
    }
  }

article.intern .login_status {
    font-size: 1.2rem;
    font-weight: 600;
}


article.intern #wpmem_login h1 {
    display: none;
}