/**
 Colors:
 Darker green: #60983d
 Light green: #bae3a0
 Light purple:#b994d3
 Dark purple:#8e6ca6
 Dark Blue: #336699
 Light Yellow: #fefcc6
 Lighter Yellow: #FEFDE2
 Error Red Light: #FFD4D4
 Error Red Dark: #740404
 Light blue: #F0F7F9
 Dark blue: #6B90DA
 Nice orange/yellow color: #FBCA54
 Nice orange/yellow color (slightly darker): #F8B210
 */
html {
    background: #999;
    height: 100%;
}

body {
    font-family: "Arial", "Verdana";
    font-size: 11px;
    color: #282A33;
    height: 100%;
}

td {
    vertical-align: top;
}

em {
    font-style:italic;
}

/****************************************
 Main Layout Elements
 *****************************************/
#yui-main {
    background-color: #fff;
    margin-right: 0;
}

#doc2, #doc3, #doc4 {
    background-color: #fff;
}

#inner-content {
    padding: 0px 30px 30px 30px;
}

#ft {
    border-top: 1px solid #D8D2C2;
    padding: 8px;
    text-align: right;
    background-color: #fff;
}

/****************************************
 Links
 *****************************************/
a.icon-32-link {
    font-size: 1.2em;
    font-weight: bold;
    padding: 3px 3px 3px 39px;
    background-repeat: no-repeat;
    background-position: 2px 2px;
    display: block;
    margin-top: 4px;
    clear: both;
    min-height: 32px;
}

a.icon-32-link .link-description {
    margin-top: 3px;
    font-size: 0.8em;
    font-weight: normal;
    line-height: 1.2em;
    color: #666;
}

a.icon-32-link:hover, a.header, a.icon-32-expanded {
    border: 0;
    background-color: #f3f3f3;
}

a#add-story-32 {
    background-image: url(../images/addstory-medium.png)
}

a#read-story-32 {
    background-image: url(../images/story-32.png)
}


a#edit-story-32 {
    background-image: url(../images/edit-story-32.png)
}

a#critique-story-32 {
    background-image: url(../images/critique-story-32.png)
}

a#comments-pane-32 {
    background-image: url(../images/comment-pane-32.png)
}

a#annotations-pane-32 {
    background-image: url(../images/annotation-pane-32.png)
}

a#add-version-32 {
    background-image: url(../images/add-version-32.png)
}

a#add-group-32 {
    background-image: url(../images/addgroup-medium.png)
}

a#browse-story-32 {
    background-image: url(../images/browsestories-medium.png)
}

a#delete-story-32 {
    background-image: url(../images/delete-medium.png)
}

a#delete-submission-32 {
    background-image: url(../images/delete-medium.png)
}

a#delete-group-32 {
    background-image: url(../images/delete-medium.png)
}

a#diff-32 {
    background-image: url(../images/diff-32.png)
}

a#share-story-32 {
    background-image: url(../images/sharing-medium.png);
}

a#invite-32 {
    background-image: url(../images/invite-32.png);
}

a#publish-story-32 {
    background-image: url(../images/publish-medium.png);
}

a#sub-event-32 {
    background-image: url(../images/subevent-medium.png);
}

a#track-submission-32 {
    background-image: url(../images/track-submission-32.png);
}

/****************************************
 Headers
 *****************************************/
h1 {
    font-size: 3em;
    margin-bottom: 3px;
    padding: 2px 0 2px 0;
}

h2 {
    font-size: 1.5em;
    color: #333;
    font-weight:bold;
}

h3 {
    font-weight: bold;
    font-size: 1.2em;
}

h4 {
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 5px;
    margin-bottom: 5px;
}

p {
    line-height: 1.8em;
}

dt {
    font-size: 1.2em;
    font-weight: bold;
}

dd {
    font-size: 1.1em;
}

/****************************************
 Help Text/Links
 *****************************************/
