/* @override https://localhost:4433/css/form.css */

/**
 * CSS styles for forms generated by yiic.
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row buttons">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 * </div>
 *
 * The above code will render the labels and input fields in separate lines.
 * In order to render them in the same line, please use the "wide" form as follows,
 *
 * <div class="wide form">
 *     ......
 * </div>
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

div.form
{
}

div.form input,
div.form textarea,
div.form select
{
	margin: 0.2em 0 0.5em 0;
}

div.form fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    border-radius: 7px;
    -moz-border-radius:7px;
}

div.form label
{
	font-weight: bold;
	font-size: 0.9em;
	margin:10px;
	
}

div.form .row
{
	margin: 5px 0;
}

div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
}

div.form span.required
{
	color: red;
}

div.form div.error label:first-child,
div.form label.error,
div.form span.error
{
	color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
	background: #FEE;
	border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}

div.form div.success label
{
	color: inherit;
}

div.form .errorSummary579 input
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}

div.form .errorMessage
{
	color: red;
	font-size: 0.9em;
}

div.form .errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.form .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.wide.form label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.wide.form .row
{
	clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
	clear: left;
	padding-left: 110px;
}

.actions {
	float: left;
}

div.form .actions input {
	margin-right: 25px;
}

#cut_table {
	width: 402px;
	margin: 0px auto;
	padding: 0px;
}
#res {
	width: 400px;
	
}
#res td {
	text-align:center;
	border-bottom: 1px dotted #fffeff;
}
#summary_table_div{
	
	margin: 0px auto;
	padding: 0px;
}
#summary{
	margin: 0px auto;
}
#summary td{
	text-align:center;
	padding:10px;
	box-sizing: border-box;
	border: 1px solid #999;
}
.header {
	background-color:#D4D4D4;
}
.type1 {
    background-color: #FFA6A6;
}
.type2 {
    background-color: #FFE7A6;
}
.type3 {
    background-color: #D2FFA6;
}
.type4 {
    background-color: #A6FFF9;
}
.type5 {
    background-color: #7EC27E;
}
.type6 {
    background-color: #A6A6FF;
}
.type7 {
    background-color: #FFA6F0;
}
.type8 {
    background-color: #FFCCA6;
}
.waste {
	background-color: #FF0000;
    color: #FFF;
}

div.form .block {
	float: left;
	margin: 0px 40px 20px 0px;
}

.line_wrap {
	clear: left;
}

div.block input {
	margin: 0px;
}
.sublabel{
	font-style: italic;
}

div.form .types_checkbox, #form-specs .types_order {
	margin-left: 7px;
	vertical-align: middle;
}
div.form .types_label {
	display: inline;
}
#form-specs .types_label {
	display: inline;
	font-size: 100%;
	font-style: normal;
}
#form-specs .type_name {
	font-weight: bold;
	text-align: center;
	font-size: 150%;
	font-style:normal;
}
	
#form-specs spec_name, #form-specs th {
	text-align: center;
}
#form-specs td {
	font-style: italic;
	text-align: center;
	vertical-align: middle;
	padding: .75rem 0;
}

#form-specs td.title{
	font-style: normal;
	font-weight: bold;
	text-align: center;
	font-size: 1em
}
/*#form-specs th, #form-specs td {
    font-size: 80%;
    padding: 5px 0 5px 5px;
    border-left: 1px solid;
    border-bottom: 1px solid;
}*/
#form-specs tr.odd {
	background: none repeat scroll 0 0 #E5F1F4;
}
#form-specs tr.even {
	background: none repeat scroll 0 0 #F8F8F8;
}

.btn-fav{
	font-size: 30px;
	border: inherit;
	background: inherit;
}

#fav_button :hover{
	cursor: pointer;
}

.na_checkbox{
	display: inline-flex;
	align-items: center;
}

.card-body > .row {
	align-items: center;
}

.border-2{
	border-width:2px !important;
}
.file {
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	white-space: nowrap;
}

span.weight {
    margin-left: 0.25rem;
}