/* $Id: ie.css,v 1.1 2008/02/15 16:22:09 johnalbin Exp $ */

/*
 * IE CSS
 *
 * CSS targeted specifically for Internet Explorer for Windows.
 *
 * Properties starting with an underscore _ are for IE 5 and 6 only.
 * Properties starting with head:first-child+body are for IE7 only.
 * Properties with a child selector (>) or sibling selector (+) are for IE7 only.
 *
 */

/*
 * Layout CSS
 */

/** body **/
	body
	{
    _text-align: center; /* 1st part of IE5/IE6quirks centering hack */
  }

  #page,
	#closure-blocks,
	#footer
  {
    _text-align: left; /* 2nd part of IE5/IE6quirks centering hack */
  }

	/*Transparent image hack (for pager buttons) and path needs to be relative to server, not drupal*/
	
	#edit-add-to-cart,
	td.eclipsenet-cart-remove-form .form-submit
	{
			background-image: expression(
					this.runtimeStyle.backgroundImage = "none",
					this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
					this.src = "/sites/default/themes/sitetheme/images/blank.gif"
			);
	}

/** main (container for everything else) **/
  #main
  {
    _zoom: 1; /* Otherwise with a liquid layout, sidebars disappear when resizing the windows in IE6 */
  }
  
  .section-user #header,
	.section-users #header,
	.section-cart #header,
	.section-subscribe #header,
	.section-gift #header
  {
		_margin-top: -5px;
  }

	#navbar ul li a
	{
		_zoom: 0;
	}

/** floating divs **/
	#top-ad-position-inner
	{
		width:972px;
	}
	
	#top-ad-position-inner .block
  #content,
  #navbar,
  #sidebar-left,
  #sidebar-right,
  {
    _display: inline; /* display inline or double your floated margin! [1] */
    _overflow: hidden; /* in ie6, overflow auto is broken [2] and so is overflow visible [3] */
    _overflow-y: visible;
  }


/*
 * Tabs CSS - IE 5 and 6 don't support PNGs with alpha transparency.
 */

	.section-user ul.primary li a,
	.section-user ul.primary li a .tab,
	.section-users ul.primary li a,
	.section-users ul.primary li a .tab,
	.section-cart ul.primary li a,
	.section-cart ul.primary li a .tab,
	.section-subscribe ul.primary li a,
	.section-subscribe ul.primary li a .tab,
  ul.primary li a,
  ul.primary li a .tab,
  ul.secondary li a,
  ul.secondary li a .tab
  {
    _display: inline; /* Otherwise the blocks mistakenly get 100% width in IE5 */
    _di\splay: inline-block; /* Otherwise the blocks mistakenly get 100% width in IE6 */
  }

  ul.primary,
  ul.secondary
  {
    _width: 100%; /* Otherwise IE5 treats the ul as floated */
    _w\idth: auto; /* Reset to auto width for IE6 */
  }
  
  .section-user .tabs,
	.section-users .tabs,
	.section-cart .tabs,
	.section-subscribe .tabs
	{
		_max-height: 32px;
	}
  
  .section-user ul.primary,
	.section-users ul.primary,
	.section-cart ul.primary,
	.section-subscribe ul.primary,
  {
  	margin: 0 0 0 0;
  }
  
  .section-user ul.primary li,
	.section-users ul.primary li,
	.section-cart ul.primary li,
	.section-subscribe ul.primary li
	{
		_padding: 8px 0px;
		_margin-right: 0px;
		_position: relative;
	}
  
  .section-user ul.primary li.active,
	.section-users ul.primary li.active,
	.section-cart ul.primary li.active,
	.section-subscribe ul.primary li.active
	{
  	_padding-bottom: 10px;
  	_margin-bottom: -2px;
  }

  ul.primary li a
  {
    _background: url(images/tab-left-ie6.png) no-repeat left -38px;
  }

  ul.primary li a .tab
  {
    _background: url(images/tab-right-ie6.png) no-repeat right -38px;
  }

  ul.primary li a:hover
  {
    _background: url(images/tab-left-ie6.png) no-repeat left -76px;
  }
  
  .section-user ul.primary li a:hover,
	.section-users ul.primary li a:hover,
	.section-cart ul.primary li a:hover,
	.section-subscribe ul.primary li a:hover
	{
		_background: none;
		_border-right: 1px solid #d1d7dd;
	}

  ul.primary li a:hover .tab
  {
    _background: url(images/tab-right-ie6.png) no-repeat right -76px;
  }
  
  section-user ul.primary li a:hover .tab,
	.section-users ul.primary li a:hover .tab,
	.section-cart ul.primary li a:hover .tab,
	.section-subscribe ul.primary li a:hover .tab,
	{
		_background: none;
	}

  ul.primary li.active a,
  ul.primary li.active a:hover
  {
    _background: url(images/tab-left-ie6.png) no-repeat left 0;
  }
  
  .section-user ul.primary li.active a,
  .section-user ul.primary li.active a:hover,
	.section-users ul.primary li.active a,
	.section-users ul.primary li.active a:hover,
	.section-cart ul.primary li.active a,
	.section-cart ul.primary li.active a:hover,
	.section-subscribe ul.primary li.active a,
	.section-subscribe ul.primary li.active a:hover,
	{
		_background: none;
	}

  ul.primary li.active a .tab,
  ul.primary li.active a:hover .tab
  {
    _background: url(images/tab-right-ie6.png) no-repeat right 0;
  }
  
  .section-user ul.primary li.active a .tab,
  .section-user ul.primary li.active a:hover .tab,
	.section-users ul.primary li.active a .tab,
	.section-users ul.primary li.active a:hover .tab,
	.section-cart ul.primary li.active a .tab,
	.section-cart ul.primary li.active a:hover .tab,
	.section-subscribe ul.primary li.active a .tab,
	.section-subscribe ul.primary li.active a:hover .tab,
	{
		_background: none;
	}

