@font-face{
    font-family: 'Source Sans Pro';
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    src: url('/resources/themes/bfmweb/fonts/SourceSansPro-Regular.eot') format('embedded-opentype'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-Regular.ttf.woff2') format('woff2'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-Regular.otf.woff') format('woff'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-Regular.otf') format('opentype'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-Regular.ttf') format('truetype');
}
@font-face{
    font-family: 'Source Sans Pro';
    font-weight: 400;
    font-style: italic;
    font-stretch: normal;
    src: url('/resources/themes/bfmweb/fonts/SourceSansPro-It.eot') format('embedded-opentype'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-It.ttf.woff2') format('woff2'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-It.otf.woff') format('woff'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-It.otf') format('opentype'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-It.ttf') format('truetype');
}
@font-face{
    font-family: 'Source Sans Pro';
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    src: url('/resources/themes/bfmweb/fonts/SourceSansPro-Bold.eot') format('embedded-opentype'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-Bold.ttf.woff2') format('woff2'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-Bold.otf.woff') format('woff'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-Bold.otf') format('opentype'),
         url('/resources/themes/bfmweb/fonts/SourceSansPro-Bold.ttf') format('truetype');
}
* {
  touch-action: manipulation; /* try to prevent "double-tap zoom" - see https://stackoverflow.com/a/54207844 */
  box-sizing: border-box;
}

:root {
	/* Primitives */
	--roxy-basecolor: #a86dab;

	--jimmy-basecolor: #6cbe99;
	--jimmy-basecolor-darkened: #3A8362; /* n.f. white text */
	--jimmy-basecolor-lightened: #98D2B9; /* b.f. black text */

	--robert-basecolor: #738fc9;
	--robert-basecolor-darkened: #4F73BA; /* n.f. white text */
	--robert-basecolor-lightened: #A3B6DB; /* b.f. black text */

	--lola-basecolor: #f08050;
	--kiki-basecolor: #dbce29;
	--doro-basecolor: #0e4194;
	--devil-basecolor: #ea5045;
	--claudi-basecolor: #a6bbc4;

	/* Semantic */
	/*
	--color-primary: var(--blue-600);
	--color-background: var(--gray-50);
	--color-text: var(--gray-900);
	--color-text-muted: var(--gray-500);
	*/
	--button-color-background: var(--doro-basecolor);
	--button-color-text: #ffffff;
	--button-color-background-hover: var(--claudi-basecolor);
	--button-color-text-hover: #000000;
}

html, body {
	min-height: 100%;
}
html {
	font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	margin: 0;
	background-color: #efefef;
}
body {
	margin: 0 auto;
	padding: 0 0.75em;
	background-color: #ffffff;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	max-width: 1360px;
}
main {
	margin-bottom: 5em;
	margin: 2.0vh 0;
	flex: 1;
}
h1 {
	font-size: 1.5em;
	line-height: 1.1em;
	color: #000000;
	margin-top: 0.25em;
	font-weight: normal;
	text-align: center;
}
h2 {
	font-size: 1.35em;
	color: #000000;
}
h3 {
	font-size: 1.15em;
}

fieldset {
	border: none;
	margin: 0;
	padding: 0;
	line-height: 1.25;
}
.field {
	margin-bottom: 0.75em;
}
label.left {
	font-weight: bold;
	display: inline-block;
	margin-bottom: 0.125em;
}
textarea {
	width: 60vw;
	min-width: 10em;
	max-width: 720px;
	height: 7.5em;
	font-family: inherit;
	font-size: inherit;
	background-color: #dbce292b;
	border: 1px solid #000000;
	padding: 0.375em;
}
input[type="text"] {
	width: 60vw;
	min-width: 10em;
	max-width: 720px;
	font-family: inherit;
	font-size: inherit;
	background-color: #dbce292b;
	border: 1px solid #000000;
	padding: 0.375em;
}
input[type="checkbox"], input[type="radio"] {
	width: 1.15em;
	height: 1.15em;
	font-family: inherit;
	font-size: inherit;
	vertical-align: middle;
}
ul.optionset {
	list-style-type: none;
	padding-left: 0.5em;
	margin-top: 0.375em;
}
.optionset li {
	margin-bottom: 0.25em;
}
.optionset label {
	vertical-align: middle;
}

button,
a.button,
.btn-toolbar input {
	border: 1px solid #000000;
	background-color: var(--button-color-background);
	color: var(--button-color-text);
	font-family: inherit;
	font-weight: bold;
	font-size: 1.15em;
	padding: 0.25em 0.5em;
	cursor: pointer;
}
button:disabled,
.btn-toolbar input:disabled {
	opacity: 0.25; 
	cursor: not-allowed;
}
a.button {
	text-decoration: none;
}
button:hover,
a.button:hover,
.btn-toolbar input:hover {
	background-color: var(--button-color-background-hover);
	color:  var(--button-color-text-hover);
}
button.subtle,
input[type="submit"].subtle {
  background-color: #ffffff;
  color: #5f5f5f;
  width: auto;
  padding: 0.2em 0.375em;
  font-size: 0.85em;
  font-weight: normal;
  border: 1px solid #8f8f8f;
}
button.subtle:hover,
input[type="submit"].subtle:hover {
  background-color: #dfdfdf;
  color: #000000;
  border-color: #000000;
}

footer {
	width: 100%;
	padding: 0.5em 0;
}
footer p {
	font-size: 0.85em;
	margin: 1.175em 0 0 0;
}
footer a {
	color: #000000;
	text-decoration: none;
}
footer a:hover, footer a:focus {
	text-decoration: underline;
}


@media only screen and (min-width: 768px) {
  html {
    font-size: 1.2em;
  }
  body {
  	padding-left: 1em;
  	padding-right: 1em;
  }
}
@media only screen and (min-height: 720px) {
  h1 {
  	margin-top: 0.5em;
  }
}
