/* CSS Stylesheet for Literacy from Scratch Website */
/* Contains some left-overs from other sites! */
/* Basic settings are now for smaller screens */
body {
/*	margin: 0;
	padding: 0; */
	background-color: #FFFFFF;
	color: #000; /* 03f 456750 #264C4C; */
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 100%;
/*	border-top: 2px solid #2A4F6F;
	min-width: 760px; */
	max-width: 1024px;
}
#header {
/*	-webkit-border-radius: 10px;
	-moz-border-radius: 10px; */
	border-radius: 10px; 
	margin: -2px;
	border: 2px solid #878787; /* 5D8CC9 EA2345 00f FFFF00 #778899;#FC8003 */
/* 	border-top: 2px solid #FFFF00; #778899; */
/*	border-bottom: 2px solid #FFFF00;  dotted #B2BCC6; */
	min-height: 4em;
	display:block; 
	background-color: #FC8003; /* 5D8CC9 36f 456750 #336666; */
}
#header .name {
	float: left;
	margin-left: 0.5em;
	margin-top: 0.5em;
	font: 180% "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000; /* 778899; 366*/
}
#header .strapline {
	font: 140% "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000; /* ff0 1C3939 778899; 366*/
	background-color: transparent;
	float: right;
	margin-right: 0.5em;
	margin-top: 1em;
	margin-bottom: 0.5em;
}
#header .logo {
	float: left;
	margin-left: 1.5em;
	margin-top: 0.5em;
}
#header a:link, #header a:visited {
	text-decoration: none;
	color: #000;
	background-color: transparent;
}
#header a:hover {
	color: #7E4002; /* fff 778899 */
}
h1.strapline {
	font: 160% "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000; /* ff0 1C3939 778899; 366*/
	background-color: transparent;
	float: right;
	margin-right: 0.5em;
	margin-top: 0.8em;
}
h2.logo {
	float: left;
	margin-left: 1.5em;
	margin-top: 0.5em;
}

/* navsite styling is for a tabbed menu at top right, which we so far do not need and so don't have! */
/* needs fix_ie.css if it is used to fix bug in older Internet Explorer versions */

#navsite h5 {
	display: none;
}

#navsite ul {
	float: right;
	padding: 3px 0;
	margin-left: 0;
	margin-right: 3px;
	border-bottom: 1px solid #5687A2; /*00f  456750 */
}

#navsite ul li {
	list-style: none;
	margin: 0;
	display: inline;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font: bold 1em "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#navsite ul li a {
	padding: 3px 0.5em;
	margin-left: 3px;
	border: 1px solid #5687A2; /*00f  456750 */
	border-bottom: none;
	background: #5D8CC9; /* 456750   */
	text-decoration: none;
}

#navsite ul li a:link {
	color: #fff; /* ff0  */
}

#navsite ul li a:visited {
	color: #fff;  /* ff0  */
}

#navsite ul li a:link:hover, #navsite ul li a:visited:hover {
	color: #000;
	background: #5D8CC9; /*  456750 */
	border-color: #5D8CC9; /*  456750 */
}

#navsite ul li a#current {
	background: white;
	color: #5D8CC9; /*  456750 */
	border-bottom: 1px solid white;
}

/* nav is for the side menu with sub-menus */
/* needs a javascript routine to work it properly */
#nav {
	position: absolute;
	top: 6.5em;
	left: 1em;
	width: 14em;
}
#nav ul {
	list-style: none;
	margin-left: 1em;
	padding-left: 0;
}
#nav li {
	font-size: 80%;
	border-bottom: 1px dotted #878787; /* B2BCC6  */
	margin-bottom: 0.3em;
}
#nav li li {
	font-size: 100%;
	border-bottom: 1px dotted #878787; /* B2BCC6  */
	margin-bottom: 0.3em;
}
#nav li li:last-child {
	border-bottom: none; 
}

/*#nav a { display: block; } */
#nav a:link, #nav a:visited {
	text-decoration: none;
	color: #7E4002; /* 2A4F6F  */
	background-color: transparent;
}
#nav a:hover {
	color: #000; /* 778899  */
}
#nav a.selected {
	font-weight: bold;
}

#nav h3 {
	font: 110% "Gill Sans", "Lucida Sans", Arial, Helvietica, sans-serif;
	color: #000; /* 1C3939 2A4F6F; 366 066 */
	background-color: transparent;
	border-bottom: 1px dotted #878787; /* cccccc  */
}
#subnav  li {
	font-size: 100%;
	border-bottom: 1px dotted #878787; /* B2BCC6  */
	margin-bottom: 0.3em;
}
#sub_project {
  	display: none;
  	}
#sub_lessons {
 	display: none;
  	}
#sub_support {
  	display: none;
  	}
#sub_evaluation {
  	display: none;
  	}
#sub_teaching {
	display: none;
  	}
#sub_teachings {
	display: none;
  	}
#sub_teaching_cz {
	display: none;
  	}
#sub_contact {
 	display: none;
  	}
#sub_scratch {
  	display: none;
  	}
#sub_pupils {
  	display: none;
  	}
#sub_star {
  	display: none;
  	}
#sub_stories {
  	display: none;
  	}
