section.quote-section { margin-bottom: 0; margin-top: 0; .widget_media_image { position: relative; padding: 85px 0; margin-bottom: 0; min-height: 530px; z-index: 1; display: flex; flex: 1; flex-direction: column; justify-content: center; overflow: hidden; &:before { content: ""; background: rgba($black_color, 0.5); position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; } .widget-title { max-width: 1170px; margin: 0 auto; color: $white_color !important; font-size: 5.1111em; line-height: 1.25em; position: relative; z-index: 2; padding: 90px; &:before, &:after { content: ""; background-image: url('data:image/svg+xml; utf-8, '); background-repeat: no-repeat; width: 100px; height: 100px; position: absolute; top: 0; left: 0; opacity: 0.75; filter: alpha(opacity=75); } &:after { top: auto; bottom: 0; left: auto; right: 0; @include transform(rotate(180deg)); } svg { display: none; } }//.widget-title img { position: absolute; top: 0; left: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -1; } }//.widget_media_image }//section.quote-section @include media(md) { section.quote-section { .widget_media_image { .widget-title { max-width: 1000px; }//.widget-title }//.widget_media_image }//section.quote-section }//@include media(md) @include media(sm) { section.quote-section { .widget_media_image { .widget-title { max-width: 768px; }//.widget-title }//.widget_media_image }//section.quote-section }//@include media(sm) @include media(xs) { section.quote-section { .widget_media_image { padding-top: 65px; padding-bottom: 65px; .widget-title { padding: 50px; font-size: 3em; max-width: 420px; &:before, &:after { width: 60px; left: 15px; top: 20px; } &:after { left: auto; right: 15px; top: auto; bottom: 20px; } }//.widget-title }//.widget_media_image }//section.quote-section }//@include media(xs)