.field-id-op_assets_addon_op_advanced_headline_parts-multirow-container label {
    font-weight: bold !important;
    line-height: 32px;
    color: #333 !important;
    border-bottom: 1px solid #f2f2f2;
    margin: 5px 0 15px 0;
}

.field-id-op_assets_addon_op_advanced_headline_parts-multirow-container input {
    margin-bottom: 15px !important;
}

.field-id-op_assets_addon_op_advanced_headline_parts-multirow-container .op-multirow {
    border: 1px solid #f2f2f2;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 3px;
}

.field-id-op_assets_addon_op_advanced_headline_parts-multirow-container a.remove-row img {
    float: right;
    position: relative;
    top: 0;
    right: 0;
}

.field-id-op_assets_addon_op_advanced_headline_parts-multirow-container a.remove-row {
    float: right;
    margin: -24px -22px 0 0;
}

.field-id-op_assets_addon_op_advanced_headline_parts-multirow-container .op-asset-dropdown .selected-item {
    background-color: #f2f2f2;
}

.field-id-op_assets_addon_op_advanced_headline_effect,
.field-id-op_assets_addon_op_advanced_headline_accent,
.field-id-op_assets_addon_op_advanced_headline_line_height,
.field-id-op_assets_addon_op_advanced_headline_highlight,
.field-id-op_assets_addon_op_advanced_headline_align,
.field-id-op_assets_addon_op_advanced_headline_headline_tag {
    display: inline-block !important;
    width: 48.25%;
    vertical-align: top;
}

.field-id-op_assets_addon_op_advanced_headline_parts-multirow-container .op-multirow > .field-input { margin-bottom: 0; }
.field-id-op_assets_addon_op_advanced_headline_parts-multirow-container .op-multirow > .field-input > label { margin-top: 0; }
.field-id-op_assets_addon_op_advanced_headline_parts-multirow-container .op-multirow > .field-input > label + input { margin-bottom: 2px !important; }

.field-id-op_assets_addon_op_advanced_headline_effect,
.field-id-op_assets_addon_op_advanced_headline_line_height,
.field-id-op_assets_addon_op_advanced_headline_align { margin-right: 1.75%; }

.field-id-op_assets_addon_op_advanced_headline_accent,
.field-id-op_assets_addon_op_advanced_headline_highlight,
.field-id-op_assets_addon_op_advanced_headline_headline_tag { margin-left: 1.75%; }

.field-id-op_assets_addon_op_advanced_headline_accent .color-picker-container,
.field-id-op_assets_addon_op_advanced_headline_highlight .color-picker-container,
#op_asset_browser_container .field-id-op_assets_addon_op_advanced_headline_line_height #op_assets_addon_op_advanced_headline_line_height { width: 100%; }
#op_asset_browser_container .color-picker-container #op_assets_addon_op_advanced_headline_accent,
#op_asset_browser_container .color-picker-container #op_assets_addon_op_advanced_headline_highlight { width: calc(100% - 50px); }

#op_assets_addon_op_advanced_headline_effect {
    height: 40px !important;
    padding: 10px;
    width: 100% !important;
}

.op-words-wrapper {
    display: inline;
    position: relative;
    text-align: inherit;
    max-width: 100%;
}

.op-words-wrapper b {
    display: inline;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: inherit;
}

.op-words-wrapper i,
.op-words-wrapper em {
    font-style: inherit;
}

.op-words-wrapper b.is-visible {
    position: relative;
}

/**
 * This class is used temporarily to calculate the
 * correct width of the unaltered element
 */
.op-words-wrapper .op-word-relative {
    position: relative !important;
    width: auto !important;
}

.no-js .op-words-wrapper b {
    opacity: 0;
}

.no-js .op-words-wrapper b.is-visible {
    opacity: 1;
}

.op-live-editor .op-words-wrapper b { display: none; }
.op-live-editor .op-words-wrapper b:first-child { display: inline; }

.op-headline .nobreak {
    white-space: nowrap;
}

/**
 * xrotate-1
 */
.op-headline.rotate-1 .op-words-wrapper {
    perspective: 300px;
    display: inline-block;
    text-align: left;
}

.op-headline.rotate-1 b {
    opacity: 0;
    transform-origin: 50% 100%;
    transform: rotateX(180deg);
    display: inline-block;
}

.op-live-editor .op-headline.rotate-1 b:first-child {
    display: inline-block;
    opacity: 1;
}

