h1 img {
  max-width: 100%;
}

h2 {
  font-size: 24px;
}

h2,
h3,
legend {
  color: #c42d2b;
  font-weight: bold;
  font-style: normal;
  padding: 0;
  margin: 1em 0 0.4em 0;
}

h3,
legend {
  font-size: medium;
  color: #000;
}

h4 {
  color: #060;
  font-weight: bold;
  font-size: 1em;
  padding: 0;
  margin: 0;
  margin: 1em 0 0;
}

p {
  padding: 0;
  margin: 0.5em 0;
}

small,
.small {
  font-size: 0.8em;
}

th {
  font-weight: bold;
  color: #006600;
}
th a.order {
  color: #006600;
}

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

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

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

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

.menudiv {
  position: absolute;
  z-index: 0;
  right: 0px;
  padding: 3px;
  top: 0px;
  width: 200px;
}

input,
select,
textarea {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  border: 1px solid #d6d8d9;
  border-radius: 4px;
  background-color: #ffffff;
  padding: 3px;
  max-width: 97%;
}

input:focus,
select:focus,
textarea:focus {
  background-color: #eeffee;
}

input.checkbox,
input.radiobox {
  border: none;
  background-color: transparent;
}

.button,
a.button,
.button:focus {
  background-color: #159;
  color: #ffffff !important;
  border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 4px 1em;
}

span.button,
a.button {
  cursor: pointer;
  padding: 2px 0.5em;
  font-weight: normal;
}

a.button:hover {
  text-decoration: none;
}

.iefocus {
  background-color: #eeffee;
}

.assessment {
  padding-left: 2em;
  color: #666;
}

.assessment em,
.assessment strong {
  color: #000;
}

#business-logs {
  border-collapse: collapse;
  margin-top: 0.5em;
}

#business-logs tr {
  vertical-align: top;
}

#business-logs .date {
  white-space: nowrap;
}

#business-logs .name {
  white-space: nowrap;
}

#business-logs .name i {
  font-style: normal;
  color: #666;
  font-weight: bold;
}

#business-logs td {
  border-bottom: 1px solid #d5e2d5;
  padding: 0.25em 1em 0.25em 0;
}

#business-logs .month-change td {
  border-top: 2px solid #d5e2d5;
  padding: 0.25em 1em 0.25em 0;
}

fieldset {
  margin-top: 30px;
  width: 40em;
  background-color: #f5f5ff;
  border: solid #eef 4px;
  border-left: 0;
  border-right: 0;
}

.fieldset-color {
  background-color: #f5f5ff;
}

.help-text {
  font-size: 0.8em;
  color: #060;
}

/*
Nav
*/

#nav ul {
  margin: 0;
  padding: 10px 0;
  list-style: none;
  clear: left;
}

#nav ul.primary {
  padding-top: 0;
}

#nav ul.secondary {
  clear: both;
}

#nav ul.primary li {
  float: left;
  margin-left: 10px;
  padding-left: 14px;
  background: url(images/nav-sep.gif) no-repeat 0 center;
}

#nav ul.primary li.first {
  margin-left: 0;
  padding-left: 0;
  background: none;
}

#nav ul.secondary li {
  float: left;
  margin-right: 1em;
  line-height: 1em;
}

#nav ul.secondary li.complete a,
#nav ul.secondary li.selectedcomplete a {
  background: #ececec url(images/complete.png) no-repeat;
  padding: 2px 10px 2px 23px;
  margin-bottom: 5px;
}

#nav ul.secondary li.selected a,
#nav ul.secondary li.selectedcomplete a {
  color: #c42d2b;
  border-color: #c42d2b;
  background-color: #fff;
}

#nav ul.secondary a {
  border: 1px solid #b3b3b3;
  background: #ececec;
  border-radius: 5px;
  -moz-border-radius: 5px;
  font-weight: normal;
  display: block;
  padding: 2px 10px;
  color: #333;
  font-size: 0.85em;
}

#nav ul.secondary a:hover {
  border-color: #c42d2b;
  color: #000;
  background: #e0e0e0;
}

#nav ul.thirdary li {
  float: left;
  padding-left: 0.5em;
  margin-right: 0.5em;
  border-left: 2px solid #ccc;
}

#nav ul.thirdary li.selected a {
  font-weight: bold;
  color: #040;
}

#nav ul.thirdary a {
  font-weight: normal;
  display: block;
  color: #333;
  font-size: 0.85em;
}

#nav ul.thirdary a:hover {
  color: #a0b980;
}

#nav ul.thirdary li.first {
  padding-left: 0;
  border: 0;
}

/*
Forms
*/

.form-cell,
.form-row {
  padding: 0 0 1em;
  overflow: hidden;
  zoom: 1;
}

.form-cell {
  float: left;
  padding-right: 3em;
}

.form-row {
  clear: left;
}

.form-separator {
  padding-top: 2em;
}

fieldset {
  padding-top: 1.5em;
}

.application .form-row input {
  width: 30em;
}

.application .form-row input[type="checkbox"] {
  width: auto;
}

.application .form-row textarea {
  width: 40em;
  height: 6em;
}

.application fieldset .form-row textarea {
  width: 100%;
}

.application .form-row input.button {
  width: auto;
}

.application .form-row ul.errorlist {
  width: auto;
}

.application .form-row ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.application .form-row li {
  width: 18em;
  float: left;
}

.application fieldset {
  width: 100%;
  box-sizing: border-box;
}

select {
  max-width: 100%;
}

@media only screen and (max-width: 760px),
  (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Force table to not be like tables anymore */
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  tr {
    border: 1px solid #ccc;
  }

  td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    // padding-left: 50%;
  }
}

/*
Summary
*/

#form h2 {
  font-size: 15px;
  text-transform: uppercase;
  color: #060;
  border-bottom: 2px solid #060;
}

#form h3,
.assessment {
  font-size: 12px;
  font-weight: bold;
  margin: 1em 0 0 2em;
  float: left;
}

.assessment {
  font-size: 11px;
  font-weight: normal;
}

.assessment.noprint {
  color: #060;
}
.faded {
  color: #777;
}

#form p,
#form table {
  clear: left;
  font-size: 12px;
  margin-left: 4em;
}

#form table td {
  clear: left;
  padding: 0 6px 6px 0;
  font-size: 12px;
}

/*
Dashboard
*/

.users li {
  display: inline;
  border-right: 1px solid #000;
  padding-right: 5px;
}

.users li.last {
  border-right: 0px;
}
