.pen {
  margin: 5px 0;
}
.pen.pen-closed .pen-body {
  display: none;
}
.pen .pen-num {
  color: #555;
  font-weight: bold;
  border-radius: 30px;
  border: 1px solid #999999;
  display: inline-block;
  padding: 15px 10px;
  line-height: 0;
}
.pen .pen-num.pen-has-cattle {
  background: #999999;
  border: 1px solid #999999;
  color: #fff;
}
.pen .pen-header {
  padding: 5px 15px;
  cursor: pointer;
}
.pen .pen-field {
  border: 0;
  outline: 0;
  border-bottom: 1px solid #ccc;
  text-align: center;
}
.pen .pen-cattle {
  margin-left: 10px;
  font-weight: bold;
}
.pen .sep {
  font-weight: normal;
  font-size: 24px;
  margin: 0 10px;
  display: inline-block;
  line-height: 0;
  color: #999999;
}
.pen .strong {
  font-weight: bold;
}
.pen .pen-add-lot {
  font-size: 20px;
}
.pen-cattle-lot-header {
  font-weight: bold;
}
.print-hide {
  display: block;
}
.print-hide-inline {
  display: inline-block;
}
.print-show {
  display: none;
}
@media print {
  .print-hide {
    display: none;
  }
  .print-hide-inline {
    display: none;
  }
  .print-show {
    display: block;
  }
}
.pen-cattle-lot {
  padding: 5px;
}
@media only screen and (max-width: 768px) {
  .pen-cattle-lot {
    background: #f5f5f5;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
  }
  .pen-cattle-lot .pen-checkbox {
    text-align: left !important;
  }
  .pen-cattle-lot .pen-checkbox input {
    transform: scale(1.7);
  }
}
.pen-cattle-lot:nth-child(even) {
  background: #f5f5f5;
}
.show-mobile {
  display: none;
}
@media only screen and (max-width: 768px) {
  span.pen-cattle {
    display: block;
  }
  .show-mobile {
    display: block;
  }
  .hide-mobile {
    display: none;
  }
  .mobile-pen-footer {
    margin-top: 5px;
  }
}
@media only screen and (max-width: 768px) {
  #barn-edit-list .pen .pen-num {
    float: left;
    margin-right: 10px;
  }
}
