/* Warning: very specific css selectors ahead. */

#wp_tv_template_viewer {
	width:100%;
	display: block;
	float: none;
	clear: both;
	text-align: left;
	position: relative;
	overflow: auto;
	z-index: 9999;
}

/* reset elements template viewer */
#wp_tv_template_viewer,
#wp_tv_template_viewer p,
#wp_tv_template_viewer strong,
#wp_tv_template_viewer span,
#wp_tv_template_viewer a,
#wp_tv_template_viewer div,
#wp_tv_template_viewer ul,
#wp_tv_template_viewer li,
#wp_tv_template_viewer pre {
	border: 0 none;
	outline: 0 none;
	padding: 0;
	margin: 0;
	background-color: #4b4b4b;
	font-family: sans-serif;
	font-size: 17px; /* todo: do we need this */
	font-style: normal;
	font-weight: normal;
	line-height: 1.5;
	color: #FFF;
	vertical-align: baseline;
}

#wp_tv_template_viewer strong {
	font-weight: bold;
}

#wp_tv_template_viewer a {
	text-decoration: underline;
}

#wp_tv_template_viewer .wp_tv_files {
	position: relative;
	padding:1em;
}

#wp_tv_template_viewer #wp_tv_code_title {
	background: #333;
	padding: 1em;
}

#wp_tv_template_viewer #wp_tv_code_title p,
#wp_tv_template_viewer #wp_tv_code_title strong,
#wp_tv_template_viewer #wp_tv_code_title a {
	background: #333;
}

#wp_tv_template_viewer .wp_tv_close {
	position: absolute;
	top: .5em;
	right: .5em;
	text-align: right;
	font-size: 1.5em;
	font-weight: bold;
	text-decoration: none;
	line-height: 1;
}

#wp_tv_template_viewer pre {
	background: #f5f5f5;
	color: #666;
	font-family: monospace;
	font-size: 1em;
	width: auto;
	overflow: auto;
	padding: 20px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
	-moz-hyphens: none;
	text-align: left;
}

#wp_tv_template_viewer #wp_tv_file_list_footer {
	list-style: none outside none;
	padding: 1em 0 0 0;
}

/* remove text if no JS (JS creates link with text) */
#wp_tv_template_viewer.wp_tv_no_js .wp_tv_close,
#wp-admin-bar-wp_tv_footer_toggle.wp_tv_no_js {
	display: none;
}

#wp_tv_template_viewer .wp_tv_select,
#wp_tv_template_viewer .wp_tv_toggle {
	font-size: smaller;
	
}

#wpadminbar #wp-admin-bar-wp_tv_current_theme_group .wp_tv_toggle {
	color:#fff;
}

#wpadminbar #wp-admin-bar-wp_tv_current_theme_group .wp_tv_toggle:hover {
	color: #2ea2cc;
}

#wp-admin-bar-wp_template_viewer_plugin {
	color: #fff;
}

#wp_tv_template_viewer .wp_tv_error {
	color: OrangeRed;
}

#wp-admin-bar-wp_tv_template_files .wp_tv_plugin,
#wp_tv_template_viewer .wp_tv_plugin {
	color: LightPink;
}

#wp-admin-bar-wp_tv_template_files .wp_tv_external,
#wp_tv_template_viewer .wp_tv_external {
	color: #f3b823;
}

#wp-admin-bar-wp_tv_template_files .wp_tv_theme.wp_tv_child,
#wp_tv_template_viewer .wp_tv_theme.wp_tv_child {
	color: LightGoldenRodYellow; /* wow */
}

#wp-admin-bar-wp_tv_template_files .wp_tv_current,
#wp_tv_template_viewer .wp_tv_current {
	color: LawnGreen;
}

/* only use :hover color if Javascript is available. (JS adds links) */
#wp-admin-bar-wp_tv_template_files.wp_tv_js #wp_tv_file_list .wp_tv_plugin:hover,
#wp-admin-bar-wp_tv_template_files.wp_tv_js #wp_tv_file_list .wp_tv_theme:hover,
#wp-admin-bar-wp_tv_template_files.wp_tv_js #wp_tv_file_list .wp_tv_plugin a:hover,
#wp-admin-bar-wp_tv_template_files.wp_tv_js #wp_tv_file_list .wp_tv_theme a:hover,
#wp_tv_template_viewer.wp_tv_js a:hover {
	color: #2ea2cc;
}

#wp-admin-bar-wp_tv_template_files #wp_tv_file_list .ab-item,
#wp_tv_template_viewer span,
#wp_tv_template_viewer a {
	color: inherit;
}