/*
 * Copyright (c) 2013 by Mauro Gambini, Sara Migliorini. All Rights Reserved.
 * No part of this software or any of its contents may be reproduced, copied,
 * modified, adapted or transmitted in any form or by any means, without the
 * prior written consent of the copyright holders.
 *
 * Unless required by applicable law or agreed to in writing, the software is
 * provided "as is" without warranties of any kind, either express or implied.
 * The authors and copyright holders disclaim all warranties and conditions
 * with regard to the software, including but not limited to the warranties of
 * non-infringement, merchantability, or fitness for a particular purpose. In
 * no event shall the authors and copyright holders be liable for any claim,
 * damages or other liability, whether in an action of contract, tort or
 * otherwise, arising from, out of or in connection with the software or the
 * use or other dealings in the software.
 */

html {
  padding:0px;
  margin: 0px;
  border-width: 0px;
  min-height: 100% !important;
  height: 100%;
}

body {
  padding:0px;
  margin: 0px;
  border-width: 0px;
  /*background-color: #81de81;*/
  background-color: #9bbe8a;
  background-image: url("");
  background-position: bottom left;
  background-repeat: repeat-x;
  font-family: "Segoe UI", Verdana, Arial, sans-serif;
  min-height: 100%;
}

a {
  color: #0B2F20;
}

/* --- header --------------------------------------------------------------- */
div.sitavr-header-top {
  padding:0px;
  margin: 0px;
  border-width: 0px;
  overflow: hidden;
  height: 80px;
  /*background-color: #35638b;*/
  background-color: transparent;
  background-image: url("/javax.faces.resource/sitavr-title-background-8x80.png.jsf?ln=sitavr");
  background-position: top left;
  background-repeat: repeat;
}

div.sitavr-header-top-left {
  float: left;
  padding:0px;
  margin: 0px;
  border-width: 0px;
  width: 600px;
}

div.sitavr-header-top-right {
  padding:0px;
  border-width: 0px;
  text-align: right;
  margin: 0px 0px 0px 600px;
  height: 80px;
}

div.sitavr-header-bottom {
  padding: 0px;
  margin: 0px;
  background-color: #e4e5be;
  display: block;
  height: 68px;
  overflow: hidden;
}


table.sitavr-header-bar,
table.sitavr-header-bar tbody,
table.sitavr-header-bar tbody tr,
table.sitavr-header-bar tbody tr td {
  border-collapse: collapse;
  border: 0px none transparent;
  padding: 0px;
  margin: 0px;
  text-align: left;
  vertical-align: top;
}

.ui-breadcrumb ul li .ui-menuitem-link{
  margin-top: 0px !important;
}

table.sitavr-header-bar {
  width: 100%;
}

.sitavr-header-logo {
  padding:0px;
  margin: 0px;
  border-width: 0px;
}

.sitavr-header-logo-link {
  padding:0px;
  margin: 0px;
  border-width: 0px;
}

/* --- layout pane ---------------------------------------------------------- */
.ui-layout-pane-north,
.ui-layout-pane-north .ui-widget-content {
  padding: 0px !important;
}

/* side menu closed: expand icon */
.ui-layout-unit-expand-icon{
  border: 0px hidden !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.ui-layout-unit-expand-icon span{
  background-image: none !important;
}

.ui-layout-resizer-west-closed{
  width: 24px !important;
  border: none !important;
  background-color: #313b3f;
  border-radius: 0px !important;
}

/* --- panel menu ----------------------------------------------------------- */

.ui-panelmenu .ui-menu-list {
  /*color: red;*/
  /*font-size: 120% !important;*/
  /*font-size: 105% !important;*/
}

.ui-panelmenu-header{
  /*font-size: 120% !important;*/
}

.ui-panelmenu .ui-menuitem-text {
  padding-left: 4px;
}

/* --- paginator ------------------------------------------------------------ */

.ui-paginator{
  text-align: center !important;
}

/* --- footer --------------------------------------------------------------- */

#footerCopyright {
  margin-left: 1em;
  margin-right: 1em;
  color: #808080;
}

.ui-layout-south {
  overflow:hidden !important;
}

.ui-layout-south .ui-layout-unit-content {
  overflow:hidden !important;
}

