﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.sortable {
    cursor: pointer;
}

.priority-selection {
    width: 7em;
}

.animate-enter, 
.animate-leave
{ 
    -webkit-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    -moz-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    -ms-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    -o-transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    transition: 400ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    position: relative;
    display: block;
} 

.animate-enter.animate-enter-active, 
.animate-leave {
    opacity: 1;
    top: 0;
    height: 30px;
}

.animate-leave.animate-leave-active,
.animate-enter {
    opacity: 0;
    top: -50px;
    height: 0px;
}

.red {
    color: #970000;
}

.green {
    color: #1e6202;
}

td.shrink {
    width: 120px;
    white-space: nowrap;
}

.table>tfoot>tr.noborder>td {
    border-top: none;
}

.form-signin {
  max-width: 300px;
  padding: 0 15px 15px 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.align-right {
    text-align: right;
}

.prewrap {
    white-space: pre-wrap;
}

.progressWrapper {
    width: 0;
    display: block;
    /*position: absolute;
    top: 0;
    left: 0;*/
    height: 2px;
    background-color: #428BCA;
}

#progress {
    position: relative;
    display: inline-block;
    width: 0;
    height: 3px;
}

.sidePanel {
    -moz-transition: left linear .1s;
    -o-transition: left linear .1s;
    -webkit-transition: left linear .1s;
    transition: left linear .1s;
    display: inline-block;
    position: fixed;
    top: 70px;
    left: -220px;
    padding: 0;
    background-color: #d2d2d2;
    width: 240px;
    height: 200px;
    z-index: 99;
}

    .sidePanel .closeBar {
        position: absolute;
        top: 0;
        right: -120px;
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        -moz-transform-origin: left top 0;
        -ms-transform-origin: left top 0;
        -o-transform-origin: left top 0;
        -webkit-transform-origin: left top 0;
        transform-origin: left top 0;
        height: 30px;
        width: 120px;
        vertical-align: central;
        text-align: center;
        display: inline-block;
    }

.sidePanel .closeBar a {
    position: relative;
    width: 200px;
    /*height: 30px;*/
    background-color: #d41217;
    color: white;
    display: inline-block;
}

.sidePanel .content {
    position: relative;
    display: inline-block;
    width: 210px;
    padding: 10px;
    height: 120px;
}

.sidePanel.panelActive {
    -moz-transition: left linear .1s;
    -o-transition: left linear .1s;
    -webkit-transition: left linear .1s;
    transition: left linear .1s;
    left: 0;
}

.nav.navbar-nav.navbar-right {
    padding-right: 15px;
}

.table td:first-child, .table th:first-child {
    padding-left: 0;
}

.table td:last-child, .table th:last-child {
    padding-right: 0;
}

/*.input-block-level {
    display: block;
    width: 100%;
    min-height: 28px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}*/

.checkbox-inline.checked {
    margin-top: 10px;
    margin-left: 0;
    margin-right: 10px;
    padding: 2px 10px 0 30px;
    background-color: #c5ffcd;
    -moz-transition: background-color linear .2s;
    -o-transition: background-color linear .2s;
    -webkit-transition: background-color linear .2s;
    transition: background-color linear .2s;
}

.checkbox-inline.unchecked {
    margin-top: 10px;
    margin-left: 0;
    margin-right: 10px;
    padding: 2px 10px 0 30px;
    background-color: #ffcdcd;
    -moz-transition: background-color linear .2s;
    -o-transition: background-color linear .2s;
    -webkit-transition: background-color linear .2s;
    transition: background-color linear .2s;
}

div > label:first-child {
    margin-top: 0;
}

label {
    margin-top: 1em;
}

.nav, .pagination, .carousel, .panel-title a, a { cursor: pointer; }

button {
    margin-top: 10px;
}

/* Change the white to any color ;) */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}


/* Sticky Footer */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 50px;
  border-top: 1px solid #e7e7e7;
  padding-top: 10px
}

.version {
    margin-left: 12px;
    font-size: .8em;
    color: #555;
}

dl {
    margin-bottom: 0;
}

#customerSelection {
    width: 165px;
}

#Checkout input.ng-invalid {
    border-bottom: 1px solid red;
}

#Checkout input.ng-invalid.ng-touched {
    background: rgba(255, 80, 80, 0.27);
}

  .ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
  }
  /* IE 6 doesn't support max-height
   * we use height instead, but this forces the menu to always be this tall
   */
  * html .ui-autocomplete {
    height: 100px;
  }
