/*-------------------------------------------------
Title:		TMS Data Direct styles for screen media
Author:		John Reed, john@studiobonito.com
Updated:	December 12 2008
------------------------------------------------- */





/* baselines
------------------------------------------------- */
body {
	margin: 0;
	padding: 0;
	color: #333;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	}

img, a img {
	border: none;
	vertical-align: text-bottom;
	}
/* -------------------------------------------------
                                    end baselines */





/* link styles
------------------------------------------------- */
a:link,
a:visited,
a:hover,
a:active {
	color: #336699;
	text-decoration: underline;
	}

a:hover {
	color: #ff9900;
	}

a:active {
	}

a.public, .public {
	color: #0da033;
	}

a.toggle {
	color: #444;
	font-size: 0.8em;
	font-style: italic;
	}

.breadcrumbs a:link,
.breadcrumbs a:visited,
.breadcrumbs a:hover,
.breadcrumbs a:active {
	color: #bbb;
	}

	
	.breadcrumbs:hover a:link,
	.breadcrumbs:hover a:visited,
	.breadcrumbs:hover a:hover,
	.breadcrumbs:hover a:active {
		color: #336699;
		}

.breadcrumbs a:hover {
	color: #ff9900 !important;
	}

#tms_widget_footer a:link,
#tms_widget_footer a:visited,
#tms_widget_footer a:hover,
#tms_widget_footer a:active {
	color: #999;
	text-decoration: none;
	}

#tms_widget_footer a:hover {
	color: #333;
	text-decoration: underline;
	}

/* -------------------------------------------------
                                  end link styles */





/* typography
------------------------------------------------- */
textarea {
	font-family: Courier, "Courier New", monospace;
	}

ol,
p,
ul {
	font-size: 12px;
	font-weight: normal;
	}

h1 {
	color: #336699;
	font-size: 22px;
	line-height: 28px;
	margin: 0;
	padding: 0;
	}
	
	h1:first-child {
		margin-top: 35px;
		}

	h1 em.beta {
		font-size: 16px;
		line-height: 0;
		}

h2, h3 {
	color: #ff9900;
	font-size: 16px;
	font-weight: normal;
	line-height: 22px;
	margin: 0;
	padding: 0;
	}

h3 {
	font-weight: bold;
	}
	
	h3 em.beta {
		font-size: 12px;
		}

h4 {
	color: #666;
	font-size: 14px;
	line-height: 18px;
	margin: 0;
	padding: 0;
	}
	
	h3 + h4 {
		margin-top: 12px;
		}

	h4 em.beta {
		font-size: 11px;
		}

h5,
h6 {
	color: #ff9900;
	font-size: 14px;
	}

li {
	line-height: 18px;
	}

p {
	line-height: 18px;
	margin: 0 0 18px 0;
	padding: 0;
	}


p.breadcrumbs {
	color: #bbb;
	font-size: 10px;
	margin: 8px 0;
	}
	
	p.breadcrumbs:hover {
		color: #333;
		}

	p.breadcrumbs em.beta {
		color: #ddd;
		font-size: 9px;
		}

	p.breadcrumbs:hover em.beta {
		color: #999;
		}

	p.breadcrumbs:hover a:hover em.beta {
		color: #ff9900;
		}
ul {
	margin-bottom: 18px;
	}


abbr:hover {
	cursor: help;
	}

.small {font-size: 10px;}

em.beta {
	color: #999;
	font-style: normal;
	font-weight: normal;
	text-transform: uppercase;
	}

#WzTtDiV * {
	font-size: 10px;
	line-height: 15px !important;
	}
/* -------------------------------------------------
                                   end typography */





/* structure
------------------------------------------------- */
#wrap {
	width: 700px;
	margin: 0 auto;
	background: url(../img/ui/bg_wrap.png) repeat-y 0 0;
	}

#header {
	position: relative;
	background: url(../img/ui/bg_header.png) repeat-x 0 0;
	border-bottom: 1px solid #ccc;
	}

#nav {
	float: left;
	width: 200px;
	margin: 0;
	padding: 0;
	}

#content {
	float: right;
	width: 480px;
	padding: 0 10px 80px 10px;
	}

#footer {
	clear: both;
	height: 1%;
	border-top: 3px solid #ff9900;
	padding: 3px 0 10px 0;
	text-align: center;
	background: #fff;
	}
	
.explanation {
	display: none;
	font-size: 11px;
	margin: 0 18px 18px;
	padding: 5px;
	background: #f3faf5;
	border: 1px dotted #0da033;
	}
	
	* html .explanation {
		border: 1px solid #cfecd6;
		}

.fileinfo {
	color: #999;
	font-size: 0.8em;
	font-style: normal;
	}





#tms_widget {
	width: 300px;
	margin: 18px auto;
	}

#tms_widget_footer {
	color: #999;
	font-family: arial, sans-serif;
	font-size: 9px;
	}

img.screenshot {
	float: right;
	margin: 0 0 24px 10px;
	padding: 3px;
	border: 1px solid #dedede;
	}


.clear {clear: both;}
/* -------------------------------------------------
                                    end structure */





/* navigation
------------------------------------------------- */
#nav li {
	list-style: none;
	font-size: 11px;
	line-height: 16px;
	margin: 0 0 0 1px;
	padding: 0;
	}

#nav li a:link,
#nav li a:visited,
#nav li a:hover,
#nav li a:active {
	display: block;
	width: 184px;
	height: 1%;
	padding: 5px 5px 5px 10px;
	border-bottom: 1px solid #eee;
	text-decoration: none;
	}

	#nav li a em.beta {
		font-size: 10px;
		}

