/* Created:*/
/* General: Styles for Yahoo Pop Up Panels */
/* Created by*/
/* Last Updated by: Aydin Baltaci */
/* Last Updated on: 111108 3.30 pm*/


/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.4.1
*/
.yui-overlay,
.yui-panel-container {
    visibility:hidden;
    position:absolute;
    z-index: 2;

}

.yui-tt {
    visibility:hidden;
    position:absolute;
    padding:2px;
    width:auto;
}

/*
    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 {
    display: none;
}

* html body.masked select {
    visibility:hidden;
}

* html div.yui-panel-container select {
    visibility:inherit;
}

* html div.drag select {
    visibility:hidden;
}

* html div.hide-select select {
    visibility:hidden;
}

.mask {
    z-index: 1; 
    display:none;
    position:absolute;
    top:0;
    left:0;
    -moz-opacity: 0.1;
    opacity:.10;
    filter: alpha(opacity=10);
}

/*

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 {

    overflow: visible;

}

.yui-panel-container.show-scrollbars .underlay {

    overflow: auto;

}

.yui-panel-container.focused {

}


/* Panel underlay styles */

.yui-panel-container .underlay {

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

}

.yui-panel-container.matte {

    padding: 3px;

}

.yui-panel-container.shadow .underlay {

    top: 5px;
    bottom: -5px;
    right: -5px;
    left: 5px;
    opacity: .20;
    filter: alpha(opacity=20);  /* For IE */

}


/* CM Cart Module Underlay Adjustment */

#yourCart_c  .underlay {

    top: 7px;
    bottom: -10px;
    right: 8;
    left: -8px;
    *top: 10px;
    *bottom: -5px;
    *right: -5px;
    *left: -5px;
    opacity: .20;
    filter: alpha(opacity=20);  /* For IE */

}

/* CM Cart Module Underlay Adjustment */


/* NM Cart Module Underlay Adjustment */

#yourCartNM_c  .underlay {

    top: 38px;
    bottom: -17px;
    right: 5;
    left: -6px;
    *top: 17px !important;
    *bottom: -5px;
    *right: -8px !important;
    *left: -4px !important ;
    opacity: .20;
    filter: alpha(opacity=20);  /* For IE */

}

/* NM Cart Module Underlay Adjustment */



/* 
   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, but still causes Safari to redraw
*/
.yui-panel-container.shadow .underlay.yui-force-redraw {
    padding-bottom: 1px;
}

.yui-effect-fade .underlay {
    display:none;
}

.yui-panel {
    visibility:hidden;
    border-collapse:separate;
    position:relative;
    left:0;
    top:0;
    background-color:transparent;
    z-index:1;
    overflow:hidden;
}



/*.yui-panel .hd {
	height:15px;
    color:#FFF;
    font-size:100%;
    line-height:100%;
    font-weight:bold;
    padding:4px;
    white-space:nowrap;
}
*/

.yui-panel .hd {margin:0;position:relative; padding:.4em .4em .4em 13px; *padding:5px; font-weight: bold;  white-space:nowrap;  line-height:100%;}
.yui-panel .hd img.lfCorner{position:absolute; left:-1px; top:-1px;}
.yui-panel .hd img.rhCorner{position:absolute; right:-1px; *right:-2px; top:-1px;}
.yui-panel .hd SPAN { font-weight: bold; }
.yui-panel .bd {
    overflow:hidden;
    padding:0px;border-top:none;
}
#recipePanel .bd {
	height:450px;
    overflow-y:scroll;
}
.yui-panel .bd img.lfCorner{position:absolute; left:-1px; bottom:-1px; *bottom:-2px;}
.yui-panel .bd img.rhCorner{position:absolute; right:-1px; *right:-2px; bottom:-1px; *bottom:-2px;}
.yui-panel .bd p {
    margin:20px;
}


/*Advanced Search*/

.yui-panel .advancedSearchHd { position: relative; margin:0;position:relative; border-top: 0; border-bottom: 0; padding: 10px 0 0 16px;  padding: 10px 0 0 16px;  white-space:nowrap;  line-height:100%;}
.yui-panel .advancedSearchHd H2 { font-weight: bold;}
.yui-panel .advancedSearchBd { border-top: 0;}
.yui-panel .advancedSearchBd img.lfCorner{position:absolute; left:0; bottom:0; }
.yui-panel .advancedSearchBd img.rhCorner{position:absolute; right:0;  bottom:0px;}

