.yui3-skin-sam .yui3-panel-content {
    -webkit-box-shadow: 0 0 5px #333;
    -moz-box-shadow: 0 0 5px #333;
    box-shadow: 0 0 5px #333;
    border: 1px solid black;
    background: white;
}
.yui3-skin-sam .yui3-panel .yui3-widget-hd {
    padding: 8px 28px 8px 8px;  /* Room for close button. */
    min-height: 13px;           /* For the close button */
    _height: 13px;              /* IE6 */
    color: white;
    background-color: #3961c5;
    background: -moz-linear-gradient(
        0% 100% 90deg,
        #2647a0 7%,
        #3d67ce 50%,
        #426fd9 100%
    );
    background: -webkit-gradient(
        linear,
        left bottom,
        left top,
        from(#2647a0),
        color-stop(0.07, #2647a0),
        color-stop(0.5, #3d67ce),
        to(#426fd9)
    );
    /*
    TODO: Add support for IE and W3C gradients
    */
}
.yui3-skin-sam .yui3-panel .yui3-widget-hd .yui3-widget-buttons {
    padding: 8px;
}
.yui3-skin-sam .yui3-panel .yui3-widget-bd {
    padding: 10px;
}
.yui3-skin-sam .yui3-panel .yui3-widget-ft {
	background: #EDF5FF;
	padding: 8px;
    text-align: right;
}
.yui3-skin-sam .yui3-panel .yui3-widget-ft .yui3-button {
    margin-left: 8px;
}

/*
Support for icon-based [x] "close" button in the header.

Nicolas Gallagher: "CSS image replacement with pseudo-elements (NIR)"
http://nicolasgallagher.com/css-image-replacement-with-pseudo-elements/
*/
.yui3-skin-sam .yui3-panel .yui3-widget-hd .yui3-button-close {
    /* Reset base button styles */
    background: transparent;
    filter: none;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

    /* Structure */
    width: 13px;
    height: 13px;
    padding: 0;
    overflow: hidden;
    vertical-align: top;
    /* IE < 8 :( */
    *font-size: 0;
    *line-height: 0;
    *letter-spacing: -1000px;
    *color: #86A5EC;
    *background: url(sprite_icons.png) no-repeat 1px 1px;
}
.yui3-skin-sam .yui3-panel .yui3-widget-hd .yui3-button-close:before {
    /*
    Displays the [x] icon in place of the "Close" text.
    Note: The `width` of this pseudo element is the same as its "host" element.
    */
    content: url(sprite_icons.png);
    display: inline-block;
    text-align: center;
    font-size: 0;
    line-height: 0;
    width: 13px;
    margin: 1px 0 0 1px;
}
.yui3-skin-sam .yui3-panel-hidden .yui3-widget-hd .yui3-button-close {
    /* Required for IE > 7 to deal with pseudo :before element */
    display: none;
}
