@media screen and (min-width: 0px) {
	#rightContainerTop { margin-top: -5px;}
}
html {
	overflow: -moz-scrollbars-vertical;
	overflow-y: scroll;
}
body {
	font: 92%/136% "Lucida Sans Unicode","Lucida Grande",Garuda,sans-serif;
	background: #fff url(../images/body-bg.png) top left repeat;
	word-wrap: break-word;
	cursor: default;
}

p, .description, #clone, label, pre {
	margin-bottom: 1em;
	font-size: 13px;
	color: #505e9b;
}

a {
	outline: none;
	cursor: pointer;
}
strong {
  font-weight: bold;
}
input {
  outline: none;
}
input:active {
  outline: none;
}
ul.original {
  list-style-type: disc;
}
h2 {
	font-size: 16px;
	color: #f60;
}

a:link, a:visited {
	text-decoration: none;
	color: #69f;
}

a:focus, a:hover {
	color: #f60;
}

#registerContainer a.disabled {
	color: #fff;
	text-decoration: none;
	cursor: default;
}

#registerContainer a.disabled:hover {
	color: #fff;
}

/*---------------------------------  CLEARFIX */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

/*---------------------------------  PAGE SPECIFIC */

.separator {
	height: 1px;
	overflow: hidden;
	background: #e6e7ef;
}
.separator.light {
	background: #fff;
}

.dataContainer {
	float: left;
}

#leftContainer {
	width: 210px;
	margin-right: 5px;
	margin-left: 10px;
	position: relative;
	top: -10px;
}

#rightContainer {
	width: 195px;
	margin: 9px 0 0 5px;
}

#centerContainer {
	width: 565px;
	margin-top: 8px;
	
	min-height: 900px;
  height: auto !important;
  height: 900px;
}

.description, #clone {
	min-height: 297px;
	overflow: hidden;
}

#loading-indicator {
	position: absolute;
	top: 6px;
	right: 5px;
}


/*--------------------------------- HEADER */
#hd {
	background: url(../images/bd-bg.png) bottom left repeat-x;
	height: 140px;
	position: relative;
}
#hdWrapper {
	width: 900px;
	height: 100px;
	margin: 0 auto;
	position: relative;
}
#hd #topShadow {
	position: absolute;
	bottom: 26px;
	left: 0;
	height: 15px;
	width: 100%;
	background: url(../images/top-shadow.png) 0 0 repeat-x;
	z-index: 100;
}
#hd img {
	position: absolute;
	top: -16px;
}

#hd ul {
	position: absolute;
	top: 78px;
	right: 258px;
}
#hd li {
	float: left;
}
#hd li a {
	display: block;
	float: left;
	font-size: 13px;
	width: 122px;
	height: 36px;
	background: url(../images/navTab-expanded-bg.png) 0 10px no-repeat;
	position: relative;
	cursor: pointer;
	z-index: 100;
}
#hd li a img {
	margin-left: -9999px;
}
#hd li a:hover {
	background-position: 0 6px;
}
#hd li a span {
	margin: 17px 0 0 45px;
	text-align: center;
	color: #fff !important;
	float: left;
}
span.lighthouse {
  margin-left: 26px !important;
}

/*---------------------------------  LOGIN CONTAINER */

#loginForm {
	position: absolute;
	top: 25px;
	right: 10px;
	background: url(../images/login-container-bg.png) 0 0 no-repeat;
	height: 47px;
	width: 373px;
	padding-left: 5px;
	z-index: 100;
	text-align: left;
}

.authContainer {
	height: 15px;
	text-align: right;
	font-size: 11px;
	margin: 0;
	color: #9fa9d0;
	position: absolute;
	top: 10px;
	right: 36px;
	z-index: 100;
}

.authContainer a {
	color: #9fa9d0;
	text-decoration: underline;
	margin-right: 3px;
	margin-left: 3px;
}

.authContainer a:focus, 
.authContainer a:hover {
	color: #fff !important;
	text-decoration: none;
}

