/**
 * @file
 * Iudict styles for Tables.
 */

table {
  width: 100%;
  margin: 0 0 10px;
  border-bottom: 2px solid #D7D7D7;
}
caption {
  text-align: left; /* LTR */
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

[dir="rtl"] caption {
  text-align: right;
}

th {
  text-align: left; /* LTR */
  padding: 10px 12px 16px 12px;
  background: #F0F0F0;
  color: #821318;
  font-size: 16px;
  font-weight: 400;
}

.path-search th {
  font-size: 14px;
  padding: 10px 6px 16px 6px;
}

th.views-field-field-source-type {
  white-space: pre;
}

th.select-all {
  background: #fff;
}

[dir="rtl"] th {
  text-align: right;
}

.field-multiple-table th {
  padding: 4px 10px;
}

tr {
  padding: 0.1em 0.6em;
}

.field-multiple-table tr {
  height: 40px;
  border: none;
}

.field-multiple-table thead > tr {
  border-bottom: none;
}

tbody:before {
  content:" ";
  display:block;
  width: 100%;
  height: 6px;
}

.path-search tbody:before {
  content: none;
}

.field-multiple-table tbody:before {
  height: 0;
}

tbody tr {
  border-top: 2px solid #E1E1E1;
}

.path-search th, .path-search tbody td, .path-search tbody tr  {
  border: 1px solid #bbb;
}

.path-search tbody tr:hover {
  background: #ffc;
}

/* See colors.css */
tbody tr.color-warning:hover,
tbody tr.color-warning:focus {
  background: #fdf8ed;
}
tbody tr.color-error:hover,
tbody tr.color-error:focus {
  background: #fcf4f2;
}

td,
th {
  vertical-align: middle;
}

.view-filters label {
  white-space: nowrap;
}

td {
  padding: 10px 6px;
  text-align: left; /* LTR */
  font-size: 14px;
}

[dir="rtl"] td {
  text-align: right;
}

.field-multiple-table td {
  padding: 0 10px 0 0;
  vertical-align: top;
}

td.views-field-operations {
  padding-right: 0;
}

td .item-list li {
  margin-left: 1em;
}

.tablesort {
  position: absolute;
  float: left;
  margin-top: 3px;
  width: 8px;
  height: 8px;
  display: block;
  border-right: 1px solid #821318;
  border-bottom: 1px solid #821318;
    -webkit-transform-origin: 66% 66%;
        -ms-transform-origin: 66% 66%;
            transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.tablesort--asc {
  background-image: none;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}
a:hover .tablesort--asc {
  background-image: none;
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg);
}
.tablesort--desc {
  background-image: none;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}
a:hover .tablesort--desc {
  background-image: none;
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg);
}

th > a {
  position: relative;
  display: block;
  color: #821318;
  float: left;
}

td a {
  color: #000;
}

/* 1. Must match negative bottom padding of the parent <th> */
th > a:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: -2px; /* 1. */
  left: 0;
  right: 0;
  border-bottom: 1px solid #821318;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}
th.is-active > a {
  font-weight: bold;
}
th.is-active img {
  position: absolute;
  right: 0; /* LTR */
  top: 50%;
}
[dir="rtl"] th.is-active img {
  right: auto;
  left: 0;
}
th.is-active > a:after {
  border-bottom-color: #821318;
}
th > a:hover,
th > a:focus,
th.is-active > a:hover,
th.is-active > a:focus {
  color: #008ee6;
  text-decoration: none;
}
th > a:hover:after,
th > a:focus:after,
th.is-active > a:hover:after,
th.is-active > a:focus:after {
  border-bottom-color: #008ee6;
}
td .item-list ul {
  margin: 0;
}
/* This is required to win over specificity of [dir="rtl"] .item-list ul */
[dir="rtl"] td .item-list ul {
  margin: 0;
}
td.is-active {
  background: none;
}

/* Force browsers to calculate the width of a 'select all' <th> element. */
th.select-all {
  width: 1px;
}

/**
 * Captions.
 */
.caption {
  margin-bottom: 1.2em;
}

/**
 * Responsive tables.
 */
@media screen and (max-width: 37.5em) { /* 600px */
  th.priority-low,
  td.priority-low,
  th.priority-medium,
  td.priority-medium {
    display: none;
  }
}
@media screen and (max-width: 50em) { /* 920px */
  th.priority-low,
  td.priority-low {
    display: none;
  }
}
