﻿/* General Style Info */
body {
	background: url(/img/bg.jpg) repeat-x white;
	margin: 0;
	padding: 0;
}

body, input, select, textarea {
	font-family: 'lucida grande','Trebuchet MS', 'Lucida Sans Unicode',verdana,helvetica,arial,sans-serif !important;
}

a {
	color: #2E7AAF;
	text-decoration:none;
	font-weight: bold;
}
a:hover {
	color: #003d4c;
	text-decoration: underline;
}
a img {
	border:none;
}
h2 {
	font-size: 190%;
	margin-bottom: 0.3em;
}
h3.secondary {
    	color: #D51007;
	font-size: 190%;
	padding-top: 0.5em;
	margin-bottom: 0.3em;
	border-top: 1px solid #ddd;
	margin-top: 2em;
}
h3 {
    color: #4B4742;
	font-size: 190%;
	padding-top: 0.5em;
	margin-bottom: 0.3em;
}
h4 {
	color: #38a5a4;
	font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif;
	font-size: 165%;
	padding-top: 0.5em;
	margin-bottom: 0em;
}
ul, li {
	margin: 0 12px;
}

/* Layout */
#container {
	text-align: left;
}

#header{
	background: url(/img/masterhead.png) no-repeat 50% 0;
        position: relative;
}
#header h1 {
	height: 75px;
	width: 200px;
}
#header h1 a {
	height: 75px;
	width: 200px;
	text-indent: -4000px;
        display: block;
	color: black;
}
#navigation {
    position: absolute;
    top:0;
    right: 24px;
}
#navigation ul {
    list-style: none;
}
#navigation li {
    float: left;
    padding: 0;
    margin: 0;
	background: url(/img/menusep.png) no-repeat; 
	padding-left: 1px;
}
#navigation a {
    line-height: 70px;
    color: #ddd;
    height: 69px;
    display: block;
    padding: 0 15px;
    text-decoration: none;
    font-size: 1.1em;
}
#navigation a:hover {
    color: white;
    background: url(/img/menuhover.png) repeat-x;
}
.subnav {
    position: absolute;
    right: 36px;
    top: 69px;
    font-weight: bold;
    font-size: 0.95em;
    background: #222;
    color: #eee;
    padding: 5px 0px 5px 15px;
}
.subnav ul,
.subnav ul li {
    display: inline;
    margin: 0;
    padding: 0 10px;
}
.subnav li {
    border-left: 1px solid #555;
}
#search.subnav { padding-right: 15px;  display: none;}
#search.subnav div { display: inline; margin: 0; }
#search.subnav a { display: block; text-align: right;}
.subnav label { color: #eee; display: none; }
.subnav form { margin: 0; width: 100%;}
.subnav input { display: inline; width: 200px; }
.subnav .submit input { font-size: small; padding: 3px; }
.subnav a {
    text-decoration: none;
    color: #999;
}
.subnav a:hover {
    color: #D45722;
}
h2.pagetitle {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 270%;
    padding: 0;
    color: #711a4f;
}
#content{
	clear: both;
	color: #333;
	overflow: auto;
}
#sidebar {
    float: right;
}
#footer {
    margin-top: 3em;
    border-top: 1px solid #eee;
    color: #aaa;
    padding: 1em 0;
}

#footer p,
#footer li,
#footer ul {
    display: inline;
}
#footer p { margin-left: 25px; }
#footer li {
    display: inline;
    padding: 10px;
    margin: 0;
    font-size: 0.9em;
    text-transform: uppercase;
}
#footer a {
    color: #777;
}
#footer a:hover {
    color: #95260F;
}
#download-link {
    width: 40%;
    font-size: 90%;
    background: #fefefe;
    border: 1px solid #aaa;
    padding: 3px;
    color: #333;
    display: inline;
}

/* Auto Complete */

.ac_results {
	padding: 0px;
	border: 1px solid #999;
	background-color: #eee;
	overflow: hidden;
	z-index: 99999;
  margin: 1px;
}

.ac_results ul {
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 5px;
	cursor: default;
	display: block;
	line-height: 2em;
	overflow: hidden;
  border-bottom: 1px solid #ddd;
}


.ac_results li img{
  float: left;
  margin-right: 5px;
  border: 1px solid #333;
}
.ac_loading {}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #ddd;
}
.ac_results li strong {
    color: #2E7AAF;
}

