@charset "utf-8"; .def_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  background-color: rgb(0 0 0 / 32%);
}

.def_modal .def_modal_inner {
  margin: 0 auto;
  max-width: 800px;
  min-height: calc(100% - 3.5rem);
  display: flex;
  align-items: center;
}

.def_modal .def_modal_inner .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: white;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2) ;
  border-radius: .3rem ;
  outline: 0;
  min-height: 50px;
}

.btn-prison {
  cursor: pointer;
  color: white;
  background: red;
  padding: 5px 5px;
  border-radius: 2px;
}

#modal-prison {
}

#modal-prison .modal-content {
  padding: 10px;
}

#modal-prison .modal-content .modal-title {
  font-size: 18px;
  color: #3b1b1b;
  margin-bottom: 10px;
  background: #555555;
  color: white;
  padding: 4px;
  font-weight: bold;
}

#modal-prison .modal-content .status-wrap {
  display: flex;
  align-items: center;
  padding: 5px 0;
  margin-bottom: 5px;
}

#modal-prison .modal-content .status-wrap .status {
  font-weight: bold;
  margin-right: 10px;
  font-size: 15px;
}

#modal-prison .modal-content .status-wrap .status.injail {
  color: red;
}

#modal-prison .modal-content .status-wrap .crime-cnt {
  margin: 0 5px;
}

#modal-prison .modal-content .status-wrap .warn-cnt {
  margin: 0 5px;
}

#modal-prison .modal-content .status-wrap .day-release {
}

#modal-prison .tools {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#modal-prison .tools .item {
  padding: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #efefef;
  margin: 2px;
  border-radius: 3px;
}

#modal-prison .tools .item .explain {
  margin-right: 5px;
}

#modal-prison .tools select {
  padding: 5px;
  font-size: 14px;
}

#modal-prison .tools button {
  padding: 1px 5px;
  font-size: 14px;
  margin: 0 5px;
}

#modal-prison .status-wrap button {
  padding: 1px 5px;
  font-size: 14px;
  margin: 0 5px;
}

.btn-unprison-process {
  background: red;
  color: white;
  border: 1px solid rgb(0 0 0 / 24%);
}

.btn-prison-process {
  background: red;
  color: white;
  border: 1px solid rgb(0 0 0 / 24%);
}

.btn-prison-process.warn {
  background: #0061ff;
}

#modal-prison .status-wrap .btn-wrap {
  text-align: right;
  flex-grow: 1;
}

#modal-prison .history td {
  padding: 3px;
}

#modal-prison .history th {
  padding: 3px;
}

#modal-prison .history tr.cancel td.cat, #modal-prison .history tr.cancel td.datebegin, #modal-prison .history tr.cancel td.dateend {
  text-decoration: line-through
}



#modal-prison .history td.cancel {
  color:red;
}


#modal-prison .history td.warn {
  color:#00a3ff;
}
#modal-prison .history td.warn .warn-exp {
  margin-right:10px;
}
#modal-prison .history td button.btn-prison-cancel {
  color:black;
}