/* Header */
	#block-eclipsenet_cart-personalization ul.menu li.cart-link
	{
		behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
	}
	
/* Message */
	.messages
	{
		behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
	}

/* Navigation */
  .links ul.links li a,
	.links ul.links li.fontresize span
  {
    behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
  }
    
  #content-top ul.menu li,
  .links ul.links li
  {
  	_padding: 8px 0px;
  }

	.links ul.links li a.show-paged,
	.links ul.links li a.single-page
	{
		margin: -1px 8px -2px 8px;
	}
  
  #content-top ul.menu li.active,
  #content-top ul.menu li.active-trail
  {
  	_position: relative;
  	_padding-top: 9px;
  	_padding-bottom: 8px;
  	_margin-bottom: -1px;
  }
  
  #content-top .navigation
  {
  	margin-bottom: -1px;
  }
  
  #content-top ul.menu-refine-nav li.expanded
  {
  	_position: relative;
  	_padding-top: 9px;
  	_padding-bottom: 8px;
  	_margin-bottom: -1px;
  	_border-bottom: 1px solid #fff;
  }
  
  #content-top ul.menu-refine-nav.is-active li.expanded
	{
		_border: 0px none;
		_margin: 8px 0px 9px;
		_padding: 3px 26px 3px 9px;
		_border-right: 1px solid #D1D7DD;
		_cursor: pointer;
	}
	
	#content-top ul.menu-refine-nav li.expanded .expanded-list-wrap
	{
		_margin-top: -142px;
	}
	
	#content-top ul.menu-refine-nav.is-active li.expanded .expanded-list-wrap
	{
		_margin-top: -151px;
	}
	
	#content-top ul.menu-refine-nav li.expanded ul .expanded-list-wrap
	{
		_margin-top: 0px;
	}
	
	.links ul.links li.books ul.menu li.expanded .expanded-list-wrap
	{
		margin-top: 9px;
	}
	
	#content-top ul.menu-refine-nav li.expanded ul li,
	#content-top .menu-level-3 ul.menu li.expanded ul li,
	.links ul.links li.books ul.menu li
	{
		white-space: nowrap;
	}
  
  #content-top .navigation ul.menu li.active,
  #content-top .navigation ul.menu li.active-trail
  {
  	_padding-top: 9px;
  	_padding-bottom: 9px;
  	_margin-bottom: -1px;
  	_border-bottom: 1px solid fff;
  }
  
  #content-top .navigation
  {
  	_max-height: 32px;
  }
  
  #content-top .navigation ul.menu
  {
  	_margin: 0 0 0 0;
  }
  
  #content-top ul.menu li.active-trail, 
  #content-top ul.menu li.active, .links ul.links li.active-trail
  {
  	_position: relative;
  	_border-bottom: 1px solid #fff;
  }
  
  .views-exposed-widget .views-widget #edit-date-value-wrapper
  {
  	font-size: 1em;
  }
  
  .links ul.links li.books ul.menu
  {
    position: absolute;
  }
  
/* Pager */
	.pager li.pager-previous-disabled,
	.pager-previous a,
	.pager-next a,
	.pager li.pager-next-disabled
	{
    behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
  }

