/* settings css */

.regular-text {
  width: 50em;
}

.sm-notice {
  background-color: #fff8e5;
  margin: 20px 0px 0px;
  padding: 15px;
  border-left: 3px solid #f79191;
}

#stateless-settings-page-title {
  margin-bottom: 20px;
}

.stateless-settings-docs-link {
  display: inline-block;
  text-decoration: none;
}

.stateless-settings-docs-link:focus,
.stateless-settings-docs-link:active {
  outline: none;
  box-shadow: none;
  color: #2271b1;
}

.stateless-settings-docs-link .dashicons-editor-help:before {
  font-size: 30px;
  vertical-align: middle;
}

#service_account_json {
  height: 20em;
}
.stless_settings_content {
  display: none;
}
.stless_settings_content.active {
  display: block;
}

.nav-tab-active:focus {
  box-shadow: none;
}

.stless_settings_content tr td h4:first-of-type {
  margin-top: 5px;
}

#stless_supports_tab {
  padding: 20px 0;
}

.stless_settings_content tr {
  position: relative;
  display: block;
}

.stless_settings_content tr:after {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #fafafa;
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 0px;
  content: '';
}

.stless_settings_content .postbox-container {
  width: 33%;
}

.stless_settings_content .postbox .hndle {
  cursor: default;
}

.stless_settings_content .postbox .hndle .title-holder .label {
  font-size: 0.7em;
  text-transform: uppercase;
  border: 1px solid darkorange;
  padding: 2px;
  line-height: 2;
  border-radius: 3px;
  margin-left: 5px;
}

.stless_settings_content .postbox .hndle a {
  font-size: 20px;
}

.stless_settings_content .postbox .inside {
  margin-bottom: 0;
}

.stless_settings_content .postbox .options,
.stless_settings_content .postbox .progress,
.stless_settings_content .postbox .progress-notice {
  margin-bottom: 1em;
}

.stless_settings_content .postbox .progress-notice {
  color: darkred;
}

.stless_settings_content .postbox .actions {
  text-align: right;
}

.stless_settings_content .postbox .progress .bar-wrapper .legend {
  display: flex;
  justify-content: space-between;
}

.stless_settings_content .postbox .progress .bar-wrapper .bar {
  box-sizing: border-box;
  transition: width 1s, background-color 2s;
}

.stless_settings_content .postbox .progress .bar-wrapper .bar.total {
  background-color: #0278ae;
  padding: 2px;
}
.stless_settings_content .postbox .progress .bar-wrapper .total {
  color: #0278ae;
}

.stless_settings_content .postbox .progress .bar-wrapper .bar.queued {
  background-color: #51adcf;
  padding: 2px;
}
.stless_settings_content .postbox .progress .bar-wrapper .queued {
  color: #51adcf;
}

.stless_settings_content .postbox .progress .bar-wrapper .bar.processed {
  background-color: #a5ecd7;
  height: 5px;
}
.stless_settings_content .postbox .progress .bar-wrapper .processed {
  color: #a5ecd7;
}

.processing-hint {
  margin-top: 0;
}

.wpStateLess-support {
  width: 60%;
  margin: 0 auto;
  display: flex;
}

.wpStateLess-sprt-plan {
  float: left;
  width: 45%;
  margin: 0px 15px;
  text-align: center;
  border: 1px solid #e4e4e4;
  box-shadow: 0px 5px 35px -19px #000;
}
.wpStateLess-sprt-plan .wpStateLess-plan-name p {
  font-size: 30px;
}

.wpStateLess-sprt-plan ul li {
  border-top: 1px solid #e4e4e4;
  padding: 5px;
}

#stless_sync_tab #errors,
#stless_sync_tab .dashicons-update,
#stless_sync_tab .progress,
#stless_sync_tab .progress-notice {
  display: none;
}

#stless_sync_tab .limit_field input {
  visibility: hidden;
}

#stless_sync_tab .processes-holder .postbox-container {
  float: none;
}


/* Angular styles */
.ng-hide:not(.ng-hide-animate) {
  display: none !important;
}

.hbspt-form {
  padding-top: 20px;
}

.hbspt-form {
  margin-left: 10px;
}

.hbspt-form input.hs-input[type='checkbox'] {
  border: 1px solid #b4b9be;
  height: 16px;
  width: 16px;
  margin-top: -2px;
}

.permalink-structure h4 {
  margin: 1.33em 0 !important;
}

.sm-wildcards .select2-container {
  width: 100% !important;
}

.sm-wildcards .select2-selection--multiple {
  height: 28px !important;
}
.select2-dropdown li {
  margin-bottom: 0px !important;
}
/* pillbox li container item */
.select2-selection__choice {
  position: relative;
  padding-left: 15px; /* to account for the 'x' no longer taking up space */
}

/* the 'x' */
.select2-selection__choice__remove {
  position: absolute;
  left: 0;
  right: 0; /* to fill width */
  padding-left: 5px; /* whatever matches your pillbox padding */

  color: transparent !important; /* hide the x */
}

.select2-container--default .select2-results__option[aria-disabled='true'] {
  display: none;
}

.file_url_block label,
.file_url_block input {
  width: 100%;
}

.stless_settings_content .loading {
  -webkit-animation: wps-loading-spin 1.4s infinite linear;
  animation: wps-loading-spin 1.4s infinite linear;
}

@-webkit-keyframes wps-loading-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes wps-loading-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
