/*------------------------------------------------------------------
TED /  global.css

Author:			Christopher Berry <chris@form-studios.com>

Methods: 		1. 	CSS FILES ORGANISATION 
					global.css			->	 	global rules
						fontsizes/*.css		->		main measurements files
					home.css			->		rules for homepage
					interior.css		->		rules for interior pages
							
				
				2.	IN THIS CSS FILE:
					General Rules
					Form Elements (appearance settings only)
					Global form submit button styles
					.advert - advertisement
					#container
						#msg_layer
						#header - main navigation
							#logo
						#search
						#body
							global elements for #body	
							column settings for #body						
						#footer
					.error 0 error/notification styles
					Workarounds
--------------------------------------------------------------------*/

/* default measurement 1em = 10px*/
@import url("fontsizes/x-small-2933842234.css"/*tpa=http://www.ted.com/css/fontsizes/x-small-2933842234.css*/);



 /* GENERAL RULES
--------------------------------------------------------------------*/

* {
	/*overwrite all default browser settings*/
	margin:				0;
	padding:			0;
	
	/*global font settings*/
	font-family: 		arial,helvetica,sans-serif;
}

html,body {
	/*part 1 of 100% height hack*/
	height:				100%;
}

body {
	background: 		white;
	padding:			0;
	margin:				0;
	
	/*part 1 of centering hack*/
	text-align: 		center;	
}
em {
	font-style:			italic !important;
}

 /* Global Link Settings
--------------------------------*/
a,
a:link,
a:visited {
	color:				#ff2b06;
	text-decoration:	none;
	outline:			none;
}
a:hover, 
a:active {
	text-decoration:	underline;
	outline:			none;
}

a.largeLink {
	font-size: 1.4em;
	font-weight: bold;
}

a.external {
	background:transparent url("../images/icon_external_link.gif"/*tpa=http://www.ted.com/images/icon_external_link.gif*/) no-repeat scroll right center;
	padding-right:15px;
}

 /* General Elements
--------------------------------*/

img {
	display: 			block; /*to avoid IE 3px bug, keep or delete, can be used with .float-left/right*/
	border:				0;
}

 /* Good to have global classes
--------------------------------*/
.floatright {
	float: 				right;
	display:			inline; /*to avoid IE double margin bug*/
}
.floatleft {
	float: 				left;
	display:			inline; /*to avoid IE double margin bug*/
}
.alignright {
	text-align:			right;
}

