/*  SchoolBook email sign up  */
body {
  background: #ffc611;
  text-align: left;
}

div.bodydiv {
  width: 550px;
  margin: 0 auto 15px auto;
}

#errorbox {
  background: #ff6666;
  color: #fff;
  padding: 20px 0;
  position: fixed;
  top: 0px;
  width: 100%;
  display: none;
  z-index: 2;
  font-size: 18px;
  line-height: 24px;
}

#errorbox div.bodydiv {
  margin: 0 auto;
}

div#partners {
  margin-bottom: 20px;
  text-align: left;
  position: relative;
  left: -8px;
}

div#partners span {
  top: -4px;
}

div#partners img {
  height: 18px;
}

h1#wnyc {
  width: 80px;
  height: 45px;
  float: left;
  position: relative;
  top: -15px;
  text-indent: -9999px;
  background-image: url('../img/wnyc_80x90@2x.png');
  background-size: 80px 90px;
  background-position: 0px 0px;
}

h1#wnyc:hover {
  background-position: 0px 45px;
}

h1#schoolbook {
  width: 277px;
  height: 35px;
  text-indent: -9999px;
  background-image: url('../img/logo_schoolbook_white.png');
  background-size: 277px 35px;
  background-position: 0px 0px;
  margin: 20px 10px;
}

h2 {
  font-weight: normal;
  font-size: 30px;
  margin: 0 0 10px 0;
}

h3 {
  font-weight: normal;
  font-size: 18px;
  line-height: 24px;
  margin: 0 0 15px 0;
  float: left;
}

input[type="text"],
input[type="email"] {
  background: #fff;
  padding: 5px;
  border: 0;
  font-size: 14px;
  outline: 0;
}

p a,
#intro a {
  color: #0073d5;
}

p a:hover,
#intro a:hover {
  color: #e51133;
  text-decoration: none;
}

#header {
  margin: 0px auto 40px auto;
  padding-top: 20px;
  z-index: 1;
}

#partner {
  margin: 0 0 10px 0;
  font-size: 12px;
}

#intro {
  line-height: 20px;
}

#map {
  z-index: 1;
  height: 200px;
}

#we-have-you {
  display: none;
  margin-top: 10px;
}

#zoom {
  clear: both;
  display: block;
}

#mc_embed_signup {
  margin-top: 20px;
  overflow: hidden;
  clear: both;
  padding-bottom: 20px;
}

.indicates-required {
  float: right;
  font-size: 12px;
  position: relative;
  top: 5px;
}

.asterisk {
  color: #6cc485;
  font-size: 12px;
}

.mc-field-group {
  clear: both;
  margin: 10px 0;
  overflow: hidden;
}

.mc-field-group ul li label {
  white-space: nowrap;
}

.mc-field-group label.gradelevels {
  width: 100%;
  display: block;
  margin: 15px 0;
}

.mc-field-group ul {
  clear: both;
  overflow: hidden;
}

.mc-field-group ul li {
  float: left;
  margin: 0 0 15px 0;
  width: 70px;
}

.mc-field-group input[type="checkbox"] {
  margin: 0 5px 0 0;
  outline: 0;
}

#zoom label,
.signup-row label {
  position: absolute;
  left: 0;
}

.signup-row,
#zoom {
  position: relative;
}

#zoom {
  padding-left: 145px;
  padding-right: 55px;
}

body.es #zoom {
  padding-left: 170px;
  padding-right: 60px;
}

body.zh #zoom {
  padding-left: 120px;
  padding-right: 40px;
}

#zoom label {
  top: 6px;
}

#zoom .submit {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

#zoom input {
  width: 100%;
  outline: 0;
  margin: 0;
}

.signup-row {
  padding-left: 120px;
}

body.zh .signup-row {
  padding-left: 70px;
}

body.es .signup-row {
  padding-left: 120px;
}

.signup-row label {
  top: 6px;
}

.signup-row input[type="text"],
.signup-row input[type="email"] {
  float: none;
  width: 100%;
  outline: 0;
}

.submit {
  cursor: pointer;
  padding: 5px 7px;
  color: #fff;
  background: #000;
  border: 0;
  font-size: 14px;
}

