@import url(font-awesome.min.css);

body {
  padding-top: 50px;
}

#main {
  padding-left: 40px;
  padding-top: 0px;
  margin-top: -10px;
}

.navbar-fixed-top {
  border: 0;
}

/* Brand logo */
/*
.navbar-brand {
  margin: 0 auto;
  margin-top: -10px;
}
*/

/* Carousel */
.carousel {
  height: 250px;
  margin-bottom: 60px;
}

.carousel-caption {
  z-index: 10;
}

.carousel .item {
  height: 250px;
  background-color: #777;
}

.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 250px;
}

/* Offcanvas */
@media screen and (max-width: 768px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -70%;
  }

  .row-offcanvas-left.active {
    left: 70%;
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 70%;
    margin-left: 12px;
  }
}

dd {
  padding: 5px 30px;
  margin-bottom: 15px;
}

/* Forms */
form.actionform {
    font-size: 16px;
    display: inline-block;
    padding: 0;
    margin: 0;
    margin-top: -30px;
}

form.portalform {
    font-size: 16px;
    padding: 15px;
    margin: 0 auto;
}

form.portalform label {
    margin-top: 15px;
    color: #333;
    font-weight: bold;
    display: block;
}

form.portalform label.checkbox {
    display: inline-block;
    position: absolute;
    margin-left: 20px;
    margin-top: 1px;
}

#user_edit_form_groups label,
#group_edit_form_roles label {
    display: block;
    margin-top: -17px;
    margin-left: 20px;
}

#user_edit_form_groups input[type="checkbox"],
#group_edit_form_roles input[type="checkbox"] {
    display: block;
    margin-left: 0;
}

form.portalform input[type="checkbox"] {
    display: inline-block;
    position: relative;
}

form.portalform label ~ input[type="checkbox"]:before {
    position: absolute;
    background-color: #FFFFFF;
    height: 100%;
    width: 100%;
    font-family: FontAwesome;
    display: inline-block;
    content:"\f096";
    letter-spacing: 10px;
}

form.portalform label ~ input[type="checkbox"]:checked:before {
    font-family: FontAwesome;
    display: inline-block;
    content:"\f046";
    letter-spacing: 5px;
}

form.portalform li {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #e80000;
    font-weight: bold;
}

form.portalform div {
    clear: left;
    margin-bottom: 10px;
}

form.portalform input[type="password"],
form.portalform input[type="number"],
form.portalform input[type="email"],
form.portalform input[type="text"] {
    height: auto;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px 10px;
    min-width: 250px;
}

form.portalform select {
    height: auto;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
    padding: 5px 10px;
    margin: 0px 10px 0px 0px;
    min-width: 250px;
}

form.portalform textarea {
    height: auto;
    min-height: 200px;
    min-width: 400px;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

form.portalform input[type="submit"] {
    min-width: 200px;
    line-height: 26px;
    font-size: 20px;
    min-height: 26px;
}

.sale {
  color:#CC0000;
  font-weight: bold;
}

.special-sale {
  background: #CCFF99;
}

/* System Table */
.system-table th:first-child {
    text-align: left;
    width: 25%;
}

.system-table > .panel-heading {
    text-align: center;
    font-weight: bold;
    font-size: 120%;
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
}

.system-table td {
    text-align: left;
    vertical-align: middle;
}

.system-table td > form {
    margin: 0 auto;
}

/* Seminar Tables */
.seminar-table {
  border-color: #000000;
}

.seminar-table > .panel-heading {
  text-align: center;
  font-weight: bold;
  font-size: 120%;
  color: #ffffff;
  background-color: #000000;
  border-color: #000000;
}

.seminar-table td:last-child {
    text-align: right;
}

/* Admin Table */
.admin-table {
    border-color: #000000;
}

.admin-table td {
    text-align: left;
    vertical-align: middle;
}

.admin-table td > form {
    margin: 0 auto;
}

.admin-table th,
.admin-table td {
    min-width: 15%;
}

.admin-table td:last-child {
    text-align: right;
}

.admin-table td:last-child {
    white-space: nowrap;
}

.admin-table th > a {
    white-space: nowrap;
}

/* Action Buttons */
.action-button:hover {
    text-decoration: none;
}

/* Page headers */
h2, h3, h4, h5 {
    color: #337ab7;
    font-weight: bold;
}

h2 {
    font-size: 1.2em; 
}

h3 {
    font-size: 1.0em;
}

h4 {
    font-size: 0.8em;
}

h5 {
    font-size: 0.6em;
}

h6 {
    font-size: 0.4em;
}