/*e.g. for accessibility quick links*/
.hide {
	height: 			0;
	width: 				0;
	overflow: 			hidden;
	position: 			absolute;
}


 /* Global Form Elements (appearance only, no layout settings etc)
--------------------------------*/
form fieldset {
	margin:				0;
	padding:			0;
	border:				0;
}
form legend {
	display:			none;
}
select {
	color:			#545454 !important;
}
select option {
	padding:		2px 0 !important;
}
/* Global form submit button styles: images / over images
-------------------------------------------------------*/
/* Submit */
form input.submit {
	width:			54px;
	height:			20px;
	float:			right;
	margin:			6px 0 0 0;
	background:		url("../images/button_submit.gif"/*tpa=http://www.ted.com/images/button_submit.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.submit:hover,
form .hover input.submit {
	background:		url("../images/button_submit.gif"/*tpa=http://www.ted.com/images/button_submit.gif*/) no-repeat -54px 0;
}
/* Go */
form input.go {
	width:			28px;
	height:			22px;
	float:			right;
	margin:			-3px 0 0 0;
	background:		url("../images/button_go.gif"/*tpa=http://www.ted.com/images/button_go.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.go:hover,
form .hover input.go {
	background:		url("../images/button_go_over.gif"/*tpa=http://www.ted.com/images/button_go_over.gif*/) no-repeat left top;
}
/* Submit Comment */
form input.submit_comment {
	margin:			8px 0 0 0;
	width:			91px;
	height:			22px;
	background:		url("../images/button_submit_comment.gif"/*tpa=http://www.ted.com/images/button_submit_comment.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.submit_comment:hover,
form .hover input.submit_comment {
	background:		url("../images/button_submit_comment_over.gif"/*tpa=http://www.ted.com/images/button_submit_comment_over.gif*/) no-repeat left top;
}
/* Edit Message */
form input.edit_message {
	margin:			8px 0 0 0;
	width:			48px;
	height:			22px;
	background:		url("../images/button_submit.gif"/*tpa=http://www.ted.com/images/button_submit.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.edit_message:hover,
form .hover input.edit_message {
	background:		url("../images/button_submit_over.gif"/*tpa=http://www.ted.com/images/button_submit_over.gif*/) no-repeat left top;
}
/* Cancel */
form input.cancel {
	margin:			8px 0 0 0;
	width:			45px;
	height:			22px;
	background:		url("../images/button_cancel.gif"/*tpa=http://www.ted.com/images/button_cancel.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.cancel:hover,
form .hover input.cancel {
	background:		url("../images/button_cancel_over.gif"/*tpa=http://www.ted.com/images/button_cancel_over.gif*/) no-repeat left top;
}
/* Add Comment */
form input.add_comment {
	margin:			8px 0 0 0;
	width:			78px;
	height:			22px;
	background:		url("../images/button_add_comment.gif"/*tpa=http://www.ted.com/images/button_add_comment.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.add_comment:hover,
form .hover input.add_comment {
	background:		url("../images/button_add_comment_over.gif"/*tpa=http://www.ted.com/images/button_add_comment_over.gif*/) no-repeat left top;
}
/* Browse for photo */
form input.browse_for_photo {
	margin:			0;
	width:			89px;
	height:			22px;
	background:		url("../images/button_browse_for_photo.gif"/*tpa=http://www.ted.com/images/button_browse_for_photo.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.browse_for_photo:hover,
form .hover input.browse_for_photo {
	background:		url("../images/button_browse_for_photo_over.gif"/*tpa=http://www.ted.com/images/button_browse_for_photo_over.gif*/) no-repeat left top;
}
/* Add */
form input.add {
	margin:			0;
	width:			34px;
	height:			22px;
	background:		url("../images/button_add.gif"/*tpa=http://www.ted.com/images/button_add.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.add:hover,
form .hover input.add {
	background:		url("../images/button_add_over.gif"/*tpa=http://www.ted.com/images/button_add_over.gif*/) no-repeat left top;
}
/* Save Profile */
form input.save_profile {
	margin:			0;
	width:			81px;
	height:			22px;
	background:		url("../images/button_save_profile.gif"/*tpa=http://www.ted.com/images/button_save_profile.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.save_profile:hover,
form .hover input.save_profile {
	background:		url("../images/button_save_profile_over.gif"/*tpa=http://www.ted.com/images/button_save_profile_over.gif*/) no-repeat left top;
}
/* Save Profile */
form input.save_account {
	margin:			0;
	width:			91px;
	height:			22px;
	background:		url("../images/button_save_account.gif"/*tpa=http://www.ted.com/images/button_save_account.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.save_account:hover,
form .hover input.save_account {
	background:		url("../images/button_save_account_over.gif"/*tpa=http://www.ted.com/images/button_save_account_over.gif*/) no-repeat left top;
}
/* Just "Save" */
form input.save {
	margin:			0;
	width:			40px;
	height:			22px;
	background:		url("../images/button_save.gif"/*tpa=http://www.ted.com/images/button_save.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.save:hover,
form .hover input.save {
	background:		url("../images/button_save_over.gif"/*tpa=http://www.ted.com/images/button_save_over.gif*/) no-repeat left top;
}
/* Rate */
form input.rate {
	margin:			0;
	width:			39px;
	height:			22px;
	background:		url("../images/button_rate.gif"/*tpa=http://www.ted.com/images/button_rate.gif*/) no-repeat left top;
	text-indent:	-9999px;
}
form input.rate:hover,
form .hover input.rate {
	background:		url("../images/button_rate_over.gif"/*tpa=http://www.ted.com/images/button_rate_over.gif*/) no-repeat left top;
}

/* Input Type Button styles */
form input.button_add {
	border:			1px solid #ddd;
	font-size:		1.0em;
	width:			34px;
	height:			22px;
	color:			#ff2a06;
	background-color:#fff;
	cursor:		pointer;
}
form input.button_add:hover {
	color:			#fff;
	background-color:#ff2a06;
}
form input.dojoButtonAdd {
	position:		relative;
	top:			2px;
	height:			19px;
	line-height:	14px;
}
/* Advertisement
--------------------------------------------------------------------*/
div.advert {
	
}

 /* MAIN CONTAINER
--------------------------------------------------------------------*/
#container {
	width:				900px;
	padding:			0;
	
	/*part 2 of 100% height hack*/
	min-height:			100%;
	height: 			100%;
	
	/*part 2 of centering hack*/
	text-align: 		left;
	margin: 			0 auto;
	background:			#fff;
}

