
/* Fonts */
@font-face {
    font-family: 'raleway-extrabold';
    src: url('/fonts/raleway-extrabold-webfont.woff2') format('woff2'),
         url('/fonts/raleway-extrabold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'raleway-light';
    src: url('/fonts/raleway-light-webfont.woff2') format('woff2'),
         url('/fonts/raleway-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'raleway-medium';
    src: url('/fonts/raleway-medium-webfont.woff2') format('woff2'),
         url('/fonts/raleway-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'raleway-regular';
    src: url('/fonts/raleway-regular-webfont.woff2') format('woff2'),
         url('/fonts/raleway-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.container,
.fluid-container {
	margin-top: 40px;
}

.fluid-container {
	padding: 0 24px;	
}

.bootstrap-datetimepicker-widget table td.today:before {
    border-width: 0 0 4px 4px;
    bottom: 1px;
    right: 1px;
}

.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
    
}

.use-datepicker-inline {
	margin-bottom: 28px;
}

.card {
	margin-bottom: 36px;
}

.hidden {
	display: none !important;
}

/*.table-inventory thead,
.table-inventory tbody {
  width: 100%;
  display: table;
}

.table-inventory th,
.table-inventory td {
  width: 12.5%;
}*/

.inventory-table-wrap {
  max-height: 82vh;
  height: 800px;
  overflow-y: auto;
}

.inventory-data-row td:not(:last-child) {
  border-right: 1px solid rgba(200,200,200,0.3);
}


/*
0 =no activity?
1=cust reserve – no problems (green)
2=pick up day (grey)
3=quoted (yellow)
4= overcommitted (red)
5=black out no inventory available on this date (black)
6=overcommitted by quote (orange)
*/

td[data-status]:not([data-sub]) {
  font-size: 12px;
}

@media (min-width: 768px) {
  td[data-status]:not([data-sub]) {
    font-size: 14px;
  }
}

td[data-status="1"]:not([data-sub]) {
  background-color: #2DA02D;
}

td[data-status="1"]:not([data-sub]) a {
  color: #fff;
}

td[data-status="2"]:not([data-sub]) {
  background-color: #848484;
}

td[data-status="2"]:not([data-sub]) a {
  color: #fff;
}

td[data-status="3"]:not([data-sub]) {
  background-color: #fce435;
}

td[data-status="3"]:not([data-sub]) a {
  color: #fff;
}

td[data-status="4"]:not([data-sub]) {
  background-color: #d63434;
}

td[data-status="4"]:not([data-sub]) a {
  color: #fff;
}

td[data-status="4"][data-sub] {
  color: #d63434;
}

td[data-status="5"]:not([data-sub]) {
  background-color: #151515;
    color: #fff;
}

td[data-status="5"]:not([data-sub]) a {
  color: #fff;
}

td[data-status="6"]:not([data-sub]) {
  background-color: #ffa500;
    color: #fff;
}

td[data-status="6"]:not([data-sub]) a {
  color: #fff;
}

/******************************/
/**** Spinner ****/

.wrap-spinner {
  background-color: #fff;  
  background-color:rgba(255,255,255,0.7);
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  z-index: 10000;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.spinner {
  color: #222;
  font-size: 90px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin: auto;
  position: relative;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;
  animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}
@-webkit-keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@-webkit-keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

body {
    font-family: 'raleway-regular';
    padding: 20px;
}

@media screen and (min-width: 768px) {
  body {
    padding: 0 20px 20px 0;
  }
}

/* JS Inventory block */
#js-inventory-block h4 {
    display: block!important;
    width: 100%!important;
    padding: 20px!important;
    background: #022647!important;
    color: #fff!important;
    margin-bottom: 0;
}

#js-inventory-block small.text-muted {
    font-size: 16px;
    color: #fff!important;
    width: 100%;
    display: block;
    margin-top: 8px;
}

#js-inventory-block, .card {
    -webkit-box-shadow: 4px 6px 28px -8px rgba(0,0,0,0.6);
-moz-box-shadow: 4px 6px 28px -8px rgba(0,0,0,0.6);
box-shadow: 4px 6px 28px -8px rgba(0,0,0,0.6);
    border: 0;
}

#js-inventory-block {
    padding: 0;
}

.card .card-block {
    padding: 0;
}

.card thead tr:nth-child(1) {
    padding: 20px!important;
    background: #022647!important;
    color: #fff!important;
    height: 60px;
    transition: all 0.4s ease;
}

.card thead tr:nth-child(1):hover {
    background: #092e50!important;
}

.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: #022647;
}

