/* Override some defaults */
html, body {
  background-color: #eee;
}
body {
  padding-top: 40px; /* 40px to make the container go all the way to the bottom of the topbar */
}
.container > footer p, .container-fluid > footer p {
  text-align: center; /* center align it with the container */
  margin-top: 8px;
}

/* The white background content wrapper */
.container > .content {
  background-color: #fff;
  padding: 20px;
  margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */
  -webkit-border-radius: 0 0 6px 6px;
  -moz-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
  min-height: 500px;
}

/* Page header tweaks */
.page-header {
  background-color: #f5f5f5;
  padding: 20px 20px 10px;
  margin: -20px -20px 20px;
}

/* Give a quick and non-cross-browser friendly divider */
.content .sidebar {
  margin-left: 0;
  padding-left: 19px;
  /*border-left: 1px solid #eee;*/
}

.topbar .btn {
  border: 0;
}

footer a, footer a:hover {
  text-decoration: none; 
  color: inherit;
}

/* Fmoor logo */
@media screen and (min-width: 1200px) {
  #fmoor-logo {
    background: url('../images/fmoor_logo_small3.png') center center no-repeat transparent;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 63px;
    height: 23px;
    padding: 8px;
  }
}

/* Button fixes */
.btn.tiny, .bs_admin_td_actions .btn {
  /*padding: 1px 8px 1px;*/
}

/* Alert messages in bottom right */
.alert-messages {
  position: fixed;
  width: 240px;
  right: 12px;
  bottom: 0;
}

.modal form {
  margin: 0;
}

/* A borderless table... */
table.table-borderless td,
table.table-borderless th {
  border: 0;
  text-align: left;
  padding-right: 4px;
}

/* Status of an event */
form.status-form input, form.status-form label {
  width: auto;
  height: auto;
  padding: 0;
  margin: 3px 0;
  line-height: normal;
  border: none;
  border-image: initial;
  float: none;
  display: inline-block;
}

.color-preview {
  width: 16px;
  height: 16px;
  border: 1px solid #ddd;
}

/* bootstrap-admin theme */
#bs_admin_content {
  float: left;
}
.bs_admin_actions {
  margin: 0 0 32px 0;
}
.bs_admin_actions li {
  list-style: none;
  float: left;
  margin-right: 8px;
}
.bs_admin_actions .btn {
  vertical-align: top;
}
.bs_admin_td_actions li {
  list-style: none;
  float: left;
  margin-right: 8px;
}
#bs_admin_bar {
  float: right;
  margin-left: 20px;
}

/* form errors in table row */
form td.error > label, form td.error .help-block, form td.error .help-inline {
  color: #B94A48;
}
form td.error input, form td.error textarea {
  color: #B94A48;
  border-color: #EE5F5B;
}

form ul.checkbox_list li label {
  float: none;
  width: auto;
}

/* Fullcalendar mods */

/* Remove border on top of calendar (bs-fix) */
.fc-header td {
    border: 0 none;
}


.fc-event.planned {
}

.fc-event.written {
}

.fc-event.pending {
}

.fc-event.approved {
}

.fc-event.denied {
}

.fc-event.processed {
}

/* Attendance board grid */
#code-input td {
  padding: 6px;
}

.row { float: left; }
.content .sidebar { margin-top: 8px; }
hr.clear {
	clear: both;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
	height: 0px;
}