/* tasks */

span.exemplar{
	font-size: 2em;
	color: #0000FF;
	text-decoration: none;
	font-weight: normal;
}
span.errorMask{        
	 text-align: center;
	 font-size: 4em;
	 color: #FF0000;
	 text-decoration: none;
	 font-weight: bold;
}
span.gono{
	font-size: 3em;
	text-decoration: none;
	font-weight: normal;
	color:white;
}
span.fixcross{
	font-size: 3em;
	text-decoration: none;
	font-weight: 100;
	color:#AAAAAA;
}
		 
/* scrambled sentences */		 
#targetWords, #sourceWords {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #eee;
	width: 100%;
	min-height: 200px;
	list-style-type: none;
	margin: 20px;
	padding: 5px;
	float: left;
}

#targetWords li, #sourceWords li {
	display: inline-block;
	margin: 10px;
	padding: 5px;
	font-size: 1.2em;
	min-width: 100px;
	text-align: center;
	border: 1px solid #c5c5c5;
	background: #f6f6f6;
	list-style-type: none;
    line-height: 2em;
}

		 
		 
/* defaults */

html,body{
	margin: 0 auto;
  	font-family: arial;
  	font-size: 1em;
	height: 91%;
	width: 96%;
}

main.main{
	display: block;
	position: relative;
	margin: 1em auto;
	min-height: 100%;
	max-width: 60em;
	padding-bottom: 5em;
}

div.header{
	margin: 0em auto;
	margin-bottom: 3em;
	max-width: 90em;
}
table.header{
	width: 95%;
	height: 4em;
	margin: 1.5em;
	max-width: 80em;
}
td.headerLeft{
	width: 33%;
	background-image:url('logo-uni-ulm.svg');
	background-repeat: no-repeat;
    background-size: auto 95%;
	background-position: left center;
}
td.headerCenter{
	width: 33%;
	background-image:url('logo-landau.svg');
	background-repeat: no-repeat;
    background-size: auto 95%;
	background-position: center center;
}
td.headerRight{
	width: 10%;
	background-image:url('logo-kop1.svg');
	background-repeat: no-repeat;
    background-size: auto 95%;
	background-position: right center;
}
td.headerRight2{
	width: 23%;
	background-image:url('logo-kop2.gif');
	background-repeat: no-repeat;
    background-size: auto 95%;
	background-position: right center;
}

div.footer{
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	width: 100%;
	font-size: 0.7em;
	background-color: #EEEEEE;
	text-align: center;
	padding: .4em 0;
}


/* headers*/
h1 {
	letter-spacing:0.05em;
	font-size: 1.5em;
	font-weight: bold;
	margin-top:1.5em;
}

h2{
	letter-spacing:0.01em;
	font-size: 1.25em;
	font-weight: bold;
	margin-top:1.5em;
}
h3 {
	letter-spacing:0.01em;
	font-size: 1em;
	font-weight: bold;
	margin-top:1.5em;
	color: #050580;
}


/* paragraphs */
p {
    line-height:1.5em;
	text-align: justify;
}


/* consent */
div.consent{
	background: #EEEEEE;
	height: 30em;
    max-height: 30em;
    overflow-y: scroll;
    margin-left: 2em;
    margin-bottom: 2em;
	padding-right: 1.2em;
	border-left: .5em solid #CCCCCC;
}
ul.consent {
	font-size: 1em;
}
p.consent {
	font-size: .8em;
	margin-top: 0.2em;
	line-height: 1.2em;
	color: #333333;
}
p.consentAgreement{
	letter-spacing:0.01em;
	font-size: 1em;
	font-weight: bold;
	margin-top: 1.5em;
	position: relative;
}
p.consentAgreement input[type=checkbox]{
	border-top: solid 1px #aaa;
	border-left: solid 1px #aaa;
	border-bottom: solid 1px #ccc;
	border-right: solid 1px #ccc;
	-ms-transform: scale(1.25); /* IE */
	-moz-transform: scale(1.25); /* FF */
	-webkit-transform: scale(1.25); /* Safari and Chrome */
	-o-transform: scale(1.25); /* Opera */
	margin-right: .5em;
}

