/* Page template setup */

html body.tax-matrix-category #main,
html body.post-type-archive-matrix #main,
html body.single-matrix #main {
  background: #f0f2f2;
  padding-left: 15px;
  padding-right: 15px;
}

html body.tax-matrix-category #main .fusion-row,
html body.post-type-archive-matrix #main .fusion-row,
html body.single-matrix #main .fusion-row {
  max-width: 100%;
}

.matrix-single,
.matrix-table {
  color: #475059;
}

/* Icons general */

.icon-value {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.icon-validated-by-squarell,
.icon-value.icon-validated {
  background-image: url(../images/icon-validated.svg);
}

.icon-the-vehicle-has-been-developed-and-should-work,
.icon-value.icon-developed {
  background-image: url(../images/icon-developed.svg);
}

.icon-value.icon-vehicle-can-bus {
  background-image: url(../images/icon-vehicle-can-bus.svg);
}

.icon-requires-2nd-can-bus-connection {
  background-image: url(../images/icon-2nd-can.svg);
}

.icon-requires-3rd-can-bus-connection {
  background-image: url(../images/icon-3rd-can.svg);
}

.icon-requires-j1708-connection {
  background-image: url(../images/icon-j1708.svg);
}

.icon-requires-iso11992-connection {
  background-image: url(../images/icon-iso11992.svg);
}

.icon-requires-tachograph-1324-connection {
  background-image: url(../images/icon-tachograph.svg);
}

.icon-requires-fuel-levels-sensor-device {
  background-image: url(../images/icon-fuel-levels-sensor.svg);
}

.icon-calculated-parameter {
  background-image: url(../images/icon-calculated.svg);
}

/* Main table */

.matrix-table {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;

  /*responsive */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  font-size: 12px;
}

.matrix-table .table {
  border-collapse: collapse;
  transition: 0.2s all;
  border-color: #81878e;
  width: auto;
  max-width: 100%;
  min-width: 1172px;
  margin: 0 auto;
}

.matrix-table .table thead {
  position: relative;
  z-index: 2;
  background: #f0f2f2;
}

.matrix-table .table thead tr.top-header th {
  border-bottom: 1px solid #3b80a3;
  vertical-align: bottom;
}

.matrix-table .table thead tr.explainer {
  position: relative;
  z-index: 2;
  background: #f0f2f2;
  border: 0;
}

.matrix-table .table thead tr.explainer th {
  border: 0;
}

.matrix-table .table thead tr.explainer th.explainer {
  text-align: left;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
}

.matrix-table .table thead tr.top-header {
  position: relative;
  z-index: 1;
}

.matrix-table .table thead tr.top-header th.table-info-cell {
  padding: 0 0 15px 0;
  border: 0;
}

.matrix-table .table thead tr.headings {
  background: #199ad8;
  border: 1px solid #4ca2cc;
  color: white;
  position: relative;
  z-index: 2;
}

.matrix-table .table thead tr.headings th {
  font-size: 14px;
  line-height: 14px;
  vertical-align: top;
}

.matrix-table .table th,
.matrix-table .table td {
  position: relative;
  padding: 4px 4px 4px 4px;
  vertical-align: top;
  transition: 0.2s all;
}

.matrix-table .table th.year,
.matrix-table .table th.year,
.matrix-table .table th.brand,
.matrix-table .table td.brand {
  width: 82px;
}

.matrix-table .table th.model,
.matrix-table .table td.model {
  width: 148px;
}

.matrix-table .table th.dcf-group,
.matrix-table .table td.dcf-group {
  width: 98px;
}

.matrix-table .table th.dcf-release,
.matrix-table .table td.dcf-release {
  width: 140px;
}

.matrix-table .table th.status,
.matrix-table .table td.status {
  width: 66px;
}

/*vertical parameters */

.matrix-table .table th.vertical {
  height: 300px;
  white-space: nowrap;
  font-weight: normal;
  padding: 0;
  border: 0;
}

.matrix-table .table th.vertical div {
  /*transform: translate(5px, 8px) rotate(300deg);*/
  transform: translate(0px, 0px) rotate(-90deg);
  width: 24px;
}

.matrix-table .table th.vertical span {
  padding: 4px 10px 4px 10px;
  width: 500px;
  text-align: left;
  display: inline-block;
  background: #f0f2f2;
  color: #475059;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
}

.matrix-table .table th.vertical.wide div {
  transform: translate(0px, 0px) rotate(-90deg);
  width: 64px;
}

.matrix-table .table th.vertical.wide span {
  padding: 25px 10px 25px 10px;
  line-height: 14px;
}
/*
.matrix-table .table th.vertical span.has-asterisk {
  width: 100px;
}

.matrix-table .table th.vertical span.asterisk {
  width: 400px;
  margin-left:-2px;
  font-size:12px;

}
*/

.matrix-table .table th.vertical:nth-child(odd) div span {
  background-color: #daddde;
}

.matrix-table .table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
  cursor: pointer;
  transition: 0.2s all;
}

