body {
    font-family: 'Muli', sans-serif;
    color: #000000;
    background: rgba(237,246,255,1);
    background: -moz-linear-gradient(top, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(237,246,255,1)), color-stop(100%, rgba(102,176,255,1)));
    background: -webkit-linear-gradient(top, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    background: -o-linear-gradient(top, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    background: -ms-linear-gradient(top, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    background: linear-gradient(to bottom, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edf6ff', endColorstr='#66b0ff', GradientType=0 );
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
}

#biology_body {
    font-family: 'Muli', sans-serif;
    color: #000000;
    background: rgba(235,255,235,1);
    background: -moz-linear-gradient(top, rgba(235,255,235,1) 0%, rgba(92,255,92,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(235,255,235,1)), color-stop(100%, rgba(92,255,92,1)));
    background: -webkit-linear-gradient(top, rgba(235,255,235,1) 0%, rgba(92,255,92,1) 100%);
    background: -o-linear-gradient(top, rgba(235,255,235,1) 0%, rgba(92,255,92,1) 100%);
    background: -ms-linear-gradient(top, rgba(235,255,235,1) 0%, rgba(92,255,92,1) 100%);
    background: linear-gradient(to bottom, rgba(235,255,235,1) 0%, rgba(92,255,92,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebffeb', endColorstr='#5cff5c', GradientType=0 );
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    /*#vid_image.border: 10px solid #ff0000;*/
}

#chemistry_body {
    font-family: 'Muli', sans-serif;
    color: #000000;
    background: rgba(237,246,255,1);
    background: -moz-linear-gradient(top, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(237,246,255,1)), color-stop(100%, rgba(102,176,255,1)));
    background: -webkit-linear-gradient(top, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    background: -o-linear-gradient(top, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    background: -ms-linear-gradient(top, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    background: linear-gradient(to bottom, rgba(237,246,255,1) 0%, rgba(102,176,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edf6ff', endColorstr='#66b0ff', GradientType=0 );
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    /*#vid_image.border: 10px solid #ff0000;*/
}

#physics_body {
    font-family: 'Muli', sans-serif;
    color: #000000;
    background: rgba(255,232,232,1);
    background: -moz-linear-gradient(top, rgba(255,232,232,1) 0%, rgba(255,74,74,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,232,232,1)), color-stop(100%, rgba(255,74,74,1)));
    background: -webkit-linear-gradient(top, rgba(255,232,232,1) 0%, rgba(255,74,74,1) 100%);
    background: -o-linear-gradient(top, rgba(255,232,232,1) 0%, rgba(255,74,74,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,232,232,1) 0%, rgba(255,74,74,1) 100%);
    background: linear-gradient(to bottom, rgba(255,232,232,1) 0%, rgba(255,74,74,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe8e8', endColorstr='#ff4a4a', GradientType=0 );
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    /*#vid_image.border: 10px solid #ff0000;*/
}

#quizlist_iframe {
    border: 0px;
    /*zoom: 100%;*/
}

p {
    font-size: 1.7em;
    font-size: 3vmin;
    color: #000000;
}

h1 {
    font-family: 'Lobster', sans-serif;
    font-size: 3em;
    /*font-size: 3vmin;*/
    color: #0000ac;
}

h2 {
    font-family: 'Lobster', sans-serif;
    font-size: 2em;
    /*font-size: 3vmin;*/
    color: #0000ac;
}

em {
    font-style: italic;
}

ul {
    font-size: 1.7em;
    font-size: 3vmin;
    color: #000000;
}

ul li ul {
    font-size: 1.0em; /*necessary so nested lists don't recursively apply scaling*/
    font-size: 3vmin;
    color: #000000;
}

th {
    font-size: 1.7em;
    font-size: 3vmin;
    color: #000000;
}

td {
    font-size: 1.7em;
    font-size: 3vmin;
    color: #000000;
}

#scores_table {
    padding: 5px;
}

#scores_tr:nth-child(odd) {
  background: #eee;
}

#achievements_table {
    position: relative;
    left: 30px;
}

#list_row_title_span {
    font-family: 'Lobster', sans-serif;
    font-weight: bold;
    font-size: 1.5em;
    color: #0000ac;
    position: relative;
    top: -5px;
}

#student_name_span {
    font-family: 'Lobster', sans-serif;
    font-weight: bold;
    font-size: 1.5em;
    color: #0000ac;
    position: relative;
    top: -5px;
}

/*nav-menu source code adapted from the sample code at http://cssmenumaker.com/menu/simple-responsive-menu*/
#nav_menu {
  background: #ffffff;
  width: auto;
  text-align: center;
}
#nav_menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: block;
  zoom: 1;
}
#nav_menu ul:after {
  content: " ";
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: hidden;
}
#nav_menu ul li {
  display: inline-block;
  padding: 0;
  margin: 0;
}
#nav_menu.align-right ul li {
  float: right;
}
#nav_menu.align-center ul {
  text-align: center;
}
#nav_menu ul li a {
  color: #0000ac;
  text-decoration: none;
  display: block;
  padding: 13px 13px;
  font-family: 'Muli', sans-serif;
  font-weight: 700;
  /*text-transform: uppercase;*/
  font-size: 20px;
  position: relative;
  -webkit-transition: color .25s;
  -moz-transition: color .25s;
  -ms-transition: color .25s;
  -o-transition: color .25s;
  transition: color .25s;
}
#nav_menu ul li a:hover {
  color: #000000;
}
#nav_menu ul li a:hover:before {
  width: 100%;
}
#nav_menu ul li a:after {
  content: "";
  display: block;
  position: absolute;
  right: -3px;
  top: 19px;
  height: 6px;
  width: 6px;
  background: #ccccff;
  opacity: .5;
}
#nav_menu ul li a:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: #000000;
  -webkit-transition: width .25s;
  -moz-transition: width .25s;
  -ms-transition: width .25s;
  -o-transition: width .25s;
  transition: width .25s;
}
#nav_menu ul li.last > a:after,
#nav_menu ul li:last-child > a:after {
  display: none;
}
#nav_menu ul li.active a {
  color: #000000;
}
#nav_menu ul li.active a:before {
  width: 100%;
}
#nav_menu.align-right li.last > a:after,
#nav_menu.align-right li:last-child > a:after {
  display: block;
}
#nav_menu.align-right li:first-child a:after {
  display: none;
}
@media screen and (max-width: 1200px) {
  #nav_menu ul li {
    float: none;
    display: block;
  }
  #nav_menu ul li a {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #8c99fb;
  }
  #nav_menu ul li.last > a,
  #nav_menu ul li:last-child > a {
    border: 0;
  }
  #nav_menu ul li a:after {
    display: none;
  }
  #nav_menu ul li a:before {
    display: none;
  }
}

