.tocm_flex {
  display: flex;
}

.tocm_ai_c {
  align-items: center;
}

.tocm_jc_c {
  justify-content: center;
}

.tocm_jc_sb {
  justify-content: space-between;
}

.tocm_flex_wrap {
  flex-wrap: wrap;
}

.tocm_flex1 {
  flex: 1;
}

.settings_page_simple-stripe #wpcontent {
  padding-left: 0;
}

.toc_maker_header {
  position: relative;
  background: #fff;
}

.tocm_admin_edit_version {
  font-size: 16px;
  padding: 4px 8px;
  background: #f1f1f1;
  border-radius: 2px;
  position: absolute;
  top: 0;
  right: 0;
}

.zipang_box_design {
  background-color: #fff;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.tocm_sub_menu {
  padding: 12px 24px;
  margin-top: 40px;
  display: inline-block;
}
.tocm_sub_menu a {
  text-decoration: none;
}
.tocm_sub_menu a:hover {
  text-decoration: underline;
}

input.tabs {
  display: none;
}

.tab_content {
  display: none;
  padding: 12px 24px 32px;
  margin: 20px auto;
  max-width: 640px;
}

label.tab_item {
  display: inline-block;
  color: #0073aa;
  padding: 12px 8px;
  margin: 0 4px 0 0;
  text-decoration: none;
  transition: all 0.5s;
  cursor: pointer;
}

.tocm_o_s_t {
  overflow-y: hidden;
  overflow-x: auto;
}
.tocm_o_s_t > * {
  flex: 0 0 auto;
}
.tocm_o_s_t > label:first-child {
  margin-left: auto;
}
.tocm_o_s_t > label:last-child {
  margin-right: auto;
}

#tocm_settings:checked ~ div #tocm_settings_label,
#tocm_environment:checked ~ div #tocm_environment_label {
  background: #f1f1f1;
  border-radius: 8px 8px 0 0;
}

#tocm_settings:checked ~ div #tocm_settings_content,
#tocm_environment:checked ~ div #tocm_environment_content {
  display: block;
}

.toc_maker_wrap {
  padding: 20px;
  font-size: 16px;
}

#wpcontent {
  padding-left: 0;
}

#zipang_admin_settings_wrap * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#zipang_pop_up_message {
  opacity: 0;
  position: fixed;
  bottom: 0;
  padding: 16px;
  background-color: #323232;
  color: #fff;
  transition: all 0.25s cubic-bezier(0, 0, 0.2, 1) 0s;
  z-index: 9999999;
  box-sizing: border-box;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
  display: inline-block;
  left: 50%;
  transform: translateY(100%) translateX(-50%);
  margin-bottom: 8px;
  border-radius: 2px;
}
#zipang_pop_up_message.active {
  transform: translateY(0%) translateX(-50%);
  opacity: 1;
}
#zipang_pop_up_message.inactive {
  transform: translateY(100%) translateX(-50%);
  opacity: 0;
  transition: 0.1s;
}

#zipang_loading {
  width: 60px;
  height: 60px;
  border: 10px solid #f6f2ef;
  border-top-color: #00b9eb;
  border-radius: 50%;
  animation: zipang_loading_spin 1.2s linear 0s infinite;
  text-align: center;
  z-index: 10;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

@keyframes zipang_loading_spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#zipang_loading_bg {
  width: 100%;
  height: 100%;
  z-index: 10000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.zipang_logo_wrap {
  padding: 40px 0;
}

.zipang_setting_wrap + .zipang_setting_wrap {
  margin-top: 20px;
}

label.zipang_setting_head {
  cursor: pointer;
}

.zipang_setting_head {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.zipang_switch_wrap input[type=checkbox] {
  display: none;
}
.zipang_switch_wrap input[type=checkbox]:checked + .zipang_switch_style {
  background-color: #20a0ff;
}
.zipang_switch_wrap input[type=checkbox]:checked + .zipang_switch_style:before {
  left: 50%;
}
.zipang_switch_wrap > span {
  margin-right: 1em;
  vertical-align: top;
  line-height: 1.6;
}
.zipang_switch_wrap .zipang_switch_label {
  display: inline-block;
  font-size: 100%;
  height: 1.6em;
  position: relative;
}
.zipang_switch_wrap .zipang_switch_style {
  height: 1.6em;
  left: 0;
  background: #c0ccda;
  -webkit-border-radius: 0.8em;
  border-radius: 0.8em;
  display: inline-block;
  position: relative;
  top: 0;
  transition: all 0.3s ease-in-out;
  width: 3em;
  cursor: pointer;
}
.zipang_switch_wrap .zipang_switch_style:before {
  display: block;
  content: "";
  height: 1.4em;
  position: absolute;
  width: 1.4em;
  background-color: #fff;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  left: 0.1em;
  top: 0.1em;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.zipang_checkbox_wrap {
  display: flex;
  align-items: center;
  gap: 0 8px;
}
.zipang_checkbox_wrap + .zipang_checkbox_wrap {
  margin-top: 10px;
}
.zipang_checkbox_wrap label {
  cursor: pointer;
}
.zipang_checkbox_wrap > input[type=checkbox] {
  display: none;
}
.zipang_checkbox_wrap > input[type=checkbox] + .zipang_checkbox_style {
  position: relative;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  vertical-align: middle;
}
.zipang_checkbox_wrap > input[type=checkbox] + .zipang_checkbox_style:before {
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  content: "";
  border: 1px solid #c0ccda;
}
.zipang_checkbox_wrap > input[type=checkbox] + .zipang_checkbox_style:after {
  position: absolute;
  display: none;
  content: "";
  top: 0.15em;
  left: 0.5em;
  box-sizing: border-box;
  width: 0.4em;
  height: 0.85em;
  transform: rotate(45deg);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.zipang_checkbox_wrap > input[type=checkbox]:checked + .zipang_checkbox_style:before {
  border: #20a0ff;
  background: #20a0ff;
}
.zipang_checkbox_wrap > input[type=checkbox]:checked + .zipang_checkbox_style:after {
  display: block;
}
.zipang_checkbox_wrap > span {
  vertical-align: top;
  line-height: 1.6;
}

.zipang_radiobox_wrap {
  display: flex;
  align-items: center;
  gap: 0 8px;
}
.zipang_radiobox_wrap + .zipang_radiobox_wrap {
  margin-top: 10px;
}
.zipang_radiobox_wrap label {
  cursor: pointer;
}
.zipang_radiobox_wrap > span {
  vertical-align: top;
  line-height: 1.6;
}
.zipang_radiobox_wrap > input[type=radio] {
  display: none;
}
.zipang_radiobox_wrap > input[type=radio]:checked + .zipang_radio_style:before {
  display: block;
}
.zipang_radiobox_wrap .zipang_radio_style {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  border: 1px solid #20a0ff;
  border-radius: 50%;
}
.zipang_radiobox_wrap .zipang_radio_style:before {
  display: none;
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #20a0ff;
}