/* Search */
.search-box form {
    background: white;
    margin: 0 auto 2em;
    border: 10px solid #eee;
    padding: 12px;
    position: relative;
}
.search-box .input {
    font-size: 150%;
    margin-bottom: 5px;
}
.search-box .input label,
.search-box fieldset legend {
    display: none;
}
.search-box fieldset,
.search-box div {
    padding: 0;
    margin: 0;
    border: none;
}
.search-box .submit {
    margin: 0;
    position: absolute;
    left: 82%;
    top: 12px;
}
.search-box img {
    vertical-align: middle;
}
.google-resultset .gs-result {
    margin-bottom: 1.5em;
}
.google-resultset .gs-title {
    font-size: 1.1em;
}

.google-resultset .gs-snippet {
    width: 60%;
}

.google-resultset .gs-visibleUrl {
    color: green;
}

.google-resultset .gs-visibleUrl a {
    color: #666;
    text-decoration: underline;
}

.score-info {
    border: 1px solid #B7B862;
    background: #F3F093;
    padding: 5px;
    font-size: 1.05em;
    color: #8E7727;
}
.adsense-728 {
	margin: 0 auto;
	width: 728px;
}

.adsense-side-160,
.adsense-side-200,
.adsense-side-336 {
    float: right;
}

/* Profile Card */
.avatar-frame {
    border: 1px solid #bbb;
    padding: 2px;
    background: #efefef;
}
.avatar-largeframe {
    width: 125px;
}
.avatar-mediumframe {
    width: 96px;
}
.avatar-smallframe {
    width: 48px;
}
#user-profile-wrapper {
    position: absolute;
    z-index: 999;
}
#user-profile-wrapper .shadow {
    position: absolute;
    background: #000;
    width: 350px;
    height: 135px;
}
.user-profile-card {
    background: #eee;
    position: relative;
    top: -8px;
    left: -8px;
    width: 350px;
    height: 135px;
    padding: 5px 10px;
    color: #111;
    border: 1px solid #aaa;
}
.user-profile-card.loading {
   background: url(/img/ajaxload.gif) no-repeat 10px 30px #eee;
}
.user-profile-card p {
    color: #444 !important;
    margin: 0;
}
.user-profile-card em {
    font-style: normal;
    float: left;
    display: block;
    width: 100px;
    color: #999;
}
.user-card-name {
    padding-bottom: 5px;
}
.user-card-score {
    font-size: 1.5em;
    color: #33 !important;
}
.user-card-score strong {
    color: #000;
    font-size: 1.8em;
    line-height: 1em;
    letter-spacing: -1px;
    margin-bottom: 10px;
    font-family: Arial, Verdana, san-serif;
}
.user-profile-card .avatar-frame {
    float: left;
    margin-right: 10px;
}
.user-card-profile-link {
    clear: both;
    text-transform: uppercase;
    margin-top: 1.5em;
    font-size: 0.85em;
    text-align: right;
}
#users-profile .user-avatar {
	float: left;
	margin-top: 1em;
}
#users-profile .profile-info {
	margin-left: 130px;
}
.user-typing .user-link {
    width: 80px;
    float: left;
    margin: 1em;
}
.stats-menu {
  clear: both;
  margin-top: 2em;
}
#stats .stats-menu {
  margin-top: 0;
}
.profile-info li{
    border-right: 1px solid #aaa;
    display: block;
    float: left;
    padding: 10px 20px 10px 10px;
    margin: 0 10px;
}
.profile-info strong {
    font-family: arial, verdana, san-serif;
    font-size: 3em;
    line-height: 1em;
    letter-spacing: -2px;
    display: block;
    color: #111;
}
.other-profile-info {
    float: left;
    margin: 0.5em 30px 2em 150px;
}
.profile-graphs h4,
.other-profile-info h4 {
	margin-bottom: 1em;
}
.other-profile-info ul {
    list-style: none;
    margin: 0;
}
.other-profile-info em {
    float: left;
    width: 100px;
    font-style: normal;
    color: #666;
}
.other-profile-info li {
    clear: left;
    padding: 0;
    margin: 0;
}
.profile-graphs {
    float: left;
    margin: 0.5em 0 2em 0;
}
#users-profile h3.secondary {
    clear: both;
}
.quick-download a {
    background: url(/img/download.png) no-repeat 100% 1px;  
    padding-right: 17px; 
    text-transform: uppercase;
}
div.quick-download {
    bottom: 3px;
    right: 0;
    position: absolute;
}
#home .profile-info {
  float: right;
}
#stats .profile-info {
	margin: 0px;
}

