.flex-1 {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.imood {
  color: #000;
  font-family: verdana, sans-serif;
}

.imood .header {
  font-size: 14px;
  margin: 0 5px;
}

.imood .header .logo {
  width: 200px;
  margin-left: -7px;
  margin-right: 40px;
}

.imood .header .user {
  font-size: small;
  align-self: flex-end;
  margin-bottom: 1em;
  padding-bottom: .25em;
}

.imood .nav {
  margin-bottom: 1em;
  align-self: flex-end;
  padding-bottom: .25em;
}

.imood .header .nav {
  margin-right: auto;
}

.imood .nav ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

.imood .nav ul li {
  display: block;
  float: left;
  margin-right: 18px;
}

.imood .nav .alert_bubble {
  background: green;
  color: white;
  font-weight: bold;
  position: absolute;
  margin-top: -15px;
  margin-left: 35px;
  padding: 3px;
  font-size: 10px;
  border-radius: 15px;
  -moz-border-radius: 15px;
}

.imood .header a, .imood .footer a {
  font-weight: bold;
  color: #444 !important;
}

.imood .header a:hover, .imood .footer a:hover {
  color: #FCD116 !important;
}

.imood .footer {
  font-size: 12px;
  margin-left: 6px;
  margin-right: 5px;
  margin-top: 1em;
  padding-bottom: 30px;
}

.imood .footer a {
  font-weight: normal;
}

.imood .footer .nav {
  width: 100%;
  text-align: right;
}

.imood .footer .nav .social {
  margin-top: 5px;
}

.imood .content {
  margin: 5px 5px 0px 5px;
  padding: 5px 10px 5px 10px;
  overflow: hidden;
}

.imood .content h1 {
  margin-top: 0px;
}

.imood .content h2 {
  margin-top: 3px;
}

.imood .content form label {
  width: 150px;
  display: block;
  float: left;
}

.imood .content img {
  max-width: 100%;
}

.imood .mood-content {
  margin-bottom: 20px;
}

.imood .mood-content .username {
  margin-bottom: 8px;
}

.imood .mood-content .mood-row {
  margin-bottom: 5px;
  margin-left: 10px;
}

.imood .mood-content .mood-face {
  float: left;
  margin-right: 10px;
}

.imood .mood-content .mood-name {
  margin-right: 10px;
  float: left;
}

.imood .mood-content .mood-row p {
  font-size: 13px;
}

.imood .note {
  font-size: 12px;
}

.imood .content ul {
  padding-left: 5px;
  margin-left: 15px;
}

.imood .dashboard .sidebar, .imood .dashboard .main {
  flex: 1;
}

.imood .dashboard .sidebar label {
  float: none;
}

.imood .dashboard .manage-link {
  float: right;
  padding-top: 5px;
  font-size: 12px;
}

.dashboard-select2 {
  font-size: 12px;
}

.face-radio {
  display: inline-block;
}

.imood .sidebar-layout {
  flex-direction: column;
}

.imood .homepage .sidebar {
  flex: 1;
}

.imood .homepage .main {
  flex: 3;
}

.imood .profile {
  flex-direction: column;
}

.imood .sidebar-4 .sidebar {
  flex: 1;
}

.imood .sidebar-4 .main {
  flex: 4;
}

.imood .profile .profile-wrapper {
  flex-direction: column;
  padding-top: 1em;
}

.profile-data {
  width: 100%;
  margin-bottom: 0.8em;
  display: flex;
  flex-direction: column;
}

.profile-label {
  font-weight: bold;
  margin-right: 1em;
}

.profile-value {
  word-break: break-word;
}

.profile-value img {
  height: 20px;
  width: 20px;
}

.profile-image {
  width: 100px;
  min-width: 100px;
  margin-bottom: 0.8em;
}

.profile-image img {
  border-radius: 2px;
}

.profile-actions {
  font-size: .85em;
  margin: 1em auto;
  text-align: center;
}

.imood .buddy-list td {
  padding: 5px;
}

/* this works until we figure out overflow better */
.imood .content.buddy-content {
  overflow: auto;
}

.imood .updater {
  max-width: 360px;
  margin-right: auto;
  margin-left: auto;
}

input[type="text"]:read-only {
  cursor: no-drop;
}

@media screen and (min-width: 800px) {
  .imood .sidebar-layout {
    flex-direction: row;
  }

  .imood .homepage .sidebar {
    text-align: center;
  }

  .imood .dashboard .sidebar {
    max-width: 500px;
  }

  .imood .dashboard .sidebar label {
    float: left;
  }

  .imood .dashboard .sidebar .face-grid {
    margin-left: 150px;
  }

  .imood .profile {
    flex-direction: row;
  }

  .imood .profile .main {
    order: 1;
  }

  .imood .profile .profile-wrapper {
    flex-direction: row;
  }

  .profile-label {
    width: 120px;
    min-width: 120px;
  }

  .profile-data {
    flex-direction: row;
  }

  .profile-content {
    order: 0;
  }

  .profile-image {
    margin-left: 1em;
    order: 1;
  }

  .imood .news .sidebar {
    min-width: 150px;
    order: 0;
  }

  .imood .news .main {
    flex: 1;
    order: 1;
  }
}

.imood .notification {
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
}

.imood .notification-error {
  background: #CD2626;
  color: #fff;
}

.imood .notification-success {
  background: #99CC32;
  color: #fff;
}

.imood table.forum {
  width: 100%;
  margin-bottom: 1em;
}

.imood table.forum th {
  text-align: left;
  padding: 5px;
}

.imood table.forum td {
  padding: 5px;
  vertical-align: top;
}

.imood table.forum td.cell_smiley {
  width: 30px;
}

.imood table.forum td.cell_title, .imood table.forum td.cell_body {
  max-width: 500px;
  word-wrap: break-word;
}

.imood table.forum .center {
  text-align: center;
}

.imood form.forum label {
  font-weight: bold;
}

.imood form.forum input.text {
  width: 50em;
}

.imood form.forum textarea {
  height: 10em;
}

.imood form div.buttons {
  padding-top: .7em;
}

.imood form.forum textarea.wide {
  width: 100%;
  height: 7em;
}

.imood .forum_response {
  margin-top: 1em;
  margin-left: 10%;
  width: 80%;
}

.imood .disclaimer {
  font-style: italic;
  font-size: .85em;
}

.imood .errors {
  color: #CD2626;
  font-weight: bold;
}

.field_with_errors input {
  border: 2px solid #CD2626;
}

form.text-button, form.text-button div {
  display: inline;
}

form.text-button input[type=submit] {
  border: 0;
  padding: 0;
  background: inherit;
  font-size: 1em;
  cursor: pointer;
}

.normal {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: medium;
}
