/**
 * WP Htaccess Editor
 * (c) WebFactory Ltd, 2018-2019
 */

body, p {
  font-size: 14px;
}

.settings_page_wp-htaccess-editor .card {
  padding: 1em 2em 1em 2em;
  max-width: 620px;
  box-sizing: content-box;
}

.settings_page_wp-htaccess-editor h1 img {
  max-height: 50px;
  width: auto;
}

.settings_page_wp-htaccess-editor .toggle-card {
  position: absolute;
  right: 2em;
  top: 2.2em;
  text-decoration: none;
}

.settings_page_wp-htaccess-editor .card.collapsed p,
.settings_page_wp-htaccess-editor .card.collapsed b,
.settings_page_wp-htaccess-editor .card.collapsed ol,
.settings_page_wp-htaccess-editor .card.collapsed ul {
  display: none;
}

.settings_page_wp-htaccess-editor .textcenter {
  text-align: center;
}

.settings_page_wp-htaccess-editor .button.disabled {
  pointer-events: none;
  cursor: not-allowed;
}

.settings_page_wp-htaccess-editor.wp-core-ui .button,
.settings_page_wp-htaccess-editor.wp-core-ui .button-primary,
.settings_page_wp-htaccess-editor.wp-core-ui .button-secondary {
  border-radius: 0;
}

.settings_page_wp-htaccess-editor .button {
  box-shadow: none;
  text-shadow: none;
}

.settings_page_wp-htaccess-editor .plain-list {
  margin-top: 5px;
  list-style-type: circle;
  list-style-position: inside;
}

.settings_page_wp-htaccess-editor .plain-list li {
  text-indent: -18px;
  padding-left: 23px;
  line-height: 23px;
  margin: 0;
}

#enable-editor-notice {
  background-color: #dd3036e0;
  width: 620px;
  min-height: 300px;
  height: 400px;
  position: absolute;
  z-index: 10;
  padding: 30px;
  box-sizing: border-box;
  text-align: center;
}

#enable-editor-notice h3 {
  color: #fefefe;
  line-height: 140%;
}

#enable-editor-notice a {
  color: #111111;
}

#wphe-buttons .button {
  margin-right: 20px;
}

.settings_page_wp-htaccess-editor .red {
  color: #dd3036;
}

.settings_page_wp-htaccess-editor .green {
  color: #1daf1d;
}

.settings_page_wp-htaccess-editor .dismiss-notice-rate {
  vertical-align: bottom;
  margin-left: 10px;
}

.settings_page_wp-htaccess-editor .swal2-container {
  z-index: 99999;
}

.settings_page_wp-htaccess-editor .swal2-container.swal2-shown {
  background-color: rgba(0, 0, 0, 0.6);
}

.settings_page_wp-htaccess-editor .swal2-popup .swal2-title {
  line-height: 1;
}

.settings_page_wp-htaccess-editor code {
  white-space: nowrap;
}

.settings_page_wp-htaccess-editor p {
  line-height: 1.7;
}

.settings_page_wp-htaccess-editor .rotating {
  -webkit-animation: spin 1.5s linear infinite;
  -moz-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

.settings_page_wp-htaccess-editor .notice-error {
  border-color: #dd3036;
}

.settings_page_wp-htaccess-editor .swal2-popup {
  border-radius: 0;
}

#htaccess-editor-wrap .CodeMirror,
#htaccess-editor-wrap textarea {
  width: 620px;
  min-width: 300px;
  max-width: 100%;
  min-height: 250px;
  height: 400px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

#htaccess-editor-wrap {
  margin-top: 20px;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(-360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(-360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}
