﻿/* ============================================================ */
/* GLOBALS */
/* ============================================================ */	

	/* Prevent strange jquery slideDown/Up oddities */
	.scrbbl-tb-content { overflow: hidden; }


	/* IE element is physical.. remove padding added for non-physical :before element */
	html.scrbbl-ie7 .scrbbl-tb-content-settings-title span { padding-left: 0px; }


	/* IE7: Fix issue with text-indent: -99999px; */
	html.scrbbl-ie7 .scrbbl-post-opts-icon,
	html.scrbbl-ie7 .scrbbl-tweet .scrbbl-tweet-actions a { 
		text-indent: 0px; 
		font-size: 0px; 
		line-height: 0px; 
	}


	/* Tweets: Line the twitter bird up with the username */
	html.scrbbl-ie7 .scrbbl-tweet-twitter-logo { top: -5px; }


	/* Adjust the post source icons for flickr and youtube. */
	html.scrbbl-ie7 .scrbbl-post-flickr .scrbbl-post-meta-source a .scrbbl-ie-before,			
	html.scrbbl-ie7 .scrbbl-post-type-html .scrbbl-post-html-wrap .Meta.scrbbl-source-flickr a .scrbbl-ie-before { 
		float: left; margin-top: 4px; 
	}
	html.scrbbl-ie7 .scrbbl-post-youtube .scrbbl-post-meta-source a .scrbbl-ie-before,
	html.scrbbl-ie7 .scrbbl-post-type-html .scrbbl-post-html-wrap .Meta.scrbbl-source-youtube a .scrbbl-ie-before { 
		float: left; margin-top: 3px; 
	}


	/* IE7: Adjust the Dicussions and Likes counters to be vertically centered to the icons. */
	html.scrbbl-ie7 .scrbbl-post-opts-discussions-count,
	html.scrbbl-ie7 .scrbbl-post-opts-likes-count {
		line-height: 14px;
	}


	/* IE7: make the discussions input area the same size as the avatar. */
	html.scrbbl-ie7 .discussion-wrap .comment-input {
		padding-top: 0;
		padding-bottom: 0;
	}


	/* IE8: make the comment box the same height as the avatar and comment button. */
	html.scrbbl-ie8 .scrbbl-tb-comment-postbox-wrap {
		padding-top: 6px;
		padding-bottom: 5px;
	}


	/* IE7: adjust the status animation to line up with the logo. */
	html.scrbbl-ie7 .scrbbl-tb-status-animations,
	html.scrbbl-ie8 .scrbbl-tb-status-animations { 
		top: 7px; 
	}

	/* IE7: adjust login box padding. */
	html.scrbbl-ie7 .scrbbl-tb-login-wrap-name { padding: 0 15px; }


/* ============================================================ */
/* IE: INPUT CENTER TEXT */
/* ============================================================ */	

	#EmailInput,
	.scrbbl-tb-login-username {
		line-height: 28px;
	}

	 .discussion-wrap .comment-input input {
		line-height: 20px;
	}


/* ============================================================ */
/* IE7: INLINE-BLOCK */
/* ============================================================ */	

	html.scrbbl-ie7 .scrbbl-tb-comment .scrbbl-tb-nav-inner-wrap,
	html.scrbbl-ie7 .scrbbl-tb-back .scrbbl-tb-nav-inner-wrap,
	html.scrbbl-ie7 .scrbbl-tb-right-actions .scrbbl-tb-nav-inner-wrap,
	html.scrbbl-ie7 .scrbbl-tweet-twitter-logo,
	html.scrbbl-ie7 .scrbbl-tweet-screenname,
	html.scrbbl-ie7 .scrbbl-tweet-username,
	html.scrbbl-ie7 .scrbbl-tweet .scrbbl-tweet-actions a,
	html.scrbbl-ie7 .scrbbl-post-type-image .scrbbl-post-caption-inner,
	html.scrbbl-ie7 .scrbbl-post-type-html .scrbbl-post-html-wrap .sltc-twitter .sltc-text .sltc-tweetimage img,
	html.scrbbl-ie7 .scrbbl-post-opts-icon,
	html.scrbbl-ie7 .scrbbl-post-opts-discussions-count,
    html.scrbbl-ie7 .scrbbl-post-opts-likes-count,
	html.scrbbl-ie7 .scrbbl-pagination,
	html.scrbbl-ie7 .scrbbl-pagination-back a .scrbbl-ie-before,
	html.scrbbl-ie7 .scrbbl-pagination-dback a .scrbbl-ie-before,
	html.scrbbl-ie7 .scrbbl-pagination-forward a .scrbbl-ie-after,
	html.scrbbl-ie7 .scrbbl-pagination-dforward a .scrbbl-ie-after {
		zoom: 1;
		display: inline;
	}


