@import url('https://fonts.googleapis.com/css?family=Bevan');

body {
	background: #4ac;
}
body.reader-fullscreen {
	overflow: hidden;
}
.container {
	background: #FFF;
	margin-bottom: 30px;
	border-radius: 12px;
}
footer {
	position: relative;
	top: 22px;
	display: inline-block;
	float: right;
}

/*header */
#header {
	background: none;
	padding-top: 10px;
	color: #FFF;
}
.unit {
	font-weight: bold;
}
#header h1 {
	font-family: 'Bevan', sans-serif;
}
#instructions, #info-wrapper {
	margin-top: 10px;
	margin-bottom: 10px;
}
#info-wrapper {
	text-align: right
}
#instructions .glyphicon-info-sign {
	font-size: 80px;
	display: inline-block;
	color: #AAA;
}

/*Activity */
#activity {
	margin-top: 20px;
	margin-bottom: 40px;
}
.btn-activity {
	background: #E55934;
	color: #FFF;
}
.btn-activity:hover {
	background: #FFF;
	color: #E55934;
}
#activity h1#question {
	margin-bottom: 20px;
}
#checkBtn, #nextBtn, #prevBtn, #printBtn, #resetBtn, .modal-content .btn {
	font-size: 2em;
	padding-left: 1.8em;
	padding-right: 1.8em;
}
#suggested-response {
	display: none;
}


.btn-default:focus, .btn-default:active {
	color:#FFF;
	background:#e55934
}

/*Modal*/
.modal-content {
	background: #FFF;
	border: solid 10px #e55934;
}
.modal-content .modal-body

.modal-score {
	font-size: 50px;
	font-family: 'Bevan';
	background: #dfdfdf;
	display: inline-block;
	padding: 10px 15px;
	float: left;
	margin-right: 1em;
}
.modal-msg {
	margin-top: 5px;
}
#activity-wrapper .text-input {
	margin-top: 40px;
}

/*chase quiz */
.btn-choice {
	white-space: normal;
	min-height: 100px;
}
#scoreBoard {
	margin: 20px auto;
	height: 100px;
	width: 100%;
	border: solid #BC492B 10px;
	padding: 0px;
	border-radius: 6px;
	position: relative;
}
#scoreBoard .boxx {
	float: left;
	background: #fdfdfd;
	width: 9%;
	height: 80px;
	line-height: 80px;
	display: inline-block;
	z-index: 10 !important;
	text-align: center;
	font-size: 4em;
	font-family: 'Bevan';
	transition: all 400ms cubic-bezier(.55, .03, .34, 1.25);
}
#scoreBoard .boxx:nth-child(even) {
	background: #dfdfdf;
}
#scoreBoard .marker {
	width: 9%;
	transform: rotate(180deg);
	border-radius: 10px;
	margin: 0 auto;
	font-size: 4em;
	text-align: center;
	color: #E55934;
	position: absolute;
	bottom: -55px;
	left: 0px;
	z-index: 999;
	transition: left 1200ms cubic-bezier(.55, .03, .34, 1.25);
}
#scoreBoard .boxx:last-child {
	padding-left: 5px;
}
#scoreBoard .boxx.active {
	box-shadow: 4px 10px 10px 3px rgba(0, 0, 0, 0.25);
	transform: scale(1.2);
}

/* Sortable */
#sortable .sortable-item-holder {
	background: #671804;
	width: 100%;
	display: block;
}
#sortable .sortable-item {
	width: 100%;
	white-space: normal;
	text-align: left;
	border-radius: 0px;
}
@media screen and (max-width:1200px) {
	#scoreBoard .boxx {
		font-size: 2em;
	}
}

/*Feedback*/
#feedback table {
	margin-top: 10px;
	margin-bottom: 20px;
}
#feedback table thead > tr > th {
	background: #E55934;
	color: #FFF;
	font-size: x-large;
	font-weight: bold;
	padding: 10px 15px;
}
#feedback table tr td {
	padding: 10px 15px;
	
}

