/**
 * Default
 */
body {
  font-family: arial,tahoma,helvetica,sans-serif;
  font-size: 12px;
}

a {
  color: #15428B;
}

a:link,a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/**
 * Loading
 */

#loading-mask{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  z-index:20000;
  background-color:white;
}
#loading{
  position:absolute;
  left:0;
  top:40%;
  left: 39%;
  padding:2px;
  z-index:20001;
  height:auto;
  width:290px;
}
#loading a {
  color:#225588;
}
#loading .loading-indicator{
  background:white;
  color:#444;
  font:bold 13px tahoma,arial,helvetica;
  padding: 0;
  height:auto;
}
#loading-msg {
  font: normal 10px arial,tahoma,sans-serif;
}

/**
 * Main Layout
 */

.badge {
  -moz-background-clip:border;
  -moz-background-inline-policy:continuous;
  -moz-background-origin:padding;
  -moz-border-radius-bottomleft:3px;
  -moz-border-radius-bottomright:3px;
  -moz-border-radius-topleft:3px;
  -moz-border-radius-topright:3px;
  background:#FF0303 none repeat scroll 0 0;
  color:#FFFFFF;
  font-size:9px !important;
  padding:0 3px;
  position:relative;
  left:-20px;
  top:-6px;
}

/**
 * Main Panel and general icons
 */
.icon-notifications-on {
  background-image: url(../images/icon-notifications-on.png) !important;
  padding-left: 40px !important;
  position: relative;
}
.icon-notifications-off {
  background-image: url(../images/icon-notifications-off.png) !important;
  padding-left: 40px !important;
}
.icon-notifications-mark-all-read {
  background-image: url(../images/icon-mark-all-read.png) !important;
}

.icon-profile {
  background-image: url(../images/icon-profile.png) !important;
}

.icon-password-reset {
  background-image: url(../images/icon-password-reset.png) !important;
}

.icon-logout {
  background-image: url(../images/icon-logout.png) !important;
}

.icon-back {
  background-image: url(../images/icon-back.png) !important;
}

.icon-help {
  background-image: url(../images/icon-help.png) !important;
}

.icon-print {
  background-image: url(../images/icon-print.png) !important;
}

/**
 * Process Grid
 */
.icon-gp-nominate-panel {
  background-image: url(../images/icon-gp-nominate-panel.png) !important;
}

.icon-gp-nominate {
  background-image: url(../images/icon-gp-nominate.png) !important;
}

.icon-ries-request {
  background-image: url(../images/icon-ries-request.png) !important;
}

.icon-payment-panel {
  background-image: url(../images/icon-payment-panel.png) !important;
}

.icon-payment {
  background-image: url(../images/icon-payment.png) !important;
}

/**
 * Process Detail
 */
.process-detail {
  width: 100%;
}

.process-detail td {
  font-size: 11px;
  vertical-align: top;
}
.process-detail td.label {
  font-size: 11px;
  background-color: #EEEEEE;
}
.process-detail td.small-label {
  font-size: 11px;
  background-color: #EEEEEE;
  width: 276px;
}

/* forms */
.icon-action-form-simple {
  background-image: url(../images/icon-form-simple.png) !important;
}

.icon-action-form-type1 {
  background-image: url(../images/icon-form-type1.png) !important;
}

.icon-action-form-type2 {
  background-image: url(../images/icon-form-type2.png) !important;
}

.icon-action-form-type3 {
  background-image: url(../images/icon-form-type2.png) !important;
}

.icon-action-form-appeal {
  background-image: url(../images/icon-form-appeal.png) !important;
}

.icon-action-form-contradict {
  background-image: url(../images/icon-form-contradict.png) !important;
}

/* actions only */
.icon-action-attr {
  background-image: url(../images/icon-gp-nominate.png) !important;
}

/* requests */
.icon-action-form-request {
  background-image: url(../images/icon-request-in.png) !important;
}

/**
 * Forms
 */
.x-form-length-info {
  font-size: 10px;
}

.x-form-item-label .info {
  margin-top: 5px;
  font-size: 11px;
}

.icon-submit {
  background-image: url(../images/icon-submit.png) !important;
}

