:root {
  --main-color: #950f22;
}
@font-face {
  font-family: 'wdm';
  src:  url('../font/wdm.eot?kcwe5z');
  src:  url('../font/wdm.eot?kcwe5z#iefix') format('embedded-opentype'),
  url('../font/wdm.ttf') format('truetype'),
  url('../font/wdm.woff?kcwe5z') format('woff'),
  url('../font/wdm.svg?kcwe5z#wdm') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Verdana, Sans-Serif;
  display: flex;
  flex-direction: column;
  font-size: 100%;
  background: #f9f9f9;
  scroll-behavior: smooth;
  min-width: 280px;
  line-height: 1.3;
  
}

header {
  height: 200px;
  background: var(--main-color) url("../img/header.svg") center/100% 100% no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: height .5s ease;
  
}
header > .logo {
  flex: 1;
  height: 100%;
  width: auto;
  background: url("../img/wdm_logo.svg") center/auto 80% no-repeat;
}
header > .shadow, footer > .shadow {
  width: 100%;
  height: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent);
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  z-index: 1000;
}
footer > .shadow {
  top: -8px;
  bottom: auto;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), transparent);
}

footer {
  min-height: 50px;
  background: var(--main-color) url("../img/header.svg") no-repeat top/150% 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

footer > p {
  padding: 0 1em;
}

main {
  flex: 1;
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
  padding: 15px 60px;
  font-size: 1em;
  position: relative;
  transition: padding 1s ease;
  box-sizing: border-box;
  background: white;
}
main > .content {
  hyphens: auto;
  text-align: justify;
}

main > .shadow-left, main > .shadow-right {
  background-color: #f9f9f9;
  background-image: url("../img/shadow_left.svg");
  background-position: center;
  background-size: 15px 90%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  width: 15px;
  z-index: 999;

}
main > .shadow-right {
  background-image: url("../img/shadow_right.svg");
  left: auto;
  right: 0px;
}

main img {
  border-radius: 3px;
}
main img.img-right  {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
}
main img.img-left  {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}
main img.img-normal  {
  float: none;
}

h1, h2, h3, h4, h5 {
  color: var(--main-color);
}

main > .content a {
  color: var(--main-color);
  text-decoration-style: dotted;
}

footer a {
  color: white;
}

div.scrollbox {
  box-sizing: border-box;
  height: 250px;
  overflow: auto;
  padding: 15px 20px;
  width: 100%;
  border: 1px solid var(--main-color);
  color: black;
  font-size: .75em;
}
div.scrollbox > h4 {
  margin-top: 0;
  margin-bottom: .5em;
}

[class^="brand-wdm-"] > span {
  overflow: hidden;
  opacity: 0;
  font-size: 0px;
}
[class^="brand-wdm-"] {
  font-family: "wdm" !important;
  font-style: normal;
  font-weight: normal;
  line-height: 0;
}

.brand-wdm-bold::before {
  content: "\e900";
}
.brand-wdm-italic::before {
  content: "\e901";
}
.brand-wdm-normal::before {
  content: "\e902";
}

/*
.brand-wdm-italic {
  font-style: italic;
}
.brand-wdm-bold {
  font-weight: bold;
}
*/
/*@media screen and (max-width: 768px) {*/

@media screen and (max-width: 600px) {
  header {
    height: 120px;
  }
  main {
    padding: 15px 30px;
    overflow: hidden;
  }
  main > .shadow-left, main > .shadow-right {
    display: none;
  }
  main img.img-right, main img.img-left, main img.img-normal {
    display: block;
    width: 100%;
    height: auto;
    float: none;
    margin: 0 0 1em;
  }
}