 
@media print {
nav, div.sub_nav{
    display:none !important;
}
form[name="add"] table.pp tr:nth-child(2){
display:none !important;
}
table.ss tr:nth-child(2){
display:table-cell;
}
.print_me{
    
    display:block !important;
}
table.vertical{
    display:none;
}
table[name="parts_parts"] td:first-child{
	display:table-cell;
	padding:2px 5px;
}
input[type="submit"], select, button{
 display:none
}
table[name="parts_parts"] tr:last-child td:last-child {
    background: #4fc3f7;
    font-size: 1.5em;
    text-align: left;
    color: black !important; 
    font-weight:600
}
table[name="parts_parts"] tr:first-child{
             background-color:#4fc3f7;
             border-bottom:1px solid black;
}
td:nth-child(5) {
    text-align: right;
    padding: 2px 5px;
}
td:nth-child(4) {
    text-align: right;
}
table.print_signal{
	display:table !important;
}
h1 {
	display:block !important;
}
table.print_signal tr{
	border-bottom:1px solid black;
}
table.print_signal tr:last-child{
	border-bottom:none !important;
}
table.print_signal tr td{
	padding:0.5em 0.7em;
}
table.print_signal tr td:first-child{
	width:30%;
	font-weight:600;
	border-right:1px solid black;
}

nav, div.sub_nav{
    display:none !important;
}
form[name="add"] table.pp tr:nth-child(2){
display:none !important;
}
table.ss tr:nth-child(2){
display:table-cell;
}
.print_me{
    
    display:block !important;
}
table.vertical{
    display:none;
}

table[name="parts_parts"] td:first-child{
display:table-cell;
padding:2px 5px;
}
input[type="submit"], select, button{
 display:none
}
table[name="parts_parts"] tr:last-child td:last-child {
        background: #4fc3f7;
    font-size: 1.5em;
    text-align: left;
    color: black !important; 
    font-weight:600
}
table[name="parts_parts"] tr:first-child{
             background-color:#4fc3f7;
             border-bottom:1px solid black;
             
}
td:nth-child(5) {
    text-align: right;
    padding: 2px 5px;
	
}
td:nth-child(4) {
    text-align: right;
}

/*/////////////////// MEDIA PRINT ///////////////////*/
}
body{
user-select:none;
}
 table[class="2"] td:nth-child(2n+1) {
    width: 150px;
    font-weight:100;
}
table[class="2"] td:nth-child(2n) {
    width: 200px;
    font-weight:600;
}
 div.print_me{
    display:none;
}  
body{
     margin:0;
     padding:0;
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}
.clear{
     display:block;
     clear:both;
}
a{
     text-decoration:none;
     color:black
}
a:hover{
    color:darkblue;
}
a.button {
    /*border: 1px solid black; */
    padding: 0px 6px;
    /*background: #FFC107;    */
    border-radius: 10px;
    box-shadow: 1px 2px 1px darkslategrey;
}

input[type="chekbox"]{
  margin:0px;
}
.dim{
    width:100%;
    height:100%;
    position:absolute;
    z-index:99;
    background-color:rgba(0,0,0,0.4);
    top:0px;
    left:0px;
}
.dim div{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;

}
.s2-input{
    padding: 0px 5px;
    border-radius: 4px;
    min-height: 26px;
    display: block;
    border: 1px solid #9E9E9E;
    width: 50%;
    }
  
    
/*        nav         */

nav, div.sub_nav{
     width:100%;
     background:#555;
     text-shadow:1px 1px 1px black;
}
nav ul, div.sub_nav ul{
     list-style-type:none;
     padding:0;
     margin:0;
}
nav ul li, div.sub_nav ul li{
     float:left;
     min-width: 100px;
     text-align: center;
}
nav ul li a, nav ul li span, div.sub_nav ul li a, div.sub_nav ul li span{
     display:block;
     padding:0 10px;
     line-height:40px;
     color:#f3f3f3;
    
     box-shadow:2px 0px 2px -2px black;  
}