/* ============================================================ */
/* RGBA BACKGROUNDS */
/* ============================================================ */	

	.scrbbl-post-type-image .scrbbl-post-time,
	.scrbbl-post-type-image .scrbbl-post-caption,
	.scrbbl-post-type-html .scrbbl-post-html-wrap .SlideShowNav {
		background: url(../images/ie/bg-black.png) 0 0 repeat;
	}


/* ============================================================ */
/* POLYFILLS */
/* ============================================================ */

	/* IE7 'display: table;' support */
	html.scrbbl-ie7 div.scrbbl-tb-content-login,
	html.scrbbl-ie7 div.scrbbl-tb-login-quick-wrap,
	html.scrbbl-ie7 div.scrbbl-tb-comment-wrap,
	html.scrbbl-ie7 div.scrbbl-tb-content-settings-inner,
	html.scrbbl-ie7 div.scrbbl-post-meta-area { 
		behavior: url("/liveblog/libs/display-table.min.htc"); 
	}

	/* IE7 ':before' emulation. */
	html.scrbbl-ie7 .scrbbl-tb-comment .scrbbl-tb-nav-inner-wrap,
	html.scrbbl-ie7 .scrbbl-tb-comment-mod-note,
	html.scrbbl-ie7 .scrbbl-tb-content-settings-hd-font,
	html.scrbbl-ie7 .scrbbl-tb-content-settings-hd-comments,
	html.scrbbl-ie7 .scrbbl-tb-content-settings-hd-sound,
	html.scrbbl-ie7 .scrbbl-tb-content-settings-hd-translate,
	html.scrbbl-ie7 #scrbbl-holder-stickies .scrbbl-post,
	html.scrbbl-ie7 #scrbbl-holder-stickies .scrbbl-tweet,
	html.scrbbl-ie7 .scrbbl-post-meta-source a,
	html.scrbbl-ie7 .scrbbl-tweet-retweet,
	html.scrbbl-ie7 .scrbbl-post-type-html .scrbbl-post-html-wrap .Meta a,
	html.scrbbl-ie7 .scrbbl-post-type-html .scrbbl-post-html-wrap blockquote,
	html.scrbbl-ie7 .scrbbl-post-type-html .scrbbl-post-html-wrap .SL_SlideShow .SlideShowNav .scrbbl-post-slideshow-nav-inner,
	html.scrbbl-ie7 .scrbbl-pagination-back a,
	html.scrbbl-ie7 .scrbbl-pagination-dback a {
		zoom: expression( 
	        this.runtimeStyle.zoom="1",
	        this.insertBefore( document.createElement("small"), this.firstChild ).className="scrbbl-ie-before"
	    );
	}

	/* IE7 ':after' emulation. */
	html.scrbbl-ie7 .scrbbl-pagination-forward a,
	html.scrbbl-ie7 .scrbbl-pagination-dforward a {
		zoom: expression( 
	        this.runtimeStyle.zoom="1",
	        this.appendChild( document.createElement("small") ).className="scrbbl-ie-after"
	    );
	}

	/* IE7 clip icons. */
	html.scrbbl-ie7 .scrbbl-tb-content-settings-title span {
		zoom: expression(
	        this.runtimeStyle.zoom="1",
			this.runtimeStyle.backgroundImage="none",
			this.insertBefore( document.createElement("small"), this.firstChild ).className="scrbbl-ie-icon"
		);
	}

	/* IE7 'Toggle' emulate ':before' and ':after'. */
	html.scrbbl-ie7 .scrbbl-tb-btn-toggle-inner {
		zoom: expression(
	        this.runtimeStyle.zoom="1",
	        this.appendChild( document.createElement("small") ).className="scrbbl-ie-before",   
	        this.appendChild( document.createElement("small") ).className="scrbbl-ie-after",
	        this.getElementsByTagName('small')[0].innerHTML='ON',	    
	        this.getElementsByTagName('small')[1].innerHTML='OFF'
		);
	}


/* ============================================================ */
/* IE7: POLLS */
/* ============================================================ */

	html.scrbbl-ie7 .scrbbl-post-type-poll .scrbbl-post-poll-answer-display {
		float: left;
		padding-left: 0;
		padding-right: 0;
	}
	html.scrbbl-ie7 .scrbbl-post-type-poll .scrbbl-post-poll-answer-text {
		float: left;
		width: 85%;
		padding-left: 3%;
		padding-right: 0;
	}


/* ============================================================ */
/* ============================================================ */