.op-headline.rotate-1 b.is-visible {
    opacity: 1;
    transform: rotateX(0deg);
    animation: op-rotate-1-in 1.2s;
}

.op-headline.rotate-1 b.is-hidden {
    transform: rotateX(180deg);
    animation: op-rotate-1-out 1.2s;
    width: 100%;
}

@keyframes op-rotate-1-in {
    0% {
        transform: rotateX(180deg);
        opacity: 0;
    }
    35% {
        transform: rotateX(120deg);
        opacity: 0;
    }
    65% {
        opacity: 0;
    }
    100% {
        transform: rotateX(360deg);
        opacity: 1;
    }
}

@keyframes op-rotate-1-out {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    35% {
        transform: rotateX(-40deg);
        opacity: 1;
    }
    65% {
        opacity: 0;
    }
    100% {
        transform: rotateX(180deg);
        opacity: 0;
    }
}

@media only screen and (max-width: 959px) {
    .op-headline.rotate-1 .op-words-wrapper {
        text-align: inherit;
    }
}

/**
 * xtype
 */
.op-headline.type > span {
    display: inline;
}

.op-headline.type .op-words-wrapper,
.op-headline.type_fast .op-words-wrapper {
    /*vertical-align: top;*/
    /*bug with advance headline font cut off*/
    /*overflow: hidden;*/
    padding-right: 5px;
}

.op-headline.type .op-words-wrapper::after,
.op-headline.type_fast .op-words-wrapper::after {
    /* vertical bar */
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    height: 90%;
    width: 3px;
    background-color: #000000;

    height: 1em;
    bottom: .1em;
    top: auto;
    /*top: -0.1em;*/
    transform: none;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.op-headline.type .op-words-wrapper.waiting::after,
.op-headline.type_fast .op-words-wrapper.waiting_for_fast::after {
    animation: op-pulse 1s infinite;
}

.mce-content-body .op-headline.type .op-words-wrapper.waiting::after,
.mce-content-body .op-headline.type_fast .op-words-wrapper.waiting_for_fast::after {
    animation: none;
}

/*.op-headline.type .op-words-wrapper.selected {
   background-color: #fff;
}*/

.op-headline.type .op-words-wrapper.selected::after,
.op-headline.type_fast .op-words-wrapper.selected::after {
    visibility: hidden;
}

.op-headline.type .op-words-wrapper.selected b,
.op-headline.type_fast .op-words-wrapper.selected b {
    color: #0d0d0d;
}

.op-headline.type b,
.op-headline.type_fast b {
    visibility: hidden;
    display: inline;
}

/*.op-live-editor .op-headline.type .op-words-wrapper b:first-child,
.op-live-editor .op-headline.type_fast .op-words-wrapper b:first-child {
    display: inline;
}*/

.op-headline.type b.is-visible,
.op-headline.type_fast b.is-visible {
    visibility: visible;
}

.op-headline.type i,
.op-headline.type_fast i {
    position: absolute;
    visibility: hidden;
}

.op-headline.type i.in,
.op-headline.type_fast i.in {
    position: relative;
    visibility: visible;
}

@keyframes op-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    40% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}
/**
 * xrotate-2
 */
.op-headline.rotate-2 .op-words-wrapper {
    /*perspective: 300px;*/
    display: inline-block;
    text-align: left;
}

.op-headline.rotate-2 i,
.op-headline.rotate-2 em {
    display: inline-block;
    backface-visibility: hidden;
}

.op-headline.rotate-2 b {
    opacity: 0;
    display: inline-block;
    text-align: inherit;
    width: 100%;
}

.op-live-editor .op-headline.rotate-2 b:first-child {
    display: inline-block;
    opacity: 1;
}

.op-headline.rotate-2 i {
    transform-style: preserve-3d;
    transform: translateZ(-20px) rotateX(90deg);
    opacity: 0;
    display: inline-block;
}

.is-visible .op-headline.rotate-2 i {
    opacity: 1;
}

.op-live-editor .op-headline.rotate-2 b:first-child,
.op-headline.rotate-2 i.in {
    animation: op-rotate-2-in 0.4s forwards;
}

.op-headline.rotate-2 i.out {
    animation: op-rotate-2-out 0.4s forwards;
}

.op-headline.rotate-2 em {
    transform: translateZ(20px);
}

.no-csstransitions .op-headline.rotate-2 i {
    transform: rotateX(0deg);
    opacity: 0;
}