.bootstrap-datetimepicker-widget table td span.active {
    background: #022647!important;
}

.bootstrap-datetimepicker-widget table td span {
    border-radius: 0;
}

.bootstrap-datetimepicker-widget table td, .bootstrap-datetimepicker-widget table th {
    transition: all 0.4s ease;
}

#js-inventory-block .table tr:nth-child(even), #js-inventory-block thead {
    background: #f4f4f4;
}

body #js-inventory-block .table tr {
    transition: all 0.4s ease;
}

body #js-inventory-block .table tr:hover {
    background: #e9e9e9;
}

.table th, .table td {
    bottom: 0;
}

#js-inventory-block .table thead th {
    border: none;
}

.bootstrap-datetimepicker-widget table td.day {
    line-height: 28px;
}

.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
    background: #022647;
}

.bootstrap-datetimepicker-widget table td, .bootstrap-datetimepicker-widget table th {
    border-radius: 0;
}

.bootstrap-datetimepicker-widget table td.active.today:before {
    display: none;
}

.bootstrap-datetimepicker-widget table td.old, .bootstrap-datetimepicker-widget table td.new {
    color: #BCBCBC;
}

.table td {
    min-width: 80px;
    padding-right: 0.25rem;
    padding-left: 0.25rem;
}

/* Responsiveness */
@media (min-width: 768px) {
    .col-md-4 {
        padding-right: 40px;
    }
    
    #js-inventory-block .table thead th {
        padding: 0.75rem;
        width: 12.5%;
        border: none;
    }
    
    .table th, .table td {
        border: 0;
        min-width: 100px;
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }
}

.modal-body table tr:nth-child(even) {
    background: #f4f4f4!important;
}

.fluid-container {
        padding: 0 30px;
}

.calendar-card form {
    padding-right: 20px;
    padding-left: 20px;
}

/* Site header */
.site-header {
    background: url(/images/site-header.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    max-width: 378px;
    width: 100%;
    /*height: 85px;*/
    height: auto;
    margin-left:auto;
    margin-right:auto;
    
    margin-bottom:30px;
    margin-top:10px;
    padding-bottom: 22.5%;
}

/*@media screen and (max-width: 500px) {
    .site-header {
        width: 100%;
        background-size: contain;
    }
}*/

/* Modal styling */
.modal-body {
    padding: 0;
}

.modal-body h4 {
    display: block!important;
    width: 100%!important;
    padding: 20px!important;
    background: #022647!important;
    color: #fff!important;
    margin-bottom: 0;
    text-align: center;
}

/* Move the "updated" header over to the right */
@media screen and (min-width: 1000px) {
    #js-inventory-block h4 small {
        display: inline!important;
        margin-left: 10px;
    }
}

@media screen and (min-width: 1200px) {
    #js-inventory-block h4 small {
        display: inline!important;
        margin-left: 80px;
    }
}

@media screen and (min-width: 981px) {
    table.order-information {
        display: table;
    }
    table.order-extended {
        display: table;
    }
}

#js-inventory-block table th[colspan="8"] {
    font-family: raleway-bold;
    font-size: 20px;
}

.order-extended tr:nth-child(1) th {
    font-family: 'raleway-bold';
}