/* warning popup in consentcheck */
p.consentAgreement .popupConsent{
	visibility: hidden;
	letter-spacing:0.01em;
	font-size: 1em;
	font-weight: normal;
	background-color: #ff1111;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 8px 16px;
	position: absolute;
	z-index: 1;
	margin-left: -14px;
	bottom: 125%;
}
/* warning popup arrow  */
p.consentAgreement .popupConsent::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 1em;
	margin-left:  0px;
	border-width: 8px;
	border-style: solid;
	border-color: #ff1111 transparent transparent transparent;
}


/* links */
/*
a, a.footer, a.go{
	color: #050580;
	text-decoration: none;
	font-weight: normal;
}
a.go{
	font-weight: bold; 
}
a:hover	{
	text-decoration: underline;
}
*/
a, a.footer{
	color: #050580;
	text-decoration: none;
	font-weight: normal;
}
a:hover	{
	text-decoration: underline;
}


/* lists */
li {
	padding: 4px;
    text-align:justify;
}

/* progress bar */
div.progressFrame{
	border: 1px solid #AAAAAA;
	border-radius: .25em;
}
div.progress{
	color: #000000;
	background-color: #EEEEEE;
	
	font-size: .7em;
	padding-left: 1em;
	padding-top: .45em;
	padding-bottom: .45em;
	border-radius: .25em 0 0 .25em;
}


/* GO link*/
div.go{
	margin-top: 3em;
	margin-bottom: 0em;
	font-size: 1.25em;
	text-align: center;
}
/* GO button*/
a.dversion{
	background-color: #EEEEEE;
	color: black;	
	display: inline-block;
	padding: .5em 1em;
	border-radius: .5em;
}
a.go{
	background-color: #EEEEEE;
	color: black;	
	display: inline-block;
	padding: .4em .8em;
	border-radius: .5em;
}
a.go:hover,a.dversion:hover{
	background-color: #AAAAAA;
	color: black;
	text-decoration: none;
}


/* agreement box*/
table.agreement{
	border: 1px solid black;
	border-collapse: collapse;
	width: 70%;
	margin-bottom: 2em;
}
tr.agreementYes, tr.agreementNo{
	display: inline-block;
}
tr.agreementYes{
	background-color: #EEEEEE;
}
td.agreement{
	text-align: center;
	padding-top: 1.5em;
	padding-bottom: 1.5em;
	padding-left: 1em;
	padding-right: 1.5em;
}
p.agreement{
	line-height: 1em;
	margin-top: 3em;
	padding-top: .1em;
	position: relative;
}
p.agreementNote{
	line-height: 1em;
	font-size: .8em;
	margin-top: -.5em;	
}

/* warning popup agreemnt*/
p.agreement .popupAgreement{
	visibility: hidden;
	letter-spacing:0.01em;
	font-size: 1em;
	font-weight: normal;
	background-color: #ff1111;
	color: #fff;
	text-align: center;
	line-height: 1.5em;
	border-radius: 6px;
	padding: 8px 16px;
	position: absolute;
	z-index: 1;
	bottom: 130%;
}
/* warning popup arrow  */
p.agreement .popupAgreement::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 1em;
	margin-left:  0px;
	border-width: 8px;
	border-style: solid;
	border-color: #ff1111 transparent transparent transparent;
}

/* warning popup demog*/
.popupDemog {
	visibility: hidden;
	position: absolute;
	letter-spacing:0.01em;
	font-size: 1em;
	font-weight: normal;
	background-color: #ff1111;
	color: #fff;
	text-align: center;
	line-height: 1.5em;
	border-radius: 6px;
	padding: 8px 16px;
	z-index: 1;
	left: 45%;
	width: 100px;
}
/* warning popup arrow  */
.popupDemog::after {
	content: "";
	position: absolute;
	top: 30%;
	right: -1em;
	margin-left:  0px;
	border-width: 8px;
	border-style: solid;
	border-color: transparent transparent transparent #ff1111;
}



/* add to panel box*/
p.addPanel{
	line-height: 1.5em;
	margin-top: 3em;
	margin-bottom: .5em;
	text-align: justify;
}
p.addPanelNote{
	line-height: 1.2em;
	font-size: .8em;
	margin-top: .5em;
	text-align: justify;
}
input[type=checkbox].addPanel{
	border-top: solid 1px #aaa;
	border-left: solid 1px #aaa;
	border-bottom: solid 1px #ccc;
	border-right: solid 1px #ccc;
	-ms-transform: scale(1.25); /* IE */
	-moz-transform: scale(1.25); /* FF */
	-webkit-transform: scale(1.25); /* Safari and Chrome */
	-o-transform: scale(1.25); /* Opera */
	margin-top: .05em;
	margin-right: .5em;
 }

