/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

.wpo-menu-top-bar {
  position: fixed;
  top:0;
  width: 100%;
  z-index: 1000;
}

.wpo-top-bar-content {
    background: #697786;
  padding: 6px;
  height: 40px;
  width: 100%;
}

.wpo-top-bar-content .wpo-option-list {
  float: right;
  list-style: none;
  display: inline-block;
  margin-top:2px;
  font-size:0.9rem;
  font-weight:700;
}

.wpo-menu-top-bar:hover .wpo-option-list {
  display: inline-block;
}

.wpo-top-bar-content .wpo-option-list .option-list-item {
  display: inline-block;
  margin-left: 15px;
    color: #ccc;
}

.wpo-top-bar-content .wpo-option-list .option-link {
  color: #ccc;
  text-decoration: none;
}

.wpo-top-bar-content .wpo-option-list .option-link:hover {
  color: #fff;
}

.wpo-bottom-space {
  height: 500px;
}
.wpo-template-settings {
  position: fixed;
  top: 40px;
  padding: 3px 10px;
/* @cf - Removed bottom border: 
  border-bottom: 1px #333 solid;
  */
  width: 100%;
    background-color: #fff;
  z-index: 1005;
}

.wpo-template-settings .template-name-input {
  width: 200px;
    height: 26px; /* @cf Added */
  padding: 0 5px;
  margin-top:3px;
}

.custom-scripts-buttons {
  display: inline-block;
}

.custom-scripts-buttons {
  display: none;
}

/* @cf .custom-scripts-button {
  display: inline-block;
  padding: 3px;
} */

.custom-scripts-button {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9rem;
    padding: 0 10px !important;
    background-color: #b4bbc3;
    border: none;
    color: #fff;
    border-radius: 4px;
}

/* @cf Added hover */
.custom-scripts-button:hover {
    background-color: #697786;
}

/* @cf This should go in /custom-html.css but cannot find file */
.custom-html-editor.wpo-helper {
    position: absolute;
    display: none;
    top: 20%;
    left: 50%;
    width: 500px;
    margin-left: -250px;
    min-height: 300px;
    padding: 10px;
    background-color: #efefef;
    border: 1px #697786 solid;
    border-radius: 4px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.global-options-settings {
  display: inline-block;
}

.global-options-settings label {
  margin-left: 15px;
  cursor: pointer;
}

/* @cf .global-script-popup {
  position: absolute;
  display: none;
  top: 20%;
  left: 50%;
  width: 500px;
  margin-left: -250px;
  min-height: 300px;
  padding: 10px;
  background-color: #FFF;
  border: 1px #333 solid;
} */

.global-script-popup {
    position: absolute;
    display: none;
    top: 20%;
    left: 50%;
    width: 500px;
    margin-left: -250px;
    min-height: 300px;
    padding: 10px;
    background-color: #efefef;
    border: 1px #697786 solid;
    border-radius: 4px;
    box-shadow: 2px 2px 3px #999;
}

.global-overlay {
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: .7;
  position: absolute;
  z-index: 10;
}

.global-script-input {
  width: 100%;
  min-height: 270px;
}

/* @cf .save-global-script-button {
  background-color: #00c4cc;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  margin: 0;
  padding: 0 6px;
} */

.save-global-script-button {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9rem;
    padding: 0 10px 1px 10px!important;
    background-color: #0a0;
    border: none;
    color: #fff;
    border-radius: 4px;
}

/* @cf Added hover */
.save-global-script-button:hover {
    background-color: #080;
}

/* @cf Added Header/Footer Script Boxes styling */
.script-title {
    font-size: 1.5rem;
    color: #697786;
    font-weight: 600;
}

/* @cf Added HTML title styling */
.html-editor-modal h3 {
    font-size: 1.5rem;
    color: #697786;
    font-weight: 600;
}

/* @cf Added Cancel Button styling */
.cancel-global-script-button {
  display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9rem;
    padding: 0 10px 1px 10px!important;
    background-color: #b4bbc3;
    border: none;
    color: #fff;
    border-radius: 4px;
}

/* @cf Added hover */
.cancel-global-script-button:hover {
    background-color: #697786;
}




/* @cf Overwrite BS5 Primary buttonf for "Save HTML" */
.btn.btn-primary.save-html-button {
  display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9rem;
    padding: 0 10px 1px 10px!important;
    background-color: #0a0;
    border: none;
    color: #fff;
    border-radius: 4px;
    margin-top: 5px;
}

/* @cf Added hover */
.btn.btn-primary.save-html-button:hover {
    background-color: #080;
}


/* @cf Overwrite BS5 Secondary button for "Cancel" HTML module */
.btn.btn-secondary.save-html-button {
  display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .9rem;
    padding: 0 10px 1px 10px!important;
    background-color: #b4bbc3;
    border: none;
    color: #fff;
    border-radius: 4px;
    margin-top: 5px;
}

/* @cf Added hover */
.btn.btn-secondary.save-html-button:hover {
    background-color: #697786;
}

.btn.btn-secondary.save-html-button {
}

.save-template-settings {
  float: right;
}

#wpo-main-view {
  margin-top: 80px;
}

