/*
  Common 
 ********************************************************************/
body       { background-color:#fff;
             color:#222;
             font-size:12px;
             line-height:16px;}
a          { color:#06C; }
a:hover    { color:#F60}

/*
  form
  **********************************************/
input{
    vertical-align:middle;
}
input[@type=text]{
    border:1px solid #ccc;
    padding:2px;
    vertical-align:middle;
    margin-right:2px;
}
input[@type=submit]{
    border:1px solid #ccc;
    padding:2px;
    vertical-align:middle;
    margin-right:2px;
		cursor:pointer;
}
select {
    padding:1px;
    vertical-align:middle;
}
textarea{
    border:1px solid #ccc;
    padding:2px;
}

input#submit{
    border:none;
    color:#345;
    font-weight:bold;
    width:72px;
    padding:4px 0;
    background: transparent url("../img/btn-submit.gif") top left;
    vertical-align:middle;
}
input:hover#submit{
    background-position: bottom left;
}

h2{
    background-color:#FFEFCF;
    font-size:14px;
    padding:4px;
    color:#666;
    font-weight:bold;
}

/*
  table
  **********************************************/
table {width:100%}
th, td {
    padding:4px;
    border: 2px solid #fff;
}

td:hover.clickable{
/*    border:1px solid #fc0; */
/*    background-color:#ffc; */
    cursor: pointer;
}

tbody.scroll-area{
		overflow-y:scroll;
}


/***************************************************************
  Global
 ***************************************************************/

/*** canvas ****************************************************/
#canvas {
  width:988px;
  margin: 0px auto;
/*  position:relative; */
}

/*** header-block **********************************************/
#header-block {
  background: transparent url("../img/bg-header.gif") no-repeat;
  height:79px;
  position:relative;
}

/*** footer-block ****************************************************/
#footer-block {
    margin-top:10px;
  background: transparent url("../img/bg-footer.gif") no-repeat;
  height:21px;
  padding:12px 8px 4px 8px;
}

#footer-block ul li {
  float: left;
  padding-left:4px;
}

/*** content-block **************************************************/
#content-block {
    width:960px;
    padding: 12px 14px 12px 14px;
    overflow:hidden;
    min-height:400px;
}


/*** panels **********************************************************/
.top-panel, .bottom-panel, .left-panel,.right-panel{
/*    border:1px solid #333; */
}

.left-panel,.right-panel{
/*    overflow:hidden; */
}

.left-panel{
    float:left;
  width:188px;
  padding-right: 12px
}
.right-panel{
    float:right;
  width: 747px;
  border-left: 1px solid #fea;
  padding-left: 12px
}
.top-panel{
    margin-bottom:12px;
}

.action-container{
    margin-bottom:12px;
}

/*** links *****************************************************/
#top-links{
    position:absolute;
    top:4px;
    right: 18px;
}
#top-links li{
    float:left;
    padding-right:4px;
    font-size:10px;
}

#top-links a{
    text-decoration:none;
}

/*** menu ******************************************************/
.main_menu ul{
  z-index: 2;
  position: relative;
}
.main_menu ul li{
  float: left;
  padding-right:4px;
  position: relative;
  background: transparent url("../img/dv-gray.gif") no-repeat center right;
/*  border-right: 1px solid #fea; */
}
.main_menu ul li ul{
  position: absolute;
  top: -999em;
  left: -1px;
 }

.main_menu ul li ul li{
  float:none;
}

.main_menu a{
  display: block;
  text-decoration: none;
}

#main_menu {
  height:28px;
  border-bottom: 1px solid #fea;
/*  background-color: #eec; */
/*  width:100%; */
/*  overflow:hidden; */
}
#main_menu ul li{
/*  height: 45px; */
}

#main_menu ul li:hover ul{
  top:28px;
 }

#main_menu ul li ul{
  background: #ffe;
  overflow:hidden;
  width:180px;
}
#main_menu ul li ul li{
    height: 30px;
}

