/* fluid_styled_content equivalents of the former css_styled_content rules (2015_customer.css / 2015_styles.css) */
.ce-textpic .ce-bodytext { margin: 0 0 32px 0; }
/* old rule: margin below the last image row applied to above/below layouts only (imagerow-last), not to intext images */
.ce-textpic.ce-above .ce-gallery:not([data-ce-images="1"]) .ce-row:last-child,
.ce-image.ce-above .ce-gallery:not([data-ce-images="1"]) .ce-row:last-child,
.ce-textpic.ce-below .ce-gallery:not([data-ce-images="1"]) .ce-row:last-child,
.ce-image.ce-below .ce-gallery:not([data-ce-images="1"]) .ce-row:last-child { margin-bottom: calc(4em + 10px); }
.ce-gallery .ce-column { margin-right: 10px; }
.ce-gallery .ce-row { margin-bottom: 10px; }
/* old site: only the image itself had a 10px bottom margin, no extra gallery margin */
.ce-textpic.ce-above .ce-gallery, .ce-image.ce-above .ce-gallery { margin-bottom: 0; }
.ce-intext.ce-left .ce-gallery, .ce-intext.ce-left.ce-nowrap .ce-gallery { float: left; margin-right: 10px; }
.ce-gallery figure { display: block; }
/* textmedia (videos): the old site had no css_styled_content textmedia rules -> no centering, no extra margin */
.frame-type-textmedia .ce-center .ce-outer, .frame-type-textmedia .ce-center .ce-inner { float: none; right: auto; }
.frame-type-textmedia .ce-gallery, .frame-type-textmedia .ce-gallery .ce-row { margin-bottom: 0; }
/* intext images: the old site had only the 10px image margin, no extra gallery margin */
.ce-textpic.ce-intext .ce-gallery, .ce-image.ce-intext .ce-gallery { margin-bottom: 0 !important; }
