/**
 * Hamburg Convention Bureau - Eventlotse 2016
 *
 * LICENSE
 *
 * This software and its source code is protected by copyright law (Sec. 69a ff. UrhG).
 * It is not allowed to make any kinds of modifications, nor must it be copied,
 * or published without explicit permission. Misuse will lead to persecution.
 *
 * @copyright  2016 infomax websolutions GmbH
 * @link       http://www.infomax-it.de
 * @package    css
 * @subpackage primefaces theme
 * @author     gueldner
 * @since      07.03.2016
 * @version    $Id$
 **/
/*  =========================================================
basic config
general structure
table head
table body
========================================================== */
/*  =========================================================
basic config
========================================================= */
/* dimensions */
/* path variables */
/*corporate design*/
/*text*/
/*backgrounds*/
/*table colors*/
/*other colors*/
/*percentage dimensions*/
/*percentage margins*/
/*percentage paddings*/
/*vertical aligns*/
.verticalAlignHelper {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 100%;
  margin: 0px;
}
/*  =========================================================
general structure
========================================================= */
@media screen {
  .ui-datatable-tablewrapper {
    margin-bottom: 20px;
    overflow: auto;
  }
  .ui-datatable > .ui-datatable-header {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 2.8rem;
    line-height: 1.33333333em;
    font-weight: 400;
    color: #000;
    text-align: right;
    margin-bottom: 33px;
  }
}
@media screen {
  .ui-datatable-tablewrapper > table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    text-align: left;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.5rem;
    line-height: 1.33333333em;
    font-weight: 400;
    color: #000;
  }
  .ui-datatable-tablewrapper > table .ui-widget-content {
    border: none;
    background: none;
  }
  .ui-datatable table {
    border-collapse: separate!important;
    border-spacing: 1px 1px;
    background-color: #fff;
    margin-bottom: 20px;
  }
  .ui-datatable-tablewrapper > table .ui-widget-content {
    border: none;
    background: none;
  }
  .ui-datatable thead th,
  .ui-datatable tbody td,
  .ui-datatable tfoot td,
  .ui-datatable tfoot th {
    border: 1px solid #fff;
  }
  .ui-datatable td > span {
    width: 100%;
    height: 100%;
    display: inline-block;
    padding: 4px 10px;
  }
  .ui-datatable tfoot td,
  .ui-datatable tfoot th {
    padding: 0;
  }
}
/*  =========================================================
table head
========================================================= */
@media screen {
  .ui-datatable-tablewrapper > table > thead th {
    padding: 10px 15px;
    border: none;
    font-weight: 400;
    text-align: left;
    background: #c1c1c1;
    border-bottom: 2px #fff solid;
  }
  .ui-datatable-tablewrapper > table > thead th:not(:last-of-type) {
    border-right: 2px #fff solid;
  }
  .ui-datatable-tablewrapper > table > thead th.centerAlign {
    text-align: center;
  }
  .ui-datatable--rating > .ui-datatable-tablewrapper > table > thead th {
    font-size: 2.2rem;
    font-weight: 600;
  }
}
/*  =========================================================
table body
========================================================= */
@media screen {
  .ui-datatable-tablewrapper > table > tbody {
    border: none;
  }
  .ui-datatable-tablewrapper > table > tbody > tr:nth-of-type(2n+1) {
    background: #f3f3f3;
  }
  .ui-datatable-tablewrapper > table > tbody > tr:nth-of-type(2n) {
    background: #e3e3e3;
  }
  .ui-datatable-tablewrapper > table > tbody > tr.organizer {
    background: #333;
  }
  .ui-datatable-tablewrapper > table > tbody > tr.organizer > td {
    color: #fff;
  }
  .ui-datatable-tablewrapper > table > tbody td {
    padding: 10px 15px;
    border: none;
    font-weight: 400;
    border-bottom: 2px #fff solid;
    position: relative;
  }
  .ui-datatable-tablewrapper > table > tbody td:not(:last-of-type) {
    border-right: 2px #fff solid;
  }
  .ui-datatable-tablewrapper > table > tbody td:last-of-type {
    text-align: center;
    white-space: nowrap;
  }
  .ui-datatable-tablewrapper > table > tbody td.centerAlign {
    text-align: center;
  }
  .ui-datatable-tablewrapper > table > tbody td.poor {
    background-color: #e7414b;
  }
  .ui-datatable-tablewrapper > table > tbody td.sufficient {
    background-color: #e7e658;
  }
  .ui-datatable-tablewrapper > table > tbody td.good {
    background-color: #66a765;
  }
  .ui-datatable-tablewrapper > table > tbody td.conflictArea {
    background-color: #e43e48;
    color: #fff;
  }
  .ui-datatable-tablewrapper > table > tbody td.conflictConstruction {
    background-color: #3d84b9;
    color: #fff;
  }
  .ui-datatable-tablewrapper > table > tbody td.conflictPeriod {
    background-color: #395072;
    color: #fff;
  }
  .ui-datatable-tablewrapper > table > tbody td.conflictPermit {
    background-color: #797979;
    color: #fff;
  }
  .ui-datatable-tablewrapper > table > tbody td .table-val {
    text-align: center;
  }
  .ui-datatable-tablewrapper > table > tbody td > strong {
    font-size: 2.2rem;
    font-weight: 600;
  }
  .ui-datatbale-columnWidth-1 {
    width: 8%;
  }
  .ui-datatbale-columnWidth-2 {
    width: 8%;
  }
  .ui-datatbale-columnWidth-3 {
    width: 7%;
  }
  .ui-datatbale-columnWidth-4 {
    width: 20%;
  }
  .ui-datatbale-columnWidth-5 {
    width: 26%;
  }
  .ui-datatbale-columnWidth-6 {
    width: 10%;
  }
  .ui-datatbale-columnWidth-7 {
    width: 10%;
  }
  .ui-datatbale-columnWidth-8 {
    width: 11%;
  }
  .ui-datatable--rating {
    margin-top: 40px;
  }
  .ui-datatable--rating > .ui-datatable-tablewrapper > table > tbody > tr {
    background-color: #e3e3e3;
  }
  .ui-datatable--rating > .ui-datatable-tablewrapper > table > tbody td {
    width: 15%;
    vertical-align: top;
  }
  .ui-datatable--rating > .ui-datatable-tablewrapper > table > tbody td:not(:first-of-type) {
    text-align: center;
  }
  .ui-datatable--rating > .ui-datatable-tablewrapper > table > tbody td:first-of-type {
    width: 25%;
  }
}
/* hide title in table body */
@media screen {
  .ui-datatable-tablewrapper > table > tbody .ui-column-title {
    display: none;
  }
}
/* Interaction states */
@media screen {
  .ui-datatable-tablewrapper > table > tbody > tr.ui-state-hover,
  .ui-datatable-tablewrapper > table > tbody > tr.ui-state-highlight {
    background-color: #bfd6e9;
  }
}
/* checkboxes */
@media screen {
  .ui-datatable-tablewrapper > table > tbody > tr > td .ui-chkbox {
    margin: 0px 0px 0px 0px;
  }
  .ui-datatable--rating > .ui-datatable-tablewrapper > table > tbody > tr > td {
    padding-bottom: 43px;
  }
  .ui-datatable--rating > .ui-datatable-tablewrapper > table > tbody > tr > td .ui-radiobutton {
    margin: 0px;
    position: absolute;
    bottom: 8px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .ui-datatable--rating > .ui-datatable-tablewrapper > table > tbody > tr > td label.ui-outputlabel {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.5rem;
    line-height: 1.33333em;
    font-weight: 400;
    margin: 0;
  }
}
/* labels user-roles */
@media screen {
  .ui-selectmanycheckbox > tbody > tr > td {
    vertical-align: top;
    text-align: left;
  }
  .ui-selectmanycheckbox > tbody > tr > td > label {
    font-size: 1.2rem;
    color: #333;
    padding-right: 5px;
  }
}
/*  =========================================================
	icons
========================================================= */
@media screen {
  .ui-datatable-tablewrapper > table > thead > tr > th [class^="icon-"],
  .ui-datatable-tablewrapper > table > tbody > tr > td [class^="icon-"] {
    font-size: 2.8rem;
    color: #333;
  }
  .ui-datatable-tablewrapper > table > thead > tr > th [class^="icon-"] {
    float: right;
  }
}
/*  =========================================================
	paginator
========================================================= */
@media screen {
  .ui-paginator {
    display: inline-block;
    font-family: 'Open Sans', Arial, sans-serif !important;
    font-size: 1.8rem;
    line-height: 1.4em;
    font-weight: 400;
    color: #333;
    text-align: right;
    padding: 0;
    margin-left: 40px;
  }
  .ui-paginator.ui-paginator-top {
    margin-bottom: 10px;
  }
  .ui-paginator .ui-datatable-header {
    font-weight: 600;
  }
  .ui-paginator .ui-paginator-pages {
    padding: 0;
    position: relative;
    top: 15px;
  }
  .ui-paginator .ui-paginator-page {
    width: 45px;
    height: 45px;
    display: table-cell;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 2rem;
    line-height: 1.33333333em;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    background-color: #4b4b4b;
    cursor: pointer;
  }
  .ui-paginator .ui-paginator-page:not(:last-of-type) {
    border-right: 2px #fff solid;
  }
  .ui-paginator .ui-paginator-page.ui-state-active {
    color: #000;
    background-color: #f3f3f3;
    cursor: default;
  }
  .ui-paginator-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.8rem;
    line-height: 1.4em;
    font-weight: 400;
    color: #333;
    display: inline-block;
    vertical-align: top;
    margin: 14px 10px 0 0;
  }
  .ui-paginator .ui-paginator-rpp-options {
    display: inline-block;
    font: 400 1.5rem "Open Sans", Arial, sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff url(../../images/form/arrowDown.gif) no-repeat 96% 50%;
    padding: 1rem 1.6rem 1rem 0.5rem;
    border: 1px solid #bebebe;
    margin-left: 1em;
    margin-right: 1em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
  }
  /* hide browser-styling (arrow) in IE10/11 */
  select::-ms-expand {
    display: none;
  }
}
