/*
 *  tabellajs - v0.4.1
 *  2016-11-09
 *
 *  https://github.com/iliketomatoes/tabellajs
 */

/*
 *  Copyright (C) 2014-2017  Interpromotion <info@interpromotion.com>
 *  Copyright (C) 2014-2017  Giancarlo Soverini <giancarlosoverini@gmail.com>
 *
 *  This file is part of Tabellajs.
 *
 *  Tabellajs is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as
 *  published by the Free Software Foundation, either version 3 of the
 *  License, or (at your option) any later version.
 *
 *  Tabellajs is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>
 */


.tabella-ctr *,
.tabella-ctr *:after,
.tabella-ctr *:before {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.tabella-ctr {
  display: block;
  position: relative;
  width: 100%;
  transition: all 100ms ease-out;
}

/*
===========================
TABLE HEADER
===========================*/
.t-fixed-header {
  display: block;
  z-index: -1;
}

.t-first-row {
  z-index: 20;
}

.t-shadow {}

/**
* WATCH OUT! The height property given to a table displayed element, is equal to min-height.
* Hence, it is going to expand when the content is higher than that height.
*/
.t-first-row .t-row-cell {
  height: 3.4rem;
}


/*
===========================
MAIN RULES
===========================*/
.t-row {
  position: relative;
  display: block;
  width: 100%;
}

.t-row-content-wrapper {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
}

.t-row-content {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
}

.t-row-header {
  display: block;
  position: relative;
  margin: 30px 5px 0 5px;
  padding: 0 0 10px 0;
  font-family: 'Francis Bold', Arial, Helvetica, serif;
  font-size: 2.6em;
  font-weight: normal;
  color: #000000;
  text-align: left;
  float: none;
  overflow: hidden;
  border-bottom: 1px solid #000000;
}

.t-cell-desc-l .t-header-devider,
.t-cell-desc-s .t-header-devider {
  text-align: left;
}

.t-header-devider {
  display: block;
  clear: both;
}

.t-sliding-row {
  position: relative;
  overflow: auto;
  will-change: transform;
}

.t-row-values {
  float: left;
  position: relative;
  overflow: hidden;
}

.t-row-desc {
  float: left;
  display: table;
  position: relative;
  overflow: hidden;
  padding: 10px 10px;
  text-align: left;
}

.t-row-cell {
  float: left;
  display: table;
  position: relative;
  text-align: left;
  padding: 20px 20px;
  color: rgba(0, 0, 0, 0.7);
  background-color: #fff;
  cursor: move;
  border-left: 5px solid #FFFFFF;
  border-right: 5px solid #FFFFFF;
}

.t-first-row {
  margin: 0 0 30px 0;
}

.t-first-row .t-row-cell {
  font-size: 1.5em;
  padding: 0;
  height: 60px;
  text-align: center;
}

.t-first-row .t-row-cell .t-element {
}

.t-first-row .t-row-cell .t-cell-value {
  cursor: move;
}

.t-row-cell:nth-of-type(odd) {
  background-color: #f2f2f2;
}

.t-row-cell:nth-of-type(even) {
  background-color: #f9f9f9;
}

.t-element {
  display: table-cell;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  line-height: 1.4;
  vertical-align: middle;
}

.t-cell-value {
  display: inline-block;
  text-align: left;
  cursor: default;
}

.t-cell-desc-s {
  display: inline-block;
  text-align: left;
}

.t-cell-desc-l {
  display: inline-block;
  position: relative;
  height: 100%;
  margin: 0 auto;
  text-align: left;
  color: rgba(0, 0, 0, 0.54);
  font-style: italic;
}

.t-hide {
  display: none !important;
  width: 0;
  height: 0;
  z-index: -1;
}

.t-arrow, .t-arr-right, .t-arr-left {
  position: absolute;
  z-index: 50;
  width: 40px;
  height: 60px;
  top: 0;
  font-size: 20px;
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  cursor: pointer;
  outline: none;
  transition: all 100ms ease-out;
}

.t-arr-right {
  right: 0;
}

.t-arr-right svg {
  position: relative;
  width: 30px;
  height: 60px;
  top: 0;
}

.t-arr-left {
  left: 0;
}

.t-arr-left svg {
  position: relative;
  width: 30px;
  height: 60px;
  top: 0;
}

.t-svg-arrow {
  fill: #fff;
}

.t-bold {
  font-weight: bold;
}

/*
=====================
 COMMON RULES
=====================*/
.t-no-select, .t-sliding-row, .t-cell-value, .t-arr-right, .t-arr-left {
  -webkit-user-select: none; /* Chrome all / Safari all */
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none; /* IE 10+ */
  /* No support for these yet, use at own risk */
  -o-user-select: none;
  user-select: none;
}
