/* Elements needing layout */

#Wrapper,
#Container,
div.header,
div.global_header,
#BottomShadow,
#widgets,
#Sidebar,
#Pages,
#Main,
#Main div.link_back,
#Main div.inner,
#Pages div,
#page_top,
#page_top div.page_top_content,
#page_title_wrapper div.page_title div.form,
#slate,
#traveling_widget_bar,
div.inner_slate,
div#upcoming_reminders,
div.page_widget,
div.widget,
div.widget div.widget_parent,
div.widget div.widget_content,
div.widget div.nubbin li a,
div.widget div.nubbin li a span,
div.widget form,
div.list div.list_title,
div.list div.add_item,
span.inline_background,
div.buttons,
div.shadow_outer,
div.shadow_content,
div.shadow_top,
div.shadow_bottom,
body.reminders div#reminders_container,
body.reminders div.folders,
body.newsroom div.row_wrapper,
div.comment div.float_liner,
div.comment div.textarea_container,
div.comment div.file_attachment_option,
div.color_picker div.submit {
  zoom: 100%;
}

div.widget span.commentable_icon_position_reference {
  _zoom: 100%;
}

div#Main, td.container_content_column#main_column {
  overflow: hidden;
}

/* Margin/position overrides */

div#Tabs {
  height: 26px;
}

div.header, div.global_header {
  position: relative;
}

div#Sidebar div#Pages div.button_to_add_new a:hover.pressed {
  background: url(/images/make_a_new_page-pressed.gif);
}

div#Sidebar div#Pages div.button_to_add_new a.busy,
div#Sidebar div#Pages div.button_to_add_new a:link.busy,
div#Sidebar div#Pages div.button_to_add_new a:visited.busy,
div#Sidebar div#Pages div.button_to_add_new a:hover.busy {
  background: url(/images/dots-white.gif) no-repeat center center;
}

#Main div.link_back {
  margin-right: -35px;
}

div#blank_slate_arrow {
  left: -20px !important;
  top: 16px;
}

#widgets div.widget {
  _border: 1px solid white;
}

body.page div.widget div.nubbin ul li a {
  line-height: 11px;
}

body.page #page_title_wrapper div.page_title input.page_title {
  width: 350px;
}

body.page #widgets div.page_widget {
  margin-top: 0;
}

div.page_widget div.widget_parent {
  _padding-top: 1px;
}

div.list div.add_item div.link_to_add_child {
  margin-top: 0;
  margin-bottom: 0;
}

body.dragging div.gallery div.dragging div.gallery_widget {
  height: 160px;
  overflow: hidden;
}

body.page div.gallery div.images div.edit form {
  left: 0;
  width: 142px;
}

body.page div.gallery div.images div.edit img {
  filter:alpha(opacity=50);
}

body.page form input.image_file {
  width: 360px;
}

body.page #widgets div.item_wrapper {
  padding-bottom: 1px;
}

body.page #widgets div.item div.content {
  margin-left: 20px;
}

div.widget div.nubbin ul {
  width: auto;
}

body.page div.below_page_header {
  z-index: -1;
}

body.newsroom_with_coming_up_calendar div.section_content {
  _width: 500px;
}

body.newsroom div.coming_up div.shadow {
  _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/coming_up-shadow.png',sizingMethod='crop');
  _background: none;
}

body.newsroom h1.messages span {
  position: relative;
  top: 5px;
}

.login div#Modal,
body.amnesia .modal_container {
  padding-top: 25px !important;
}

/* Page changed sticky */

body.page #Container div.page_changed_sticky {
  right: 250px;
  top: expression(($("page_header").offsetHeight + 7) + "px");
}

body.page #Container div.page_changed_sticky div.paperclip,
body.page_events div.link_back div.paperclip {
  _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/page_changes-paperclip.png',sizingMethod='crop');
  _background: none;
}

/* Widget and utility bar hover styles and spinners */

div.widget_bar a:hover,
div.utility_bar a:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

div.widget_bar a.busy,
div.widget_bar a.busy:hover,
div.utility_bar a.busy, 
div.utility_bar a.busy:hover {
  padding: 0;
  background: url(/images/dots-white.gif) no-repeat center 4px;
  text-decoration: none;
}

/* Hide the drag shadow in IE 6 */

#widgets div.dragging div.shadow_top,
#widgets div.dragging div.shadow_bottom {
  _display: none;
}

#widgets div.dragging {
  _border-top: none;
  _border-bottom: none;
}

#widgets div.shadow_outer {
  _filter:alpha(opacity=70);
  _background: #fff;
  _border-top: 1px solid #ccc;
  _border-bottom: 1px solid #ccc;
}

/* Nubbin links need a cursor for some reason */

div.widget div.nubbin li a span {
  cursor: hand;
}

/* Force red links in IE 6 */

body.page div.widget div.buttons a,
body.page div.widget div.buttons a:link,
body.page div.widget div.buttons a:visited,
div.widget div.nubbin ul li a.admin span {
  color: #f00;
}

body.page div.widget div.buttons a:hover {
  background: #f00;
  color: #fff;
  text-decoration: none;
}

/* Textile styles in notes */

body.page div.note_body ul,
body.page div.note_body ol {
  padding-left: 40px;
}

/* Give the Launchbar clear: left div a height of 1px in IE 7 */

#launchbar > div {
  height: 1px;
}

/* IE is a turd.  If we don't turn off the 1px white border around
   each page_widget (which, I might add, is ONLY needed because IE 6
   doesn't support transparent borders) when the insertion point is
   visible, said border is overlaid on top of the insertion point's 
   image, even when the insertion point's z-index is higher than the 
   widget. */

body.nubbinless #widgets div.page_widget {
  border: none !important;
  padding: 14px 25px 1px;
  z-index: -1;
}

body.nubbinless #widgets div.separator_wrapper {
  padding: 16px 1px 1px;
}

/* Messages */

body.message div.indented {
/*  margin-left: 0 !important;*/
}

body.message div.textarea_container {
  margin-right: none !important;
}

body.message div.textarea_container textarea {
  width: 500px;
}

form.new_comment div.buttons {
  position: relative;
}

form.new_comment div.buttons input {
  _position: relative;
  _left: -65px;
}

/* Reminders */

body.reminders div.folders {
  background: #fff;
}

/* Journal */

body.journal div#others {
  _position: absolute;
  _float: none;
  _top: 10px;
  _right: 20px;
}

body.journal #Main div.body {
  _margin-right: 340px;
}
