/* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */

html, body {
    font: normal 11px Arial, Helvetica, sans-serif;
    text-align: left;
    color: #183d46;
}

h1 {
    color: #89b941;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

p.instructions {
    color: #666;
    margin-bottom: 5px;
}

strong { font-weight: bold; }

div#pageContent {
    background-color: #FFF;
    padding: 5px;
}

.top {
    vertical-align: top;
}

.right {
    text-align: right;
}

.floatright { float: right; }
.floatleft { float: left; }

.dialogue {
    padding: 5px;
}

/**
 * Breadcrumbs
 */
div.breadcrumbs,
div.breadcrumbs a {
    color: #89b941;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    margin-bottom: 5px;
}

div.breadcrumbs span.crumb,
div.breadcrumbs span.crumb a {
    font-size: 18px;
    font-weight: normal;
}

div.breadcrumbs span.spacer {
    font-size: 16px;
    font-weight: normal;
}

/**
 * Button icons
 */
.save-icon { background: transparent url('/images/icons/16x16/document-save.png') no-repeat center left !important; }
.delete-icon { background: transparent url('/images/icons/16x16/generic-remove.png') no-repeat center left !important; }
.create-icon { background: transparent url('/images/icons/16x16/generic-add.png') no-repeat center left !important; }
.cancel-icon { background: transparent url('/images/icons/16x16/dialog-cancel.png') no-repeat center left !important; }
.actions-icon { background: transparent url('/images/icons/16x16/get-hot-new-stuff.png') no-repeat center left !important; }
.accept-icon { background: transparent url('/images/icons/16x16/news-subscribe.png') no-repeat center left !important; }
.edit-icon { background: transparent url('/images/icons/16x16/edit-link.png') no-repeat center left !important; }
.rename-icon { background: transparent url('/images/icons/16x16/edit-rename.png') no-repeat center left !important; }
.cut-icon { background: transparent url('/images/icons/16x16/edit-cut.png') no-repeat center left !important; }
.paste-icon { background: transparent url('/images/icons/16x16/edit-paste.png') no-repeat center left !important; }
.copy-icon { background: transparent url('/images/icons/16x16/edit-copy.png') no-repeat center left !important; }
.new-email-icon { background: transparent url('/images/icons/16x16/mail-message-new.png') no-repeat center left !important; }
.spreadsheet-icon { background: transparent url('/images/icons/16x16/edit-select-all.png') no-repeat center left !important; }
.mailout-icon { background: transparent url('/images/icons/16x16/mailout.png') no-repeat center left !important; }
.mailout-send { background: transparent url('/images/icons/16x16/mail-message-new.png') no-repeat center left !important; }
.calendar-icon { background: transparent url('/images/icons/16x16/calendar.png') no-repeat center left !important; }
.download-icon { background: transparent url('/images/icons/16x16/folder-download.png') no-repeat center left !important; }
.refresh-icon { background: transparent url('/images/icons/16x16/view-refresh.png') no-repeat center left !important; }
.search-icon { background: transparent url('/images/icons/16x16/zoom-best-fit.png') no-repeat center left !important; }
.download-icon { background: transparent url('/images/icons/16x16/folder-download.png') no-repeat center left !important; }
.crest-icon { background: transparent url('/images/icons/16x16/barbarians-logo.png') no-repeat center left !important; }
.ball-icon { background: transparent url('/images/icons/16x16/ball-icon.png') no-repeat center left !important; }
/**
 * menu icons
 */
 .mentors-icon { background: transparent url('/images/icons/16x16/mentors.png') no-repeat center left !important; }
 .admin-icon { background: transparent url('/images/icons/16x16/admin.png') no-repeat center left !important; }
 .organisations-icon { background: transparent url('/images/icons/16x16/organisations.png') no-repeat center left !important; }
 .students-icon { background: transparent url('/images/icons/16x16/students.png') no-repeat center left !important; }
 .programmes-icon { background: transparent url('/images/icons/16x16/default.png') no-repeat center left !important; }
 .myAccount-icon { background: transparent url('/images/icons/16x16/my_account.png') no-repeat center left !important; }
 .events-icon { background: transparent url('/images/icons/16x16/get-hot-new-stuff.png') no-repeat center left !important; }
 .votes-icon { background: transparent url('/images/icons/16x16/news-unsubscribe.png') no-repeat center left !important; }

/**
 * form styles
 */
form {
    color: #183d46; 
}

form a {
    color: #183d46;
    text-decoration: none;
}

td.label,
td.element {
    padding: 0.2em;
}

td.label {
    width: 100px;
    color: #333;
    text-align: right;
    vertical-align: top;
    padding-top: 0.3em;
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap;
}

.formBlock {
    background-color: #dfe8f6;
    border: 1px #a3c8ec solid;
    color: #183d46;
    margin-bottom: 5px;
    padding: 5px;
    z-index: 99999;
}

.formBlock p.instructions {
    padding-left: 0px;
    color: #333;
    font-size: 1.1em;
    margin: 10px 0;
}

.formBlock h2 {
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 0.2em;
    margin: 2px 0 5px 0px;
}

