.ttform{overflow:hidden;}
.ttform .ss, .ttform .er,.ttform input,.ttform textarea,.ttform fieldset,.ttform legend,.ttform a,.ttform button {border-radius:3px}
.ttform fieldset {padding:5px;margin:5px 3px;border:3px solid #e5e5e5;background:#F5F5F5;position:relative\9; font-size:12px;}

.ttform fieldset.nu {padding-top:0}
.ttform legend{font-weight:700;color:#555;padding:2px 10px;background:#e5e5e5;margin-top:5px; margin-left:5px;top:-10px\9;left:20px\9;*left:13px;position:absolute\9}

.ttform label{margin-top:5px;font-weight:700;float:left;display:inline}
.ttform label small{font-size:.8em;font-weight:100;color:#555}
.ttform label,.ttform input,.ttform textarea,.ttform select{display:block;width:100%;color:#333}

.ttform label.l2  {width:48%;_width:47.3%;}
.ttform label.l23 {width:62%;_width:60.6%;}
.ttform label.l34 {width:72%;_width:70.8%;}
.ttform label.l3  {width:31%;_width:30.3%;}
.ttform label.l4  {width:23%;_width:22.5%;}
.ttform label.l5  {width:18%;_width:17.0%;}
.ttform label.l6  {width:15%;_width:14.5%;}
.ttform label.l7  {width:13%;_width:12.5%;}

.ttform label.l2, .ttform label.l23, .ttform label.l34, .ttform label.l3, .ttform label.l4, .ttform label.l5, .ttform label.l6, .ttform label.l7 {margin-right:2%;_margin-right:1%;}


.ttform .ll{margin-right:0}
.ttform input.ld {margin-top:38px}
.ttform input, .ttform textarea{padding:2px 0;border:1px solid #ccc;}
.ttform input[type=text],.ttform input[type=password] {box-shadow: inset 0 1px #eee;}
.ttform input[type=text]:focus, .ttform input[type=password]:focus{border-color:#2771EC;background:#fff}
.ttform select{padding:2px}
.ttform textarea{height:auto; width:auto;}
.ttform div{float:left;width:100%}
.ttform input.h, .ttform input[type=hidden]{display:none}
.ttform br {clear:both}
.ttform input[type=checkbox] {margin-right:10px;}



.ttform p.fl, .ttform a.fl {float:left; padding-right:10px}
.ttform p label { margin:0; padding:0;font-weight:normal;}
.ttform p input{float:left;clear:left;border:0;width:auto;padding:2px;}
.ttform p{font-weight:100; clear:left; margin:10px !important; line-height:1.7em !important}

.ttform .confirmar, .ttform .novo, .ttform .enviar, .ttform .cancelar, .ttform .apagar, .ttform .imprimir, .ttform .editar, .ttform .avancar, .ttform .anterior, .ttform .proximo, .ttform .pdf, .ttform .pesquisar, .ttform .upload{padding:6px 8px 10px 40px;*padding:8px 8px 8px 37px;margin: 22px 30px 10px 0;cursor:pointer;color:#333;width:auto;overflow:visible;border:1px solid;float:left;font:700 90%/1 Arial,Verdana,sans-serif;height:33px;box-shadow:1px 2px 2px #ccc,inset  0 1px 0 rgba(255,255,255,.3), inset 0 -2px 0 rgba(0,0,0,.3);text-shadow: 1px 1px rgba(0,0,0,.4);background:url("btnm.png") no-repeat;color:#fff}
.ttform .confirmar:hover, .ttform .novo:hover, .ttform .enviar:hover, .ttform .cancelar:hover, .ttform .apagar:hover, .ttform .imprimir:hover, .ttform .editar:hover, .ttform .avancar:hover, .ttform .anterior:hover, .ttform .proximo:hover, .ttform .pdf:hover, .ttform .pesquisar:hover, .ttform .upload.hover,.ttform .upload:hover{border-color:#000;text-shadow:3px 3px rgba(0,0,0,.7);margin:22px 30px 10px 0}
.ttform .confirmar:active, .ttform .novo:active, .ttform .enviar:active, .ttform .cancelar:active, .ttform .apagar:active, .ttform .imprimir:active, .ttform .editar:active, .ttform .avancar:active, .ttform .anterior:active, .ttform .proximo:active, .ttform .pdf:active, .ttform .pesquisar:active, .ttform .upload:active, .ttform .upload.click {height:30px;margin-top:22px;padding-top:9px;box-shadow:inset  0 1px 1px rgba(0,0,0,.5);text-shadow: 1px 1px rgba(0,0,0,.4);}
.ttform .ti{text-indent:-9999px;width:35px;padding-left:25px;}

.ttform .confirmar, .ttform .enviar{background-color:#699A00;background-position:0 -374px;border-color:#3e6a00}
.ttform .novo{background-color:#178bc4;background-position:0 -194px;border-color:#02588a}
.ttform .cancelar, .ttform .apagar{background-color:#c33801;background-position:0 -338px;border-color:#892700}
.ttform .imprimir{background-color:#525252;background-position:0 -230px;border-color:#3c3c3c}
.ttform .editar{background-color:#F5D51B;background-position:0 -87px;border-color:#B19401;color:#5F5300;text-shadow:1px 1px rgba(255,255,255,.5)}
.ttform .avancar{background-color:#98a600;background-position:0 -51px;border-color:#687100}
.ttform .anterior{background-color:#825508;background-position:0 -14px;border-color:#4d4300}
.ttform .proximo{background-color:#825508;background-position:0 -265px;border-color:#4d4300}
.ttform .pdf{background-color:#777;background-position:0 -160px;border-color:#555}
.ttform .pesquisar{background-color:#813ccd; background-position:0 -123px;border-color:#470078}
.ttform .upload{background-color:#C01958; background-position:0 -517px;border-color:#950038}
.ttform .editar:hover {text-shadow:1px 1px #fff}

.ttform a.confirmar,.ttform a.novo,.ttform a.enviar,.ttform a.cancelar,.ttform a.apagar,.ttform a.imprimir,.ttform a.editar,.ttform a.avancar,.ttform a.anterior,.ttform a.proximo,.ttform a.pdf,.ttform a.pesquisar, .ttform a.upload{background-image:url("a2btn.png"); background-repeat: no-repeat; background-color:transparent;margin: 5px 5px 5px; padding:5px 5px 5px 23px;font:normal 1/1 Arial,sans-serif;text-decoration:none;border:1 solid;box-shadow:none;border-radius:0;height:auto;text-shadow:none}
.ttform a.confirmar:hover,.ttform a.novo:hover,.ttform a.enviar:hover,.ttform a.cancelar:hover,.ttform a.apagar:hover,.ttform a.imprimir:hover,.ttform a.editar:hover,.ttform a.avancar:hover,.ttform a.anterior:hover,.ttform a.proximo:hover,.ttform a.pdf:hover,.ttform a.pesquisar:hover, .ttform a.upload:hover,
.ttform a.confirmar:active,.ttform a.novo:active,.ttform a.enviar:active,.ttform a.cancelar:active,.ttform a.apagar:active,.ttform a.imprimir:active,.ttform a.editar:active,.ttform a.avancar:active,.ttform a.anterior:active,.ttform a.proximo:active,.ttform a.pdf:active,.ttform a.pesquisar:active, .ttform a.upload:active{border:0 none;margin: 5px 5px 5px;text-decoration:underline;text-shadow:none;box-shadow:none;height:auto;padding-top:7px}
.ttform a.confirmar,.ttform a.enviar{color:#547229}
.ttform a.novo{color:#40658B}
.ttform a.cancelar,.ttform a.apagar{color:#9A1905}
.ttform a.imprimir{color:#555}
.ttform a.editar{color:#7D7640}
.ttform a.avancar{color:#647229}
.ttform a.anterior{color:#7D5E40}
.ttform a.proximo{color:#7D5E40}
.ttform a.pdf{color:#666}
.ttform a.pesquisar{color:#6B407D}
.ttform a.ti{padding:18px 10px 4px; *padding:11px 9px 11px; *margin-bottom:-5px;font:0/0 sans-serif;color:rgba(255,255,255,0);display:inline-block;margin-left:10px;width:0;height:0;*overflow:hidden;}

.ttform .dis, .ttform button[disabled], .ttform input[disabled] {background-color:#777;background-position:0 -301px;border-color:#555}
.ttform input:active, .ttform button:active, .ttform input.act, .ttform button.act {background-position:0 -412px;}
.ttform input.button[class]{width:auto}
.ttform input.v,.ttform textarea.v{border: 1px solid #D37D68;}
.ttform .ss, .ttform .er {font-weight:700;font-size:.8em;float:none;position:absolute;margin:-5px 0 0 10px;padding:3px 10px;color:#fff;z-index:99}
.ttform .ss{background:#4D6C33}
.ttform .er{background:#AF3229}
.ttform .er span, .ttform .ss span {display:block;position:absolute;bottom:-15px;left:5px;width:0;height:0;border-width:8px;border-style:solid;_border-style:solid dotted dotted;border-color:#AF3229 transparent transparent;_font-size:0;_line-height:0}
.ttform .ss span{border-top-color:#4D6C33}
.ttform .er span.cr,.ttform .ss span.cr {_border-style: dotted solid dotted dotted; border-width:7px;left:-14px;bottom:3px;border-color:transparent #AF3229 transparent transparent;}
.ttform .ss span.cr{border-right-color:#4D6C33}
.ttform .ast{padding:0 8px; background: transparent url("btnm.png") no-repeat -10px -457px;}
.ttform .sus{padding:0 10px; background: transparent url("btnm.png") no-repeat -8px -485px;}

.ttform .ghost {position:absolute;z-index:90;font-size:22px;opacity:0;filter:alpha(opacity=0);-ms-filter:"alpha(opacity=0)";left:-70px;cursor:pointer;_cursor:hand;width:220px;line-height:0;letter-spacing:7px}
.ttform button.upl {position:absolute;top:0;left:0;margin-top:0;z-index:10;}
.ttform span.upltxt {display: block;margin-left:150px;padding:5px;font-weight:normal;height:10px;font-style:italic;color:#666;z-index:99;position:absolute;height:26px;}