nav ul li a:hover, nav ul li a.active_menu, div.sub_nav ul li a:hover, div.sub_nav ul li a.active_menu{
     text-decoration:none;
     background:#00acc1;
     color:white;
     text-shadow: -1px -1px 1px black;
     box-shadow:5px -5px 10px -3px #0000009e; 
}
div.sub_nav{
    display:inline-block;
    /* border-top:1px solid #333; */
    background:#444;
  /*   overflow:hidden; */
}
a.selected {
    background: #00ACC1;
    text-shadow: -1px -1px 1px black;
     box-shadow:5px -5px 10px -3px #0000009e !important; 
}
/*       form.c_machine    */

form.c_machine input[type="text"]{
    float: left;
    width: 200px;
    margin: 5px 10px;
    padding: 2px 5px;
}
form.c_machine{
     width:223px;
}
form.c_machine input[type="chekbox"]{
    float:left;
    margin:0px 0px 10px 4px;
}
form.c_machine input[type="submit"], form.c_machine span{
    float:right;
}
input[type="submit"] {
    padding: 5px 10px;
}
/*             table                 */   
table{
border-collapse: collapse;
width:100%

}
table.vertical td:first-child{
    width:250px;
}
 table.pp td,table.vertical td, table.color td{
   padding:2px 5px; 
 }
 table.pp td, table.hov td, table.vertical td,table.color td{
 border-right:1px solid #555;
 }
  table.pp td:last-child, table.hov td:last-child,table.vertical td:last-child{
 border-right:none;
 }
table.pp tr:nth-child(2n),table.vertical tr:nth-child(2n), table.color tr:nth-child(2n){
    background:#ddd;
}

.hov tr:hover,.hov tr:hover a{
background:#00acc1 !important;
color:#fff;
cursor:pointer
}
.hov tr:hover tr:frist-child{
  background:#fff !important;
}
.pp tr td:first-child{
user-select:none;
}
table.pp th,table.color th{
    padding: 10px 20px;
    border-right: 1px solid black;
    background: #00acc1;
    color: white;
    text-shadow: 1px 1px 1px black; 
}
table.pp th:last-child{
border:none;
}
.pop-up{
    top: 19%;
    top: 10%;
    position: absolute;
    left: 40%;
    background: red;
    width: 300px;
    text-align: center;
    border-radius: 10px;
    padding: 20px 0;
    box-shadow: 5px 5px 15px;

}
table.pp tr.color2{
   background:#FF9800; 
}
table.pp tr.color3{
   background:#f44336; 
}
table.pp tr.color4{
   background:#8bc34a; 
}
th.date {
    width: 10%;
}
    select.color option#1{
        background:#1cb300;
    } 
    select.color option#2{
        background:#e2700a;
    } 
    select.color option#3{
        background:#cc2f00;
    } 
    select.color option#4{
        background:#cc2f00;
    } 
table.pp td:first-child{
    width:13%;
    border-right: 1px solid #555;
}
table.pp textarea{
    height: 70px;
    width: 220px;
    
}
table.pp button{
padding:5px 10px;

}
table[name="parts_parts"] tr:nth-child(2n) {
    background: #fff;   
}
table[name="parts_parts"] tr {
    background: #ddd;
}
table[name="parts_parts"] tr:last-child td:last-child {
        background: #4fc3f7;
    font-size: 1.5em;
    text-align: left;
    color: white; 
}
tr.signal{
    background-color:cadetblue !important;
}
tr.signal:nth-child(2n){
    background-color: rgb(105, 168, 170) !important;
} 
tr.worker{
    background-color:burlywood !important;
}
tr.worker:nth-child(2n){
    background-color:rgb(232, 194, 145)  !important;
}

