/*
 * Minimal, framework-free stylesheet for the OAM error/utility pages
 * (error, errorAngebot, sessionTimeout, selfServiceError). Replaces the
 * former Bootstrap-compiled dkv-oam.css on these pages. Provides only the
 * few grid/utility classes they use plus DKV branding (FS Me, colours).
 */

@font-face {
  font-family: "FS Me";
  font-weight: 400;
  font-style: normal;
  src: url("fonts/FSMeWeb-Regular.woff") format("woff");
}
@font-face {
  font-family: "FS Me";
  font-weight: 300;
  font-style: normal;
  src: url("fonts/FSMeWeb-Light.woff") format("woff");
}
@font-face {
  font-family: "FS Me";
  font-weight: 700;
  font-style: normal;
  src: url("fonts/FSMeWeb-Bold.woff") format("woff");
}

html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "FS Me", "Segoe UI", Verdana, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.43;
  color: #6a625a;            /* DKV warm gray text */
  background: #ffffff;
}

/* layout container (from the old .container.oam-container wrapper) */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}
.oam-container {
  padding-top: 20px;
  padding-bottom: 40px;
}

/* minimal grid: col-xs-12 = full width; col-sm-9 = 75% from the sm breakpoint */
.row {
  margin-left: -15px;
  margin-right: -15px;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.col-xs-12,
.col-sm-9 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  width: 100%;
  float: left;
}
@media (min-width: 768px) {
  .col-sm-9 { width: 75%; }
}

.form-container {
  padding: 10px 0;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}

/* paragraph helper used by the error JSPs */
.p {
  margin: 0 0 1em;
}

h2 {
  font-weight: 700;
  font-size: 1.5rem;
  color: #07483f;            /* DKV dark green */
  margin: 0.4em 0 0.6em;
}

a {
  color: #88a327;            /* DKV brand green */
  text-decoration: underline;
}
a:hover {
  color: #07483f;
}

footer {
  margin-top: 30px;
  color: #6a625a;
}