#template-view {
  margin-top: 95px;
}

li a.create-new-template-button {
  font-weight: bold;
  color: #333;
}

/* @cf DEFAULT BUTTON */

.template-default-label {
  background-color: #090;
  border-radius: 3px;
  border: 1px solid #ddd;
  padding: 3px 6px;
  margin-right: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none!important;
}
.template-default-label:hover {
  background-color: #0a0;
  color: #fff;
}

.template-item a {
  color: #697786;
  text-decoration: none;
}

.template-item:hover a {
  color: #FFF;
}


/* @cf CLONE BUTTON */

.template-item .clone-template-button {
  float: right;
  background-color: #fc0;
  border-radius: 3px;
  border: 1px solid #ddd;
  padding: 3px 6px;
  margin-top: 2px;
  margin-right:.5rem;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: none;
  text-decoration: none!important;
}
.template-item .clone-template-button:hover {
  background-color: #fb0;
  color: #333!important;
}

.template-item:hover .clone-template-button {
  display: inline-block;
}

/* @cf DELETE BUTTON */

.template-item .delete-template-button {
  float: right;
  background-color: #d00;
  border-radius: 2px;
  border: 1px solid #ddd;
  padding: 3px 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  margin-top: 2px;
}

.delete-template-button:hover {
  background-color: #a00;
  color: #fff;
}

.template-item:hover .delete-template-button {
  display: inline-block;
}
/*.template-default-label {
  background-color: #080;
  border-radius: 2px;
  padding: 2px 5px;
  margin-right: 10px;
  font-size: 11px;
  color: #FFF;
}

.template-item .delete-template-button {
  float: right;
  border-radius: 2px;
  background-color: #D00;
  color: #FFF;
  font-size: 11px;
  padding: 2px 5px;
  cursor: pointer;
  display: none;
  margin-top: 4px;
}

.delete-template-button:hover {
  background-color: #c00;
  color: #fff;
}

.template-item:hover .delete-template-button {
  display: inline-block;
}

.template-item .clone-template-button {
  float: right;
  background-color: #fc0;
  border-radius: 3px;
  border: 1px solid #ddd;
  padding: 3px 6px;
  margin-top: 2px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: none;
}
.template-item .clone-template-button:hover {
  background-color: #fb0;
}

.template-item:hover .clone-template-button {
  display: inline-block;
}*/

.remove-image-button {
  color: #c00;
}

.wpo-css-editor {
  position: absolute;
  width: 500px;
  border: 1px #333 solid;
  padding: 10px;
  background-color: #fff;
  box-shadow: 2px 2px 2px 2px #111;
  z-index: 10;
}

.wpo-row-container-settings {
  display: none;
}

.css-options-heading {
  display: inline-block;
  width: 85px;
  margin-right: 15px;
  font-size: 14px;
  cursor: pointer;
}

.css-options-heading:hover {
  text-decoration: underline;
}

.selected-heading {
  font-weight: bold;
  text-decoration: underline;
}

.css-options {
  list-style: none;
  min-height: 150px;
}

.css-option-item label {
  cursor: pointer;
}

.remove-background-image-button, .remove-secondary-background-image-button {
  color: #c00;
}

.secondary-background-option {
  display: none;
}

.red {
  color: #cc0000;
}

.right {
  float: right;
}

.pointer {
  cursor: pointer;
}

.showing {
  display: inline-block;
}

.wpo-bottom-spacer {
  height: 500px;
}