/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/* Panel modality mask styles */

.yui-skin-sam .mask {

    background-color: #000;
    opacity: .25;
    *filter: alpha(opacity=25);  /* Set opacity in IE */

}


/* Panel styles */

.yui-skin-sam .yui-panel-container {

    padding: 0 1px;
    *padding: 2px 3px;

}

.yui-skin-sam .yui-panel {

	position: relative;
	*zoom: 1;
	left: 0;
	top: 0;
    border-style: solid;
    border-width: 1px 0;
    border-color: #808080;
	z-index: 1;

}

.yui-skin-sam .yui-panel .hd, 
.yui-skin-sam .yui-panel .bd, 
.yui-skin-sam .yui-panel .ft {

    /*
        Use of "zoom: 1" is to trigger "haslayout" for IE to get 
        negative margins working.
    */
    
    *zoom: 1;

    /*
        Use of "position: relative" is necessary to get negative margins 
        working in IE.
    */

    *position: relative; 

    border-style: solid;
    border-width: 0 1px;
    border-color: #808080;
    margin: 0 -1px;
  
}

.yui-skin-sam .yui-panel .hd {

    border-bottom: solid 1px #ccc;

}

.yui-skin-sam .yui-panel .bd,
.yui-skin-sam .yui-panel .ft {

    background-color: #F2F2F2;

}

.yui-skin-sam .yui-panel .hd {

    padding: 0 10px;
    font-size: 93%;  /* 12px */
    line-height: 2;  /* ~24px */
    *line-height: 1.9; /* For IE */
    font-weight: bold;
    color: #000;
    background: url(sprite.png) repeat-x 0 -200px;
    
}

.yui-skin-sam .yui-panel .bd {

    padding: 10px;

}

.yui-skin-sam .yui-panel .ft {

    border-top: solid 1px #808080;
    padding: 5px 10px;
    font-size: 77%;

}

.yui-skin-sam .yui-panel-container.focused .yui-panel .hd {

}

.yui-skin-sam .container-close {

    position: absolute;
    top: 5px;
    right: 6px;
    width: 25px;
    height: 15px;
    background: url(sprite.png) no-repeat 0 -300px;
    cursor:pointer;

}


/* Panel underlay styles */

.yui-skin-sam .yui-panel-container .underlay {

    right: -1px;
    left: -1px;

}

.yui-skin-sam .yui-panel-container.matte {

	padding: 9px 10px;
	background-color: #fff;

}

.yui-skin-sam .yui-panel-container.shadow {

    /* IE 7 Quirks Mode and IE 6 Standards Mode and Quirks mode */
    _padding: 2px 5px 0 3px; 

}

.yui-skin-sam .yui-panel-container.shadow .underlay {

	position: absolute;

    top: 2px;
    right: -3px;
    bottom: -3px;
    left: -3px;

    /* IE 7 Standards Mode */

    *top: 3px;
    *left: -1px;
    *right: -1px;
    *bottom: -1px;

    /* IE 7 Quirks Mode and IE 6 Standards Mode and Quirks mode */

    _top: 0;
    _right: 0;
    _bottom: 0;
    _left: 0;
    _margin-top: 3px;
    _margin-left: -1px;

    background-color: #000;
    opacity: .12;
    *filter: alpha(opacity=12);  /* Set opacity in IE */

}


/* Dialog styles */

.yui-skin-sam .yui-dialog .ft {

    border-top: none;
    padding: 0 10px 10px 10px;
    font-size: 100%;

}

.yui-skin-sam .yui-dialog .ft .button-group {

    display: block;
    text-align: right;

}

/* Dialog default button style */
.yui-skin-sam .yui-dialog .ft button.default {
    font-weight:bold;
}

/* Dialog default YUI Button style */
.yui-skin-sam .yui-dialog .ft span.default {
    border-color: #304369;
    background-position: 0 -1400px;
}

.yui-skin-sam .yui-dialog .ft span.default .first-child {
    border-color: #304369;
}

.yui-skin-sam .yui-dialog .ft span.default button {
    color: #fff;
}

/* SimpleDialog icon styles */

.yui-skin-sam .yui-simple-dialog .bd .yui-icon {

    background: url(sprite.png) no-repeat 0 0;
	width: 16px;
	height: 16px;
	margin-right: 10px;
	float: left;

}

.yui-skin-sam .yui-simple-dialog .bd span.blckicon {

    background-position: 0 -1100px;

}

.yui-skin-sam .yui-simple-dialog .bd span.alrticon {

    background-position: 0 -1050px;

}

.yui-skin-sam .yui-simple-dialog .bd span.hlpicon {

    background-position: 0 -1150px;

}