/*vertical highlight */

.matrix-table .table tbody {
  position: relative;
  overflow: hidden;
  background: white;
  z-index: 1;
}

.matrix-table .table tbody td {
  position: relative;
  border: 1px solid #81878e;
  color: black;
  white-space: nowrap;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

/*
.matrix-table .table  tbody td:hover::before {
  content: "";
  position: absolute;
  background-color: rgba(0, 0, 0, .075);
  left: 0;
  top: -9999px;
	bottom: -9999px;
  width: 100%;
  z-index: 0;
}
*/

.matrix-table .table tbody td:hover::after,
.matrix-table .table tbody td:focus::after {
  content: "";
  height: 10000px;
  left: 0;
  position: absolute;
  top: -5000px;
  width: 100%;
  z-index: -1;
}

.matrix-table .table tbody td:hover::after,
.matrix-table .table tbody th:hover::after {
  background-color: rgba(0, 0, 0, 0.075);
}

.matrix-table .table tbody td.parameter {
  line-height: 14px;
  text-align: center;
  width: 24px;
  padding-top: 5px;
  padding-bottom: 3px;
}

.matrix-table .table tbody td.installation_manual,
.matrix-table .table tbody td.tell-tales {
  width: 64px;
}

/* parameters values */

.matrix-table td.has-link {
  text-align: center;
}

.matrix-table td.has-link a {
  color: black;
}

.matrix-table td.has-link a:hover {
  color: black;
  text-decoration: underline;
}

.matrix-table .pagination {
  margin-top: 15px;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

/* Table info */

.table-info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}

.table-info .searchfilter {
  flex: 0 0 206px;
  width: 206px;
  margin-right: 24px;
}

.table-info .searchfilter h1 {
  font-size: 22px;
  line-height: 22px;
  color: #47505a;
  margin: 0 0 30px 0;
  padding: 0;
}

.table-info .searchfilter h2.subtitle {
  font-size: 16px;
  line-height: 16px;
  color: #47505a;
  text-transform: uppercase;
  margin: 0 0 15px 0;
  padding: 0;
  font-weight: 500;
}

.table-info .searchfilter .back-to-overview {
  font-size: 14px;
  font-weight: 400;
}

.table-info .searchfilter .back-to-overview:hover {
  text-decoration: underline;
}

.table-info .searchfilter li h4 {
  padding: 0 0 5px 0;
  font-weight: 500;
  font-style: italic;
}

.table-info .searchfilter label {
  width: 100%;
}

.table-info .searchfilter input,
.table-info .searchfilter select {
  border: 1px solid #475059;
  background: white;
  border-radius: 4px;
  padding: 0 5px 2px 5px;
  width: 100%;
  font-size: 16px;
  color: #475059;
}

.table-info .legend {
  flex: 0 0 386px;
  width: 386px;
}

/* search and filter */

form.searchandfilter ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

form.searchandfilter ul li {
  padding: 20px 0 0 0;
}

/* Legend list */

ul.legend-list {
  list-style: none;
  margin: 15px 0 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  /*width:250px;*/
}

ul.legend-list li {
  overflow: hidden;
  margin: 0 0 5px 0;
}

ul.legend-list li .icon-value {
  float: left;
  width: 14px;
  margin-right: 8px;
}

ul.legend-list li .text {
  float: left;
  width: calc(100% - 22px);
}

.legend .explainer,
.table-info .explainer {
  font-size: 12px;
  font-weight: 400;
  margin: 16px 0 0 22px;
}

/* Single page */

.matrix-single {
  width: 100%;
  max-width: 1176px;
  margin: 0 auto;
}

.matrix-single .matrix-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 -30px;
}

.matrix-single .matrix-row .matrix-col {
  flex: 0 0 30%;
  width: 30%;
  padding: 0 30px;
}

.matrix-single .matrix-row .matrix-col.info {
  flex: 0 0 40%;
  width: 40%;
  margin: 0 0 30px 0;
}

.matrix-single .matrix-row .matrix-col.info img {
  width: auto;
  max-height: 100px;
  margin: 0 0 24px 0;
}

