#xdbform fieldset {
  border: 1px solid #cccccc;
  padding: 10px 0 10px 15px;
  margin: 0 0 10px 0;
  height: auto;
}
#xdbform {
  margin: 5px 0 10px 0 !important;
  width: 100%;
}
#xdbform fieldset legend {
  display: inline !important;
  font-family: Trebuchet, Trebuchet MS, Arial, Sans-serif;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-left: 0px;
}
#xdbform fieldset {
    border-color: #666666;
}
#xdb_search #xdbform fieldset {
    border-color: #cccccc;
}
#xdbform p {
  clear: left;
  /*white-space: nowrap;*/
  margin: 0 0px 8px 0;
}

#xdbform span.xdbl {
  float: left;
  width: 22.5%;
  white-space: normal;
  font-size: 11px;
  padding: 2px 0 0 0;
  margin-right: 2.5%;
}

#xdbform input.textinput, #xdbform select.textinput, #xdbform textarea.textinput {
  font-family: Trebuchet, Trebuchet MS, Arial, Sans-serif;
  background: #f0f0f0;
  font-size: 11px;
  line-height: 13px;
  width: 70%;
  border-top: 2px inset #ffffff;
  border-left: 2px inset #ffffff;
  border-right: 2px inset #ffffff;
  border-bottom: 2px inset #ffffff;
}
#xdbform .day .textinput { width: 20px !important;} 
#xdbform .month .textinput { width: 20px !important;} 
#xdbform .year .textinput { width: 33px !important;} 
#xdbform .hour .textinput { width: 20px !important;} 
#xdbform .minutes .textinput { width: 20px !important;} 
#xdbform select.textinput {
  width: 71%;
}

#xdbform .inline, #xdbform .inlinef {
  clear: none;
  float: left;
  width: 50%;
}

#xdbform .inlinef span.xdbl {
	width: 45%;
}
#xdbform .inline span.xdbl {
	width: 35%;
	padding-left: 2.5%
}
#xdbform .inlinef, #xdbform .break {
  clear: both;
}
#xdbform .inlinef>span.xdbl {
  padding-right: 2.5%
}
#xdbform .full {
    float: none !important;
    clear: none;
    height: 295px;
}
#xdbform .full textarea {
    height: 240px;
    margin-top:25px;
}
#xdbform .full .textinput {
  width: 95%;
}
#xdbform .full span.xdbl {
    float: none;
    width: 100%;
}
#xdbform .pseudoinline {
  width: 195px;
}


#xdbform .inline .textinput, #xdbform .pseudoinline .textinput {
  width: 47.5%;
}
#xdbform .inlinef .textinput {
  width: 42.5%;
}

#xdbform .inline select.textinput, #xdbform .inlinef select.textinput, #xdbform .pseudoinline select.textinput {
  width: 48.5%;
}
#xdbform p#button {
  padding: 5px 0 0 0px;
}
.submitinput, .btn input {
  font-family: Arial, Sans-serif;
  background: none;
  background: url('/_images/botao100.png') no-repeat;
  width: 100px;
  font-size: 12px;
  cursor: pointer;
  line-height: 10px;
  vertical-align: middle;
  height: 20px;
  margin-right: 10px;
  color: #000099;
  text-align: center;
  border: none;
}
.btn input:active {
  padding: 0px;
}
a.submitinput, a:hover.submitinput, a:visited.submitinput, a:link.submitinput {
   color: #000000;
   padding: 2px 10px;
   text-decoration: none;
}
a:active.submitinput {
  border: 2px inset #ffffff;
  color: #000000;
  padding: 2px 10px;
  text-decoration: none;
}
.forbid, #forbid { color: #999999; }

#xdbform .longdesc span.xdbl {
  width: 240px;
}

#xdbform .longdesc .textinput {
  width: 240px;
}

#xdbform .longdesc select.textinput {
  width: 245px;
}
#xdb .infov { margin: 5px 0px 10px 0; width: 100%;  }
#xdb .infov td, #xdb .infov th { padding: 5px 5px 5px 0px; white-space: normal; vertical-align: top;}
#xdb .infov td { width: 70%; }
#xdb .infov th { width: 150px; color: #666688; }
#xdb .infov th.legend { width: 100%;color: #333366; border-bottom: 1px solid #333366; }
#xdb .info { margin: 5px 0px 10px 0; width: 100%; border-bottom: 1px solid #666666; }
#xdb .info th { color: #666666; border-bottom: 1px solid #666666; }
#xdb td, #xdb th { padding: 2px 10px 3px 0px; text-align: left; }
#xdbv, div.textinput {
    line-height: 15px;
    display: block;
    float: left;
}
#xdbform .xdbdesc {
  float: left;
  color: #666666;
  white-space: normal !important;
  width: 110px !important;
  
}
#xdbform .htmlarea {
    float: left;
}

