/*
@font-face {
	font-family: 'Helvetica Neue';
	font-style: normal;
	font-weight: 100;
	src: url('../../fnt/helveticaneue-thin.woff') format('woff');
}

@font-face {
	font-family: 'Helvetica Neue';
	font-style: normal;
	font-weight: 300;
	src: url('../../fnt/helveticaneue_thin.woff') format('woff');
}

@font-face {
	font-family: 'Helvetica Neue';
	font-style: normal;
	font-weight: normal;
	src: url('../../fnt/helveticaneue-lt.woff') format('woff');
}

@font-face {
	font-family: 'Helvetica Neue';
	font-style: normal;
	font-weight: bold;
	src: url('../../fnt/helveticaneue_medium.woff') format('woff');
}

@font-face {
	font-family: 'Helvetica Neue';
	font-style: normal;
	font-weight: 900;
	src: url('../../fnt/helveticaneue-boldext.woff') format('woff');
}
*/

/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  color: #444;
  padding-top: 50px;
}

label {
    font-weight: 200;
}

/*
 * Global add-ons
 */
.pointer {
    cursor: pointer;
}

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.modal-backdrop {
	position: fixed;
}

.modal-dialog .page-header {
    margin-top: 0px;
}

.alert i {
	margin-right: 5px;
}

.bootstrap-touchspin .btn {
	padding: 6px;
}

/** Table **/
.table-pointer tbody tr:hover > td {
  cursor: pointer
}

.table tbody > tr > td[valign="middle"] {
    vertical-align: middle !important;
}

.table > tbody:first-child > tr:first-child td {
	border-top: none;
}

.table tbody tr:hover {
	background: #f4f4f4 !important;
}

.table .noRows { 
	opacity: .5;
	text-align: center;
}

/** Pincode keyboard **/
 .pincode.bootstrap-dialog .modal-dialog {
    width: 295px;
}

 .pincode.bootstrap-dialog .bootstrap-dialog-footer-buttons {
     text-align: center;
 }
            
.pincode-keyboard {
    width: 200px;
    margin-top: 20px;
}

.pincode-keyboard input {
    box-sizing: border-box;
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 5px;
    padding: 0px;
    text-align: center;
}

.pincode-keyboard input.wrong {
    background-color: #f2dede;
}

.pincode-keyboard button {
    font-size: 20px;
    width: 64px;
    height: auto !important;
	padding: 7px 0px !important;
	margin-right: 4px;
	margin-bottom: 4px;
}

.pincode-keyboard button:nth-child(3n+1) {
    margin-right: 0px;
}

/** jQuery keyboard **/
.ui-keyboard {
    border-radius: 0;
    background-color: #fafafa;
    width: 100% !important;
    left: 0px !important;
    top: auto !important;
    bottom: 0px;
    position: fixed !important;
}

/** Relation table **/
[data-relationtable] h4 {
	margin: 50px 0 25px 0;
}

[data-relationtable] > .select2,
[data-relationtable] > .twitter-typeahead { 
	margin-bottom: 25px;
}

[data-relationtable] tr.child td {
	border-top-color: transparent;
}

[data-relationtable] tr:not(.child) + tr.child td {
	border-top-color: #ddd;
}

[data-relationtable] tr.child td.indent {
	padding-left: 35px;
}

[data-relationtable] tr.child td.indent:before {
	content: '\2014  ';
}

[data-relationtable] tr .actions {
	text-align: right;
}

[data-relationtable] tr .actions > *:not(:first-child) { 
	margin-left: 3px;
}

tr.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2000;
  cursor: move;
}

tr.placeholder { 
    display: block;
    background: red;
    position: relative;
    margin: 0;
    padding: 0;
    border: none; 
}
tr.placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: red;
    margin-top: -5px;
    left: -5px;
    border-right: none;
}

[data-relationtable] td,
[data-relationtable] td > * {
	vertical-align: middle !important;
}

td.draghandler {
    padding-top: 14px;
    width: 1px;
}

