/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, /*h2, h3,*/ h4, h5, h6, /*p,*/ blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, /*ul, li,*/
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
/*
ol, ul {
	list-style: none;
}
*/
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* up to here is just "CSS reset" */






b {
    font-style: bold;
}



@font-face {
    font-family: 'Fira';
    src: url('fira-sans/FiraSans-Regular.otf');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Fira';
    src: url('fira-sans/FiraSans-Bold.otf');
    font-weight: 700;
    font-style: bold;
}
@font-face {
    font-family: 'Fira';
    src: url('fira-sans/FiraSans-Italic.otf');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 't1';
    src: url('TGL31034TT/TGL 31034-1.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 't2';
    src: url('TGL31034TT/TGL 31034-2.ttf');
    font-weight: 400;
    font-style: italic;
}


body {
    background-color: #FFFFFF;
    color: #333;

    word-spacing: 0.1em;
    line-height: 1.6;

    font-family: 'Fira', sans-serif;
    font-weight:normal;
    margin:0;
    padding:0;
    text-align:center;
}


.content, .home-content {
    margin-top:0;
    margin-left:auto;
    margin-right:auto;
    padding:2em 1em;
    max-width:50em;
}

.content {
    hyphens: auto; 
    text-align: justify;
}


.home-content {
    font-family: 't1', sans-serif;
    text-align:center;
    overflow-x:scroll;
    height:750px;
}



@media screen and (min-width:680px) {
    .content,.home-content {
        border-top:1px solid black;
    }
}




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

a:active {
    background-color: #FFFCD6;
}

a,a:visited {
    text-decoration: none;
    color: #00197E;
}

h1 a,
h2 a,
h3 a,
h4 a,
h1 a:active,
h2 a:active,
h3 a:active,
h4 a:active,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
    color: black;
    background-color: #ffffff;
}


h1,h2,h3,h4 {
    text-align: center;
}


/* diagram */
    
.component {
    width:6em;
    height:4em;
    transform: translate(-50%, 0%);
    margin-left:150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:1.3em;
}

.interface {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height:5em;
}

.interface-text {
    font-size:14pt;
    position:absolute;
    top: 50%;
    left: 150px; 
    transform: translate(-50%, -50%);
    width: 280px;
    display: flex;
    align-items:center;
}

/* .interface-text { */
/*     font-style: bold; */
/* } */


.interface-text:before,.interface-text:after {
    display: inline;
    content:url('line.svg');
    display: inline-block;
    height: 200px;
    width:25px;
}

.interface-text span {
    border: 3px solid black;
    border-radius: 5px;
    padding: 3px 0 3px 0;
    height:1.5em;
    font-size:1.1em;
    width: 100%;
    justify-content: center;
    text-align:center;
}

.task-wrap_task4a, .task-wrap_task3, .task-wrap_task2 {
    line-height: 1.05;
    position:absolute;
    top: 50%;
    left: 305px;
    transform: translate(0%, -50%);
    width: 20em;
    font-size:17.5pt;
    text-align:left;
    margin-top: 0em;
    margin-bottom: 0em;
}

.task-wrap_task4a {
    top: -10%;
}

.task-wrap_task2 {
    top: 140%;
}

.red {
    background-color: #EDD2D2;
}

.green {
    background-color: #98D2A6;
}

.blue {
    background-color: #85CBCB;
}

.yellow {
    background-color: #FEDE76;
}

.other-tasks {
    line-height: 1.1;
    font-size: 18pt;
    height:2em;
    display:flex;
    margin-top:3em;
}

.other-tasks-left {
    padding: 1em;
    border: 1px dotted black;
    height: 100%;
    float:left;

    margin-left:auto;
    margin-right:1em;

    display: flex;
    justify-content: center;
    align-items: center;
    width:10em;
    min-width:10em;
}

.other-tasks-right {
    padding: 1em;
    border: 1px dotted black;
    height: 100%;
    display: flex;
    float:right;

    margin-left:1em;
    margin-right:auto;
    justify-content: center;
    align-items: center;
    width:10em;
    min-width:10em;
}

.mug {
    margin-top:1em;
    padding-right:1em;
    text-align:center; 
    display: inline-block;
    vertical-align: top;
/*   line-height:120%;*/
/*    margin:auto;
    align-content:center;
    -webkit-align-content: center;*/
}


.mugs {
/*    line-height:1500%;*/
width:100%;
/*line-height:300%;*/
/*    float:none;
    clear:both;
    align-content:center;
    -webkit-align-content: center;
    align-items:center;
*/
}