#loginFlash {
	position: absolute;
	top: 34px;
	width: 280px;
	height: 30px;
	line-height: 30px;
	z-index: 100;
	color: #fff;
	font-size: 12px;
	text-align: center;
}
#loginForm input {
	margin: 9px -7px 0 14px;
}
#loginForm .input {
	width: 108px;
	height: 14px;
	background: url(../images/login-input-bg.png) top left repeat-x;
	padding: 2px 5px;
	font-size: 12px;
	color: #505e9b;
}
input#signInBtn, input#submitBtn {
	background: url(../images/signIn-btn.png) -2px 0 no-repeat;
	width: 70px;
	height: 26px;
	border: none;
	color: #fff;
	font-size: 12px;
	margin-left: 15px;
	cursor: pointer;
}
input#signInBtn:hover {
	background-position: -2px -26px;
}
input#signInBtn:active, input#submitBtn:active {
	background-position: -1px -54px;
}
#loggedInUser {
	margin-right: 10px;
	color: inherit;
	font-size: inherit;
	float: left;
}
#loggedInUserName {
	color: #f60;
	margin-right: 15px;
}

/*---------------------------------  LEFT CONTAINER */

	#leftContainerTop {
		background: url(../images/leftContainer-top-bg.png) top left no-repeat;
		height: 10px;
		overflow: hidden;
		width: 186px;
	}
	
	#leftContainerMid {
		background: url(../images/leftContainer-mid-bg.png) top left repeat-y;
		width: 186px;
		height: 517px;
		overflow: hidden;
		position: relative;
		cursor: pointer;
	}
	
	#leftContainerBtm {
		background: url(../images/leftContainer-btm-bg.png) top left no-repeat;
		height: 10px;
		overflow: hidden;
		mergin-top: -8px;
	}
	#leftContainer ul {
		width: 210px;
		margin-top: -3px;
		position: absolute;
	}

	#leftContainer li a {
		display: block;
		background: url(../images/buttonLeft-bg.png) top left repeat-x;
		color: #505e9b;
		margin: 0 28px 0 2px;
		font-size: 13px;
		height: 20px;
		line-height: 20px;
		padding: 3px 0 3px 10px;
		position: relative;
		cursor: pointer;
	}
	#leftContainer li a.first {
		background: none;
	}
	#leftContainer li a.selected {
		background: url(../images/arrow.png) -5px 0 no-repeat;
		color: #fff;
	}
	#leftContainer li a:hover {
		color: #f60;
	}
	#leftContainer li a.selected:hover {
		color: #fff !important;
	}
	
	#leftContainer p {
		margin: 5px 25px 0 0;
		font-size: 11px;
		text-align: center;
	}
	
	#leftContainer p span {
		margin-right: 7px;
		font-spacing: -1px;
	}
	
	#leftContainer p a {
		text-decoration: underline;
		padding-right: 2px;
	}
	#leftContainer p a.selected {
		color: #f60;
		font-weight: bold;
		text-decoration: none;
	}
	
	#leftContainer p a:hover {
		text-decoration: none;
	}

/*---------------------------------  CENTER CONTAINER */

#editScript {
  font-size: 11px;
  position: absolute;
  top: 7px;
  right: 10px;
  text-decoration: underline;
}
#infoBoxTop, #register-container-top {
	background: url(../images/infoBox-top-bg.png) top left no-repeat;
	height: 10px;
	overflow: hidden;
}

.infoBoxMid, #register-container-mid {
	background: url(../images/infoBox-mid-bg.png) top left repeat-y;
	padding: 7px 0 5px 16px;
	position: relative;
	min-height: 236px;
	height: auto !important;
	height: 236px;
}

.infoBoxMid img {
	margin: 7px 5px;
	float: left;
}
  #infoBox {
    color: #505e9b;
    font-size: 11px;
  }
	#infoBox .contentWrapper {
		margin: 0 20px 0 150px;
		padding-top: 10px;
	}
	
	#scriptTitle {
		margin-bottom: 10px;
		padding: 4px;
		background: #fff;
		position: relative;
	}

#infoBoxBtm, #register-container-btm {
	background: url(../images/infoBox-btm-bg.png) top left no-repeat;
	overflow: hidden;
	height: 10px;
}

