:root {
    --stig-bcg-before-img: #ffffff;
    --stig-bcg-after-color: #ffffff;
}

.stig-row .background:after,
.stig-row .background:before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
}

.stig-row .background:before {
    background: var(--stig-bcg-before-img); /* Nastavuje se v HTML */
    right: 0;
    background-position: center !important;
    background-size: cover !important;
    display: block;
}

.stig-row.stig-right .background:before {
    left: 0;
    right: auto;
}

.stig-row {
    position: relative;
    background-size: cover;
}

.stig-row .container {
    position: relative;
}

.stig-row .stig-container-content {
    width: 50%;
}

.stig-row.stig-right .stig-container-content {
    margin-left: auto;
}

.stig-row .background:after {
    left: 0;
    width: 80%;
    background: linear-gradient(270deg, transparent, var(--stig-bcg-after-color) 35%);
}

.stig-row.stig-right .background:after {
    right: 0;
    left: auto;
    background: linear-gradient(90deg, transparent, var(--stig-bcg-after-color) 35%);
}

/*
    Nastavení velokostí
 */
.stig-row .background:before {
    width: 50%; /* šířka obrázku */
}

@media only screen and (max-width: 740px) {
    .stig-row .stig-container-content,
    .stig-row .background:after,
    .stig-row .background:before {
        width: 100%;
    }

    .stig-row.stig-right .background:after,
    .stig-row .background:after {
        background: var(--stig-bcg-after-color);
        opacity: .9;

    }
}
