html {
	font-size: 62.5%;
	padding: 1rem;
}

body {
	font-size: 1.6rem;
  line-height: 1.5;
	font-family: Lucida, "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  background: white;
}

h1 {
	background-color: yellow;
	font-size: 2.4rem;
	font-weight: 400;
	padding: 0.6rem 1.2rem;
}

h2 {
	font-size: 2rem;
  padding-left: 1.2rem;
	font-weight: 700;
}

p {
  max-width: 36em;
  margin: 0 auto 1em;
}


a {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid black;
}

a:visited {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid black;  
}

.black {
  color: black;
}

.red {
  color: red;
}

.sel {
  background: #efefef;
}


.letter_spaced {
  background-color: #efefef;
  letter-spacing: 0.1rem;
  padding: 0 0.6rem;
}

.container {
  min-height: 500px;
}

.container, footer {
    max-width: 700px;
    margin: 0 auto;
}


.sample {
	font-size: 2.4rem;
}

table {
	font-size: 1.2rem;
	border: none;
	font-family: Menlo, monospace;
	width: 100%;
}


tr:nth-child(even) { background: #CCC; }
tr:nth-child(odd) { background: #FFF; }
tr:first-child { background: yellow; }
tr:last-child { background: yellow; }

td {
	min-width: 18px;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


footer {
	margin-top: 50px;
	border-top: 1px solid black;	
  padding-top: 2rem;
}

footer p {
  font-size: 1.2rem;
  max-width: 100%;
  margin-left: 0;
}

form { 
  position: relative; 
}

.question {
  font-size: 1.4rem;
  padding-bottom: 0;
  padding-top: 0.25rem;
  border-top: 1px solid #b0b0b0;
}

#user_form p {
  font-size: 1.4rem;
  margin: 1.6rem 0 0;
}

#the_form {
	margin: 6rem 0;
	padding: 2rem 0;
	width: 100%;
  min-height: 200px;
}



#C {
  margin: 3rem auto;
}

label {
	font-size: 1.2rem;
}

.consent_checkboxes {
  max-width: 100%;
  margin: 0 auto;
}

.consent_checkboxes label {
  font-size: 1.6rem;
  padding-bottom: 0.5em;
}

figure {
  margin: 0;
}

figure img {
  margin: 0 auto;
}


figcaption {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

video, img {
  max-width: 100%;
  height: auto; 
}


input[type='text'],
input[type='number'] {
  /*display: inline-block;*/
  min-width: 160px;
  padding: 0.75rem;
  background-color: white;
  border: 1px solid #b0b0b0;

 }

input[type='submit'] {
  padding: 2rem;
  margin: 2rem;
  background-color: #f8f8f8;
  border: 1px solid gray;
  min-width: 25%;
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;

}

#nextButton {
  margin-top: -3rem;
  min-width: 2rem;
  padding: 0.25rem;
  visibility: hidden;
  position: absolute;
  display: inline-block; 
  left: 50%;
}

#next_j {
  display: inline-block;
  left: 45%;
  margin: -3rem 0;
  min-width: 10%;
  padding: 1rem;
  position: relative;
  visibility: hidden;
}

#next_tm {
  min-width: 20%;
  padding: 2rem;
  margin: 0;
  visibility: hidden;
  position: relative;
  display: inline-block; 
  left: 40%;
}

input[type='range'] {
  /*display: inline-block;*/
  margin: 0 25%;
  width: 50%;
  border: none;

 }

input[type='checkbox'] {
  font-size: 1.6rem;
  margin-left: -2rem;
 }


/*---------*/

input[type="radio"] {
    border: medium none;
    margin: 1rem;
}

fieldset {
  margin: 0 0 2rem;
/*  border: 1px solid #33333;
*/  border: none;
  padding: 1rem 3rem 3rem;

 border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  background-color: #f8f8f8;
  /*padding: 2rem;*/

}

legend {
  font-size: 1.6rem;
  padding: 0.5rem 1rem;
  background-color: yellow;
  border-radius: 0.25rem;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
}


#the_form input[type="radio"] {
    border: medium none;
    margin: 0 23% 0 23%;
    width: 3%;
}


input[type=range] {
  -webkit-appearance: none;
  background: none;
}

input[type=range]::-webkit-slider-runnable-track {
  height: 10px;
  background: #ddd;
  border: none;
  /*background-image: url('/assets/imgs/scale_ticks.svg');*/
  background-size: 100% auto;
}

input[type=range]::-ms-track {
  height: 10px;
  background: #ddd;
  border: none;
  /*background-image: url('/assets/imgs/scale_ticks.svg');*/
  background-size: 100% auto;
}

input[type=range]::-moz-range-track {
  height: 10px;
  background: #ddd;
  border: none;
  /*background-image: url('/assets/imgs/scale_ticks.svg');*/
  background-size: 100% auto;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 28px;
  width: 8px;
  border-radius: 0;
  background: #555;
  margin-top: -10px;
  position: relative;
}

input[type=range]::-ms-thumb {
  -webkit-appearance: none;
  border: none;
  height: 28px;
  width: 8px;
  border-radius: 0;
  background: #555;
  margin-top: 15px;
  position: relative;
}

input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  border: none;
  height: 28px;
  width: 8px;
  border-radius: 0;
  background: #555;
  margin-top: 15px;
  position: relative;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]:active {
  outline: none;
}

:focus { outline: none; }
::-moz-focus-inner { border: 0; }

input[type=range]::-moz-focus-outer {
    border: 0;
    }

/*------------*/

.range-slider {
	margin: 0 auto;
}

.range-label {
    /*display: inline-block;*/
    font-size: 1.8rem;
    line-height: 1.5;
    padding: 5px 0 ;
    margin: 2rem 0;
    position: relative;
    width: 50%;
    text-align: center;
    float: left;
}

output { 
  position: absolute;
  background: black;
  padding: 2px 4px;
  text-align: center; 
  color: white; 
  display: inline-block; 
  /*bottom: 150%;*/
  left: 50%;
  font-size: 1rem;
}

/*output:after { 
  content: "";
  position: absolute; 
  width: 0;
  height: 0;
  border-top: 10px solid #999999;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  margin-top: -1px;
}
*/

/*#set_value {
	width: 50%;
	margin: 0;
	padding: 0;
}
*/
.stimuli {
	font-size: 3.2rem;
	text-align: center;
}

.center {
	margin: 0 auto;
	text-align: center;
}