/* Foundation v2.1.4 http://foundation.zurb.com */
/* Artfully masterminded by ZURB  */

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------
:: Shared Styles
:: Page Name 1
:: Page Name 2
*/


/* -----------------------------------------
   Shared Styles
----------------------------------------- */

table th { font-weight: 500; }
table td, table th { padding: 9px 10px; text-align: left; }

div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; overflow-x: scroll; }

/* Mobile */
@media only screen and (max-width: 767px) {
	
	table.responsive-table-default { margin-bottom: 0; }
	
	.pinned { position: absolute; left: 0; top: 0; background: #fff; width: 35%; overflow: hidden; overflow-x: scroll; border-right: 1px solid #ccc; border-left: 1px solid #ccc; }
	.pinned table { border-right: none; border-left: none; width: 100%; }
	.pinned table th, .pinned table td { white-space: nowrap; }
	.pinned td:last-child { border-bottom: 0; }
	
	div.table-wrapper { position: relative; margin-bottom: 20px; overflow: hidden; overflow-x: scroll; border-right: 1px solid #ccc; }
	div.table-wrapper div.scrollable { margin-left: 35%; }
	div.table-wrapper div.scrollable { overflow: scroll; overflow-y: hidden; }	
	
	table.responsive-table-default td, table.responsive-table-default th { position: relative; white-space: nowrap; overflow: hidden; }
	/*table.responsive-table-default th:first-child, table.responsive-table-default td:first-child, table.responsive-table-default td:first-child, table.responsive-table-default.pinned td { display: none; }*/
}

/*
* BasicTable CSS.
*/

/*@import url(http://fonts.googleapis.com/css?family=Lato:400,700|Montserrat:400,700);*/

code {
  background: #c6d8d8;
  border-radius: 5px;
  color: #3d6969;
  display: block;
  margin: 2em 0;
  padding: 15px;
  position: relative;
}

code:after {
  bottom: 5px;
  color: #e4ebeb;
  font-size: font-size: var(--font-size-325);
  position: absolute;
  right: 10px;
  text-transform: uppercase;
}

code.css:after {
  content: 'css';
}

code.js:after {
  content: 'js';
}

table tr,
table th,
table td {
  border: none;
  border-bottom: 1px solid #e4ebeb;
  font-size: var(--font-size-325);
}

table th,
table td {
  padding: 10px 12px;
  text-align: left;
}

/*--pakajo_table_header_color: #f4f7fe;
  --pakajo_table_even_color: #ffffff;
  --pakajo_table_odd_color: #f9fafd;*/

table th {
  background: var(--pakajo_table_header_color);
  color: var(--pakajo_text_color);
  text-transform: uppercase;
}

table tr td {
  background: var(--pakajo_table_odd_color);
  color: var(--pakajo_text_color);
}

table tr:nth-of-type(2n+2) td {
  background: var(--pakajo_table_even_color);
}

table.bt thead,
table.bt tbody th {
  display: none;
}

table.bt tfoot th,
table.bt tfoot td,
table.bt tbody td {
  border: none;
  display: block;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  vertical-align: top;
  /* IE 9 */
  float: left\9;
  width: 100%\9;
}

table.bt tfoot th,
table.bt tfoot td,
table.bt tbody td {
  font-size: var(--font-size-325);
  padding: 0;
}

table.bt tfoot th:before,
table.bt tfoot td:before,
table.bt tbody td:before {
  content: attr(data-th) ": ";
  display: inline-block;
  -webkit-flex-shrink: 0;
  -ms-flex-shrink: 0;
  flex-shrink: 0;
  font-weight: bold;
  width: 6.5em;

  background: var(--pakajo_table_side_header_color);
  color: var(--pakajo_text_color);
  margin-right: 10px;
  padding: 2px 10px;
}

table.bt tfoot th.bt-hide,
table.bt tfoot td.bt-hide,
table.bt tbody td.bt-hide {
  display: none;
}

table.bt tfoot th .bt-content,
table.bt tfoot td .bt-content,
table.bt tbody td .bt-content {
  vertical-align: top;
  display: inline-block;
  padding: 2px 5px;
}

table.bt tfoot th:first-of-type:before,
table.bt tfoot th:first-of-type .bt-content,
table.bt tfoot td:first-of-type:before,
table.bt tfoot td:first-of-type .bt-content,
table.bt tbody td:first-of-type:before,
table.bt tbody td:first-of-type .bt-content {
  padding-top: 10px;
}

table.bt tfoot th:last-of-type:before,
table.bt tfoot th:last-of-type .bt-content,
table.bt tfoot td:last-of-type:before,
table.bt tfoot td:last-of-type .bt-content,
table.bt tbody td:last-of-type:before,
table.bt tbody td:last-of-type .bt-content {
  padding-bottom: 10px;
}

table.bt.bt--no-header tfoot td::before,
table.bt.bt--no-header tbody td::before {
  display: none;
}

/*
 * Example 2:
 * Container breakpoint
 */
.clearfix::before,
.clearfix::after {
 content: " ";
 display: table;
}

.clearfix::after {
 clear: both;
}

.col-sm-3 {
  padding-top: 1em;
}

@media (min-width: 768px) {
  .col-sm-3,
  .col-sm-9 {
    float: left;
  }

  .col-sm-3 {
    padding-left: 2em;
    width: 25%;
  }
  .col-sm-9 {
    width: 75%;
  }
}

/*
 * Example 5:
 * Media query over js resize
 */
@media only screen and (max-width: 568px) {
  table.responsive-table-no-resize thead {
    display: none;
  }

  table.responsive-table-no-resize tbody td {
    border: none !important;
    display: block;
    font-size: var(--font-size-325);
    padding: 0;
    vertical-align: top;

    /* IE 9 */
    float: left\9;
    width: 100%\9;
  }

  table.responsive-table-no-resize tbody td:before {
    background: #56a2cf;
    content: attr(data-th) ": ";
    color: white;
    display: inline-block;
    font-weight: bold;
    margin-right: 10px;
    padding: 2px 10px;
    width: 6.5em;
  }

  table.responsive-table-no-resize tbody td .bt-content {
    display: inline-block;
    padding: 2px 5px;
  }

  table.responsive-table-no-resize tbody td:first-of-type:before,
  table.responsive-table-no-resize tbody td:first-of-type .bt-content {
    padding-top: 10px;
  }

  table.responsive-table-no-resize tbody td:last-of-type:before,
  table.responsive-table-no-resize tbody td:last-of-type .bt-content {
    padding-bottom: 10px;
  }
}

/*
 * Example 6:
 * Two axis styling
 */
table.responsive-table-two-axis tr td:first-of-type {
  background: #cadde1;
}

@media only screen and (max-width: 568px) {
  table.responsive-table-two-axis tr td:first-of-type,
  table.responsive-table-two-axis tr:nth-of-type(2n+2) td:first-of-type,
  table.responsive-table-two-axis tr td:first-of-type:before {
    background: #3584b3;
    color: #ffffff;
  }

  table.responsive-table-two-axis tr td:first-of-type {
    border-bottom: 1px solid #e4ebeb;
  }

  table.responsive-table-two-axis tr td:first-of-type:before {
    padding-bottom: 10px;
  }
}

/*
 * Example 7:
 * Max height
 */
.bt-wrapper.active {
  max-height: 310px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5em;
}

.bt-wrapper.active table {
  margin: 0;
}

.responsive-table {
  margin: 30px 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  border: 1px solid #e0e0e0;
}
.responsive-table caption {
  color: #333;
  font-style: italic;
  font-size: 85%;
  line-height: 1;
  padding: 1em 0;
  text-align: center;
}
.responsive-table td,
.responsive-table th {
  border-left: 1px solid #e0e0e0;
  border-width: 0 0 0 1px;
  font-size: font-size: var(--font-size-325);
  margin: 0;
  overflow: visible;
  padding: 0.5em 1em;
  font-weight: normal;
}
.responsive-table td:first-child,
.responsive-table th:first-child {
  border-left-width: 0;
}
.responsive-table thead,
.responsive-table tfoot {
  background-color: #f05050;
  color: #fff;
  text-align: left;
  vertical-align: bottom;
}
.responsive-table thead td,
.responsive-table tfoot td,
.responsive-table thead th,
.responsive-table tfoot th {
  border-color: #fff;
}
.responsive-table td {
  background-color: transparent;
}
.table_striped tr:nth-child(2n-1) td {
  background-color: #ececec;
}
.table_bordered td {
  border-bottom: 1px solid #e0e0e0;
}
.table_bordered tbody > tr:last-child > td,
.table_bordered thead > tr:last-child > td {
  border-bottom-width: 0;
}
.table_horizontal td,
.table_horizontal th {
  border-width: 0 0 1px 0;
  border-bottom: 1px solid #e0e0e0;
}
.table_horizontal tbody > tr:last-child > td,
.table_horizontal thead > tr:last-child > td {
  border-bottom-width: 0;
}