/* @import url('https://fonts.googleapis.com/css?family=Roboto&display=swap'); */
/* @import url('https://fonts.googleapis.com/css?family=PT+Serif|Roboto&display=swap'); */
/* @import url('https://fonts.googleapis.com/css?family=Open+Sans|PT+Serif|Roboto&display=swap'); */
@import url("https://fonts.googleapis.com/css?family=PT+Serif|Lato:300,400,700|Open+Sans:|Roboto:&display=swap");
@font-face {
  font-family: 'icomoon-free';
  src: url("../../diplomatie/css/fonts/icomoon-free.eot?jkaaa");
  src: url("../../diplomatie/css/fonts/icomoon-free.eot?jkaaa#iefix") format("embedded-opentype"), url("../../diplomatie/css/fonts/icomoon-free.ttf?jkaaa") format("truetype"), url("../../diplomatie/css/fonts/icomoon-free.woff?jkaaa") format("woff"), url("../../css/diplomatie/fonts/icomoon-free.svg?jkaaa#icomoon-free") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

html {
  margin-left: calc(100vw - 100%);
}

.preload {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  display: hidden;
}

* {
  line-height: 1.5em;
}

body {
  font-size: 12pt;
  margin: 0;
  background-color: white;
  background-repeat: no-repeat;
  background-image: url("/forum/wcf/images/kpd2/background.jpg");
  background-position: center top;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  /* font-family: "Open sans", "Roboto", sans-serif; */
  /* font-family: "Roboto", "Roboto", sans-serif; */
  font-family: "Lato","Trebuchet MS", Helvetica, Arial, sans-serif;
  /* font-family: "PT Serif", serif; */
}

a,
a:hover,
a:link,
a:visited {
  color: #0060ff;
  text-decoration: underline;
}

a:hover {
  background-color: #f0f0fb;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: left;
  display: block;
  /* font-family: "Open Sans", sans-serif; */
  /* font-family: "Roboto", "Roboto", sans-serif; */
  border-top: solid #1b4Da0 medium;
  border-bottom: dotted #1b4Da0 thin;
  width: 100%;
  color: #1b4Da0;
}

main h1 {
  margin-top: 0;
}

div.wrapper {
  width: 100%;
  max-width: 960px;
  /* padding: 1em; */
  min-height: 100vh;
  margin: 0 auto;
  box-shadow: #555555 0 0 20px;
  -webkit-box-shadow: #555555 0 0 20px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  background-color: white;
}

header {
  margin: 0;
  padding: 0;
  background-color: #6699ee;
  background-image: url("images/bgheader1.jpg");
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

header img {
  max-width: 300px;
  max-height: 100%;
  /* display: none; */
}

header h1 {
  font-size: 2em;
  font-family: "Arial Black";
  color: white;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 0 rgba(15, 34, 67, 0), 1px 1px 1px rgba(0, 0, 20, 0.66), 2px 2px 0 rgba(0, 0, 20, 0.66);
  -moz-transform: matrix(2, 0, 0, 2, 0, 0);
  -webkit-transform: matrix(2, 0, 0, 2, 0, 0);
  -ms-transform: matrix(2, 0, 0, 2, 0, 0);
  z-index: 28;
  display: block;
  border: none;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

header h2 {
  color: white;
  font-size: 2em;
  text-align: center;
  margin: 0;
  padding: 0;
  display: block;
  border: 0;
  letter-spacing: 0.03em;
  z-index: 28;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 5px black;
}

header h3 {
  border: none;
  margin: 0;
  text-align: center;
  display: block;
  color: white;
  font-weight: 100;
  letter-spacing: 0.1em;
  font-size: 2em;
  text-transform: uppercase;
  z-index: 28;
  text-shadow: 0 0 3px #336, 0 0 10px black;
}

header .link-botschaften {
  position: absolute;
  background: rgba(32, 148, 243, 0.73);
  border-radius: 105px 0 0 100px;
  overflow: hidden;
  bottom: calc(50% - 1em);
  right: 0;
  box-sizing: border-box;
  border: thin solid rgba(16, 118, 201, 0.73);
  border-right: none;
  z-index: 50;
}

header .link-botschaften a,
header .link-botschaften a:link a:visited {
  color: white;
  text-decoration: none;
  display: block;
  padding: 0.1em 0.5em 0.1em 1.0em;
}

header .link-botschaften a:hover {
  background-color: white;
  color: #2196F3;
}

header .header-flag {
  position: absolute;
  left: 1px;
  top: 25%;
  height: 50%;
}

header .header-flag img {
  height: 100%;
}

h1 em,
h1 i,
h2 em,
h2 i,
h3 em,
h3 i {
  font-size: 0.6em;
  line-height: 2.5em;
  margin-left: 1em;
  margin-bottom: -1em;
}

nav {
  margin-right: -1px;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0;
  list-style-type: none;
  margin: 0;
  flex-wrap: wrap;
}

nav ul li {
  flex: 1;
  text-align: center;
  margin-bottom: 0.25em;
  height: 100%;
  border-left: 1px solid #464646;
}

nav a {
  display: flex;
  justify-content: center;
  padding: 0 0.25em;
  font-size: 0.875em;
  height: 2.85em;
  box-sizing: border-box;
  line-height: 2.85em;
  background: #333333;
  color: white !important;
  text-decoration: none !important;
  text-shadow: 0 -1px 1px #222;
  border-bottom: 1px solid #222;
}

nav a span {
  align-self: center;
}

nav a.landlink {
  justify-content: left;
  padding-left: 0;
}

nav a.landlink .img {
  height: 100% !important;
}

nav a:hover {
  background: #1b4Da0 !important;
  color: white;
}

nav a.active {
  background-color: #4e55ff;
}

main {
  display: block;
  margin: 0 auto;
  padding: 1em;
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  text-align: justify;
}

article {
  display: flex;
  flex-direction: column;
  min-width: 50%;
}

.put-aside {
  display: flex;
  flex-direction: row;
}

main section:not(:last-of-type) {
  margin-bottom: 2em;
}

.left {
  float: left;
  clear: left;
}

.right {
  float: right;
  clear: right;
}

img.left {
  margin-right: 1em;
  margin-bottom: 1em;
  clear: left;
}

img.right {
  margin-left: 1em;
  margin-bottom: 1em;
  clear: right;
}

footer {
  clear: both;
  margin: 0 auto;
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
  font-size: 0.8em;
  color: #777;
}

.placeholder {
  font-style: italic;
  color: #0061f2;
}

img.placeholder {
  width: 200px;
  height: 300px;
  border: 1px solid #0061f2;
}

.person {
  border-radius: 3px;
  padding: 0 1em 1em;
  margin-bottom: 1em;
}

.person .person h2,
.person .person h3 {
  padding: 0.25em;
  margin-top: 1em;
  background: #f0f8ff;
  /* border: 1px solid grey; */
  margin-bottom: 1em;
}

.person .imgbox {
  max-width: 186px;
}

.person:after {
  content: "";
  display: table;
  clear: both;
}

.section-divider {
  padding-top: 1em;
  border-top: 1px solid lightgrey;
  margin-top: 2em;
}

.botschafter-historie li:not(:last-of-type),
.liste-politik li:not(:last-of-type) {
  margin-bottom: 0.5em;
}

aside.botschafter {
  float: right;
  display: block;
  padding: 0.5em;
  margin-left: 1em;
  box-shadow: 0 0 15px #acacac;
  width: 250px;
  text-align: center;
  background-color: white;
  margin-top: -0.5em;
  position: relative;
}

aside.botschafter .wappen {
  position: absolute;
  bottom: 31px;
  right: 4px;
}

aside.botschafter p {
  margin: 0;
  padding: 0.25em;
  margin-top: -1px;
  background: white;
  border: 1px solid #d6d6d6;
  font-size: 0.90em;
}

aside.botschafter ul {
  list-style-type: none;
  padding: 0;
  padding-inline-start: 0;
  margin-top: 0.25em;
  font-size: 0.8em;
}

aside.botschafter ul li span {
  display: inline-block;
}

aside.botschafter ul li .botschafter-dates {
  width: 55%;
}

aside.botschafter h2 {
  margin-top: 0;
  margin-bottom: 0.25em;
  text-align: center;
  display: block;
}

aside.botschafter h3 {
  text-align: center;
  font-size: 0.9em;
}

aside.botschafter .imgbox {
  display: block;
  margin: auto auto 0;
  border: 1px solid #d6d6d6;
  box-shadow: none;
  position: relative;
}

aside.botschafter .imgbox .wappen {
  position: absolute;
  bottom: -5px;
  right: -7px;
  width: 64px;
  border: none;
}

aside.politik {
  float: right;
  display: flex;
  flex-direction: column;
  min-width: 40%;
  font-size: 0.9em;
  margin-top: 0.25em;
  border: 1px dotted #1b4Da0;
  margin-left: 1em;
  padding: 1em;
  box-sizing: border-box;
}

aside.politik ul {
  padding-inline-start: 1.5em;
}

aside.politik h1,
aside.politik h2,
aside.politik h3 {
  background-color: #fafafa;
  font-size: 1.3em;
}

.dienstfahrzeuge img {
  display: block;
  margin: 1em auto;
  max-width: 800px;
  width: 100%;
}

.imgbox {
  border: 1px solid #999999;
  border-radius: 2px;
  padding: 0.5em;
  box-shadow: 0 0 5px #acacac;
  text-align: center;
  display: inline-block;
}

.imgbox img {
  margin: auto;
  display: block;
  width: 100%;
  border: 1px solid #f2f0f0;
  box-sizing: border-box;
}

.imgbox.right {
  margin-left: 0.5em;
}

.imgbox.left {
  margin-right: 0.5em;
}

.icon {
  height: 1em;
}

.noflag {
  display: inline-block;
  height: 1.25em;
  line-height: 1.05em;
}

.flag,
.noflag {
  height: 100%;
  align-self: center;
  flex: 0 0 auto;
  margin-right: 0.5em;
  box-shadow: 0 0 2px lightgrey;
  background: #bbbbbb;
}

.section-news {
  display: flex;
}

.section-news section {
  border: 1px dotted #1c4da0;
  padding: 0.5em;
  margin-bottom: 0 !important;
  flex: 1;
}

.section-news section:first-of-type {
  margin-right: 0.5em;
}

.section-news section:last-of-type {
  margin-left: 0.5em;
}

.news ul {
  padding-inline-start: 0;
  text-align: left;
  list-style-type: none;
}

.news ul li {
  border: 1px solid lightgrey;
  border-radius: 3px;
  background-color: #fffdfd;
  padding: 0.25em;
  display: flex;
}

.news ul li .news-subject {
  font-size: 0.9em;
}

.news ul li .news-date {
  color: #777;
  font-size: 0.8em;
  margin-left: 0.25em;
  margin-right: 0.4em;
  align-self: center;
}

.news ul li a {
  margin-left: auto;
}

.news ul > li:not(:last-of-type) {
  margin-bottom: 0.25em;
}

.news div {
  display: flex;
}

.news div span {
  display: block;
  margin: auto 0;
  font-size: 0.90em;
}

.news .noflag {
  display: inline-block;
  height: 1.25em;
  line-height: 1.05em;
  background: #bbbbbb;
}

.news .flag,
.news .noflag {
  width: 33px;
  align-self: center;
  flex: 0 0 auto;
  margin-right: 0.25em;
  box-shadow: 0 0 2px lightgrey;
}

.country ul {
  list-style-type: none;
  padding-inline-start: 1em;
}

.country ul .icon {
  margin-right: 1em;
}

.country ul a {
  display: block;
  padding: 0.25em 0;
}

.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
  text-align: center;
  border: none;
  color: black;
  display: block;
}

.document h1 {
  font-size: 1.5em;
}

.document h2 {
  font-size: 1.25em;
}

.doc-list {
  padding-bottom: 1em;
}

.doc-list ul {
  margin-block-start: 0;
  padding-inline-start: 0;
  text-align: left;
}

.diplomacy-doc {
  display: flex;
  margin: 0.25em;
  height: 2.0em;
  margin-right: 1em;
  box-sizing: border-box;
  text-align: left;
  width: 100%;
}

.diplomacy-doc a {
  display: flex;
  width: 100%;
}

.diplomacy-doc a span {
  font-family: "Lato", Helvetica, Arial, sans-serif !important;
  /* position: absolute; */
  color: inherit;
  background-color: inherit;
  text-decoration: inherit;
  float: right;
  align-self: center;
  width: 100%;
}

.diplomacy-doc .doc-doc {
  height: 100%;
  margin-right: 0.24em;
  margin-bottom: -5px;
}

.moon-icon {
  font-family: "icomoon-free";
  font-size: 1em;
  display: inline-block;
}

.moon-icon.arrow-right:before {
  content: "\ea34";
}

.moon-icon.arrow-right2:before {
  content: "\ea3c";
}

a.note--alert {
  right: -2em;
}

a.note--alert:hover {
  background-color: transparent;
  font-weight: bold;
  font-size: 1.1em;
  right: -1.9em;
}

span.note--alert:before {
  content: "\ea07";
}

.note--alert-red {
  color: red;
  font-weight: bold;
}

.note--alert-amber {
  color: #0078d8;
}

span.note--alert-amber:before {
  content: "\ea08";
}

.note--alert:hover {
  background-color: transparent;
}

.note-alerts .moon-icon {
  margin-right: 0.25em;
}

@media screen and (max-width: 940px) {
  html {
    margin: 0;
  }
  header .link-botschaften {
    top: 3em;
    font-size: 0.8em;
    bottom: inherit;
  }
}

@media screen and (max-width: 800px) {
  header {
    background-size: cover;
    height: auto;
  }
  header img {
    margin: auto;
  }
  nav a {
    font-size: 0.85em;
  }
}

@media screen and (max-width: 750px) {
  .put-aside {
    flex-direction: column;
  }
  nav a {
    font-size: 0.72em;
    padding: 0.65em 0;
  }
  aside.politik {
    float: initial;
    max-width: 100%;
    margin: auto;
    padding: initial;
    border: none;
  }
}

@media screen and (max-width: 600px) {
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    margin-bottom: 0;
  }
  nav a {
    font-size: 1em;
  }
  .wrapper {
    box-shadow: none;
  }
  header h1 {
    font-size: 1.8em;
  }
  aside.botschafter {
    width: 175px;
  }
  .section-news {
    display: block;
  }
  .section-news section {
    border: none;
    padding: 0;
    margin-bottom: 3.5em !important;
  }
  .section-news section:first-of-type {
    margin-right: 0;
  }
  .section-news section:last-of-type {
    margin-left: 0;
  }
}

@media screen and (max-width: 460px) {
  section:first-of-type {
    display: flex;
    flex-direction: column;
  }
  aside.botschafter {
    float: none;
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    order: 2;
  }
  header .header-flag {
    top: 2em;
    left: 5px;
  }
  header .header-flag img {
    width: 75px;
    height: auto;
  }
  .news {
    margin-bottom: 1.5em;
  }
  .news ul li {
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  .diplomacy-doc {
    font-size: 0.85em;
  }
}
