/*
 * 2010 01 31
 * echarp
 */

/* Reusing the standard css stylesheet */
@import url(../../../stylesheets/application.css);
@import url(../../classic/stylesheets/application.css);

#main a {
  color: #02739F;
  text-decoration: none; }

/* This is the global page */
#wrapper {
  background: #FFFFFF url(../images/header_bg_right.gif) no-repeat scroll right top;
}

#top-menu {
  height: 87px;
  position: relative;
  background: transparent url(../images/logo.png) no-repeat scroll left top;
}
#top-menu a { color: #005184; }
#top-menu #account ul { position: static; }
#top-menu ul {
  bottom: 0;
  right: 1em;
  position: absolute; }
#top-menu > ul li {
  font-size: 13px;
  margin-right: 2px;
  background-repeat: repeat-x;
  border-width: 1px 1px medium;
  background-position: center 0%;
  border-style: solid solid none;
  border-radius: 5px 5px 0 0;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-radius: 5px 5px 0 0;
  border-color: #E2E5E9;
  use-text-color #E2E5E9;
  -moz-use-text-color #E2E5E9;
  -webkit-use-text-color #E2E5E9;
  background-image: url(../images/navbar_item_bg.gif);
}
#top-menu > ul li:hover { background-position: left bottom; }

#top-menu > ul a {
  margin: 0;
  display: block;
  padding: 2px 10px;
}
#top-menu > ul li:hover a,
body.controller-welcome #top-menu > ul li a.home,
body.controller-my #top-menu > ul li a.my-page,
body.controller-projects #top-menu > ul li a.projects,
body.controller-calendars #top-menu > ul li a.calendar-link { 
  color: white; 
  background-color: #005184;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-topleft: 5px;
  border-radius: 5px 5px 0 0;
}
#top-menu a.calendar-link {
  background-position: 0% 40%;
  background-repeat: no-repeat;
  padding-left: 20px;
  padding-top: 2px;
  padding-bottom: 3px;
  background-image: url(../../../images/calendar.png);
}

#header {
  height: 55px;
  padding: 4px 8px 20px 6px; /* reuse default values from /stylesheets/application.css */
  /*height: auto;
  height: 5em;
  min-height: 55px;*/
  background-color: #005184;
  background-repeat: repeat-x;
  background-position: left bottom;
  background-image: url(../images/content_header_bg.gif);
}
#header h1 {
  font-weight: normal;
  padding: 4px 0 0 0.6em;
  text-shadow: 0px 0px 9px #CCF; }
#quick-search {
  height: 40px;
  padding-top: 15px;
  margin-right: 0;
  padding-right: 2em;
  background-repeat: no-repeat;
  background-position: right top;
  background-image: url(../images/rightmargin_top_bg.png);
}

#q {
  border: 1px solid #013A50;
  padding: 2px 4px;
  font-size: 11px;
  width: 100px;
}

/* Mostly the tabs just below the page title */
#main-menu {
  border: none;
  margin-left: 1em;
  background-color: transparent; }
#main-menu li a {
  color: #777;
  padding: 6px;
  margin-right: 2px;
  border-right: none;
  background-color: #DDD;
  border-radius: 5px 5px 0 0;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-radius: 5px 5px 0 0;
}
#main-menu li a.selected, #main-menu li a.selected:hover {
  color: black;
  background-color: white;
  border-bottom-color: white; }
#main-menu li a:hover {
  color: #666;
  background-color: #eee;
  border-bottom-color: #eee; }

#sidebar {
  width: 200px;
  padding-left: 8px;
  background-color: #E6EBED;
  background-image: url(../images/rightmargin_top_bg.png);
  background-repeat: no-repeat;
  background-position: -3px -55px;
}

#content {
  width: auto;
  overflow: auto; }

/* This is a ticket specific problem, in relation with sidebar */

#footer, #footer a {
  color: #666;
  text-align: right;
  background-color: #DFDFDF; }