html>body #container {
/*part 3 of 100% height hack*/
    height: 			auto;
}

 /* MESSAGE LAYER
--------------------------------------------------------------------*/
#container #msg_layer {
	position:			absolute;
	z-index:			9999;
	margin:				187px 0 0 0 !important;
	padding:			7px;
	width:				548px;
	height:				144px;
	background-color:	#252525;
}
#container #msg_layer p {
	padding:			0 180px 0 0;
	margin:				0;
	font-size:			1.6em;
	line-height:		1.3em;
	color:				#fff;
}
#container #msg_layer a.small {
	font-size:			1.1em;
}
#container #msg_layer div.close {
	position:			absolute;
	top:				8px;
	right:				8px;
	z-index:			1000;
}
/* Transparency for the message layer */
div.transparent_msglayer {
	position:			absolute;
	top:				0;
	left:				0;
	z-index:			9998;
	background-color:	#000;
	opacity:			0.35;
	-moz-opacity:		0.35;
	filter:				alpha(opacity=35);
	width:				100%;
	height:				100%;
}
/* CONFIRMATION LAYER
--------------------------------------------------------------------*/
#container #confirmation_layer {
	margin:				2px 0 5px 0;
	padding:			14px 10px;
	background:			#545454;
}
#container #confirmation_layer p {
	font-size:			1.5em;
	color:				#fff;
}

 /* HEADER
--------------------------------------------------------------------*/
#header {
	position:			relative;
	height:				1%;
	margin-bottom:		3px;
	padding:			0;
}
#header div.nav {
	border-bottom:		3px solid #ff2a06;
}

#header img {
	float:				left;
	margin:				0 48px 0 0;
	padding:			17px 0 41px 0;
}
#header ul {
	float:				left;
	list-style:			none;
	width:				142px;
	margin-top:			15px;
	border-top:			1px solid #8d8d8d;
}
#header ul li {
	border-bottom:		1px solid #e2e2e2;
}
#header ul li a {
	display:			block;
	margin:				0;
	padding:			2px 0 0 3px;
	height:				15px;
	border-top:			1px solid #fff;
	border-bottom:		1px solid #fff;
	font-size:			1.1em;
	color:				#888;
}
#header ul.main {
	width:				135px;
	margin-right:		11px;
}
#header ul.main li a {
	font-weight:		bold;
	color:				#222;
}
#header ul li a:hover,
#header ul li a:active {
	color:				#ff2b06;
	background-color:	#ededed;
	text-decoration:	none;
}
#header ul li a.selected {
	background-color:	#ededed;
}
/* Search field */
#search form {
	position:			absolute;
	z-index:			8;
	bottom:				-30px;
	right:				10px;
	background:			#fff;
}

#search form input.text {
	padding:			2px 5px 0 5px;
	float:				left;
	height:				16px;
	width:				192px;
	border:				0;
	border-top:			1px solid #949494;
	border-left:		1px solid #e9e9e9;
	color:				#666;
	font-size:			11px;
	font-weight:		bold;
}
input.dojoDropDown {
	/*width:				234px !important;*/
}
input.dojoDropDownShort {
	width:				162px !important;
}
#search form input.button {
	float:				left;
}
/* Logged in message */
#header div.message_layer {
	padding:			6px 0 6px 620px;
	background-color:	#ececec;
}
#header div.message_layer p {
	font-size:			1.1em;
	color:				#545454;
}
#header div.have_message {
	padding-left:		477px;
}

 /* #body - Global elements (works in all columns)
--------------------------------------------------------------------*/
#body {
	background:			#fff;
}

#body h1 {
	width:				620px;
	font-size:			2.4em;
	color:				#000;
	margin-left:		7px;
	/*margin-bottom:		35px;*/
	min-height:			65px;
	font-weight:        normal;
}

#body h1 a {
	color:				#000;
}
#body h1 a.grey {
	color:				#666;
}
#body h1 a.black {
	color:				#000;
}
#body h1 span {
	font-weight:		normal;
	color:				#000;
}
#body h1 span a {
	color:				#666;
}
#body h1 span.grey {
	font-weight:		normal;
	color:				#666;
}

#body p {
	margin:				0 0 1em 0;
}

/*boxes*/
#body dl.box {
	
}
#body dl.box dt {
	
}
#body dl.box dd {
	
}

/* AJAX LOADING INDICATOR --talk to bert
--------------------------------*/

#loadingindicator {
	position:		absolute;
	top:			0px;
	right:			5px;
}
/* Home page loading indicator */
div.homeloading {
	display:		block;
	height:			16px;
}
div.homeloading #loadingindicator {
	position:		static;
	float:			left;
	display:		inline;
	margin:			0;
}
/* #body - column layouts
--------------------------------*/
#maincontent,
#body #local,
#body #contextual {
	float: 				left;
	display:			inline;
}