#scriptDescription pre, #clone pre {
  overflow: hidden;
  background: #fff;
  font-size: 11px;
  padding: 5px;
  margin-top: 1em;
  width: 370px;
}
#scriptDescription p {
  margin-left: 4px;
}
/*---------------------------------  DL */
dl.vcard {
	font-size: 13px;
	line-height: 18px;
	margin: 20px 0 0 -107px;
	width: 400px;
}

dl.vcard dt {
	float: left;
	width: 100px;
	text-align: right;
	padding: 1px 10px 1px 0;
	color: #f60;
	clear: left;
}

dl.vcard dd {
	width: 280px;
	float: left;
	color: #505e9b;
	padding: 1px 0;
	
}

dl.vcard dd a:link, dl.vcard dd a:visited {
	text-decoration: underline;
	/*color: #9fa9d0;*/
}

/*--------------------------------- RIGHT CONTAINER */

#rightContainer a.tab {
	float: left;
	text-align: center;
	line-height: 30px;
	height: 30px;
	color: #505e9b;
	font-size: 13px;
}
#rightContainer a.tab span {
	text-align: center;
	float: left;
	padding: 12px 0 0 26px;
}

#leftTab {
	background: url(../images/left-depressed.png) 0 0 no-repeat;
	margin-left: 2px;
	width: 97px;
}
#rightTab {
	background: url(../images/right.png) 0 0 no-repeat;
	width: 92px;
}
#leftTab.active {
	background: url(../images/left.png) 0 0 no-repeat;
}
#rightTab.active {
	background: url(../images/right-pressed.png) 0 0 no-repeat;
	margin-left: -6px;
	width: 96px;
}


#rightContainer a.active span {
	color: #f60;
}
#rightContainer a.tab:hover span {
	color: #505e9b !important;
}
#rightContainer a.active:hover span {
	color: #f60 !important;
}

#rightContainerTop {
	background: url(../images/rightContainer-top-bg.png) 1px 0 repeat-y;
	width: 200px;
	height: 10px;
	overflow: hidden;
	margin-top: 0;
}

.rightContainerMid {
	background: url(../images/rightContainer-mid-bg.png) top left repeat-y;
}

#rightContainerBtm {
	background: url(../images/rightContainer-btm-bg.png) top left no-repeat;
	height: 19px;
}

#rightContainer li a {
	display: block;
	background: #fff;
	padding: 5px;
	margin: 0 32px 3px 15px;
	color: #505E9B;
	font-size: 13px;
	border-left: 1px solid #fff;
	width: 152px;
	cursor: pointer;
}

#rightContainer li a.last {
	margin-bottom: 0;
}
#rightContainer li a:hover {
	color: #f60;
}

/* TAG CLOUD */

#tagCloudContainer {
	margin: 20px 10px 0 5px;
	background: #fff;
	padding: 10px 15px;
	text-align: center;
	cursor: pointer;
	font-family: Arial, Helvetica, sans-serif;
}

#tagCloudContainer span {
	padding: 0;
	line-height: 20px;
}

#tagCloudContainer a {
	color: #f60;
	cursor: pointer;
}

div#tagCloudContainer a.selected {
	/*color: #fff;
	background: #f60;*/
}

#tagCloudContainer a:hover {
	color: #69f;
}
div#tagCloudContainer a.selected:hover {
	color: #fff;
}

#tagCloudOptions {
	margin: 10px 60px 0 0;
	text-align: right;
	color: #505E9B;
	font-size: 12px;
}

.tags .size0 {font-size: 10px;}
.tags .size1 {font-size: 11px;}
.tags .size2 {font-size: 12px;}
.tags .size3 {font-size: 13px;}
.tags .size4 {font-size: 14px;}
.tags .size5 {font-size: 15px;}
.tags .size6 {font-size: 16px;}
.tags .size7 {font-size: 17px;}
.tags .size8 {font-size: 18px;}
.tags .size9 {font-size: 19px;}
.tags .size10 {font-size: 20px;}
.tags .size11 {font-size: 21px;}
.tags .size12 {font-size: 22px;}
.tags .size13 {font-size: 23px;}
.tags .size14 {font-size: 24px;}
.tags .size15 {font-size: 25px;}

/*---------------------------------  YUI specific */

#doc3 {
	margin: auto;
}