/*Your Cart*/
/*#yourCart { left: -13px; top: 2px; *left: -11px; }*/

#yourCart { position: relative; left:0; top:0; *left:0; }
.yourCartNM { *left: 788px !important;}
#yourCart .container-close { display: none;  }
#yourCart .yourCartHd { margin:0;position:relative; border-top: 0; border-bottom: 0; padding:5px 0 0 10px; margin: 0; width: 182px; *width:194px; white-space:nowrap;  line-height:100%;}
#yourCart .yourCartHd H2 {font-weight: bold; margin: 0; padding: 0; width: 162px; }
#yourCart .yourCartBd { border-top: 0; width: 192px; *width: 194px;}
#yourCart .yourCartBd ul.msgList {width: 90%; *width: 98%;padding:2px;margin:0 10px; position:relative;top:6px;}
#yourCart .yourCartBdInner { padding: 10px; padding-top: 0; }
#yourCart  img.lfCorner{position:absolute; left:0; *left:0; bottom:0; *bottom:-1px; }
#yourCart  img.rhCorner{position:absolute; right:0px; *right:0; bottom:0px; *bottom:-1px;}

#yourCartNM { width: 192px; *width: 191px; position: relative; left:-7px; top:14px;*left:-7px;}
#yourCartNM .container-close { display: none;  }
#yourCartNM .yourCartHd { margin:0;position:relative; padding:5px 0 0 10px; margin: 0;white-space:nowrap; border: none; }
#yourCartNM .yourCartHd H2, #yourCartNM .yourCartHd .yourCartH2 { font-weight: bold; margin: 0; padding: 0; margin-bottom:0; *margin-bottom:0; line-height:100%;position: relative;top:-4px;}
#yourCartNM .yourCartBd { border-top: 0; width: 190px; *width: 190px;}
#yourCartNM .yourCartBdInner { padding:0 10px 10px;}
#yourCartNM .yourCartBd img.lfCorner{position:absolute; left:0; *left:0; bottom:0; *bottom:-1px; }
#yourCartNM .yourCartBd img.rhCorner{position:absolute; right:0px; *right:0; bottom:0px; *bottom:-1px;}
#yourCartNM .yourCartBd ul {margin-top:0 !important;}
#yourCartNM .yourCartBd .msgList {position:relative; padding-top:5px;top:5px;left:-5px;width:95%;*width:100%;}

/* Sneak Peak */

#sneakPeek1.yui-panel .hd {margin-left:508px;height:17px;padding:0;background:none;border:none;width:150px;}
#sneakPeek1.yui-panel .container-close {top:2px;right:10px;width:61px;}  
#sneakPeek1.yui-panel .bd { position:relative;}
#sneakPeek1.yui-panel .bd .rhtpCorner { position:absolute; right:-1px;  top:-1px;}
#sneakPeek1.yui-panel .bd .lftpCorner { position:absolute; left:-1px;  top:-1px;}
#sneakPeek1.yui-panel .bd .sneakPeakInner { padding:0 12px; }
#sneakPeek1.yui-panel .bd .lfbtCorner{position:absolute;left:-1px; bottom:-1px;  }
#sneakPeek1.yui-panel .bd .rhbtCorner{position:absolute; right:-1px; bottom:-1px;}


