/**
 * Basic Styles
 *
 * You will most likely want to change the font stacks, font sizes and colours. Search for the following:
 * * §font
 * * §fsize
 * * §colour
 *
 * @version 2012-09-30
 * @link    https://github.com/selfthinker/basic.css
 * @license CC0 [http://creativecommons.org/publicdomain/zero/1.0/]
 * @author  Anika Henke <anika@selfthinker.org>
 */

/* screen styles
********************************************************************/

@media screen {

html {
    overflow-x: auto;
    overflow-y: scroll;
}
html,
body {
    background-color: #fff; /* §colour  */
    color: #333; /* §colour */
    margin: 0;
    padding: 0;
    min-height: 100%;
}
body {
    font: normal 100%/1.4 Frutiger, Calibri, Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; /* §fsize §font */
    /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
    -webkit-text-size-adjust: 100%;
}


/*____________ headings ____________*/

h1,
h2,
h3,
h4,
h5,
h6,
caption,
figcaption,
summary,
legend {
    line-height: 1.2;
    /*color: #666; /* §colour */
    background-color: inherit; /* §colour */
    padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    /*font-family: Constantia, Utopia, Lucidabright, Lucida, Georgia, "Nimbus Roman No9 L", serif; /* §font */
    font-weight: bold;
    clear: both;
}
caption,
figcaption,
summary,
legend {
    font-style: italic;
    font-weight: normal;
    margin: 0 0 .35em;
}

h1 {
    font-size: 2.25em; /* §fsize */
    margin: 0 0 .444em;
}
h2 {
    font-size: 1.5em; /* §fsize */
    margin: 0 0 .666em;
}
h3 {
    font-size: 1.125em; /* §fsize */
    margin: 0 0 .888em;
}
h4 {
    font-size: 1em; /* §fsize */
    margin: 0 0 1em;
}
h5 {
    font-size: .875em; /* §fsize */
    margin: 0 0 1.1428em;
}
h6 {
    font-size: .75em; /* §fsize */
    margin: 0 0 1.333em;
}
/* bottom margin = 1 / font-size */

details summary {
    cursor: pointer;
    margin: 0;
}
details[open] summary {
    margin: 0 0 .35em;
}

figure figcaption:last-child {
    margin: -1.05em 0 0;
}


/*____________ basic margins and paddings ____________*/

p,
ul,
ol,
dl,
pre,
table,
hr,
blockquote,
figure,
details,
fieldset,
address {
    margin: 0 0 1.4em 0; /* bottom margin = line-height */
    padding: 0;
}

div {
    margin: 0;
    padding: 0;
}


/*____________ lists ____________*/

ul,
ol {
    margin-left: 1.5em;
    padding: 0;
}
li,
dd {
    margin: 0 0 0 1.5em;
    padding: 0;
}
dt {
    font-weight: bold;
    margin: 0;
    padding: 0;
}

li ul,
li ol,
li dl,
dl ul,
dl ol,
dl dl {
    margin: 0;
}
li li {
    font-size: 100%;
}

ul {
    list-style: disc outside;
}
ol {
    list-style: decimal outside;
}
ol ol {
    list-style-type: lower-alpha;
}
ol ol ol {
    list-style-type: upper-roman;
}
ol ol ol ol {
    list-style-type: upper-alpha;
}
ol ol ol ol ol {
    list-style-type: lower-roman;
}

[dir=rtl] ul,
[dir=rtl] ol {
    margin-right: 1.5em;
    margin-left: 0;
}
[dir=ltr] ul,
[dir=ltr] ol {
    margin-left: 1.5em;
    margin-right: 0;
}
[dir=rtl] li,
[dir=rtl] dd {
    margin: 0 1.5em 0 0;
}
[dir=ltr] li,
[dir=ltr] dd {
    margin: 0 0 0 1.5em;
}


/*____________ tables ____________*/

table {
    border-collapse: collapse;
    empty-cells: show;
    border-spacing: 0;
    border: 1px solid #ccc; /* §colour */
}

caption {
    caption-side: top;
    text-align: left;
}

th,
td {
    padding: .3em .5em;
    margin: 0;
    vertical-align: top;
    text-align: left;
    border: 1px solid #ccc; /* §colour */
}
th {
    font-weight: bold;
    background-color: #eee; /* §colour */
    color: inherit; /* §colour */
}

[dir=rtl] caption,
[dir=rtl] th {
    text-align: right;
}
[dir=ltr] caption,
[dir=ltr] th {
    text-align: left;
}


/*____________ links ____________*/

a {
}
a:link,
a:visited {
    text-decoration: none;
}
a:link {
    color: #00c; /* §colour */
    background-color: inherit; /* §colour */
}
a:visited {
    color: #606; /* §colour */
    background-color: inherit; /* §colour */
}

a:link:hover,
a:visited:hover,
a:link:focus,
a:visited:focus,
a:link:active,
a:visited:active,
details summary:hover,
details summary:active,
details summary:focus {
    text-decoration: underline;
    outline: none;
}

a:link:active,
a:visited:active {
    color: #c00; /* §colour */
    background-color: inherit; /* §colour */
}


/*____________ forms ____________*/

form {
    margin: 0;
    padding: 0;
}

fieldset {
    padding: .7em 1em 0;
    padding: .7rem 1rem; /* for those browsers understanding :last-child */
    border: 1px solid #999;
}
fieldset > :last-child {
    margin-bottom: 0;
}
legend {
    margin: 0;
    padding: 0 .1em;
}

label {
    vertical-align: middle;
    cursor: pointer;
}

input,
textarea,
button,
select,
optgroup,
option,
keygen,
output,
meter,
progress {
    font: inherit;
    color: inherit;
    /* background-color destroys button look */
    line-height: normal;
    margin: 0;
    vertical-align: middle;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}
optgroup {
    font-style: italic;
    font-weight: bold;
}
option {
    font-style: normal;
    font-weight: normal;
}

input,
button,
select,
keygen,
textarea {
    padding: .1em;
}
input[type=radio],
input[type=checkbox],
input[type=image] {
    padding: 0;
}

input[type=submit],
input[type=button],
input[type=reset],
button {
    cursor: pointer;
    overflow: visible;
    padding: .1em .4em;
}
input[disabled],
button[disabled],
input[readonly],
button[readonly] {
    cursor: auto;
}

input:focus,
button:focus,
select:focus,
keygen:focus,
textarea:focus {
    outline: 1px solid #ccc; /* §colour */
    /* box-shadow: 0 0 5px #999; doesn't work in Chrome */
}
input::-moz-focus-inner,
button::-moz-focus-inner {
    border: 0;
    padding: 0;
}


/*____________ media ____________*/

img {
    border-width: 0;
    vertical-align: middle;
    color: #666; /* §colour */
    background-color: transparent;
    font-style: italic;
    height: auto;
}

img,
object,
embed,
iframe,
video,
audio {
    max-width: 100%;
}

iframe {
    border-width: 0;
    background-color: inherit;
}

object:focus,
embed:focus,
iframe:focus,
video:focus,
audio:focus {
    outline: none;
    box-shadow: 0 0 5px #999;
}

audio:not([controls]) {
    display: none;
    height: 0;
}


/*____________ misc ____________*/

hr {
    border-style: solid;
    border-width: 1px 0 0;
    text-align: center;
    height: 0;
    clear: both;
}

acronym,
abbr {
    font-style: normal;
}
acronym[title],
abbr[title] {
    cursor: help;
    border-bottom: 1px dotted;
}

mark {
    background: #ff0; /* §colour */
    color: inherit; /* §colour */
}

pre,
code,
samp,
kbd {
    font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; /* §font */
    font-size: 1em;
    direction: ltr;
    text-align: left;
}
pre {
    overflow: auto;
}

blockquote {
    padding: 0 1.25em;
    border: solid #ccc; /* §colour */
    border-width: 0 0 0 .25em;
}
[dir=rtl] blockquote {
    border-width: 0 .25em 0 0;
}
[dir=ltr] blockquote {
    border-width: 0 0 0 .25em;
}
q:before,
q:after {
    content: '';
}

sub,
sup {
    font-size: .8em;
    line-height: 1;
}
sub {
    vertical-align: sub;
}
sup {
    vertical-align: super;
}

small {
    font-size: .8em;
}

menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
menu[type=context] {
    display: none;
}


/*____________ general classes ____________*/

.box {
    margin-bottom: 1.4em;
    padding: .7em 1em 0;
    padding: .7rem 1rem; /* for those browsers understanding :last-child */
    background-color: #ddd; /* §colour */
    color: inherit; /* §colour */
}
.box > :last-child {
    margin-bottom: 0;
}

/* for media in content */
.left {
    float: left;
    margin: .2em 1.5em .2em 0;
}
.right {
    float: right;
    margin: .2em 0 .2em 1.5em;
}

/* hide something in an accessible way */
.a11y {
    position: absolute;
    left: -99999em;
    top: 0;
    overflow: hidden;
    display: inline;
}

/* one of the many clearfix versions */
.group {
    display: inline-block;
}
.group {
    display: block;
}
.group:before,
.group:after {
    content: "";
    display: table;
}
.group:after {
    clear: both;
}


} /* /@media */


