/*
** Stylesheet with Internet Explorer-specific workarounds.
*/

/*  */

* html #portal-columns {
  width: 100%;
}
* html*#portal-columns {
    width: auto;
}
input {
    margin-bottom: 1px; /* bug fix */
}
table.listing td.top {
    /* insane IE row bug workaround */
    position: relative;
    left: -1px;
    top: -1px;
}
div#portal-columns div#portal-column-one,
div#portal-columns div#portal-column-two {
    overflow: hidden;
}
textarea {
    width: 97%;
}
.visualOverflow {
    width: 88%;
}
.visualGhosted {
    filter:alpha(opacity=20); 
}

/* make spans within ABBR have a border in IE6 the same way it is in all other browsers */
* html abbr .explain {
    border-bottom: 1px dotted #333;
}

/* Fix bottom margin on tabs in IE */
#portal-globalnav li.selected a {
position: relative;
}
#portal-colophon .colophonIcon {
    height: 0px !important;
    height /**/: 15px;
}
.actionMenu .actionMenuHeader a {
    display: inline;
}
.actionMenu .actionMenuContent {
    top: 1.4em;
}

/* Calendar fixes */
.ploneCalendar { 
    border-collapse:collapse;
    width:auto; 
    height:1%;
}
.ploneCalendar td { 
    width:1%;
}
.ploneCalendar .todaynoevent,
.ploneCalendar .todayevent {
    position: relative;
}
.hiddenStructure { /* This is necessary to eliminate the 1px high object in
                      the document flow in place of .hiddenStructure block objects */
    position: absolute;
}

/* These work in IE only, changes the look of the scrollbar + textareas 
   We disabled these in Plone 3.0, but if you want them back, uncomment 
*/
/*
body { 
    scrollbar-base-color: #f5f5f5;
    scrollbar-highlight-color: #f5f5f5;
    scrollbar-track-color: #f5f5f5;
    scrollbar-darkshadow-color: #f5f5f5;
    scrollbar-3dlight-color: #ccc;
    scrollbar-shadow-color: #ccc;
    scrollbar-arrow-color: #666;
}
*/

/* Holly hack to kill the Peekaboo bug in IE - details at
   http://www.positioniseverything.net/explorer/peekaboo.html
   "* html" syntax is added to hide it from IE5/Mac. ~limi
 */

#floatholder, #float {
    height: 1%;
}

* html .link-external,
* html .link-external a,
* html .link-mailto a,
* html .link-mailto {
     height: 1%; 
} 

/* Fix for IE float bug */
* html .visualIEFloatFix,
* html h1,
* html h2,
* html h3,
* html h4,
* html h5,
* html h6,
* html dd,
* html .documentDescription,
* html .visualClear,
* html .portalMessage,
* html .portalWarningMessage,
* html .portalStopMessage,
* html .system-message,
* html #error-handling,
* html .documentContent {
    height: 0.1%;
}

/* Fix for IE float bug - have to use the Limi Hack here, since the paragraph
   tag doesn't take nicely to the height hack above in IE. */
* html p {
    position: relative;
}
* html h1.documentFirstHeading {
    height: auto;
}

/* There appears to be a bug in some IE 6 versions that causes dashed borders
   to get positioned strangely (i.e. out of the portlet in this case), and
   to move about when scrolling.  May be related to:
   http://mtiki.mmf.at/mt/archives/000011.html */
dd.portletFooter {
    border-top-style: solid;
}

/* Rounded corner workarounds for IE */
* html .portletHeader {
    height: 1%;
}
.portletTopRight, 
.portletTopLeft {
    top: 0px;
}
.portletTopRight,
.portletTopLeft,
.portletBottomRight,
.portletBottomLeft {
    font-size: 1px;
}

/* fix for the horizontal scroll due to the floated searchbox without width definition */
* html #portal-searchbox {
    overflow: auto; 
}
* html body.fullscreen #portal-searchbox {
    overflow: visible;
}


/* IE doesn't know what to do with the caption element, hide it */
table.ploneCalendar caption {
    display: none !important;
}

/* IE6 adds gap between portalMessage's DT and DD. We need to minimize it */
* html dl.portalMessage dt {
    margin-right: 0;
}

/* Buttons in IE are rediculously wide. We need to fix it */
/* Fir somw unknown reasons the following works :) */
.context, 
.formControls .actionButtons .button, 
.documentEditable * .context,
.standalone, 
.documentEditable * .standalone,
.destructive,
.documentEditable * .destructive {
    overflow: visible;
    background-position:6px 1px;
}
input.searchButton {
    overflow: visible;
}


/*
** CUSTOM IE FIXES FOR THEME
*/

#portal-globalnav li a:hover span {
  cursor: pointer;
}
#portal-searchbox .searchButton {
  height: 11px;
}
#portal-sitemap {
  height: 1%;
}
#portal-sitemap ul {
  list-style: none;
  list-style-image: none;
}
.standalone,
.documentEditable * .standalone,
.context,
.documentEditable * .context,
.destructive,
.documentEditable * .destructive {
  background-position: 6px center;
}
.documentEditable {
  margin-top: 0.5em;
}

/* IE 6 */

* html #portal-searchbox {
    overflow: hidden;
}
* html #portal-globalnav li a {
  float: left;
}
* html #portal-globalnav li a span {
  float: left;
  margin-right: 5px;
}
* html .portlet {
  height: 1%;
}
* html .portletTopLeft {
  top: -1px;
  left: -1px;
}
* html .portletTopRight {
  top: -1px;
  right: -1px;
}
* html .portletBottomLeft {
  bottom: -1px;
  left: -1px;
}
* html .portletBottomRight {
  bottom: -1px;
  right: -1px;
}
* html #content {
  height: 1%;
}
* html #portal-header {
  z-index: 10;
}

/*  */