/* 

TEDinstant v.0.6
Author: Tharique Azeez
Site: http://www.niram.org

*/

/* HTML5 Boilerplate defaults */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
body{font:13px/1.231 sans-serif;font-size:small}
select,input,textarea,button{font:99% sans-serif}
pre,code,kbd,samp{font-family:monospace, sans-serif}
html{overflow-y:scroll}
a:hover,a:active{outline:none}
ul,ol{margin-left:2em}
ol{list-style-type:decimal}
nav ul,nav li{list-style:none;list-style-image:none;margin:0}
small{font-size:85%}
td{vertical-align:top}
sub,sup{font-size:75%;line-height:0;position:relative}
sup{top:-.5em}
sub{bottom:-.25em}
pre{white-space:pre-wrap;word-wrap:break-word;padding:15px}
textarea{overflow:auto}
.ie6 legend,.ie7 legend{margin-left:-7px}
input[type=checkbox]{vertical-align:bottom}
.ie7 input[type=checkbox]{vertical-align:baseline}
label,input[type=button],input[type=submit],input[type=image],button{cursor:pointer}
button,input,select,textarea{margin:0}
input:invalid,textarea:invalid{border-radius:1px;-moz-box-shadow:0 0 5px red;-webkit-box-shadow:0 0 5px red;box-shadow:0 0 5px red}
.no-boxshadow input:invalid,.no-boxshadow textarea:invalid{background-color:#f0dddd}
a:link{-webkit-tap-highlight-color:#FF5E99}
button{width:auto;overflow:visible}
.ie7 img{-ms-interpolation-mode:bicubic}
body,select,input,textarea{color:#444}
a,a:active,a:visited{color:#607890}
a:hover{color:#036}
strong,th,h1,h2,h3,h4,h5,h6{font-weight:bold}
input[type=radio],.ie6 input{vertical-align:text-bottom}
::-moz-selection,::selection{background:#FF5E99;color:#fff;text-shadow:none}

/* Primary Styles */

body {
	background: #EEE url(../images/bg.png);
}

#container {
	width: 800px;
	margin: 10px auto;
}

header > #logo {
	width: 400px;
	float: left;
	height: 100px;
	font-size: 28px;
	height: 40px;
	padding-bottom: 10px;
	margin-top: 4px;
	margin-bottom: 10px;
}

#logo a {
	text-decoration: none;
	text-shadow: #ffffff 2px 2px 2px;
}
header .ted_search {
	width: 500px;
	border:1px solid #9e9e9e;
	font-size:20px;
	padding:5px;
	width:350px;
	margin-top: 5px;
	margin-left: -220px;
	font-family:'Arial', Georgia, Times New Roman, Times, serif;
	-moz-border-radius:5px;-webkit-border-radius:5px;
	border-radius: 5px;
}

#whatisthis a {
	width: 150px;
	float: right;
	text-decoration: none;
     margin-top: -25px;
     width: 80px;
     color: #d6656a;
}

#likeplus {
	width: 190px;
	float:right;
	display: block;
    padding-right: 30px;
    margin-top: 13px;
    margin-right: 28px;
}

#___plusone_0 {
    width: 70px;
}

/* Popup thing */
.black_overlay{
			display: none;
			position: absolute;
			top: 0%;
			left: 0%;
			width: 100%;
			height: 100%;
			background-color: black;
			z-index:1001;
			-moz-opacity: 0.8;
			opacity:.80;
			filter: alpha(opacity=80);
		}
.white_content {
			display: none;
			position: absolute;
			top: 25%;
			left: 25%;
			width: 600px;
			height: 50%;
			padding: 16px;
			background-color: white;
			z-index:1002;
			overflow: auto;
			margin-top: -30px;
    			border-bottom:1px solid #d9c8c8;
    			border-top:1px solid #d9c8c8;
    			border-right:5px solid #d9c8c8;
    			border-left:5px solid #d9c8c8;
		}
		
.white_content .close a {
    float: right;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.white_content h2 {
    font-size: 20px;
    color: #e3787e;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 550px;
    margin-left: 25px;
}

.white_content p {
    font-size: 14px;
    color: #6b6b6b;
    padding-bottom: 7px;
    width: 550px;
    margin-left: 26px;
}

#title {
    font-size: 20px;
    width: 600px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-family: Helvetica, Arial, sans-serif;
    text-shadow: #ffffff 2px 2px 2px;
}

div.white_content img {
    margin-left: 20px;
    padding-bottom: 6px;
}

div.white_content {
    border-color: #b3b3b3;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 10px;
    border-right-width: 10px;
}

.ted_credit {
	margin-left: 20px;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: bold;
	line-height: 13px;
}


#count {
    width: 150px;
    font-weight: bold;
    font-size: 25px;
    text-shadow: #ffffff 2px 2px 2px;
}

#words {
	width: 640px;
	height: 400px;
	margin: 1px auto;
	background: url(../images/ted_words.png) no-repeat center;
}

#result {
    width: 640px;
    margin: 10px auto;
}

#no_video {
    margin-top: 40px;
    width: 600px;
    font-size: 16px;
}

.red {
	color:#FF2A06;
	font-weight: bold;
}

.instant_italics {
	font-style: italic;
	text-transform: none;
	font-size: 11px;
}

.instant {
	font-style: italic;
}

#tweet-button a{
	float: right;
	margin-top: -40px;
	width: 40px;
	text-decoration: none;
	display: block;
	padding: 2px 5px 2px 20px;
	background: url('http://a4.twimg.com/images/favicon.ico') 1px center no-repeat;
	border: 1px solid #ccc; 
}

#tweet {
    float: right;
    margin-top: -45px;
    width: 60px;
    padding-top: 16px;
}

.appted {
	padding: 5px;
	font-size: 10px;
	margin: 0 auto;
	width: 700px;
	text-transform: uppercase;
	text-align: center;
}


footer {
	background: #111;
	bottom: 0;
	left:0;
	color: #989898;
	position: fixed;
	width: 100%;
	height: 40px;
}

footer #anbu {
	float: left;
	margin-right: 0px;
}
footer a {
	color:  #384662;
	text-decoration: none;
}
footer .niram {
	font-size: 10px;
	margin: 0 auto;
	padding-top: 5px;
	padding-bottom: 10px;
	width: 700px;
	text-transform:uppercase;
}



.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.hidden { display: none; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


@media all and (orientation:portrait) {

}

@media all and (orientation:landscape) {

}

@media screen and (max-device-width: 480px) {

  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}


@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } 
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
