.field-wrapper {
	float:left;
	margin: 0;
	margin-right:18px;
	overflow: visible;
	position: relative;
	height: 72px;/*
	overflow: hidden;*/
}
div.field-wrapper input, div.field-wrapper textarea, div.field-wrapper select {
	float:left;
}
div.euro {
	float:left;
	padding-top:7px;
	padding-left:2px;
}
.field-wrapper .invalid-error {
	max-height: 200px;
	top: -1.15385em;
}
.field-tip {
	position: absolute;
}
.field-tip.block {
	display: block;
	margin: -0.923077em 0 0;
	position: static;
}
div.field-wrapper div.field-help {
	display:block;
}
div.field-wrapper.error div.field-help {
	display:none;
}
div.field-wrapper div.msg-error {
	display:none;
	font-size:0.8em;
}
div.field-wrapper.error div.msg-error {
	display:block;
	color:#dd2222;
	position: absolute;
	top: 50px;
	white-space: nowrap;
	left: 0;
}
div.field-wrapper.error label, div.field-wrapper.error input, div.field-wrapper.error textarea, div.field-wrapper.error select {
	border-color: #EE5F5B;
	color: #B94A48;
}
div.field-wrapper.error:focus label, div.field-wrapper.error input:focus, div.field-wrapper.error textarea:focus, div.field-wrapper.error select:focus {
	border-color: #E9322D;
	box-shadow: 0 0 6px #F8B9B7;
}

div.field-wrapper.error .input-append .add-on:last-child, div.field-wrapper.error .input-append .btn:last-child, div.field-wrapper.error .input-append .btn-group:last-child > .dropdown-toggle {
	border-color: #EE5F5B;
}