div.addPanel{
    display: flex;
    display: -webkit-flex; /* safari */
	background-color: #EEEEEE;	
	padding-top: .1em;
	padding-bottom: .5em;
	padding-left: .5em;
    justify-content: center;
}
p.addPanelItem{
	display: inline-block;
/*	width: 65%;	*/
	text-align: left;
	margin-right: 1em;
}
span.addPanel{
/*	width: 34%;  /* so that it doesn't stick too close to  the right*/
	padding-left: .2em;
	padding-right: .2em;
}
label.addPanel{
	line-height: 1.2em;
	font-size: .8em;
}
tr.addPanel{
	vertical-align: top;
	text-align: left;
}
input[type=text].addPanel{
	width: 100%;  
	padding: .2em;
	margin-bottom: .5em;
	margin-top: 1.1em;
	border-top: solid 1px #aaa;
	border-left: solid 1px #aaa;
	border-bottom: solid 1px #ccc;
	border-right: solid 1px #ccc;	
	border-radius: .25em;
}

/* warning popup add panel*/
p.addPanelNote .popupAddPanel{
	visibility: hidden;
	letter-spacing:0.01em;
	font-size: 1em;
	font-weight: normal;
	background-color: #ff1111;
	color: #fff;
	text-align: center;
	line-height: 1.5em;
	border-radius: 6px;
	padding: 8px 16px;
	position: absolute;
	left: 25%;
	z-index: 1;
}
/* warning popup arrow  */
p.addPanelNote .popupAddPanel::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 5em;
	margin-left:  0px;
	border-width: 8px;
	border-style: solid;
	border-color: transparent transparent #ff1111 transparent;
}




