
/* DATA TABLE/VIDEO-CARDS (RM#17921) */

/* GENERAL STYLING */
.view--wrapper--view--video_cards .view--wrapper .view-header .view-content {
  margin-left: 0;
  margin-right: 0;
}
.view--wrapper--view--video_cards .view--wrapper .view-header nav {
  padding-bottom: 40px;
  padding-top: 8px;
}
.view--wrapper--view--video_cards .view--wrapper .view-header nav ul li.is-active {
  background-color: #239de8;
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  padding: 0;
  margin: 0;
  border-radius: 22px;
  cursor: pointer;
}
.view--wrapper:not(.view--vbo) .view-video-cards .view-content {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
}
.view--wrapper--view--video_cards .view--wrapper .view-header nav ul li a {
  padding: 0;
}
.view--wrapper--view--video_cards input#edit-combine {
  padding: 28px 60px 8px 16px;
}
.view--wrapper--view--video_cards button#edit-submit-hardware-certification {
  display: block;
  position: absolute;
  right: 12px;
  top: 16px;
}

/* new css added by Bill M */
[id^="edit-reset"] {
  display:block !important;
  visibility: visible !important;
}
[id^="edit-submit-video-cards"],
[id^="edit-submit-free-download"] {
  visibility: hidden;
}
.video-cards-reset.webform-button--download.ds-btn {
  float: left !important;
  position: relative;
  top: -7px;
  left: 50px;
  z-index: 101;
}
button.ds-btn--compact.views--filter--reset {
  float:left;
  top:-5px;
  margin-left:2px;
}
.view-empty {
  padding: 0 40px 40px 40px;
  margin-top:-60px;
}

/* INSTRUCTION PARAGRAPH STYLING */
.video-cards-instructions {
  margin-top: 50px;
}
.video-cards-instructions > div > div > .view-header-text {
  /*padding-left: 9%;*/
}
.video-cards-instructions p {
  font-size: 16px;
}
.video-cards-instructions .ds-copy-text h5 {
  margin-bottom: 0;
  margin-top: 16px;
  font-size: 16px;
  font-weight: bold;
}
.video-cards-instructions .ds-copy-text ol {
  font-size: 16px;
  margin-top: 0;
}
.video-cards-instructions .ds-copy-text ol li {
  margin-bottom: 0;
}

/* INPUT FILTERS STYLING */
.view--wrapper--view--video_cards .bef-exposed-form .form--inline > .form-item:first-child,
.view--wrapper--view--video_cards .bef-exposed-form .form--inline > .form-item.js-form-item-field-video-card-model-value {
  margin-left: 0!important;
  padding-left: 0!important;
}
.view--wrapper--view--video_cards .bef-exposed-form .form--inline > .form-item {
  width: 22%;
  margin-left: 2.8em;
  margin-right: 0;
  padding-left: 0!important;
}
.view-free-download .bef-exposed-form .form--inline > .form-item {
  width: 28%;
  margin-left: 2.8em;
  margin-right: 0;
  padding-left: 0!important;
}
@media (min-width: 320px) and (max-width: 840px) {
  .video-cards-filters .views-exposed-form {
    padding: 0;
  }
  .video-cards-filters .views-exposed-form .ds-input {
    width: 100%;
  }
}
.video-cards-filters .ds-row > div > .views-exposed-form .form-actions .views--filter--reset {
  height: 40px;
  font-size: 16px;
  line-height: 41px;
}
.video-cards-filters.ds-row {
  margin-left: 0;
}

.view--wrapper--view--video_cards form.views-exposed-form {
  padding: initial;
}

.video-cards-total-records {
  display: inline-block;
  float: left;
}
.feed-icons {
  display: inline-block;
  float: right;
}
.feed-icons .csv-feed button a {
  background: transparent!important;
}

