/*
 * Copyright 2019 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

h3 .small {
  font-size: 12px;
}
.btn {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  text-decoration: none;
  cursor: pointer;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  margin: 10px;
}
.blue {
  background: #007bff;
  color: white;
}
.white {
  color: #666;
  border: 1px solid #bbb;
}
.white:hover {
  color: #333;
  border: 1px solid #888;
}
.black {
  color: #ddd;
  background: #222;
}
.black:hover {
  color: #fff;
  background: #000;
}
.red {
  color: #fff;
  background: #dc3545;
}
.red:hover {
  color: #fff;
  background: #c82333;
}
.box {
  margin: 20px 0 20px 0;
}
pre {
  border: 1px solid #888;
  background: #eee;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  font-size: 15px;
}
.cart-table tr:nth-child(even){
  background-color: #f2f2f2;
}
.cart-table tr:hover {
  background-color: #ddd;
}
.cart-table td, .cart-table th {
  border: 1px solid #ddd;
  padding: 8px;
}
.cart-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #777;
  color: white;
}
.browse {
  color: darkblue;
  background: #eff;
  padding-left: 3px;
  padding-right: 3px;
  border-radius: 4px;
  border: 1px solid #dee;
}
.browse:hover {
  cursor: pointer;
  background: #dee;
}
.revealed, .reveal-btn, .jwt-btn {
  display: none
}
.reveal-btn {
  color: darkblue;
  cursor: pointer;
}
.available > .reveal-empty {
  display: none
}
.available > .reveal-btn, .available > .jwt-btn {
  display: inline;
}
.available.reveal > .revealed {
  display: inline;
}
.error-info {
  margin: 10px 10px;
  padding: 5px 5px;
  border: 1px solid red;
  border-radius: 7px;
  background: #ffe0e0;
  color: red;
  position: fixed;
  top: 0px;
  width: calc(100% - 50px);
}
.error {
  margin: 5px 10px;
  padding: 5px 5px;
  border-bottom: 1px solid red;
  font-weight: bold;
}
.error-close {
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 2em;
  cursor: pointer;
  color: #666;
}
.error-desc, .error-hint {
  padding: 5px 5px;
}
.error-hint {
  color: black;
}
.hidden {
  display: none;
}
.jwt-btn {
  cursor: pointer;
  color: darkblue;
}

.width1-4 {
  width: 24%;
}
.half-width {
  width: 49%;
}
.full-width {
  width: 98%;
}
.width-40 {
  width: 40%;
}
.width-100px {
  width: 100px;
}
.float-left {
  float: left;
}
.more-btn {
  color: blue;
  cursor: pointer;
}