.yui-skin-sam .yui-simple-dialog .bd span.infoicon {

    background-position: 0 -1200px;

}

.yui-skin-sam .yui-simple-dialog .bd span.warnicon {

    background-position: 0 -1900px;

}

.yui-skin-sam .yui-simple-dialog .bd span.tipicon {

    background-position: 0 -1250px;

}


/* Tooltip styles */

.yui-skin-sam .yui-tt .bd {

    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    color: #000;
    padding: 2px 5px;
    border-color: #D4C237 #A6982B #A6982B #A6982B;
    border-width: 1px;
    border-style: solid;
    background-color: #FFEE69;

}

.yui-skin-sam .yui-tt.show-scrollbars .bd {

    overflow: auto;

}

.yui-skin-sam .yui-tt-shadow {
    top: 2px;
    right: -3px;
    left: -3px;
    bottom: -3px;
    background-color: #000;
}

.yui-skin-sam .yui-tt-shadow-visible {

    opacity: .12;
    *filter: alpha(opacity=12);  /* For IE */

}

/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
.yui-overlay,
.yui-panel-container {
    visibility: hidden;
    position: absolute;
    z-index: 2;
}

.yui-panel-container form {
    margin: 0;
}

.mask {
    z-index: 1;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.mask.block-scrollbars {
    /*
        Application of "overflow:auto" prevents Mac scrollbars from bleeding
        through the modality mask in Gecko. The block-scollbars class is only
        added for Gecko on MacOS
    */
    overflow: auto;
}

/*
    PLEASE NOTE:

    1) ".masked select" is used to prevent <SELECT> elements bleeding through
       the modality mask in IE 6.

    2) ".drag select" is used to hide <SELECT> elements when dragging a
       Panel in IE 6.  This is necessary to prevent some redraw problems with
       the <SELECT> elements when a Panel instance is dragged.

    3) ".hide-select select" is appended to an Overlay instance's root HTML
       element when it is being annimated by YAHOO.widget.ContainerEffect.
       This is necessary because <SELECT> elements don't inherit their parent
       element's opacity in IE 6.

*/

.masked select,
.drag select,
.hide-select select {
    _visibility: hidden;
}

.yui-panel-container select {
    _visibility: inherit;
}

/*

There are two known issues with YAHOO.widget.Overlay (and its subclasses) that
manifest in Gecko-based browsers on Mac OS X:

    1) Elements with scrollbars will poke through Overlay instances floating
       above them.

    2) An Overlay's scrollbars and the scrollbars of its child nodes remain
       visible when the Overlay is hidden.

To fix these bugs:

    1) The "overflow" property of an Overlay instance's root element and child
       nodes is toggled between "hidden" and "auto" (through the application
       and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
       as its "visibility" configuration property is toggled between
       "false" and "true."

    2) The "display" property of <SELECT> elements that are child nodes of the
       Overlay instance's root element is set to "none" when it is hidden.

PLEASE NOTE:

    1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
       applied only for Gecko on Mac OS X and are added/removed to/from the
       Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
       "showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.

    2) There may be instances where the CSS for a web page or application
       contains style rules whose specificity override the rules implemented by
       the Container CSS files to fix this bug.  In such cases, is necessary to
       leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
       write custom style rules to guard against this bug.

** For more information on this issue, see:

   + https://bugzilla.mozilla.org/show_bug.cgi?id=187435
   + SourceForge bug #1723530

*/

.hide-scrollbars,
.hide-scrollbars * {

    overflow: hidden;

}

.hide-scrollbars select {
    display: none;
}

.show-scrollbars {
    overflow: auto;
}

.yui-panel-container.show-scrollbars,
.yui-tt.show-scrollbars {
    overflow: visible;
}

.yui-panel-container.show-scrollbars .underlay,
.yui-tt.show-scrollbars .yui-tt-shadow {

    overflow: auto;

}

/*
   Workaround for Safari 2.x - the yui-force-redraw class is applied, and then removed when
   the Panel's content changes, to force Safari 2.x to redraw the underlay.
   We attempt to choose a CSS property which has no visual impact when added,
   removed.
*/
.yui-panel-container.shadow .underlay.yui-force-redraw {
    padding-bottom: 1px;
}

.yui-effect-fade .underlay {
    display:none;
}

/*
    PLEASE NOTE: The <DIV> element used for a Tooltip's shadow is appended
    to its root element via JavaScript once it has been rendered.  The
    code that creates the shadow lives in the Tooltip's public "onRender"
    event handler that is a prototype method of YAHOO.widget.Tooltip.
    Implementers wishing to remove a Tooltip's shadow or add any other markup
    required for a given skin for Tooltip should override the "onRender" method.
*/

.yui-tt-shadow {

    position: absolute;

}