a.help-link {
    font-size: 0.8em;
    display: block;
    margin: 3px;
    border: 0;
    background-image: url(../images/help-arrow.png);
    background-repeat: no-repeat;
    padding-left: 13px;
}

p.help-text {
    background-color: #fefcc6;
    padding: 5px;
    font-size: 0.85em;
    margin: 5px;
}

a.help-bubble {
    background-color: transparent;
    font-size: 9px;
    font-weight: normal;
    vertical-align: super;
    z-index: 100;
}

/****************************************
 Forms
 *****************************************/
label {
    display: block;
    font-weight: bold;
    font-size: 1.2em;
}

.field {
    padding: 2px;
}

.field p {
    margin-top: 15px;
}

.field p.first {
    margin-top: 0px;
}

.field .label {
    font-weight: bold;
    padding: 5px;
}

.field .underline {
    border-bottom: 1px solid #ccc;
}

.field td.indent {
    padding-left: 10px;
}

.field input.checkbox {
    margin: 0;
    padding: 0;
}

form {
    margin: 10px;
}

form.login, form.register {
    border: 0;
    font-size: 0.8em;
    float: none;
    margin: 0;
}

form h2 {
    padding: 10px;
    color: black;
    font-weight: bold;
    font-size: 1.6em;
    border-bottom: 1px solid #efefef;
}

form .form-content {
    padding: 10px;
}

form .field .radio-label {
    font-size: 1.2em;
    font-weight: bold;
}

form .field input, form .field textarea {
    font-size: 1.4em;
    margin-top: 3px;
    margin-bottom: 7px;
    padding: 5px;
}

form #container_file_option .file-input {
    padding-left: 20px;
}

form .field input {
    font-size: 1.2em;
}

.field p {
    margin-left: 3px;
}

form .submit {
    font-size: 1.4em;
    font-weight: bold;
    padding: 8px;
}

input.error {
    background-color: #FFD4D4;
}

.form-error {
    background-color: #FFD4D4;
    padding: 3px;
    font-size: 0.9em;
    margin: 3px 0 3px 0;
}

input.text {
    border: 1px solid #ccc;
    padding: 4px;
    font-size: 1.1em;
}

/****************************************
 Header Area (General)
 *****************************************/
#account {
    float:right;
    background-color: #FBCA54;
    padding: 10px;
    font-size: 1.2em;
    color: #333;
	margin-right:10px;
    white-space: nowrap;
    font-weight: bold;
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
}

#account a {
    color: white;
}

#account a:hover {
    background-color: #F8B210;
}

#account form {
    margin: 0 5px 0 0;
    padding: 0;
}

#account form p {
    position: relative;
	float:left;
}

#account form label {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: normal;
    padding: 3px;
    padding-left: 5px;
	padding-top:2px;
    color: #ccc;
    cursor: text;
    font-size: 1.2em;
}

#account input#username, #account input#password {
    font-size: 1.1em;
    padding: 3px;
    margin-bottom: 5px;
	margin-top:1px;
}

#account input.submit {
    font-size: 1em;
    padding: 2px;
	float:left;
	margin-left:3px;
}

#account h1 {
    background-color: #C7E1E9;
    padding: 3px;
    font-size: 1.05em;
    font-weight: bold;
    text-transform: uppercase;
}

#account a.action {
    font-size: 0.8em;
    float: none;
    display: inline;
    padding: 5px;
}

#breadcrumb {
    background-color: #f3f3f3;
    margin-bottom: 10px;
    border-bottom: 1px solid #d3d3d3;
}

#breadcrumb ul {
    list-style-type: none;
    margin: 0;
}

#breadcrumb li {
    font-size: 1.3em;
    height: 27px;
    float: left;
}

#breadcrumb a {
    padding: 5px 20px 5px 10px;
    background-image: url(../images/breadcrumb-arrow.png);
    background-position: center right;
    background-repeat: no-repeat;
    color: #333;
    display: block;
}