td.draghandler:before {
    text-align: center;
    font-family: FontAwesome;
    content: "\f0c9";
    margin-top: 5px;
    cursor: pointer;
}

/** Datatables **/
.dataTables_length,
.dataTables_filter,
.dataTables_info {
	color: #aaa !important;
}

.dataTables_length select {
	margin-right: 5px;
}

.dataTables_filter input {
	margin-left: 12px !important;
}

.dataTables_empty { 
	cursor: default !important;
}

/** TypeAHead **/
.form-group .twitter-typeahead { 
	vertical-align: middle;
	width: auto;
}

.twitter-typeahead .tt-hint {
	color: #aaa;
}

.twitter-typeahead .tt-dropdown-menu { 
	z-index: 2000 !important;
}

.form-control tt-input { 
	padding-right: 20px;
}

.twitter-typeahead:before {
	color: #888;
	content: '\f0d7';
	font-family: 'FontAwesome';
	margin-top: 7px;
	position: absolute;
	right: 10px;
	z-index: 1;
}

.twitter-typeahead input {
	padding-right: 25px;
}

/** **/
.viewWrapper {
	position: relative;
}

.action-top-bar {
	position: absolute;
	top: -3px;
	right: -15px;	
	padding-bottom: 0px;
	margin-bottom: 0px;
	margin-right: 0px;
}

.action-bottom-bar {
	position: fixed;
	margin: 0px;
	bottom: 0px;
	right: 0px;	
	padding-top: 16px;
	padding-bottom: 16px;
	background: rgba(255, 255, 255, 0.8);
	width: 100%;
	border-top: 1px #f4f4f4 solid;
	margin-bottom: 0px;
	z-index: 100;
}

.action-bottom-bar .btn {
    margin: 0px 2px;
}

.action-top-bar .btn.disabled,
.action-bottom-bar .btn.disabled {
    pointer-events: auto;
}

.fixed-progress-bar {
    position: fixed;
    bottom: 0px; right: 0px;
    padding-right: 40px;
    padding-left: 40px;
    padding-top: 16px;
	padding-bottom: 16px;
    width: calc(100% - 16.66666667%);
    border-top: 1px #f4f4f4 solid;
    background: rgba(255, 255, 255, 0.8);
}

.help-block {
    font-size: 12px;
    margin-bottom: 0px;
    color: #b0b0b0;
    font-weight: 200;
}
.help-block:before {
    font-family: FontAwesome;
    padding-right: 8px;
    content: "\f0d8"; 
}

.daterange {
    position: absolute;
    top: -14px;
    right: 0px;
    border: 1px solid #eee;
    padding: 8px;
    cursor: pointer;
    border-bottom: 3px solid #b7a995;
}

.daterange i {
    margin-right: 10px;
}

.modal-dialog {
    z-index: 1400;
}

.status.active,
.status.active:hover {
    color: #FFF;
}

.status.pending.active {
    background-color: #eee;
    color: #555;
}

.status.open.active {
    background-color: #b7a995;
}

.status.production.active {
    background-color: #5bc0de;
}

.status.break.active,
.status.paused.active {
    background-color: #f0ad4e;
}
.status.intime.active,
.status.finished.active {
    background-color: #5cb85c;
}

.status.overdue.active,
.status.canceled.active {
    background-color: #d9534f;
}

.status.modified.active {
    background-color: #6267c9;
}

button.status.pending.active {
    border-color: #6c00ff; 
}

button.status.open.active {
    border-color: #b7a995; 
}

button.status.production.active {
    border-color: #5bc0de; 
}

button.status.paused.active {
    border-color: #f0ad4e; 
}

button.status.finished.active {
    border-color: #5cb85c; 
}

button.status.canceled.active {
    border-color: #d9534f;
}

button.status.modified.active {
    border-color: #6267c9;
}

/*
 * Touch specific
 */
 
.isTouchDevice {
	font-size: 20px;
}
.isTouchDevice .ui-keyboard button {
	height: auto !important;
	padding: 7px 25px !important;
}
 
