.unscheduled-lot{
	float:left;
	margin:1px;
}
.scheduled-table{
	max-width:80%;
	overflow-x:auto;
	display:table-row;
	float:left;
}
.scheduled-table tr td{
	width: 25%;
	padding:0px;
	float:none;
	display:table-cell;
}
.slot{
	width: 350px;
	min-width: 350px;
	margin:0px;
	min-height:100px;
	background-color:#e8e9ea;
}
.slot .slot-header{
	font-size:13px;
	min-height: 120px;
	background-color: #53a1ff;
	border-radius: 8px 8px 0px 0px;
}
.slot .machine-slot-header{
	min-height:100px;
}

.slot .slot-header>div{
	background-color: #e3f0ff;
	border-radius: 4px;
}
.slot .slot-header .slot-name{
	font-size:15px;
	color:#FFFFFF
}
.slot .slot-header .shift-box{
	width:30.5%;
	height:40px;
	float:left;
	margin:0;
	border-radius: 4px;
	background-color: #FFFFFF
}
.slot .slot-header .shift-box h6{
	margin:0px;
	font-size:12px;
	font-weight:bold;
}

.slot .slot-header .shift-box span{
	font-size:11px;
	line-height:12px;
}


.slot .slot-header .machine-capacity-box {
	width:60%;
	margin:0px 20%;
	padding: 10px;
	float:left;
}
.slot .slot-header .machine-capacity-box h6{
	margin:0px;
	font-size:20px;
	line-height:20px;
}

.slot .slot-header .machine-capacity-box span{
	font-size:11px;
	line-height:12px;
}


.slot .slot-header .shift-box.middle{
	margin:0 8px;
}

.slot .slot-content{
	width:100%;
	height:600px;
	overflow-y:auto;
	border-right:solid 1px #efefef;
	background-color: #fff;
}
.slot .slot-content h4{
	padding:0px;
	margin:2px 0px 4px;
	width:100%;
	text-align:center;
}
.shift-container{
	min-height: 125px;
	box-shadow:1px 1px #e8e9ea;
}
.shift-card {
	width:100%;
	height:161.25px;
  	background-color: #FFFFFF;
	border:solid 1px #e0e1e3;
	margin:0 0 15px 0;
	position: relative;
	box-shadow: 0px 6px 8px 0px #F0F1F3;
	border-radius: 8px;
	overflow: hidden;
}

.embroidery .shift-card {
	height:14.50rem;
}

.shift-card.is-copy {
	background: #ffffeb;
}
.shift-card.is-carry-over {
	border-left: 4px solid blue;
}
.shift-card.has-carry-over {
	border-bottom: 4px solid blue;
}
.position-text{
	width:66%;
	margin-left:10px;
	margin-top: 18px;
	float:left;
	font-size:11px;
	position: relative;
	height: 100%;
	max-height: 100%;
	/* overflow: hidden; */
}

.position-text .position-title{
	font-size:12px;
	font-weight: 600;
}
.position-text .position-status{
	font-size:9px;
	color: #169bd5;
}
.position-text .small{
	font-size:16px !important;
	/* position: absolute; */
	right:5px;
}
.position-rush-stripe,
.position-must-ship-stripe {
	width: 206px;
	background-color: #de9800;
	position: absolute;
	display: flex;
	align-items: center;
	height: 10px;
	border-radius: 6px 0px 0px 0px;
}
.position-must-ship-stripe {
	background-color: #de0000;
}
.slot:not(.unscheduled) .position-rush-stripe,
.slot:not(.unscheduled) .position-must-ship-stripe {
	width: 174px;
}
.slot.unscheduled .position-rush-stripe,
.slot.unscheduled .position-must-ship-stripe {
	width: 206px;
}
.slot.week .position-rush-stripe,
.slot.week .position-must-ship-stripe {
	width: 174px;
}
.slot.machine .position-rush-stripe,
.slot.machine .position-must-ship-stripe {
	width: 174px;
}
.position-rush-stripe span,
.position-must-ship-stripe span {
	font-size: 9px;
	color: #fff;
	line-height: 10px;
	text-transform: uppercase;
	width: 100%;
	text-align: center;
}
.position-image{
	width: 70px;
	float: right;
	height: 12rem;
}
.position-image img{
	height: 100%;
	width: auto;
	border-radius: 0px 6px 6px 0px;
}

