#tabs {
display: block; 
width: 100%;
position:relative;
z-index:1; /*set over .panel*/
margin-top:15px;
float:left;
}
#tabs a:last-child{width:118px;margin-right:0px;}
a.tab {
border-collapse: collapse;
border-style: solid solid none solid;
border-color: #ccc;
border-top-color:#c3141b;
border-left-color:#c3141b;
border-right-color:#c3141b;
border-width: 1px 1px 0 1px;
padding: 10px 15px;
padding-top:6px;
text-align:center;
width:116px;
margin:1px 2px 0 0; 
text-decoration: none;
float: left;
color:#FFFFFF;
background: #c3141b; 
font-weight:600;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
a.tab:hover { 
background: #c3141b;
color:#F2F2F2; 
}
a.selectedTab, a:hover.selectedTab {
padding-top:6px;
margin-top:1px;
border-color: #ccc;
color:#000000; 
border-bottom: solid 1px white;
background:#FFFFFF;
}


.cTimeValue .panel { 
clear:both;
max-width:668px;
width:700px;
position:relative;
border: solid 1px #ccc;
background-color: #FFFFFF;
padding: 15px;
margin-bottom: 15px;
height: 100%;
overflow: auto;
display:none;
z-index:0; /*set under #tabs*/
top:-1px;
-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
.cTimeValue .selectedPanel {
display: block;
}
.cTimeValue h3 { 
line-height: 25px; }

.Summary, .Summary p, .Summary b, .answer { color: #000;}

.cTimeValue .radio, .cTimeValue .checkbox{
    display:inline-block !important;
}

.InputContainer p{font-weight:bold;}
.cTimeValue input[type="text"], .cTimeValue textarea, .cTimeValue select, .cTimeValue .TextInput{
    font-size:1.4rem;
}

.cTimeValue tr > th > p {font-weight:bold;}

/* .cTimeValue H2, .cTimeValue H3
{
color:black;
}
.cTimeValue A
{
color::#ccc;
font-size: 10pt;
}
.cTimeValue li
{
margin-bottom:5px;
} */

.Title h2{padding-top:20px;}

/* TABLES */
.cAmortTable, .cAmortContainer, .cTableWrapper{width:100%;}
#tvcInputTable1, #tvcSubDetailTable2, #tvcInputTable3, #tvcDetailTable1{padding:0px;margin:0px;border-collapse:collapse;border:1px solid #ccc;width:100%;}
#tvcInputTable1 td, #tvcInputTable2 td, #tvcInputTable3 td, #tvcDetailTable1 td{padding:5px;border:1px solid #ccc;}
.inputTable p{margin:0px;}
 
 


/*BUTTONS */
.cTimeValue input[type=submit]#COMPUTE, .cTimeValue input[type=submit]#AMORTLOAN, .cTimeValue input[type=submit]#REVACCT, .cTimeValue input[type=submit]#DEBT{padding-top:6px;
	font-weight: 700;
	line-height: 1.2;
	cursor:pointer;
	background: #c3141b !important;
	border: 0;
	color: #fff !important; 
	position: relative;
    padding: 12px 15px;
    font-weight: 600;
	outline: 0 none !important;
	display: inline-block;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	border-radius: 4px;
	height:initial !important;
	width:auto !important;

}
.cTimeValue input[type=submit]#COMPUTE{margin-top:10px;}
.cTimeValue input[type=radio]{
	display: inline;
	margin: 0 10px auto;
}
#Panel_Results, .DetailContainer, .DetailTable, fieldset, legend, .cTableWrapper, .cAmortContainer, .cAmortContainer td{border:0px;padding:0px;margin:0px; }

#tvcSubDetailTable1 td, .SubDetailTable td{ border:1px solid #ccc;padding:5px;}
#tvcSubDetailTable1 td p{margin:0px;padding:0px;}

.DetailContainer{border:1px solid #ccc;padding:10px}
.DetailContainer table.DetailTable{margin:0px;border:0px;}
.DetailTable td{border:0px;} 
.DetailTable a{color:#b72c36;}


.cAmortTable{border-collapse:collapse;border:1px solid #ccc;}
.cAmortTable tr td{  border-right:0px;}
.cAmortTable tr.cAmortLineTotals td{border-top:2px solid #ccc;}
.SubDetailTable {border-collapse:collapse;border:1px solid #ccc;}
.SubDetailTable th{width:30%;border:1px solid #ccc; border-right:0px;}
.SubDetailTable td{border:1px solid #ccc;border-collapse:collapse;border-right:0px;}
td hr{border:0px;}


 
.cTimeValue input[type=text], .cTimeValue textarea, .cTimeValue select, .cTimeValue .TextInput{ 
border:1px solid #ddd;
background:#fff; 
color:#666;	
-moz-border-radius:5px; 
-o-border-radius:5px; 
-webkit-border-radius:5px; 
border-radius:5px;
outline:none; 
padding:7px;	
}


 /* Note: Global Design for a max width of 768px */
@media only screen and (max-width: 768px) {
    a.tab, a#tabLease.tab {
        text-align: center;
        width: auto;
        display: block;
        float: none;
        margin: 2px 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

    a.selectedTab, a:hover.selectedTab {
        border-bottom: solid 1px #ccc;
    }

    .cTimeValue .panel {
        float: none;
        max-width: 668px;
        width: auto;
    }
}