/***************************************/
/* TYPOGRAPHY */

/* Typography */
body, table, td, input, select, option, textarea { font: 13px Georgia; line-height: 1.4em; }
h1, h2, h3 { color: #444; }
h1, h3, #navigation, #navigation a { font: bold 15px Arial; letter-spacing: -1px; }
h3 { margin-top: 15px; }
#navigation { text-transform: lowercase; }
#navigation_private, #navigation_private a { font-size: 11px; }
div#navigation tr#actions a { }
#search a { font: bold 10px Arial; }
h2 { font: bold 14px Arial; line-height: 1.5em; letter-spacing: -1px; margin-top: 15px; }
pre { font: 12px Courier; line-height: 1.4em; }
.message { font: bold 12px Arial; line-height: 1.5em; }
div#title h1 { line-height: 0.8em; margin: 0; padding: 0; font-size: 50px; letter-spacing: -3px; }

.purple_text a  { font-family:Arial, Helvetica, sans-serif;font-size:14px;font-weight:bold; color:#0bb0ed; }

/***************************************/
/* GLOBAL STYLING */

/* Paragraphs */
p { margin: 10px 0 10px 0; }

/* Tables */
table { color: #555; }
th { text-align: left; }
td { vertical-align: top; padding: 0 10px 2px 0; margin: 0;}

/* Links */
a { color: #02a9ee; text-decoration: underline; }
a:hover { text-decoration: underline; }
a img { border: 0 }
a.zip { background: url("../g/media/zip.png") no-repeat; padding: 0 0 48px 52px; }
a.pdf { background: url("../g/media/pdf.png") no-repeat; padding: 0 0 48px 52px; }
a.mov { background: url("../g/media/mov.png") no-repeat; padding: 0 0 48px 52px; }
a.mp3 { background: url("../g/media/mp3.png") no-repeat; padding: 0 0 48px 52px; }

/* Images */
img { border: 0; }

/* Lists */
ul { margin: 0px; padding-left: 20px; }
ul li { }

/* Line */
hr { height: 0px; border: 0; border-bottom: 1px solid #ccc; margin: 5px 0 0px 0; padding: 0px; }

/* Forms */
input, select { width: 120px; margin: 0 5px 0 0; }
input, select, textarea { border: 1px solid #999; }
input:focus, select:focus, textarea:focus { border: 1px solid rgb(0,128,255); }
input { padding: 1px 2px 1px 2px; }
input[type="file"], input[type="checkbox"] { width: auto; }
textarea { width: 100%; height: 200px; margin-bottom: 5px; padding: 3px; }
iframe { border: 0; }

/* Code */
pre { margin: 0; }
pre.python { background: rgb(245,240,235); background: rgb(235,235,225); border: 1px solid #ddd; color: #555; padding: 2px 5px 2px 5px; }
ul+pre { margin-top: 10px; }
td pre { margin-top: 5px; margin-bottom: 5px; }
pre+pre { margin-top: 5px; }
pre.python { margin: 10px 0 10px 0; }

body { background: url("../g/gradient.jpg") repeat-x rgb(0,0,0); margin: 0; text-align: center;}

/***************************************/
/* WIKI STYLING */

/* Page structure */
div#all { width: 850px; margin: auto; text-align: left; }
div#header_and_navigation { }

/* Page header */
div#header { background: rgb(126,174,227); }
div#header img { border: 0; max-width: 850px; }

div#title { position: relative; top: -80px; left: 35px; height: 0; color: white; width: 700px; }
* html div#title { margin-bottom: -61px; } /* IE specific */
div#title a { color: white; text-decoration: none; }
div#welcome { display: none; }

/* Page navigation */
div#navigation_public { background: url("../g/navigation.jpg") repeat-x #000; color: #fff; padding: 10px 10px 10px 35px; border-bottom: 0px solid rgb(153,167,186); }
div#navigation_private { background: rgb(153,167,186); color: rgb(230,210,235); padding: 5px 10px 5px 35px; }
div#navigation td { padding-right: 5px; }
div#navigation a { color: #fff; padding-right: 5px; text-decoration: none; }
div#navigation a:hover { color: #00b4ff; }

/* Page contextual links: languages and search */
div#contextual { float: right; margin-top: 8px; }
div#languages { display: inline; padding: 0 10px 0 10px; }
div#search { display: inline; padding: 0 5px 0 0; }
div#search form { display: inline; margin: 0; padding: 0; }
div#search input { margin-right: 0; padding: 0; margin: 0; height: 17px; font-size: 11px; padding-left: 3px; }

div#languages a { background: rgb(255,0,100); }
div#search a { background: #00b4ff; }
div#languages a,
div#search a { border: 1px solid #444; color: white; padding: 3px 4px 3px 4px;  }

/* Page content */
div#content { background: white; border-bottom: 1px solid #aaa; padding: 5px 20px 100px 35px; }
div#content .inside { width: 600px; }

/* Page footer */
#footer { background: rgb(0,0,0); color: #fff; font-size: 10px; text-align: right; padding: 3px 5px 3px 2px; }
#footer a { color: #fff; }

/* Page comments */
.comment textarea { width: 350px; height: 10em; margin: 0; }
.comment_by { color: #00b4ff; }

/* Search page */
.search input { margin: 3px 0 0 3px; }
.search { background: rgb(230,235,245); }
.bar { background: rgb(190,195,205);; height: 8px; margin-top: 4px; line-height: 1px;  }

/* Clients */
table.clients { width: 100%; border-collapse: collapse; }
table.clients th { padding-left: 10px; }
table.clients td { padding: 2px 10px 2px 10px; }
table.clients td.right { width: 100%; }
tr.odd td { background: rgb(245,250,255); }

/* Shared pages */
#shared { width: 100%; }
#shared td { white-space: nowrap; padding-right: 10px; padding-bottom: 0; }
.shared-comments { width: 15px; padding-top: 3px; }
.shared-comments div { background: rgb(0,128,255); color: white; font: bold 9px Arial; padding: 1px 2px 1px 2px; width: 10px; text-align: center; }
.shared-comments div.recent { background: deeppink; }
.shared-date { font-style: italic; }
.comment pre { max-width: 650px; min-width: 98%; overflow: hidden; }

/* Generate / Image selections */
#select_images, #selected_images { border: 1px solid #999; padding: 3px; margin-bottom: 10px; overflow: auto; }
#select_images { height: 210px; }
#selected_images { height: 100px; }
#selected_images img { padding-right: 3px; }
#generate textarea { height: 100px; }

/* Backend */
.edit textarea, .create textarea { height: 450px; width: 700px; }
.passwd textarea { height: 100px; }
.perm td { padding-bottom: 5px; }
.util { padding: 20px; }
.util #navigation { padding-left: 20px; }
.util #content { background: rgb(230,235,245); padding: 10px 20px 20px 20px; text-align: left; }

/* Style items */
.style1, .pink_box { background: #00b4ff; color: white; font-size: 80%; font-weight: bold; padding: 2px 4px 2px 4px; margin: 0 5px 0 0; }
.style2, .pink_text, .pink_text a { color: #00b4ff; }
.style3, .header_image { display: none; }
.style4, .big_text { font-size: 140%; line-height: 1.1em; }
.style5, .small_text { font-size: 90%; }
.style6 img, .image_border img, table span.image_border img, .border { border: 1px solid #ccc; }
.style6, .weak_link, .weak_link a { color: #949945; }
.style7 { color: #333333; }
.style8, .blue_text, .blue_text a { color: rgb(143,157,176); }
.style8, .green_text, .green_text a { color: rgb(118,225,0); }
.pink_text a, .purple_text a, .blue_text a, .green_text a  { text-decoration: underline; }
.pink_text a:hover { color: #023c55; }
.purple_text a:hover { color: #00b4ff; }
.mceContentBody .header_image { display:block !important; }
.mceContentBody .header_image img { border: 1px solid #00b4ff; width: 100px; }

/***************************************/
/* TINYMCE STYLING */

/* TinyMCE editor */
.mceContentBody { background: white; padding: 3px; text-align: left; width: 600px; }
.mceContentBody table { border-collapse: collapse; width: 100%; }
.mceContentBody td { border: 1px dotted black; }
.mceContentBody a { color: #023c55;text-decoration:underline; !important; } /* Nasty Firefox-TinyMCE bug */
.mceContentBody embed { background: url("../g/media/mov.png") no-repeat 5px 10px; padding: 25px;  }

/* TinyMCE popups */
.tabs { display: none; }
.panel_wrapper { background: rgb(230,235,245); border-bottom: 1px dotted #333; padding: 20px 0 30px 20px;  }
.panel_wrapper legend { display: none; }
.panel_wrapper fieldset {  border: 0; }
.panel_wrapper #advanced_panel { display: none; }
body.source { padding: 5px; background: rgb(230,235,245); }
body.source textarea { padding: 5px; }

/* Overlay editors */
.overlay_editor { z-index: 100; overflow: hidden; }
.overlay_editor { position: absolute; bottom: 20px; left: 20px; width: 350px; padding: 15px 10px 25px 10px; }
.overlay_editor, body.util #content { background: rgb(10,10,10); filter:alpha(opacity=90); opacity: 0.9; -moz-opacity:0.9; color: #ccc; border: 1px solid #444; }
.overlay_editor h3 { padding-top: 0; margin-top: 0; color: #ccc; }
.overlay_editor table { color: #ccc; }
#link_editor input, #link_editor select { width: 200px; }
#media_editor { height: 350px; width: 450px; }
#media_editor .thumbs,
#media_editor .list { padding: 3px; height: 270px; overflow: auto; border: 1px solid #444; }
#media_editor img { filter:alpha(opacity=90); opacity: 1.0; -moz-opacity:1.0; }
#source_editor { height: 275px; }
#source_editor textarea, .util textarea { font: 11px Courier; line-height: 1.3em; }

/***************************************/
/* SPECIFIC PAGES */
div.topic { width: 80px; }
div.example { margin-top: 20px; }