@font-face {
  font-family: 'Euclid Flex';
  src: url('https://rddm.ch/font/EuclidFlex-Bold.woff2') format('woff2'),
       url('https://rddm.ch/font/EuclidFlex-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TradeGothic';
  src: url('https://rddm.ch/font/TradeGothicLTStd.woff') format('woff'),
       url('https://rddm.ch/font/TradeGothicLTStd.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TradeGothic Bold';
  src: url('https://rddm.ch/font/TradeGothicLTStd-Bold.woff') format('woff'),
       url('https://rddm.ch/font/TradeGothicLTStd-Bold.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'TradeGothic-Bd2';
  src: url('../../fonts/Linotype - TradeGothicLTStd-Bd2.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

body {
  background-color: #fff;
}

/* Header */
@media only screen and (max-width: 800px) {
  #header-logo {
    margin-top: 0!important;
    background-size: 80%, 25%!important;
    background-position: bottom!important;
  }
}

#header-logo {
  background-image: url('../../images/rddm/header.png'), url('../../images/rddm/banner_back_tiny1_2.png');
  background-size: contain;
  width: 100vw;
  margin: auto;
  height: 300px;
  background-repeat: no-repeat, repeat-x;
}

/* Typography - RDDM branding */
h1 {
  font-size: 24px;
  color: #3d4547;
  font-family: 'Euclid Flex', sans-serif;
}

h2 {
  font-size: 20px;
  color: #3d4547;
}

h3 {
  font-size: 18px;
  color: #3d4547;
}

/* Text colors */
.left-body-panel-desc {
  color: #3d4547;
}

/* Content colors */
.single-icon,
#translation_adult_management,
#translation_children_management,
#translation_start_comment,
#translation_title_order_card,
#translation_title_payment_page,
#translation_all_infos_correct,
.content-create-card-info-amount {
  color: var(--color-main);
}

/* Footer */
@media only screen and (max-width: 767px) {
  #footer img {
    max-width: 225px !important;
  }
}

#footer img {
  max-height: 60px;
}

#footer-links {
  margin: 10px 0 40px 0;
}

/* Cards & buttons */
#available-card-management {
  border-bottom-color: var(--color-main);
}

.action-button {
  border: 0px;
}

.enabled-action-button,
.disabled-action-button {
  width: 100%;
}

.enabled-action-button {
  color: #fff;
  background-color: var(--color-button-primary);
}

.action-button:hover,
.enabled-action-button:hover {
  color: #fff;
  background-color: var(--color-button-hover) !important;
  border-color: var(--color-button-hover);
}

/* Responsive */
@media (max-width: 800px) {
  h1 {
    font-size: 22px;
  }
}
