/* Tooltips */
a.an-tooltip {
  display: inline-block;
  padding: 0 5px;
  text-decoration: none;
  cursor: help;
  color: #444;
  border: 1px solid #dddddd;
  border-radius: 50%;
}
#an-tooltip-active {
  position: absolute;
  width: 180px;
  border: 1px solid #333;
  background-color: #161616;
  border-radius: 5px;
  padding: 10px;
  color: #fff;
}
/* Shortcodes */
.an-shortcode-container {
  padding: 15px 0;
  margin-bottom: 15px;
  font-size: 14px;
  text-align: center;
  background: #f7f7f7;
  font-family: monospace;
  border: 1px solid #ccc;
}
.an-lead {
  font-size: 135%;
}
/* Meta Box */
#an-shortcode-form-container {
  background: #fff;
  padding: 15px;
  /* Tool Tabs */
  /* Help */
}
#an-shortcode-form-container #an-tool-selector select#an-tab-links {
  margin: 0 0 30px 0;
  width: 100%;
  padding: 5px 15px;
  font-size: 16px;
  font-weight: bold;
}
#an-shortcode-form-container #an-tool-selector select#an-tab-links option span {
  font-size: 24px;
}
#an-shortcode-form-container .an-custom-field-help {
  margin: 20px 0 0 0;
}
#an-shortcode-form-container .an-custom-field-help p {
  margin: 0 0 12px 0;
}
#an-shortcode-form-container .an-custom-field-help textarea {
  font-size: 10px;
  width: 100%;
}
#an-shortcode-form-container .an-custom-field-help a.button {
  float: right;
  margin-left: 40px;
}
/* Meta Box & Widgets */
#an-shortcode-form-container {
  /* Groups */
  /* Inputs */
}
#an-shortcode-form-container fieldset.an-parameter-group {
  margin: 10px 0 20px 0;
}
#an-shortcode-form-container fieldset.an-parameter-group legend {
  display: block;
  padding: 7px;
  width: 95%;
  font-weight: lighter;
  font-size: 14px;
  border: 1px solid #dddddd;
  background: #f9f9f9;
  border-radius: 5px;
  cursor: pointer;
}
#an-shortcode-form-container fieldset.an-parameter-group .an-parameter-group-content p {
  margin: 10px 0 0 0;
}
#an-shortcode-form-container .control-group {
  position: relative;
  margin: 3px 0;
  padding: 3px;
  width: 400px;
}
#an-shortcode-form-container .control-group:nth-child(2n) {
  background: #f9f9f9 !important;
}
#an-shortcode-form-container .control-group label {
  display: block;
  padding: 3px;
  float: left;
  width: 190px;
  font-weight: bold;
}
#an-shortcode-form-container .control-group .controls select,
#an-shortcode-form-container .control-group .controls input[type="text"] {
  width: 180px;
}
#an-shortcode-form-container .control-group .controls a.an-tooltip {
  position: absolute;
  top: 6px;
  right: 0;
  cursor: help;
  text-decoration: none;
}
/* Settings Page */
#an-options-container {
  position: relative;
  margin-right: 20px;
  max-width: 850px;
}
#an-options-container .nav-tab-wrapper {
  position: relative;
  border-bottom: none;
}
#an-options-container .nav-tab-wrapper .nav-tab.nav-tab-help,
#an-options-container .nav-tab-wrapper .nav-tab.nav-tab-active {
  position: relative;
  bottom: -1px;
  border-bottom: none;
  background: #fff;
}
#an-options-container .nav-tab-wrapper .nav-tab.nav-tab-help {
  float: right;
  background: #f7f7f7;
}
#an-options-container .an-notice {
  margin-left: 0;
}
#an-options-container #an-settings-tabs {
  background: #fff;
  border: 1px solid #ccc;
}
#an-options-container #an-settings-tabs h2 {
  font-size: 18px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #8c8f94;
}
#an-options-container #an-settings-tabs input[type="submit"] {
  padding: 5px 15px;
  font-size: 16px;
}
#an-options-container #an-settings-tabs input[type="submit"][disabled] {
  cursor: not-allowed;
}
#an-options-container #an-settings-tabs p.lead {
  margin: 15px 0 30px 0;
  padding-bottom: 15px;
  font-size: 18px;
  border-bottom: 1px solid #ccc;
}
#an-options-container #an-settings-tabs code {
  border: 1px solid #ccc;
}
#an-options-container #an-settings-tabs .an-tab-content {
  float: left;
}
#an-options-container #an-settings-tabs .an-tab-content.an-tab-left {
  width: 63%;
  padding: 2%;
}
#an-options-container #an-settings-tabs .an-tab-content.an-tab-right {
  padding: 2%;
  width: 29%;
  background: #f7f7f7;
  box-shadow: -3px 3px 3px -3px rgba(0, 0, 0, 0.26);
  border-bottom-left-radius: 5px;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form {
  width: 29%;
  background: #f7f7f7;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form > h2 {
  margin: 10px 15px;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form > p {
  margin: 15px;
  margin-bottom: 0;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form .lead {
  font-size: 18px;
  margin-top: 0;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form #an-shortcode-form-container {
  background: transparent;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form #an-shortcode-form-container legend {
  background: #fff;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form #an-shortcode-form-container .control-group {
  width: unset;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form #an-shortcode-form-container .control-group .control-label {
  float: none;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form #an-shortcode-form-container .control-group .controls input.an-error {
  border: 2px solid red;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-form input[type="submit"] {
  margin-left: 15px;
  margin-bottom: 15px;
}
#an-options-container #an-settings-tabs .an-tab-content#an-shortcode-preview {
  width: 65%;
  padding: 1%;
  background: #fff;
}
#an-options-container #an-settings-tabs .an-tab-content#an-welcome p {
  display: block;
}
#an-options-container #an-settings-tabs .an-tab-content#an-about .an-notice {
  padding: 0;
  text-align: center;
  font-weight: bold;
}
#an-options-container #an-settings-tabs .an-tab-content#an-about .an-notice p a {
  height: 40px;
  line-height: 40px;
  color: #00a32a;
}
#an-options-container #an-settings-tabs .an-tab-content#an-about p {
  margin-top: 0;
  font-size: 15px;
}
#an-options-container #an-settings-tabs .an-tab-content#an-about p.an-lead {
  padding-top: 0;
  height: 145px;
  font-size: 18px;
  line-height: 1.2em;
}
#an-options-container #an-settings-tabs .an-tab-content#an-about p.an-lead b {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}
#an-options-container #an-settings-tabs .an-tab-content#an-about img {
  width: 120px;
  height: 120px;
  margin-right: 10px;
  float: left;
  border-radius: 50%;
}
#an-options-container #an-settings-tabs .an-tab-content#an-about a.button {
  margin-bottom: 5px;
}
#an-options-container #an-settings-tabs .an-tab-content#an-about footer {
  float: right;
  color: #999;
}
#an-options-container #an-settings-general table.form-table,
#an-options-container #an-settings-legacy table.form-table {
  display: block;
  margin-bottom: 45px;
}
#an-options-container #an-settings-general table.form-table tbody,
#an-options-container #an-settings-legacy table.form-table tbody,
#an-options-container #an-settings-general table.form-table tr,
#an-options-container #an-settings-legacy table.form-table tr,
#an-options-container #an-settings-general table.form-table th,
#an-options-container #an-settings-legacy table.form-table th,
#an-options-container #an-settings-general table.form-table td,
#an-options-container #an-settings-legacy table.form-table td {
  margin: 0;
  padding: 0;
  display: block;
}
#an-options-container #an-settings-general table.form-table th[scope="row"],
#an-options-container #an-settings-legacy table.form-table th[scope="row"] {
  margin: 20px 0 5px 0;
  width: 170px;
}
#an-options-container #an-settings-general table.form-table select,
#an-options-container #an-settings-legacy table.form-table select,
#an-options-container #an-settings-general table.form-table input[type="text"],
#an-options-container #an-settings-legacy table.form-table input[type="text"] {
  width: 180px;
  border-style: solid;
  border-width: 1px;
  border-color: #dddddd;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
}
/* Blocks */
.block-editor .wp-block[data-type="your-ebay-listings/block"] {
  border: 8px solid #f5f5f5;
  cursor: pointer;
}