/* all styles
********************************************************************/

article,
aside,
footer,
header,
hgroup,
nav,
section,
figure,
figcaption,
details,
summary {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
}


/* print styles
********************************************************************/

@media print {

body {
    font: normal 87.5%/1.3 Garamond, Baskerville, "Hoefler Text", "Nimbus Roman No9 L", serif; /* §font §fsize */
    background-color: #fff;
    color: #000;
}

.a11y,
form,
menu,
audio,
video {
    display: none;
}

img {
    border-width: 0;
    vertical-align: middle;
}

mark {
    font-weight: bold;
}

a:link,
a:visited {
    text-decoration: underline;
    color: #333; /* §colour */
    background-color: inherit;
}

a[href*="\://"]:after,
a[href^=mailto]:after,
acronym[title]:after,
abbr[title]:after {
    color: #666; /* §colour */
    font-size: .8em;
}
a[href*="\://"]:after {
    content: " ["attr(href)"]";
}
a[href^=mailto]:after {
    content: " <"attr(href)">";
}
acronym[title]:after,
abbr[title]:after {
    content: " ("attr(title)")";
}


} /* /@media */


@media screen {

html, body {
  background-color: #ddd;
  margin: 0;
  padding: 0;
}

#container {
  max-width: 920px;
  margin: 0px auto;
  background:white;
}

