/* \Sentra.Designs\- global\Minya\substyles\default\tpl\style-para2.css */

 /*
	* If the container is filled with a plugin, we don't need image container
	* but we need an robj-container
	*/

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

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

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

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

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

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

		}
	}
}

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