.container-fluid {
    max-width: 1200px;
}

.red {
    color: #f00;
}

.green {
    color: #080;
}

.calculator-box > .span4 {
	display: none;
}

.calculator-box .calculator-form {
    width: 100%;
    max-width: 100%;
    margin: 0 0 0 -20px;
}


.calculator-box .calculator-form .error {
    color: #b94a48 !important;
    background-color: #f2dede !important;
    border-color: #eed3d7 !important;
}

.calculator {
    width: 38%;
    max-width: 38%;
    float: left;
    border-right: 2px solid #ddd;
    padding: 0px 0px 30px 0px;
}

.calculator input, .calculator select {
    /*max-width: 140px;*/
    max-width: 65%;
}
.calculator select.wide {
    max-width: 100%;
    text-align: left;
}
.calculator .control-group .controls .add-on {
    width: 25%;
}
.calculator .control-group .controls select.add-on {
    height: 32px;
    width: 80px;
    background: transparent;
}
@media(max-width: 480px) {
    .calculator .control-group .controls select.add-on {
        height: 32px;
        width: 60px;
    }
}
.calculator select.form-field {
    width: 158px;
    max-width: 158px;
}
.calculator .control-group .controls input[type=radio] {
    display: inline-block;
    width:  auto;
}
.calculator .control-group label {
    display: inline-block;
}
.calculator .control-group .controls label {
    margin:  0 10px;
}
.calculator .control-group:after {
    content: "";
    clear: both;
    display: table;
}

.advanced {
	display: none;
}

.calculator .control-group .control-label {
    width: 32%;
    font-size: 14px;
}
.calculator .control-group .controls {
float: left;
width: 62%;
}
.table-borderless td, .table-borderless th {
	border: none;
}
.calculator .table td.td-label {
    width: 32%;
}

.calculator .table td.controls {
    display: table-cell;
    float: none;
    width: auto;
    margin: 0;
    padding: 4px 0;
}
.calculator .table td.controls input {
    width: 49%;
    float: left;
    font-size: 15px;
}
.calculator .table td.controls span.add-on {
	padding-right: 0;
	float: left;
	margin-left: 2px;
}

.calculator label {
    font-size: 15px;
    text-align: right;
}

.table-form th {
	font-size:  13px;
	font-weight: bold;
}

.result {
    margin: 0 15px;
}

.result-table {
    background: #fff;
}
.result-table thead th {
    text-align: center;
    font-size:  14px;
}
.result-table tbody td {
    text-align: right;
    font-size:  14px;
}
.result-table tbody td small {
    font-size: 11px;
}
.result-table tbody td:last-child {
    /*text-align: left;*/
}
.result-table tbody td.courier {
    font-family: Courier;
    font-size:  13px;
}


.text-vvlg {
    font-size: 42px;
    line-height: 1.3em;
}
.text-vlg {
    font-size: 32px;
    line-height: 1.3em;
}

.text-lg {
    font-size: 24px;
    line-height: 1.3em;
}
.text-md {
    font-size: 18px;
    line-height: 1.3em;
}
.text-sd {
    font-size: 16px;
    line-height: 1.5em;
}
.text-sm {
    font-size: 14px;
    line-height: 1.3em;
}
.text-xs {
    font-size: 12px;
    line-height: 1.3em;
}

.col {
    float: left;
}
.col-25 {
    width: 24%;
    margin-right: 1%;
}
.col-33 {
    width: 32%;
    margin-right: 1%;
}
.col-50 {
    width: 48%;
    margin-right: 1%;
}
.col-100 {
    width: 100%;
    margin-right: 0%;
}

.v-space {
    margin-top: 50px;
    margin-bottom: 50px;
}
.v-space-md {
    margin-top: 30px;
    margin-bottom: 30px;
}
.v-space-sm {
    margin-top: 15px;
    margin-bottom: 15px;
}

@media (max-width: 767px) {

    .m-full-width {
    	width:  100% !important;
        max-width:  100% !important;
    }
    .calculator-box .calculator-form {
        width: calc(100% + 40px);
        max-width: calc(100% + 40px);
        margin: 0 0 0 -20px;
    }

    .calculator-box.form-horizontal .calculator {
        background: #fafafa;
        margin-top: -20px;
    }

	.table-form label, .calculator .control-group .control-label {
		font-size:  13px;
	}

	.calculator .table td.td-label {
	    width: auto;
	}

   .text-vlg {
        font-size: 24px;
        line-height: 1.3em;
    }

    .m-text-vlg {
        font-size: 32px;
        line-height: 1.3em;
    }

    .m-text-lg {
        font-size: 20px;
        line-height: 1.3em;
    }

    .text-md {
        font-size: 18px;
        line-height: 1.3em;
    }

    .m-text-md {
        font-size: 16px;
        line-height: 1.3em;
    }

    .text-sd {
        font-size: 15px;
        line-height: 1.5em;
    }

    .m-text-sd {
        font-size: 14px;
        line-height: 1.3em;
    }

    .m-col-10 {
        width: 9%;
    }
    .m-col-25 {
        width:  24%;
    }

    .m-col-33 {
        width:  32%;
    }

    .m-col-50 {
        width:  48%;
    }

    .m-col-100 {
        width:  100%;
    }
}


/*CHARTS*/
.chart svg .axis .tick:first-child line {
  /*color:  transparent;*/
}
.chart svg .axis .tick line {
  color:  #ddd;
}
.chart svg .domain {
  color:  #fff;
}


.key-value .primary-value {
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 5px;
}
.key-value .secondary-value {
    font-size: 13px;
}

.help {
    cursor: help;
}
.help u {
    border-bottom: 2px dotted #bbb;
    text-decoration: none;
}