/*bootstrap overrides*/
label {
	margin-bottom:0;
	font-size:13px;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
	margin-bottom:0;
}
select:focus {
	border-color: rgba(160, 160, 160, 0.8);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(160, 160, 160, 0.6);
	outline: 0 none;
}
textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
	border-color: rgba(160, 160, 160, 0.8);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(160, 160, 160, 0.6);
	outline: 0 none;
}
.tooltip {
	z-index:999;
}
input:focus:invalid, textarea:focus:invalid, select:focus:invalid {
	border-color: rgba(160, 160, 160, 0.8);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(160, 160, 160, 0.6);
	color:#555555;
}
input:focus:invalid:focus, textarea:focus:invalid:focus, select:focus:invalid:focus {
	border-color: rgba(160, 160, 160, 0.8);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(160, 160, 160, 0.6);
	color:#555555;
}
h1, h2, h3 {line-height:26px;}
h2 {font-size:22px}
h2.form_titles {margin: 10px 0 0 0; line-height: 22px;}
a, a:hover, a:link, a:active, a:visited {color:#444;}


/*personalizar campos*/
.field-wrapper.form_sexo {width:75px;}
.field-wrapper.form_sexo select {width:55px;}
.field-wrapper.form_title {width:100px;}
.field-wrapper.form_title select {width:80px;}
.field-wrapper.form_name {width:240px;}
.field-wrapper.form_name input {width:220px;}
.field-wrapper.form_nascimento_ano {width:140px;}
.field-wrapper.form_nascimento_ano input {width:80px;}
.field-wrapper.form_validadedocumento_ano {width:125px;}
.field-wrapper.form_validadedocumento_ano input {width:80px;}
.field-wrapper.form_contribuinte {width:120px;}
.field-wrapper.form_contribuinte input {width:90px;}
.field-wrapper.form_nacionalidade {width:260px;}
.field-wrapper.form_nacionalidade select {width:240px;}
.field-wrapper.form_tem_outranacionalidade {width:175px;} /*260px, 240px*/
.field-wrapper.form_tem_outranacionalidade select {width:80px;}
.field-wrapper.form_documento {width:245px;}
.field-wrapper.form_documento select {width:240px;}
.field-wrapper.form_nrdocumento {width:190px;}
.field-wrapper.form_nrdocumento input {width:100px;}
.field-wrapper.form_nrdocumento input#jform_identityCheckDigit {width:15px;}
.field-wrapper.form_nrdocumento input#jform_identityCheckDigit2 {width:30px;}
.field-wrapper.form_nrdocumento input#jform_co_identityCheckDigit {width:15px;}
.field-wrapper.form_nrdocumento input#jform_co_identityCheckDigit2 {width:30px;}
.field-wrapper.form_estado {width:175px;}
.field-wrapper.form_estado select {width:170px;}
.field-wrapper.form_titstatus {width:175px;}
.field-wrapper.form_titstatus select {width:80px;}
.field-wrapper.form_filhos {width:120px;}
.field-wrapper.form_filhos select {width:100px;}
.field-wrapper.form_morada {width:200px;}
.field-wrapper.form_morada input {width:180px;}
.field-wrapper.form_moradacont {width:200px;}
.field-wrapper.form_moradacont input {width:180px;}
.field-wrapper.form_cpostal1 {width:160px;}
.field-wrapper.form_cpostal1 input {width:70px;}
.field-wrapper.form_cpostal1 input#jform_add_zipCodeExtension {width:50px;}
.field-wrapper.form_cpostal1 input#jform_co_add_zipCodeExtension {width:50px;}
.field-wrapper.form_cpostal1 input#jform_add_fiscalZipCodeExtension {width:50px;}
.field-wrapper.form_cpostal1 input#jform_co_add_fiscalZipCodeExtension {width:50px;}
.field-wrapper.form_localidade {width:200px;}
.field-wrapper.form_localidade input {width:180px;}
.field-wrapper.form_tem_moradasimples {width:230px;}
.field-wrapper.form_tem_moradasimples select {width:80px;}
.field-wrapper.form_tem_moradaconjunta {width:260px;}
.field-wrapper.form_tem_moradaconjunta select {width:80px;}
.field-wrapper.form_telemovel {width:150px;}
.field-wrapper.form_telemovel input {width:130px;}
.field-wrapper.form_telefone {width:150px;}
.field-wrapper.form_telefone input {width:130px;}
.field-wrapper.form_email {width:240px;}
.field-wrapper.form_email input {width:220px;}
.field-wrapper.form_profissao {width:315px;}
.field-wrapper.form_profissao select {width:310px;}
.field-wrapper.form_tipocontracto {width:170px;}
.field-wrapper.form_tipocontracto select {width:165px;}
.field-wrapper.form_contract_end_date {width:125px;}
.field-wrapper.form_contract_end_date input {width:80px;}
.field-wrapper.form_nomeempresa {width:200px;}
.field-wrapper.form_nomeempresa input {width:180px;}
.field-wrapper.form_desde {width:90px;}
.field-wrapper.form_desde select {width:80px;}
.field-wrapper.form_telefoneempresa {width:180px;}
.field-wrapper.form_telefoneempresa input {width:165px;}
.field-wrapper.form_exerce {width:190px;}
.field-wrapper.form_exerce select {width:80px;}
.field-wrapper.form_rendimento {width:190px;}
.field-wrapper.form_rendimento input {width:70px;}
.field-wrapper.form_outrorendimento {width:190px;}
.field-wrapper.form_outrorendimento input {width:70px;}
.field-wrapper.form_tipohabitacao {width:235px;}
.field-wrapper.form_tipohabitacao select {width:220px;}
.field-wrapper.form_residedesde {width:125px;}
.field-wrapper.form_residedesde select {width:80px;}
.field-wrapper.form_prestacaocasa {width:190px;}
.field-wrapper.form_prestacaocasa_co {width:195px;}
.field-wrapper.form_prestacaocasa input {width:70px;}
.field-wrapper.form_crediauto {width:110px;}
.field-wrapper.form_crediauto_co {width:150px;}
.field-wrapper.form_crediauto input {width:70px;}
.field-wrapper.form_outrocredi {width:110px;}
.field-wrapper.form_outrocredi_co {width:150px;}
.field-wrapper.form_outrocredi input {width:70px;}
.field-wrapper.form_aberturaconta {width:110px;}
.field-wrapper.form_aberturaconta select {width:80px;}
.field-wrapper.form_nib1 {width:395px;}
.field-wrapper.form_nib1 input#jform_bnk_ibanPrefix {width:55px;}
.field-wrapper.form_nib1 input#jform_bnk_bankCode {width:50px;}
.field-wrapper.form_nib1 input#jform_bnk_bankAgencyCode {width:50px;}
.field-wrapper.form_nib1 input#jform_bnk_bankAccountNumber {width:100px;}
.field-wrapper.form_nib1 input#jform_bnk_bankAccountCheckDigit {width:25px;}
.field-wrapper.form_nib1 input#jform_bnk_iban2 {width:185px;}
.field-wrapper.form_telefoneempresa input#jform_bnk_bicCode {width:100px;}

input.slider {width:80px;text-align:right;}



 














body {
	color:#444444;
}
.container {/*
	max-width: 960px;*/
}
.container.grey {
	background-color:#ECECEC;
	margin-bottom: 30px;
}
.ctlm_top {
	width:100%;
	padding:10px 0;
}
.ctlm_wraper {
	width:1140;
	padding:10px 15px;
}
div.topo_esq {
	float:left;
	top:0;
	background:url(../img/ctlft.png);
	width:40px;
	height:40px;
	margin:0;
	padding:0;
}
div.topo_dir {
	float:right;
	top:0;
	background:url(../img/ctrgt.png);
	width:40px;
	height:40px;
	margin:0;
	padding:0;
}

div.fundo_esq {
	float:left;
	top:0;
	background:url(../img/ctlftdown.png);
	width:40px;
	height:40px;
	margin:0;
	padding:0;
}
div.fundo_dir {
	float:right;
	top:0;
	background:url(../img/ctrgtdown.png);
	width:40px;
	height:40px;
	margin:0;
	padding:0;
}

table.table-lightbox td, table.table-lightbox th {
	padding: 0;
}
#ctlm_loading {
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position:fixed;
  display:none;
  background-image: url(../img/ajax-mask.gif);
  background-repeat: repeat; 
  text-align:center;
  z-index: 99999;
}
.aux_ctlm_loading {
  background-image: url(../img/ajax-mask.gif);
  width:1px;
  height:1px;
}
#ctlm_loading-image {
  position: relative;
  width:400px;
  height:100px;
  border:2px solid #DDDDDD;
  top:40%;
  margin: 0 auto;
  z-index: 100000;
  vertical-align:middle;
  background:#FEFEFF;
  padding:18px;
}
div.sliders > div {
	float:left;
	margin-right:10px;
}
div.sliders label {
	/*color:#E4E4E4;*/
}
.container.grey.ctlmblack .sliders {
	background:url('../img/topo_black.png');
	margin: 0 -15px;
}

