form [class*="col-"] [class*="col-"]{
	padding-left:0;
}

textarea, input[type=text], input[type=url], input[type=tel], input[type=number], input[type=color], input[type=email], input[type=email], input[type=password] {
    border-top-color: #d0d0d0;
    border-right-color: #d0d0d0;
    border-bottom-color: #d0d0d0;
}

.options{padding:20px 0;}

@media (min-width:768px){
	form label{
		padding-top:15px;
		text-align:right;
	}
	.options label{
		padding-top:0;
		text-align: left;
	}
}

select{
	width:100%;
	border-width:1px 1px 1px 3px;
	border-left-color: #1ac6ff;
}

select:not([multiple="multiple"]) {
    padding: 10px;
}

select option {
    padding: 2px 10px;
}

.loading-section-image {
	position: absolute;
}

input:hover, textarea:hover,
input:focus, textarea:focus,
select:hover, select:focus  { 
-moz-box-shadow:0 0 8px #30ccff;
	-webkit-box-shadow:0 0 8px #30ccff;
	box-shadow:0 0 8px #30ccff;
}

.form-group:before, 
.form-group:after,
.options:before,
.options:after {
	content: " ";
	display: table;
}
.form-group:after,
.options:after {
	clear: both;
}

.form-batch {
	margin-bottom: 15px;
}

