/* LAYOUT - FIXED */

// choose what layout the fixed layout is going in
// and then use the .fixedCol() mixin

.fixedCol(@w, @s) {

	&.fixed-@{s} {
		 
		clear: both;

		> .col {
			& when (@s = r) {
				 
				width: 63%;
			}

			&.fw@{w} {
				 
				width: unit(@w + @p, px);
			
				& when (@s = r) {
					 
					float: right;
					padding-right: 0;
					margin-left: unit(-(@w + @p), px);
				}

				& when (@s = l) {
					 
					float: left;
					padding-right: unit(@p, px);
					padding-left: 0;
					margin-right: unit(-(@w + @p), px);
				}

				+ .col {
					& when (@s = r) {
						 
						padding-right: unit(@w + @p, px);
					}

					& when (@s = l) {
						 
						width: 100%;
						padding-left: unit(@w + @p, px);
					}
				}
			}
		}
	}
}

.l2-p3& {
	.fixedCol(350, r);
}

.l2-p7& {
	.fixedCol(425, l);
}
