html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #717171;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-inline {
    display: inline-block;
    margin: 0 5px 0 5px;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 20px;
    padding: 0;
    line-height: 18px;
    border: 2px solid #CCCCCC;
    border-radius: 36px;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease-in;
    margin: 0;
}

.onoffswitch-label:before {
    content: "";
    display: block;
    width: 20px;
    margin: 0px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 22px;
    border: 2px solid #CCCCCC;
    border-radius: 18px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: #46EB96;
}

.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
    border-color: #46EB96;
}

.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 0px;
}

/* TOOGLE SWICH */
.onoffswitch {
  position: relative;
    border-radius: 10px;
  /*width: 64px;*/
  width: 42px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #1ab394;
  border-radius: 2px;
}
.onoffswitch-inner {
  width: 200%;
  margin-left: -100%;
  -moz-transition: margin 0.3s ease-in 0s;
  -webkit-transition: margin 0.3s ease-in 0s;
  -o-transition: margin 0.3s ease-in 0s;
  transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before,
.onoffswitch-inner:after {
  float: left;
  width: 50%;
  height: 20px;
  padding: 0;
  line-height: 20px;
  font-size: 12px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.onoffswitch-inner:before {
  content: "ON";
  padding-left: 10px;
  background-color: #1ab394;
  color: #FFFFFF;
}
.onoffswitch-inner:after {
  content: "OFF";
  padding-right: 10px;
  background-color: #FFFFFF;
  color: #999999;
  text-align: right;
}
.onoffswitch-switch {
  width: 20px;
  margin: 0;
  background: #FFFFFF;
  border: 2px solid #1ab394;
  border-radius: 2px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 44px;
  -moz-transition: all 0.3s ease-in 0s;
  -webkit-transition: all 0.3s ease-in 0s;
  -o-transition: all 0.3s ease-in 0s;
  transition: all 0.3s ease-in 0s;
}

.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #1AB394;
  border-radius: 10px;
}
.onoffswitch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  -moz-transition: margin 0.3s ease-in 0s;
  -webkit-transition: margin 0.3s ease-in 0s;
  -o-transition: margin 0.3s ease-in 0s;
  transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before,
.onoffswitch-inner:after {
  display: block;
  float: left;
  width: 50%;
  height: 16px;
  padding: 0;
  line-height: 16px;
  font-size: 10px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.onoffswitch-inner:before {
  content: "ON";
  padding-left: 7px;
  background-color: #1AB394;
  color: #FFFFFF;
}
.onoffswitch-inner:after {
  content: "OFF";
  padding-right: 7px;
  background-color: #FFFFFF;
  color: #919191;
  text-align: right;
}
.onoffswitch-switch {
  display: block;
  width: 18px;
  margin: 0;
  background: #FFFFFF;
  border: 2px solid #1AB394;
  border-radius: 3px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 36px;
  -moz-transition: all 0.3s ease-in 0s;
  -webkit-transition: all 0.3s ease-in 0s;
  -o-transition: all 0.3s ease-in 0s;
  transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0;
}

/* Order & Price hub (price-list/index) */
.op-hub .op-stats {
    margin-top: 15px;
    margin-bottom: 5px;
}

.op-stat-card {
    display: block;
    padding: 15px 18px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-left: 4px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    color: #333;
    text-decoration: none;
    transition: box-shadow 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.op-stat-card:hover,
.op-stat-card:focus {
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-left-color: #337ab7;
}

.op-stat-card__icon {
    float: right;
    font-size: 22px;
    opacity: 0.35;
}

.op-stat-card__value {
    display: block;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.op-stat-card__label {
    display: block;
    color: #777;
    font-size: 13px;
}

.op-stat-card--info {
    border-left-color: #31b0d5;
}

.op-stat-card--info .op-stat-card__value {
    color: #31708f;
}

.op-stat-card--danger {
    border-left-color: #d9534f;
}

.op-stat-card--danger .op-stat-card__value {
    color: #a94442;
}

.op-tabs.nav-tabs {
    margin-bottom: 0;
}

.op-tabs.nav-tabs > li > a {
    font-weight: 600;
}

.op-tabs.nav-tabs > li > a .glyphicon {
    margin-right: 4px;
}

.op-tabs .badge {
    margin-left: 4px;
}

.op-badge-info {
    background-color: #31b0d5;
}

.op-badge-danger {
    background-color: #d9534f;
}

.op-tab-content {
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    padding: 15px;
    margin-bottom: 20px;
}

.op-tab-content .panel {
    box-shadow: none;
}

.op-grand-total {
    display: inline-block;
    font-size: 15px;
    padding: 10px 15px;
}

/* Live progress (order/view.php) - shown only while status is new/processing */
.op-progress-live {
    padding: 18px 20px;
    margin-bottom: 15px;
    background: #f5faff;
    border: 1px solid #c9e2f5;
    border-radius: 4px;
}

.op-progress-live__bar.progress {
    height: 14px;
    margin-bottom: 10px;
    box-shadow: none;
    background-color: #dceefc;
}

.op-progress-live__text {
    color: #31708f;
    font-size: 13px;
}

.op-progress-live__elapsed {
    color: #7ba7c2;
}

/* Mini progress (client-order/view.php) - a lighter-weight variant */
.op-progress-mini {
    padding: 10px 14px;
    margin-bottom: 15px;
    background: #f5faff;
    border: 1px solid #c9e2f5;
    border-radius: 4px;
}

.op-progress-mini__bar.progress {
    height: 6px;
    margin-bottom: 6px;
    box-shadow: none;
    background-color: #dceefc;
}

.op-progress-mini__text {
    color: #31708f;
    font-size: 12px;
}

.op-progress-mini__elapsed {
    color: #7ba7c2;
}
