.feature-top {
    background: var(--color-porcelain);
    color: var(--color-porcelain-child);
    /* position: relative; */
    /* height: 655px; */
    overflow: hidden;
    padding: 40px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* min-height: 400px; */
}

.feature-block {
    border-bottom: 6px solid var(--feature-border);
}

.feature-content {
    /* padding-top: 30px; */
    /* padding-bottom: 30px; */
}

.feature-content .row {
    margin: 0;
}

.feature-content .row .feature-content-body {
    display: flex;
    flex-direction: row-reverse;
}

.feature-content .feature-content-text {
    /* padding-top: 50px */
    max-width: 555px;
    padding-right: var(--feature-padding-lg);
    padding-bottom: 40px;
}

.feature-content .feature-content-text:before {
    height: 30px;
    width: 30px;
    display: block;
    content: " ";
    background: white;
    position: relative;
    top: -15px;
    left: 7px;
    transform: rotate(45deg);
}

.section-top-detail {
    /* padding-left: var(--feature-padding-lg) */
    padding-right: 30px;
}

.section-top-detail {
    margin-bottom: 40px;
    color: var(--color-feature-title);
    font-weight: 300;
    font-size: 30px;
    padding-right: 50%;
    width: 90%;
    margin-top: 18px;
    min-height: 100px;
}

.feature-block {
    border-bottom: 6px solid var(--feature-border);
}

.feature-block:last-child {
    border-bottom: none;
}

.feature-block.video-on-left .gif-wrap {
    /* border-left: 4px solid var(--video-vert-border); */
}

.feature-block.video-on-left .feature-content .feature-content-body {
    flex-direction: row;
}

.feature-block.video-on-left .section-top-detail {
    padding-right: 0;
}

.feature-block.video-on-right .gif-wrap {
    /* border-right: 4px solid var(--video-vert-border); */
}

.feature-block.video-on-right .feature-content-text {
    padding-right: var(--feature-padding-lg);
}

.feature-block.video-on-right .feature-top img.feature-img {
    right: 16%;
    left: auto;
    display: none;
}

.feature-content--title {
    font-size: 15px;
    font-weight: bold;
    line-height: 12px;
    letter-spacing: 3px;
    color: var(--color-porcelain-child);
    text-transform: uppercase;
}

.feature-content--title:after,
.faq-content--title:after {
    display: block;
    margin-top: 18px;
    content: " ";
    width: 58px;
    height: 2px;
    background: var(--color-ship-gray);
}

.feature-content--subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--color-pacific-blue);
}

.feature-content--subtitle.test {
    letter-spacing: 1.1px;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 1.5;
    font-weight: bold;
}

.feature-content--description {
    font-size: 18px;
    line-height: 26px;
    color: var(--color-porcelain-child);
    margin-bottom: 15px;
}

.topics {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    list-style-type: none;
    padding-left: 0;
    /* border-top: 1px solid #d0d2d3 */
    padding-top: 15px;
    padding-bottom: 10px;
    margin-bottom: 0px;
}

.topics li {
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 18px;
    background-image: url("../img/play.circle.svg");
    background-repeat: no-repeat;
    padding-left: 30px;
    margin-bottom: 5px;
    background-size: 22px 22px;
    background-position: 0 1px;
    white-space: nowrap;
}

.topics li a {
    position: relative;
}

.topics li .play-progress {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-white);
    background: var(--color-deep-cerulean);
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.5s ease-in;
}

.topics li .play-progress.ended {
    opacity: 0;
}

.feature-top hr {
    height: 1px;
    border: none;
    background-color: var(--color-iron);
    margin: 0px 0 0;
    clear: both;
}

.feature-top img.feature-img {
    position: absolute;
    bottom: 0;
    width: 48%;
    left: 1%;
}

.feature-top .container {
    position: relative;
}

.features-title-col {
    margin-bottom: 68px;
}

.gif-wrap {
    /* margin-bottom: 40px */
    padding-right: 0;
    display: inline-block;
    position: relative;
    transform: translate(0px, 0px) scale(1.08);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.24);
    transform-origin: right;
    /* outline: 8px solid #fff; */
    padding-left: 0;
}

.gif-wrap img.video-placeholder {
    width: 100%;
    display: block;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.gif-wrap video {
    width: 100%;
    display: block;
    transition: opacity 0.5s ease-in;
    opacity: 1;
    position: absolute;
    left: 0;
    top: 0;
}

.gif-wrap video.play-video-new {
    opacity: 0;
}

.gif-wrap video.play-video-old {
    opacity: 0;
}

.gif-wrap video {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.available-in {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--pg-blue-dark);
    letter-spacing: 1px;
    margin-top: 10px;
    /* border-bottom: 1px solid */
    display: inline-block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        display: block;
    }
    to {
        opacity: 0;
    }
}

.fadeOut {
    animation: 1s fadeOut;
    opacity: 0;
    display: none;
}

@keyframes progressLine {
    0% {
        width: 100%;
    }
    20% {
        width: 80%;
    }
    40% {
        width: 60%;
    }
    60% {
        width: 40%;
    }
    80% {
        width: 20%;
    }
    100% {
        width: 0%;
    }
}

.video-title {
    animation: 1s fadeIn;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title p {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.video-title .title-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    height: 4px;
    /* display: none; */
}

.video-title .title-progress .line {
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5);
    animation: 5s progressLine;
    animation-timing-function: step-end;
    height: 100%;
    width: 0;
}