/* DATA TABLE STYLING */
.video-card-ctrls {
  display: block;
  min-height: 35px;
}
section.hardware-certification-container {
  margin-top: 50px;
}
table.video-driver-table tbody tr:nth-child(odd) {
  background: #FFFFFF;
}
table.video-driver-table thead tr th,
table.video-driver-table thead tr th a,
table.video-driver-table thead tr th.is-active a,
table.video-driver-table tbody tr td b {
  color: #000000;
  font-size: 14px;
  font-weight: normal;
}
table.video-driver-table thead tr th a {
  color: #239DE8;
}
i.ds-ico.tablesort.tablesort--asc {
  background-image: none;
  content: '\e935';
}
i.ds-ico.tablesort.tablesort--desc {
  background-image: none;
  content: '\e939';
}
table.video-driver-table thead tr th a span.tablesort {
  position: relative;
  top: 5px;
}
table.video-driver-table thead tr th,
table.video-driver-table tbody tr td {
  /*text-align: center;*/
}
table.video-driver-table tbody tr td {
  font-size: 14px;
  padding: 14px;
}
table.video-driver-table tbody tr td.is-active {
  background-color: initial;
}
table.video-driver-table tbody tr td span.tablesaw-cell-content {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}
table.video-driver-table tbody tr .views-field-field-video-card-driver-version {
  color: #239DE8;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1202px) {
  .view--wrapper--view--video_cards .bef-exposed-form .form--inline > .form-item {
    margin-left: 1.8em;
  }
}

@media screen and (max-width: 978px) {
  .view--wrapper--view--video_cards .bef-exposed-form .form--inline > .form-item {
    width: 47%;
    margin-right: 0.8em;
    margin-left: 0!important;
  }
}

@media screen and (max-width: 748px) {
  .view--wrapper--view--video_cards .bef-exposed-form .form--inline > .form-item {
    width: 100%;
    margin-right: 0;
    margin-left: 0!important;
  }
}

@media screen and (max-width: 939px) {
  .tablesaw-stack tbody tr {
    display: block;
    width: 100%;
    border-bottom: 1px solid #dfdfdf;
  }
  .tablesaw-stack thead td,
  .tablesaw-stack thead th {
    display: none;
  }
  .tablesaw-stack tbody td,
  .tablesaw-stack tbody th {
    display: block;
    float: left;
    clear: left;
    width: 100%;
  }
  .tablesaw-cell-label {
    vertical-align: top;
  }
  .tablesaw-cell-content {
    display: inline-block;
    max-width: 67%;
  }
  .tablesaw-stack .tablesaw-stack-block .tablesaw-cell-label,
  .tablesaw-stack .tablesaw-stack-block .tablesaw-cell-content {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .tablesaw-stack td:empty,
  .tablesaw-stack th:empty {
    display: none;
  }
  /* check with the original tablesaw-responsive.css for further alterations */
  .tablesaw-stack td .tablesaw-cell-label {
    display: initial !important;
    padding: 0 .6em 0 0;
  }
  table.video-driver-table tbody tr td b a {
    color: #000000;
    font-size: 14px;
    font-weight: normal;
  }
  table.video-driver-table tbody tr td:nth-child(n+2) {
    border-bottom: 1px solid #E0E0E0;
  }
  table.video-driver-table tbody tr td:first-child {
    background: #E0E0E0;
    margin-top: 0;
    padding: 10px 0;
  }
  table.video-driver-table tbody tr td {
    padding: 14px 0;
  }
  table.video-driver-table tbody tr td b.tablesaw-cell-label {
    display: inline-block;
    padding-left: 8px;
    text-align: left;
    width: 40%;
  }
  table.video-driver-table tbody tr td span.tablesaw-cell-content {
    display: inline-block;
    position: absolute;
    right: 45px;
  }
}
/* adjustments for mobile size below 480px */
@media screen and (max-width: 480px) {
  table.video-driver-table tbody tr td:first-child b a span.tablesort {
    position: relative;
    top: 5px;
  }
  table.video-driver-table tbody tr td:last-child {
    border-bottom: none !important;
    margin-bottom: 20px;
  }
  table.video-driver-table tbody tr td b a {
    color: #000000;
    font-size: 14px;
    font-weight: normal;
  }
  table.video-driver-table tbody tr td {
    padding: 0;
    text-align: left;
  }
  table.video-driver-table tbody tr td:first-child {
    margin-top: 0;
    padding: 10px 0;
  }
  table.video-driver-table tbody tr td:nth-child(n+2) {
    border-bottom: 1px solid #000000;
  }
  table.video-driver-table .tablesaw-stack td .tablesaw-cell-label {
    padding: 0;
  }
  table.video-driver-table tbody tr td b.tablesaw-cell-label {
    display: inline-block;
    padding-left: 10px;
    text-align: left;
    width: 40%;
  }
  table.video-driver-table tbody tr td span.tablesaw-cell-content {
    display: inline-block;
    position: absolute;
    right: 36px;
  }
  table.video-driver-table tbody tr td b.tablesaw-cell-label {
    padding-left: 8px;
  }
  table.video-driver-table tbody tr td {
    padding: 14px 0;
  }
}
