html {
    background-color: #cfd9e8;
    height:100%;
}

body {
    min-width: 960px;
    font-family: helvetica, arial, sans-serif;
    font-size: small;
    text-align: center;
    background-color: #cfd9e8;
    height:100%;
}

html>body #container {
    overflow: auto;
    min-height: 100%;
}

a { color: #2d5e9a; }
a:hover { color: #164987; }

#container {
    background: #cfd9e8 url(../images/background.png) center top repeat-y;
    width: 960px;
    min-width: 960px;
    margin: 0 auto;
    text-align: center;
}

#header {
    width: 960px;
    background: transparent url(../images/top-bar.png) left top no-repeat;
    height: 48px;
    text-align: left;
}

#footer {
    background: #cfd9e8 url(../images/background.png) center bottom repeat-y;
    margin: 0 auto;
    width: 960px;
    font-size: 80%;
    color: #aaa;
    text-align: right;
}

#footer-inner {
    text-align: right;
    padding: 16px;
}

#bar {
    float: left;
    width:200px;
    text-align: left;
}

#workarea {
    float: right;
    width: 760px;
    min-height: 550px;
    text-align: left;
    height:100%;
}

#workarea-inner {
    padding: 16px;
}

#save_changes_msg {
	display: none;
	padding: 15px 10px;
	margin: 0px 0px 5px;
	background-color: #e9ffd4; /* #ffc7c7 : red==warning */
	color: #000;
	border-top: 1px solid #0b0;
	border-bottom: 1px solid #0b0;
	font-weight: bold;
	text-align: center;
}

#nav {
}

#nav li {
    font-size: 12px;
    height: 32px;
    min-height: 32px;
    background: transparent url(../images/menu-sep.png) left bottom no-repeat;
}

#nav li a {
    height: 32px;
    padding-left: 16px;
    padding-top: 8px;
    display: block;
    color: #204a87;
    text-decoration: none;
}

#nav li:hover {
    background: transparent url(../images/menu-highlight.png) left top no-repeat;
}

#body-status #status,
#body-general #general,
#body-vserver #vserver,
#body-vservers #vserver,
#body-source #source,
#body-icon #icon,
#body-mime #mime,
#body-advanced #advanced
{
    background: transparent url(../images/menu-active.png) left top no-repeat;
    font-weight: bold;
}

#logo {
    height: 48px;
    padding-left: 16px;
    z-index: 100;
    position: absolute;
}

#version {
    font-size: 80%;
    color: #4475b4;
    padding-left: 8px; 
    position: absolute;
    padding-left: 174px;
    top: 27px;
}


h1 {
    color: #c00;
    font-weight: normal;
    font-size: 150%;
    margin-bottom: 0.5em;
}

h2 {
    color: #204a87;
    font-weight: normal;
    font-size: 120%;
    letter-spacing: -1px;
}

h3 {
    color: #666;
    font-size: 100%;
    font-weight: bold;
    margin: 0.4em 0;
}

p {
    line-height: 1.1em;
    margin: 0 0 0.6em 0;
}

table td {
    padding: 0.2em;
}

table td label {
    float: right;
}

.error {
    color: #CC0000;
}

/** CHANGES **/
#changes_div {
    padding: 16px;
}


/** HELP **/
#help-area {

}

#help {
    z-index: 100;
    position: absolute;
    width: 744px;
    margin-left: 200px;
    top: 26px;
    font-size: 85%;
    color: #fff;
}

#help ul {
   float: right;
   z-index: 100;
}


#help li.htop {
    text-align: right;
    height: 22px;
}

#help li.htop span {
    color: #fff;
    text-decoration: none;
    height: 32px;
    padding: 8px;
}

#help ul:hover li.htop span {
    background-color: #4475b4;
   padding: 8px;
}

#help li.hitem {
   width: 11em;
   color: #204a87;
   background-color: #e9eef4;
   border-collapse: collapse;
   border: 1px solid #a9c0dc;
   border-top: 1px solid #fff;
   padding: 8px;
   display: none;
}

#help ul:hover li.hitem {
   display: block;
}

  
#help li.hitem:hover {
   background-color: #e2e9f1;
}

#help li.hitem a {
   display: block;
   color: #204a87;
   text-decoration: none;
}


#help-contents {
    background: #f3f7fc url(../images/help.png) 4px 4px no-repeat;
    border-top: 1px solid #bacce2;
    border-bottom: 1px solid #bacce2;
    display: none;
    padding: 1em 1em 1em 40px;
    margin-bottom: 1em;
}
/** INFO **/
.dialog-information {
    background: #f3fbfb url(../images/dialog-information.png) 4px 4px no-repeat;
    border-top: 1px solid #bacce2;
    border-bottom: 1px solid #bacce2;
    padding: 1em 1em 1em 40px;
    margin: 1em 0;
}
.dialog-important-information {
    background: #e9ffd4 url(../images/dialog-information.png) 4px 4px no-repeat;
    border-top: 1px solid #73d216;
    border-bottom: 1px solid #73d216;
    padding: 1em 1em 1em 40px;
    margin: 1em 0;
}
/** WARNING **/
.dialog-warning {
    background: #fbf7da url(../images/dialog-warning.png) 4px 4px no-repeat;
    border-top: 1px solid #edd400;
    border-bottom: 1px solid #edd400;
    padding: 1em 1em 1em 40px;
    margin: 1em 0;
}
/** ERROR **/
.dialog-error {
    background: #ffe7e7 url(../images/dialog-error.png) 4px 4px no-repeat;
    border-top: 1px solid #c00;
    border-bottom: 1px solid #c00;
    padding: 1em 1em 1em 40px;
    margin: 1em 0;
}
/** OFFLINE **/
.dialog-offline {
    background: #fbf7da url(../images/offline.png) 4px 4px no-repeat;
    border-top: 1px solid #edd400;
    border-bottom: 1px solid #edd400;
    padding: 1em 1em 1em 80px;
    margin: 1em 0;
    overflow: auto;
}
/** ONLINE **/
.dialog-online {
    background: #e9ffd4 url(../images/online.png) 4px 4px no-repeat;
    border-top: 1px solid #73d216;
    border-bottom: 1px solid #73d216;
    padding: 1em 1em 1em 80px;
    margin: 1em 0;
    overflow: auto;
}