#stats .profile-info li {
	padding: 10px 20px 10px 0;
}
/* Tab */
.user-account-tab {
    margin: 2em 0;
    padding: 0;
    list-style: none;
}
.user-account-tab li {
    display: inline;
    margin: 0 10px 0 0;
}
.user-account-tab a {
    padding: 8px;
    color: #767676;
    text-decoration: none;
}
.user-account-tab a.active {
    padding: 8px;
    background: #878787;
    color: #eee;
}
.user-avatar {
	position: absolute;
}
.user-avatar-change {
    margin-left: 150px;
}
.tab {
    clear: both;
}
/* Comment */
#comment-form form {
    position: relative;
}
#comment-form .submit {
    position: absolute;
    top: 5.5em;
    left: 63%;
}
#comment-form .textarea label {
    display: none; 
}
#comment-form .textarea textarea {
    height: 4em;
    width: 60%;
}
#comment-form div {
    margin: 0;
    padding: 5px 0;
}
#comment-list {
    list-style: none;
    margin: 0;
}
#comment-list li {
    clear: both;
    margin: 2em 0;
}
#comment-form h3.secondary {
    margin: 0;
    border: 0;
}
#comment-list .user-link {
    width: 80px;
    text-align: center;
    height: 80px;
    float: left;    
    margin-top: -10px;
}
#comment-list .comment {
    width: 650px;
    background: #f5f5f5;
    font-size: 1.1em;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px 0 0 90px;
    position: relative;
}
#comment-list .avatar-frame {
  margin: 0 auto;
}
#comment-list .reply-comment {
    background: url(/img/reply.gif) no-repeat;
    width: 20px;
    height: 15px;
    margin: 5px 10px 0 0 ;
    float: right;
    text-indent: -999px;
}
#comment-list .comment.alt {
    background: #fcfcfc;
}
#comment-list .timestamp {
    color: #999;
    font-size: 0.9em;
    margin-left: 95px;
}
#comment-list .pointer-border, .pointer {
  border-left:0 none;
  height:0;
  position:absolute;
  width:0;
}
#comment-list .pointer-border {
  border-bottom:20px solid transparent;
  border-right:20px solid #DDDDDD;
  left:-20px;
}
#comment-list .pointer {
  border-bottom:19px solid transparent;
  left:-18px;
  margin-top:1px;
}
#comment-list .pointer {
  border-right:19px solid #f5f5f5;
}
#comment-list .alt .pointer {
  border-right:19px solid #FCFCFC;
}
#comment-list .flagged-comment .comment{
    text-decoration: line-through;
}
#comment-short-list {
    list-style: none;
    margin: 0;
}
#comment-short-list li{
	clear: both;
	margin-bottom: 1em;
}
#comment-short-list .user-profile{
	font-size: 120%
}
#comment-short-list .avatar-frame,
#comment-short-list img {
	width: 36px;
    margin-right: 8px;
    float: left;
}
#comment-short-list .message {
    display: block;
}
#comment-short-list-wrapper {
position: absolute;
position: fixed;
background: white;
border: 4px solid #999;
width: 300px;
right: 0;
bottom: 0;
z-index: 99999;
padding: 15px 15px 0 15px;
}
/* Tables */
table {
	background: #fff;
	border:1px solid #ccc;
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
}
th {
	background: #f2f2f2;
	border:1px solid #bbb;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	text-align: center;
}
th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	margin: 0px 6px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Paging */
.paging {
	text-align: center;
	clear: both;
	color: #555;
	height: 1.5em;
	margin: 1em;
}
.paging .paging-next {
    background: url(/img/pagenext.png) no-repeat right center;
    padding-right: 15px;
    float: right;
}

