gwd-image.scaled-proportionally>div.intermediate-element>img {
    background-repeat: no-repeat;
    background-position: center
}

gwd-image {
    display: inline-block
}

gwd-image>div.intermediate-element {
    width: 100%;
    height: 100%
}

gwd-image>div.intermediate-element>img {
    display: block;
    width: 100%;
    height: 100%
}



@media only screen and (max-width: 480px) { 
    gwd-image>div.intermediate-element {
        width: 320px !important;;
        height: auto !important;
    }
    
    
}


@media only screen and (max-width: 768px) { 
    gwd-image>div.intermediate-element {
        width: 400px !important;;
        height: auto !important;
    }
    
    height: auto !important
    }
}


