.plugin-dcms-slider {
    padding: 0;
    margin-bottom: 14px;
    margin-top: 6px;
    border-top: 2px solid #ffd800;
    border-bottom: 2px solid #ffd800;
}

@media (min-width: 576px) {
    .plugin-dcms-slider {
        margin-top: 25px;
    }
}

.plugin-dcms-slider .carousel-control-prev, 
.plugin-dcms-slider .carousel-control-next {
    width: 12%;
}

.plugin-dcms-slider .carousel-item {
    overflow: hidden;
}

.plugin-dcms-slider .carousel-caption {
    text-align: left;
    padding-top: 0;
    padding-bottom: 0;
    right: 0;
    left: 0;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.plugin-dcms-slider .carousel-caption .mobile-overlay-icon,
.plugin-dcms-slider .carousel-caption .overlay-icon {
    float: right;
}

.plugin-dcms-slider .carousel-caption .mobile-overlay-icon.svg-file {
    max-height: 100px;
    max-width: 100px;
}

.plugin-dcms-slider .carousel-caption .overlay-icon.svg-file {
    max-height: 200px;
    max-width: 200px;
}

.plugin-dcms-slider .carousel-caption .btn {
    -webkit-appearance: none;
}

.plugin-dcms-slider .carousel .carousel-focus-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s linear;
}

.plugin-dcms-slider .carousel-caption-content {
    border-style: solid;
    margin: 0 -5px;
}

.plugin-dcms-slider .carousel-caption-content h1 {
    margin-bottom: 1.5rem;
}

.plugin-dcms-slider .carousel-caption-content p {
    line-height: 150%;
    margin-bottom: 1.5rem;
}

@media (max-width: 575.98px) {
    .plugin-dcms-slider .overlay-icon { 
        transform: scale(0.4) translateX(80%);
        margin-left: -75%;
    }

    .plugin-dcms-slider .carousel-caption-content h1 {
        line-height: 0.6em;
    }

    .plugin-dcms-slider .carousel-caption-content p,
    .plugin-dcms-slider .carousel-caption-content h1 {
        margin-bottom: 1rem;
    }

    .plugin-dcms-slider .carousel-caption-content h1,
    .plugin-dcms-slider .carousel-caption-content h1 span,
    .plugin-dcms-slider .carousel-caption-content p {
        font-size: 0.6em;
    }
}

@media (min-width: 576px) {
    .plugin-dcms-slider .overlay-icon {
        transform: scale(0.5) translateX(50%);
        margin-left: -50%;
    }
    .plugin-dcms-slider .carousel-caption-content h1,
    .plugin-dcms-slider .carousel-caption-content h1 span, 
    .plugin-dcms-slider .carousel-caption-content p {
        font-size: 0.5em;
    }
}

@media (min-width: 768px) {
    .plugin-dcms-slider .overlay-icon {
        transform: scale(0.6) translateX(40%);
        margin-left: -40%;
    }
    .plugin-dcms-slider .carousel-caption-content h1,
    .plugin-dcms-slider .carousel-caption-content h1 span, 
    .plugin-dcms-slider .carousel-caption-content p {
        font-size: 0.6em;
    }
}

@media (min-width: 992px) {
    .plugin-dcms-slider .overlay-icon {
        transform: scale(0.8) translateX(20%);
        margin-left: -20%;
    }
    .plugin-dcms-slider .carousel-caption-content h1,
    .plugin-dcms-slider .carousel-caption-content h1 span, 
    .plugin-dcms-slider .carousel-caption-content p {
        font-size: 0.8em;
    }
}

@media (min-width: 1200px) {
    .plugin-dcms-slider .overlay-icon {
        transform: scale(1) translateX(0%);
    }
    .plugin-dcms-slider .carousel-caption-content h1,
    .plugin-dcms-slider .carousel-caption-content h1 span, 
    .plugin-dcms-slider .carousel-caption-content p {
        font-size: 1em;
    }
}