/* Fields */
	.field-article-summary-author-bio
	{
		behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
	}
  
/* Right sidebar */
  .sIFR-active #sidebar-right h2.title
  {
    *font-size: 21px;
  }

/* Views */
	.view-row-image-thumbnail,
	.view-row-image-thumbnail .views-field-field-library-cover-thumb-fid, 
	.view-row-image-thumbnail .views-field-field-article-image-fid 
	{
		_display: inline; /* display inline or double your floated margin! [1] */
    _overflow: hidden; /* in ie6, overflow auto is broken [2] and so is overflow visible [3] */
    _overflow-y: visible;
	}

	.item-list ul li,
	table.views-view-grid .columns-3,
	.views-view-grid td,
	.view-id-authorlist table.views-view-grid .columns-2 td,
	.premium-icon
	{
    behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
  }
  
  .homepage-panel-display .panel-panel .bookreviews-panel-display .panel-row-left
  {
    _margin-right: 16px;
    _padding-right: 17px;
  }
  
  .homepage-panel-display .panel-panel .bookreviews-panel-display .view-featured-reviews .view-row-image-thumbnail
  {
    _margin: 0 0 0 0;
    _padding: 0 0 0 0;
  }

	#sidebar-right .item-list ol,
	.composite-column-last .item-list ol
  {
    margin: 0 0 10px 2em;
		padding: 0 0 0 0;
  }

	#sidebar-right .item-list ol li,
	.composite-column-last .item-list ol li
  {
		margin-top: 6px;
		vertical-align: top;
  }

	#sidebar-right .item-list ol li a,
	.composite-column-last .item-list ol li a
	{
		margin-top: -6px;
		display: inline-block;
		width: 100%;
		_width: 99%;
		padding: 6px 0 6px 2em;
		margin-left: -2em;
	} 
	
	#sidebar-right .feed-list ul li
	{
		margin: 0px 0px 0px 0px;
	}
	
	#sidebar-right .item-list ol li a:hover,
	.composite-column-last .item-list ol li a:hover
	#sidebar-right .feed-list ul li a:hover,
	#sidebar-right .item-list ol li a:focus,
	.composite-column-last .item-list ol li a:focus
	#sidebar-right .feed-list ul li a:focus
	{
		color: #000;
	}
	
	#sidebar-right .feed-list ul li a
	{
		display: inline-block;
	}
	
	#sidebar-right .feed-list
	{
		clear: both;
		float: left;
		width: 266px;
	}
	
	.feed-more-link
	{
		clear: both;
		display: inline-block;
	}
	
	/* In the magazine homepage block */
	.view-id-featured_magazine-display-block_2
	{
		margin: 0 0 0 0;
	}
	
	/* Discussion quote box */
	.views-field-field-article-comment-value .field-content
	{
		zoom: 1;
	}
	
	.views-field-field-article-comment-value
	{
		background-position-x: 101%;
	}
	
	.view-id-article_comment-display-default .views-field-field-article-comment-value
	{
		background-position-x: 102%;
	}
  
/* Panels */
	.panel-panel
	{
		display: block;
		_display: inline; /* display inline or double your floated margin! [1] */
    _overflow: hidden; /* in ie6, overflow auto is broken [2] and so is overflow visible [3] */
    _overflow-y: visible;
	}
	
	.homepage-panel-display .panel-row-primary
	{
		padding-bottom: 41px;
	}

  .panel-2col-stacked .panel-col-bottom
  {
    clear: both;
  }
  
  .panel-2col-stacked .panel-col-bottom .block
  {
    clear: both;
  }

	* html .panel-2col-stacked .panel-col-first,
	* html .panel-2col-stacked .panel-col-last,
	* html .panel-2col .panel-col-first,
	* html .panel-2col .panel-col-last
	{
		_width: 301px; 
	}

	.classroom-panel-display .panel-row-top
	{
		behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
	}

/* Newsletters */
	body.node-type-newsletter-display-no-sidebar #header
	{
		behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
	}

/* Premium Box */
	.premium-box-wrap 
	{
		behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
	}

  .sIFR-active .premium-box h2
  {
	*font-size: 20px;
	font-size: 20px;
  }
