/**
 * General styles for snippets post types
 */
//cm-matchhighlight

.wbcr-inp-snippet-type-php .CodeMirror-sizer:before {
  content: "<?php";
  color: #bbb;
  padding: 4px 5px 0;
}

.wbcr-inp-snippet-type-css .CodeMirror-sizer:before {
  content: '<style type="text/css">';
  color: #bbb;
  padding: 4px 5px 0;
}

.wbcr-inp-snippet-type-css .CodeMirror:after {
  content: '</style>';
  position: absolute;
  display: block;
  left: 55px;
  bottom: 3px;
  color: #bbb;
}

.wbcr-inp-snippet-type-js .CodeMirror-sizer:before {
  content: '<script type="text/javascript">';
  color: #bbb;
  padding: 4px 5px 0;
}

.wbcr-inp-snippet-type-js .CodeMirror:after {
  content: '</script>';
  position: absolute;
  display: block;
  left: 55px;
  bottom: 3px;
  color: #bbb;
}

.CodeMirror {
  height: auto !important;
  border: 0 !important;

  .cm-winp-matchhighlight {
    background-color: rgba(255, 143, 26, 0.21);
    border: 0 !important;
  }

  .CodeMirror-selection-highlight-scrollbar {
    background-color: rgba(255, 143, 26, 0.61)
  }
}

.CodeMirror-scroll {
  min-height: 250px;
}

.misc-pub-post-status, .misc-pub-visibility {
  display: none;
}

.postbox {
  display: none;
}

.winp-enable-php-wrapper {
  margin: 15px 0 auto;

  .winp-enable-php-btn i {
    font-size: 1.2em;
    line-height: inherit;
    height: auto;
  }
}

.winp-editor-container {
  visibility: hidden;
  height: 0;
}

.winp-snippet-enabled .winp-editor-container {
  margin-top: 20px;
  visibility: visible;
  height: auto;
}

.winp-snippet-enabled .composer-switch,
.winp-snippet-enabled .fl-builder-admin,
.winp-snippet-enabled #postdivrich,
.winp-snippet-enabled #elementor-switch-mode,
.winp-snippet-enabled.elementor-editor-active #elementor-editor,
.winp-snippet-enabled #elementor-editor {
  display: none;
}

.winp-snippet-enabled #wpb_visual_composer {
  display: none !important;
}

.winp-php-content {
  height: 300px;
  width: 100%;
  box-sizing: border-box;
  z-index: auto;
  position: relative;
  -webkit-transition: none;
  transition: none;
  background: transparent !important;
}

#winp-export-action {
  float: left;
  line-height: 28px;
  padding-right: 10px;
}

.winp-import-radio-container label {
  font-weight: normal;
}

.wrap {
  .winp-page-title-action {
    margin-left: 4px;
    padding: 4px 8px;
    position: relative;
    top: -3px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #f7f7f7;
    text-shadow: none;
    font-weight: 600;
    font-size: 13px;
    line-height: normal;
    color: #0073aa;
    cursor: pointer;
  }

  .winp-field-premium-icon::after {
    display: inline-block;
    position: relative;
    content: 'PRO';
    background: #ff5722;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-style: normal;
    padding: 4px 6px;
    margin-left: 4px;
    vertical-align: top;
    top: -40px;
    left: 230px;
    z-index: 11;
  }

  .winp-field-w250 {
    width: 250px;
  }
}