#breadcrumb a:hover {
    border: 0;
}

/****************************************
 Navigation Bar
 *****************************************/
#hd {
    background-color: #fff;
}

#beta {
    background-image: url(../images/beta.png);
    background-repeat: no-repeat;
    width: 55px;
    height: 54px;
    position: absolute;
    top: 0px;
    left: 0px;
}

#logo {
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    height: 68px;
    width: 315px;
    z-index: 10;
    margin: 5px;
    float: left;
}

#navbar {
    background-color: #F0F7F9;
    border-bottom: 1px dotted #33567D;
}

#navbar .menu {
    background-color: #C7E1E9;
    position: absolute;
    margin-left: 0px;
    padding-left: 0px;
    border: 1px solid #6B90DA;
    margin-top: -1px;
    z-index: 1;
}

#navbar .menu ul {
    margin-left: 2px;
    margin-top: 5px;
    width: 100%;
}

#navbar .menu li {
    float: none;
    padding-left: 0;
    margin-left: 0;
}

#navbar .menu li a {
    font-size: 1.15em;
    color: black;
    display: block;
    text-decoration: none;
    padding: 5px;
    font-weight: normal;
    margin: 2px;
    background-color: #C7E1E9;
}

#navbar .menu li a:hover {
    background-color: #F0F7F9 !important;
}

#navbar .menu li.recent a {
    padding: 5px 5px 5px 5px;
}

#navbar .menu .first-column {
    float: left;
}

#navbar .menu .second-column {
    float: left;
    width: 200px;
    margin-left: 5px;
    padding-left: 5px;
    border-left: 1px dotted #999;
}

#navbar .menu li.recent-header {
    font-size: 1.3em;
    color: #000;
    font-weight: bold;
    padding: 5px 5px 5px 26px;
    border-bottom: 1px dotted #666;
}

#navbar .menu .group {
    background-image: url(../images/group-tiny.png);
    background-position: 2px 5px;
    background-repeat: no-repeat;
}

#navbar .menu .story {
    padding-left: 30px;
    background-image: url(../images/story-tiny.png);
    background-position: 2px 2px;
    background-repeat: no-repeat;
}

#navbar img.banner-title {
    float: left;
    margin-left: 10px;
}

#navbar ul {
    float: left;
    margin-left: 15px;
}

#navbar li {
    float: left;
    text-align: left;
    margin-right: 15px;
    margin-bottom: 5px;
    z-index: 100;
}

#navbar li a {
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none !important;
    border-bottom: 0;
    color: #333;
    display: block;
    padding: 5px;
    margin-top: 5px;
    border: 1px dashed transparent;
}

#navbar li a.over, #navbar li a:hover {
    background-color: #C7E1E9 !important;
}

#navbar li a.over {
    border: 1px solid #6B90DA;
    border-bottom: 0;
    z-index: 1000;
    position: relative;
}

#navbar li.active a {
    background-color: #DAEBF0;
}

#navbar .menu li a {
    background-color: #C7E1E9;
}

.action-list ul li {
    float: left;
    font-size: 0.8em;
    margin-right: 5px;
}

/****************************************
 User Selection Dialog
 *****************************************/
#select-user-dialog-loading {
    float: left;
}

#select-user-dialog-loading.loading {
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: right center;
    width: 20px;
    height: 20px;
}

input.loading {
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: right center;
    text-align: left;
}

/****************************************
 General Autocomplete Styles
 *****************************************/
div.ac_results {
    text-align: left
}

/****************************************
 Standard List
 *****************************************/
ul.standard-list {
}

li.standard-item img {
    float:left;    
    margin-right:10px;
}

li.standard-item .time_stamp, .hovertip .time_stamp {
    float: right;
    font-size: 0.8em;
    padding: 3px;
    margin-left: 5px;
    line-height: 1em;
    background-color: #333366;
    color: white;
}

