h2 {
  line-height:1.3;
}

h1 {
  line-height:1.3;
}

.label_h2 {
  margin: 15px 0px;
}

.modal {
  display: block; /* Show by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.relative_parent {
  position: relative;
}

.big_cnc_drawing {
  transform: rotate(90deg);
  color: black;
  /*text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;*/
  position: absolute;
  left: 350px;
  top: 320px;
  font-size: 3em;
  z-index: 1;
}

.big_cnc_no_drawing {
  transform: rotate(90deg);
  color: black;
  /*text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;*/
  position: absolute;
  left: 330px;
  top: 150px;
  font-size: 3em;
  z-index: 1;
}

@media screen
{
  div.label_background {
     margin: 15px;
     background: #ffffff;
     padding: 5px;
     width: 450px;
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
}

@media print
{
  @page {
    margin:0;
  }
  .do_not_print, #label_per_piece, #label_per_position {
    display: none;
  }
}
