/* elements */

html, body {
	font-family: Arial, sans-serif;
}

@viewport {
  width: device-width;
}

h1, h2 {
	margin: 0;
}

ul {
	margin-top: 20px;
}

p {
	margin-top: 0;
	margin-bottom: 20px;
}

label {
	margin-bottom: 10px;
	float: left;
	clear: both;
	font-weight: normal;
	width: auto;
}

input[type="radio"] {
  margin-right: 10px;
}

fieldset {
	margin-bottom: 10px;
}

/* modern clearfix */
.group:after {
  content: "";
  display: table;
  clear: both;
}

/* IDs*/

#contentsList {
	margin-bottom: 0px;
}

/* navigation */ 

#screenLabel {
	text-align: left;
	font-weight: normal;
	font-style: normal;
}

#arrowWrapper {
}

#previousArrow {
	float: left;
	text-align: right;
	margin-right: 1em;
}

#nextArrow {
	float: left;
	text-align: right;
	margin-left: 1em;
}

/* progress bar/crumb */

#breadcrumb {
	float: left;
	width: 100px; /* change to maximum required with in assesment */
	text-align: center;
	height: 20px;
}

.crumb-active, .crumb-inactive:hover {
	opacity: 0.6;
}

.crumb-inactive {
	opacity: 0.6;
}

#crumbWrapper {
	display: inline-block;
}

.crumb {
	width: 12px;
	height: 20px;
	border-radius: 2px;
	float: left;
	margin: 0px 1px;
}

/* show/hide activity - hide block */

.hide {
	display: none;
}

.fade-in {
	animation: fade-in 0.15s ease-out forwards;
}

.fade-out {
	animation: fade-out 0.15s ease-out forwards;
}

@keyframes fade-in {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes fade-out {

    0% {
        display: block;
        opacity: 1;
    }
    99% {
        display: block;
        opacity: 0;
    }
    100% {
        display: none;
        opacity: 0;
    }

}

/* show/hide activity - maintain block */

.hide-inplace {
	opacity: 0;
	pointer-events: none;
}

.show-inplace {
	opacity: 1;
	pointer-events: auto;
}

.fade-in-inplace {
	animation: fade-in-inplace 0.15s ease-out forwards;
}

.fade-out-inplace {
	animation: fade-out-inplace 0.15s ease-out forwards;
}

@keyframes fade-in-inplace {
    0% {
		pointer-events: none;
        opacity: 0;
    }

    1% {
		pointer-events: auto;
        opacity: 0;
    }

    100% {
		pointer-events: auto;
        opacity: 1;
    }
}

@keyframes fade-out-inplace {

    0% {
		pointer-events: auto;
        opacity: 1;
    }
    99% {
		pointer-events: auto;
        opacity: 0;
    }
    100% {
        pointer-events: none;
        opacity: 0;
    }

}

/* other classes */

a.navLink:focus {
	text-decoration: none;	
}

.task {
	font-size: 1.15em;
	margin-bottom: 0.5em;
}

.numberInput {
	width: 5em;
}

.questionGraph {
	width: 90%;
}

.graphImage {
	box-sizing: border-box;
	width: 95%;
    padding: 10px;
    border: 1px solid #C6CDD0;
	background-color: #FFFFFF;	
}

.whiteBG {
	background-color: #FFFFFF;	
}

.noBottomMargin {
	margin-bottom: 0px;
}

.addBottomMargin {
	margin-bottom: 20px;
}

td.addPadding {
	padding: 20px;
}

.floatLeft {
	float: left;
}

.responseHeader {
	margin: -10px -20px 10px -20px;
	padding: 10px 0px 5px 20px;
}

.responseHeader > .responseHeaderText {
	color: #212628;
}

.responseHeaderShowMe {
	background-color: #ced1d2;
}

.responseHeader-right {
	background-color: #cee4cf;
}

.responseHeader-wrong {
	background-color: #ced1d2;
}

.annotation {
	color: #FF0000;
}