.shift-container div {
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.gu-mirror {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}
.shift-container .ex-moved {
  background-color: #e74c3c;
}
.shift-container.ex-over {
  background-color: rgba(255, 255, 255, 0.3);
}
.handle {
  padding: 0 5px;
  margin-right: 5px;
  background-color: rgba(0, 0, 0, 0.4);
  cursor: move;
}
.mr5
{
	margin-right: 5px !important;
}


/* Box detail custom css */ /* Added by Roy */
.location-card-list .location-card{
}
.location-card-list .location-card.active md-card{
	filter: brightness(0.9);
}
.location-card-list .location-card.danger md-card{
	background-color: rgb(209, 53, 53);
	color: white;
}
.dist-location-info md-card-header span{
	border: 1px solid;
}
.dist-location-info .location-info-header .stokkup-custom-btn1{
	padding: 5px !important;
	line-height: 20px;
	max-height: 50px;
}

.dist-location-info .location-info-header{
	border-bottom: 1px solid;
	padding-bottom: 20px;
}
.dist-location-info .location-info-boxes .box-item{
	font-size: 16px;
}
.dist-location-info .location-info-boxes .box-item .box-close-btn{
	float: right;
}
.dist-location-info .location-info-boxes .box-item .box-close-btn:hover i{
	color: rgb(71,115,214);
}
.dist-location-info .location-info-boxes md-list-item{
	min-height: 40px !important;
}
.dist-location-info .location-info-boxes .md-list-item-inner{
	height: 25px !important;
	min-height: 25px !important;
}
.dist-location-info .location-info-boxes .box-item-header{
	font-size: 18px;
	border: 1px solid;
}
.dist-location-info .location-info-boxes .box-item.active{
	background-color: #989898;
	border-right: 5px solid #4773d6;
}
.dist-location-info .location-info-boxes .box-item.active{
	padding-right: 11px;
}
.dist-location-info .location-info-boxes .box-content td, .dist-location-info .location-info-boxes .box-content th{
	text-align: center !important;
	padding: 5px;
}
.dist-location-info .location-info-boxes .box-content{
	position: relative;
}

.dist-location-info .location-info-boxes .box-content .box-specific-info{
	position: absolute;
	bottom: 5px;
}

.dist-location-info .location-info-boxes .box-content .box-specific-info .box-type{
	width: 200px;
}

.dist-location-info .location-info-boxes .box-content .box-specific-info md-input-container{
	margin: 0px;
}

/* Schedule table updates 9/24/18 */
.schedule-board-container .inner-full-box{
	overflow: auto;
}

.schedule-board-container .schedule-content{
	position: relative;
}

.schedule-board-container .scheduled-table{
	max-width: none;
	float: none;
	display: block;
}

.schedule-board-container .unscheduled-lot{
	float: none;
}

.schedule-board-container .scheduled-table{
	position: absolute;
	width: calc(100% - 281px);
	left: 281px;
	top: 0;
}

.schedule-board-container .slot .slot-content{
	height: calc(100vh - 360px);
}

.schedule-board-container md-tab-content{
	padding-bottom: 10px;
}

.schedule-board-container .unscheduled-lot .slot .slot-content{
	margin-bottom: 16px;
}

/* schedule board unscheduled header color */
.unscheduled.slot{
	width: 300px;
	min-width: 300px;
}
.unscheduled.slot .slot-header {
	background-color: #812bff;
}

.scheduled-table tr td{
	width: auto;
}

.cur-pointer {
	cursor: pointer!important;
}

.cur-normal {
	cursor: normal!important;
}

.white-bgnew{
	background-color: white ;
}

.time-hour-sidebar {
width: 10px;
/* background-color: lightblue; */
z-index: 2;
}

.time-hour-sidebar-margin {
	margin-bottom: 161.25px;
	/* font-weight: bolder; */
}

.global-search-container {
	display: flex;
	flex-direction: column;
	width: 50%;
	justify-content: center;
	position: relative;
}

.global-search-container .global-search-input-container {
	opacity: 0.7;
	transition: all 0.5s;
	position: relative;
}

.global-search-container:hover .global-search-input-container {
	opacity: 1;
}

.global-search-container .global-search-input-container .global-search-input {
	background: #FFFFFF!important;
	border: none!important;
	width: 100%;
	height: 60px;
	padding: 10px;
	color: #AAAFB7!important;
	margin-left: 3rem!important;
}

.global-search-container .global-search-input-container i {
	position: absolute!important;
	font-size: 24px!important;
	top: 18px!important;
	color: #AAAFB7!important;
}

.global-search-container .global-search-input-container.global-search-input::placeholder {
	color:#AAAFB7!important;
	opacity: 1!important;
}

.global-search-container:hover .global-search-input-container i {
	color: #4773d6!important;
}

.global-search-container .global-search-results {
	background: white;
	padding: 20px;
	max-height: 225.5px;
	height: auto;
	overflow: auto;
	font-size: 14px;
	margin: 0;
	position: absolute;
    top: 40px;
	box-shadow: 0px 15px 21px -14px rgba(0, 0, 0, 0.26);
	list-style: none;
	width: 100%;
}

.global-search-container .global-search-results ul {
	list-style: none;
}

.global-search-container .global-search-results li .category-header {
	font-weight: 900;
	height: 30px;
	line-height: 30px;
	margin-bottom: 10px;
	border-bottom: 1px solid #dedede;
	width: 100%;
	display: block;
}

.global-search-container .global-search-results li ul {
	padding: 0px;
}

.global-search-container .global-search-results li ul li {
	text-wrap: nowrap;
	margin-bottom: 20px;
}

.global-search-container .global-search-results li ul li a {
	color: rgb(146, 146, 146);
}

.global-search-container .global-search-results li ul li a span.accent {
	color: #0755AC;
}

.global-search-container .global-search-results li ul li:hover {
	font-weight: 600;
	cursor: pointer;
}

.push-floor-stock-btn {
    line-height: 15px;
    min-height: 15px;
    min-width: 20px;
    margin: 0px;
    padding: 5px;
}

.push-floor-stock-btn.add {
	color: rgb(24, 165, 24)!important;
}

.push-floor-stock-btn.remove {
	color: rgb(190, 43, 43)!important;
}

.nowrap {
	white-space: nowrap;
	text-wrap: nowrap;
}

md-switch:not(.md-checked) .md-bar {
    background-color: rgb(167, 167, 167);
}