.tri-right {
   display: inline-block;
   width: 0;
   height: 0;
   vertical-align: middle;
   border-top: 4px solid transparent;
   border-bottom: 4px solid transparent;
   border-right: 0px;
   border-left: 4px dashed;
   margin-right: 4px;
}
.tri-down {
   display: inline-block;
   width: 0;
   height: 0;
   vertical-align: middle;
   border-top: 4px dashed;
   border-bottom: 0px;
   border-right: 4px solid transparent;
   border-left: 4px solid transparent;
}
.gem-stock-list-group .list-group-item,
.unit-storage .storage-header{
   padding-top: 4px;
   padding-bottom: 4px;
}
.gem-stock-list-group .list-group-item:hover,
.unit-storage .storage-header:hover,
.unit-storage .storage-list .list-group-item:hover{
   background-color: #eee;
}
.gem-stock-list-group .subtype-padding {
   padding-left: 10px;
   padding-right: 0px;
   padding-top: 0px;
   padding-bottom: 0px;
}
.gem-count {
   position: absolute;
   right: 0px;
   color: #fff;
   background-color: #777;
   border-radius: 10px;
   font-weight: 700;
   text-align: center;
   vertical-align: middle;
   width: 50px;
}
.gem-text {
   display: inline-block;
   width: 80%;
   padding-left: 4px;
}
.subtype-padding .list-group {
   margin-bottom: 0px;
}
.submember-container {
   padding: 2px;
   margin-bottom: 5px;
}
.submember-container .form-group {
   margin: 0px;
}
.submember-container .control-label {
   padding-left: 0px;
   padding-right: 0px;
}
.submember-container .btn {
   margin-top: 0px;
}
.submember-container input.form-control {
   padding-left: 2px;
   padding-right: 2px;
}
.submember-container .form-horizontal {
   width: 50%;
}
.submember-container table {
   width: 100%;
}
.unit-storage .storage-text {
   padding-left: 4px;
}
.unit-storage .storage-body {
   padding-left: 0px;
   padding-right: 0px;
   padding-top: 0px;
   padding-bottom: 0px;
}
.unit-storage .storage-list {
   overflow-y: auto;
   max-height: 400px;
   margin-bottom: 0px;
}
.unit-storage .storage-list .list-group-item {
   padding-left: 0px;
   padding-right: 4px;
   padding-top: 0px;
   padding-bottom: 0px;
}
.unit-storage .storage-list .storage-text {
   padding-top: 4px;
   padding-bottom: 4px;
}
.unit-storage .storage-list .btn-group .btn {
   padding-left: 2px;
   padding-right: 2px;
   padding-top: 4px;
   padding-bottom: 4px;
}
.unit-storage .storage-list .badge {
   margin-top: 4px;
}
span.lltooltip {
   border-bottom: 1px dotted black;
}
.lltooltip .tooltiptext {
   visibility: hidden;
   background-color: black;
   color: white;
   text-align: center;
   border-radius: 6px;
   padding: 5px;
   position: absolute;
   z-index: 1;
   margin-top: 2em;
}
.lltooltip .tooltiptext.pop-left {
   right: 0px;
}
.lltooltip:hover .tooltiptext {
   visibility: visible;
}
.llsup {
   vertical-align: super;
   font-size: x-small;
}
.team-table {
   overflow-x: auto;
}
.team-table .form-control {
   padding: 0;
   height: auto;
   color: inherit;
   display: inline;
}
.team-table >tbody >tr >th {
   min-width: 7em;
   vertical-align: middle;
}
.team-table .btn {
   padding: 4px 8px;
}
.team-table .gem-list {
   font-size: small;
}
.team-table .gem-list .gem-dot, .team-table .gem-list .gem-square {
   line-height: 8px;
   display: block;
}
.team-table .gem-list .gem-dot div, .team-table .gem-list .gem-square div {
   width: 6px;
   height: 6px;
   background-color: black;
   display: inline-block;
   margin-right: 1px;
}
.team-table .gem-list .gem-dot div {
   border-radius: 3px;
}
.team-table .gem-list .btn {
   padding: 2px 4px;
   width: 66px;
   text-align: center;
   overflow: clip;
   border-radius: 12px;
   white-space: normal;
}
.no-padding {
   padding: 0;
   height: auto;
}
.small-padding {
   padding: 2px 6px;
   height: auto;
}
input.num-size-4, input.form-control.num-size-4 {
   width: 70px;
}
input.num-size-3, input.form-control.num-size-3 {
   width: 60px;
}
input.num-size-2, input.form-control.num-size-2 {
   width: 50px;
}
input.num-size-1, input.form-control.num-size-1 {
   width: 40px;
}
img.avatar {
   width: 65px;
   height: 65px;
   display: inline-block;
   overflow: hidden;
}
.filter-form select.form-control, .filter-form input.form-control {
   margin-bottom: 2px;
   margin-right: 2px;
}
.filter-form.label-size-9 label {
   width: 120px;
}
.filter-form.label-size-6 label {
   width: 90px;
}
.filter-form.label-size-12 label {
   width: 150px;
}
.filter-form.label-size-3 label {
   width: 60px;
}
.filter-form.label-margin-1 label {
   margin-right: 4px;
}
table.gem-series tr.focused {
   border: 3px solid black;
}
.accessory-base {
   background-image: url('/static/accessory_frame/accessory_base.png');
}
.accessory-N {
   background-image: url('/static/accessory_frame/frame_n.png');
}
.accessory-R {
   background-image: url('/static/accessory_frame/frame_r.png');
}
.accessory-SR {
   background-image: url('/static/accessory_frame/frame_sr.png');
}
.accessory-SSR {
   background-image: url('/static/accessory_frame/frame_ssr.png');
}
.accessory-UR {
   background-image: url('/static/accessory_frame/frame_ur_common.png');
}
.accessory-UR.accessory-special {
   background-image: url('/static/accessory_frame/frame_ur_special.png');
}
.accessory-base, .accessory-N, .accessory-R, .accessory-SR, .accessory-SSR, .accessory-UR {
   background-size: contain;
}
.accessory-N >img, .accessory-R >img, .accessory-SR >img, .accessory-SSR >img, .accessory-UR >img {
   width: 66%;
   height: 66%;
   left: 16%;
   top: 16%;
   position: relative;
}
.card-table {
   margin-top: 6px;
   border: 1px solid #ddd;
}
.card-table >table {
   border-top: 1px solid #ddd;
   border-bottom: 1px solid #ddd;
}
.card-table div.btn-toolbar {
   background-color: #eee;
   margin: 0px;
   padding-top: 2px;
   padding-bottom: 2px;
}
.card-table div.btn-toolbar div.btn-group:last-child {
   margin-top: 6px;
   margin-right: 6px;
   float: right;
}
.card-table .pagination {
   margin-top: 0px;
   margin-left: 10px;
}
.card-table .card-id {
   font-weight: bold;
   text-align: center;
}
.dialog-overlay {
   position: fixed;
   top: 0px;
   left: 0px;
   height: 100%;
   width: 100%;
   opacity: 1;
   background-color: rgba(255, 255, 255, 0.75);
}
.dialog-main {
   position: fixed;
   top: 50%;
   left: 50%;
   min-width: 120px;
   min-height: 60px;
   max-width: 90vw;
   transform: translate(-50%, -50%);
   border-radius: 18px;
   box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.5);
   background-color: #fff;
   padding: 10px;
   border: 1px solid #bbb;
   outline: 1px solid #fff;
}
.dialog-close-button {
   width: 30px;
   height: 30px;
   cursor: pointer;
   position: absolute;
   top: 0px;
   right: 0px;
   background-image: url('/static/closebutton.png');
   background-size: contain;
}
.lltooltip .dialog-close-button {
   visibility: hidden;
}
.lltooltip:hover .dialog-close-button {
   visibility: visible;
}
.dialog-title-section {
   text-align: center;
   padding-right: 20px;
   margin-bottom: 12px;
   font-weight: bold;
   width: 100%;
}
.dialog-bottom-section {
   text-align: center;
   margin-top: 12px;
}