.paging .paging-prev {
    background: url(/img/pageprev.png) no-repeat left center;
    padding-left: 15px;
    float: left;
}
.paging .next-disabled,
.paging .prev-disabled {
    display: none;
}
.paging span.current {
    color: black;
    font-size: 1.6em;
}
div.paging span a { }

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 90%;
}
fieldset {
	border: 1px solid #ccc;
	padding: 16px 20px;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 0;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
	margin-left: 20px;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required label {
	color: #333;
	font-weight: bold;
	background: url(/img/required.png) no-repeat right 2px;
	padding-right: 13px;
	display: inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
}
input, textarea {
	clear: both;
	display: block;
	font-size: 120%;
	padding: 2px;
	width: 80%;
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input.number, input.percentage {
	font-size: 140%;
	width: 50px;
	text-align: center;	
}
div.control-buttons input,
input[type=submit] {
	display: inline;
	font-size: 120%;
	padding: 6px 8px;
	width: auto;
	vertical-align: bottom;
}
div.control-buttons {
	margin-top: 20px;
}
fieldset label {
	font-weight: normal;
	display: inline;
}
fieldset input{
	display: inline;
	width: auto;
}
fieldset input.number {
	width: 60px;
}
/* Image Crop */
#crop-area {position: relative; }
#crop-image{ position: absolute;  top: 0;}
#thumbnail { position: relative;  left: 160px;}


/* Grid Listing */
.subtitle-grid,
.collection-grid { list-style: none; padding: 0; margin: 0;}

.subtitle-grid li,
.collection-grid li { padding: 0; margin: 0; float: left; margin-right: 22px; position: relative;}

.subtitle-grid li { width: 280px; margin-right: 10px; margin-bottom: 10px;}
.collection-grid li { width: 130px; margin-right: 15px; padding-bottom: 30px; }



.subtitle-grid  .frame {
	float: left;
	margin-right: 7px;
}
.collection-grid h3 a,
.subtitle-grid  h3 a {
	color: #333;
	text-decoration: underline;
}
.collection-grid h3 a:hover,
.subtitle-grid  h3 a:hover {
	color: #eee;
	background: #333;
	text-decoration: none;
}
.collection-grid h3,
.subtitle-grid  h3 {
	margin: 7px 0; 
	padding: 0;
	font-size: 1.3em;
}
.collection-grid p,
.subtitle-grid p {
margin: 2px 0;
color: grey;
}
.collection-grid .collection-subtitle-count,
.subtitle-grid  .uploaded-user {
font-size: 0.9em;
color: grey;
}
.collection-grid .timestamp,
.subtitle-grid .timestamp {
color: #555;
}

.completed-count .completed {
color: #333;
font-size: 1.3em;
}

.subtitle-grid .completed-count {
position: absolute;
right: 4px;
bottom: 0;
}
.completed-count {
color: #666;
font-size: 1.5em;
font-family: Georgia, "Times New Roman", serif;
}
.more { clear: both;  text-align: right; padding: 1.5em 10px 0.5em;}


#collections-view .frame,
#subtitles-view .frame {
    float: left;
    margin-right: 30px;
}
#collections-view .url{
	padding-bottom: 0em;
	margin-bottom: 0.2em;
	font-size: 160%;
}
#collections-view .description,
#subtitles-view .description {
	font-size: 120%;
}

#collections-view h3,
#subtitles-view h3 {
	padding-top: 1em;
    clear: both;
}

#type-subtitle-button {
  float: right;
  width: 334px;
  height: 144px;
  border-top: 1px solid transparent;
  background: url(/img/type-button.png) no-repeat 0 0;
  cursor: pointer;
}

#type-subtitle-button:hover {
  background: url(/img/type-button.png) no-repeat 100% 0;
}

#type-subtitle-link {
	display: block;
	margin: 20px 55px 0 30px;
	font-size: 1.7em;
	text-decoration: none;
    color: #111;
	font-family: verdana, arial, san-serif;
}

#type-subtitle-button:hover #type-subtitle-link a {
	background: transparent;
	color: #433;
}

#type-subtitle-button span.complete-percentage,
#type-subtitle-button span.subtitle-language {
    display: block;
    margin: 0 55px 4px 30px;
}

#type-subtitle-button span.complete-percentage {
    color: #c7a3b9;
    font-size: 0.9em;
}

#type-subtitle-button .subtitle-language {
    font-weight: bold;
    color: #f3d8e9;
    font-size: 1.1em;
}

#type-subtitle-button p {
    display: block;
    color: #766;
    font-size: 0.9em;
    padding: 20px 0 0 25px;
}

#collections-view ul,
#subtitles-view ul {
	margin: 2em 2em 1em;
}