/* --- panel grid ----------------------------------------------------------- */

/* columnClasses and rowClasses in panelGrid does not seem to work. */
.sitavr-panel-grid,
.sitavr-panel-grid tr,
.sitavr-panel-grid tr td {
  background-color: transparent;
  background-image: none;
  border-top: 0px none !important;
  border-right: 0px none !important;
  border-left: 0px none !important;
  vertical-align: top;
}

.sitavr-panel-grid-reset,
.sitavr-panel-grid-reset tr,
.sitavr-panel-grid-reset tr td {
  background-color: transparent;
  background-image: none;
  border-style: none !important;
  border-width: 0px !important;
  padding: 0px !important;
  margin: 0px !important;
}

.sitavr-panel-grid-row {
  border-style: none;
  border-width: 0px;
}

.sitavr-panel-grid-column {
  border-width: 0px !important;
  border-style: none;
}

.sitavr-panel-grid-label{
  font-weight: bolder;
  vertical-align: top;
  text-align: left;
}

.sitavr-panel-grid-text{
  vertical-align: top;
  text-align: left;
}

.sitavr-label-block {
  padding: 0px;
  display: block;
  /*border: 1px solid red;*/
}

.sitavr-panel-group-section {
  display: inline-block;
  border: 1px solid darkgray;
  background-color: red;
}

.sitavr-basic-fieldset .ui-fieldset-legend {
  padding: 0.1em!important;
  background-color: transparent;
  border-color: transparent;
  background-image: none!important;
}

/* columnClasses and rowClasses in panelGrid does not seem to work. */
.sitavr-transparent-panel-grid,
.sitavr-transparent-panel-grid tr,
.sitavr-transparent-panel-grid tr td {
  background-color: transparent;
  background-image: none;
  border: 0px none !important;
  vertical-align: top;
}

/* --- page content --------------------------------------------------------- */

div.sitavr-page-content-title {
  color: black;
  background-color: #faf9f6;
  /*font-size: 110%;*/
  padding: 0.3em;
  padding-left: 0.4em;
  border-radius: 6px;
  margin-bottom: 1em;
  margin-top: 0px;
  border: 1px solid #C0C0C0 !important;
}

.sitavr-page-content-layout {
  margin-left: 1em;
  margin-right: 1em;
  min-width: 950px;
}

/* --- general -------------------------------------------------------------- */

/* PrimeFaces global font size. */
.ui-widget {
  /*, .ui-widget .ui-widget {*/
  font-size: 90% !important;
}

.ui-widget .ui-widget {
  font-size: 95% !important;
}

/* remove the bottom margin of the selectOneMenu */
.ui-selectonemenu {
  display: block !important;
}

.ui-multiselectlistbox
.ui-multiselectlistbox-listcontainer{
  width: 340px !important;
}

/* override selectOneMenu selection panel autoWidth so it doesn't stretch over the whole page */
.ui-selectonemenu-panel {
  max-width: 65% !important;
  width: auto !important;
}

/* add some space before the text-editor area */
.ui-texteditor {
  margin-top: 10px;
}
/* --- form ----------------------------------------------------------------- */

.sitavr-form-label {
  font-weight: bolder;
}

.sitavr-form-required-label{
  font-weight: bolder;
  color: #008200;
}

.sitavr-form-input-text{
  width: 400px !important;
}

.sitavr-form-input-text-small{
  width: 200px !important;
}

.sitavr-form-select{
  width: 400px !important;
  min-width:100px !important;
}

.sitavr-form-select-small{
  width: 200px !important;
}

.ui-picklist .ui-picklist-list{
  width: 400px !important;
}

.ui-picklist .ui-picklist-filter{
  width: 92% !important;
}

.ui-picklist .ui-picklist-list li{
  background-color: #FFFFFF;
}

.ui-accordion .ui-accordion-content {
  padding: 2px !important;
}

/* -------------------------------------------------------------------------- */

