/*basic reset*/
* {margin: 0; padding: 0;}

.tform {
	width: 90%px;
	margin: 50px auto;
	text-align: left;
	position: relative;
	-webkit-background-clip: border-box;
	-webkit-background-origin: padding-box;
	-webkit-background-size: auto;
	background-attachment: scroll;
	background-clip: border-box;
	background-color: #eef4d7;
	background-image: none;
	background-origin: padding-box;
	background-size: auto;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	color: rgb(25, 57, 84);
	display: block;
}
.contactform {
	padding: 15px;
}
#cresult:empty {
	display:none;
}
.tform label {
	color: #666;
}
.tform fieldset {
	border: 0 none;
	border-radius: 3px;
	padding: 0px 10px 20px 10px;
	
	box-sizing: border-box;
	width: 97%;
	margin: 0 2%;
}

.tform fieldset legend {
	display: block;
	width: 100%;
	padding: 0;
	margin-bottom: 20px;
	font-size: 21px;
	line-height: 40px;
	color: #666;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
	text-align: left;
	font-weight:bold;
}
/*inputs*/
.tform input, .tform textarea, .tform select {
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: 100%;
	box-sizing: border-box;
	font-family: montserrat;
	color: #2C3E50;
	font-size: 13px;
}

.tform input.error, .tform textarea.error, .tform select.error {
	border: 1px solid #b90d0d;
	background-color: rgba(145,91,91,0.1);
}

.tform input.valid, .tform textarea.valid, .tform select.valid {
	border: 1px solid #0fad69;
}

.tform label.error {
	color: #fff;
	background: none repeat scroll 0 0 rgba(152,44,44,0.79);
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    right: 10px;
	bottom: -25px;
    white-space: nowrap;
    z-index: 2000;
}
.tform .steps ul li.done {
	background-color: rgba(61,145,101,0.75);
}
/*buttons*/
.tform .actions ul {
	list-style: none;
	margin: 0px auto;
	text-align: right;
}
.tform .actions ul li {
	display: inline-block;
	background: #27AE60;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 3px;
	cursor: pointer;
	padding: 10px;
	margin: 10px 5px;
}
.tform .actions ul li a {
	color: #fff;
	text-decoration: none;
}
.tform .content .title {
	text-align: center;
	display: block;
	position: absolute;
	left: -999em;
}
.tform .steps ul li a .current-info {
	display: block;
	position: absolute;
	left: -999em;
}
.tform .steps {
	text-align: center;
}
.tform .steps ul {
	list-style: none;
	margin: 0px auto;
	text-align: center;
}
.tform .steps ul li {
	display: inline-block;
	background: #bababa;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 3px;
	cursor: pointer;
	padding: 10px;
	margin: 10px 5px;
}
.tform .steps ul li a {
	color: white;
	text-decoration: none;
}
.tform .steps ul li.current { 
	background: rgba(39,57,174,0.77);
}
.tform .action-button:hover, .tform .action-button:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
}
/*headings*/
.fs-title {
	font-size: 15px;
	text-transform: uppercase;
	color: #2C3E50;
	margin-bottom: 10px;
}
.fs-subtitle {
	font-weight: normal;
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
}
#progressbar li {
	list-style-type: none;
	color: white;
	text-transform: uppercase;
	font-size: 9px;
	width: 33.33%;
	float: left;
	position: relative;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: #333;
	background: white;
	border-radius: 3px;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: white;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
	/*connector not needed before the first step*/
	content: none; 
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
	background: #27AE60;
	color: white;
}
#copy-tenant, #hidden-elements, #append_curr_owner, #append_prev_owner, #emp_type_other, #emp_status_other, #employed_check, #self_employed_container, #retired_container, #pension_container, #ad_more, #ai_judgment_more, #ai_bankrupt_more, #ai_pets_more, #ai_children_more {
	display: none;
}
#append_curr_owner, #append_prev_owner {
	margin-top: 10px;
}