/* -------------------------------------------------------------- 
  
   reset.css
   * Resets default browser CSS.
   
-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body { 
  line-height: 1.5; 
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }

/* -------------------------------------------------------------- 
   
   typography.css
   * Sets up some sensible default typography.
   
-------------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body { 
  font-size: 75%;
  color: #222; 
  background: #fff;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  color: #555;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; }

h1 { font-size: 2em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.5em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 0.5em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { padding: 0 0 1.5em; }
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { border-bottom-color: #64abd7; border-bottom-style: dashed; border-bottom-width: 1px; color: #64abd7; }
a           { color: #64abd7; text-decoration: none; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre 				{ margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }

/* -------------------------------------------------------------- 
   
   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   
   Usage:
   * For text fields, use class .title or .text
   
-------------------------------------------------------------- */

label       { font-weight: bold; }
fieldset    { padding:0; margin:0; border: 0; }
legend      { font-weight: bold; font-size:1.2em; }


/* Form fields
-------------------------------------------------------------- */

input.text, input.title,
textarea, select {
  border:1px solid #bbb;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;

}

input.text:focus, input.title:focus,
textarea:focus, select:focus {
  border:1px solid #666;
}

input.text, 
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
textarea      { width: 390px; height: 250px; padding:5px; }


/* Success, notice and error boxes
-------------------------------------------------------------- */

.error,
.notice, 
.success    { padding: .8em; border: 2px solid #ddd; font-weight: bold; }

.error      { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice     { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a    { color: #8a1f11; }
.notice a   { color: #514721; }
.success a  { color: #264409; }


body {
	background: #e2f1fa url(img/bg-gradient.jpg) top left repeat-x;
}

.page {
	width: 522px;
	margin: 0 auto;
	position: relative;
}

#logo {
	display: block;
	height: 50px;
	width: 320px;
	background: transparent url(img/twi.tl-logo.png) top left no-repeat;
	margin: 60px 0 5px 5px;
	position: relative;
	z-index: 10;
	text-indent: -9999px;
}

#logo:hover {
	border: 0;
}

#window {
	display: block;	
	position: relative;
	z-index: 10;
}

#menu {
	list-style-type: none;
	overflow: hidden;
	zoom: 1;
	margin: -35px 10px 0 0;
	float: right;
}

#menu li {
	float: left;
	margin: 0 0 0 10px;
}

#menu a {
	padding: 5px;
	background: #64abd7;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 0;
	color: #fff;
	line-height: 30px;
}

#menu a:hover {
	background: #f7941d;
}

.top {
	height: 10px;
	display: block;
	background: transparent url(img/box-top.png) top left no-repeat;
}

.content {
	background: transparent url(img/box-mid.png) top left repeat-y;
	padding: 0 20px;
}

.btm {
	background: transparent url(img/box-btm.png) top left no-repeat;
	height: 20px;
	padding: 10px 0 0 0;
	display: block;
}

.title h1 {
	float: left;
}

.loading {
	float: right;
	height: 16px;
	width: 16px;
	background: transparent url(img/loading.gif) top left no-repeat;
	display: none;
	margin: 10px 10px 0 0;
	_display: inline;
	
}

.title {
	overflow: hidden;
	zoom: 1;
}

#longurl {
	padding: 7px;
	font-size: 20px;
	width: 340px;
	margin: 0 5px 0 0;
}

#shorturl {
	font-size: 15px;
	width: 470px;
	height: 70px;
}

#submit {
	background: transparent url(img/twitl-it-button.gif) top left no-repeat;
	border: none;
	text-indent: -9999px;
	height: 47px;
	width: 115px;
	outline: none;
	cursor: pointer;
}

#submit-twitter {
	background: transparent url(img/post-twitter-button.gif) top left no-repeat;
	border: none;
	text-indent: -9999px;
	height: 47px;
	width: 190px;
	outline: none;
	cursor: pointer;
	float: right;
	margin: 5px 0 0 0;
}

#return {
	margin: 10px 0 0 0;
	display: none;
}

#return h3 {
	float: left;
}

.error {
	display: block;
}

.counter {
	font-size: 15px;
	float: right;
}

.over {
	font-weight: bold;
	color: #8a1f11
}

.user {
	float: left;
	margin: 5px 0 0 0;
}

.label {
	float: left;
	display: block;
	width: 70px;	
	overflow: hidden;
	zoom: 1px;
}

.label label {
	float: right;
	margin: 4px 5px 4px 0;
}

.field {
	display: block;
	margin: 0 0 5px 0;
}

.user .text {
	width: 100px;
}

#footer p {
	text-align: center;
	font-size: 10px;
	color: #666;
}

#bird {
	display: block;
	position: absolute;
	background: transparent url(img/bird.jpg) top left no-repeat;
	height: 130px;
	width: 246px;
	z-index: 1;
	height:130px;
	top:-55px;
	left: -125px;
}

#post-twitter .error {
	background: none;
	border: none;
	float: left;
	width: 30px;
	height: 25px;
	display: block;
	text-indent: -9999px;
	background: transparent url(img/icon-warning.gif) top left no-repeat;
	padding: 0;
	margin: 6px;
	display: none;
}