html {
  background: #e08d19;
  background-image: url('../img/bg.png');
}

body {
  margin: 10px 0;
  background: white;
  border-top: 11px solid #a7a9ac;
  border-bottom: 11px solid #a7a9ac;
  margin: 0px auto; /* center in viewport */
  width: 970px;
  padding-bottom: 80px;
  font-weight: 200;
  /*margin-left: 104px;*/
}
.main {
  position: relative;
}

.warning ul {
  margin-top: 0;
  padding-left: 17px;
}

.blue {
  color: #007DB1;
}

.lightgray {
  color: #A2A2A2;
}

header {
    padding-top: 30px;
}

h1 {
  color: #007DB1;
  font-size: 1.5em;
  letter-spacing: 1px;
  font-weight: bold;
  margin: 0px;
  padding-left: 52px;
}

.banner h1 {
  color: black;
  font-size: 1.3em; 
  padding-top: 15px;
  padding-left: 80px;
}

h2 {
  color: #666;
  font-size: 1.4em;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px;
  margin-right: 20px;
  padding-left: 52px;
}

.contact h2 {
  color: #007DB1;
  padding-left: 0px;
}

h3 {
  border: 1px solid #007DB1;
  border-left: 0px;
  color: #F08B0F;
  font-size: 1.6em !important;
  padding: 2px;
  margin-left: -51px !important;
  padding-left: 82px;
  padding-right: -18px !important;
  margin-bottom: 15px;
}

h4 {
  color: #007DB1;
  margin:0px;
  margin-bottom: 4px;
}
h4.tutoring-h4 {
  padding-left: 80px;
  font-size: 1.4em;
  margin-top: 70px;
  margin-bottom: 71px;
}
h5 {
  border: 2px solid #007DB1;
  color: #F08B0F;
  font-size: 1em !important;
  padding: 2px;
  padding-left: 82px;
  padding-right: 39px !important;
  border-left: 0px;
  line-height: 28px;
  margin: 5px 0;
}

#events h5  {
  border: 1px solid #007DB1;
  color: #F08B0F;
  font-size: 1em !important;
  padding: 8px 39px 8px 82px;
  border-left: 0px;
  line-height: 28px;
  margin: 5px 0;
  display: inline;
}

