#alavida-calculator {
	border: 3px solid #58595B;
	border-radius: 2px;
	padding: 6px 7px;
}

#alavida-calculator h1 {
	font-size: 22px;
	color: black;
	font-weight: normal;
	margin: 0;
	padding-bottom: 10px;
}

#alavida-calculator sup {
	font-size: 12px;
	bottom: 0.6em;
}

#alavida-calculator section h1:before {
	background: #58595B;
	display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	line-height: 40px;
	text-align: center;
	margin-right: 8px;
	color: white;
}

#alavida-calculator table td {
	padding-top: 6px;
	padding-bottom: 6px;
}

#alavida-calculator table th:first-child,
#alavida-calculator table td:first-child
{
	padding-left: 24px
}

#alavida-calculator tr th,
#alavida-calculator thead th,
#alavida-calculator tr td {
	text-align: center;
}
#alavida-calculator tr:first-child:last-child {
	background: #eee;
}
#alavida-calculator #monthly-expenses tr.form-field td:last-child span.etmodules {
	font-family: 'ETmodules';
	color: #BAA5CC;
	font-size: 28px;
}

#alavida-calculator #monthly-expenses tfoot tr td {
	font-weight: bold;
	font-size: 16pt;
}

#alavida-calculator tr th:first-child,
#alavida-calculator tr td:first-child {
	text-align:left;
}

#alavida-calculator aside table td input {
	width: 92px;
}
#alavida-calculator aside table td:first-child {
}
#alavida-calculator aside table td:last-child {
	text-align: right;
	padding-right: 24px;
}

#monthly-expenses tr td:first-child {
	white-space: nowrap;
}

#alavida-calculator thead th:nth-of-type(2) {
	white-space: nowrap;
}

#alavida-calculator section table tfoot tr {
	background: #58595B !important;
	color: white;
}

#alavida-calculator section.calculator-main h1:before {
	content: '1';
}
#alavida-calculator aside section:nth-of-type(1) h1:before {
	content: '2';
}
#alavida-calculator aside section:nth-of-type(2) h1:before {
	content: '3';
}
#alavida-calculator aside section:nth-of-type(3) h1:before {
	content: '4';
}

#alavida-calculator section.calculator-main {
	float: left;
	width: 100%;
	max-width: 696px;
}

#alavida-calculator section.calculator-main + aside {
	float: right;
	width: 100%;
	max-width: 321px;
}

#alavida-calculator #cost-comparison .current-cost,
#alavida-calculator #cost-comparison .alavida-cost {
	border: 3px solid;
	border-radius: 2px;
	text-align: center;
	margin-bottom: 10px;
	padding: 10px;
}

#alavida-calculator #cost-comparison h2 {
	padding-bottom: 10px
}

#alavida-calculator #cost-comparison p {
	line-height: 1.3em
}

#alavida-calculator #cost-comparison .current-cost {
	background: #f4f4f4;
	border-color: #a4a4a4;
}
#alavida-calculator #cost-comparison .current-cost h2,
#alavida-calculator #cost-comparison .current-cost > div {
	font-size: 18px;
	color: #272727;
}
#alavida-calculator #cost-comparison .current-cost p{
	color: #606060;
}

#alavida-calculator #cost-comparison .current-cost > div,
#alavida-calculator #cost-comparison .alavida-cost > div {
	font-size: 40px;
	font-weight: normal;
}


#alavida-calculator #cost-comparison .alavida-cost {
	background: #BAA5CC;
	border-color: #a4a4a4;
}
#alavida-calculator #cost-comparison .alavida-cost h2,
#alavida-calculator #cost-comparison .alavida-cost > div,
#alavida-calculator #cost-comparison .alavida-cost p {
	color: #ffffff;
}

#alavida-calculator .calculate-wrapper {
	text-align: center;
}

#alavida-calculator .calculate-wrapper #calculate_balance {
	display: block;
	font-size: 20pt;
	margin: 0 auto;
	width: 100%;
	margin-bottom: 10px;
	padding: 14px;
	cursor: pointer;
	transition: none;
}

#alavida-calculator .calculate-wrapper #calculate_balance.loaded {
	transition: background 0.3s ease-in-out, border 0.3s ease-in-out, color 0.3s ease-in-out;
}

#alavida-calculator .calculate-wrapper #calculate_balance {
	background: #BAA5CC;
	border-color: #BAA5CC;
}

#alavida-calculator .calculate-wrapper #calculate_balance:hover {
	color: #58595B;
}

#alavida-calculator .calculate-wrapper #calculate_balance:disabled {
	background: #eee;
	color: #ddd;
	border-color: #ddd;
	cursor: default;
}

#alavida-calculator footer {
	border-radius: 2px;
	padding: 20px;
	background: #f4f4f4;
	clear: both;
}

#alavida-calculator footer ol {
	list-style: decimal outside;
	margin-left: 20px
}

@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) {
	#alavida-calculator section.calculator-main {
		max-width: 590px;
	}
	#monthly-expenses tr td:first-child {
	  white-space: normal;
	}
}

@media only screen and ( max-width: 980px ) {
	#alavida-calculator section.calculator-main + aside {
		max-width: 100%;
	}
	#monthly-expenses tr td:first-child {
	  white-space: normal;
	}
	#alavida-calculator table td input {
		width: 100%;
	}
}

@media only screen and ( max-width: 767px ) {
	#alavida-calculator #monthly-expenses th,
	#alavida-calculator #monthly-expenses td,
	#alavida-calculator #monthly-income th,
	#alavida-calculator #monthly-income td,
	#alavida-calculator #home-equity th,
	#alavida-calculator #home-equity td {
		padding: 10px 5px;
		white-space: normal;
	}
	#alavida-calculator #monthly-expenses th:first-child,
	#alavida-calculator #monthly-expenses td:first-child,
	#alavida-calculator #monthly-income th:first-child,
	#alavida-calculator #monthly-income td:first-child,
	#alavida-calculator #home-equity th:first-child,
	#alavida-calculator #home-equity td:first-child {
		padding-left: 15px;
	}
	#alavida-calculator #monthly-expenses th:last-child,
	#alavida-calculator #monthly-expenses td:last-child,
	#alavida-calculator #monthly-income th:last-child,
	#alavida-calculator #monthly-income td:last-child,
	#alavida-calculator #home-equity th:last-child,
	#alavida-calculator #home-equity td:last-child {
		padding-right: 15px;
	}
}

@media only screen and ( max-width: 479px ) {
	#alavida-calculator #monthly-expenses th,
	#alavida-calculator #monthly-expenses td,
	#alavida-calculator #monthly-income th,
	#alavida-calculator #monthly-income td,
	#alavida-calculator #home-equity th,
	#alavida-calculator #home-equity td {
		font-size: 12px;
	}

	#cost-comparison {
		font-size: 14px;
	}

	#alavida-calculator footer {
		font-size: 12px;
	}

	#alavida-calculator sup {
		font-size: 9px;
	}
}
