html, body {
  height: 100%;
  margin: 0;
}
#page_wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#page_wrapper .uk-navbar {
  height: 50px;
}

#main_wrapper {
  flex: 1;
  overflow: auto;
}
/*
    uk overrides
 */
.uk-notification-message-success2 {
  color: #fff !important;
  background-color: #009933 !important;
}
.uk-notification-message-time {
  color: #fff !important;
  background-color: #CC3333 !important;
}
/* goes with time above */
.clock {
  font-weight: 500;
  padding: 0 10px;
}
.uk-navbar-container {
  background-color: #336633 !important;
}
.uk-navbar-nav > li > a, .uk-iconnav > li > a {
  color: #fff !important;
  font-weight: 600;
}
.uk-navbar > .title {
  color: #fff !important;
  font-weight: 600;
}
.uk-button-xsmall {
  padding: 0 5px !important;
}
.hr-margin-small {
  margin: 5px;
}

 .messages-title {
   font-weight: 600;
 }
 .uk-iconnav.add-message a {
   background-color: #336633 !important;
 }

.dashboard-nav {
  font-size: 1.5em;
}

.dashboard-nav div {
  padding: 10px;
  text-align: center;
}
.dashboard-nav #family-checkin {
  /*background-color: #003366;*/
  /*color: #fff;*/
  cursor: pointer;
}
.dashboard-nav #message-board {
  /*background-color: #336666;*/
  /*color: #fff;*/
  cursor: pointer;
}
.dashboard-nav #alert-message {
  /*background-color: #990000;*/
  /*color: #fff;*/
  cursor: pointer;
}
.ub-button {
  margin: 10px;
  padding: 10px;
  max-width: 90%;
  height: 70%;
  border: 1px solid #ccc;
  color: #fff;
  margin: auto;
}
.ub-button.ub-bg-blue {
  background-color: #0e6dcd;
}
.ub-button.ub-bg-green {
  background-color: #99CC99;
}
.ub-button.ub-bg-red {
  background-color: #990000;
}

#dashboard-main {
  margin-top: 10px;
}
.alert-box .alert-title {
  color: #fff !important;
  font-weight: 600;
}
.alert-message {
  padding: 5px 0 15px;
  font-size: 1.2em;
}
.alert-button {
  border-color: #990000;
  background-color: #CC0000;
  color: #fff;
  font-size: 1.2em;
}
.alert-button:hover {
  background-color: #990000;
  color: #EEEEEE;
}
.mb-button-padding {
  padding: 5px 10px;
}

.uk-button-default.success {
  background-color: #99CC99;
}
.uk-button-default.success2 {
  background-color: #006600;
  color: #fff;
}
.bgsuccess {
  background-color: #99CC99;
}
.bgsuccess2 {
  background-color: #339933;
  color: #fff;
}
.bgerror {
  background-color: #CC3333;
}
.txterror {
  color: #CC3333;
}
#messageboard_main {
  margin-top: 20px;
}
.message-wrapper .username, .message-wrapper .message {
  font-weight: 600;
}
span.from-me {
  color: #990000;
}
.lists-name {
  color: #990000;
}
.form-msg, #notify {
  z-index: 999;
}


#lists_wrapper,#list_items_wrapper {
  max-width: 440px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #ccc;
}
#lists_wrapper > h3,#list_items_wrapper > h3 {
  margin-bottom: 10px;
}
#lists_wrapper .title,#list_items_wrapper .title {
  font-size: 1.2em;
  font-weight: 600;
}
.list-row:hover {
  background-color: #EEEEEE;
}

.list-button-col, .list-button-col-inactive {
  width: 35px;
  padding-left: 5px;
  padding-right: 0;
}
.list-button-col span, .list-button-col-inactive span, .list-button-col a {
  cursor: pointer;
}
.list-button-col span.red {
  background-color: #990000;
  color:#fff;
}
.list-button-col span.blue {
  background-color: #0E6DCD;
  color:#fff;
}

.list-button-col input[type=checkbox] {
  width: 28px;
  height: 27px;
  margin-top: 1px;
}

.list-button-col span, .list-button-col a {
    background-color: #339933;
    color: #fff;
    padding: 4px;
}
.list-button-col-inactive input[type=checkbox] {
    background-color: #0e6dcd;
    height: 28px;
    width: 28px;
    margin-top: 1px;
}
.list-purchased-icon {
  padding: 3px 10px;
}


#show_lists_link, #deleteall_link {
  padding-left: 0;
}

#newmessage_form_wrapper {
  max-width: 440px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #ccc;
}

#messageboard_wrapper,#quickcheckin_edit_form {
  max-width: 440px;
  margin: 0 auto;
}

.message-wrapper-grid {
  max-width: 440px;
  margin: 0 auto;
  /* border: 1px solid #ccc; */
  padding:5px;
}

.message-wrapper {
  max-width: 95%;
  margin-bottom: 5px;
  border: 1px solid #ccc;
}
.message-item-owner {
  border-left: 3px solid green;
  margin-right: 20px;
}
.message-item-member {
  border-right: 3px solid blue;
  margin-left: 20px;
}
.message.image {
  padding: 5px;
}

#hasmessages-top {
  margin-top: 2px;
}
.pointer {
  cursor: pointer;
}

.today {
  color: #990000;
}

.pad5 {
  padding: 0 5px;
}

footer {
  padding: 10px;
  background-color: #99CC99;
}

.hideme {
 display: none;
}
.quick-message-btn {
    margin: 5px 0;
/*    padding-top: 8px; */
   font-size:1.2em;
    min-height: 50px;
    line-height: 23px;
}

 @media all and (max-width:360px){
  .dashboard-nav #family-checkin,
  .dashboard-nav #message-board,
  .dashboard-nav #alert-message {
    font-size: .7em;
  }
  .quick-message-btn {
    margin: 5px 0;
    padding-top: 0;
    font-size:1.2em;
    min-height: 50px;
    line-height: 23px;
  }
}