li.standard-item {
    padding-bottom: 6px;
    margin-bottom:6px;
    border-bottom:1px dotted #999;    
    width: auto;
    clear: both;
}

li.standard-item .title {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.4em;
}

li.standard-item .extra-info {    
    line-height: 1.5;
    color:#333;
}

li.standard-item.last {
    border-bottom:0;
}

/****************************************
 Version List
 *****************************************/
#version-list .published-version {
    color: #8e6ca6
}

/****************************************
 Invitation List
 *****************************************/
.invitation_status {
    float: right;
    font-size: 0.8em;
    padding: 3px;
    margin-left: 5px;
    line-height: 1em;
}

.rejected {
    background-color: #663333;
    color: white;
}

.accepted {
    background-color: #336600;
    color: white;
}

.pending {
    background-color: #333366;
    color: white;
}

.subdate {
    font-size: 0.8em;
}

li.invite-item {
    margin: 2px;
    width: auto;
    clear: both;
}

.invite-item .topline {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    line-height: 1.4em;
}

/*******************************************
 Object Details common to all types of objects
 - e.g. stories, groups, users.
 *******************************************/
#story-info .description, #group-info .description, #profile-info .description, #package-info .description {
    font-size: 1.2em;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    padding: 5px 0 5px 0;
}

.summary {
    margin-bottom: 8px;
    padding-bottom: 8px;
	background-color:#fefefe;
	border:1px solid #efefef;
	border-radius:5px;
	-moz-border-radius:5px;
	padding:5px;
}

/****************************************
 GBlocks are pseudo-framed content areas on a page
 *****************************************/
.gblock {
    font-size: 1em;
    border: 1px solid #DAEBF0;
    background-color: #F0F7F9;
    border-radius: 5px;
    -moz-border-radius: 5px;
}

.contentarea-spacer {
    margin-top: 10px;
    margin-bottom: 10px;
}

.sidebarspacer {
    margin-top: 5px;
    margin-bottom: 5px;
}

.gblock .inner p {
    line-height: 1.2em;
    margin-bottom: 5px;
}

.gblock h2 {
    font-size: 1.6em;
    line-height: 1.8em;
    font-weight: bold;
    background-color: #DAEBF0;
    color: #33567D;
    padding-left: 10px;
    padding-top: 2px;
    border-bottom: 1px dotted #33567D;
}

.gblock .inner {
    margin: 10px;
}

.gblock h2.withimage {
    background-repeat: no-repeat;
    padding-left: 70px;
}

.gblock h2.stories {
    background-image: url(../images/book-large.png);
    background-position: 2px 2px;
}

.gblock h2.invites {
    background-image: url(../images/invite-large.png);
    background-position: 2px -14px;
}

.gblock h2.groups {
    background-image: url(../images/group-large.png);
    background-position: 2px 2px;
}

/****************************************
 Error Page
 *****************************************/
.error-page {
    min-height: 400px;
}

.error-page h2 {
    font-size: 2em;
    color: #800000;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.error-page .last_page {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 12px;
    font-size: 1.2em;
}

/****************************************
 Tree-Like Unordered Hierarchical Lists
 *****************************************/
li.parent {
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
}

li.parent a {
    background-image: url(../images/collapsed.png);
    background-repeat: no-repeat;
    padding-left: 20px;
    background-position: 0px -2px;
    font-weight: bold;
}

li.parent a:hover {
    border-bottom: 0
}

li.leaf {
    line-height: 1.3em;
    padding-left: 7px;
    font-weight: normal;
}

li.expanded a {
    background-image: url(../images/expanded.png);
    background-repeat: no-repeat;
    padding-left: 20px;
    background-position: 0px -2px;
}

#loading {
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: 2px center;
    font-size: 1.5em;
    padding: 4px;
    padding-left: 20px;
    background-color: #fefcc6;
    color: black;
    position: fixed;
    top: 0;
    right: 0;
    border: 1px solid #666;
    z-index: 1000;
}