#maincontent {
	width:				593px; 
	padding-left:		307px;
	/*
		width:				535px; 
	margin-left:		307px;
	*/
	margin-bottom:		10px;
	background:			url("../images/bg_maincontent.gif"/*tpa=http://www.ted.com/images/bg_maincontent.gif*/) repeat-y top left;
}

#body #local {
	width:				224px; /*250px*/
	margin-left:		-900px; /*730px*/
	margin-bottom:		10px;
	background:			#f2f2f2;
}

#body #contextual {
	width:				25%; /*250px*/
	margin-left:		1%; /*10px*/
	background:			blue;
}
a span.bull {
	position:			relative;
	top:				-0.1em;
	left:				0;	
}

 /* Subscribe module
--------------------------------------------------------------------*/

#body div.about div.subscribe {
	margin:			15px 0 0 0;
}

#body div.about div.subscribe div.topcap {
	height:			6px;
	background:		url("../images/bg_subscribe_corners.gif"/*tpa=http://www.ted.com/images/bg_subscribe_corners.gif*/) no-repeat 0 -6px;
}
#body div.about div.subscribe div.botcap {
	height:			6px;
	background:		url("../images/bg_subscribe_corners.gif"/*tpa=http://www.ted.com/images/bg_subscribe_corners.gif*/) no-repeat 0 0;
}
#body div.about div.subscribe div.main {
	padding:		10px;
	background:		#fff;
}
#body #contextual div.about div.subscribe h3,
#body #maincontent div.about div.subscribe h3 {
	padding:		0;
	margin:			0 0 4px 0;
	background:		none;
	font-size:		1.2em;
	text-transform:	uppercase;
	color:			#666;	
}
#body div.about div.subscribe p {
	font-size:		1.1em;
}
#body div.about div.subscribe form {
	margin:			0 0 10px 0;	
}
#body div.about div.subscribe label {
	float:			left;
	display:		inline;
	width:			75px;
	margin-right:	5px;
	font-weight:	bold;
	font-size:		1.1em;
	line-height: 	1.8em;/*submit is 20 px*/
	color:			#666;
}
#body div.about div.subscribe input.formTextInput {
	position:		static;
	float:			left;
	display:		inline;
	width:			110px;
	margin:			0;
	font-weight:	bold;
	color:			#666;
}
#body div.about div.subscribe dl dt {
	float:			left;
	display:		inline;
	width:			75px;
	font-weight:	bold;
	font-size:		1.1em;/*1.2em;*/
	line-height: 	1.45;/*1.34em;*/
	margin-right:	5px;
	color:			#666;
}
#body div.about div.subscribe dl dd {
	float:			left;
	display:		inline;
	font-size:		1.1em;/*1.2em;*/
	line-height: 	1.45;/*1.34em;*/
}

#body div.about div.subscribe dl.videoRss dd a,
#body div.about div.subscribe dl.videoRss dd span {
	float:			left;
	display:		inline;
}
#body div.about div.subscribe dl.videoRss dd span {
	margin:			0 8px 0 5px;
	border-right:	1px solid #B2B2B2;	
}
#body div.about div.subscribe input.subscribe {
	float:			left;
	display:		inline;
	width:			74px;
	height:			20px;
	margin:			0 0 0 6px;
	background:		url("../images/button_subscribe.gif"/*tpa=http://www.ted.com/images/button_subscribe.gif*/) no-repeat left top;
	text-indent:	-9999px;
}

#body div.about div.subscribe input.subscribe:hover {
	background:		url("../images/button_subscribe.gif"/*tpa=http://www.ted.com/images/button_subscribe.gif*/) no-repeat -74px 0;
}

 /* FOOTER
--------------------------------------------------------------------*/
#footer {
	clear:				both;
	height:				3em;
	background:			#dad8d6;
	line-height:		3em;
	text-transform:		uppercase;
	color:				#666;
	font-weight:		bold;
}

#footer a.smalllogo {
	float:				left;
	display:			inline;
	width:				47px;
	height:				18px;
	line-height:		18px;
	margin-top:			.6em;
	margin-left:		7px;
	margin-right:		180px;
	text-indent:		-9999999px;
	background:			url("../images/logo_ted_small.gif"/*tpa=http://www.ted.com/images/logo_ted_small.gif*/) no-repeat top left;
}

#footer ul {
	float: 				left;
	display:			inline;
	list-style:			none;
}

#footer ul li {
	display:			inline;
	font-size:			.9em;
	color:				#545454;
}

#footer ul li.legal {
	margin-right:		8px;
}

#footer ul li a {
	color:				#545454;
	text-decoration:	none;
}

