body {
  background-color:   #fff;
  color:              #000;
  margin:             0px;
}
a
{
  color: #00f;
}
a:visited
{
  color: #309;
}
a.sc
{
  text-decoration: none;
  border-bottom:   1px dashed #00f;
}
.title
{
  background-color: #fff;
  color:#c00;
  font-size: 2em;
  padding: 1em 10px 1em 20px;
  margin-bottom: 0em;
  
}
.title a, .title a:visited
{
  color:#c00;
 /*  text-decoration: none; */
}

.stat
{
  font-size:  0.8em;
  padding:    0px 10px 5px 20px;
}

body, td, th
{
  font-family:      Verdana, Tahoma, Arial, sans-serif, Helvetica, Geneva;
  font-size:        80%;
}

h1
{
    font-weight:    normal;
    font-size:      2em;
    margin: 0;
    padding: 0.5em 10px 0.5em 10px;
/*    border-bottom:  1px solid #999; */
}
h1.service     { background-color: #fea; color: #f80; }
h1.church      { background-color: #bfa; color: #6b0; }
h1.institution { background-color: #aef; color: #0ac; }
h1.person      { background-color: #fcc; color: #c55; }

h2
{
    font-weight:  normal;
    font-size:    1.3em;
    margin:       2em 0 5px 0;
}
h3
{
    font-weight:    normal;
    font-size: 1.5em;
}
h4
{
    font-weight:    bold;
    font-size:      1.2em;
    margin-bottom:  0.5em;
}

table
{
  border-collapse: collapse;
}

td.slider
{
  padding:       10px;
/*
  border-left:   1px solid #ccc;
  border-right:  1px solid #ccc;
  border-bottom: 1px solid #ccc;
*/
  background-color: #fff;
}
table.grid td, table.grid th
{
    padding: 3px;
    border: 1px solid #ccc;
}
table.grid
{
    border: 1px solid #ccc;
}

a.active
{
  font-weight:      bold;
/*  text-decoration:  none; */
}
td.active
{
  background-color:   #cceeff;
}
.active_inner
{
  background-color:   #c66;
  color:              #ffffff;
  font-weight:        bold;
  padding:            2px;
  text-decoration:    none;
}

form {
  margin:  0px;
  padding: 0px;
}

textarea, select, input.input, .input, .input_required
{
  font-family:      Tahoma, Verdana, sans-serif, Arial, Helvetica, Geneva;  
  font-size:        100%;
  margin:           0px 0px 5px 0px;
  background-color: #ffffff;
  border: 1px solid #999999;
}
.input_required
{
  border: 1px solid #f99;
}

.control_buttons, input.submit
{
    color:              #333;
    background:         #ddd;
    border-left:        1px solid #fff;
    border-top:         1px solid #fff;
    border-right:       1px solid #999;
    border-bottom:      1px solid #999;
    font-size:          11px;

}
input.submit
{
    padding:         3px;
}
a.control_buttons
{
    padding:         5px;
    text-decoration: none;
    line-height:     30px;
}
input.save
{
  color: fff;
  background-color: #0b0;
}
input.del
{
  color: #333;
  background-color: #ddd;
}

td.main {  background-color:   #ffffff;}
td.header {  background-color:   #006699;}
td.menu {  background-color:   #003366;}
td.menu_red {  background-color:   #990000;}

.row0 { /*  background-color:   #f6f6f6; */ }
.row1 {}
.row0 td
{ 
  border-top: 1px solid #ccc; 
  border-bottom: 1px solid #ccc; 
}

th
{  
  color:            #000;
  text-align:       left;
}

p.header
{
  color:            #ffffff;
}

p.ushki
{
  font-family:      Tahoma, Verdana, Arial, sans-serif, Helvetica, Geneva;
  font-size:        10px;
}
a.ushki, a.ushki:visited
{
  color:            #000000;
  text-decoration:  none;
}

a.menu, a.menu:visited
{
  font-size:        100%;
  color:            #ffffff;
}

hr
{
  color:            #cccccc;
}

.label, .label_required {
  font-family:      Verdana, sans-serif;
  font-size:        0.7em;
  margin:           0px;
  padding:          1px 4px 1px 4px;
  background-color: #999;
  color:            #ffffff;
  text-transform:   uppercase;
}
.label_required {
    font-weight:        bold;
}

.BBorder
{
  border-bottom:    1px solid #999999;
}

.LRBorder
{
  border-left:     1px solid #999999;
  border-right:    1px solid #999999;
}

table.form td
{
    padding: 3px;
}

td.td_submit
{
    text-align: right;
}

table.insets
{
/*
    margin-top: 0.5em;
    margin-bottom: 1.5em;
*/
}

td.inset_on
{
    border-color: #ccc;
    border-width: 1px 1px 0 1px;
    border-style: solid;
    background-color: #fff;
    padding: 5px 15px;
}
td.inset_on a
{
    text-decoration: none;
    color: #000;
}

td.inset_off
{
    border-color: #ccc;
    border-width: 0 0 3px 0;
    border-style: solid;
    padding: 5px 15px;
    color: #00f;
    text-decoration: underline;
    cursor: hand;
}
td.inset_off a
{
    color: #36f;
}
td.inset_disable
{
    border-color: #ccc;
    border-width: 0 0 3px 0;
    border-style: solid;
    padding: 5px 15px;
    color: #ccc;
    text-decoration: none;
}
.inset
{
    border-color: #ccc;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    padding: 10px;
}

table.insets1
{
/*  background-color: #ccc; */ /*#dc9;*/
  margin: 0em 10px 1em 10px;
  border-top: 1px solid #c00;
  border-bottom: 1px solid #c00;
}

td.inset1_on, 
td.inset1_on_church, 
td.inset1_on_service, 
td.inset1_on_institution, 
td.inset1_on_person
{
  /*
  border-color: #ccc;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  background-color: #fff;
  padding: 5px 15px;
  */
  padding: 5px 10px 5px 10px;
  color: #000;
  font-size: 0.9em;
  font-weight: bold;
}
td.inset1_on a, td.inset1_on a:visited,
td.inset1_on_church a, td.inset1_on_church a:visited,
td.inset1_on_service a, td.inset1_on_service a:visited,
td.inset1_on_institution a, td.inset1_on_institution a:visited,
td.inset1_on_person a, td.inset1_on_person a:visited
{
  color: #c00;
}

td.inset1_on a
{
  color: #000;
  text-decoration: none;
}

td.inset1_off, td.inset1_off_service, td.inset1_off_church, td.inset1_off_institution, td.inset1_off_person 
{
  padding: 5px 10px 5px 10px;
  font-size: 0.9em;
  font-weight: bold;
}
td.inset1_off a
{

}
.inset1
{
  padding: 5px;
}
.inset2_service, .inset2_church, .inset2_institution, .inset2_person
{
    margin-bottom: 1em;
    padding:5px 0px;
}
.inset2_service     { background-color: #fea; }
.inset2_church      { background-color: #bfa; }
.inset2_institution { background-color: #aef; }
.inset2_person      { background-color: #fcc; }

.inset2_on
{
  background-color: #fff; 
  padding:5px 10px;
}
.inset2_off
{
  padding:5px 10px;
  color: #36f;
  text-decoration: none;
}

div.plate_checkout
{
  width: 90%;
  background-color: #99ee99;
  padding: 10px;
  text-align: center;
}
div.plate_locked
{
  width: 90%;
  background-color: #ff9999;
  padding: 10px;
  text-align: center;
}

.field_caption
{
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0.2em;
}

.search_select
{
    width: 400px;
}

.footer
{
  margin: 1em 10px 1em 10px;
  padding: 5px 10px;
  border-top: 1px solid #c00;
  text-align: center;
}

.confidential
{
  background-color: #fee;
}

a.gallery img
{
  border: 5px solid #ddd;
  margin: 5px 10px 0 0;
}
a.gallery:hover img
{
  border-color: #c99;
}

a:hover
{
  color: #c00;
}


table.datagrid
{
    width: 800px; /* Øèðèíà òàáëèöû */
    margin-left: 5px;
}
/**
* Format the table headers
*/
.datagrid thead th#header {
   
}
.datagrid thead th
{
    color: #339999;
    border: 1px solid #6699CC;
    font-size: 10pt;
    text-align: center;
    background-color: #DDE2E8;
    height: 30px;
 }
 
.datagrid thead th#header {
    border: 1px;
}
/**
* This is here to illustrate how to format the alternative rows
*/
.datagrid tbody td.altrow {
    background-color: #fff;
            
}
/**
* Format the alternative columns with a light grey background
*/
.datagrid tbody td.altcol
{
  background-color: #eee;
}
/**
* Format the table headers
*/
.datagrid tbody td {
    padding: 2px;
    border:#ccc 1px solid;
}
/**
* Format the mouseover
*/
.datagrid tbody tr:hover td{
    background-color: #FFB7B7;
}
.datagrid tbody tr.row_select
{
    background-color: #FFE6E6;
}
/**
* No link underlining
*/
.datagrid a
{
    text-decoration: none;
}