.clear {
   clear: both ! important;
   float: none ! important;
   font-size: 0 ! important;
   height: 0 ! important;
   display:block ! important;
   padding: 0 ! important;
   margin: 0 ! important;
   border: none ! important;
   border-top: none ! important;
   border-bottom: none ! important;
   border-left: none ! important;
   border-right: none ! important;
}

img {
    border: 0;
}

body {
  background-color: #fffdeb;
  padding: 8px;
}

.selected {
  font-weight: bold;
}

#menu {
    list-style-type: none;
    border:1px solid black;
    margin: 0 0 0.5em 0;
    padding: 0;
}

#menu li {

    display: block;
    float:left;
    padding: 4px;
    background-color: #eee;
    border: 1px solid black;
    border-top: none;
    border-left: none;
    border-right: none;
}

#menu li a {
    text-decoration: none;
}

#menu li a:hover {
    text-decoration: underline; 
}

#menu li.selected {
    border-bottom: none;
    padding-top: 2px;
    border-top: 2px solid black;
    border-left: 2px solid black;
    border-right: 2px solid black;

}

#menu li.lang_selected {
    font-weight: bold;

}

#submenu_wrapper {
    float: left;
    width: 15%;
}

#submenu {

    list-style-type: none;
    border: 1px solid black; 
    background-color: #e9e9e9; 
    margin: 0 0.5em 0 0;
    padding: 1em;
}

#submenu li {
    
}


#content_wrapper {
    float:left; 
    width: 85%;
}

#content {
    padding:10px;
    margin: 0;
    background-color: #fffdeb; 
    border: 1px solid black; 
}

table tbody td {
    border-left:1px solid #666;
}

table tbody td:first-child {
    border-left:none;
}


table tbody tr.dark td {
    background-color: #ddd;

}

table tbody td {
    background-color: #eee;

}

table tbody td:hover, table tbody tr.dark td:hover {
    background-color: #cfc;

}

table {
    border: 1px solid black;
    empty-cells:show;
}

table caption {
    background-color: #cfc;
    border: 1px solid black;
    border-bottom: none;
}

thead td {

    background-color: #DDD;
    border-bottom: 3px solid #CCC;
    font-weight: bold;
    text-align:center;
    
}

.buttons {
    
    margin: 0.5em;
    clear: both;
    float: none;

}

input,select {

    font-size: 0.8em;

}

.button {
      background-color: #dcdad5;
      border: 1px solid;
      border-bottom-color: #000;
      border-right-color: #000;
      border-top-color: #fff;
      border-left-color: #fff;
      padding: 0px 0.5em 0px 0.5em;
      margin-left: 0.2em;
      margin-right: 0.2em;
      color: black;
      text-decoration: none;
      
}

.button:active {
      border-bottom-color: #fff;
      border-right-color: #fff;
      border-top-color: #000;
      border-left-color: #000;
}

.button:hover {
      color: #00c;
}

.down:active {
      border-bottom-color: #000 ! important;
      border-right-color: #000 ! important;
      border-top-color: #fff ! important;
      border-left-color: #fff ! important;
}

.down {
      border-bottom-color: #fff ! important;
      border-right-color: #fff ! important;
      border-top-color: #000 ! important;
      border-left-color: #000 ! important;

}


.bt_del {
      background-position: 2px center;
      background-image:url(/engine/admin/tpl/images/delete.gif);
      background-repeat: no-repeat;
      padding-left: 20px;
    
}

.bt_plus {
      background-position: 2px center;
      background-image:url(/engine/admin/tpl/images/plus.gif);
      background-repeat: no-repeat;
      padding-left: 20px;
}

p.hint {
    margin: 0;
    padding: 0;
    color: blue;
}

fieldset.hide * {
    display:none;
}

fieldset.hide legend {
    display:block;
}


fieldset * {
    clear: both;
    float: none;
    min-height: 1em;
}

fieldset legend {
    font-weight: bold;
}

.fields {
    list-style-type: none; 
    min-height: 1px;
    padding: 0;
    margin: 0;
}

.fields label {

    float: left;
    width: 10em;
    clear: left;
    padding-right: 0.5em;
    text-align: right;

}


.fields select, .fields input, .fields .input  {

    float: left;
    width: 20em;
    clear: right;
    margin-bottom: 0.2em;
}

.fields textarea {
    float: left;
    width: 40em;
    clear: right;
    margin-bottom: 0.2em;
}

.fields li  {

    float: none;
    clear:both;
    padding: 0;
    margin: 0;
    display: block;
/*    border: 1px solid black;  */
}

.calendar {
    float:right;
    border:1px solid black;

}

.calendar .days td.selected {

    font-weight:bold;
    background-color:#BBF;
}


.list {

    float:left;
}