#preview {
    position: relative;
}

#preview .inner pre {
    border: 2px solid #ccd0d4;
    margin-bottom: 2em;
}

/** <pre> tag */
#preview pre {
    padding: 1em 2em 1em 2em;
    margin: 0;
	position: relative;
}

/** 'Copy' button and JS. */
.copy-the-code-inside-wrap .copy-the-code-button {
    position: absolute;
    right: 0;
    top: 0;
}

.copy-the-code-inside .copy-the-code-button {
	position: absolute;
	right: 0;
	top: 0;
}
.copy-the-code-wrap {
    display: block;
    position: relative;
}

.copy-the-code-button {
    background: #e1e3e8;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: none;
    color: #424242;
    font-size: 14px;
    font-weight: normal;
    border-radius: 0;
    text-transform: capitalize;
    border: none;
    outline: none;
}

.copy-the-code-button:hover {
    background: #d0d1d6;
}

.copy-the-code-outside + * {
    margin-top: 0;
}

.copy-the-code-outside {
    text-align: right;
}

/** Styles */
.copy-the-code-button[style="svg-icon"] {
    background: transparent;
    padding: 10;
}

.copy-the-code-button[style="svg-icon"] svg {
    height: auto;
    width: 20px;
    fill: #23282d;
}

.copy-the-code-button[style="cover"] {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

pre:hover .copy-the-code-button[style="cover"] {
    opacity: 1;
}

/** TOC */
.table-of-contents ol {
    margin: 0 0 0 15px;
}

.table-of-contents li {
    margin: 10px 0 10px 0;
}

.table-of-contents ol ol {
    list-style: disc;
    margin: 10px;
}

/**
 * Pro Features
 */
 #post-body-content {
    float: none;
    flex: 1;
}

#post-body.columns-2 #postbox-container-1 {
    float: none;
    width: 365px;
    margin: 0;
}

#post-body {
    display: flex;
    justify-content: space-between;
}

#poststuff #post-body.columns-2 {
    margin: 0;
}

#ctc-style-form {
    margin-bottom: 50px;
    position: relative;
}

#ctc-style-form input[type="number"] {
    width: 40px;
    margin: 0 2px 0 0;
    padding: 0;
}

#ctc-style-form input.ctc-btn-font-size,
#ctc-style-form input.ctc-btn-line-height {
    width: 120px;
}

#ctc-style-form input[type="number"]:last-child {
    margin: 0;
}

.upgrade a {
    background: #00c366;
    color: white;
    padding: 10px 30px;
    display: block;
    text-align: center;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0px 0px 20px 11px rgb(0 0 0 / 10%);
}

/**
 * Is Free
 */
#ctc-style-form.is-free:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0,0,0,.4);
    z-index: 999;
}
.is-free .upgrade {
    z-index: 9999;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-20%, -50%);
}
.is-free .style-cover,
.is-free .style-svg-icon {
    display: none;
}