/* Forms */
	.eclipsenet-cart-price,
	.eclipsenet-cart-total-price,
	.views-exposed-widgets,
	#eclipsenet-cart-display-cart-form fieldset fieldset,
  #eclipsenet-cart-subscription-form fieldset fieldset,
	#edit-payment-type-MC-wrapper,
	#edit-payment-type-VS-wrapper,
	#edit-payment-type-AX-wrapper
	{
    behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
  }
  
  #eclipsenet-cart-subscription-form .form-text,
  #eclipsenet-cart-gift-form .form-text
  {
    width: 260px;
  }

  #eclipsenet-cart-subscription-form #edit-cc-expiration-month,
  #eclipsenet-cart-subscription-form #edit-cc-expiration-year,
  #eclipsenet-cart-gift-form #edit-cc-expiration-month,
  #eclipsenet-cart-gift-form #edit-cc-expiration-year
  {
    width: 30px;
  }

  form .form-item
  {
  	_display: inline; /* display inline or double your floated margin! [1] */
    _overflow: hidden; /* in ie6, overflow auto is broken [2] and so is overflow visible [3] */
    _overflow-y: visible;
  }
  
  form .form-item label
  {
  	display: block;
  	margin: 0 0 0 0;
  }
  
  form .form-item input
  {
  	margin-left: 0px;
  }

	.views-exposed-widget
	{
		_position: static;
		_min-height: 32px;
	}

	.views-exposed-widget .views-widget .date-clear-block
	{
		_display: block;
		_float: left;
		_padding: 0 0 0 9px;
		_width: 48px;
		_clear: none;
	}
  
  /* Eclipse net shopping cart and subscription form */
  .subscription-type .form-radios .form-item label
  {
  	width: 633px;
  }
  
  .subscription-type .form-radios #edit-subscription-options-5-wrapper
  {
  	margin-bottom: 0px;
  }
  
  .subscription-type .form-radios
  {
  	margin-bottom: 18px;
  }
  
  #edit-last-name-wrapper,
	#edit-city-wrapper,
	#edit-state-wrapper,
	#edit-zip-wrapper,
	#edit-country-wrapper,
	#edit-email-confirm-wrapper,
	#edit-password-confirm-wrapper,
	#edit-cc-number-wrapper
	{
		margin: 0 0 0 20px;
		_margin: 0 0 0 16px;
	}
	
	#edit-zip-wrapper
	{
		margin: 0 0 0 16px;
	}
	
	#edit-zip-wrapper label
	{
		margin: 0 0 0 16px;
		_margin: 0 0 0 0;
	}
	
	.eclipsenet-expiration
	{
		margin-top: 18px;
	}
	
	#edit-payment-type-MC-wrapper,
	#edit-payment-type-VS-wrapper,
	#edit-payment-type-AX-wrapper
	{
		background-position: 26px 0;
	}

	#user-register #edit-last-name-wrapper 
	{	
		margin: 0px 0px 0px 0px;
		_margin: 0px 0px 0px 16px;
	}
	
	#user-register #edit-email-confirm-wrapper 
	{	
		margin: 0px 0px 0px 0px;
		_margin: 0px 0px 0px 16px;
	}
	
	#user-register #edit-password-confirm-wrapper
	{
		margin: 0px 0px 0px 0px;
		_margin: 0px 0px 0px 16px;
	}

  .eclipsenet-forgot-password
	{
		clear: left;
		width: 237px;
	}
	
	.eclipsenet-already-subscriber
	{
		width: 396px;
	}
	
	#user-login fieldset
	{
		clear: both;
		float: none;
		width: auto;
	}
  
  #user-pass .form-submit {
    width: 138px;
    height: 26px;
    clear: all;
  }

  .form-submit,
	.eclipsenet-fake-button,
	.round-button
  {
  	padding: 0 0 0 0;
  }
  
  a.form-submit,
	a.eclipsenet-fake-button,
	a.round-button
  {
  	padding: 8px 8px 8px 7px;
  }

	#user-login #edit-submit
	{
		margin: 1.692em 0 0 0; /* top margin of 22px */
	}

	#user-pass #edit-submit
	{
		margin: 1.692em 0 0 0; /* top margin of 22px */
	}
	
	.eclipsenet-cart-total-button
	{
		padding-left: 111px;
	}
	
	.eclipsenet-auth-edit-link
	{
		float: left;
		text-align: right;
		width: 100%;
	}
	
	.profile dl
	{
		margin: 0 0 0 0;
	}
	
	.profile dd
	{
		margin: 0 0 0 -3em;
	}
	
	.profile .eclipsenet-account-info dd
	{
		margin-left: 0;
	}
	
	.profile dd.eclipsenet-auth-change-address h3
	{
		margin-left: 2em;
	}
	
	.profile dd.eclipsenet-auth-change-address dl
	{
		margin-left: 3em;
	}
	
	.eclipsenet-account-info
	{
		position: static;
	}
	
	dt.eclipsenet-auth-e-mail-address
	{
		position: relative;
		float: right;
		*left: 12px;
		_left: 26px;
	}
	
	dd.eclipsenet-auth-e-mail-address
	{
		*margin-top: 0px;
	}
	
	dd.eclipsenet-auth-change-address h3
	{
		font-size: 1em;
	}
	
	fieldset.eclipsenet-auth-change-address
	{
		margin-top: 46px;
	}
	
	#comment-form #edit-submit,
	#comment-form #edit-preview,
	{
		float: none;
		display: inline-block;
	}

	/* Premium login */
	.premium-login #edit-pass-wrapper input
	{
		width: 100px;
	}

	.premium-login form label {
    display:none;
  }
	
	/* Email form */
	#print-mail-form #edit-txt-message,
  #print-mail-form .resizable-textarea textarea
  {
    _width: 398px;
		_max-width: 398px;
  }

	/* Digital Reprints / Subscription status */
	.section-user form#user-profile-form h3.legend
	{
		margin-top: 0px;
	}