.matrix-single .matrix-row .matrix-col.info .fields {
  font-size: 20px;
  margin: 0 0 24px 0;
}

.matrix-single .matrix-row .matrix-col.info .fields .value {
  font-weight: bold;
}

.matrix-single .matrix-row .matrix-col.info .fields .value a {
  color: #475059;
}

.matrix-single .matrix-row .matrix-col.info .fields .value a:hover {
  color: #475059;
  text-decoration: underline;
}

.matrix-single .matrix-row .matrix-col.info .desc {
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  margin: 0 0 32px 0;
}

.matrix-single .matrix-row .matrix-col.info .desc p {
  margin: 0 0 24px 0;
}

.matrix-single .matrix-row .matrix-col.info .btn {
  display: inline-block;
  padding: 6px 10px;
  background: #199ad8;
  color: white;
  margin: 0 0 10px 0;
  transition: 0.2s all;
}

.matrix-single .matrix-row .matrix-col.info .btn:hover {
  opacity: 0.5;
}

.matrix-single .table {
  border-collapse: collapse;
  transition: 0.2s all;
  text-align: left;
  font-size: 14px;
}

.matrix-single .table thead th {
  background: #199ad8;
  border: 1px solid #199ad8;
  color: white;
  position: relative;
  padding: 3px 6px 1px;
  font-weight: normal;
}

.matrix-single .table tbody {
  border-left: 1px solid #a4a8ad;
  border-right: 1px solid #a4a8ad;
}

.matrix-single .table tbody tr {
  border: 1px solid #a4a8ad;
}

.matrix-single .table tbody td {
  color: black;
  padding: 4px 6px 2px;
  line-height: 14px;
  border: 0;
}

.matrix-single .table .parameter {
  text-align: center;
}

/* archive page */

html body.post-type-archive-matrix #main {
  background-image: url(../images/archive-bg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.matrix-archive h1 {
  text-transform: uppercase;
  text-align: center;
  color: #475059;
}

.matrix-archive .category-list {
  max-width: 980px;
  margin: 0 auto 30px;
}

.matrix-archive .category-list .cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 30px 0;
}

.matrix-archive .category-list .cat-row .item {
  flex: 0 0 33.3333%;
}

.matrix-archive .category-list .cat-row .item .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #009bd9;
  color: white;
  padding: 5px 15px;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
  min-height: 50px;
  transition: 0.2s all;
}

.matrix-archive .category-list .cat-row .item .btn.electric {
  color: #b2e1f4;
}

.matrix-archive .category-list .cat-row .item .btn.electric span {
  color: white;
  display: block;
}

.matrix-archive .category-list .cat-row .item .btn:hover {
  opacity: 0.7;
}

.matrix-archive .category-list .cat-row .icon {
  flex: 0 0 20%;
  height: 50px;
  background-position: center center;
  background-repeat: no-repeat;
}

.matrix-archive .category-list .cat-row .icon.bus {
  background-image: url(../images/icon-bus.svg);
  background-size: auto 80%;
}

.matrix-archive .category-list .cat-row .icon.heavy {
  background-image: url(../images/icon-heavy.svg);
  background-size: auto 100%;
}

.matrix-archive .category-list .cat-row .icon.light {
  background-image: url(../images/icon-light.svg);
  background-size: auto 70%;
}

.matrix-archive .category-list .cat-row .icon.car {
  background-image: url(../images/icon-car.svg);
  background-size: auto 65%;
}

.matrix-archive .category-list .cat-row .icon.pickup {
  background-image: url(../images/icon-pickup.svg);
  background-size: auto 70%;
}

.matrix-archive .category-list .cat-row .icon.offroad {
  background-image: url(../images/icon-offroad.svg);
  background-size: auto 75%;
}

.matrix-archive .category-list .cat-row .icon.engine {
  background-image: url(../images/icon-engine.svg);
  background-size: auto 85%;
}

