body.content{
    margin: 0 20px;
}
.form-group.required label:after {
    content:"*";
    color:red;
}
.preview-image img{
    max-width: 100%;
}
.redactor_redactor.redactor_editor{
    min-height: 150px;
    max-height: 200px;
    overflow-y: scroll;
}
.mb-1{
    margin-bottom: 1em;
}
.mb-2{
    margin-bottom: 2em;
}
.mb-3{
    margin-bottom: 3em;
}
.uppercase{
    text-transform:uppercase;
}

ul.formula {
    list-style-type: none;
    margin: 0;
    padding: 10px;
    overflow: hidden;
    background-color: lightgreen;
    width: 100%;
    min-height: 40px;
    border: 1px #333333 dashed;
}
ul.formula-variables{
    background: lightgray;
}
ul.formula li {
    float: left;
    padding: 8px;
    color: white;
    font-weight: bold;
    font-size: 15px;
    opacity: 0.7;
    background: green;
}
ul.formula li:hover {
    opacity: 1;
    cursor: move;
}

ul.formula li[data-value='+'],
ul.formula li[data-value='-'],
ul.formula li[data-value='/'],
ul.formula li[data-value='*']{
    color: goldenrod;
}

ul.formula li[data-value='('],
ul.formula li[data-value=')']{
    color: blue;
}

ul.formula li a {
    display: block;
    color: white;
    text-align: center;
    padding: 16px;
    text-decoration: none;
}

ul.formula li a:hover {
    background-color: #111111;
}

img.preview-image-render {
    z-index: 1000 !important;
}

a.hover-preview-content {
    position: relative;
}

img.preview-image-render {
    position: absolute;
    left: 0;
    top: 20px;
    border: 1px solid #ccc;
    padding: 3px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 6px #ddd;
    z-index: 1000 !important;
}