/*
Name: SP Stock Functionality
Author: Screenpartner AS
*/
.spstock-ticker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 480px;
}

.spstock-header {
  margin-bottom: 20px;
}
.spstock-header .spstock-last {
  font-size: 3em;
  line-height: 1;
  font-family: "HurmeGeometricSans1-Bold";
  font-weight: 700;
  margin-bottom: 8px;
}

.spstock-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
}
.spstock-content .spstock-info {
  padding-top: 5px;
  padding-bottom: 5px;
}
.spstock-content .spstock-info:nth-of-type(odd) {
  padding-right: 20px;
  border-right: 1px solid #000;
}
.spstock-content .spstock-info:nth-of-type(even) {
  padding-left: 20px;
}

.spnotice {
  color: #000;
  font-size: 1.2em;
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid #000;
  text-decoration: none !important;
}
.spnotice p, .spnotice span {
  margin: 0;
}
.spnotice:hover, .spnotice:focus {
  text-decoration: underline !important;
}
.spnotice:first-of-type {
  border-top: 1px solid #000;
}

@media (max-width: 660px) {
  table.spstock-shareholders-table thead {
    display: none;
  }
  table.spstock-shareholders-table td,
table.spstock-shareholders-table th {
    display: block;
  }
  table.spstock-shareholders-table tr {
    display: block;
    border-top: 1px solid #eee;
    padding: 6px 0;
  }
  table.spstock-shareholders-table tr:first-of-type {
    border-top: 0;
  }
  table.spstock-shareholders-table td {
    border: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    padding: 6px 12px;
  }
  table.spstock-shareholders-table td[data-th]:before {
    content: attr(data-th);
    display: inline-block;
    margin-right: 20px;
    color: #555;
    font-weight: 700;
    text-align: left;
  }
}
@media (max-width: 767px) {
  .sp-hide-on-mobile {
    display: none;
  }
}
@media (min-width: 768px) {
  .sp-hide-on-desktop {
    display: none;
  }
}
