#banner {
	background-image: url('/global/images/calculator-3.jpg');
}

#space-form {
	padding: 0px 10px 30px 10px;
	min-width: 625px;
}

#space-form h3 {
	margin: 0px;
	padding: 0px;
	padding-top: 7px;
	padding-bottom: 7px;
	text-align: center;
	font-size: 17px;
	letter-spacing: 1px;
	border-bottom: 1px solid #cbcbcb;
}

/* TABLE 
 * * * * * * * * * * * * * * * * * * * * * * */

#space-form table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 0px;
}

#space-form table tr td {
	vertical-align: center;
	text-align: center;
	padding: 5px;
}

#space-form table tr td.input,
#space-form table tr td.fields div.input {
	position: relative;
	padding-left: 0px;
	padding-right: 0px;
	margin-right: 0px;
	width: 62px;
}

#space-form table tr td.fields div.input {
	float: left;
}

#space-form table tr td.input input,
#space-form table tr td.fields div.input input {
	width: 50px;
	font-size: 14px;
	padding: 5px;
	color: #838383;
	border: 1px solid #c1c1c1;
	letter-spacing: 1px;
}

/* SPACE TYPE ROW 
 * * * * * * * * * * * * * * * * * * * * * * */
 
#space-form table tr.space-type {
	border-bottom: 1px solid #cbcbcb;
}

#space-form table tr.space-type td.name {
	font-weight: 200;
	font-size: 15px;
	padding-left: 12px;
	padding-right: 12px;
	line-height: 17px;
	width: 80px;
}

#space-form table tr.space-type td.image {
	background-color: #e1e1e1;
	width: 140px;
	height: 80px;
}

#space-form table tr.space-type td.image img {
	opacity: 0.7;
}

#space-form table tr.space-type td.fields {
	padding: 0px;
	padding-left: 15px;
	padding-right: 15px;
}

#space-form table tr.space-type td.fields div.input {
	
}

#space-form table tr.space-type td.fields div.input .label {
	display: block;
	position: absolute;
	font-weight: 200;
	font-size: 12px;
	left: 0px;
	bottom: -15px;
	opacity: 0.6;
	letter-spacing: 1px;
}

#space-form table tr.space-type td.fields div.input.size {
	width: 182px;
	width: 149px;
	margin-right: 24px;
	background-image: url('/lib/office-space-calculator/images/multiply.png');
	background-position: center center;
	background-repeat: no-repeat;
}

#space-form table tr.space-type td.fields div.input.size input.size-x {
	margin-right: 20px;
}

#space-form table tr.space-type td.fields div.input.sqft {
	float: right;
}

#space-form table tr.space-type td.fields div.input.sqft input {
	background-color: #dcdcdc;
	font-weight: 500;
}
/*
#space-form table tr.space-type.other td {
	vertical-align: center;
	text-align: center;
	padding-top: 0px;
	padding-bottom: 10px;
}

#space-form table tr.space-type.other td.image {
	height: 50px;
}

#space-form table tr.space-type.other td.input .label {
	bottom: 3px;
}
*/

/* TOTALS 
 * * * * * * * * * * * * * * * * * * * * * * */

#space-form table.totals {
	margin-top: 15px;
}

#space-form table.totals tr td {
	
}

#space-form table.totals tr td.name {
	text-align: right;
	font-size: 16px;
}

#space-form table.totals tr td.input {
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 15px;
	padding-right: 15px;
}

#space-form table.totals tr td.input.sqft {
	
}

#space-form table.totals tr td.input.sqft input {
	background-color: #dcdcdc;
	font-weight: 500;
}

#space-form table.totals tr.plus {
	border-top: 1px solid #cbcbcb;
}

#space-form table.totals tr.plus td.name {
	font-weight: 200;
	font-size: 15px;
}

#space-form table.totals tr.plus td.name span {
	font-weight: 600;
}

#space-form table.totals tr.plus td.input.percent {
	width: 90px;
	padding-left: 10px;
	padding-right: 0px;
}

#space-form table.totals tr.plus td.input.percent span {
	display: inline-block;
	width: 22px;
	text-align: center;
	padding-top: 3px;
	padding-bottom: 5px;
	background-color: #c1c1c1;
	color: #FFF;
}

#space-form table.totals tr.rentable td.name {
	background-image: url('/lib/office-space-calculator/images/space-formula.png');
	background-position: 90px 9px;
	background-repeat: no-repeat;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 480px) {
	
	#space-form {
		 min-width: 0px;
	}
	
	#space-form table tr.space-type {
		position: relative;
		height: 85px;
	}
	
	#space-form table tr.space-type td.image {
		display: none;
	}

	#space-form table tr.space-type td.name {
		display: block;
		text-align: left;
		width: 200px;
	}
	
	#space-form table tr.space-type td.fields {
		display: block;
		padding-left: 10px;
		padding-right: 10px;
	}	
	
	#space-form table tr td.fields div.input {
	}
	
	#space-form table tr.space-type td.fields div.input.size {
		margin-right: 10px;
	}
	
	#space-form table.totals {
		
	}
	
	#space-form table.totals td.name {
		line-height: 14px;
	}
	
	#space-form table.totals tr.plus td.input.percent span {
		padding-top: 6px;
		padding-bottom: 6px;
	}
	
	#space-form table.totals td.input.sqft {
		padding-right: 10px;
	}
	
	#space-form table.totals tr.rentable td.name {
		background-position: -1000px -1000px;
		overflow: hidden;
	}
	
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 330px) {
	
	#space-form {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	#space-form table tr td {
		
	}
	
	#space-form table tr.space-type td.fields {
		padding-left: 10px;
		padding-right: 10px;
	}	
	
	#space-form table tr.space-type td.quantity {
		left: 150px;
	}
	
	#space-form table tr.space-type td.sqft {
		right: -5px;
	}
	
	#space-form table.totals {
		
	}
}