header {
  background-color: #275261;
  padding: 2em 2em 0;
  color: white;
}

header a.langswitch {
	color: white;
	display: block;
	float: right;
}

header a.navigation {
	display: inline-block;
	padding: 0.5em;
	margin-right: 1em;
}

header a.navigation:active, a.navigation:hover, a.navigation.current {
	background: white;
	color: black;
}

header *, header a:link, header a:visited, header a:active {
  color: white;
}

#content {
  padding: 2em;
}

p.error {
	border: 2px solid red;
	background-color: #fee;
	padding: 0.5em;
}

.label {
	display: block;
	clear: left;
	float: left;
	width: 43%;
	margin-right: -43%;
	text-align: right;
}

label input, button, label textarea, .data {
	display: inline-block;
	margin-left: 45%;
	width: 55%;
	box-sizing: border-box;
}

label input[type=checkbox] {
	width: auto;
}

label .error {
	border: 2px solid red;
}

form .help {
	margin-left: 45%;
}

.required {
	color: red;
	font-weight: bold;
}

}

@media print {
	header a.langswitch {
		display: none;
	}
}

@media screen and (max-width: 480px) {
  header {
    padding: 0.5em 0.5em 0;
  }

  header a.navigation {
    margin-right: 0.25em;
  }

  header a.langswitch.current {
    display: none;
  }

  header h1 {
    font-size: 1.7em; /* §fsize */
  }

  #content {
	  padding: 0.5em;
  }

.label {
	width: 100%;
	margin-right: 0;
	text-align: left;
}

label input, button, label textarea, .data {
	display: inline-block;
	margin-left: 0;
	width: 100%;
	box-sizing: border-box;
}

form .help {
	margin-left: 0;
}
}