/* Fa formatter */
	.fa-formatter-small-deck
	{
    behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
  }

/* Aggregator block */
	.feed-more-link
	{
    behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
  }

/* Tables */
	tr.even, tr.odd
	{
		_background: url(images/fa-dotted-separator-horizontal-bg.gif) repeat-x bottom;
  }
  
/* Bestseller list */
	td.prev-month-rank
	{
    behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
  }

	td.prev-list-rank
	{
    behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
  }

/* Closure block fixes */
  #closure-blocks #block-views-featured_magazine-block_3,
	#closure-blocks .view-content,
	#closure-blocks .view-display-id-block_1 .view-content,
	#closure-blocks .item-list ul li,
  {
    behavior: url(/sites/default/themes/sitetheme/iepngfix.htc);
  }

  #closure-blocks .view-row,
  #footer .menu-name-menu-footer-links,
  #footer .menu-name-menu-footer-index,
	#footer #block-menu-menu-footer-copyright-links
  {
    _display: inline; /* display inline or double your floated margin! [1] */
    _overflow: hidden; /* in ie6, overflow auto is broken [2] and so is overflow visible [3] */
    _overflow-y: visible;
  }
  
  .sIFR-active #closure-blocks .block h2.title
  {
    font-size: 20.4px;
  }
  
  #closure-blocks .block h2.title
  {
    width: 411px;
  }
  
  #footer .menu-name-menu-footer-links,
  #footer .menu-name-menu-footer-index
	{
		float: left;
		width: 555px;
		margin-left: 420px; /*Same measurement as footer-message's width*/ 
		margin-right: -970px; /* Negative value of #content's width + left margin. */
	}
  
  #footer #block-menu-menu-footer-copyright-links
	{
		float: left;
		margin-left: 10em; /*110px off of 11px base;*/
		margin-top: 1.4em; /* 1.45 x 11px = 16px */
		margin-right: -287px;
	}  
 
 	#footer .menu-name-menu-footer-links ul.menu,
 	#footer .menu-name-menu-footer-index ul.menu
 	{
 		word-wrap: normal;
 	}  

	#footer
	{
		_overflow: visible;
	}
/** Drupal nodes **/
  .node-unpublished .node-inner>*
  {
    position: relative; /* Otherwise these elements will appear below the "Unpublished" text. */
  }


/** Drupal admin tables **/
  .section-admin #content tr.even th,
  .section-admin #content tr.even td,
  .section-admin #content tr.odd th,
  .section-admin #content tr.odd td
  {
    border-bottom: 1px solid #ccc; /* IE doesn't display borders on table rows */
  }

/*
 * REFERECES
 *

1. http://www.positioniseverything.net/explorer/doubled-margin.html
2. http://browservulsel.blogspot.com/2005/04/ie-overflow-auto-scrollbar-overlap.html
3. http://www.howtocreate.co.uk/wrongWithIE/?chapter=overflow%3Avisible%3B

 *
 */

body.page-discussions-audio-video table.views-view-grid TD {
	width:187px;
	padding-left:17px;
	padding-right:16px;
	margin-left: 0;
	margin-right: 0;
}

body.page-discussions-audio-video table.views-view-grid TD.first {
	padding-right: 17px;
	padding-left: 0;
}

body.page-discussions-audio-video table.views-views-grid TD.last {
	padding-right: 0;
}