/* feedback box*/
div.feedback{
	height: 2em;
	width: 70%;
	color: #000000;
	border: solid 1px #FFFFFF;
	background: linear-gradient(to right, #FFFFFF, #000000);
	/* for older browers: */
	background: -webkit-linear-gradient(left, #FFFFFF, #000000);
	background: -o-linear-gradient(left, #FFFFFF, #000000); 
	background: -moz-linear-gradient(left, #FFFFFF, #000000); 
}
div.feedbackCross{
	color: #050580; 
	font-weight: bold; 
	font-size: 1.3em;
	margin-top: .3em;
}
div.feedbackValue{
	font-weight: normal; 
}
span.feedbackValue{
	color: #050580; 
	font-weight: bold; 
}
table.feedback{
	margin-bottom: 3em;
	font-size: .8em;
	width: 70%;
}
td.feedbackLabelLeft{
	width: 33%;
}
td.feedbackLabelMid{
	width: 33%;
	text-align: center;
}
td.feedbackLabelRight{
	width: 33%;
	text-align: right;
}

/* scales and items */
div.itemOdd, div.itemEven, div.itemHeader, div.demogOdd, div.demogEven, div.itemVertical{
    display: flex;
    display: -webkit-flex; /* safari */
    align-items: center;
	width: 99%;
	min-height: 2em;
	font-size: .8em;

	padding-top: .1em;
	padding-bottom: .1em;
	padding-left: .5em;
	
	background-color: #EEEEEE;
	border-style: solid;
	border-width: 1px;
	border-color: #FFFFFF;
}
div.itemOdd{
	background-color: #FFFFFF;
}
div.itemVertical{
    display: inline-block;	
	background-color: #FFFFFF;
	margin-top: .5em;
	margin-bottom: .1em;
}

div.itemHeader{
	font-size: .7em;
	min-height: 3em;	
	border-bottom: 1px dashed black;
	border-top: 1px dashed black;
}
div.demogOdd{
	font-size: 1em;
	background-color: #FFFFFF;	
}
div.demogEven{
	font-size: 1em;
}

span.itemHeader{
	display: inline-block;
	width: 5.714em;  			/*itemradio width 5.5 times div-itemradio em .8  divided by itemHeader em .7*/
	text-align: center;
	padding: 1em 0;
}

p.item, p.itemDemog{
	display: inline-block;
	width: 65%;	
    line-height: 1.2em;
	text-align: left;
}

p.itemVertical{
	display: block;
	width: 100%;
	line-height: 1.5em;
	margin-bottom: .5em;
	margin-top: 1.5em;
	margin-left: .5em;
	font-size: 1.25em;  /*base em is .8; so increase by 1.25 to arrive at 1em*/
    text-align: justify;
}

label.itemRadioOdd, label.itemRadioEven{
	display: inline-block;
	width: 5em;
	height: 2em;
	text-align: center;
}

/* dont show labels for radio buttons for widescreens*/
label.labelRadio{
	display: none;
}

label.itemRadioVerticalOdd, label.itemRadioVerticalEven{
	display: block;
	width: 100%;
	text-align: left;
	height: 2em;
}
label.itemRadioVerticalOdd{
	background-color: #EEEEEE;
}

p.labelVerticalRadio{
	display: inline; 
	margin-left: .5em;
	text-align: left;
}


label input {
	margin-top: .5em;
}


/* warning message for incomplete responding */
.warningScale {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.warningScale-content {
  background-color: #ff1111;
  color: white;
  margin: 20% auto; 
  padding: .7em;
  border: 1px solid #ff5555;
  border-radius: .5em;
  max-width: 60em; 
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s  
 }
.warningScale-close {
  color: white;
  float: right;
  font-size: 2.5em;
  font-weight: bold;
  margin-top: -.3em;
}
.warningScale-close:hover,
.warningScale-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/* text input */
span.textDemog{
	width: 34%;  /* so that it doesn't stick too close to  the right*/
	padding: .2em;
}
input[type=text].demog, input[type=text].demogLabel{
	width: 100%;  
	padding: .2em;
	border-top: solid 1px #aaa;
	border-left: solid 1px #aaa;
	border-bottom: solid 1px #ccc;
	border-right: solid 1px #ccc;	
	border-radius: .25em;
}
input[type=text].demogLabel{
	width: 50%;  	
}
p.textDemogLabelPre{
	display: inline;
	padding-right: .5em;  	
	text-align: left;
}
p.textDemogLabelPost{
	display: inline;
	padding-left: .5em;  	
	text-align: left;
}

/* slider */
input[type=range].demog{
	width: 80%; /* leave room for textfield */ 
}
span.selectDemog{
	width: 34%;  /* so that it doesn't stick too close to  the right*/
	padding: .2em;
}
input[type=text].range{
	width: 3em;
	border: none;
	background-color: inherit;
	text-align:center;
}


/* dropdown */
select.item, select.demog{
	width: 34%;  /* so that it doesn't stick too close to  the right*/
	padding: .2em;
	border-top: solid 1px #aaa;
	border-left: solid 1px #aaa;
	border-bottom: solid 1px #ccc;
	border-right: solid 1px #ccc;	
	border-radius: .25em;
	background-color: #FFFFFF;
	color: #000000;
}
select.demog{
	font-size:1em;
}

/* textfields */
input.item{
	display: inline-block;
	width: 35%;
	padding: .2em;
	border-top: solid 1px #aaa;
	border-left: solid 1px #aaa;
	border-bottom: solid 1px #ccc;
	border-right: solid 1px #ccc;
	border-radius: .25em;
}



/* svo */
div.svo{
    display: block;
    align-items: center;
	text-align: center;
	width: 99%;
	min-height: 2em;
	font-size: 1em;
	margin: 1em 0;
}
div.svoout{
	width: 99%;
	height: 2em;
}
p.svo{
	display: inline-block;
	width: 10em;	
	text-align: left;
}
input[type=text].svo{
	width: 3em;
	color: #000000;
	font-size: 1em;
	border: none;
	background-color: inherit;
	text-align: center;
}
table.svo{
    line-height: 1.0em;
    font-size: 1em;
	width: 70%;
	margin: 2em auto;
	text-align: center;
}
tr.svoheader{
	font-size: .8em;
}
td.svo{
	width: 7%;
}
td.svoheader{
	font-weight:bold; 
	text-align:right; 
	width:18%;	
}
input[type=range].svo{
    line-height: 1.0em;
	width: 92%;
    font-size: .8em;
}



/* mobile */
@media all and (max-width:40em){
	div.itemOdd, div.itemEven{
		display: inline-block;		
		margin-top: .5em;
		margin-bottom: .1em;
		background-color: #FFFFFF;
	}
	label.itemRadioOdd, label.itemRadioEven{
		display: block;
		width: 100%;
		text-align: left;
	}
	label.itemRadioEven{
		background-color: #EEEEEE;
	}
	label.labelRadio{
		display: inline;
		width: 100%;
		margin-left: .2em;
	}
	p.item{
		display: block;
		width: 100%;
		line-height: 1.2em;
		margin-bottom: 1em;
		margin-top: 1em;
		margin-left: .5em;
	}
	label input {
		vertical-align: center;
	}
	div.itemHeader{
		display: none;
	}
	select.item, input.item{
		display: block;
		width: 100%;
	}
	div.feedback{
		width: 100%;
	}
	table.feedback{
		width: 100%;
	}
	table.agreement{
		width: 100%;
		font-size:.8em;
	}
	td.headerLeft{
		background-size: 95% auto;
	}
	td.headerRight{
		background-size: 95% auto;  
	}
	table.svo{
		width: 100%;
	}
	td.svo{
		width: 9%;
	}
	td.svoheader{
		width: 15%;	
	}
	input[type=range].svo{
		width: 97%;
	}
	p.addPanelItem{
		width: 25%;
	}
	p.textDemogLabelPre, p.textDemogLabelPost, input[type=text].range, select.demog{
		font-size: .8em;
	}
	div.itemVertical{
		height: auto;
		min-height: auto;
		font-size: .8em;
	}
	label.itemRadioVerticalOdd, label.itemRadioVerticalEven{
		display: flex;
		display: -webkit-flex; /* safari */
		height: auto;
		min-height: auto;
		align-items: center;
	}
	label.itemRadioVerticalOdd input, label.itemRadioVerticalEven input{
		margin-top: 0;
		width: 10%;
	}
	p.labelVerticalRadio{
		width: 90%;
	}

	
	/*swap logos*/
	td.headerLeft{
		height: 5em;
		width: 33%;
		background-image:url('logo-uni-ulm2.gif');
		background-repeat: no-repeat;
		background-size: auto 95%;
		background-position: left center;
	}
	td.headerCenter{
		width: 33%;
		background-image:url('logo-landau2.svg');
		background-repeat: no-repeat;
		background-size: auto 95%;
		background-position: center center;
	}
	td.headerRight{
		width: 33%;
		background-image:url('logo-kop1.svg');
		background-repeat: no-repeat;
		background-size: auto 95%;
		background-position: right center;
	}
	td.headerRight2{
		width: 0%;
	}		
	
}

/* custom slider range, only for non-mobile*/
@media all and (min-width:40em){

	input[type=range] {
		/*removes default webkit styles*/
		-webkit-appearance: none;
		/*required for proper track sizing in FF*/
		width: 100%;
	}
	input[type=range]::-webkit-slider-runnable-track {
		width: 100%;
		height: 5px;
		background: #ddd;
		border: none;
		border-radius: 3px;
	}
	input[type=range]::-webkit-slider-thumb {
		-webkit-appearance: none;
		border: none;
		height: 16px;
		width: 10px;
		background: grey;
		margin-top: -6px;
		cursor: pointer;
	 }
	input[type=range]:focus {
		outline: none;
	}
	input[type=range]:focus::-webkit-slider-runnable-track {
		background: #ccc;
	}

	input[type=range]::-moz-range-track {
		width: 100%;
		height: 5px;
		background: #ddd;
		border: none;
		border-radius: 3px;
	}
	input[type=range]::-moz-range-thumb {
		border: none;
		height: 16px;
		width: 10px;
		background: grey;
		margin-top: -6px;
		cursor: pointer;
	}

	/*hide the outline behind the border*/
	input[type=range]:-moz-focusring{
		outline: 1px solid white;
		outline-offset: -1px;
	}

	input[type=range]::-ms-track {
		width: 100%;
		height: 5px;
		padding: -5em 0;
		
		/*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
		background: transparent;
		
		/*leave room for the larger thumb to overflow with a transparent border */
		border-color: transparent;
		border-width: 6px 0;

		/*remove default tick marks*/
		color: transparent;
	}

	input[type=range]::-ms-fill-lower {
		background: #777;
		border-radius: 10px;
	}
	input[type=range]::-ms-fill-upper {
		background: #ddd;
		border-radius: 10px;
	}
	input[type=range]::-ms-thumb {
		border: none;
		height: 16px;
		width: 10px;
		background: grey;
		margin-top: -6px;
		cursor: pointer;
	}
	input[type=range]:focus::-ms-fill-lower {
		background: #888;
	}
	input[type=range]:focus::-ms-fill-upper {
		background: #ccc;
	}
	/* hide tooltip */
	input[type=range]::-ms-tooltip {
		display: none;
	}

	
}