.icon-cancel {
  background-image: url(../images/icon-cancel.png) !important;
}

/* type 1 and 2 */
.icon-import {
  background-image: url(../images/icon-import.png) !important;
}

.icon-validate {
  background-image: url(../images/icon-validate.png) !important;
}

.icon-edit {
  background-image: url(../images/icon-edit.png) !important;
}

.icon-save {
  background-image: url(../images/icon-save.png) !important;
}

.icon-save-cancel {
  background-image: url(../images/icon-save-cancel.png) !important;
}

.icon-annex-add {
  background-image: url(../images/icon-annex-add.png) !important;
}

.icon-annex-del {
  background-image: url(../images/icon-annex-del.png) !important;
}

/* labels for collapsed panels */
#process-form-type1-index-xcollapsed,
#process-form-type2-index-xcollapsed,
#process-form-type3-index-xcollapsed,
.label-east-panel {
  background: url(../images/label-east-panel-pt.png) no-repeat 3px 22px !important;
}

#process-form-type1-patterns-xcollapsed,
#process-form-type2-patterns-xcollapsed,
#process-form-type3-patterns-xcollapsed,
.label-west-panel {
  background: url(../images/label-west-panel-pt.png) no-repeat 5px 25px !important;
}

#process-form-type1-answers-xcollapsed,
#process-form-type2-answers-xcollapsed,
#process-form-type3-answers-xcollapsed,
.label-south-panel {
  background: url(../images/label-south-panel-pt.png) no-repeat 5px 5px !important;
}

/**
 * Form Tree Icons
 */
.icon-block {
  background-image: url(../images/icon-tree-block.png) !important;
}
.icon-folder {
  background-image: url(../images/icon-tree-folder.png) !important;
}
.icon-questionBlock {
  background-image: url(../images/icon-tree-question-block.png) !important;
}
.icon-question {
  background-image: url(../images/icon-tree-question.png) !important;
}
.icon-annex-file {
  background-image: url(../images/icon-tree-annex-file.png) !important;
}
.icon-annex-table {
  background-image: url(../images/icon-tree-annex-table.png) !important;
}

/**
 * Form Grids
 */
.icon-add {
  background-image: url(../images/icon-add-btn.png) !important;
}

.icon-del {
  background-image: url(../images/icon-del-btn.png) !important;
}

/**
 * Users Icons
 */
.icon-user-ruo {
  background-image: url(../images/icon-user-ruo.png) !important;
}

.icon-user-pep {
  background-image: url(../images/icon-user-pep.png) !important;
}

/**
 * Annexes title classes
 */
.annex-title-pt {
  font-weight: bold;
}

.annex-title-en {
  
}

/**
 * Accreditations panel
 */
p.accreditation-item .accreditation-name {
  font-size: 10pt;
  font-weight: bold;
  display: block;
}

p.accreditation-item .accreditation-condition {
  font-size: 8pt;
  padding-left: 1.5em;
  margin-bottom: 10px;
  display: block;
}

/**
 * Related form
 */

#process-form-type2-answers h1 {
  font-weight: bold;
  margin-bottom: 5px;
  page-break-after: avoid;
  padding:5px;
  border-bottom:2px solid #666;
}
#process-form-type2-answers h2 {
  font-weight: bold;
  margin-bottom: 5px;
  margin-left: 0;
  margin-top: 40px;
  page-break-after: avoid;
}
#process-form-type2-answers h3 {
  font-weight: bold;
  margin-bottom: 0;
  margin-left: 0;
  page-break-after: avoid;
  border-bottom:1px solid #999;
}
#process-form-type2-answers h4, #process-form-type2-answers h5 {
  font-weight: bold;
  margin-bottom: 5px;
  margin-left: 0;
  page-break-after: avoid;
  font-size:12px;
}
#process-form-type2-answers .answers-question-block {
  color: #000000;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-left: 0;
}
#process-form-type2-answers .answers-question-block a {
  margin-left: 20px;
}
#process-form-type2-answers .answer {
  color: #666 !important;
  font-size: 12px;
  font-style: italic;
  padding-bottom: 10px;
  margin-left: 20px;
  display:block;
  page-break-before: avoid;
}
#process-form-type2-answers .annex-table {
  width: 100%;
  background-color: #eeeeee;
  margin-bottom:50px;
}
#process-form-type2-answers .annex-table caption {
  font-weight: bold;
  background-color: #EEEEEE;
  text-align:left;
  padding:5px;
  border-bottom:2px solid #ccc;
  font-size:12px;
}
#process-form-type2-answers .annex-table td {
  background-color: #ffffff;
  text-align:left;
  font-size:11px;
}
#process-form-type2-answers .annex-table th {
  text-align:left;
  font-size:11px;
  background-color: #ffffff;
}