/*        datepicker            */                  
 *.custom-combobox {
    position: relative;
    display: inline-block;
  }
  .custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
  }
  .custom-combobox-input {
    margin: 0;
    padding: 5px 10px;
  }
  table[name="parts_parts"] tr {
    border: 1px solid;
}
table[name="parts_parts"] td:first-child {
    width: 5% !important;
}
table[name="parts_parts"] td:nth-child(2){
    width: 55%; 
}
table[name="parts_parts"] td:nth-child(3){
    width: 3%;
	  text-align:right;
}
table[name="parts_parts"] td:nth-child(4){
    width: 11%;
    text-align:right;
}
table[name="parts_parts"] td:nth-child(5){
    text-align:right;
    width: 11%;
}
table.print_me_table td:first-child {
    width: 10% !important;
}
.print_me_table td:nth-child(2){
    width: 55%; 
}
.print_me_table td:nth-child(3){
    width: 3%;
	  text-align:right;
}
.print_me_table td:nth-child(4){
    width: 11%;
    text-align:right;
}
.print_me_table td:nth-child(5){
    text-align:right;
    width: 11%;
}
table[name="parts_parts"].last_tr td{
    width:auto !important;    
}
textarea.desc{
  vertical-align: top;
  }
 .myButton {
	-moz-box-shadow: 0px 1px 0px 0px #f0f7fa;
	-webkit-box-shadow: 0px 1px 0px 0px #f0f7fa;
	box-shadow: 0px 1px 0px 0px #f0f7fa;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #33bdef), color-stop(1, #019ad2));
	background:-moz-linear-gradient(top, #33bdef 5%, #019ad2 100%);
	background:-webkit-linear-gradient(top, #33bdef 5%, #019ad2 100%);
	background:-o-linear-gradient(top, #33bdef 5%, #019ad2 100%);
	background:-ms-linear-gradient(top, #33bdef 5%, #019ad2 100%);
	background:linear-gradient(to bottom, #33bdef 5%, #019ad2 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#33bdef', endColorstr='#019ad2',GradientType=0);
	background-color:#33bdef;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #057fd0;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px -1px 0px #5b6178;
}
.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #019ad2), color-stop(1, #33bdef));
	background:-moz-linear-gradient(top, #019ad2 5%, #33bdef 100%);
	background:-webkit-linear-gradient(top, #019ad2 5%, #33bdef 100%);
	background:-o-linear-gradient(top, #019ad2 5%, #33bdef 100%);
	background:-ms-linear-gradient(top, #019ad2 5%, #33bdef 100%);
	background:linear-gradient(to bottom, #019ad2 5%, #33bdef 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#019ad2', endColorstr='#33bdef',GradientType=0);
	background-color:#019ad2;
    color:#fff;
}
.myButton:active {
	position:relative;
	top:1px;
} 
/*----------------------------*/

.error {
position: relative;
    background: #ff9800cc;
    padding: 5px 10px;
    box-shadow: 2px 2px 2px #000;
    top: 0px;
    font-size: 1.4em;
    left: -50%;
    cursor: default;
    user-select: none;
    
    z-index:999;
    color: #eee;
    text-shadow: 1px 1px 1px black;
}
.magnifying-glass {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 0.4em;
  height: 0.4em;
  position: relative;
  border: 0.1em solid #000;
  -webkit-border-radius: 0.35em;
  border-radius: 0.35em;
  font: normal 1em/normal Arial, Helvetica, sans-serif;
  color: rgba(0,0,0,1);
  -o-text-overflow: clip;
  text-overflow: clip;
  margin: 0px 0px 5px 10px;
}

.magnifying-glass::before {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 0.45em;
  height: 0.1em;
  position: absolute;
  content: "";
  right: -0.35em;
  bottom: -0.2em;
  border: none;
  font: normal 100%/normal Arial, Helvetica, sans-serif;
  color: rgba(0,0,0,1);
  -o-text-overflow: clip;
  text-overflow: clip;
  background: #000;
  text-shadow: none;
  -webkit-transform: rotateZ(45deg)   ;
  transform: rotateZ(45deg)   ;
}

 div.login_form{
    position:relative;
    text-align: center;
    background-color: rgba(158, 158, 158, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    width: 200px;
    position: relative;
    left: -50%;
    top: 200px;
    box-shadow: 1px 1px 5px;
  }
form.login_form input[type="text"], form.login_form input[type="password"] {
    border-radius: 15px;
    margin: 10px 0;
    padding: 5px 15px;
    border: 1px solid;
    box-shadow: 1px 1px 3px rgba(33, 33, 33, 0.7), inset -1px -1px 2px 0px rgba(158, 158, 158, 0.9);
}
input.myButton {
    width: 150px;
}
div.center{
    position:absolute;
    left:50%;
    top: 20%;
}

div.info{
    position: relative;
    z-index:999;
    LEFT: -50%;
    BACKGROUND: WHITE;
    PADDING: 15PX 20PX;
}
table.pp td:nth-child(3) {
    min-width: 145px;
    max-width: 131px;
}
