[data-r-role="dialog"] {
  font-size: 14px;
  background: #4B5F71;
}

[data-r-role="dialog"] .dialog_scroll_section {
  padding: 2px 0px 5px 0px;
  height: 80vh;
  overflow: auto;
  margin-bottom: 40px;
}
[data-r-role="dialog"] .dialog_scroll_x_section {
  padding: 2px 0px 5px 0px;
  height: 80vh;
  overflow-x: auto;
  margin-bottom: 40px;
}
[data-r-role="dialog"] .dialog_scroll_y_section {
  padding: 2px 0px 5px 0px;
  height: 80vh;
  overflow-y: auto;
  margin-bottom: 40px;
}
[data-r-role="dialog"] .dialog_message_section {
  padding: 20px 0px 5px 0px;
  height: 20vh;
  overflow-y: auto;
  margin-bottom: 40px;
}

@media screen and (max-width: 800px) {
  [data-r-role="dialog"] > .dialog_scroll_section, [data-r-role="dialog"] > .dialog_scroll_x_section, [data-r-role="dialog"] > .dialog_scroll_y_section {
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
  }
}

[data-r-role="dialog"] footer {
  text-align: center;
}

[data-r-role="dialog"] footer button {
  background: #333333;
  border-radius: 2px;
  border: 1px solid #364B5F;
  outline: none;
  font-weight: 500;
  color: #ffffff;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  text-align: center;
  padding: 5px 18px;
  display: inline-block;
  margin: 1px 10px;
  min-width: 100px;
}

[data-r-role="dialog"] footer button[data-r-field="positive_button"], [data-r-role="dialog"] footer button[data-r-field="submit_button"] {
  background: #4B5F71;
}

[data-r-role="dialog"] footer button[data-r-field="negative_button"], [data-r-role="dialog"] footer button[data-r-field="cancel_button"] {
  background: #5e5e5e;
}

[data-r-role="dialog"] footer button[data-r-field="neutral_button"] {
  background: #606060;
}

[data-r-field="dialog_title"] {
  padding: 6px 30px 0px 10px;
  font-weight: 600;
  font-size: 1.4em;
}

[data-r-field="dialog_message"] {
  text-align: center;
}

[data-r-role="dialog"] .dialog_search_section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

[data-r-role="dialog"] .dialog_search_section:after {
  content: '';
  display: block;
  clear: both;
}

.dialog_search_section input[type="text"][data-r-field="search"] {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  line-height: 1em;
  height: 1.8em;
  padding-right: 60px;
  outline: none;
  border: 1px solid #f1f1f1;
}

.dialog_search_section button[data-r-field="submit_search"] {
  display: block;
  box-sizing: border-box;
  background: #8B5F71;
  outline: none;
  border: 0px;
  font-weight: 500;
  font-size: 0.8em;
  color: #ffffff;
  box-sizing: border-box;
  text-align: center;
  padding: 4px 20px 4px 20px;
  position: absolute;
  top: 0px;
  right: 0px;
}

[data-r-role="dialog"] .dialog_pagination_section {
  padding: 5px 0px;
  text-align: center;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.dialog_pagination_section [data-r-field="first_page"] {
  padding: 8px 0px 0px 0px;
  background: #f1f1f1;
  border-radius: 15px;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font-size: 0.7em;
}

.dialog_pagination_section [data-r-field="previous_page"] {
  padding: 8px 0px 0px 0px;
  background: #f1f1f1;
  border-radius: 15px;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font-size: 0.7em;
}

.dialog_pagination_section [data-r-field="next_page"] {
  padding: 8px 0px 0px 0px;
  background: #f1f1f1;
  border-radius: 15px;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font-size: 0.7em;
}

.dialog_pagination_section [data-r-field="last_page"] {
  padding: 8px 0px 0px 0px;
  background: #f1f1f1;
  border-radius: 15px;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font-size: 0.7em;
}

.dialog_pagination_section [data-r-field="page_number"] {
  padding: 8px 0px 0px 0px;
  border-radius: 15px;
  border: 1px solid #eee;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font-size: 0.7em;
}

.dialog_pagination_section [data-r-field="page_number"]:hover {
  background: #f1f1ff;
}

.dialog_pagination_section [data-r-field="page_number"].on {
  background: #f1f1ff;
}

[data-r-role="dialog"] table {
  width: 100%;
  border-collapse: collapse;
  box-sizing: border-box;
}

[data-r-role="dialog"] table thead {
  position: relative;
  z-index: 1;
}

[data-r-role="dialog"] table th {
  padding: 8px 0px 8px 0px;
  background: #e1e1e1;
}

[data-r-role="dialog"] table td {
  padding: 8px 2px 8px 2px;
  border: 1px solid #e1e1e1;
  text-align: center;
  vertical-align: top;
}

[data-r-role="dialog"] table tr:nth-of-type(2n) td {
  background: #fafafa;
}

[data-r-role="dialog"] [data-r-action="select_on_dialog"] {
  display: inline-block;
  box-sizing: border-box;
  background: #f19080;
  outline: none;
  border: 1px solid #ffc0d0;
  font-weight: 500;
  font-size: 0.8em;
  color: #ffffff;
  box-sizing: border-box;
  text-align: center;
  padding: 4px 22px 4px 22px;
  border-radius: 4px;
}