.no-csstransitions .op-headline.rotate-2 i em {
    transform: scale(1);
}

.no-csstransitions .op-headline.rotate-2 .is-visible i {
    opacity: 1;
}

@keyframes op-rotate-2-in {
    0% {
        opacity: 0;
        transform: translateZ(-20px) rotateX(90deg);
    }
    60% {
        opacity: 1;
        transform: translateZ(-20px) rotateX(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateZ(-20px) rotateX(0deg);
    }
}

@keyframes op-rotate-2-out {
    0% {
        opacity: 1;
        transform: translateZ(-20px) rotateX(0);
    }
    60% {
        opacity: 0;
        transform: translateZ(-20px) rotateX(-100deg);
    }
    100% {
        opacity: 0;
        transform: translateZ(-20px) rotateX(-90deg);
    }
}

@media only screen and (max-width: 959px) {
    .op-headline.rotate-2 .op-words-wrapper {
        text-align: inherit;
    }
}

/**
 * xloading-bar
 */
.op-headline.loading-bar span {
    /*display: inline-block;*/
    padding: 0 0 .2em 0;
}

.op-headline.loading-bar .op-words-wrapper {
    overflow: hidden;
    vertical-align: top;
    display: inline-block;
    text-align: left;
}

.op-headline.loading-bar .op-words-wrapper b::after {
    /* loading bar */
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    top: auto;
    background: #0096a7;
    z-index: 2;
    transition: width 0.3s -0.1s;
}

.op-headline.loading-bar .op-words-wrapper b.is-loading::after {
    width: 100%;
    transition: width 3s;
}

.op-headline.loading-bar b {
    top: .2em;
    opacity: 0;
    transition: opacity 0.3s;
    width: 100%;
}

.op-headline.loading-bar b.is-visible {
    opacity: 1;
    top: 0;
}

.op-live-editor .op-headline.loading-bar b:first-child {
    opacity: 1;
    top: 0;
}

.op-live-editor .op-headline.loading-bar .op-words-wrapper b:first-child::after {
    width: 100%;
}

@media only screen and (max-width: 959px) {
    .op-headline.loading-bar .op-words-wrapper {
        text-align: inherit;
    }
}

/**
 * xslide
 */
.op-headline.slide span {
    display: inline;
    padding: 0;
}

.op-headline.slide .op-words-wrapper {
    overflow: hidden;
    vertical-align: top;
    text-align: inherit;
    display: inline-block;
    text-align: left;
}

.op-headline.slide b {
    opacity: 0;
    top: .2em;
    text-align: inherit;
    width: 100%;
    display: inline-block;
}

.op-headline.slide b.is-visible {
    top: 0;
    opacity: 1;
    animation: slide-in 0.6s;
}

.op-live-editor .op-headline.slide b:first-child {
    opacity: 1;
    top: 0;
    display: inline-block;
}

.op-headline.slide b.is-hidden {
    animation: slide-out 0.6s;
}

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    60% {
        opacity: 1;
        transform: translateY(20%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-out {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    60% {
        opacity: 0;
        transform: translateY(120%);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

@media only screen and (max-width: 959px) {
    .op-headline.slide .op-words-wrapper {
        text-align: inherit;
    }
}


/**
 * xclip
 */
.op-headline.clip * {
    line-height: inherit;
    vertical-align: bottom;
}

.op-headline.clip span {
    display: inline-block;
    display: inline;
}

.op-headline.clip .op-words-wrapper-container {
    display: inline-block;
    max-width: 100%;
    text-align: left;
}

.op-headline.clip .op-words-wrapper {
    overflow: hidden;
}

.op-headline.clip .op-words-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background-color: #ff0000;
}

.op-headline.clip b {
    opacity: 0;
    overflow: hidden;
    display: inline-block;
}

.op-live-editor .op-headline.clip b:first-child {
    opacity: 1;
    display: inline-block;
}

.op-headline.clip b.is-visible {
    opacity: 1;
}

@media only screen and (max-width: 959px) {
    .op-headline.clip .op-words-wrapper-container {
        text-align: inherit;
    }
}

/**
 * xzoom
 */
.op-headline.zoom .op-words-wrapper {
    perspective: 300px;
    display: inline-block;
    text-align: left;
}

.op-headline.zoom b {
    opacity: 0;
    display: inline-block;
    text-align: inherit;
    width: 100%;
}

.op-live-editor .op-headline.zoom b:first-child {
    opacity: 1;
    display: inline-block;
}

.op-headline.zoom b.is-visible {
    opacity: 1;
    animation: zoom-in 0.8s;
}

.op-headline.zoom b.is-hidden {
    animation: zoom-out 0.8s;
}

.op-headline.zoom.headline-style-7 {
    padding-bottom: 60px;
}

.op-headline.zoom.headline-style-7 span {
    padding-bottom: 0;
    display: inline-block;
}

@keyframes zoom-in {
    0% {
        opacity: 0;
        transform: translateZ(100px);
    }
    100% {
        opacity: 1;
        transform: translateZ(0);
    }
}

@keyframes zoom-out {
    0% {
        opacity: 1;
        transform: translateZ(0);
    }
    100% {
        opacity: 0;
        transform: translateZ(-100px);
    }
}

@media only screen and (max-width: 959px) {
    .op-headline.zoom .op-words-wrapper {
        text-align: inherit;
    }
}


/**
 * xrotate-3
 */
.op-headline.rotate-3 .op-words-wrapper {
    /*perspective: 300px;*/
    display: inline-block;
    text-align: left;
}

.op-headline.rotate-3 b {
    opacity: 0;
    display: inline-block;
    width: 100%;
}

.op-live-editor .op-headline.rotate-3 b:first-child {
    opacity: 1;
    display: inline-block;
}

.op-headline.rotate-3 i {
    display: inline-block;
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

.is-visible .op-headline.rotate-3 i {
    transform: rotateY(0deg);
}

.op-headline.rotate-3 i.in {
    animation: op-rotate-3-in 0.6s forwards;
}

.op-headline.rotate-3 i.out {
    animation: op-rotate-3-out 0.6s forwards;
}

.no-csstransitions .op-headline.rotate-3 i {
    transform: rotateY(0deg);
    opacity: 0;
}

.no-csstransitions .op-headline.rotate-3 .is-visible i {
    opacity: 1;
}

@keyframes op-rotate-3-in {
    0% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

@keyframes op-rotate-3-out {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(-180deg);
    }
}

@media only screen and (max-width: 959px) {
    .op-headline.rotate-3 .op-words-wrapper {
        text-align: inherit;
    }
}

/**
 * xscale
 */
.op-headline.scale .op-words-wrapper {
    /*perspective: 300px;*/
    display: inline-block;
    text-align: left;
}

.op-headline.scale b {
    opacity: 0;
    display: inline-block;
    width: 100%;
}

.op-live-editor .op-headline.scale b:first-child {
    opacity: 1;
    display: inline-block;
}

.op-headline.scale i {
    display: inline-block;
    opacity: 0;
    transform: scale(0);
}

.is-visible .op-headline.scale i {
    opacity: 1;
}

.op-live-editor .op-headline.scale b:first-child,
.op-headline.scale i.in {
    animation: scale-up 0.6s forwards;
}

.op-headline.scale i.out {
    animation: scale-down 0.6s forwards;
}

.no-csstransitions .op-headline.scale i {
    transform: scale(1);
    opacity: 0;
}

.no-csstransitions .op-headline.scale .is-visible i {
    opacity: 1;
}

@keyframes scale-up {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scale-down {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    60% {
        transform: scale(0);
        opacity: 0;
    }
}

@media only screen and (max-width: 959px) {
    .op-headline.scale .op-words-wrapper {
        text-align: inherit;
    }
}


/**
 * xpush
 */
.op-headline.push .op-words-wrapper {
    display: inline-block;
    text-align: left;
}

.op-headline.push b {
    opacity: 0;
    display: inline-block;
}

.op-live-editor .op-headline.push b:first-child {
    opacity: 1;
    display: inline-block;
}

.op-headline.push b.is-visible {
    opacity: 1;
    animation: push-in 0.6s;
}

.op-headline.push b.is-hidden {
    animation: push-out 0.6s;
}

@keyframes push-in {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    60% {
        opacity: 1;
        transform: translateX(10%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes push-out {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    60% {
        opacity: 0;
        transform: translateX(110%);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@media only screen and (max-width: 959px) {
    .op-headline.push .op-words-wrapper {
        text-align: inherit;
    }
}

/**
 * Admin
 */
#op_assets_addon_op_advanced_headline_headline_tag {
    width: 100% !important;
    padding: 10px;
    height: 40px !important;
}