#footer form {
	float:				right;
	display:			inline;
	margin-top:			.5em;
	margin-right:		6px;
}

#footer form input.text {
	padding:			2px 5px 0 5px;
	float:				left;
	height:				16px;
	width:				192px;
	border:				0;
	border-top:			1px solid #949494;
	border-left:		1px solid #e9e9e9;
	color:				#666;
	font-size:			11px;
	font-weight:		bold;
}

#footer form input.button {
	float:				left;
}

div.error label {
	color:				#ff2b06 !important;
}
div.error select,
div.error input.text,
div.error textarea.textbox {
	background:			#ffdfda !important;
}

.error span {
	display:			block;
	margin:				0 !important;
	padding:			0 !important;
	color:				#ff2b06 !important;
	font-size:			0.7857em !important;
	padding-top:		2px !important;
	display:			block !important;
}

.error span a {
  text-decoration: underline;
}

.error span.asterisk { 
	display:			inline !important;
}
div.error h4,
p.error {
	color:				#ff2b06 !important;
}
div.error label span,
div.error h4 span {
	display:			inline !important;
	font-size:			1em !important;
}
.notification span {
	display:			block;
	margin:				0 !important;
	padding:			0 !important;
	color:				#0d8d06 !important;
	font-size:			0.7857em !important;
	display:			block !important;
}
 /* CSS Workarounds
--------------------------------------------------------------------*/

 /* clearfix (already applied on #body)
--------------------------------*/

.clearfix:after,#body:after {
    content:			"."; 
    display:			block; 
    height:				0; 
    clear:				both; 
    visibility:			hidden;
}

.clearfix,#body {
	display:			inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix, * html #body {height: 1%;}
.clearfix, #body {display: block;}
/* End hide from IE-mac */


/* form controls */

div.yui-skin-ted {
	position:		relative;
	
}

div.formItemLine {
	margin-bottom: 14px;
}

label.formItemLabel {
	margin:		0 6px 0 0;
	display: 	block;
	font-size: 	1.1em;
	font-weight: bold;
	color: 		#545454;	
}

label.formItemLabelBySide {
	float:left;
	height:1.454em;
	padding-top:4px;
	margin: 0 14px 0 0;
	font-size: 1.1em;
	font-weight: bold;
	color: #545454;	
}

input.formTextInput {
	position:		relative;
	top:			-4px;
	margin: 0 14px 14px 0;
	padding: 2px 4px 0 4px;
	width: 249px;
	height: 1.454em;
	font-size: 1.1em;
	border: 1px solid #dcdcdc;
	color: #000;
}

input.formTextInputBySide {
	margin: 0 14px 0px 0;
	padding: 2px 4px 0 4px;
	width: 249px;
	height: 1.454em;
	font-size: 1.1em;
	border: 1px solid #dcdcdc;
	color: #666;
}

textarea.short {
	border:1px solid #DCDCDC;
	color:#666;
	font-size:1.1em;
	height:5em;
	margin:0pt;
	padding:4px 4px 0pt;
}
textarea.wide {
	width:523px;
}
textarea.narrow {
	width: 249px;
}

span.errorMessage {
	color: #ff0000;
}

div.hr {
		margin-top: 10px;
		height: 15px;
		background-color: transparent;
		background-image: url("../images/border_dotted.gif"/*tpa=http://www.ted.com/images/border_dotted.gif*/);
		background-repeat: repeat-x;
		background-attachment: scroll;
}

div.whitespace {
	height: 6px;
	background-color: #ffffff;
}

div.hr hr {
	display: none;
}

div.vr {
	width: 6px; 
	float:left;
}

div#signinHolder { 
	height: 320px;
}

div.columnInMain_2 {
	 width: 329px; 
	 height: 100%; 
	 float: left; 	
	 background-color: #e8e8e8;
}

div.columnInMain_3 {
	 width: 217px; 
	 height: 100%; 
	 float: left; 	
	 background-color: #e8e8e8;
}

div.box {
	clear: both;
	background-color: #e8e8e8;
}

div.boxContent {
	padding: 15px 10px 15px 10px;
}


div#selectcountry select {
	margin: 0pt 17px 12px 0pt;
	padding: 1px;
	width: 256px;
	height: 1.6em;
	font-size: 1.1em;
	border-width: 1px;
	border-style: solid;
	border-color: #dcdcdc;
}
div#selectcountry label, div#selectcity label, div#selectzipcode label {
	margin: 0pt 0pt 6px 0pt;
	display: block;
	font-weight: bold;
	color: #545454;
}

span.caption {
	font-size: 1em;
	font-style: italic;
	color: #666;
}