form div.separator {
    height: 0px;
    line-height: 0px;
    border-bottom: 1px #CCC solid;
    margin: 10px 0;
}

form table.ovoyoButtonSet {
    margin-top: 5px;
}

input[type="text"],
input[type="password"],
select,
textarea {
	border: 1px solid #A3C8EC; 
	padding: 2px;
    font-size: 1.0em; 
}

input[type="text"],
input[type="password"] {
	width: 200px;
}
input[type="text"].date-manual{width: 70px;}

/*
form tr.buttonSet {
    width: 100%;
    padding: 5px;
}

/*form tr.buttonSet td {
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: middle;
}*/

form tr.spacer td {
    height: 5px;
    line-height: 5px;  
}

form span.textAction {
    cursor: pointer; cursor: hand;
}

fieldset {
    border: 1px #a3c8ec solid;
    text-align: left;
    padding: 4px 5px;
    margin-bottom: 5px;
}

form .secondary {
    background-color: transparent;
    border: none;
    cursor: pointer; cursor: hand;
    padding: auto 0px;
}

button {
    font-family:inherit;
    font-size:inherit;
    font-weight:inherit;
    margin:0;
    padding:0;
    cursor: pointer; cursor: hand;
}


.edit, .datePicker { cursor: pointer; }

/**
 * Some styles for Ovoyo View Helper created components
 */
.ovoyoAssignableSelect button {
    margin: 5px 10px;
}
.ovoyoAssignableSelect select {
	width: 250px; height: 200px;
}

/**
 * Header
 */
div#header {
    /*background:  #172E37 url('/images/logo.gif') 2px 2px no-repeat;*/
    background-color: #172E37;
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    font-family: Helvetica, sans-serif;
    color: #FFF;
    padding: 2px 10px 0 10px;
}

div#header a {
    text-decoration: none;
    color: #FFF;
}

div#header div.info {
    float: right;
    font-size: 14px;
    margin-top: 3px;
    line-height: 20px;
}

div#header span.lastLogin {
    font-weight: normal;
    font-size: 10px;
    margin: auto 10px;
    line-height: 20px;
}

div#header div#buttons {
    float: left;
    margin-top: 3px;
}

/**
 * Main Menu
 */
.mainMenu .x-panel-header-text {
    font-weight: bold;
}   

.mainMenu div.mainMenuItem {
    padding: 5px;
    text-align: left;
    color: #183d46;
}

ul.menu li.menuItem {
    font-size: 11px;
    line-height: 18px;
}

ul.menu li.menuItem a {
    color: #183d46;
    text-decoration: none;
}

ul.menu li.selected a {
    color: #89b941;
    font-weight: bold;
}

ul.menu li.separator {
    border-bottom: 1px #89b941 dotted;
    line-height: 0px;
    margin-bottom: 2px;
}

/**
 * Status bar
 */
div#statusBar {
    background-color: #183d46;
}

div.nowrap {
    display: inline;
    white-space: nowrap;
}

/**
 * Login/change password
 */
form#login td.label {
    width: 90px;
}

form#changePassword td.label {
    width: 150px;
}

div#login {
    margin: 50px auto auto;
    width: 350px;
    border-radius: 1em;
    -moz-border-radius: 1em;
}

div#login div.formBlock {
    padding: 20px;
}

div#login table.ovoyoForm input[type="text"],
div#login table.ovoyoForm input[type="password"] {
    width: 200px;
}

div#login table.ovoyoForm td.label{
    width: 70px !important;
}

/**
 * Some extjs overrides
 */
.x-panel-header a {
    text-decoration: none;
}

/**
 * Drag and drop
 */
.draggable {
    cursor: pointer; cursor: hand;
}

img.draggable_image{
    margin: 5px 0px 5px 5px;
    border: 1px solid #CCC;
}

.droppable-hover {
    background-color: #F00;
}


/**
 * Success, info, warning and error styles
 */

ul.success,
ul.info,
ul.warning,
div.errors ul {
    padding: 10px;
    padding-left: 35px;
    margin-bottom: 5px;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
}

ul.success {
    background: #e0fccf url('/images/icons/22x22/dialog-success.png') no-repeat 7px 7px;
    border: 1px solid #00D100;
}