#collections-view ul li,
#subtitles-view ul li {
	margin: 0.3em 0;
}

#subtitles-type .completed-count {
	text-align: center;
	display: block;
	float: left;
	width: 120px;
	line-height: 100px;
	vertical-align: top;
	font-size: 200%;
}
#typearea {list-style: none; margin: 0; padding: 0;}
#typearea li { margin-bottom: 2em; clear: both;}
#typearea img { width: 704px;}
#typearea textarea { width: 702px; font-size: 200%; height: 2.5em; margin: 0; padding: 5px 0; text-align: center; clear: none;}
#typearea .line-number { 
	float: right; font-size: 160%;
	width: 120px;
	text-align: center;
	font-family: georgia, "Times New Roman", serif;
}
#typearea .line-number strong { display: block; font-size: 150%; line-height: 0.9em;}

#typearea .checkin{
	background: #eaf6cd;
	color: #5b7a17;
}
#typearea .type-error {
    position: absolute;
    margin-top: -25px;
    text-align: center;
    line-height: 50px;
    font-size: 120%;
    width: 702px;
}
#typearea li.locked .type-error, 
#typearea li.busy .type-error {
    background: #f7ce29;
    border: 1px solid #726e08;
    color: #514309;
}
#typearea li.locked textarea, 
#typearea li.busy textarea {
    background: #ebe889;
    color: #787637;
}

#typearea li.failed .type-error {
    background: #e82e44;
    border: 1px solid #6e0b16;
    color: #34070c;
}
#typearea li.failed textarea {
    background: #f6cdd6;
    color: #787637;
}
#typearea .active-checkout,
#typearea .checkout{
background: #e5f0f9;
}
.type-reference .timestamp {
    font-size: 180%;
    font-family: georgia, "Times New Roman", serif;
}
.type-history,
.type-history td,
.type-history th {
    border: none;
    background: #122;
    color: #f2f2f2;  
    margin: 0;
    text-align: left;
}

.type-history th {
    text-transform: uppercase;
    font-size: 50%;
    color: #666;
}
.type-history .current td {
    color: #f90;
}
.type-history tr:hover td {    
    color: yellow;
    cursor: pointer;
}
.type-history td {
    font-size: 120%;
}
.type-history {
   width: 704px;
    display: none;
}

.type-history .revision{
   width: 100px;
    text-align: center;
}
.type-actions {
    margin-top: 4px;
}
.type-actions a.history {
    background: #eee;
    padding: 4px 10px;
    border: 1px solid #bbb;
    border-top: 0;
    color: #666;
    font-weight: normal;
    margin: 0;
}
.type-actions  a.history.active {
    background: #122;
    border: 1px solid #122;
    color: #ccc;
}
.type-actions .flag {
    background: url(/img/flag.png) no-repeat 0 center;
    padding: 4px;
    padding-left: 20px;
}
.type-actions .flag:hover {
    background-color: #932811;
    color: white;
}
.type-actions .flagged {
    font-weight: bold;
    color: #932811;
}
#toolbar-bg {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: black;
	height: 90px;
}
#toolbar {
	position: fixed;
	bottom: 0;
	margin: 0 auto;
	padding: 10px 20px;
	z-index: 10;
}
#toolbar #stats dl { font-size: x-small;}
#toolbar #stats {
    float: left;
    color: #efefef;
    text-transform: uppercase;
}
#toolbar #stats dt {
    padding: 0;
    margin: 0;
    display: inline;
}
#toolbar #stats dd {
}
#type-actions {
    text-align: right;
}
#type-actions button {
    font-size: 130%;
    padding: 10px 8px;
    margin: 0 6px;
letter-spacing: -1px;
}
#save-reload {
    font-weight: bold;
}
.highlight,
strong.incomplete {
	padding: 1px;
	background: #fdfea6;
}
strong.incomplete {
	color: #b10c0c;
}

#collections-subtitles h3{
    font-size: 1.2em;
    margin-bottom: 1em;
}
#collections-subtitles .frame{
    margin: 0 auto;
}
#collections-subtitles .delete-link {
    font-size: x-small;
}
#collections-subtitles .delete {
    color: #888;
    padding: 0 1px;
}
.delete:hover {
    background: #d1102c;
    color: white !important;
}

#collections-subtitles-left {
	margin: 0 !important;
}

#collections-subtitles-left .large {
	line-height: 1.5em;
}
#collections-subtitles-right {
}