/* Author Interview take it out for it's affecting the current bonus content layout 

#authorInterview {}
#authorInterview .container-close { height:19px; width:57px; top:0; *margin:0; }
#authorInterview .hd {margin:0;  border: 0; white-space:nowrap;padding-top:12px;background-color:transparent;}
#authorInterview .bd { position:relative;}
#authorInterview .bd .rhtpCorner { position:absolute; right:-1px;  top:-1px;}
#authorInterview .bd .lftpCorner { position:absolute; left:-1px;  top:-1px;}
#authorInterview .bd .authorInterviewInner { padding: 12px;}
#authorInterview .bd .lfbtCorner{position:absolute;left:-1px; bottom:-1px;  }
#authorInterview .bd .rhbtCorner{position:absolute; right:-1px; bottom:-1px;}


#authorVideoPanel {}
#authorVideoPanel .container-close { height:19px; width:57px; top:0; *margin:0; }
#authorVideoPanel .hd {margin:0;  border: 0; white-space:nowrap;padding-top:12px;background-color:transparent;}
#authorVideoPanel .bd { position:relative;}
#authorVideoPanel .bd .rhtpCorner { position:absolute; right:-1px;  top:-1px;}
#authorVideoPanel .bd .lftpCorner { position:absolute; left:-1px;  top:-1px;}
#authorVideoPanel .bd .authorVideoInner { padding: 12px;}
#authorVideoPanel .bd .lfbtCorner{position:absolute;left:-1px; bottom:-1px;  }
#authorVideoPanel .bd .rhbtCorner{position:absolute; right:-1px; bottom:-1px;}

#authorAudioPanel {}
#authorAudioPanel .container-close { height:19px; width:57px; top:0; *margin:0; }
#authorAudioPanel .hd {margin:0;  border: 0; white-space:nowrap;padding-top:12px;background-color:transparent;}
#authorAudioPanel .bd { position:relative;}
#authorAudioPanel .bd .rhtpCorner { position:absolute; right:-1px;  top:-1px;}
#authorAudioPanel .bd .lftpCorner { position:absolute; left:-1px;  top:-1px;}
#authorAudioPanel .bd .authorAudioInner { padding: 12px;}
#authorAudioPanel .bd .lfbtCorner{position:absolute;left:-1px; bottom:-1px;  }
#authorAudioPanel .bd .rhbtCorner{position:absolute; right:-1px; bottom:-1px;}
*/

/* Learn More */

#learnMore .container-close {height:19px; width:57px; top:0; *margin:0; }
#learnMore .hd {margin:0;  border: 0; white-space:nowrap;padding-top:12px;}
#learnMore .bd { position:relative;}
#learnMore .bd .rhtpCorner { position:absolute; right:-1px;  top:-1px;}
#learnMore .bd .lftpCorner { position:absolute; left:-1px;  top:-1px;}
#learnMore .bd .learnMoreInner { padding: 12px; }
#learnMore .bd .lfbtCorner{position:absolute;left:-1px; bottom:-1px;  }
#learnMore .bd .rhbtCorner{position:absolute; right:-1px; bottom:-1px;}


/* Book Excerpt take out since product detail already have this style in. 

#bookExcerptPanel .container-close { height:19px; width:57px; top:0; *margin:0; }
#bookExcerptPanel .hd {margin:0;  border: 0; white-space:nowrap;padding-top:12px;}
#bookExcerptPanel .bd { position:relative;}
#bookExcerptPanel .bd .rhtpCorner { position:absolute; right:-1px;  top:-1px;}
#bookExcerptPanel .bd .lftpCorner { position:absolute; left:-1px;  top:-1px;}
#bookExcerptPanel .bd .bookExcerptInner { padding: 12px; background-color:#FFF;}
#bookExcerptPanel .bd .lfbtCorner{position:absolute;left:-1px; bottom:-1px;  }
#bookExcerptPanel .bd .rhbtCorner{position:absolute; right:-1px; bottom:-1px;}
*/

/* Login Popup*/

.loginPop  .hd {margin:0;position:relative; padding:5px 0 0 10px; margin: 0;  white-space:nowrap;  line-height:100%;}
.loginPop  .hd img.lfCorner{position:absolute; left:-1px; *left:-11px; top:-1px;}
.loginPop  .hd img.rhCorner{position:absolute; right:-1px; *right:0; top:-1px;}
.loginPop  .hd H2 {  font-weight: bold; margin: 0; margin-bottom: 5px; padding: 0; }
.loginPop  .bd {border-top: 0; }
.loginPop  .bdInner { padding: 10px; }
.loginPop  .bd img.lfCorner{position:absolute; left:0; *left:0px; bottom:0; *bottom:-1px; }
.loginPop  .bd img.rhCorner{position:absolute; right:0; *right:0; bottom:0px; *bottom:-1px;}
.loginPop .yui-panel  .bd p { margin: 0 !important; }

/* Account Popups*/

.popWindowAccSm   .hd {margin:0;position:relative; padding:5px 0 0 10px; margin: 0; white-space:nowrap;  line-height:100%;}
.popWindowAccSm   .hd img.lfCorner{position:absolute; left:-1px; *left:-11px; top:-1px;}
.popWindowAccSm   .hd img.rhCorner{position:absolute; right:-1px; *right:0; top:-1px;}
.popWindowAccSm   .hd H2 { margin: 0; margin-bottom: 5px; padding: 0; height: 15px; line-height: 15px; border-bottom: 0; font-weight: bold;  }
.popWindowAccSm   .bd {border-top: 0; *width: 280px; }
.popWindowAccSm   .bdInner { padding: 10px; }
.popWindowAccSm   .bd img.lfCorner{position:absolute; left:0; *left:0px; bottom:0; *bottom:-1px; }
.popWindowAccSm   .bd img.rhCorner{position:absolute; right:0; *right:0; bottom:0px; *bottom:-1px;}

