body {
  background-color: #99cc66;
  color: #666;
}

input,
textarea,
select {
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
  -webkit-transition:
    background-color 0.5s ease,
    color 0.5s ease;
}

a {
  color: #69c;
  border: none;
  text-decoration: none;
}

footer a {
  color: #fff;
}

fieldset {
  border-style: none;
  clear: left;
}

legend {
  color: #69c;
  font-size: 1.2em;
}

label {
  color: #666;
  float: left;
  line-height: 1.2em;
  padding-right: 5px;
  text-align: right;
}

img {
  border-style: none;
  border-width: 0;
}

input,
select,
textarea {
  background-color: #fff;
  border: solid 1px #0578cc;
  color: #888;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  padding: 1px 2px;
}

.form-element {
  margin: 10px 0;
}

.form-element label {
  width: 160px;
}

.mandatory {
  color: red;
}

div#logo span {
  font-size: 1.5em;
}

header,
footer {
  background-color: #4d96d0;
  color: #fff;
  margin: 0;
  padding: 0;
  width: 100%;
}

#content,
.col-sm-9#content {
  background-color: #fff;
}

.navbar-default .container {
  padding: 0 30px 0 15px;
}

footer {
  min-height: 52px;
  text-align: center;
}

footer p {
  padding: 10px 0 0;
}

footer a:hover {
  color: #fff;
}

.theme-toggle {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  color: #666;
  line-height: 0;
  text-align: center;
  transition:
    background-color 0.15s ease-in-out,
    color 0.15s ease-in-out;
}

.theme-toggle--brand {
  float: left;
  margin: 9px 0 0 8px;
}

.theme-toggle--menu {
  display: none;
}

@media (min-width: 768px) {
  .theme-toggle--brand {
    display: none;
  }
  .theme-toggle--menu {
    display: block;
    float: right;
    margin: 9px 0 0 0;
  }
}

@media (max-width: 350px) {
  .navbar-brand {
    padding-right: 0;
  }
  .theme-toggle--brand {
    margin-left: 4px;
  }
}

@media (max-width: 767px) {
  header .navbar-default {
    min-height: 50px;
    height: auto;
    padding: 5px 0;
  }

  .navbar-brand {
    padding: 10px 0;
    max-width: 180px;
    font-size: 16px;
  }

  .theme-toggle--brand {
    margin: 4px 0 0 4px;
    width: 28px;
    height: 28px;
  }

  .theme-toggle--brand .theme-icon {
    width: 18px;
    height: 18px;
    margin: 5px auto;
  }
}

.theme-toggle .theme-icon {
  width: 20px;
  height: 20px;
  display: block;
  margin: 6px auto;
}

.theme-toggle .theme-icon .icon-sun,
.theme-toggle .theme-icon .icon-moon {
  transition:
    visibility 0s,
    opacity 0.15s ease-in-out;
}

.theme-toggle:hover,
.theme-toggle:focus {
  outline: none;
}