@media (max-width: 991px) {
  .matrix-archive .category-list {
    max-width: 100%;
    margin: 0 auto 30px;
  }

  .matrix-archive .category-list .cat-row .item {
    flex: 0 0 30%;
  }

  .matrix-archive .category-list .cat-row .icon {
    flex: 0 0 30%;
  }

  .matrix-archive .category-list .cat-row {
    flex-direction: column;
  }

  .matrix-archive .category-list .cat-row .item {
    flex: 0 0 100%;
    width: 100%;
    max-width: 400px;
    order: 2;
    margin: 0 auto 15px;
  }

  .matrix-archive .category-list .cat-row .icon {
    flex: 0 0 100%;
    width: 100%;
    min-height: 50px;
    order: 1;
    margin-bottom: 15px;
  }

  .matrix-single .matrix-row {
    flex-wrap: wrap;
  }

  .matrix-single .matrix-row .matrix-col {
    flex: 0 0 50%;
    width: 50%;
  }

  .matrix-single .matrix-row .matrix-col.info {
    flex: 0 0 50%;
    width: 50%;
  }

  .matrix-single .matrix-row .matrix-col.telltales {
    flex: 0 0 100%;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .matrix-single .matrix-row .matrix-col.info,
  .matrix-single .matrix-row .matrix-col {
    flex: 0 0 100%;
    width: 100%;
  }
}

.matrix-single .matrix-row .matrix-col .detail-title {
  font-size: 22px;
  line-height: 22px;
  color: #47505a;
  margin: 0 0 30px 0;
  padding: 0;
}

/* Recent list */

.matrix-table.recent {
  margin: 0 0 30px 0;
}

.matrix-table.recent .table {
  min-width: auto;
  width: 100%;
}

.matrix-table.recent .table tbody {
  background-color: rgba(255, 255, 255, 0.75);
}

.matrix-table.recent .table thead tr.headings th {
  width: auto;
}

.matrix-archive .btn {
  display: inline-block;
  padding: 6px 10px;
  background: #199ad8;
  color: white;
  margin: 0 0 10px 0;
  transition: 0.2s all;
}

.matrix-archive .btn .btn:hover {
  opacity: 0.5;
}

.recent_wrapper {
  text-align: center;
}

.recent_wrapper h3 {
  color: white;
  font-size: 24px;
}

.recent_wrapper .matrix-table.recent {
  max-width: 700px;
  margin: 0 auto 30px auto;
}

/* banner */

.matrix-banner {
  position: absolute;
  top: 340px;
  right: 0;
  background-color: #199ad8;
  color: white;
  padding: 16px 50px 16px 12px;
  z-index: 1000;
  border-radius: 4px 0 0 4px;
  transition: 0.2s all;
  width: auto;
  max-width: 90%;
  transform: translateX(0);
}

.matrix-banner a {
  color: white;
  text-decoration: none;
}

.matrix-banner a:hover {
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

.matrix-banner .top-text {
  font-size: 18px;
  line-height: 20px;
  margin-bottom: 8px;
}

.matrix-banner .bottom-text {
  font-size: 14px;
  line-height: 16px;
}

.matrix-banner .collapse-button {
  position: absolute;
  top: 24px;
  right: 12px;
  font-weight: 600;
  font-size: 30px;
  line-height: 30px;
  cursor: pointer;
  transition: 0.2s all;
}

.matrix-banner .collapse-button:hover {
  opacity: 0.8;
}

.matrix-banner .text {
  position: relative;
  opacity: 1;
  transition: 0.2s all;
}

.matrix-banner.collapsed {
  transform: translateX(calc(100% - 40px));
}

.matrix-banner.collapsed .text {
  opacity: 0;
}

.matrix-banner.collapsed .collapse-button {
  right: calc(100% - 30px);
  transform: rotate(180deg);
}

/* schuine balkjes */

/*
.matrix-table .table th.vertical {
  height: 300px;
  white-space: nowrap;
  font-weight: normal;
  padding: 0;
  border: 0;
}


.matrix-table .table th.vertical div {
  transform: translate(5px, 8px) rotate(300deg);
  width: 24px;
}

.matrix-table .table th.vertical span {
  padding: 3px 10px 3px 20px;
  width: 500px;
  text-align: left;
  display: inline-block;
  background: #f0f2f2;
  color:#475059;
  font-weight:500;
  font-size:14px;
  line-height:14px;
}

.matrix-table .table th.vertical.wide div {
  transform: translate(10px, 11px) rotate(300deg);
  width: 64px;
}

.matrix-table .table th.vertical.wide span {
  padding: 18px 10px 18px 27px;
  line-height:14px;
}

.matrix-table .table th.vertical span.has-asterisk {
  width: 100px;
}

.matrix-table .table th.vertical span.asterisk {
  width: 400px;
  margin-left:-2px;
  font-size:12px;

}

.matrix-table .table th.vertical:nth-child(odd) div span {
  background-color: #daddde;
}

.matrix-table .table tbody tr:hover {
  background-color: rgba(0, 0, 0, .075);
  cursor: pointer;
  transition: 0.2s all;
}
*/