#xdbcalendar { width: 175px; height: 165px; font-family: Trebuchet, Trebuchet MS, sans-serif; font-size: 13px; float: left;margin: 0;}
#xdbcalendar .xdbl { width: auto; color: #000000; font-weight: bold;  padding: 5px; border: none !important; }
#xdbcalendar .day { float: left; width: 20px; height: 15px; border-left: 1px solid #7788bb; padding: 3px 0px 0px 3px; background: #eeeef6; }
#xdbcalendar .xdbl .day { height: 15px; border-left: 1px solid #000000; padding: 0px 1px 0px 2px; text-align: center; font-weight: normal; background: none !important; }
#xdbcalendar .week { clear: both; border-top: 1px solid #7788bb; padding: 0px !important; }
#xdbcalendar .month { float: left; width: auto; }
#xdbcalendar .blank { border-left: 1px solid #7788bb; background: none !important;}
#xdbcalendar a:link, #xdbcalendar a:visited { text-decoration: none; color: #000066; background: #eeeef6; }
#xdbcalendar a:hover, #xdbcalendar a:active { text-decoration: none; background: #ddddee; }
#xdbcalendar .xdbl a:link, #xdbcalendar .xdbl a:visited, #xdbcalendar .xdbl a:hover, #xdbcalendar .xdbl a:active { background: none !important; }
#xdbcalendar .selected { color: #883333; background: #ddcccc; }
.xdbnested { padding-bottom: 10px; }
.listlabel { border-bottom: 1px solid #666666; }
/*.xdbnested p:first-child { border-top: 1px solid #666666; }*/

.export {
  margin: -20px 0 30px 0px;
}
.mselect select { height: 100px; }

#xstatus {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 20px;
  background: #990000;
  color: #ffffff;
  padding: 5px 0px 5px 40px;
  z-index: 1000;
}
.xdbnested { padding-bottom: 10px; }
.xdbnested .listlabel { border-bottom: 1px solid #666666; }
.export { margin: -20px 0 30px 0px; }
.mselect select { height: 100px; }
.searchvalue { color: #990000; font-style: oblique; }
.searchterm { font-style: oblique; }
.busca #xdbform { margin: 0px !important; }
.busca .xdbl { float: none !important; display: block !important; width: auto !important; }
.busca #xdbform input.textinput { width: 95%; }
#xdbmsgbox { border: 1px solid #000099; z-index: 1001; padding: 5px 10px; background: #edf0ff; width: 190px; height: 50px; vertical-align: middle; margin-top: 23px; }
#xdbmsgbox input { background: #dde0f0; border: 1px outset #334455; font-size: 11px; width: 80px; margin-right: 10px; }
.readonly { color: #666666; }
.readonly input.textinput, .readonly select.textinput option { background: #cccccc !important; color: #666666; }
.required .textinput, .required .textinput option { background: #ffeecc !important; }
.readonly { color: #666666; }
.readonly input.textinput, .readonly select.textinput option { background: #cccccc !important; color: #666666; }
#xstatus { display: none; position: fixed; bottom: 0px; left: 0px; width: 100%; height: 20px; background: #990000; color: #ffffff; padding: 5px 0px 5px 40px; z-index: 1000; }
.xsearch { background: #ffeecc; border: 1px solid #aa9977; z-index: 100; width: 49% !important; }
.inlinef .xsearch, .inline .xsearch { width: 24.5%; }
.xsearch p { margin: 0px; padding: 0px 8px; }
.xsearch a { display: block; width: 100%; margin-left: -8px; padding: 4px 8px; color: #000000; }
.xsearch a:link, .xsearch a:visited { color: #000000; text-decoration: none; }
.xsearch a:hover, .xsearch a:active { color: #000000; text-decoration: none; background: #eeddbb; }
.busca select, .busca select.textinput option { width: 95% !important; }