@media (max-width: 600px) {
    .video-title p {
        font-size: 16px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }
    .video-title h3 {
        font-size: 16px;
    }
}

.feature-poster {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.play-button {
    width: 104px;
    height: 104px;
    position: absolute;
    top: 50%;
    margin-top: -48px;
    left: 50%;
    margin-left: -52px;
    opacity: 0.7;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    background: #000000;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s;
}

.play-button i {
    color: white;
    /* filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.35)); */
    font-size: 140px;
    line-height: 1;
    position: relative;
    left: -18px;
    top: -18px;
}

.play-button:hover {
    opacity: 0.95;
}

.play-button:active {
    filter: none;
    transform: translate3d(2px, 2px, 0);
}

.play-button.clicked {
    opacity: 0;
}

.tooltip {
    opacity: 1 !important;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
}

.tooltip.right .tooltip-arrow {
    margin-top: -10px;
    border-width: 10px 10px 10px 0;
    border-right-color: var(--pg-blue);
    left: -5px;
    transform: translateX(-40px);
}

.tooltip.right .tooltip-inner {
    transform: translateX(-40px);
}

.tooltip.bottom .tooltip-arrow {
    top: -4px;
    left: 50%;
    margin-left: -5px;
    border-width: 0 10px 10px;
    border-bottom-color: var(--pg-blue);
}

.tooltip {
    font-family: var(--font-primary);
}

.tooltip-inner {
    /* max-width: 300px; */
    padding: 10px 20px;
    background-color: var(--pg-blue);
    font-size: 16px;
    border-radius: 1px;
    text-align: left;
}

/* XS */
@media (min-width: 0px) and (max-width: 991px) {
    .feature-block .feature-content {
        padding-left: 10px;
        padding-right: 10px;
    }
    .feature-block .feature-content-text {
        padding-right: 0 !important;
        max-width: 100%;
    }
    .feature-block .gif-wrap {
        transform: none;
    }
    .feature-block .feature-top {
        /* min-height: 300px; */
    }
    .feature-block .feature-top img.feature-img {
        right: 0 !important;
    }
    .feature-block .section-top-detail {
        padding-right: 40%;
    }
}

/* Small devices */
@media (min-width: 768px) and (max-width: 991px) {
    .feature-block .feature-content {
        padding-left: 0;
        padding-right: 0;
        width: 750px;
        margin-left: auto;
        margin-right: auto;
    }
    .feature-block .feature-top {
        /* min-height: 300px; */
    }
    .feature-block .feature-top img.feature-img {
        right: 0 !important;
    }
    .feature-block .section-top-detail {
        padding-right: 40%;
    }
}

/* Medium devices */
@media (min-width: 992px) and (max-width: 1199px) {
    .feature-block .feature-content-text {
        padding-right: 40px !important;
        max-width: 454px;
    }
}

/* Very large devices */
@media (min-width: 1440px) {
    .feature-block .feature-content-text {
        padding-right: 4vw !important;
    }
}

@supports (display: flex) {
    /* set min-heights here */
    .feature-top {
        min-height: 280px;
    }
    @media (max-width: 991px) {
        .feature-block .feature-top {
            min-height: 300px;
        }
    }
}

@media (max-width: 479px) {
    .topics {
        display: block;
    }
    .feature-img {
        display: none;
    }
    .section-top-detail {
        padding-right: 20px !important;
        width: 100%;
    }
    .feature-top {
        min-height: 0 !important;
    }
    .feature-content-text {
        padding-bottom: 0 !important;
    }
}

.topics-wrap {
    border-top: 1px solid #e0e0e0;
}

@media (min-width: 1200px) {
    .topics-wrap {
        background: linear-gradient(135deg, rgb(255, 255, 255) 14%, rgb(242, 242, 242) 100%);
        margin-right: -50px;
        padding-right: 50px;
        border-top: 1px solid #efefef;
        border-bottom: 1px solid #efefef;
    }
}

@media (max-width: 1199px) {
    .single-col > li {
        flex-basis: 100%;
    }
}

.single-col-all > li {
    flex-basis: 100%;
}

.features-learn-more {
    margin-top: 10px;
    margin-bottom: 20px;
}

.tw-feature-step {
    padding-top: 40px;
}

.pgtc-step figure video {
    max-width: 100%;
}

.tw-center-video {
    grid-area: 2 / center/fullh/center !important;
    margin-top: 20px;
}

.tw-center-content {
    grid-area: fullh/3/2/5;
}

.tw-step h3,
.tw-step p {
    max-width: 640px;
}

.tw-step video {
    max-width: 100%;
}

.tw-step hr.medium {
    width: 25%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.tw-step {
    margin-top: 40px;
    margin-bottom: 40px;
}

.tw-step-section-name {
    color: var(--pg-blue);
    font-size: 32px;
    text-align: left;
    margin-top: 6px;
    line-height: 1.25;
}

.tw-feature-section {
    padding-top: 11px;
    padding-bottom: 41px;
    background-color: #ffffff;
}

.tw h2.features-title {
    margin-top: 50px;
    margin-bottom: 40px;
    color: var(--pg-blue-dark);
    font-size: 50px;
    font-weight: 300;
}

.tw-note {
    background-color: rgba(1, 152, 205, 0.15);
    border-left: 4px solid var(--pg-blue);
    padding: 10px 20px;
}

.tw-step figure {
    margin-top: 20px;
    position: relative;
}

.tw-step figure img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