#collections-subtitles-right .filter label,
#collections-subtitles-right .filter input  {
  display: inline;
}

.subtitle-table {
    border-top: 1px solid #999;
    border-bottom: none;
}
.subtitle-table-item td{
    border: none;
    border-bottom: 1px solid #999;
    border-top: 1px solid #eee;
    text-align: left;
    line-height: 0.9em;
    
}
.subtitle-table-item.even td{
    background: #eee !important;    
}

.subtitle-table-item .frame{
    border-color: #ccc;    
}
.subtitle-table-item .cover {
    width: 60px;
    padding-left: 10px;
}
.subtitle-table-item {
    text-align: left;
}
.subtitle-table-item .datetime{
    font-size: 0.9em;
    vertical-align: middle;
    text-align: right;
    color: #666;
    padding-right: 15px;    
    line-height: 2em;
}
.subtitle-table-item .cover .frame{
    border-color: #aaa;
    
}
#collections-subtitles .included td a{
    color: #333;
}
#collections-subtitles .included td{
    background: #f4d9ce !important;
    color: #333;
    border-top: 1px solid transparent;
}

#history strong {
  font-variant: small-caps;
  border: 1px solid #dce193;
  color: #aaab95;
  padding: 1px;
  background: #f1f2db;
}
#history .queue strong {
  border: 1px solid #99e47b;
  color: #59a23c;
  background: #e2f5db;
}
#history a:hover strong {
  border-color:  #999;
  color: #333;
  background: #efefef;
}

/* frame */
.frame {
    padding: 2px 3px 5px;
}
.frame .image {
  overflow: hidden;
}
.cover-frame,
.cover-largeframe {
  background: url(/img/frame-square-large.png) no-repeat;
  position: relative;
}
.cover-mediumframe {
  background: url(/img/frame-square-medium.png) no-repeat;
  position: relative;
}
.cover-smallframe {
	border: 1px solid #999;
	background: white;
	width: 48px;
	height: 48px;
	padding: 2px;
}
.cover-mediumframe .image {
	width: 96px;
	height: 96px;
}
.cover-mediumframe .overlay {
	width: 96px;
}
.cover-frame .image,
.cover-largeframe .image {
	width: 125px;
	height: 125px;
}
.cover-frame .overlay,
.cover-largeframe .overlay {
	width: 125px;
}
.cover-smallframe .image {
	width: 48px;
	height: 48px;
	padding: 0;
}
div.overlay {
    z-index: 998;
    height: 28px;
    position: absolute;
    bottom: 5px;
    line-height: 28px;
    color: white;
}
.overlay.locked span {
    text-indent: -999em;
    display: block;
    padding: 0 20px 0 0;
    background: url(/img/lock.png) no-repeat 97% center;
}
.overlay.comments a {
    display: block;
    padding: 0 0 0 20px;
    background: url(/img/comment.png) no-repeat 3% center;
    font-size: 0.9em;
    color: white;
}
.overlay.comments {
    z-index: 999;
}
.overlay.shadow {
    background: black;
}
#stats .block {
    width: 45%;
    float: left;
    margin: 1% 2%;
}
#stats .block.clear {
	clear: both;
}
#stats h3 { clear: both; }
table.stats,
table.stats td {
    border: 0;
    background: transparent;
}
table.stats {
    border-top: 1px solid #ccc;
}

table.stats td {
    border-bottom: 1px solid #ccc;
    padding: 0.5em 0;
}

table.stats .row1,
table.stats .row3,
table.stats .row5,
table.stats .row7,
table.stats .row9 {
    background-color: #fefefe;
}

table.stats .row2,
table.stats .row4,
table.stats .row6,
table.stats .row8,
table.stats .row10 {
    background-color: #f5f5f5;
}
table.stats .value {
    width: 40%;
}
table.stats .row1  {
    background: #fff;
    font-size: 130%;
}
table.stats .row1 a {
    background: url(/img/crown.png) no-repeat 0 center;
    padding-left: 20px;
    margin-left: -20px;
}
table.stats .row2 { 
    font-size: 120%; 
}
table.stats .row3 { 
    font-size: 110%; 
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #b10c0c;
	padding: 1px;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}
/* tutorial */
#tutorial img {
	float: none;
}
#tutorial p {
	font-size: 120%;
}