.dialog-information h2,
.dialog-warning h2,
.dialog-error h2
{
    margin: 0 0 0.3em 0;
    padding: 0;
    font-size: 100%;
    font-weight: bold;
    letter-spacing: 1px;
    color: #000;
}

/* TABS */
.ui-tabs-hide { display: none; }

.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
}

.ui-tabs-nav:after {
    display: block;
    clear: both;
    content: " ";
}

.ui-tabs-nav li {
    float: left;
    margin: 0 0 0 2px;
    min-width: 84px; /* be nice to Opera */
}

.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 10px;
    background: url(../images/tab.png) no-repeat;
}
.ui-tabs-nav a {
    position: relative;
    top: 1px;
    z-index: 5;
    padding-left: 0;
    color: #27537a;
    color: #7695bc;
    line-height: 1.2;
    font-size: 90%;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */
    font-weight: bold;
}
.ui-tabs-nav .ui-tabs-selected a {
    color: #000;
}
.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
    outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav a, .ui-tabs-nav .tabs-disabled a:hover, .ui-tabs-nav .tabs-disabled a:focus, .ui-tabs-nav .tabs-disabled a:active {
    background-position: 100% -100px;
}
.ui-tabs-nav a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 18px; /* IE 6 treats height as min-height */
    min-height: 18px;
    padding-top: 6px;
    padding-right: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-top: 6px;
    padding-bottom: 1px;
    /*border-bottom: 1px solid #fff;*/
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -50px;
}
.ui-tabs-nav a span, .ui-tabs-nav .tabs-disabled a:hover span, .ui-tabs-nav .tabs-disabled a:focus span, .ui-tabs-nav .tabs-disabled a:active span {
    background-position: 0 0;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .tabs-disabled a:link, .ui-tabs-nav .tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-nav .tabs-disabled {
    opacity: .4;
}
.ui-tabs-panel {
    border-top: 1px solid #bacce2;
    padding: 16px;
    background: #fff; 
}

.ui-tabs-panel a { 
   font-weight: normal;
   color: #2d5e9a; 
   background: transparent;
}
.ui-tabs-panel a:hover { color: #164987;; }

.tabs-loading em {
    padding: 0 0 0 20px;
    background: url(../images/loadingAnimation.gif) no-repeat 0 50%;
}

/* BUTTON */

a.button {
    background: transparent url('../images/button-right.png') no-repeat scroll top right;
    color: #486991;
    display: block;
    float: left;
    font: normal 12px arial, sans-serif;
    height: 24px;
    overflow: hidden;
    margin-right: 6px;
    padding-right: 18px;
    text-decoration: none;
}

a.button span {
    background: transparent url('../images/button-left.png') no-repeat;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 18px;
}

a.button:active {
    background-position: bottom right;
    color: #122c4d;
    outline: none;
}

a.button:active span {
    background-position: bottom left;
    padding: 6px 0 4px 18px;
}

.indented {
    margin-left: 20px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.help_p {
    margin-left: 15px;
    text-align: justify;
}

.tDnD_whileDrag {
  background-color:#ECF6FC;
  font-weight: bold;
}

table tr {
  vertical-align: top;
}

table tr th {
  font-weight: bold;
}

.rulestable {
  width: 100%;
  margin: 8px 0 16px 0;
}

#mimetable {
  width: 680px;
  height: 400px;
  overflow: auto;
  _font-size: x-small;
}

.tableprop {
  width: 100%;
  border-collapse: collapse;
}

.tableprop tr th {
  vertical-align:  middle;
  width:  160px;
}

.tableprop .comment {
  color: #999;
  font-size: 85%;
  margin-right: 20px;
}

.tableprop .title {
  font-weight: bold;
}

.tableprop_block {
  margin-bottom: 16px;
}

.tableprop_block hr {
  background: #d4e1f1;
  border: none;
  margin-top: 5px;
  margin-bottom: 5px;
  height: 1px;
  width: 100%;
  text-align: left;
}


/* Alternate row color in rule list */
table.rulestable tr.odd td {
  background-color: #f3fbfb;
}

/**************************/
/* PageVServers.py styles */
/**************************/
#new_vserver_name,
#vserver_clone_src {
  width: 150px;
}

#new_vserver_droot,
#vserver_clone_trg {
  width: 340px;
}

/**************************/
/* PageIcons.py styles    */
/**************************/
#tab_icon div input[type="text"] {
  width: 400px;
}

#file_new_file,
#suffix_new_file {
  width: 180px;
}

/**************************/
/* PageMime.py styles     */
/**************************/
#mimetable input[size="20"] {
  width: 100px;
}

#mimetable input[size="6"] {
  width: 40px;
}

#new_maxage {
  width: 60px;
}

#new_mime {
  width: 180px;
}

#new_extensions {
  width: 280px;
}

/**************************/
/* PageInfoSource.py styl */
/**************************/

#body-source #new_env_name {
  width: 210px;
}

#body-source #new_env_value {
}
