/* \Sentra.Designs\- global\Minya\substyles\default\tpl\style-para1.css */
/* If the container is filled with a plugin, we don't need image container but we need an lobj-container */

{{MODEsel}}genobj{{ID}}1(@TeaserParagraph, @splitfac)
when (@TeaserParagraph = 0)
and  (@splitfac = 1.0) {
	.lpic {
				float: left;
				width: {{picWidth}}px;
				margin: 3px {{P_padding}}px 0 0;
				img {
					width: {{picWidth}}px;
					margin: 0 auto;
					float: left;
				}
				.caption {
					float: left;
					width: {{picWidth}}px;
					font-weight:bold;
				}
				p.imgst {
					width: {{picWidth}}px;
					float: left;
					margin: 3px 0 0;
				}
	}
}

{{MODEsel}}genobj{{ID}}1(@TeaserParagraph, @splitfac)
when (@TeaserParagraph = 0)
and  (@splitfac < 1.0) {
	.lpic {
		float: left;
		width: {{picWidth}}px;
		margin: 3px floor({{P_padding}}px * 0.5) 0 0;
		img {
			width: floor({{picWidth}}px * 0.5 );
			margin: 0 auto;
			float: left;
		}
		.caption {
			float: left;
			width: floor({{picWidth}}px * 0.5);
			font-weight:bold;
		}
		p.imgst {
			width: floor({{picWidth}}px * 0.5);
			float: left;
			margin: 3px 0 0;
		}
	}
}

{{MODEsel}}genobj{{ID}}1(@TeaserParagraph, @splitfac)
when (@TeaserParagraph > 0)
and  (@splitfac = 1.0) {
	.lobj {
		float:  left;
		margin: 0 {{P_padding}}px {{P_padding}}px;
		.caption {
			float: left;
			font-weight:bold;
		}
		p.imgst {
			float: left;
			margin: 3px 0 0;
		}
	}
}
{{MODEsel}}genobj{{ID}}1(@TeaserParagraph, @splitfac)
when (@TeaserParagraph > 0)
and  (@splitfac < 1.0) {
	.lobj {
		float:  left;
		margin: 3px floor({{P_padding}}px * 0.5) 0 0;
		.caption {
			float: left;
			font-weight:bold;
		}
		p.imgst {
			float: left;
			margin: 3px 0 0;
		}
	}
}

{{MODEsel}}parawidth{{ID}}1(@splitfac) when (@splitfac < 1.0) {
	{{MODE}} {
		.sp .para {
			float: left;
			width: floor(({{colWidth}}px - {{spw_Width}}px) * 0.5);

			{{MODEsel}}genobj{{ID}}1({{TeaserParagraph}},{{splitfac}});

		}
	}
}
{{MODEsel}}parawidth{{ID}}1(@splitfac) when (@splitfac = 1.0) {
	{{MODE}} {
		.para {
			float: left;
			width: {{colWidth}}px;

			{{MODEsel}}genobj{{ID}}1({{TeaserParagraph}},{{splitfac}});

		}
	}
}

{{MODEsel}}parawidth{{ID}}1({{splitfac}});