.isTouchDevice .action-top-bar { 
	top: -16px;
}

.isTouchDevice .navbar-brand {
	font-size: 27px;
}
 
.isTouchDevice .navbar-nav > li > a {
	padding-bottom: 19px;
	padding-top: 19px;
}
 
.isTouchDevice .nav-sidebar > li > a {
    font-size: 24px;
    padding-top: 20px; padding-bottom: 20px;
}
 
.isTouchDevice .form-control {
	font-size: 20px;
	height: auto;
	line-height: normal;
	padding: 4px 8px;
}

.isTouchDevice .tt-input {
	padding-right: 25px;
}

.isTouchDevice .twitter-typeahead:before {
	margin-right: -2px;
	margin-top: 4px;
}

.isTouchDevice .help-block {
	font-size: 16px;
}
 
.isTouchDevice .bootstrap-touchspin .btn {
	font-size: 12px;
	padding: 7px 6px 7px 6px;
}
 
.isTouchDevice .daterange {
    top: -18px;
}
 
.isTouchDevice .daterangepicker .ranges {
     width: 300px;
 }
 
.isTouchDevice .daterangepicker .ranges li {
    font-size: 20px;
}

.isTouchDevice .daterangepicker_start_input,
.isTouchDevice .daterangepicker_end_input {
    display: none;
}

.isTouchDevice .select2-selection--single {
	height: auto;
	padding: 5px;
}

.isTouchDevice .progress {
    height: 40px;
}

.isTouchDevice .progress-bar {
    line-height: 40px;
    font-size: 24px;
}
 
.isTouchDevice .btn {
    /* height: 60px; */
    font-size: 20px;
}

.isTouchDevice select {
	height: auto !important;
	line-height: normal !important;
}

.isTouchDevice .dt-bootstrap * {
	font-size: 20px !important;
}

.isTouchDevice .table {
	font-size: 17px;
}

.isTouchDevice  .modules-production-Division {
     font-size: 20px;
}

.isTouchDevice  .modules-production-Division .table-production tr td {
    height: 58px;
}

/*
 * Module specific
 */
 
.production-details-dialog .modal-dialog {
     width: 90%
}

.modules-production-modal-Details h1,
.modules-production-modal-Details h2 {
    margin-bottom: 10px !important;
}

.modules-production-modal-Details .top {
/*
	 display: -webkit-box;
	 display: -webkit-flex;
	 display: -ms-flexbox;
	 display: flex;
*/
}

.modules-production-modal-Details .orders h2 {
	margin-top: 4px;
}

.modules-production-modal-Details .orders .scroller {
	max-height: 450px;
	overflow: auto;
}

.modules-production-modal-Details .orders .fa-check {
	color: #5cb85c;
}

.modules-production-modal-Details .employee-group button.active {
    background-color: #5cb85c;
    border-color: #5cb85c;
    color: #FFF;
}

.modules-production-modal-Details .employee-group button {
	margin-bottom: 5px;
}

.modules-production-modal-Details .history-group ul {
    list-style: none;
    margin: 0px; padding: 0px;
}

.modules-production-Division .filters {
	position: absolute;
	right: 0;
	top: -14px;
} 

.modules-production-Division .filters > * {
	display: inline-block;
	margin-left: 15px;
}

.modules-production-Division .filters .daterange {
	position: static;
}

.modules-production-Division .status {
    color: #FFF;
    text-align: center;
}

.modules-production-Division .status .details {
    font-size: 12px;
}

.modules-production-Division .table-production tr td {
    vertical-align: middle;
}

.modules-production-Division .table-production tr td:last-child small {
    display: block;
}

.modules-production-Division .table-production tr td {
    height: 54px;
}

.modules-production-Division .table-production tr td .grey {
    color: #999999;
    font-size: 12px;
}

.modules-timesheet-Index .table-timesheet tr td {
    height: 54px;
}

.modules-timesheet-Index .table-timesheet tr td small {
    display: block;
}

