.qmatic-inline {
  display: inline;
}

#qmatic-error-message {
  display: none;
}

/* Floating display */
.qmatic-table-title {
  font-size: medium;
  text-align: center;
  max-width: 300px;
  padding: 5px 0;
}

.qmatic-table-h3 {
  max-width: 300px;
  color: white;
  text-align: center;
  font-size: 1.125rem;
  font-weight: normal;
  margin: 0 0 5px;
}

.qmatic-content-table {
  width: 300px;
  font-size: smaller;
  white-space: normal;
}

.qmatic-title {
  text-align: center;
  max-width: 200px;
  padding: 5px 0;
  font-size: 15px;
}

.qmatic-h3 {
  max-width: 200px;
  color: white;
  text-align: center;
  font-size: 1.125rem;
  font-weight: normal;
  margin: 0 0 10px;
}

.qmatic-content {
  padding: 3px 0;
  max-width: 200px;
  font-size: x-small;
  white-space: normal;
}

.qmatic-description-top {
  font-size: small;
  white-space: normal;
  color: black;
}


.qmatic-floating-wrapper .side-box {
  position: fixed;
  right: 10px;
  bottom: 0;
  background: white;
  width: 200px;
  border-radius: 5px 5px 0 0;
  z-index: 20;
}
.qmatic-floating-wrapper .qmatic-side-head {
  width: inherit;
  height: 45px;
  background: #8f001a;
  border-radius: 5px 5px 0 0;
}
.qmatic-floating-wrapper .qmatic-side-head h3 {
  color: white;
  display: inline-block;
  padding: 4px 8px 8px;
}
.qmatic-floating-wrapper .qmatic-side-head img {
  cursor: pointer;
  float: right;
  width: 25px;
  margin: 10px;
}
.qmatic-floating-wrapper .qmatic-side-body {
  height: 100%;
  width: inherit;
  overflow: auto;
}

.qmatic-floating-wrapper .qmatic-side-body h3 {
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
}

.qmatic-floating-wrapper .side-text {
  position: fixed;
  bottom: 0;
  height: 45px;
  width: inherit;
}

/* Floating table display (side)*/
.qmatic-floating-table-wrapper  .slide h3 {
  color: white;
  max-width: 300px;
  text-align: center;
}

.qmatic-floating-table-wrapper .button {
  position: fixed;
  right: 0;
  top: 270px;
  float: right;
  background: url(../img/assets_images_dark_grey_texture.png);
  padding: 16px;
  display: block;
  width: 60px;
  border-radius: 15px 0 0 15px;
  overflow: hidden;
  z-index: 10;
  color: #fff;
}
.qmatic-floating-table-wrapper .slide {
  padding: 4px 15px 12px 15px;
  position: fixed;
  float: right;
  right: 0;
  top: 270px;
  width: 370px;
  background: url(../img/assets_images_dark_grey_texture.png);
  text-align: left;
  font-size: 15px;
  overflow: hidden;
  z-index: 9;
  white-space: nowrap;
  border-radius: 15px 0 0 15px;
}

.qmatic-floating-table-wrapper .button i {
  color: #fff;
}

.qmatic-floating-table-wrapper .qmatic-wrapper-table .table {
  width: 300px;
  max-width: 100%;
  margin-bottom: 5px;
  color: black;
}

.qmatic-floating-table-wrapper .qmatic-wrapper-table table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 20px;
  background-color: transparent;
  font-size: smaller;
  white-space: normal;
}

.qmatic-floating-table-wrapper .published-floating {
  font-size: 12px;
  padding: 8px 0 8px 0;
  max-width: 200px;
  min-width: 200px;
}

/* Floating display 2 + table (side) */
.qmatic-floating-wrapper  #qmatic-floating-btn,
.qmatic-floating-table-wrapper  #qmatic-floating-btn {
  color: #fff;
  fill: #fff;
}

/* Hide floating table on mobile */
@media (max-width: 768px) {
  .qmatic-floating-table-wrapper,
  .qmatic-floating-wrapper {
    display: none;
  }
}

/* Floating display 2 (side)*/
.qmatic-floating-wrapper .slide h3 {
  color: white;
  max-width: 200px;
  text-align: center;
}

.qmatic-floating-wrapper .button {
  position: fixed;
  right: 0;
  top: 270px;
  float: right;
  background: url(../img/assets_images_dark_grey_texture.png);
  padding: 16px;
  height: 60px;
  display: block;
  width: 60px;
  border-radius: 15px 0 0 15px;
  overflow: hidden;
  z-index: 10;
  color: #fff;
}
.qmatic-floating-wrapper .slide {
  padding: 4px 15px 4px 8px;
  position: fixed;
  float: right;
  right: 0;
  top: 270px;
  width: 270px;
  background: url(../img/assets_images_dark_grey_texture.png);
  color: #fff;
  text-align: left;
  font-size: 18px;
  overflow: hidden;
  z-index: 9;
  white-space: nowrap;
  border-radius: 15px 0 0 15px;
}

.qmatic-floating-wrapper .button i {
  color: #fff;
}

/* First display (square) */
.qmatic-wrapper {
  float: right;
}

.qmatic-wrapper #clockdiv,
.qmatic-floating-wrapper #clockdiv {
  font-family: sans-serif;
  color: #fff;
  display: inline-block;
  font-weight: 100;
  text-align: center;
  font-size: 20px;
  max-width: 200px;
}

.qmatic-wrapper #clockdiv > div,
.qmatic-floating-wrapper #clockdiv > div {
  padding: 10px;
  border-radius: 3px;
  display: inline-block;
  width: auto;
}

