#admin table, #translate table
{
  width: 100%;
}

#admin-panel
{
  width: 300px;
  margin: 10px auto;
  border: 1px solid #ccc;
  padding: 10px;
  background: #666;
  text-align: center;
}

#login-error
{
  text-align: center;
  font-style: italic;
}

/**
 * ADMIN/IHVH
 */
body
{
  padding: 50px 10px 20px 10px;
  background: black url( 'ihvh.png' ) fixed no-repeat;
}

#page, #content
{
  margin: 0;
  padding: 0;
  background: none;
}

h1, #articles, #navigation, #footer, #header
{
  display: none;
}

#module-table h2, #module-table h3
{
  display: block;
}

/* add some new stuff */

button#save
{
  margin-left: 25px;
}

textarea.mini
{
  height: 100px;
}

table#pages, table#updates, table#blank-pages
{
  width: 60%;
}

td.false a
{
  color: #555;
}

#ajax-status
{
  position: fixed;
  top: 0;
  left: 0;
  padding: 5px;
  background-color: #aaa;
  color: black;
  z-index: 500;
}

#ajax-cloud
{
  display: none;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: transparent;
  background-image: url( 'cloud.gif' );
}

#ajax-select-box
{
  position: fixed;
  bottom: 0;
  right: 0;
  border-top: 1px solid #444;
  border-left: 1px solid #444;
  padding: 8px;
  background: #222;
  max-height: 200px;
  overflow: auto;
}

#ajax-select-box ul
{
  margin: 0 0 5px;
  padding: 0;
}

#ajax-select li
{
  background: transparent;
  margin: 0;
  padding: 0 0 3px;
}

#ajax-select-box a#clearselect
{
  color: #666;
}

#control, .create
{
  width: 40%;
  margin: 10px auto;
  border: 1px solid #666;
  padding: 10px;
  background-color: #222;
  text-align: center;
}

#control
{
  position: fixed;
  bottom: 0;
  left: 0;
  width: auto;
  margin: 0;
  border-left: 0;
  border-bottom: 0;
}

#module-table
{
  border: 1px solid #444;
  background: black;
}

#english
{
  width: 400px;
}

td.english
{
  background: black;
}

td.module
{
  border: 1px solid white;
  padding: 0;
  background-color: #333;
  vertical-align: top;
}

#translate td.module
{
  border: 0;
  background: transparent;
}

td.module a.title
{
  display: block;
  padding: 10px;
  background-color: #222;
}

td.module a.title:hover
{
  background-color: #444;
}

.module-edit
{
  display: none;
}

td.module table
{
  clear: both;
  margin: 0;
}

td.module table th
{
  width: 15%;
}

td.module table td
{
  padding: 10px;
}

.info
{
  float: left;
  padding: 5px;
}

.remove
{
  display: block;
  padding: 5px;
  float: right;
}

td.move
{
  width: 15px;
  padding: 0;
  border: 0;
  vertical-align: middle;
  background: transparent;
}

td td img
{
  display: block;
  margin-bottom: 10px;
  border: 2px solid white;
  padding: 10px;
  background: url( 'preview.png' ) 5px 5px;
}

.english img
{
  width: 50%;
  display: inline;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.english
{
  overflow: hidden;
}

a.up, a.down
{
  display: block;
  width: 15px;
  height: 15px;
  border: 0;
  background-image: url( 'up.png' );
  text-indent: 1000px;
  overflow: hidden;
}

a.down
{
  margin-top: 5px;
  background-image: url( 'down.png' );
}

#image-select
{
  display: none;
  height: 400px;
  width: 500px;
  position: fixed;
  left: 50%;
  top: 50%;
  margin: -220px 0 0 -270px;
  border: 10px solid #555;
  padding: 10px;
  background-color: black;
}

#image-select div
{
  margin: 0 20px;
  height: 25px;
}

#image-select div a
{
  display: block;
  float: left;
  width: 33%;
  padding: 3px 0;
  text-align: center;
  background-color: #222;
}

#image-select a:hover
{
  background-color: #333;
}

#image-select ul
{
  clear: both;
  height: 360px;
  margin: 5px 0 0;
  border: 1px solid #555;
  padding: 5px 0 5px 25px;
  overflow: auto;
}

#image-select li
{
  list-style-image: url( 'file.gif' );
  padding: 0;
  background: transparent;
  border-bottom: 1px solid #222;
}

#image-select li.dir
{
  list-style-image: url( 'dir.gif' );
}

#image-select ul a
{
  display: block;
  padding: 3px 5px;
  margin-bottom: 2px;
}

#image-select ul a:hover
{
  background-color: #111;
}

#title-upload
{
  visibility: hidden;
  height: 200px;
  width: 400px;
  position: fixed;
  left: 50%;
  top: 50%;
  margin: -120px 0 0 -220px;
  border: 10px solid #555;
  padding: 10px;
  background-color: black;
}

iframe
{
  height: 200px;
  width: 400px;
}

#clipboard
{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow: auto;
  border-top: 1px solid #666;
  background: #222;
}

#clipboard table
{
  width: 80%;
  margin: 5px 0 5px 10%;
}

#viewer
{
  display: none;
  height: 400px;
  width: 500px;
  position: fixed;
  left: 50%;
  top: 50%;
  margin: -220px 0 0 -270px;
  border: 10px solid #555;
  padding: 10px;
  background-color: black;
}

#viewer a
{
  float: right;
}

#viewer-holder
{
  display: block;
  height: 358px;
  margin-top: 20px;
  border: 1px solid white;
  padding: 10px;
  overflow: auto;
  background: url( 'preview.png' ) 5px 5px;
}

#browser tr:hover td
{
  background-color: #151515;
}