#feedback table tr td:first-letter {
	text-transform:capitalize; 
}
#reviewers {
	margin: 0 auto;
	width: 100%;
	text-align: center;
}
#reviews {
	visibility: hidden;
	opacity: 0;
	height: 0px;
	overflow: hidden;
	transition: all 1200ms ease;
}
#reviews.open {
	opacity: 1;
	visibility: visible;
	height: 700px;
}
.person {
	width: 200px;
	height: 200px;
	display: inline-block;
	border-radius: 100%;
	border: solid 10px #E55934;
	margin: 0 10px;
	overflow: hidden;
	cursor: pointer;
	transition: all 400ms ease;
	background: rgba(255, 255, 255, 1);
}
.person:hover {
	border-style: double;
}
.person.active {
	background: rgba(229, 89, 52, 1);
	border-color: #fff;
	border-style: double;
}
ul.radio {
	padding: 0px;
	margin: 0;
}
.radio li {
	margin-bottom: 1em;
	list-style: none;
	padding: 5px;
}
.radio.answer > li {
	padding-right: 40px
}
.radio li:hover {
	background-color: #EDEDED
}
ul.radio.answer > li:after {
	position: absolute;
	color: rgba(229, 89, 52, 1.00);
	font-family: 'Glyphicons Halflings';
	content: "\e014";
	font-size: 1.6em;
}
ul.radio.answer > li.correct:after {
	font-family: 'Glyphicons Halflings';
	content: "\e013";
	font-size: 1.6em;
}
img.link{
	border:solid #FFF; 
	border-sizing:border-box
}
img.link:hover{
	cursor:pointer;
	border:solid #E55934;	
}


/*text input style*/
.textinput-wrapper {
	font-size: 16px;
	background: #E55934;
	padding: 15px;
	margin: 20px auto;
	border-radius: 4px;
}
.textinput-wrapper .input-box {
	background: #FFF;
	border: thin;
	min-height: 120px;
	padding: 5px;
}
.textinput-toolbar {
	padding: 5px;
	padding-left: 0px;
	clear: both;
}
.textinput-toolbar > .icon.btn.btn-default {
	color: #333;
}
.textinput-toolbar .special-char:first-child {
	margin-left: 0px;
}

.textinput-toolbar .special-char:nth-child(n3):after{
	content:"\a";
	white-space: pre
}

.textinput-toolbar .wordcount {
	color: #FDFDFD;
}
.textinput-wrapper .special-char {
	display: inline;
	margin: 2px
}

/*reader */
.reader-wrapper {
	margin-top: 20px;
	margin-bottom: 40px;
	padding: 10px 15px;
	background: #E55934;
	border-radius: 4px;
}
.textWrapper {
	background: #FDFDFD;
	display: block;
	color: #222;
	padding: 15px;
	height: 500px;
	overflow-y: scroll;
}
.reader-toolbar {
	padding: 15px;
	display: inline-block;
	padding-left: 0px;
}
.reader-toolbar .icon {
	margin: 2px;
	min-width: 40px;
	min-height: 40px;
}
.reader-toolbar .icon:first-child {
	margin-left: 0px;
}
#largefontBtn span.glyphicon {
	font-size: 18px;
}
#largefontBtn:after {
	content: "+";
}
#smallfontBtn span.glyphicon {
	font-size: 10px;
}
#smallfontBtn:after {
	content: '-'
}

/*reader - full screen */
.reader-wrapper.fullscreen {
	position: fixed;
	margin-top: 0px;
	margin-bottom: 0px;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 1002;
}
.reader-wrapper.fullscreen .textWrapper {
	height: 95%;
	width: 88%;
	margin: 20px auto;
	padding-bottom: 3em;
	font-size: x-large;
}
.reader-wrapper.fullscreen .reader-toolbar {
	display: none;
}
.reader-wrapper.fullscreen .closeBtn {
	position: absolute;
	top: 5px;
	right: 15px;
	width: 40px;
	height: 40px;
}