.qmatic-wrapper #clockdiv div > span,
.qmatic-floating-wrapper #clockdiv div > span {
  padding: 5px;
  border-radius: 3px;
  display: inline-block;
  min-width: 50px;
}

.qmatic-wrapper .clockdiv-green > div,
.qmatic-floating-wrapper .clockdiv-green > div {
  background: #00bf96;
}

.qmatic-wrapper .clockdiv-green div > span,
.qmatic-floating-wrapper .clockdiv-green div > span {
  background: #00816a;
}

.qmatic-wrapper .clockdiv-garnet > div,
.qmatic-floating-wrapper .clockdiv-garnet > div {
  background: #8f001a;
}

.qmatic-wrapper .clockdiv-garnet div > span,
.qmatic-floating-wrapper .clockdiv-garnet div > span {
  background: #c76969;
}

.qmatic-wrapper .smalltext,
.qmatic-floating-wrapper .smalltext {
  padding-top: 5px;
  font-size: 14px;
}

.qmatic-wrapper h3 {
  font-weight: 100;
  font-size: 25px;
  margin: 0 0 10px;
}

.qmatic-wrapper-table h3,
.qmatic-floating-wrapper h3 {
  font-weight: 100;
  font-size: 18px;
  margin: 3px 0 10px;
}

.qmatic-floating-wrapper .published-floating {
  font-size: 12px;
  padding: 8px;
  max-width: 200px;
  min-width: 200px;
}

/* Example 3 (table)*/
.qmatic-wrapper-table .table-bordered {
  border: 1px solid #ddd;
}

.qmatic-wrapper-table .table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 5px;
  color: black;
  margin-top: 10px;
}

.qmatic-wrapper-table table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 20px;
  background-color: transparent;
  white-space: normal;
}

.qmatic-wrapper-table thead {
  display: table-header-group;
  vertical-align: middle;
  border-color: inherit;
}

.qmatic-wrapper-table tr:nth-of-type(odd) {
  background: #f3f3f3;
}

.qmatic-wrapper-table .table>caption+thead>tr:first-child>th,
.qmatic-wrapper-table .table>colgroup+thead>tr:first-child>th,
.qmatic-wrapper-table .table>thead:first-child>tr:first-child>th,
.qmatic-wrapper-table .table>caption+thead>tr:first-child>td,
.qmatic-wrapper-table .table>colgroup+thead>tr:first-child>td,
.qmatic-wrapper-table .table>thead:first-child>tr:first-child>td {
  border-top: 0;
}

.qmatic-wrapper-table .table-bordered>thead>tr>th,
.qmatic-wrapper-table .table-bordered>thead>tr>td {
  border-bottom-width: 2px;
}

.qmatic-wrapper-table .table-bordered>thead>tr>th,
.qmatic-wrapper-table .table-bordered>tbody>tr>th,
.qmatic-wrapper-table .table-bordered>tfoot>tr>th,
.qmatic-wrapper-table .table-bordered>thead>tr>td,
.qmatic-wrapper-table .table-bordered>tbody>tr>td,
.qmatic-wrapper-table .table-bordered>tfoot>tr>td {
  border: 1px solid #ddd;
}

.qmatic-wrapper-table .table>thead>tr>th {
  vertical-align: bottom;
}

.qmatic-wrapper-table .table>thead>tr>th,
.qmatic-wrapper-table .table>tbody>tr>th,
.qmatic-wrapper-table .table>tfoot>tr>th,
.qmatic-wrapper-table .table>thead>tr>td,
.qmatic-wrapper-table .table>tbody>tr>td,
.qmatic-wrapper-table .table>tfoot>tr>td {
  padding: 8px;
  line-height: 1.42857143;
}

.qmatic-wrapper-table thead tr th {
  background: #555555 !important;
  color: #ffffff;
}

.qmatic-wrapper-table th {
  text-align: left;
}

.qmatic-wrapper-table .mycenter {
  text-align: center;
}

.qmatic-wrapper-table tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}

.qmatic-wrapper-table tr:nth-of-type(odd) {
  background: #f3f3f3;
}

.qmatic-wrapper-table .title-color,
.qmatic-wrapper .title-color {
  font-size: 1.125rem;
  font-weight: normal;
  color: #2f2f2f;
  margin: 11px 0;
}

.qmatic-wrapper-table .wait-time-full-floating {
  display: contents;
  color: white;
}

.qmatic-wrapper-table .wait-time-full {
  display: contents;
}

.qmatic-wrapper-table .wait-time-block {
  margin-top: 15px;
  float: right;
  margin-left: 10px;
}

/* Remove h3 */
.qmatic-wrapper-table .wait-time-full h3,
.qmatic-wrapper-table .wait-time-block h3 {
  font-size: 1.125rem;
  font-weight: normal;
  color: #2f2f2f;
  margin: 11px 0;
}

/* Mobile view */
@media (max-width: 768px) {
  .qmatic-wrapper-table table.mobile-enabled thead,
  .qmatic-wrapper-table table.mobile-enabled tbody,
  .qmatic-wrapper-table table.mobile-enabled th,
  .qmatic-wrapper-table table.mobile-enabled td,
  .qmatic-wrapper-table table.mobile-enabled tr {
    display: block;
  }

  .qmatic-wrapper-table table.mobile-enabled td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    line-height: 1;
    padding-top: 15px;
    min-height: 25px;
    display: block;
  }

  .qmatic-wrapper-table table.mobile-enabled td:before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
  }

  .qmatic-wrapper-table table.mobile-enabled thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .qmatic-wrapper-table .wait-time-block {
    margin-bottom: 25px;
  }
}