.submit:hover {
  color: #fff;
  background: #e51133;
}

.clear {
  display: block;
  width: 100%;
  text-align: center;
}

.clear .submit {
  margin: 0 auto;
  padding: 10px 15px;
}
/* Thank you / Confirmation for signup */
#almost-finished {
  display: block;
  margin: 0 auto;
  padding: 15px 0;
}

#confirmation {
  display: none;
}

#almost-finished h2,
#confirmation h2,
#almost-finished p,
#confirmation p {
  display: block;
  clear: both;
}

#almost-finished img,
#confirmation img {
  display: block;
  margin: 0 0 30px 0;
}

#almost-finished p,
#confirmation p {
  line-height: 20px;
}

#almost-finished p strong,
#confirmation p strong {
  font-weight: normal;
  margin: 10px 0;
  display: block;
  color: #fff;
}

#confirmation #pleaseshare {
  padding: 20px;
  background: #ffd700;
  margin: 20px auto;
  overflow: hidden;
  position: relative;
}

#pleaseshare p {
  clear: none;
  width: 100%;
  padding-right: 100px;
}

#pleaseshare > div {
  position: absolute;
  right: 3px;
  top: 13px;
  width: 100px;
}

#pleaseshare a {
  padding: 7px 0;
  display: block;
  width: 40px;
  float: left;
  color: #fff;
  background: #000;
  font-size: 18px;
  text-align: center;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  margin-left: 5px;
}

#pleaseshare a:hover {
  color: #fff;
  background: #e51133;
}

#not-embedded-button {
  margin-top: 30px;
}

#not-embedded-button a {
  padding: 10px 15px;
  color: #fff;
  background: #000;
  border: 0;
  font-size: 14px;
}

#not-embedded-button a:hover {
  color: #fff;
  background: #e51133;
  text-decoration: none;
}
/* Search widget */
div#searchwidget {
  min-height: 390px;
}

div#searchwidget div#schoolbook-search {
  font-size: 14px;
}

div#searchwidget div#schoolbook-search h1#schoolbook {
  margin: 10px 0 30px 10px;
}

div#searchwidget div#schoolbook-search h3 {
  display: block;
  margin: 0 0 5px 10px;
}

div#searchwidget div#schoolbook-search div#searchfield {
  display: block;
  clear: both;
}

div#searchwidget div#schoolbook-search div#searchfield form {
  position: relative;
  padding: 0 50px 0 10px;
}

body.es div#searchwidget div#schoolbook-search div#searchfield form {
  padding: 0 30px 0 10px;
}

div#searchwidget div#schoolbook-search input[type=text] {
  background: #fff;
  color: #999;
  border: 0;
  font-size: 14px;
  padding: 7px;
  margin: 0;
  outline: 0;
  width: 100%;
}

div#searchwidget div#schoolbook-search span.submit {
  padding: 7px 10px;
  font-size: 14px;
  position: absolute;
  right: 10px;
  top: 0;
}

div#searchwidget div#schoolbook-search span.submit:hover {
  background: #e51133;
  color: #fff;
  cursor: pointer;
}

div#searchwidget div#schoolbook-search img.illo {
  margin: 20px 0 0 0;
  display: block;
}

div#searchwidget div#header {
  margin: 0;
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
}

div#searchwidget div#header #partners {
  margin: 0px;
  top: 5px;
  left: 0px;
  width: 100%;
}
/* data.schoolbook.org page and about the data page */
body.mainpage {
  background: #292929;
}

body.mainpage div.wrapper {
  background: #ffc611;
  padding-bottom: 50px;
  display: block;
  overflow: hidden;
}

body.mainpage div.bodydiv {
  width: 700px;
}

body.mainpage div#header {
  text-align: center;
  background: #ffc611;
  margin-bottom: 0px;
}

body.mainpage div#header div#partners {
  text-align: left;
  margin: 0 auto 30px auto;
  display: block;
  max-width: 550px;
}

body.mainpage div#header h1#schoolbook {
  width: 700px;
  height: 94px;
  text-indent: -9999px;
  background-image: url('../img/logo_schoolbook_white_lg.png');
  background-size: 700px 94px;
  background-position: 0px 0px;
  margin: 0 0 30px 0;
}