.modules-timesheet-Index .table-timesheet tr td {
    vertical-align: middle;
}

.modules-timesheet-Index .table-timesheet tr td.status {
    text-align: center;
    vertical-align: middle;
    transition: all 0.5s ease-out;
}

.modules-timesheet-Report .filter {
	position: absolute;
	right: 0;
	top: -14px;
}

.modules-timesheet-Report .filter > * {
	float: right;
	position: static !important;
}

.modules-timesheet-Report select[name="user"] {
	border-color: #eee #eee #b7a995;
	border-radius: 0;
	border-width: 1px 1px 3px;
	float: right;
	height: 41px;
	margin-right: 15px;
	width: 200px;
}

.modules-products-Edit .automaticIngredient {
	margin: -20px 0 25px 0;
}

.modules-orders-Edit .products {
	margin-bottom: 150px;
}

.modules-orders-Edit .products tr.child a.customize { 
	position: none;
	visibility: hidden;
}

.modules-recipes-Index .inactive {
	cursor: not-allowed;
	opacity: .5;
	pointer-events: none;
}

.modules-recipes-Index .form-group .unit {
	margin-left: 10px;
}

.modules-recipes-Index .twitter-typeahead,
.modules-recipes-Index .tt-dropdown-menu { 
	width: 500px;
}

.modules-recipes-Index .ingredients {
	padding-top: 50px;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

body.isIpadWebApp .navbar-fixed-top {
    border-top: 20px solid #000000;
}

.navbar-custom {
    background-color:#b7a995;
    color:#ffffff;
    border-radius:0;
}

.navbar-custom .navbar-nav > li > a {
    color:#fff;
}
.navbar-custom .navbar-nav > .active > a, .navbar-nav > .active > a:hover, .navbar-nav > .active > a:focus, .navbar-nav > li > a:hover,  .navbar-nav > li > a:active {
    color: #ffffff;
    background-color:#9d9281;
}
.navbar-custom .navbar-brand {
    color: white;
}

.navbar-custom li.disabled {
	cursor: not-allowed;
	opacity: .5;
	display: none;
}

.navbar-custom .organization {
	max-width: 250px;
	padding: 15px 10px;
}

.navbar-custom .organization select {
	background: #b7a995;
	border: none;
	box-shadow: none;
	color: white;
}

.jstree-default .jstree-clicked { 
    background: none !important;
    box-shadow: none !important;
}

.sidebar {
    position: relative;
    z-index: 200;
}

.sidebar .clock {
    position: absolute;
    bottom: 5px;
    left: 0px;
    font-size: 6vw;
    font-weight: lighter;
    color: #b7a995;
    width: 100%;
    text-align: center;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
  
  body.isIpadWebApp .sidebar {
      top: 71px;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
	color: #444;
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  background-color: #e9e9e9;
}

.nav-sidebar > li > a i {
	color: #b7a995;
	font-size: 20px;
	margin-right: 5px;
	position: relative;
	top: 1px;
}

/*
 * Main content
 */

.main {
  padding: 20px;
  padding-bottom: 90px;
}

body.isIpadWebApp .main {
    padding-top: 40px;
}

@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main h1 {
	color: black;
	font-size: 26px;
	font-weight: normal;
	margin-bottom: 30px;
	margin-top: 15px;
}
.main h1 i,
.main h2 i {
	color: #b7a995;
	margin-right: 5px;
	opacity: .6;
}
.main h2 {
	color: black;
    font-size: 22px;
    font-weight: normal;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    padding: 5px 0px;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 992px) {

    
    .navbar-header {
        width: 55px;
    }
    
    .navbar-custom .navbar-brand {
        padding-left: 10px;
    }
    
    .modules-production-modal-Details .orders h2 {
        margin-top: 20px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1200px) { 

    .navbar-header {
        width: 55px;
    }
    
    .navbar-custom .navbar-brand {
        padding-left: 10px;
    }
    
    .modules-production-modal-Details .orders h2 {
      margin-top: 20px;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    
}