.modal-content-width {
  width: 768px;
}
@media (max-width: 767px) {
  .modal-content-width {
    width: 100%;
    max-width: 100%;
  }
}

.tag-borad-contain .czd-popup-wrapper {
  cursor: auto;
}
.tag-borad-contain .czd-popup-wrapper button {
  width: 100%;
  margin-top: 5px;
  color: #fff;
  padding: 5px;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
.tag-borad-contain .czd-popup-wrapper hr {
  margin-top: 15px;
  margin-bottom: 15px;
  border-top: 1px solid black;
}
.tag-borad-contain .czd-popup-wrapper a {
  color: black !important;
  font-weight: bold;
  font-size: 14px !important;
}
.tag-borad-contain .czd-popup-wrapper .add-tag-label,
.tag-borad-contain .czd-popup-wrapper .show-tag-manager {
  cursor: pointer;
  font-weight: bold;
}
.tag-borad-contain .czd-popup-wrapper .user-tag-contain {
  overflow-y: auto;
  max-height: 180px;
  padding: 5px;
}
.tag-borad-contain .czd-popup-wrapper .user-tag-contain::-webkit-scrollbar {
  width: 5px;
  margin-left: 5px;
}
.tag-borad-contain .czd-popup-wrapper .user-tag-contain::-webkit-scrollbar-track {
  background: #888;
}
.tag-borad-contain .czd-popup-wrapper .user-tag-contain::-webkit-scrollbar-thumb {
  background: #555;
}

.grant-tag-result:hover .add-grant-tag {
  display: inline-block;
}
.grant-tag-result .add-grant-tag {
  cursor: pointer;
  display: none;
  font-size: 16px;
  top: 4px;
  left: 6px;
}
.grant-tag-result .tag-item {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
  padding: 5px 10px;
  margin-right: 5px;
  margin-top: 5px;
  color: #fff;
  font-size: 13px;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
.grant-tag-result .tag-item .glyphicon-remove {
  top: 2px;
  cursor: pointer;
}
.grant-tag-result .tag-add-inline {
  display: inline-block;
}
.grant-tag-result .tag-add-inline .wrap-add-tag-icon {
  width: 16px;
  display: inline-block;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.line-break {
  word-wrap: break-word;
  white-space: normal;
}

.modal-add-tag {
  margin: 0 10%;
}
.modal-add-tag .tag-input-row {
  padding-top: 15px;
}
.modal-add-tag .tag-input-row label {
  top: 4px;
}
.modal-add-tag .tag-input-row input {
  width: 100%;
}
.modal-add-tag .tag-input-row #expired-check {
  width: unset;
}
.modal-add-tag .tag-input-row .expired-check-label {
  padding-right: 0;
  top: 0px;
}
.modal-add-tag .sp-replacer {
  width: 100%;
  background-color: #ffffff;
}
.modal-add-tag .sp-replacer .sp-preview {
  width: 95%;
}

.modal-manage-tag {
  padding: 20px 15px;
}
.modal-manage-tag table {
  margin-bottom: 0;
  white-space: nowrap;
  position: relative;
  border-collapse: separate;
}
.modal-manage-tag .manage-tag-table {
  height: 350px;
  overflow: auto;
}
.modal-manage-tag .manage-tag-table .manage-table-head {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  border-bottom: 1px solid #000;
}
.modal-manage-tag .manage-tag-table td {
  vertical-align: middle;
}
.modal-manage-tag .manage-tag-table th {
  padding: 3px 10px;
  text-align: center;
  vertical-align: middle;
}
.modal-manage-tag .manage-tag-table::-webkit-scrollbar {
  width: 5px;
  margin-left: 5px;
}
.modal-manage-tag .manage-tag-table::-webkit-scrollbar-track {
  background: #888;
}
.modal-manage-tag .manage-tag-table::-webkit-scrollbar-thumb {
  background: #555;
}
.modal-manage-tag .col-name-head {
  width: 170px;
}
.modal-manage-tag .col-name {
  text-align: left;
  width: 170px;
}
.modal-manage-tag .col-name div {
  width: 150px;
}
.modal-manage-tag .col-name input {
  width: 100%;
}
.modal-manage-tag .col-name span {
  word-break: break-word;
  display: inherit;
}
.modal-manage-tag .col-color-head {
  width: 150px;
}
.modal-manage-tag .col-color {
  width: 150px;
}
.modal-manage-tag .col-color input {
  width: 60px;
}
.modal-manage-tag .col-color .js-tag-color-change {
  display: none;
}
.modal-manage-tag .col-color .sp-replacer {
  background: #fff;
  width: 100%;
}
.modal-manage-tag .col-color .sp-replacer .sp-preview {
  width: 100%;
}
.modal-manage-tag .col-color .sp-replacer .sp-dd {
  display: none;
}
.modal-manage-tag .col-action-head {
  width: 150px;
}
.modal-manage-tag .col-action {
  text-align: center;
  width: 150px;
}
.modal-manage-tag .col-action div {
  width: 125px;
}
.modal-manage-tag .col-action a {
  font-weight: bold;
  color: #000;
  text-decoration: none;
}
.modal-manage-tag .no-tag-result {
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
}
.modal-manage-tag .error-tag-result {
  text-align: center;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 30px;
}

.tag-filter-first-word {
  word-break: break-all;
}

.icon-inline {
  display: inline !important;
}