.standard-table table {
    width: 100%;
}

.standard-table th {
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px;
}

.standard-table thead {
    background-color: #F0F7F9;
    border-bottom: 1px solid #6B90DA;
}

.standard-table td {
    font-size: 1.1em;
    border-right: 1px dotted #efefef;
    padding: 5px;
}

.pagination {
    margin-top: 20px;
    padding: 8px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    background-color: #F0F7F9;
    border: 1px solid #6B90DA;
    font-size: 1.2em;
}

#registration-success-container h1 {
    font-size: 2em;
    padding-left: 52px;
    color: #60983d;
    background-image: url('../images/success-48.png');
    background-repeat: no-repeat;
    line-height: 50px;
    border-bottom: 1px dotted #999;
}

.inlinelbl-on {
    color: #666;
}

.box1 {
    background-color: #72A856;
    padding: 10px;
    color: white;
    line-height: 1.2em;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

.box2 {
    background-color: #fff;
    padding: 10px;
    color: #333;
    line-height: 1.2em;
}

.box2 .section {
    border: 1px solid #efefef;
    border-top: 0;
    padding: 5px;
    margin-top: 0;
}

.box2 .separator {
	height:1px;
	border-bottom:1px dotted #333;
	width:100%;
	margin-top:10px;
	margin-bottom:10px;
}

.box2 a {
    color: #336699;
}

.box1 a {
    color: #804040;
}

.box1 h3 {
    font-size: 1.8em;
    border-bottom: 1px dotted #000;
    padding-bottom: 5px;
    margin-bottom: 5px;
    color: white;
}

.box1 input.text {
    width: 97%;
}

.box1 input.submit {
    width: auto;
    text-align: center;
}

.box1 a.icon-32-link:hover {
    border: 0;
    background-color: #FEFDE2;
}

.box1 .section {
    padding: 8px 8px 8px 36px;
    background-repeat: no-repeat;
    background-position: 2px 8px;
    display: block;
    margin-top: 2px;
    margin-bottom: 2px;
    float: left;
    clear: both;
    border-bottom: 1px solid #ffcc00;
}

.palette {
    border: 3px solid #666;
    background-color: #fff;
    z-index: 50;
}

.palette-title-link {
    font-size: .7em;
    float: right;
    margin: 3px;
    font-weight: normal;
}

.palette-content {
    overflow: scroll;
}

.palette h2 {
    background-color: #efefef;
    color: black;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px;
}

.terms p, .about p {
    margin-top: 10px;
}

.terms li, .about li {
    padding-left: 0px;
    margin-left: 25px;
    list-style-type: square;
    padding-top: 5px;
}

.about h1 {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 10px;
}

.about {
    font-size: 1.1em;
}

.help {
    color: #804040;
}

.help .ui-widget-content {
    color: #804040;
    background: #fefcc6 none no-repeat top left !important;
}

.help .ui-widget-header {
    background-color: #fefcc6;
    background-image: none;
    border: 0;
    color: #804040;
}

.help .ui-dialog-buttonpane {
    background-color: transparent;
}

.help .help-body {
    font-size: .9em;
}

.help p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.footer-item {
    float: right;
    margin-left: 10px;
    margin-righ: 10px;
}

.tutorial-content ul {
    margin-left: 10px;
}

/****
 * Selectable List
 */
.selectable-list {
    min-height: 200px;
    border: 1px solid #ccc;
    padding: 0;
    margin-top: 2px;
    margin-bottom: 2px;
    overflow: auto;
}

a.selectable-list-item {
    display: block;
    padding: 5px;
    border: 0;
    border-bottom: #efefef;
}

a.selectable-list-item:hover {
    background-color: #F0F7F9;
}

.selectable-list a.selected {
    background-color: #6B90DA;
    color: white;
}

.story-text {
    border: 1px solid #6B90DA;
}

.story-text pre {
    font-size: 1.2em;
    line-height: 1.4em;
    border: 3px solid #bad8f5;
    padding: 5px;
}

.story-text .readonly-annotation {
    background-color: #740404;
    color: white;
    cursor:pointer;
}

.annotation-item {    
    margin-bottom: 5px;
}

.annotation-item .annotation-title {
    font-weight: bold;
}

.annotation-item .target-label {
    font-weight: bold;
    margin-top: 4px;
}

.annotation-item blockquote {
    padding-left: 5px;
}

.grimmsg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    border: 1px solid #6B90DA;
    background-color: #bad8f5;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
}