.popWindowAccLg   .hd { margin:0;position:relative;padding:5px 0 5px 10px; margin: 0; white-space:nowrap;  line-height:100%;}
.popWindowAccLg   .hd img.lfCorner{position:absolute; left:-1px;  top:-1px; *top:2px; *left:-11px; }
.popWindowAccLg   .hd img.rhCorner{position:absolute; right:-1px;  top:-1px; *top:2px; *right:0;}
.popWindowAccLg   .hd H2 { margin: 0; margin-bottom: 5px; padding: 0; height: 15px; line-height: 15px; border-bottom: 0;font-weight: bold;  }
.popWindowAccLg   .bd {border-top: 0; *width: 524px; text-align: left; padding-top: 20px; }
.popWindowAccLg   .bdInner { padding: 10px; }
.popWindowAccLg   .bd img.lfCorner{position:absolute; left:0; *left:0; bottom:0; *bottom:-1px; }
.popWindowAccLg   .bd img.rhCorner{position:absolute; right:0; *right:0; bottom:0; *bottom:-1px;}


/* Homepage Feature / Promo Popup */

.popWindowHomeFeat .hd { margin:0;position:relative; width: 373px; *width: 383px; height:15px; border:0;  margin: 0;white-space:nowrap;  line-height:100%;  }
.popWindowHomeFeat .hd H2 { margin: 0; padding: 10px 0 0 15px; *padding: 10px 0 0 25px;  height: 15px; line-height: 15px; border-bottom: 0;  font-weight: bold;}
.popWindowHomeFeat .bd {  border:0; border-top: 0;  width: 383px; height:164px; }
.popWindowHomeFeat .bdInner { padding: 5px 30px 0 30px;  *padding: 0 30px 0 30px; }
.popWindowHomeFeat .bdInner OL { margin-bottom: 5px; *margin-bottom: 0; } 

/* CM member membership agreement */

.bannerPromoCopy { width:480px;}
.bannerPromoCopy   .hd {margin:0;position:relative; padding:5px 0 5px 10px; margin: 0; white-space:nowrap;  line-height:100%;}
.bannerPromoCopy  .hd img.lfCorner{position:absolute; left:-1px;  top:-1px; *top:2px; *left:-11px; }
.bannerPromoCopy   .hd img.rhCorner{position:absolute; right:-1px;  top:-1px; *top:2px; *right:0;}
.bannerPromoCopy   .hd H2 { margin: 0; margin-bottom: 5px; padding: 0; height: 15px; line-height: 15px; border-bottom: 0;font-weight: bold;  }
.bannerPromoCopy   .bd {border-top: none !important;  text-align: left; padding: 5px;  }
.bannerPromoCopy   .bdInner {padding: 10px; height: 400px !important; overflow: scroll; overflow-x:hidden; }
.bannerPromoCopy   .bd img.lfCorner{position:absolute; left:0; *left:0; bottom:0; *bottom:-1px; }
.bannerPromoCopy   .bd img.rhCorner{position:absolute; right:0; *right:0; bottom:0; *bottom:-1px;}

.yui-panel .container-close {
    position:absolute;
    top:5px;
    right:6px;
    z-index:6;
    height:14px;
    width:15px;
    margin:0px;
    padding:0px;
    cursor:pointer;
    visibility:inherit;
}

.yui-panel .ft {
    padding:4px;
    overflow:hidden;
}

.yui-simple-dialog .bd .yui-icon {
    background-repeat:no-repeat;
    width:16px;
    height:16px;
    margin-right:10px;
    float:left;
}

.yui-dialog .ft, 
.yui-simple-dialog .ft {
    padding-bottom:5px;
    padding-right:5px;
    text-align:right;
}

.yui-dialog form, 
.yui-simple-dialog form {
    margin:0;
}

.button-group button {
    text-decoration:none;
    cursor: hand;
    vertical-align: middle;
    margin:2px;
    padding:2px;
}

.button-group button.default {
    font-weight:bold;
}