#bd {
	background: #e6e7ef;
	margin: -5px auto 0 auto;
}

	.yui-t7 #yui-main .yui-b {
		width: 1000px;
		margin: 0 auto;
	}

#ft {
	background: url(../images/ft-bg.png) 0 0 repeat-x;
	height: 30px;
	padding: 40px 0 0 0;
	color: #c4c3d4;
	width: 100%;
}
#ft p {
	text-align: center;
	line-height: 26px;
	color: #cdcdcd;
	font-size: 11px;
	background: url(../images/copyright-bg.png) 50% 0 no-repeat;
}
#ft p a {
  color: #cdcdcd;
  text-decoration: underline;
}

/*---------------------------------  RATING */


dd.rating span#scriptVotes, span#userScriptVotes {
	float: left;
	margin-left: 5px;
}
.ratingControl {
	float: left;
}
.ratingControl a {
	background: url(../images/rating-states.png) top left no-repeat;
	height: 15px;
	width: 15px;
	float: left;
	display: block;
}
div.ratingControl a.rating_off {
	background-position: 0 0;
}
div.ratingControl a.rating_half {
	background-position: 0 -15px;
}
div.ratingControl a.rating_on {
	background-position: 0 -30px;
}
div.ratingControl a.rating_selected {
	background-position: 0 -45px;
}

/*---------------------------------  SCROLLBAR */

#scrollbar {
	width: 13px;
	height: 527px;
	background: #fff;
	border: 1px solid #D1D3E0;
	position: absolute;
	top: 24px;
	right: 7px;
}
#scrollbar #handler {
	height: 28px;
	background: url(../images/arrow.png) -5px -1px repeat-x;
}

/*---------------------------------  SUBMIT BUG CONTAINER */

#bugSubmit {
	background: #fff;
	padding: 15px 0;
	width: 180px;
	text-align: center;
	margin-left: 10px;
}
#bugSubmit a {
	display: block;
	margin-top: 10px;
	text-decoration: underline;
	font-size: 13px;
}

/*---------------------------------  TOTAL SCRIPTCOUNTER */

#totalScripts {
	font-size: 11px;
	text-align: center;
	padding: 2px 0 2px 0;
	margin-left: 2px;
	margin-right: 28px;
	color: #505E9B;
}
#totalScriptsCounter {
	color: #f60;
}

/*---------------------------------  REGISTER OVERLAY and FORM */

#body-overlay {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 200;
	position: absolute;
}

.modal {
	z-index: 300;
	position: absolute;
	width: 549px;
	background: url(../images/shadow_top.png) 0 0 no-repeat;
	padding: 0;
	padding-top: 16px !important;
	overflow: hidden;
	font-size: 10px;
  text-align: left;
  padding: 0;
}