#main_menu a{
  font-size: 14px;
  text-align: center;
  padding: 6px 4px 6px 4px;
}

#main_menu ul li ul li a{
  background:none;
  padding:6px 12px 6px 6px;
  border-bottom:1px solid #ccc;
  text-align: left;
  white-space: nowrap;
}

#side_menu{ }
#side_menu li{
  padding:4px 0 0 4px;
  height:20px;
  display:block; }
#side_menu a { text-decoration: none }
#side_menu p.sub_title{
  height:20px;
  background-color:#444;
  padding:4px 0 0 4px;
}


/*** pager **********************************************************/
#pager     { padding:4px; }
.pager_first,.pager_previous,.pager_previous_range,.pager_next_range,.pager_next,.pager_last {  }
.pager_navigation_current,  .pager_navigation_link {
  margin:4px;
  padding:4px;
  border: solid 1px #cccccc;
}
.pager_navigation_current{
  background-color: #660000
}


/*** parts **********************************************************/
/* detail, edit, add ************/
dl.add, dl.edit{}

dl.add dt, dl.edit dt {
  float: left;
/*  display: block; */
  padding: 4px;
  width: 130px;
}

dl.add dd, dl.edit dd {
/*  display: block; */
  padding: 4px;
  margin-left:132px;
}

ul.action_panel{
    float:right;
}
/** table **********************/
table.list{}

table.list tr.header{
		background: transparent url("../img/bg-table-hd.gif") top right;
}
th.control{ width:24px; }

tr.append{
		border:1px inset #3f3f3f;
}


/*** link  **********************************************************/
a.close{
    display:block;
/*
    height:22px;
    border:1px solid #eee;
 */
    width:60px;
    text-align:center;
    text-decoration:none;
}

.email_header {
    color:#333;
    background-color:#ee9;
    padding:6px;
}

.email_body{
    padding:6px;
}


/*
 * controllers
 ***********************************************/
.form-item{
    clear:both;
    padding:2px 0 8px;
    position:relative;
}
.form-item label{
    width:120px;
    float:left;
    display:block;
}

.control-panel{
    padding:8px;
    overflow:hidden;
    background-color:#FEC;
}
.control-panel li{
    float:left;
    margin-right:15px;
}

/*
 * Tab
 ********************************************************************/
.ui-tabs-hide {
    display: none !important;
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
}

.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
/*    margin: 0 0 0 2px; */
		margin-right:2px;
    font-weight: bold;
    background-color:#F4E1CF;
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    float: left; /* fixes dir=ltr problem and other quirks IE */
    padding: 0 12px;
}
.ui-tabs-nav a {
    margin: 5px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    background-position: 100% 0;
    text-decoration: none;
    white-space: nowrap; /* @ IE 6 */
    outline: 0; /* @ Firefox, prevent dotted border after click */
}

.ui-tabs-nav a:link, .ui-tabs-nav a:visited {
/*    color: #fff; */
}

.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 1px;
    z-index: 2;
    margin-top: 0;
    background-position: 100% -23px;
		background-color:#EA8;
}
.ui-tabs-nav a span {
    padding-top: 1px;
    padding-right: 0;
    height: 20px;
    background-position: 0 0;
    line-height: 20px;
}
.ui-tabs-nav a:hover {
}

.ui-tabs-nav a:hover span {
}

.ui-tabs-nav .ui-tabs-selected a span {
    padding-top: 0;
    height: 27px;
    background-position: 0 -23px;
    line-height: 27px;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited,
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-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,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited {
    color: #000;
}
.ui-tabs-panel {
/*
    border: 1px solid #519e2d;
    padding: 10px;
*/
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}
/*.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}*/

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* auto clear @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

/*
  parts
 ***********************************************/
#loading {display:none}

/********************************************************************
  Result
 ********************************************************************/