#nav li a:hover {
	background: #fcfcfc;
	}
	
	#nav li.active a em.beta,
	#nav li a:hover em.beta {
		color: #333;
		}

#nav li.active a:link,
#nav li.active a:visited,
#nav li.active a:hover,
#nav li.active a:active {
	background: #fcfcfc;
	font-weight: bold;
	text-decoration: none;
	cursor: default;
	}

#nav li.active a:hover {
	color: #336699;
	}
	


	/* level 2 */
	#nav ul {
		margin: 0;
		padding: 0;
		}

	#nav li.active li a:link,
	#nav li.active li a:visited,
	#nav li.active li a:hover,
	#nav li.active li a:active {
		background: #fff;
		font-weight: normal;
		cursor: pointer;
		}

	#nav li.active li a:hover {
		background: #fcfcfc;
		color: #ff9900;
		}
		
		#nav ul li a:link,
		#nav ul li a:visited,
		#nav ul li a:hover,
		#nav ul li a:active {
			width: 163px;
			padding: 5px 5px 5px 30px;
			}

/* -------------------------------------------------
                                   end navigation */





/* form styles
------------------------------------------------- */
form p,
form td,
form th {
	font-family: Tahoma, Arial, sans-serif;
	font-size: 12px;
	}
		
	form label {
		font-size: 11px;
		text-transform: uppercase;
		cursor: pointer;
		}

form p {
	margin: 10px 0;
	}
	
	form legend + p {
		margin: 0 0 10px 0;
		}
	
	form p.radio img {
		vertical-align: text-top;
		}

	form p.radio input {
		vertical-align: bottom;
		}


form p.select {
	margin: 0 0 5px 0;
	}

	form p:last-child {
		margin: 0;
		}
	

	
	form td img {
		vertical-align: text-top;
		}

form td.or {
	font-size: 9px;
	padding: 2px 2px 3px 4px;
	text-transform: uppercase;
	}

.entry .option td,
.entry .option th {background: #eee !important;}

.option .first td,
.option .first th {border-top: 1px solid #ccc; padding-top: 11px;}

.option .first td {padding-top: 11px;}
.option .first th {padding-top: 11px;}

.option .last td,
.option .last th {border-bottom: 1px solid #ccc;}

.option .last td {padding-bottom: 8px;}
.option .last th {padding-bottom: 5px;}


form th {
	padding: 0 5px 0 0;
	text-align: right;
	vertical-align: middle;
	}
	
	form .textarea th {
		padding-top: 9px;
		vertical-align: text-top;
		}
	
	form input {
		font-family: Tahoma, Arial, sans-serif;
		font-size: 12px;
		padding: 2px;
		vertical-align: middle;
		}

	form textarea {
		font-family: Tahoma, Arial, sans-serif;
		font-size: 12px;
		vertical-align: middle;
		}
	
	form select {
		vertical-align: middle;
		}


fieldset {
	float: left;
	background: #fafafa;
	border: 1px solid #ccc;
	width: 443px;
	padding: 10px 15px;
	}

fieldset#data {
	float: left;
	width: 200px;
	margin: 10px 0 20px 0;
	}

fieldset#customer {
	float: right;
	width: 200px;
	margin: 10px 0 20px 0;
	}
	
	#customer input {
		width: 60px;
		}

fieldset#movies-content {
	clear: left;
	margin: 0 0 20px 0;
	}
	
	fieldset#movies-content .option th {
		padding-left: 10px;
		}

fieldset#generate-url {
	margin: 0 0 20px 0;
	padding-top: 0;
	}

fieldset#generate-url button {
	font-size: 11px;
	margin: 10px 0 0 0;
	}
	
fieldset#generate-url p {
	margin: 0;
	}
	
	#api_url {
		color: #999;
		width: 98%;
		margin: 10px 0 0 0;
		}
	
	#launch {
		display: block;
		font-size: 11px;
		padding: 5px;
		text-align: right;
		}

#api_preview {
	float: left;
	position: relative;
	z-index: 1;
	background: #fff;
	width: 474px;
	height: 300px;
	margin: 10px 0 0 2px;
	border: 1px solid #ccc;
	}

em.detail {
	font-size: .916666em;
	font-style: normal;
	}

.help {
	cursor: help;
	}

.required {
	color: #bb0000;
	font-size: .91666em;
	}
	
	input.required,
	textarea.required {
		color: #000;
		font-size: 12px;
		}

.toggle {
	font-size: .91666em;
	}

li .toggle {
	font-size: 1em;
	}

label.error {
	color: #cc0000;
	}

td.error {
	color: #cc0000;
	padding-top: 1em;
	}
	
	tr:first-child td.error {
		padding-top: 0;
		}

#error {
	padding: .5em .75em;
	background: #f7e8e8;
	color: #444;
	border: 1px solid #cc3300;
	}

.contact fieldset {
	background: none;
	border: none;
	padding: 0;
	}

.contact legend {
	display: none;
	}

.contact select {
	font-size: 12px;
	padding: 2px;
	}
	
	.contact select option {
		padding-right: 1em;
		}

em.note {
	color: #666;
	font-size: .91666em;
	font-style: normal;
	}
/* -------------------------------------------------
                                  end form styles */


* html legend {
	margin: -13px 0 0 -10px;
	}
	
	* html fieldset#generate-url legend {
		margin-top: -3px;
		}

*:first-child+html legend {
	margin: -17px 0 0 -10px;
	}
	
	*:first-child+html fieldset#generate-url legend {
		margin-top: -7px;
		}


