/*FG-995-start*/
figure.rte-captions,
.component-image {
    position: relative;
    margin: 0;
}

figure.rte-captions figcaption {
    position: static;
    width: 100%;
    opacity: 0.8;
    display: block;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.35px;
    z-index: 1;
    padding: 5px 0;
    background: transparent;
    color: #000;
}

figure.rte-captions label.iwc-figcaption-check-btn,
figure.rte-captions label.iwc-figcaption-check-btn+input[type="checkbox"] {
    position: absolute;
    right: 5px;
    width: 32px;
    height: 32px;
    background-color: rgba(18, 18, 18, 0.6);
    border-radius: 50%;
    bottom: 5px;
    border: none;
    cursor: pointer;
    z-index: 9;
    display: none;
}

figure.rte-captions label.iwc-figcaption-check-btn+input[type="checkbox"] {
    width: 20px;
    height: 20px;
    opacity: 0 !important;
    right: 10px;
    bottom: 10px;
}

figure.rte-captions label.iwc-figcaption-check-btn svg {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    position: absolute;
    fill: white;
}

figure.rte-captions figcaption svg {
    font-size: 14px;
    margin-right: 5px;
}

.component-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    vertical-align: bottom;
}

@media screen and (max-width: 991px) {
    figure.rte-captions figcaption {
        font-size: 15px;
    }
}

@media screen and (max-width: 767px) {
    figure.rte-captions figcaption {
        font-size: 14px;
        padding: 10px 40px 10px 10px;
        display: none;
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        color: #fff;
        background: rgba(18, 18, 18, 0.8);
    }

    figure.rte-captions label.iwc-figcaption-check-btn,
    figure.rte-captions label.iwc-figcaption-check-btn+input[type="checkbox"],
    figure.rte-captions label.iwc-figcaption-check-btn+input[type="checkbox"]:checked+figcaption {
        display: block;
    }

    figure.rte-captions figcaption svg {
        fill: #fff;
    }
}

/*FG-995-End*/