/**
 * Wrap cols and headers for some grids
 */

#process-form-type1-validate-grid .x-grid3-hd-inner,
#process-form-type1-validate-grid .x-grid3-cell-inner {
  white-space:normal;
}

.annex-grid .x-grid3-hd-inner,
.annex-grid .x-grid3-cell-inner {
  white-space:normal;
}

/**
 * Process Grid Study Cycles and Status with wrap cols
 */
#process-grid .x-grid3-col-studiesCycle,
#process-grid .x-grid3-col-state {
  white-space: normal;
}

/**
 * Process Grid Study Cycles and Status with wrap cols
 */
#notifications-grid .x-grid3-col-name {
  white-space: normal;
}

/**
 * CVs
 */
/* IE FIXES */
#cv-panel .x-grid3-col-investigation {
  white-space: normal;
}

#cv-panel .x-grid3-col-ies {
  white-space: normal;
}

#cv-panel .x-grid3-col-discipline {
  white-space: normal;
}

/**
 * SPs
 */
/* IE FIXES */
#sp-panel .x-grid3-col-teacher {
    white-space: normal;
}

#sp-panel .x-grid3-col-publication {
    white-space: normal;
}

/******************************************************
 * ExtJS CSS styles for fixes and pluggins
 ******************************************************/

/**
 * Remove overrite for ext-all.css for styles
 */
strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

/**
 * Textfields and Textareas with scroll bars visible
 */
textarea.x-form-field {
  padding: 0;
}

/**
 * Combos have wrap on items
 */
.x-combo-list-item {
  white-space: normal;
  border-bottom: 1px solid #EEEEEE;
}

/**
 * Grids don't have dirty icon
 */
.x-grid3-dirty-cell {
  background-image: none;
}

/**
 * Checkboxes fix for height (normal wrap)
 */
.x-form-check-wrap {
  height: auto;
}

/**
 * ReadOnly fix for inputs
 */
.x-form-readonly {
  /*opacity: 0.6;*/
  color: gray;
}

/**
 * FileUploadField component styles
 */
.x-form-file-wrap {
  position: relative;
  height: 22px;
  overflow: hidden;
}
.x-form-file-wrap .x-form-file {
  height: 22px;
}
.x-form-file-wrap .x-form-file-btn {
}
.x-form-file-wrap .x-form-file-clear-btn {
}
.x-form-file-wrap .x-form-file-text {
    position: absolute;
    left: 0;
    z-index: 3;
    color: #777;
}

/**
 * Group Summary and Grid Summary component styles
 */
.x-grid3-summary-row {
    border-left:1px solid #fff;
    border-right:1px solid #fff;
    color:#333;
    background: #f1f2f4;
}
.x-grid3-summary-row .x-grid3-cell-inner {
    font-weight:bold;
    padding-bottom:4px;
}
.x-grid3-cell-first .x-grid3-cell-inner {
    /*padding-left:16px;*/
}
.x-grid-hide-summary .x-grid3-summary-row {
    display:none;
}
.x-grid3-summary-msg {
    padding:4px 16px;
    font-weight:bold;
}

/**
 * Grid Summary component styles
 */
.x-grid3-gridsummary-row-inner {
  overflow:hidden;
  width:100%; /* IE6 requires width:100% for hori. scroll to work */
}
.x-grid3-gridsummary-row-offset {
  width:10000px;
}
.x-grid-hide-gridsummary .x-grid3-gridsummary-row-inner{
  display:none;
}


/**
 * Special grid configurations
 */

.x-grid3-row-blocked {
  background: #e0e0e0;
}
.x-grid3-row-blocked td {
  font-weight:bold;
}


