@charset "UTF-8";
/*-------------------------------------------------------------
1. Mixin
--------------------------------------------------------------*/
:root {
  --oaws-primary-color: #172a68;
  --oaws-secondary-color: #f25a87;
  --oaws-border-color: #cccccc;
  --oaws-shadow-color: #36b97e;
}

.oaws_hidden {
  display: none !important;
}

.oaws_hidden_setting {
  opacity: 0.3;
  pointer-events: none;
}

.oaws-flex {
  display: flex;
}

.oaws_flex_row_reverse {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.oaws_flex_align_items_center {
  align-items: center;
}

.oaws_flex_align_items_start {
  align-items: flex-start;
}

.oaws_flex_align_items_end {
  align-items: flex-end;
}

.oaws_flex_justify_content_center {
  justify-content: center;
}

.oaws_flex_justify_content_start {
  justify-content: flex-start;
}

.oaws_flex_justify_content_end {
  justify-content: flex-end;
}

.mt {
  margin-top: 30px;
}

.mb {
  margin-bottom: 30px;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-half {
  margin-top: 15px;
}

.mb-half {
  margin-bottom: 15px;
}

.ml-half {
  margin-left: 15px;
}

.mr-half {
  margin-right: 15px;
}

.oaws_hidden_line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.oaws_toggle {
  cursor: pointer;
  display: inline-flex;
  margin: 5px 0;
  align-items: center;
}
.oaws_toggle .oaws_toggle_input {
  position: absolute;
  visibility: hidden;
  box-shadow: none !important;
  outline: none !important;
}
.oaws_toggle .oaws_toggle_input:checked + .oaws_toggle_switch {
  background: var(--oaws-primary-color);
}
.oaws_toggle .oaws_toggle_input:checked + .oaws_toggle_switch::before {
  left: 23px;
}
.oaws_toggle .oaws_toggle_switch {
  display: inline-block;
  background: rgba(10, 9, 89, 0.08);
  border-radius: 16px;
  width: 46px;
  height: 26px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
  margin-right: 15px;
}
.oaws_toggle .oaws_toggle_switch::before {
  display: block;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 3px;
  transition: all 0.25s ease;
  content: "";
}

/*-------------------------------------------------------------
2. Single Settings Tab
--------------------------------------------------------------*/
.oaws_scan_box {
  padding: 15px;
  border: 1px dashed var(--oaws-border-color);
  border-radius: 5px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  width: 500px;
  max-width: 100%;
  margin-bottom: 10px;
}
.oaws_scan_box .status {
  color: green;
}
.oaws_scan_box .cancelled {
  color: red;
}

.oaws_scan_attachment {
  display: flex;
  gap: 10px;
}

.button.loading {
  position: relative;
  pointer-events: none;
}
.button.loading::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../images/loading.gif) rgba(0, 0, 0, 0.6) no-repeat center;
  left: 0;
  top: 0;
  background-size: 20px;
}

#oaws_loader_outer {
  background-color: #fff;
  border: 1px solid #c3c3c3;
  border-radius: 10px;
  display: none;
  height: 20px;
  width: 50%;
}

#oaws_loader_inner {
  background: #047BB5;
  border-radius: 9px;
  height: 100%;
  width: 0;
}

.oaws_notice p {
  margin: 10px 0 0 0;
  padding: 10px 15px;
  border-left: 3px solid var(--oaws-shadow-color);
  font-style: italic;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  display: inline-block;
}

.oaws_scanbox_status {
  position: relative;
  display: inline-block;
}
.oaws_scanbox_status img {
  position: absolute;
  left: 110%;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}
.oaws_scanbox_status.is-running img {
  display: initial;
}

#oaws_process_box {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
}

.oaws_wrapper_process {
  width: 600px;
  background-color: #fff;
  max-width: 100%;
  border-radius: 5px;
  padding: 20px;
}

.oaws_title_process {
  margin: 0 0 10px;
  color: var(--oaws-primary-color);
}
.oaws_title_process + p {
  margin: 0 0 20px;
  color: #c0001a;
}

.oaws_inner_process {
  padding: 20px;
  border: 1px dashed #ccc;
  border-radius: 5px;
  position: relative;
}
.oaws_inner_process.stopping {
  cursor: wait;
}
.oaws_inner_process.stopping::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  z-index: 99;
}

.oaws_header_process {
  display: flex;
  grid-gap: 20px;
}