ul.success li a { color: #169B09; font-weight: bold; text-decoration: none; }

ul.info {
    background: #FBF5D0 url('/images/icons/22x22/dialog-information.png') no-repeat 7px 7px;
    border: 1px solid #FAD42E;
}

ul.warning {
    background: #FBEC88 url('/images/icons/22x22/dialog-warning.png') no-repeat 7px 7px;
    border: 1px solid #FAD42E;
}

div.errors ul {
    background: #FEF1EC url('/images/icons/22x22/dialog-error.png') no-repeat 7px 7px;
    border: 1px solid #CD0A0A;
}

/**
 * Some extjs styles
 */
.x-grid3-col {
    cursor: pointer; cursor: hand;
}

/**
 * Tabs
 */
ul.tabs {
    height: 22px;
    border-bottom: 1px #a3c8ec solid;
    margin-bottom: -1px;
    display: block;
}
ul.tabs li.tab {
    float: left;
    font-family:tahoma,arial,helvetica;
    font-size:11px;
}

ul.tabs li.tab div {
    float: left;
    height: 22px;
    cursor: pointer; cursor: hand;
    color: #15428B; 
}

ul.tabs div.left,
ul.tabs div.right {
    width: 5px;
}

ul.tabs div.middle {
    height: 22px;
    line-height: 22px;
    padding: 0px 8px;
}

ul.tabs a {
    color: #15428B;
    text-decoration: none;
}

ul.tabs li.tab div.left {
    background: url('/images/tabs-sprite.gif') no-repeat 0 -51px;
}

ul.tabs li.tab div.middle {
    background: url('/images/tabs-sprite.gif') repeat-x 0 -201px;
}

ul.tabs li.tab div.right {
    background: url('/images/tabs-sprite.gif') no-repeat -19px -351px;
    margin-right: 2px;
}

ul.tabs li:hover div.left {
    background: url('/images/tabs-sprite.gif') no-repeat 0 -101px;
}

ul.tabs li:hover div.middle {
    background: url('/images/tabs-sprite.gif') repeat-x 0 -251px;
}

ul.tabs li:hover div.right {
    background: url('/images/tabs-sprite.gif') no-repeat -19px -401px;
    margin-right: 2px;
}

ul.tabs li.selected div.left {
    height: 23px;
    background: url('/images/tabs-sprite.gif') no-repeat 0 0px;
}

ul.tabs li.selected div.middle {
    height: 23px;
    background: url('/images/tabs-sprite.gif') repeat-x 0 -151px;
    font-weight: bold;
}

ul.tabs li.selected div.right {
    height: 23px;
    background: url('/images/tabs-sprite.gif') no-repeat -19px -301px;
}

ul.errors li { color: #ff0000; }

/**
 * Assignable divs
 */
.assignable {
    background-color: #FFF;
    border: 1px #999 solid;
    width: 150px; 
    min-height: 150px;
    height:auto !important;
    height: 150px;
}

.assignable li {
    /*border-top: 1px #a3c8ec dashed; 
    border-bottom: 1px #a3c8ec dotted; */
    line-height: 1.4em;
    cursor: pointer; cursor: hand;
    padding: 0.2em 0.4em;
}

table.results { width: 100%; border: 1px solid #99BBE8; border-bottom: 0px;
                margin: 10px 0px 10px 0px; }
table.results tr th { background-color: #99BBE8; padding: 5px; font-weight: bold; }
table.results tr td { padding: 5px; border-bottom: 1px solid #99BBE8; background-color: #fff; }
div.resultsBox { padding: 5px; background-color: #fff; border: 1px solid #99BBE8;
                 margin: 5px 0px 10px 0px; }

table.results tr.rowInput { display: none; }
table.results tr.rowInput td { background-color: #DFE8F6; }

.testList { width: 400px; height: 100px; }
.htmlEditor { width: 400px; height: 200px; }
.imgHover { cursor: pointer; }

#datesPanel { width: 100%; height: 100%; }

/*!
 * Ext JS Library 3.0.0
 * Copyright(c) 2006-2009 Ext JS, LLC
 * licensing@extjs.com
 * http://www.extjs.com/license
 */
.ext-ie .x-row-editor .x-form-text {
    margin:0 !important;
}
.x-row-editor-header {
    height:2px;
    overflow:hidden;
    background: transparent url(../images/row-editor-bg.gif) repeat-x 0 0;
}
.x-row-editor-footer {
    height:2px;
    overflow:hidden;
    background: transparent url(../images/row-editor-bg.gif) repeat-x 0 -2px;
}
.ext-ie .x-row-editor-footer {
    margin-top:-1px;
}

.x-row-editor-body {
    overflow:hidden;
    zoom:1;
    background: #ebf2fb;
    padding-top:2px;
}
.x-row-editor .x-btns {
    position:absolute;
    top:28px;
    left:20px;
    padding-left:5px;
    background: transparent url(../images/row-editor-btns.gif) no-repeat 0 0;
}
.x-row-editor .x-btns .x-plain-bwrap {
    padding-right:5px;
    background: transparent url(../images/row-editor-btns.gif) no-repeat right -31px;
}
.x-row-editor .x-btns .x-plain-body {
    background: transparent url(../images/row-editor-btns.gif) repeat-x 0 -62px;
    height:31px;
}
.x-row-editor .x-btns .x-table-layout-cell {
    padding:3px;
}

.errorTip .x-tip-body ul{
    list-style-type:disc;
    margin-left:15px;
}


.x-tbar-page-number {
	width: 30px !important
}

.aToZ { margin-bottom: 8px; width: 100%; overflow: hidden; }
.aToZ a { background-color: #6281B2; color: #fff; float: left; display: inline;
          padding: 3px;
          border: 1px solid #6281B2; font-weight: bold; text-decoration: none;
          margin-right: 2px; }
.aToZ a:hover { color: #000; background-color: #DFE8F6; }

input.textSmall { width: 30px; }