/*
.sitavr-status-box {
  display:inline-block;
  overflow:hidden;
  padding:0.38em;
  margin-left:1px;
}


.animated  .ui-progressbar-value {
  background-image: url("");
}

.sitavr-data-list-no-border,
.sitavr-data-list-no-border div {
  border: 0px none red;
  padding: 0px;
  margin: 0px;
}

.sitavr-data-list-no-border ul {
  padding: 0px;
  margin-left: 2em;
}


.sitavr-highlight {
  border-radius: 10px;
  margin: 0px;
  padding: 10px;
}

.sitavr-highlight:hover {
  background-color: #faf9f6;
}


.sitavr-changes-table,
.sitavr-changes-table tr,
.sitavr-changes-table tr td,
.sitavr-changes-table th,
.sitavr-changes-table th td {
  padding: 0px!important;
  margin: 0px;
}

.sitavr-changes-table tr:hover td {
  background-color: #90ee90;
}

.sitavr-changes-table tr td div {
  padding: 2px 4px 2px 4px;
  margin: 0px;
}

div.sitavr-resource-table-title {
  color: black;
  font-weight: bold;
  background-color: #faf9f6;
  font-size: 100%;
  padding: 0.3em;
  padding-left: 0.4em;
  border-radius: 6px;
  border: 1px solid #C0C0C0;
  margin-bottom: 2px;
  margin-top: 1em;
}

.sitavr-locale-selection {
  margin-right: 4px!important;
}

.sitavr-locale-selection div span {
  padding-top: 5px!important;
  padding-bottom: 6px!important;
}


.sitavr-command-view-selection {
  text-align: right;
  margin-right: 0px!important;
}

.sitavr-command-view-selection div span {
  font-size: 90%;
  padding-top: 1px!important;
  padding-bottom: 1px!important;
}

.sitavr-companies-pick-list tbody tr td ul {
  height:100px !important;
  width:80px !important;
}*/

/* .ui-picklist-list */
/*
.sitavr-errors-pick-list  tbody tr td ul {
  height:100px !important;
  width:220px !important;
}

.sitavr-checkbox-inline-block {
  border:1px solid lightgrey;
  padding-top:2px;
  padding-bottom: 3px;
  padding-left: 4px;
  padding-right: 4px;
  border-radius: 4px;
}

div.sitavr-vertical-separator {
  min-width: 2em;
}


.sitavr-nowrap-textarea {
  overflow-x: scroll !important;
  overflow-y: scroll !important;
  text-wrap: none !important;
  white-space:pre !important;
  text-wrap:none !important;
}


.sitavr-format-code {
  white-space:pre-line;
  font-family: monospace;
  font-size:1.25em;
  font-weight: bolder;
}

.sitavr-format-code-table tr td {
  padding-left: 1em;
  padding-right: 2em;
}
*/


.sitavr-label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}

.sitavr-label-default {
  background-color: #999999;
}


.sitavr-label-blue {
  background-color: #428bca;
}

.sitavr-label-green {
  background-color: #5cb85c;
}

.sitavr-label-azure {
  background-color: #5bc0de;
}

.sitavr-label-yellow {
  background-color: #f0ad4e;
}

.sitavr-label-red {
  background-color: #d9534f;
}

div.sitavr-detail-table div table thead tr td,
div.sitavr-detail-table div table tbody tr td {
  border: none;
  border-color: transparent;
}

.ui-notificationbar{
  background: rgba(245, 245, 245, 0.75);
}

/* --- tooltip guide styles ------------------------------------------------- */

/* display the icon aligned with the element on the left side */
.sitavr-guide-anchor {
  margin-left: 10px;
  padding-right: 10px;
  display: inline !important;
  vertical-align: top !important;
}

/* limit the tooltip area */
.sitavr-guide-tooltip {
  max-width: 45%;
  position: fixed;
}

/* --- export page styles --------------------------------------------------- */

/* see .sitavr-form-required-label */
#exportForm\3AsitavrExportQueries .ui-selectmanycheckbox-item-group {
  font-weight: bolder;
  color: #008200;
}

/* --- archive page styles -------------------------------------------------- */
#archiveForm .ui-commandlink.ui-state-disabled {
  opacity: 1 !important;
}

/* --- biblio page styles --------------------------------------------------- */
#biblioForm .ui-commandlink.ui-state-disabled {
  opacity: 1 !important;
}

/* --- feature dialog styles ------------------------------------------------ */
#objectDetailsForm .ui-commandlink.ui-state-disabled {
  opacity: 1 !important;
}