/* Porto heading */
.porto-u-heading {
    text-align: center;
    margin-bottom: 17px;

    mark {
        display: inline-block;
        color: inherit;
        padding: 0;
        background-color: transparent;
    }

    [data-appear-animation="highlightProgress"],
    [data-appear-animation="highlightShape"] {
        opacity: 1;
    }
}

.porto-u-heading .porto-u-main-heading h1,
.porto-u-heading .porto-u-main-heading h2,
.porto-u-heading .porto-u-main-heading h3,
.porto-u-heading .porto-u-main-heading h4,
.porto-u-heading .porto-u-main-heading h5,
.porto-u-heading .porto-u-main-heading h6 {
    margin: 0;
    padding: 0;
    line-height: normal
}

.porto-u-heading-spacer {
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden
}

.porto-u-heading-spacer .porto-icon {
    vertical-align: text-top
}

.porto-u-heading-spacer img {
    vertical-align: middle;
    box-shadow: none !important;
    max-width: 100%
}

.porto-u-heading-spacer.line_with_icon:before {
    content: "";
    position: absolute;
    bottom: 50%;
    #{$right}: 0;
    border-width: 0;
    top: 50%
}

.porto-u-heading-spacer.line_with_icon:after {
    content: "";
    position: absolute;
    bottom: 50%;
    #{$left}: 0;
    border-width: 0;
    top: 50%
}

.porto-u-headings-line {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.porto-u-sub-heading {
    margin: 0 auto
}

.porto-u-sub-heading div,
.porto-u-sub-heading p {
    font-family: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit
}

.porto-u-heading p {
    word-break: normal;
    word-wrap: normal;
}

// Floating elements
.thumb-info-floating-element-clone {
    position: fixed;
    pointer-events: none;
    transform: scale(0.1);
    &.page-wrapper {
        left: unset;
        transition: unset;
        z-index: 999;
        .thumb-tb-floating-el {
            position: static;
            transform: none;
        }
    }
}

.heading-highlight-svg,
.heading-highlight mark { 
    position: relative; 
    z-index: 2; 
}
.heading-highlight mark:before,
.heading-highlight-svg .svg-highlight {
    position: absolute;
    left: 0;
    z-index: -1;
    bottom: 0;
}
.heading-highlight {
    mark:before {
        content: '';
        height: 100%;
        width: 0%;
        background-color: #08c;
    }

    &.appear-animation-visible mark:before {
        animation: highlightProgress 1s both;
    }
}
.heading-highlight-after,
.heading-highlight-before {
    position: relative;
    z-index: 3;
}

.heading-highlight-svg {
    display: inline-block;
    .svg-highlight {
        width: 100%;
        &.circle,
        &.cross {
            height: 100%;
        }
        svg {
            display: block;
            width: 100%;
            height: 100%;
            stroke: #08c;
            fill: none;
            stroke-width: 14;
            stroke-dasharray: 1500;
            stroke-dashoffset: 1;
            stroke-linecap: round;
            stroke-linejoin: round;
            overflow: visible;
        }
        path {
            opacity: 0;
        }
    }
}

.highlightShape path {
    animation: highlightShape 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.marquee {
    white-space: nowrap
}
.mq-pause-hover:hover .js-marquee-wrapper {
    animation-play-state: paused !important;
}
.js-marquee-wrapper::after {
    content: '';
    clear: both;
    display: block;
}