﻿/***********************************************************************************************
 *
 * GAP
 *
 * styles added by paul
 *
 ***********************************************************************************************
**/


/***********************************************************************************************
 *
 * styles used by view_team.php
 *
 ***********************************************************************************************
**/
div.teachers  {
	/* TODO - make rounded corners for this */
	background: #ccc;
}

div.teachers div.c {
	background: transparent;
}

div.pupils {
}

div.teachers div.profile {
	width: 46%;
	height: 132px;
	float: left;
}

div.pupils div.profile {
	width: 124px; 
	height: 190px; 
	float: left;
	margin: 10px;
}

div.profile a.headshot {
	display: block;
	width: 104px;
	height: 112px;
	background: #fff;
	padding: 10px;
	border: 1px solid #ccc;
}

div.profile {
	margin: 10px;
}

div.profile a.headshot img {
	text-align: center;
	margin: 0 auto;
	width: 104px;
}

div.profile div.profile_info p {
	font-size: 90%;
	line-height: 0.8em;
	margin-top: 10px;
}

div.teachers a.headshot {
	float: left;
}

div.teachers div.profile div.profile_info {
	width: 132px;
	float: right;
}

div.profile .name {
	font-weight: bold;
}

/***********************************************************************************************
 *
 * measurement form & results
 *
 ***********************************************************************************************
**/

div.results, div.question {
	position: relative;
	width: 760px;
}

div.results div.question {
	position: relative;
}

div.question h2 {
	font-size: 1.6em;
	margin: 0.5em 0;
}

div.results ul.answer {	
	list-style-type: none;
	list-style-image: none;
	width: 100%;
	float: left;
	clear: right;
	margin: 0.4em 0;
}

div.results ul.answer li {
	margin: 1em 0;
	list-style-type: none;
	list-style-image: none;
}

div.results ul.answer li div {
	width: 180px;
}

div.results ul.answer li div {
	font-weight: normal;
}

/* comments in answers */
div.results div.comment {
	background: transparent;
	position: relative;
	width: 620px;
	height: 125px;
	margin-left: 100px;
	overflow: hidden;
}

div.results div.comment p {
	display: block;
	position: absolute;
	/* need to make background like a speech bubble */
	background: #ff9;
	padding: 1em;
	border: 1px solid;
	width: 450px;
	left: 130px;
	top: 0;
	font-weight: bold;
}

/* checkboxes */
form div.question div.checkbox, 
div.results ul.answer li.inline,
div.results ul.answer li.inline div.result  {
	float: left;
	width: 170px;
	margin-right: 1em;
}

ul.answer li div.type {
	width: 200px;
}

ul.answer li div {
	position: absolute;
	width: 170px;
}

div.results ul.answer li {
	position: relative;
	width: 570px;
	padding: 1em 0;
}

div.results ul.answer li div.m1 {
	left: 200px;
	font-weight: normal;
}

div.results ul.answer li div.m2 {
	left: 500px;
	font-weight: bold;
}

/* oddball questions */
.question .t-didYouKnowThatCompost {
	left: 550px;
	top: -20px;
}

/* challenge 2 */

/* challenge 3 	*/
/* question 9 */
#m-measure #challenge_3 #q9 .opt3 {
	width: 100px;
	height: 1.2em;
}

/* question 10 */
#m-measure #challenge_3 #q10 {
	position: relative;
}


/* question 12 */
div.results div#q12 ul.answer {
	width: 90%;
}

div.results div#q12 ul.answer li div.result {
	width: 170px;
}

/* input fields */
.question input {
	font-size: 1.2em;
}
.question input.text_numeric {
	width: 50px;
	text-align: right;
}

/* tables in measurement questions */
.question table {
	border-spacing: 10px; 
	margin: 0.5em;
}

.question table td, 
.question table th {
	padding: 0.5em 3em;
	font-size: 1.2em;
}

.question table th {
	text-align: left;
}

.question table td.right, 
.question table th.right {
	text-align: right;
}

.question table caption {
	font-size: 1.6em;
	font-weight: bold;
	text-align: left;	
}	

.question table.left {
	position: absolute;
	width: 360px;
	top: 0;
	left: 60px;
}

.question table.right {
	position: absolute;
	width: 360px;
	top: 0;
	left: 450px;
}

.results .question th, 
.results .question td {
	font-weight: normal;
}

.results .question table td.label {
	text-align: left;
	width: 120px;
}

table.narrow {
	margin: 0 4em; 
	width: 260px;
}

#challenge_1 .question table td {
	width: 120px;
}

#challenge_2 .question table td {
	width: 120px;
}

/* fruit n' veg characters */
.character {
	width: 131px;
	height: 125px;
}

div.comment .character {
	position: absolute;
	top: 0;
	left: 0;
}

#potato {
	background: transparent url(../img/fruitnveg/potato.jpg) no-repeat;
}

#pear {
	margin-top: -30px;
	background: transparent url(../img/fruitnveg/pear.jpg) no-repeat;
}

#cherry {
	margin-top: -60px;
	background: transparent url(../img/fruitnveg/cherry.jpg) no-repeat;
}

#tomato {
	margin-top: -50px;
	background: transparent url(../img/fruitnveg/tomato.jpg) no-repeat;
}

#pepper {
	margin-top: -50px;
	background: transparent url(../img/fruitnveg/pepper.jpg) no-repeat;
}

/***********************************************************************************************
 *
 * styles used by profile.php
 *
 ***********************************************************************************************
**/

#teamPicEdit {
	position: relative;
}

#teamPicEdit div {
	width: 500px;
	height: 200px;
}

#teamPicEdit img {
	float: right;
}

/* error messages etc. */
div.message p{
	font-size: 12px;
}

div.error, div.success {
	display: block;
	position: absolute;
	top: 40px;
	left: 500px;
	width: 250px;
	height: 70px;
}

div.error p, div.success p { font-weight: bold; line-height: 1.4em; }

.error{
	color: #f00;
}

.success {
	color: #0f0;
}

/* action club page */
#no_posts {
	padding: 2em;
}

.question .active, .question .m-second {
	background: #ff6600;
	color: #fff;
}

.question .was_active, .question .m-first {
	background: #659a21;
	color: #fff;
}

.question .inactive {
	background: #CCC;
}

.question .m-difference {

}

.question td.total {
	font-weight: bold;
}

.storyboard_column {
	width: 160px;
	height: 150px;
	margin-right: 10px;
	margin-top: 30px;
	padding: 10px;
	float: left;
	background: #fff;
}

form.standard div {
	margin: 2em 0;
}

form.standard div label {
	width: 300px;
	float: left;
	margin-right: 2em;
}

/* display of videos list on Teaching Resources page */

ul.videos li {
	position: relative;
	padding: 10px 0;
	margin-bottom: 0.5em;
}

ul.videos li img {
	width: 250px;
}

ul.videos li div {
	position: absolute;
	width: 300px;
	top: 10px;
	left: 280px;
	line-height: 1.4em;
}

/* edit profile page */
p input {
	margin-right: 1em;
}

.note {
	font-size: 0.9em;
}

/* action club list of blogs page */
.post {
	position: relative;
}
.post .post_title {
	width: 450px;
	overflow: hidden;
	clear: both;
	margin: 0;
}
.post .post_title h3 { 
	margin-bottom: 0; 
}
/* position edit button */
.post .edit-post {
	width: 100px;
	position: absolute;
	right: 0;
	top: 0;
}