div.sliders div.meio_esq {
	float:left;
	top:0;
	background:url(../img/ctlftdown_black.png);
	width:40px;
	height:40px;
	padding:0;
}
div.sliders div.meio_dir {
	float:right;
	top:0;
	background:url(../img/ctrgtdown_black.png);
	width:40px;
	height:40px;
	padding:0;
	margin-right:0;
}

.container.grey.ctlmblack {
	background:url('../img/topo_black.png') repeat-x;
	background-color:#ECECEC;
}
/*nav buttons*/
.prev_next_btns {
    float: right;
    margin-top: 10px;
}
.prev_next_btns .nav-button{
	float:left; 
	width:140px; 
	height:30px; 
	font-size:12px; 
	color:#FFFFFF; 
	background:url('/templates/proposalwm2/img/button1.png') no-repeat;
	margin-right:10px; 
	text-align:center;
	padding-top:10px;
	cursor:pointer;
}
.prev_next_btns .nav-button:hover{
	background:url('/templates/proposalwm2/img/button2.png') no-repeat;
}
.prev_next_btns .nav-button a
,.prev_next_btns .nav-button a:link
,.prev_next_btns .nav-button a:active
,.prev_next_btns .nav-button a:hover
,.prev_next_btns .nav-button a:visited{
	font-size:12px; 
	color:#FFFFFF;
	text-decoration:none;
}
/*legal*/
.container .text_bottom_form {
    color: #61646A;
    float: left;
    font-size: 11px;
    line-height: 14px;
    margin: 35px 0;
    width: 100%;
    text-align: justify;
}
.container .text_bottom_form.to_right{
	width: auto;
	margin: 0;
}
/*step2 table*/
table.step2tbl {
    border-collapse: collapse;
    border-spacing: 0;
}
table.step2tbl {
    border: medium none;
    font-weight: bold;
    margin: 30px auto 60px;
    width: 90%;
}