h6 {
  color: #F08B0F;
  font-size: .9em !important;
  padding: 2px;
  padding-left: 82px;
  padding-right: 39px !important;
  border-left: 0px;
  line-height: 28px;
  margin: 0px;
  margin-bottom: -6px;
  margin-top: 10px;

}
.tutor-login {
  padding: 1px 1px 1px 22px;
  background-color: #007DB1;
  margin-left: 65px;
  text-decoration: none;
  width: 168px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.tutor-login a {
  color: white;
  font-size: .9em;
  text-decoration: none;
  font-weight: bold;
}
.button {
  text-shadow: 0px -1px 0px #39a6cc;
  color: #ffffff;
  background-color: #39a6cc;
  background-image: -moz-linear-gradient(top, #1e7093, #39a6cc);
  background-image: -ms-linear-gradient(top, #1e7093, #39a6cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1e7093), to(#39a6cc));
  background-image: -webkit-linear-gradient(top, #1e7093, #39a6cc);
  background-image: -o-linear-gradient(top, #1e7093, #39a6cc);
  background-image: linear-gradient(top, #1e7093, #39a6cc);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e7093', endColorstr='#39a6cc', GradientType=0);
  border-color: #005275 #39a6cc #39a6cc #005275;
  border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0.25);
  padding: 12px 29px;
  font-size: .9em;
  line-height: normal;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  width: 179px;
}

.nav-lower {
  text-align: center;
  padding-top: 76px;
}

.border-sides {
  border-left: 5px solid lightgrey;
  border-right: 5px solid lightgrey;
}

.nav-lower>div:last-child {
  border-right: none;
}

.nav-lower-blurb {
  font-size: .8em;
  text-align: center;
  color: #F08B0F;
  margin-top: 15px;
}

.banner {
  border-top: 2px solid #007DB1;
  border-bottom: 2px solid #007DB1; 
  position: relative;
  margin-bottom: 53px;
  margin-top: 30px;
}

.banner-arrow {
  position: absolute;
  color: #007DB1;
  top: -4px;
  left: 80px;
}
.lower-banner {
  border-top: 2px solid #007DB1;
  border-bottom: 2px solid #007DB1; 
  position: relative;
  margin-bottom: 53px;
  margin-top: 30px;
  text-align: center;
  color: #007DB1;
  padding: 10px;
}
.lower-banner a {
  color: #007DB1;
}
.tutoring-img {
  position: absolute;
  top: 0px;
  left: 390px;
}

.callout {
  margin: 20px 0px 20px 44px;
  background-color: #419ACC;
  width: 382px;
  padding: 3px 58px;
  color: white;
  font-weight: bold;
  border-radius: 20px;
}
.content {
  color: dimgrey;
  font-size: .9em;
  padding: 0px 80px;
}


.tutoring, .thankyou-donation {
  margin-left: 51px;
  margin-top: 44px !important;
  color: dimgrey;
}

.tutoring div {
  padding-left: 34px;
  line-height: 1.3em;
}

.menu {
  color: #007db1;
  cursor: pointer;
  margin-left: -6px;
}

.menu ul {
  list-style: none;
  font-size: .7em;
  margin-bottom: 0px;
}


.menu li {
  background: url('../img/li-bg.png');
  background-repeat: no-repeat;
  font-weight: 200;
  letter-spacing: 1px;
  padding-left: 50px;
  height: 20px;
  width: 206px;
}

.menu li a {
  color: #007DB1;
  text-decoration: none;
}

.menu li a:hover {
  font-weight: 600;
}

li.active {
  background: url('../img/li-bg-active.png');
  background-repeat: no-repeat;
  font-weight: 600;
  background-position-y: -9px;
  font-size: 1.2em;
}

.li-bg-active, .li-bg {
  float: left;
}

.family-img-container {
  text-align: right;
}

.family-img {
  margin-top: 42px;
}

.phone-img {
  margin-left: -91px;
  margin-top: 105px;
  position: absolute;
}

.index-content {
  font-size: .7em;
  padding-top: 35px;
  padding-left: 29px;	
  padding-right: 50px;
}

.dyslexia-vid {
  color: #F08B0F;
  margin-top: 20px;
  line-height: 1.3em;
  font-size: .9em;
}

.dyslexia-vid a {
  display: block;
  color: #007DB1;
  font-size: 1.4em;
}

.link-arrow {
  color: #007DB1;
  left: 30px;
  bottom: 144px;
}

.thankyou-donation .link-arrow {
  top: 86px;
  bottom: 0px;
}

.thankyou-donation-content {
  color: #3939A2;
  padding: 39px 68px;
  background-color: #D9EDF3;
  margin-top: 36px;
  margin-bottom: 200px;
}

.contact {
  padding: 20px;
  padding-left: 82px;
  color: grey;
}

.address {
  font-weight: 100;
  font-size: .8em;
}

.contact-form {
  margin-top: 24px;
  font-size: .8em;
}

.contact-form label {
  color: #007DB1;
}

.contact-form input {
  margin: 2px 0px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"] {
  width: 279px;
}

.contact-form input[type="textarea"] {
  width: 375px;
  height: 100px;
}

.map {
  background-color: #007DB1;
  font-size: .8em;
  color: white;
  padding: 2px 6px;
}

.map a {
  text-decoration: none;
  color: white;
}
.contact-form input[type="submit"] {
  margin: 5px 2px 2px 284px;
  background-color: #007DB1;
  color: white;
  border: none;
  padding: 3px 70px 3px 6px;
  padding-right: 51px;
  box-shadow: 1px 1px 11px #888;
}

h3.thank-you {
  width: 175px;
  margin-left: 0px !important;
  padding-left: 52px;
}

input:invalid, textarea:invalid {
  background-color: white;
}

.paypal {
  margin-top: 56px;
}

.blue-border {
  padding: 0px 5px;
  border-left: 1px solid #007DB1;
  border-right: 1px solid #007DB1;
}

.events-table-header {
  color: white;
  background-color: #007DB1;
  font-size: 1.3em;
  padding: 5px;
}
.events-table-header + div {
  height: 168px;
}

.events-table {
  border: 1px solid #007DB1;
  text-align: left;
}

.events-table > div > div:last-child {
  text-align: center;
}

/* mission section on index.php */
.our-mission {
  margin-top: 80px;
}

.border-thing {
  margin-top: 44px;
  position: relative;
  border: 5px 0px 5px 5px solid #F08B0F;
}

.border-img {
  position: absolute;
  right: 13px;
  top: 31px;
}

.our-mission h5 {
  padding-left: 0px;
  border: none;
}
/* endmission section on index.php */