/* sentence */
#sentence {
	margin-top: 20px;
	margin-bottom: 40px;
	text-align: left;
}
#sentence .drag-word {
	display: inline-block;
	vertical-align: top;
	color: #FFF;
	border-left: solid 2px #c74726;
	margin-bottom: 10px;
	padding: 10px 15px;
	background: #E55934;
	cursor: pointer;
	font-size: x-large;
}
#sentence .drag-word:hover {
	background: #D15130;
}
#sentence .drag-word.ui-sortable-helper {
	box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.75);
}
.drag-word:first-child {
	text-transform: capitalize;
}
.videoPoster {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	cursor: pointer;
	border: 0;
	outline: none;
	background-position: 50% 50%;
	background-size: 100% 100%;
	background-size: cover;
	text-indent: -999em;
	overflow: hidden;
	opacity: 1;
	-webkit-transition: opacity 800ms, height 0s;
	-moz-transition: opacity 800ms, height 0s;
	transition: opacity 800ms, height 0s;
	-webkit-transition-delay: 0s, 0s;
	-moz-transition-delay: 0s, 0s;
	transition-delay: 0s, 0s;
}



.videoPoster:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	margin: -40px 0 0 -40px;
	border: 5px solid #fff;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-transition: border-color 300ms;
	-moz-transition: border-color 300ms;
	transition: border-color 300ms;
}
.videoPoster:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	margin: -20px 0 0 -10px;
	border-left: 40px solid #fff;
	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent;
	-webkit-transition: border-color 300ms;
	-moz-transition: border-color 300ms;
	transition: border-color 300ms;
}
.videoPoster:hover:before, .videoPoster:focus:before {
	border-color: #4ac;
}
.videoPoster:hover:after, .videoPoster:focus:after {
	border-left-color: #4ac;
}



/*PEN TOOL OPTIONS*/
#penToolBtn{
position: relative;
    z-index: 1001;
    pointer-events: auto;
}
#penToolOptions
{
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    visibility: hidden;
    float: left;
       
    padding: 15px;
    border: 1px solid #ccc;
    background-color:#E55934;
    box-shadow: 0 0 20px #ccc;
	border-bottom-left-radius:6px

}
#penToolOptions .penActive
{
    z-index: 1000;

    visibility: visible;
}

.penColourOption
{
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #aaa;
    border-radius: 20px;

}

#penToolOptions button
{
    background-position: center;
    background-size: 100% 100%;
     cursor: pointer;
    /*-moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;*/
}

#penToolOptions button.icon {
	display:block;
	margin:2px auto;
	width:100%;
	
}

.penColourOption:hover
{
    transition: .2s;
    -webkit-transform: scale(1.1);
}

#penBLACK
{
    background-color: black;
}

#penRED
{
    background-color: red;
}

#penGREEN
{
    background-color: green;
}

#penBLUE
{
    background-color: blue;
}

/*CANVAS*/
canvas{
      -webkit-user-select: none;  /* Chrome all / Safari all */
      -moz-user-select: none;     /* Firefox all */
      -ms-user-select: none;      /* IE 10+ */
      user-select: none;        

}

#erasing_canvas
{
    position: absolute;
    z-index: 998;
    top: 0;
    left: 0;

    display: none;

    width: 100%;
    height: 100%;

    cursor: url(http://resource.download.wjec.co.uk.s3.amazonaws.com/GraceDev/pen_tool/images/eraser_cursor.png), auto;
    
    /* pointer-events: none; */
}

#drawing_canvas
{
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;

    cursor: crosshair;

    /* pointer-events: none; */
}

.no-select{
      -webkit-user-select: none;  /* Chrome all / Safari all */
      -moz-user-select: none;     /* Firefox all */
      -ms-user-select: none;      /* IE 10+ */
      user-select: none;        
}


@media print {
	body {
		font-size:1.8em
	}
	
	p {
		font-size:14px;
	}
	#activity #question, .btn, #instructions, #coverimageforplayer {
		display: none;
	}
	#logo:after {
		content: "";
		display: block;
		z-index: -1;
		border-bottom: 100px solid #AAA;
		width: 100px;
		left: 10px;
		top: -10px;
		position: absolute;
	}
	.textinput-toolbar {
		display: none;
	}
	
	.keypad-popup {
		display:none!important;
		opacity:0!important;
	}
		
		
}