.oaws_main_process {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 20px;
}
.oaws_main_process #oaws_list_process {
  padding-right: 10px;
  max-height: 500px;
  overflow-y: auto;
}
.oaws_main_process #oaws_list_process .oaws_item_process {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px dashed #ebebeb;
}
.oaws_main_process #oaws_list_process .oaws_item_process .oaws_resuilt_scan {
  display: flex;
  grid-gap: 50px;
  margin-bottom: 10px;
}
.oaws_main_process #oaws_list_process .oaws_item_process .oaws_resuilt_scan .oaws_term_scan {
  margin: 0;
}
.oaws_main_process #oaws_list_process .oaws_item_process .oaws_wrap_scan {
  display: flex;
  align-items: center;
}
.oaws_main_process #oaws_list_process .oaws_item_process .oaws_stop_process {
  text-decoration: none;
  background-color: #c0001a;
  color: #fff;
  margin-left: 15px;
  border-radius: 5px;
  opacity: 0.5;
  pointer-events: none;
}
.oaws_main_process #oaws_list_process .oaws_item_process.is-scanning .oaws_stop_process {
  opacity: 1;
  pointer-events: initial;
}
.oaws_main_process #oaws_list_process .oaws_item_process.is-finished .oaws_stop_process {
  background-color: var(--oaws-shadow-color);
  opacity: 1;
}
.oaws_main_process #oaws_list_process .oaws_item_process.is-finished .oaws_stop_process .dashicons::before {
  content: "";
}
.oaws_main_process .oaws_process_bar {
  flex: 1;
  height: 30px;
  background-color: #ddd;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.oaws_main_process .oaws_process_bar > span:first-child {
  display: block;
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  background-color: var(--oaws-shadow-color);
  transition: all 0.2s linear;
}
.oaws_main_process .oaws_process_bar .oaws_data_process {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #000;
}

.oaws_action_process {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  grid-gap: 10px;
}
.oaws_action_process #start-scanning.loading + #close-scanbox {
  opacity: 0.3;
  pointer-events: none;
}

#upload-progress > div {
  line-height: 1.6;
}
#upload-progress .label-status {
  width: 80px;
  display: inline-block;
}

#oaws-upload-status {
  position: relative;
}
#oaws-upload-status.loading {
  cursor: wait;
}
#oaws-upload-status.loading::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 9;
}

/*-------------------------------------------------------------
3. Settings Page
--------------------------------------------------------------*/
.oaws_field_nolabel label {
  display: none !important;
}

.oaws_wrap_settings {
  display: flex;
  margin-top: 30px;
}
.oaws_wrap_settings.submitting {
  position: relative;
  cursor: wait;
}
.oaws_wrap_settings.submitting::before {
  content: "";
  position: absolute;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  z-index: 999;
  opacity: 0.8;
  background-color: rgba(0, 0, 0, 0.5);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
}
.oaws_wrap_settings .oaws_g_set_tabcontents {
  flex: 0 0 60%;
  padding: 30px;
  background-color: #fff;
  border-radius: 7px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}
.oaws_wrap_settings .oaws_g_set_tabs {
  flex: 0 0 300px;
  margin: 0;
}
.oaws_wrap_settings .oaws_g_set_tabs li {
  margin-bottom: 15px;
  padding-right: 30px;
}
.oaws_wrap_settings .oaws_g_set_tabs li a {
  text-decoration: none;
  padding: 15px 20px;
  font-size: 15px;
  color: #464646;
  display: inline-flex;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s linear;
  outline: unset !important;
  box-shadow: unset;
}
.oaws_wrap_settings .oaws_g_set_tabs li a img {
  margin-right: 10px;
}
.oaws_wrap_settings .oaws_g_set_tabs li a.active, .oaws_wrap_settings .oaws_g_set_tabs li a:hover {
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  color: #f25a87;
  background-color: #fff;
}
.oaws_wrap_settings .options_group:last-child {
  margin-bottom: 0;
}
.oaws_wrap_settings .options_group:not(:last-child) {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f2f0f0;
}
.oaws_wrap_settings .options_group h3 {
  margin: 0 0 10px 0;
  color: var(--oaws-primary-color);
}
.oaws_wrap_settings .options_group ul li.option_item {
  margin-bottom: 20px;
}
.oaws_wrap_settings .oaws_child_settings .oaws_setting_form {
  margin-right: 15px;
  width: 100%;
}
.oaws_wrap_settings .oaws_setting_form:not(.oaws_flex_row_reverse) label {
  margin-bottom: 4px;
  display: inline-block;
  font-weight: 500;
  font-size: 14px;
}
.oaws_wrap_settings .oaws_setting_form.remove_label_field label {
  display: none;
}
.oaws_wrap_settings .oaws_setting_field.oaws_init_select2 {
  height: 40px !important;
  display: block;
}

.oaws_wrap_action_button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.oaws_header_settings {
  margin-bottom: 50px;
}
.oaws_header_settings .oaws_title_page {
  font-weight: 500;
  font-size: 30px;
  color: #172a68;
}
.oaws_header_settings .oaws_subtitle_page {
  margin: 10px 0 0 0;
  opacity: 0.8;
  font-weight: 500;
}

#oaws_import_export .options_group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  padding-bottom: 30px;
}
#oaws_import_export .options_group .oaws_group_option {
  display: flex;
  align-items: flex-start;
}
#oaws_import_export .options_group .oaws_group_option img {
  margin-right: 30px;
}

#oaws-status-connection {
  color: #c0001a;
}
#oaws-status-connection.actived {
  color: #039903;
}

#oaws-import-form-settings .oaws_field_wrap {
  padding: 10px;
  background-color: #f4f4f4;
  border-radius: 10px;
}

body.opal-product_page_oaws-settings {
  background-color: #f5f7fa;
}