form input[type=submit]{margin-left:0;margin-top:15px;}
input[type=submit]:hover, input[type=submit]:focus, button[type=submit]:hover, button[type=submit]:focus{ background:#1ae1ff}

input[type=radio]{vertical-align: top; margin-right:5px !important;}

/**/

.mt4{margin-top:20px !important;}
.mt5{margin-top:25px !important;}
.mt6{margin-top:30px !important;}
.mt7{margin-top:35px !important;}
.mt8{margin-top:40px !important;}

.alternate-row-odd {background-color: #eeeeee;}
.alternate-row-even {}


/* Logo */
.main_wrapper {
	padding: 50px 0;
}
.logo-wrap {
	
}
.logo-wrap img {
	width: 150px;
	float: right;
}
@media (max-width:992px) {
	.main_wrapper {
		padding: 20px 5px;
	}
	.logo-wrap {
		text-align: center;
		margin-bottom: 20px;
	}
	.logo-wrap img {
		float: none;
		width: auto;
		height: 80px;
	}
}


/* Nav */
.nav-wrap .worfkflow-nav {
	text-align: center;
}
.nav-wrap .worfkflow-nav select {
	width: auto;
	padding: 0;
	min-height: auto;
}
.main-nav ul {
	padding-left: 0;
}
.nav-menu {
	margin: 0;
}
.nav-menu li {
	float: left;
	padding: 0 20px 0 0;
	list-style-type: none;
}
.nav-menu li ul {
	position: absolute;
	display: none;
}
.nav-menu li:hover ul {
	display: block;
}
.nav-menu li ul li {
	float: none;
	padding: 0;
}
.side-nav {
	list-style: none;
	padding-left: 0;
	font-size: 18px;
}


/* Messages */
.message {
	border-radius: 10px;
	padding: 10px;
	color: white;
}
.message.error {
	background-color: red;
}
.message.success {
	background-color: green;
}


/* TABLE DATA-TABLE */
.data-table {
	width: 100%;
}


/* GENERIC WORKFLOW OBJECTS */
.column-filter select {
	height: 375px;
}
.column-main-form, .column-batch-button {
	padding-top: 35px;
}


/* Selected Bar */
.selectedbar{
	margin:0;
	padding:0;
	list-style:none;
	text-align: center;
}
.selectedbar li{
	display:inline-block;
	min-height:80px;
	margin:0 auto 10px 0;
	width:32%;
	background:#CCC;
	vertical-align:top;
}
@media (min-width:992px){
	.selectedbar li{
		width:16%;
	}
}
.selectedbar li a{
	display:inline-block;
	min-height:80px;
	margin:0;
	width:50%;
	padding:10px;
	color:#000;
	border-right:1px solid #FFF;
}
.selectedbar li a:hover{
	background:#30ccff !important;
	color:#FFF;
	text-decoration:none;
}
.selectedbar li a.red{ background:red;}
.selectedbar li a.gren{ background:green;}
.selectedbar li a.yellow{ background:yellow;}


/* WAFERS-SETUP */
.wafer-setup .wafer-select {
	background-image: url(../img/fw.png);
	background-size: 100%;
}
.wafer-setup .wafer-select.product-code-NE {
	background-image: url(../img/ne.png);
}
.wafer-setup .wafer-select.product-code-NW {
	background-image: url(../img/nw.png);
}
.wafer-setup .wafer-select.product-code-SE {
	background-image: url(../img/se.png);
}
.wafer-setup .wafer-select.product-code-SW {
	background-image: url(../img/sw.png);
}
.wafer-setup .wafer-select {
	border-left: 1px solid #000000;
	border-top: 1px solid #000000;
	width: 70%;
	margin: 0 auto;
}
.wafer-setup .wafer-select-cell {
	float: left;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
	background-color: red;
	display: table;
	opacity: .9;
}
.wafer-setup .wafer-select-cell .cell-text {
	display: none;
	color: #000000;
	text-align: center;
	vertical-align: middle;
}
.wafer-setup .wafer-select-cell:hover .cell-text {
	display: table-cell;
	cursor: pointer;
}
.wafer-setup .wafer-select-cell.good {
	background-color: green;
}
.wafer-setup .wafer-select-cell.good .cell-text {
	color: #FFFFFF;
}


/* DEVICE SCRAPPING */
.device-grid-title, .selected-chip-title, .selected-device-title {
	font-weight: bold;
}
.device-grid .device-cell {
	width: 55px;
	height: 70px;
	border: 1px solid #000000;
	float: left;
	margin-bottom: 10px;
	background-color: gray;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.device-grid .devices_per_chip-2.device-cell:nth-child(2n) {
	margin-right: 30px;
}
.device-grid .device-cell.selected {
	border: 5px solid #000000;
}
.device-grid .device-cell.good {
	background-color: green;
}
.device-grid .device-cell.fail {
	background-color: red;
}
.device-grid .device-cell.fail.status_is_override,
.admin-reset-step.fail.status_is_override input,
.admin-reset-step.fail.status_is_override textarea {
	background: #8B0000 url("../img/override.png") repeat top left;
	background-size: 100% 100%;
}
.device-grid .device-cell.scrap {
	background-color: yellow;
}
.device-grid .device-cell.scrap.status_is_override,
.admin-reset-step.scrap.status_is_override input,
.admin-reset-step.scrap.status_is_override textarea {
	background: #DAA520 url("../img/override.png") repeat top left;
	background-size: 100% 100%;
}
.device-grid .device-cell a {
	display: inline-block;
	width: 100%;
	height: 100%;
	color: black;
}

.selected-device-form .fail-mode-options,
.selected-device-form .fail-or-scrap-mode-options,
.admin-reset .fail-or-scrap-mode-options,
.admin-reset .fail-mode-options {
	display: inline-block;
	width:100%;
}


/* BATCHING */
.batch-button-wrapper .batch-button {
	margin: 25px auto;
	display: block;
}
.column-batch-comments label {
	text-align: left;
}


/* PACKAGING / SHIPMENT */
.form-packaging label {
	padding-top: 0;
	text-align: left;
}

.device-cocnumber.disabled, .form-packaging .disabled,
.selected-device-form-input-row-status-conditional .disabled
 {
	background-color: #cccccc;
}


/* POST PACKAGING */


/* ADMIN RESET */
.admin-reset-step {
	padding: 10px;
}
.admin-reset-step h4 {
	margin-top: 0;
}
form .admin-reset-step label {
	padding-top: 0;
	text-align: left;
}