.grimmsg.error {
    background-color: #740404;
    color: white;
}

/***
 * Submission Styles
 */
li.submission-event {
    padding-bottom: 20px;
    margin-bottom: 20px;
    clear: both;
    border-bottom: 1px dotted #333;
}

li.submission-event .title {
    line-height: 2em;
    font-size: 1.1em;
}

.submission-event-time {
    font-weight: normal;
    background-color: #336699;
    color: white;
    float: left;
    padding: 3px;
    margin-right: 4px;
}

.timeline h2 {
    border-bottom: 1px solid #efefef;
    margin-bottom: 5px;
}

#story-text-version {
    font-size: 2em;
    float: right;
    padding: 5px;
    font-weight: bold;
    background-color: #336699;
    color: white;
}

.content-left-column {
    float: left;
    width: 49%;
}

.content-right-column {
    float: left;
    width: 49%;
    padding-left: 10px;
}

.intro-blocks {
    background-color: #F4F4EE;
    color: black;
    padding: 5px;
    padding-left: 0px;
    margin: 10px;
    margin-left:0px;
    width: 510px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

.intro-block {
    padding: 15px;
    border-right: 1px dotted #666;
    margin-right: 0;
    padding-right: 10px;
    padding-left: 15px;
    float: left;
    width: 140px;
    height: 120px;
    color: #333;
}

.intro-block.last {
    margin-right: 0px;
    border: 0;
}

.intro-block h2 {
    font-size: 1.8em;
    font-weight: bold;
    padding-left: 36px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center left;
    padding-top: 4px;
    color: #333;
}

.intro-block.manage h2 {
    background-image: url(../images/manage-32.png);
}

.intro-block.share h2 {
    background-image: url(../images/sharing-medium.png);
}

.intro-block.publish h2 {
    background-image: url(../images/story-32.png);
}

a.learn-more {    
	margin-left:15px;
}

.field.highlight {
    background-color:#F0F7F9;
    padding:5px;    
    margin-top:5px;
    margin-bottom:5px;
    float:left;
}

#story-cover-32,#user-image-32 {
    float:left;
    margin-right:5px;
    margin-top:5px;
}

a#continue-draft-editing-link,
a#new-version-available {
    font-size:1.4em;
    display:block;
    float:right;
    background-repeat:no-repeat;
    background-position:2px 4px;
    border:0;
    padding:6px;
    padding-left:24px;
    background-color:#F0F7F9;
    border-radius:5px;
    -moz-border-radius:5px;
	margin-right:8px;
	margin-bottom:8px;
}

a#continue-draft-editing-link {
    background-image:url(../images/edit-icon-20.png);
}

a#new-version-available {
	background-image:url(../images/refresh-32.png);
}

.login-error {
    background-color:#740404;
    color:white;
    padding:4px;
    display:block;
    position:absolute;
}

a.social {
    display:block;
    float:left;
    margin:10px;
    background-color:#F4F4EE;
    -moz-border-radius:10px;
    border-radius:10px;
}

a.archive-download {
    display:block;
    font-size:1.2em;
    padding-left:22px;
    font-weight:bold;
    margin:5px 0px 5px 0px;
    background-image:url(../images/download-20.png);
    background-repeat:no-repeat;
    text-decoration:none;   
    line-height:22px; 
}

a.archive-download:hover {
    border:0;
    text-decoration:underline;
}
