.ya_flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.ya_ai_c {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.ya_jc_c {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.ya_jc_sb {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.ya_flex_wrap {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.ya_flex1 {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.ya_mr8 {
  margin-right: 8px;
}

.ya_link_color {
  color: #0073aa;
}

.ya_hr {
  height: 1px;
  width: 100%;
  border-bottom: 1px dotted #ccc;
  margin: 24px auto;
}

.settings_page_yahman-add-ons #wpcontent {
  padding-left: 0;
}

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

.yahman_addons_wrap h2 {
  text-align: center;
  margin: 24px auto;
}

.yahman_addons_wrap h3 {
  background: #000;
  color: #fff;
  padding: 8px 12px;
  margin: 32px auto;
  font-size: 18px;
}

.yahman_addons_wrap p.submit {
  text-align: center;
}

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

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

.ya_box_design {
  background-color: #fff;
  border-radius: 2px;
  -webkit-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);
          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);
}

.ya_sub_menu {
  padding: 12px 24px;
  margin-top: 40px;
  display: inline-block;
}

.ya_sub_menu a {
  text-decoration: none;
}

.ya_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;
  -webkit-transition: all .5s;
  transition: all .5s;
  cursor: pointer;
}

.ya_o_s_t {
  overflow-y: hidden;
  overflow-x: auto;
}

.ya_o_s_t > * {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.ya_o_s_t > label:first-child {
  margin-left: auto;
}

.ya_o_s_t > label:last-child {
  margin-right: auto;
}

#ya_pv:checked ~ div #ya_pv_label,
#ya_toc:checked ~ div #ya_toc_label,
#ya_widget:checked ~ div #ya_widget_label,
#ya_ga:checked ~ div #ya_ga_label,
#ya_pwa:checked ~ div #ya_pwa_label,
#ya_sns:checked ~ div #ya_sns_label,
#ya_google_ad:checked ~ div #ya_google_ad_label,
#ya_profile:checked ~ div #ya_profile_label,
#ya_seo:checked ~ div #ya_seo_label,
#ya_sitemap:checked ~ div #ya_sitemap_label,
#ya_blogcard:checked ~ div #ya_blogcard_label,
#ya_cta_social:checked ~ div #ya_cta_social_label,
#ya_share:checked ~ div #ya_share_label,
#ya_javascript:checked ~ div #ya_javascript_label,
#ya_related_posts:checked ~ div #ya_related_posts_label,
#ya_other:checked ~ div #ya_other_label,
#ya_robot:checked ~ div #ya_robot_label,
#ya_notice:checked ~ div #ya_notice_label,
#ya_faster:checked ~ div #ya_faster_label {
  background: #f1f1f1;
  border-radius: 8px 8px 0 0;
}

#ya_pv:checked ~ div form #ya_pv_content,
#ya_toc:checked ~ div form #ya_toc_content,
#ya_widget:checked ~ div form #ya_widget_content,
#ya_ga:checked ~ div form #ya_ga_content,
#ya_pwa:checked ~ div form #ya_pwa_content,
#ya_sns:checked ~ div form #ya_sns_content,
#ya_google_ad:checked ~ div form #ya_google_ad_content,
#ya_profile:checked ~ div form #ya_profile_content,
#ya_seo:checked ~ div form #ya_seo_content,
#ya_sitemap:checked ~ div form #ya_sitemap_content,
#ya_blogcard:checked ~ div form #ya_blogcard_content,
#ya_cta_social:checked ~ div form #ya_cta_social_content,
#ya_share:checked ~ div form #ya_share_content,
#ya_javascript:checked ~ div form #ya_javascript_content,
#ya_related_posts:checked ~ div form #ya_related_posts_content,
#ya_other:checked ~ div form #ya_other_content,
#ya_robot:checked ~ div form #ya_robot_content,
#ya_notice:checked ~ div form #ya_notice_content,
#ya_faster:checked ~ div form #ya_faster_content {
  display: block;
}

.ya_checkbox {
  position: relative;
  margin: 0;
}

.ya_checkbox label {
  width: 36px;
  height: 18px;
  background: #c4c4c4;
  position: relative;
  display: inline-block;
  border-radius: 46px;
  -webkit-transition: 0.25s;
  transition: 0.25s;
  -webkit-box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.25);
          box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.25);
}

.ya_checkbox label:after, .ya_checkbox label:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  left: 0;
  top: -2px;
  background: #fff;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

.ya_checkbox label:before {
  font-family: 'FontAwesome';
  content: "\f00d";
  font-weight: normal;
  font-size: 16px;
  line-height: 0;
  color: #b4b9be;
  z-index: 1;
  overflow: hidden;
  display: -moz-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.ya_checkbox input {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.ya_checkbox input:checked + label {
  background: #4bd763;
  color: #4bd763;
}

.ya_checkbox input:checked + label:after, .ya_checkbox input:checked + label:before {
  font-family: 'FontAwesome';
  content: "\f00c";
  color: #4bd763;
  line-height: 0;
  left: 18px;
  border: 1px solid #4bd763;
}

.ya_checkbox input:checked + label:after {
  content: "";
}

.ya_tooltip {
  opacity: 0;
  visibility: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  -webkit-transition: all .3s;
  transition: all .3s;
  position: absolute;
  background: #000;
  border-radius: 4px;
  bottom: 140%;
  padding: 8px 12px;
  z-index: 12;
}

.ya_tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 8px;
  border: transparent solid 8px;
  border-top-color: #000;
}

.ya_tooltip a, .ya_tooltip label {
  color: #00d7ff;
  text-decoration: underline;
}

.ya_setting_content {
  margin-bottom: 28px;
}

.ya_tooltip_wrap {
  position: relative;
  margin-bottom: 8px;
}

.ya_tooltip_wrap > label {
  font-weight: bold;
  margin-right: 16px;
}

.ya_tooltip_wrap > label:hover + .ya_tooltip {
  visibility: visible;
  opacity: 1;
}

.ya_tooltip_wrap > label:after {
  font-family: 'FontAwesome';
  content: "\f059";
  margin-left: 4px;
  display: inline-block;
  vertical-align: top;
}

.ya_tooltip:hover {
  visibility: visible;
  opacity: 1;
}

.ya_tooltip a:before {
  font-family: 'FontAwesome';
  content: "\f08e";
  margin-right: 4px;
  display: inline-block;
  vertical-align: top;
}