.modal .inner-wrapper {
  background: url(../images/shadow_btm.png) bottom left no-repeat;
  bottom: 0;
  left: 0;
  padding: 0 10px 10px 10px;
}
.modal h2 {
  margin: 30px 30px 0 30px;
  font-size: 20px;
  color: #505E9B;
}
#about-container p.createdBy {
  font-size: 11px;
  margin-bottom: 23px;
  margin-left: 28px;
}
.createdBy a {
  text-decoration: none !important;
}
#sendClaimRequest, #reportBrokenLink {
  font-size: 14px;
  background: green;
  color: #fff;
  padding: 0.3em 0.6em;
  text-decoration: none;
  opacity: 0.8;
  margin-right: 0.5em;
}
.modal-controls-wrapper {
  margin-bottom: 30px;
  margin-left: 30px;
  font-size: 13px;
}
.modal-controls-wrapper a.cancel {
  float: none;
  margin-left: 0.5em;
}
#sendClaimRequest:hover, #reportBrokenLink:hover {
  opacity: 1;
}
.modal ul {
  margin: 2em 3em;
}
.modal li {
  color: #505E9B;
  font-size: 13px;
  margin-bottom: 0.5em;;
}
.modal .script-name {
  color: #f60;
}
#register-form div {
	width: 515px;
	overflow: hidden;
}
#register-form label, #register-form input {
	float: left;
	font-size: 12px;
	padding: 3px;
}
#register-form label {
	margin-right: 10px;
	text-align: right;
	width: 150px;
}
input#submitBtn {
	margin: 0 10px 0 165px;
	padding: 1px 6px 1px 1px;
	font-size: 12px;
}
a.cancel {
	color: #f33;
	font-size: 12px;
	text-decoration: underline;
	line-height: 26px;
	float: left;
	margin-left: -5px;
}
a.cancel:hover {
	text-decoration: none;
}
#register-form .text-input {
	width: 200px;
}
#register-form p {
	margin: 30px 15px 30px 30px;
	line-height: 18px;
}
#register-form strong {
	font-weight: bold;
}
#registerFlash {
	width: 515px;
	margin: 0 0 20px;
	text-align: center;
	height: 50px;
}
#registerFlash p {
	background: #f55;
	color: #fff;
	padding: 3px;
	margin-top: 5px;
}
#registerFlash a {
  color: #fff;
}
p.success {
	background: #0c3 !important;
}
p.failure {
	background: #f55;
}
#loginFlash.success {
	background: url(../images/success.png) 0 0 no-repeat;
}
#loginFlash.failure {
	background: url(../images/error.png) 0 0 no-repeat;
}
#register-form p.inputError {
	float: left;
	color: #f55 !important;
	font-size: 10px;
	margin: 0;
	padding: 3px 0 3px 5px;
	width: 215px;
	text-align: left;
}
#authRequest, #ownershipNotice {
	font-size: 11px;
	padding-top: 4px;
	opacity: 0.5;
}
.registerControls {
  position: relative;
}
#loginBusy {
  position: absolute;
  top: 15px;
  right: 45px !important;
}
#registerBusy {
  position: absolute;
  top: 6px;
  left: 190px;  
}
a#closeAbout {
  position: absolute;
  bottom: 25px;
  right: 40px;
}
div.feedContainer {
  position: absolute;
  bottom: -13px;
  right: 200px;
  z-index: 200;
}
div.feedContainer img {
  position: static !important;
  top: 0 !important;
}
div.feedContainer a {
  text-decoration: underline;
  position: relative;
  top: -4px;
  font-size: 13px;
}
#permalink {
  font-size: 11px;
  text-decoration: underline;
  position: absolute; 
  top: 145px;
  left: 50px;
  
}
.modal p a {
  text-decoration: underline;
}
.modal li a {
  font-weight: bold;
}
#brokenLink {
  color: #f55;
  text-decoration: underline;
  font-size: 11px;
  line-height: 17px;
  margin-left: 5px;
  margin-right: 5px;
}
#broken-link-container h2 {
  margin-bottom: 1em;
}
#broken-link-container h2 span {
  color: #f60;
}
#claimScript {
	font-size: 11px;
	line-height: 17px;
	text-decoration: underline;
	margin-right: 5px;
}
#script_controls {
  background: #fff;
  margin: 20px 10px 0 0;
  height: 22px;
  font-size: 0.8em;
  color: #505E9B;
  overflow: hidden;
  width: 530px;
}
#controls_wrapper {
  float: right;
  margin: 2px 5px;
}


/** ------------ CODE FORMATTING (copyright by prototypejs.org)  ---*/

pre {
  background: #f7f7f7;
  padding: 10px;
  font-size: 90%;
  line-height: 130%;
}
pre {
  overflow: auto;
}
pre code {
    font-family: Monaco, Consolas, "Lucida Console", monospace;
    font-size: 100%;
}
.html .tag { color:#3344AA /*#BB7711*/ }
.html .attribute { color:#BB7711 }
.keywords { color: #f71; }
.comment { color: #517; }
.string { color: #392; }
.regex { 
  background: #D0F0FF; 
  color: #27b;
}

/** ------------ */

#claim-container label {
  margin-right: 1em;
}
#claim-container #claim-token {
  font-size: 1.2em;
  color: #f55;
}
#claim-wrapper {
  margin: 20px 30px;
}

#new-script-container p {
  margin: 20px 30px 10px;
}
#new-script-container .modal-controls-wrapper {
  text-align: right;
  padding-right: 40px;
  margin-bottom: 20px;
}