ul#language {
  float: none;
  overflow: hidden;
  margin: 0 auto 10px auto;
  max-width: 550px;
  font-size: 14px;
  line-height: 16px;
}

ul#language li {
  border: 1px solid #d2a42c;
  color: #333;
  width: 33%;
  padding: 5px 15px;
}

ul#language li:hover {
  background: #e51133;
  color: #fff;
}

ul#language a.active li {
  background: #d2a42c;
}

body.mainpage div#header div#intro p,
div#search-prompt {
  font-size: 18px;
  line-height: 30px;
  text-align: left;
  margin: 0 auto 20px auto;
  display: block;
  max-width: 550px;
}

div#search-prompt {
  margin: 0 0 8px 0;
  font-weight: bold;
  line-height: 24px;
}

div#search-prompt span.mobile {
  display: none;
}

body.mainpage div#searchfield {
  max-width: 550px;
  margin: 0 auto;
}

body.mainpage div#searchfield form {
  padding: 0 40px 0 0px;
  position: relative;
}

body.es.mainpage div#searchfield form {
  padding: 0 30px 0 0;
}

body.mainpage div#searchfield input[type=text] {
  background: #fff;
  color: #999;
  border: 0;
  font-size: 14px;
  padding: 9px 7px;
  margin: 0;
  outline: 0;
  width: 100%;
}

body.zh.mainpage div#searchfield input[type=text] {
  line-height: 16px;
}

body.mainpage div#searchfield span.submit {
  padding: 7px 10px;
  position: absolute;
  right: 0px;
  top: 0;
}

body.mainpage div#searchfield span.submit:hover {
  background: #e51133;
  color: #fff;
  cursor: pointer;
}

body.mainpage div#about {
  max-width: 700px;
  margin: 50px auto;
  border-top: 1px solid #d2a42c;
  padding-top: 20px;
}

body.mainpage div#about h2 {
  margin: 0 auto 20px auto;
  max-width: 550px;
  font-size: 18px;
  position: relative;
  left: -32px;
}

body.mainpage div#about h2 img {
  width: 27px;
  height: 23px;
  float: left;
  margin: 0 5px 0 0;
  position: relative;
  top: -1px;
}

body.mainpage div#about > div {
  margin: 0 auto;
  max-width: 550px;
}

body.mainpage div#about > div p {
  margin: 0 0 10px 0;
  line-height: 20px;
  display: block;
  clear: both;
}

body.mainpage div#about > div p strong {
  display: block;
  margin: 0 0 5px 0;
}

body.mainpage div#about > div h3 {
  margin: 20px 0;
  display: block;
  clear: both;
  font-size: 18px;
}

body.mainpage div#about > div ul {
  display: block;
  clear: both;
  margin: 20px 0;
}

body.mainpage div#about > div ul a {
  margin: 0 0 10px 0;
  display: block;
  color: #0073d5;
  font-size: 18px;
  line-height: 24px;
}

body.mainpage div#about > div ul a:hover {
  color: #e51133;
}

body.mainpage div#about > div ul li {
  margin: 0 0 10px 15px;
  list-style: disc;
  line-height: 20px;
}

body.mainpage div#about > div ul li.footnote {
  list-style: none;
  font-style: italic;
}
/* 404 error page */
body.mainpage div#error404 {
  text-align: center;
  background: #ffc611;
  margin-bottom: 30px;
  width: 100%;
  min-width: 290px;
  overflow: hidden;
}

body.mainpage div#error404 div {
  text-align: left;
  margin: 0 auto;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 550px;
  padding-bottom: 110%;
}

body.mainpage div#error404 span {
  color: #333;
  display: block;
  position: absolute;
  z-index: 12;
}

body.mainpage div#error404 span.errortype {
  top: 8%;
  left: 20%;
  max-width: 70%;
  font-size: 30px;
  line-height: 35px;
}

body.mainpage div#error404 span.errorURL {
  top: 36.5%;
  left: 20%;
  max-width: 70%;
  word-wrap: break-word;
  font-size: 18px;
  line-height: 24px;
}

body.mainpage div#error404 img {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}
