.neds-connect, footer {
    height: 43px;
    background-color: #131B4D;
    color: white;
}

.neds-connect p, footer p {
    line-height: 43px;
}

.navbar.navbar-navigate {
    background-image: url("MyNEDS/images/header_background_03.png");
    background-size: contain;
}

.navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
}

.navbar-brand > img {
    margin-top: 2px;
    height: 46px;
}

.navbar-collapse {
    border-top: 0;
}

.navbar-default .navbar-nav > li > a {
    color: white;
}

.section-heading {
  width: 100%;
  min-height: 50px;
  border-radius: 5px;
  padding: 0 15px;
  background-color: #ebebeb;
  color: #666666;
}

.section-title {
  padding: 15px 0;
  line-height: 20px;
}

.section-title > .title-text {
  font-size: 20px;
}

.section-help-block {
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  min-height: 45px;
  border-radius: 3px;
  padding: 15px;
  background-color: #dcedf5;
  color: #35799F;
}

.gray-help-block {
  margin-top: 60px;
  padding-top: 25px; 
  text-align: center; 
  background-color: #E4E4E4; 
  color: #333333
}

.section-help-block > p {
  margin: 0;
}

.orange-block {
  background-color: #faf5e3;
  padding: 10px;
}

.orange-block strong {
  color: #b18641;
}

.table-inline > tbody > tr:first-child > td {
  border-top: none;
}

/* Workaround for Salesforce bug with State and Country Picklists feature */
.form-group > span > select {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-group > span > select:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.form-group > span > select::-moz-placeholder {
  color: #777;
  opacity: 1;
}
.form-group > span > select:-ms-input-placeholder {
  color: #777;
}
.form-group > span > select::-webkit-input-placeholder {
  color: #777;
}
.form-group > span > select[disabled],
.form-group > span > select[readonly],
fieldset[disabled] .form-group > span > select {
  cursor: not-allowed;
  background-color: #eee;
  opacity: 1;
}

.form-buttons {
  text-align: center;
}

.order-btn {
  display: inline-block;
  margin: 8px;
  width: 160px;
  height: 40px;
  padding-top: 10px;
  border: 1px solid #ababab;
  border-radius: 0;
  background: linear-gradient(180deg, #ededed, #e3e3e3);
  line-height: 20px;
  font-size: 12px;
  font-weight: bold;
  color: black;
}

.order-btn:hover {
  background: linear-gradient(180deg, #ECF4FC, #DCECFC);
}

footer {
    margin-top: 20px;
    text-align: center;
}

footer p {
    margin-bottom: 0;
}

.lesson-block {
    margin: 12px;
    border: 1px solid #EEE;
    padding: 0px 18px 12px 18px;
}

.lesson-block h4 {
    font-weight: bold;
}

.lesson-formula {
    line-height: 96px;
    font-size: 48px;
}

.lesson-formula > * {
    vertical-align: top;
}

.photo-block {
    display: inline-block;
    width: 96px;
}

.photo-block > img {
    width: 96px;
    border: 3px solid lightgray;
}

.photo-block-bold > img {
    border: 3px solid gold;
}

.photo-block .photo-caption {
    display: block;
    line-height: 20px;
    font-size: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .navbar.navbar-navigate {
        min-height: 160px;
        background-size: auto;
    }

    .navbar-brand > img {
        margin-top: 2px;
        height: 105px;  /* .navbar height - li height - margin * 2 */
    }

    .navbar-static-top .navbar-collapse {
        padding-top: 109px;  /* .navbar height - li height */
    }

    nav .nav > li {
        margin-left: 6px;
        min-width: 136px;
        height: 40px;
        background-color: #131B4D;
        text-align: center;
        font-family: "Bebas Neue", Tahoma, sans-serif;
        font-size: 18px;
    }

    .navbar-nav > li > a {
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1040px;
    }

    .navbar-brand > img {
        margin-top: auto;
        height: auto;
    }
}