
.ris-image {
    text-align: center;
    margin-bottom: 24px;
}

.ris-image-cont {
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 14px;
    overflow: hidden;
}

.ris-image.parent-wrap.transparent .ris-image-cont {
    padding: 0;
}

.ris-image-cont svg {
    width: 100%;
    height: auto;
    display: block;
}

.ris-image-cont.ris-image-cont-svg {
    padding: 0;
}

.ris-image-cont img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

.dashed-link {
    color: #3B316E;
    border-bottom: 1px dashed rgba(59, 49, 110, 0.4);
    cursor: pointer;
}

.ris-image-cont .mask-browse-os {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0 !important;
}

.ris-image-cont .mask-browse-os + img {
    border-radius: 0 0 8px 8px !important;
}


.ris-image-cont.ris-image-mac-browser {
    padding: 40px;
}

@media screen and (max-width: 767px) {
    .ris-image-cont.ris-image-mac-browser {
        padding: 14px;
    }
}

@media screen and (min-width: 992px) { 
    .dashed-link:hover {
        border-bottom: 1px solid rgba(59, 49, 110, 0.4);
    }
}

.dashed-link.small {
    font-size: 14px;
}

.dashed-link.strong {
    font-weight: 600;
}

.ris-image-show-top .ris-image-cont {
    position: relative;
    height: 656px;
    overflow: hidden;
}

.ris-image-show-top svg {
    transform: scale(2);
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top center;
}

@media screen and (max-width: 700px) {
    .ris-image-cont {
        border-radius: 10px;
    }

    .ris-image-show-top svg {
        transform: scale(3.5);
        position: absolute;
        top: -20px;
        left: 0;
        transform-origin: top center;
    }

    .ris-image-show-top .ris-image-cont {
        position: relative;
        overflow: hidden;
    }

    .ris-image.parent-wrap.mobile-template {
        height: max-content;
        margin-bottom: 60px;
    }

    .ris-image.parent-wrap.mobile-template .ris-image-cont.ris-image-cont-svg {
        padding: 0;
        height: 100%;
    }

}

@media screen and (max-width: 520px) {
    .ris-image-show-top .ris-image-cont {
        position: relative;
        height: 520px;
        overflow: hidden;
    }
}

@media screen and (max-width: 431px) {
    .ris-image.parent-wrap.mobile-template {
        position: relative;
        height: 520px;
        overflow: hidden;
    }
    .ris-image.parent-wrap.mobile-template .ris-image-cont svg {
        width: 100%;
        height: 100%;
        display: block;
        transform: scale(2.5);
    }

    .ris-image-show-top .ris-image-cont {
        height: 440px;
    }
}

@media screen and (max-width: 400px) {
    .ris-image.parent-wrap.mobile-template {
        height: 500px;
    }

    .ris-image-show-top .ris-image-cont {
        position: relative;
        height: 312px;
        overflow: hidden;
    }

    .ris-image.parent-wrap.mobile-template .ris-image-cont svg {
        transform: scale(2.7);
    }
}

@media screen and (max-width: 360px) {
    .ris-image.parent-wrap.mobile-template {
        height: 455px;
    }
}

@media screen and (max-width: 330px) {
    .ris-image.parent-wrap.mobile-template {
        height: 430px;
    }
}