#sub_xcurricular {
  	display: none;
  	}
#sub_pedagogy {
  	display: none;
  	}
#sub_italy {
  	display: none;
  	}
#sub_how {
  	display: none;
  	}

/* temp is for a page which has no styling - generated by a script, perhaps; not needed so far */
#temp {
	margin-left: 1em;
	margin-right: 1em;
}

#content {
	margin-left: 16em;
	margin-right: 2em;
	border-bottom: 1px solid #7E4002; /* 5D8CC9  */
}
#content h1 {
	font: 150% "Trebuchet MS", Arial, Helvetica, sans-serif;
}
#content h2 {
	font: 120% "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#content p, li, table {
	font-family: Verdana, Arial, Helvetica, sans-serif;
/*	font-size: 80%;
	line-height: 1.6em;
	padding-left: 1.2em;  */
}
#content a:link, #content a:visited {
	text-decoration: none;
	color: #7E4002; /* 512228; 5687A2  03f 800080 456750 2A4F6F;*/
	background-color: transparent;
/*	border-bottom: 1px dotted #b2bcc6;
	border: 1px dotted #b2bcc6;   */
}
#content a:hover {
	color: #000; /*  778899 */
/*	border-bottom: transparent;
	border: transparent; */
}
#content hr {
	color: #7E4002; /* EA2345  00f  */
}
img { 
	border: none;
	max-width: 100%;
	height: auto;
}

.bannerImg img {
/* 	Set the width dynamically depending on the width of the browser window */
	width:100%;
/* 	don't enlarge the image more, than its initial resolution */
	max-width:1200px;
	max-height:765px;
/* 	Set the height dynamically depending on the image's current width, keeping the aspect ratio */
	height:auto;
}

.mainimage {
  max-width: 400px;
  max-height: 400px;
} 

#content a img { 
/*	border: 0 none;
	text-decoration: none;
	border-bottom: transparent; */
}
.imageRight { 
	float: right;
	padding: 0 20px 20px 20px;
	font-style:italic; 
	text-align: center;
	border: 0 none;
} 
p.imageRight { 
	border: 0 none;
}
p.imageLeft { 
	float: left;
	padding: 0 20px 20px 20px;
	font-style:italic; 
	text-align: center;
	border: 0 none;
} 
span.image {
	padding: 0 20px 20px;
	font-style:italic;
	text-align: center;
	font-size: 0.9em;
} 
/* float images */
.alignright {float: right; text-align: center;}
.alignleft {float: left; text-align: center;}
.aligncenter {margin-left: auto;
    margin-right: auto; text-align: center;}

p.access { /* to hide the separator bars between images which are links */
	color: #fff;
	background-color: inherit;
	}
ul.access { /* used to separate images which are links */
	list-style: none; 
	padding-left: 0;
	}
li.access { /* used to separate images which are links */
	display:inline-block;
	}
.centre {
	text-align: center
}
.first:first-letter {
	font-weight: bold;
	}
.clear {
	clear: both;
}	
.group:before,
.group:after {
    content:"";
    display:table;
	height:0;
}
.group:after {
    clear:both;
}
#footer { /*finish off page  */ 
	margin-left: 16em;
	margin-right: 2em;
	clear: both;
	padding: 0;
/*	width: 100%;  */
	display:block; 
	color: inherit;
	background-color: #fff;
	text-align: left;
	}
form p {
	clear: left;
	margin: 0;
	padding: 5px 0 0 0;
	}

form p label {
	float: left;
	width: 40%;
/*	font: bold;*/
	}
fieldset {
	padding: 10px;
	width: 80%;
	}

legend {
	color: #00008B;
	background-color: #FFF
	}

.red {
	color: #FF0000;
	background-color: inherit;
}
.hide {  /*	used to hide form fields in the spam trap */
	display: none;
	}

/* other items which may be needed such as a form */
	
form.join p {
	clear: left;
	margin: 0;
	padding: 5px 0 0 0;
	}

form.join p label {
	float: left;
	width: 40%;
/*	font: bold;*/
	}
fieldset {
	padding: 10px;
	width: 90%;
	}

legend {
	color: #00008B;
	background-color: #FFF
	}

/* We  need some media screen business to make the site responsive for smaller screens */
@media screen and (max-width: 600px) {
  #header,
  #navsite,
  #nav,
  #content,
  #footer {
    position: relative;
    clear: both;
    float: none;
    max-width: 100%;
    margin-left: 3px;
    margin-right: 2px;
  }
  #header .strapline {
    color: #000;
  }
#nav {
	top: 0.5em;
	width: 14em;
}

  .imageRight {
    clear: both;
  }
}
table {
	width: 80%;
	border-collapse:collapse;
	border:1px solid;
}
td {
	vertical-align:top;
	border:1px solid;
	padding:5px;
}
/* The next bit is to support the iframe display in Stories */
.container {
  position: relative;
  overflow: hidden;
  width: 100%;
/*  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  padding-top: 75%; /* 4:3 Aspect Ratio */
}

/* Style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* I have added the viewport meta tag to the HTML of all pages */

/* IE10 doesn't recognise the viewport meta tag!

@-ms-viewport{
    width: device-width;
}
 */