/* Style_teaser_tcs.css */
#TCS {
	.odd22 {
		width: floor({{TCS_Width}}px / 2) !important;
	}
	.odd13 {
			width: floor({{TCS_Width}}px / 3) !important;
	}
	.odd23 {
			width: floor(2 * {{TCS_Width}}px / 3)  !important;
	}

	.teaser {
		width: {{TCS_Width}}px;

		.onecoltsr,
		.twocoltsr,
		.twocolrighttsr,
		.threecoltsr,
		.threecolcentertsr,
		.threecolrighttsr {
			float:left;
			position:relative;
		  left: 0;
			width: {{TCS_Width}}px !important;
		}

		.onecoltsr {
			.teasercaption {
				left: -{{tsrpadding}}px;
				width: {{TCS_Width}}px - 2 * {{tsrborder_width}} !important;
			}
			.leftcol {
				float: left;
				position: relative;
				width:  {{TCS_Width}}px - 2 * {{tsrpadding}}px !important;
			  left:   {{tsrpadding}}px !important;
			  margin:  0 !important;
			  padding: 0;
				.fullimage {
					width:  {{TCS_Width}}px - 2 * {{tsrpadding}}px;
				  left:   {{tsrpadding}}px;
				}

			}
		}
		.twocolrighttsr {
		  left:  floor(0.5 * {{TCS_Width}})px!important;
		}
		.twocoltsr,
		.twocolrighttsr {
			.teasercaption {
				left: -{{tsrpadding}}px !important;
				width:  floor(0.5 * ({{TCS_Width}})px  - 3 * {{tsrpadding}}px) !important;
			}
			.leftcol,
			.rightcol {
				float:left;
				position:relative;
				width:  floor(0.5 * {{TCS_Width}})px  - 2 * {{tsrpadding}}px !important;
			  margin: {{tsrboxmargin}} !important;
			}
			.leftcol {
			  left:   -1.0 * (floor(0.5 * {{TCS_Width}})px - {{tsrpadding}}px) !important;
			}
			.rightcol {
			  left:   -1 * (floor(0.5 * {{TCS_Width}})px - 3 * {{tsrpadding}}px ) !important;
			}
		}
		.threecolcentertsr,
		.threecolrighttsr {
			left: floor({{TCS_Width}})px  / 3 !important;
		}
		.threecoltsr,
		.threecolcentertsr,
		.threecolrighttsr {
			.leftcol,
			.centercol,
			.rightcol {
			  width: floor({{TCS_Width}}px / 3)  - 2 * {{tsrpadding}}px !important;
			}
			.leftcol {
			  left: {{tsrpadding}}px !important;
			}
			.centercol {
			  left: 3 * {{tsrpadding}}px !important;
			}
			.rightcol {
			  left: 5 * {{tsrpadding}}px !important;
			}

		}
	}
}