body
{
 /* background-color:#3399EE; */ 
  background-color:whitesmoke;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11pt;
}

h2 
{
  font-size: 14pt;
  color:#000000;   
}

legend
{
  background:#ffff00;
  color :#000000;
  border:1px solid ;
  border-radius:5px;
}

div
{
  position: relative;
}
.pack
{
  display: inline-block;
  position: relative;
}

.controls,
.labels
{
  display: inline-block;
  position: relative;
  font-size: 12px;
  vertical-align: top;
}
.labels
{
 text-align: right;
}


.rounded-input,
.labels>*,
.controls>*
{
  margin-top: 12px;
  line-height: 26px;
  display: block;
  height: 26px;
  border-radius: 6px;
}


.controls>*
{
  width: 250px;
  text-align: left;
}

.controls>*:focus
{
  -moz-box-shadow: 3px 3px 4px #3f3f3f;
  -webkit-box-shadow: 3px 3px 4px #3f3f3f;
  box-shadow: 3px 3px 4px #3f3f3f;
}

.text,
.controls textarea
{
  height: 50px;
  line-height: 26px;
}


.zerosize
{
  width: 0px;
  height: 0px;
  border: 0px solid #00000;
  display: none;
}

.fullwidth
{
  width:100%;
}

.nav
{
  display: block;
  text-align: right;
}

textarea,
input[type=text],
input[type=password]
{
  border: 1px solid lightgrey;
}

.warn
{
  color: red;
}

.left
{
  text-align: left;
}

.right
{
  float: right;
}
.hcenter, .hcentre
{
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

select
{ 
  border: 1px solid #D0D0CD; 
  background:#ffffff;  
}
input[type='submit'],[type='reset'] ,[type='button']
{
  cursor:pointer;
}

input:focus,
select:focus
{  
  border: 1px solid grey;
} 

p>i
{
  font-size: 12px;
}

#frame
{
  display: block;
  margin-left:1%;
  margin-right:1%;
  border:1px solid lightskyblue;
  /*border-radius:10px;*/
  padding:3px; 
}

#header
{
  display: block;
  z-index: 1000;
}


#menu
{
  display: block;
  font-size: 13pt;
/*  border:1px solid #DCD8EB;
  background: black;
  border-radius: 5px;*/
}

ul.menu
{
list-style-type:none;
/*margin:0;
padding:0;*/
z-index: 1000;
}

li.menu
{
display:inline;
}

#body
{
  display: block;
  background-color: rgb(254,214,7);
  border-radius: 6px;
}

#content
{
  text-align: left;
  margin-left:auto;
  margin-right:auto;
  display: block;
  padding: 5px;
}

#content>*
{
  margin-left: 4px;
  margin-right: 4px;
}

#footer
{
  display: block;
  font: normal 8 arial; 
  color: #ffffff;
  width: 100%;
  padding: 1px;
}

ul.footer
{
  list-style-type:none;
  margin:0;
  padding:0;
  color:#ffffff;
}
li.footer
{
  display:inline;
}


button
{
  height: 30px; 
  color: white;
  font-size: 13px;
  font-weight: lighter;
  background-color: #006BB6;
  border: 1px solid #3399EE;
  border-radius: 8px;
  margin-right: 20px;
}  

button:hover
{
  background-color: #3399EE;
}
.ajax_result
{
  border-radius: 8px;
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid grey;
  background: rgb(255,229,126);
  box-shadow: 0px 5px 90px rgb(136,136,136);
  position: absolute;
  opacity:1;
  filter:alpha(opacity=100);
  display: none;
  z-index:1000;
  width: 80%;
  left: 10%;
  max-width: 600px;
}

.ajax_result>p
{
  border: 1px solid green;
  padding: 2px;
  border-radius: 5px;
}

.ajax_result>p.error,
.error
{
  border: 1px solid red;
}

.form
{
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  width: 650px;
}
.form>p
{
  text-align: right;
  width: 30%;
  right: 30%;
  height: 18px;
  display: inline-block;
}

.form>p+*
{
  position: relative;
  width: 66%;
  display: inline-block;
  margin-left: 7px;
}

.form>p+a>*:first-child
{
  position: relative;
  width: 100%;
  display: inline-block;
  left: 0px;
  height: 30px;
  font-size: 13px;
  font-weight: normal;
  border-radius: 6px;
  border: 1px solid lightgrey;
}

.form>p+a>*:first-child:focus
{
  -moz-box-shadow: 3px 3px 4px #3f3f3f;
  -webkit-box-shadow: 3px 3px 4px #3f3f3f;
  box-shadow: 3px 3px 4px #3f3f3f;
}
/*
.form>p+a>*:first-child:focus:hover
{
  width: 66%;
}
*/


.form>p+a span
{
  display: none;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  position: absolute;
  top: 0px;
  left: 101%;
  font-size: 11px;
  font-weight: normal;
  font-style: italic;
  border-radius: 6px;
  border: 1px solid lightgrey;
  width: 160px;
  background: #FFFFC0;
  -moz-box-shadow: 3px 3px 4px #3f3f3f;
  -webkit-box-shadow: 3px 3px 4px #3f3f3f;
  box-shadow: 3px 3px 4px #3f3f3f;
}

.form>p+a:focus span,
.form>p+a:hover span
{
  z-index: 1000;
  display: block;
}

.form>p+a b
{
  display: block;
}

.error
{
  display: none;
  padding: 4px;
  border: 1px solid lightgrey;
  background: #fffff0;
  width: 100%;
  color: red;
  font-weight: normal;
  color: red;
  -moz-box-shadow: 3px 3px 4px #0f0f0f;
  -webkit-box-shadow: 3px 3px 4px #0f0f0f;
  box-shadow: 3px 3px 4px #0f0f0f;
}

/*  #uploading .progress {
    margin-left: auto;
    margin-right: auto;
    width: 50px;
    height: 50px;
    background-image: url('animated_progress.gif');
    background-position:center;
  }
  
  #uploading .error, #uploading .timeout
  {
    display: none;
  }
*/
#buttons
{
  margin-top: 30px;
  margin-bottom: 10px;
  text-align: center;
}

#buttons div
{
  position: relative;
  padding: 5px;
  display: inline;
  background-color:#006BB6;

  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  color: white;
  margin: 7px;
}

#buttons div:hover,
#buttons a:hover
{
        background-color: #3399EE;
}

#buttons a
{
  text-decoration: none;
  font-style: normal;
  font-weight: 200;
  color: white;
}

.progress 
{ 
  position:relative; 
  width:400px; 
  margin-left: auto;
  margin-right: auto;
  border: 1px solid grey; 
  padding: 1px; 
  border-radius: 3px; 
}
.bar { background-color: #3399EE; width:0%; height:20px; border-radius: 3px; }
.percent { position:absolute; display:inline-block; top:3px; left:48%; }
.desc{
  text-align: center;
}