#footer_span_a {
    font-family: 'Lobster', sans-serif;
    color: #ffffff;
    position: relative;
    left: 30px;
    top: 7px;
}

#footer_span_b {
    color: #ffffff;
    position: relative;
    left: 40px;
    top: 7px;
}

#footer_span_b a:link {
    text-decoration: none;
    color: #ffffff;
}

#footer_span_b a:visited {
    text-decoration: none;
    color: #ffffff;
}

#footer_span_b a:hover {
    text-decoration: underline;
    color: #ffffff;
}

#footer_span_b a:active {
    text-decoration: underline;
    color: #ffffff;
}

input[type=submit] {
    width: 12em;
    height: 2.2em;
    font-size: 18px;
    font-size: 3.3vmin;
    font-weight: bold;
    color: #000000;
    background-color:#50ff90;
    border: 3px solid #009000;
    margin: 18px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

#listsort_submit {
    width: 6em;
    height: 1.8em;
    font-size: 18px;
    font-size: 3.3vmin;
    font-weight: bold;
    color: #000000;
    background-color:#5090ff;
    border: 3px solid #000090;
    margin: 4px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

input.radiosize {
    width: 1.5em;
    height: 1.5em;
}

div {
    background-color:#fcfcff;
    padding: 10px 50px;
    border: 3px solid #009000;
    -webkit-box-shadow: 7px 7px 9px -6px rgba(0,0,0,0.5);
    -moz-box-shadow: 7px 7px 9px -6px rgba(0,0,0,0.5);
    box-shadow: 7px 7px 9px -6px rgba(0,0,0,0.5);
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

#vid_embed {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
    -webkit-border-radius: 13px;
    -moz-border-radius: 13px;
    border-radius: 13px;
}

#vidcontainer_div {
    max-width:320px;
    border: 0px;
    padding: 20px;
    float: right;
    position: relative;
    top: -15px;
    -webkit-box-shadow: 0px 0px 0px;
    -moz-box-shadow: 0px 0px 0px;
    box-shadow: 0px 0px 0px;
}

#header_div {
    background-image: url('http://www.snapquiz.co.uk/images/diagrams_scroll_colours_lighter.jpg');
    background-size: 100%;
    background-position: 0% 10%;
    border: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: inset -1px -19px 9px -10px rgba(0,0,0,0.33);
    -moz-box-shadow: inset -1px -19px 9px -10px rgba(0,0,0,0.33);
    box-shadow: inset -1px -19px 9px -10px rgba(0,0,0,0.33);
    height: 58px;
    white-space: nowrap;
}

/*@media all and (max-device-width: 200px){
    #header_div {
        background-image: url('http://www.snapquiz.co.uk/images/diagrams_scroll_colours_lighter.jpg');
        background-size: 100%;
        background-position: 0% 10%;
        border: 0px;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        -webkit-box-shadow: inset -1px -19px 9px -10px rgba(0,0,0,0.33);
        -moz-box-shadow: inset -1px -19px 9px -10px rgba(0,0,0,0.33);
        box-shadow: inset -1px -19px 9px -10px rgba(0,0,0,0.33);
        height: 125px;
    }*/
}

#header_nav {
}

@viewport {
    width: device-width;
    initial-scale: 0.44;
}

@-o-viewport {
    width: device-width;
    initial-scale: 0.44;
}

@-ms-viewport {
    width: device-width;
    initial-scale: 0.44;
}