table.step2tbl tr {
    background-color: #ECECEC;
    border-bottom: 1px solid #000000;
    height: 41px !important;
}
table.step2tbl tr.impar {
    background-color: #F2F2F2;
}
table.step2tbl tr td {
    border: medium none;
    font-size: 14px !important;
}
table.step2tbl tr td {
    padding: 9px 0;
}
table.step2tbl tr .values {
    font-weight: 100;
    text-align: right;
}
/*step3 passos*/
.container .column, .container .columns {
    display: inline;
    float: left;
    margin-top: 10px;
}
.column.alpha, .columns.alpha {
    margin-left: 0;
}/*
.container .eight.columns {
    width: 565px;
}*/
.ctlm_messages{
	margin: 0 10px;
}
.ctlm_message{
 	color: #F2F2F2;
    font-size: 16px;
    font-weight: 600;
}
.extralarge .ctlm_message {
    font-size: 20px;
}
.ctlm_extramessage{
	margin: 30px 0;
}

.passos {/*
    height: 200px;*/
    margin-bottom: 60px;
}
.passos .number {
    background: url("../img/bola_numero.png") no-repeat;
    color: #FFFFFF;
    display: inline;
    float: left;
    font-size: 20px;
    font-weight: bold;
    height: 100%;
    padding: 10px 13px;
    width: 13px;
}
.passos .box {
    margin-left: 60px;
    margin-top: 10px;
}
.passos .box .titulo {
    color: #000000;
    font-size: 20px;
    font-weight: bold;
}
.passos .box ul {
    margin: 10px 0;
    padding: 0;
    list-style: none outside none;
}
.passos .box ul li {
    color: #000000;
    font-size: 14px;
    line-height: 130%;
    list-style-position: outside;
    list-style-type: disc;
    margin-bottom: 1px;
    margin-left: 18px;
    padding: 0;
    width: 90%;
}
.passos a {text-decoration:underline;}

@media (max-width: 767px) {
	.container .eight.columns {width:100%}
}
@media (min-width: 768px) {
	.container .eight.columns {width:50%}
}

/*START pop-up seguro*/
#ctlm_message {
	background-image: url("../img/ajax-mask.gif");
	background-position: center bottom;
	background-repeat: repeat;
	opacity: 0.50;
	filter:alpha(opacity=50);
	position:absolute;
	z-index: 9001; /*ooveeerrrr nine thoussaaaannnd*/
	top:0px;
	left:0px;
	width:100%;
}
#ctlm_message-image {
	z-index: 9998;
}
#ctlm_message-image > div {
	position:relative;
	background: none repeat scroll 0 0 #FEFEFF;
	border: 2px solid #DDDDDD;
	*width:800px;
	*height:600px;
	max-width:800px;
	max-height:600px;
	z-index: 9999; /*ooveeerrrr nine thoussaaaannnd*/
	overflow-x:hidden;
	overflow-y:scroll;
	padding:10px;
	margin-right:auto;
	margin-left:auto;
	top:40px;
}
/*END pop-up seguro*/