/*
  3DDB Viewer CSS.

  @file tdv.css
  @copyright Copyright 2022 National Institute of Advanced Industrial Science and Technology (AIST)
*/

@import url("./js/jquery-ui.min.css");
@import url("/3ddb_demo/js/Cesium/Build/Cesium/Widgets/widgets.css");

select {
  width: 200px;
}

.child {
  padding-left: 10px;
}

.panel {
  padding: 1px;
}

.btn {
  padding: 2px;
}

html {
  height: 100%;
}

body {
  background: #000;
  color: #eee;
  font-family: sans-serif;
  font-size: 9pt;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fullSize {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  width: 100%;
  height: 100%;
}

#loadingOverlay {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.9;
  width: 100%;
  height: 100%;
  display: block;
}

#loadingOverlay h1 {
  text-align: center;
  position: relative;
  top: 50%;
  margin-top: -0.5em;
}

.sandcastle-loading #loadingOverlay {
  display: block;
}

.cesium-widget-credits {
  bottom: 30px;
}

.cesium-timeline-icon16 {
  background-image: url("/3ddb_demo/js/Cesium/Build/Cesium/Widgets/Images/TimelineIcons.png");
}

.cesium-infoBox-bodyless .cesium-infoBox-title {
  color: orange;
}

/*
  For the mozilla (firefox).

  Addressing the problem of difficulty in visually observing the slider bar.
*/
input[type="range"]::-moz-range-progress {
  background-color: #0099FF;
}

/*
  For the mozilla (firefox).

  Addressing the problem of difficulty in visually observing the slider bar.
*/
input[type="range"]::-moz-range-track {
  background-color: #FFFFFF;
}

#_select {
  font-family: sans-serif;
  font-size: smaller;
}

#las_select {
  font-family: sans-serif;
  font-size: smaller;
}

.table {
  display: table;
}

.cell {
  display: table-cell;
  vertical-align: middle;
  font-size: xx-small;
}

.xcell {
  display: table-cell;
  vertical-align: middle;
  font-size: x-small;
}

.cell.box.icon {
  width: 16px;
  height: 16px;
  padding-left: 4px;
  padding-right: 4px;
}

.cell.name {
  cursor: pointer;
  width: 180px;
  max-width: 180px;
  margin-left: 12px;
  padding-left: 8px;
  padding-right: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: xx-small;
}

.cell.tdv-ml-dat-license {
  cursor: pointer;
  width: 180px;
  max-width: 180px;
  margin-left: 12px;
  padding-left: 8px;
  padding-right: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: xx-small;
}

.cell.tiledate {
  display: block;
  float: left;
  cursor: pointer;
  width: 80px;
  max-width: 80px;
  margin-left: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: xx-small;
}

.tooltip {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.tooltip p {
  margin: 0;
  padding: 0;
}

.description {
  display: none;
  position: absolute;
  padding: 2px;
  font-size: xx-small;
  line-height: 1.2em;
  color: #fff;
  border-radius: 5px;
  background: #000;
  width: 100px;
}

.description:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 95%;
  border: 1px solid transparent;
  border-top: 1px solid #000;
  margin-left: -15px;
  transform: rotateZ(90deg);
}

.tooltip:hover .description {
  display: inline-block;
  top: 0px;
  left: 100px;
}

.cell.date {
  width: 80px;
  max-width: 80px;
  padding-left: 8px;
  padding-right: 8px;
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: xx-small;
}

.header.cell.box {
  width: 15px;
  padding: 2px;
}

.header.cell.name {
  text-align: center;
}

.header.cell.date {
  text-align: center;
}

input[type="button"] {
  font-size: xx-small;
}

input[type="checkbox"].icon{
  position: fixed;
  clip: rect(0,0,0,0);
}

input[type="checkbox"].icon+label {
  display: inline-block;
  padding: .0em .0em;
  background-repeat: no-repeat;
  border: .0px solid rgba(0,0,0,.2);
  border-radius: .0em;
  box-shadow: 0 0px rgba(0,0,0,.2) inset;
  text-align: center;
  text-shadow: 0 1px 1px white;
  width: 16px;
  height: 16px;
}

input[type="checkbox"].icon:checked + label,
input[type="checkbox"].icon:active + label {
  box-shadow: .5em .5em 5em rgba(0,0,0,.6) inset;
  background-repeat: no-repeat;
  border-color: rgba(54,54,54,.3);
}

input[type="button"].icon {
  position: fixed;
  clip: rect(0,0,0,0);
}

input[type="button"].icon+label {
  display: inline-block;
  padding: .0em .0em;
  background-repeat: no-repeat;
  border: .0px solid rgba(0,0,0,.2);
  border-radius: .0em;
  box-shadow: 0 0px rgba(0,0,0,.2) inset;
  text-align: center;
  text-shadow: 0 1px 1px white;
  width: 16px;
  height: 16px;
}

input[type="button"].icon:checked + label,
input[type="button"].icon:active + label {
  box-shadow: .5em .5em 5em rgba(0,0,0,.6) inset;
  background-repeat: no-repeat;
  border-color: rgba(54,54,54,.3);
}

div.row {
  display: table;
}

div.panelshow {
  display: table;
  margin: 0px 0px 0px 5px;
}

input.check_value {
  display: table-cell;
  vertical-align: middle;
}

span.check_label {
  display: table-cell;
  vertical-align: middle;
  font-size: x-small;
  margin: 0px 0px 0px 5px;
}


span.group_title {
  margin: 0px 0px 0px 2px;
}

span.pos_label {
  padding: 0px 0px 0px 7px;
  display: table-cell;
  vertical-align: middle;
  width: 40px;
  font-size: xx-small;
}

input.range_output {
  padding: 0px 0px 0px 2px;
  margin: 0px 5px 0px 0px;
  display: table-cell;
  vertical-align: middle;
  width:50px;
  font-size: xx-small;
}

input.range {
  margin: 0px 5px 0px 5px;
  display: table-cell;
  vertical-align: middle;
  width: 120px;
}

.value_label {
  padding: 2px 4px 2px 8px;
  display: table-cell;
  vertical-align: middle;
  width: 48px;
  font-size: xx-small;
}

.value_box {
  display: table-cell;
  vertical-align: middle;
  margin: 0px 5px 0px 0px;
  font-size: x-small;
  width: 160px;
  padding: 1px;
}

input[type="radio"] {
  vertical-align: middle;
  width: 10px;
}

input[type="text"] {
  height: 10px;
  padding: 2px;
  font-size: x-small;
}

.date_input {
  width: 70px;
}

.date_label {
  font-size: x-small;
}

label.radio_ui {
  font-size: xx-small;
}

#detail {
  border: 1px solid #ccc;
}

.d_option {
  width: 100px;
}

.d_detail {
 margin: 0px 0px 0px 10px;
}

.tilesetview {
  display: block;
}

.index_btn {
  display: none;
}

input[type="radio"].index_btn:checked + label,
input[type="radio"].index_btn:active + label {
  color: #FF3333;
}

/*
  AIST copyright text.
*/

#tdv-label-copyright {
  margin-left: 5px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: small;
  font-weight: bold;
  background: rgba(0, 120, 120, 0.8);
  color: beige;
}

/*
  Legend.
*/

#tdv-legend-search {
  margin-left: 80%;
  color: rgba(235, 170, 20, 1.0);
}

#tdv-legend-display {
  margin-left: 80%;
  color: rgba(235, 170, 20, 1.0);
}

/*
  UI dialog.
*/

.ui-dialog .ui-dialog-titlebar {
  padding: 0;
}

.ui-widget-content {
  opacity: 0.80;
}

.tdv-dialog-no-titlebar {
  padding: 0;
}

.tdv-dialog-no-titlebar .ui-dialog-titlebar {
  background: none;
  border: none;
  height: 0;
  border-top: 8px solid #272;
  border-radius: 0;
  padding: 0;
}

.tdv-dialog-no-titlebar .ui-dialog-titlebar .ui-dialog-title {
  display: none;
}

.tdv-dialog-no-titlebar .ui-dialog-titlebar button {
  display: none;
}

.tdv-dialog-title {
  font-family: sans-serif;
  margin-left: 8px;
  font-weight: bolder;
  font-size: 105%;
  color: orange;
}

.tdv-label.tdv-label-warn {
  margin-left: 5px;
  font-size: small;
  color: yellow;
}

/*
  Lanscape and viewpoints share dialog.
*/

#tdv-share-dialog {
  background-color: rgb(20, 20, 20);
}

#tdv-share-ctrl {
  border: 0;
  padding: 0;
}

#tdv-share-hide-icon {
  background-image: url(./images/toolbar_on_off.png);
}

#tdv-share-close {
}

#tdv-share-close-icon {
  background-image: url(./images/escape.png);
}

.tdv-sh-dlg-close {
  margin-left: 212px;
}

#tdv-share-items {
  padding: 0;
  border: 0;
}

#tdv-share-url {
  overflow-wrap: anywhere;
}

#tdv-share-cclip {
  margin-top: 10px;
  margin-bottom: 5px;
  margin-left: 190px;
}

/*
  Model download dialog.
*/

#tdv-download-dialog {
  padding-top: 2px;
  padding-bottom: 4px;
  padding-left: 2px;
  padding-right: 2px;
  background-color: rgb(20, 20, 20);
}

#tdv-download-ctrl {
  border: 0;
  padding: 0;
}

#tdv-download-items {
  border: 0;
}

.tdv-download-exec {
  margin-top: 10px;
  margin-bottom: 5px;
  margin-left: 70%;
  width: 80px;
}

#tdv-download-hide-icon {
  background-image: url(./images/toolbar_on_off.png);
}

#tdv-download-close {
}

#tdv-download-close-icon {
  background-image: url(./images/escape.png);
}

#tdv-dl-dtype {
  font-family: sans-serif;
  font-size: smaller;
  font-weight: bold;
}

#tdv-dl-dver {
  font-family: sans-serif;
  font-size: smaller;
  font-weight: bold;
}

.tdv-dl-dlg-close {
  margin-left: 172px;
}

.tdv-label.tdv-download-hdr {
  display: block;
  float: left;
  width: 60px;
  color: rgba(235, 170, 20, 1.0);
}

.tdv-label.tdv-download-dat {
  overflow-wrap: anywhere;
}

/*
  Model detail dialog.
*/

#tdv-detail-dialog {
  padding-top: 2px;
  padding-bottom: 4px;
  padding-left: 2px;
  padding-right: 2px;
  background-color: rgb(20, 20, 20);
}

#tdv-detail-ctrl {
  border: 0;
  padding: 0;
}

#tdv-detail-items {
  border: 0;
  padding: 0;
  margin-top: 10px;
}

#tdv-detail-hide-icon {
  background-image: url(./images/toolbar_on_off.png);
}

#tdv-detail-close-icon {
  background-image: url(./images/escape.png);
}

.tdv-dt-dlg-close {
  margin-left: 340px;
}

.tdv-label.tdv-detail-hdr {
  display: block;
  float: left;
  width: 150px;
  color: rgba(235, 170, 20, 1.0);
}

.tdv-label.tdv-detail-dat {
  overflow-wrap: anywhere;
}

/*
  Model list dialog.
*/

#tdv-mlist-dialog {
  padding-top: 2px;
  padding-bottom: 8px;
  padding-left: 2px;
  padding-right: 2px;
  background-color: rgb(20, 20, 20);
}

#tdv-mlist-ctrl {
  border: 0;
  padding: 0;
}

#tdv-mlist-pidx {
  border: 0;
  padding: 0;
  margin-top: 4px;
}

#tdv-mlist-pidx-label {
  display: block;
  float: left;
  margin-top: 2px;
  margin-left: 5px;
  width: 35px;
  color: rgba(235, 170, 20, 1.0);
}

#tdv-mlist {
  border: 0;
  padding: 0;
  margin-top: 8px;
}

#tdv-mlist-hide-icon {
  background-image: url(./images/toolbar_on_off.png);
}

#tdv-mlist-close-icon {
  background-image: url(./images/escape.png);
}

.tdv-ml-dlg-close {
  margin-left: 440px;
}

#tdv-mlist-hdr-license {
  margin-left: 8px;
  max-width: 180px;
  width: 180px;
  font-size: xx-small;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.2);
}

.icon.tdv-ml-cplane-icon {
}

.cell.box.icon.tdv-ml-cplane-icon {
  background-image: url(./images/clipped.png);
}

.icon.tdv-ml-detail-icon {
  margin-left: 4px;
  margin-bottom: 4px;
}

.cell.box.icon.tdv-ml-detail-icon {
  margin-left: 4px;
  margin-bottom: 4px;
  background-image: url(./images/detail.png);
}

.icon.tdv-ml-jump-icon {
  margin-bottom: 4px;
}

.cell.box.icon.tdv-ml-jump-icon {
  margin-bottom: 4px;
  background-image: url(./images/jump.png);
}

.icon.tdv-ml-dl-icon {
  margin-bottom: 2px;
}

.cell.box.icon.tdv-ml-dl-icon {
  margin-bottom: 2px;
  background-image: url(./images/download.png);
}

/*
  Search dialog.
*/

#tdv-menu-hide {
}

#tdv-menu-hide-icon {
  background-image: url(./images/toolbar_on_off.png);
}

#tdv-help-exec {
  margin-left: 138px;
}

.tdv-legend {
  font-family: sans-serif;
  font-size: smaller;
  font-weight: bold;
  color: rgb(200, 200, 200);
}

.tdv-label {
  font-family: sans-serif;
  font-size: smaller;
  font-weight: bold;
  color: rgba(250, 255, 255, 0.9);
}

.tdv-text {
  font-family: sans-serif;
  font-size: smaller;
  font-weight: bold;
}

#tdv-search-dialog {
  padding-top: 2px;
  padding-bottom: 4px;
  padding-left: 2px;
  padding-right: 2px;
  background-color: rgb(20, 20, 20);
}

#tdv-menu-ctrl {
  border: 0;
  padding: 0;
}

#tdv-search-items {
  margin-top: 5px;
  margin-bottom: 5px;
}

#tdv-display-items {
  margin-top: 5px;
  margin-bottom: 5px;
}

#tdv-sitem-title {
  margin-bottom: 4px;
  width: 160px;
}

#tdv-sitem-mtype {
  font-family: sans-serif;
  font-size: smaller;
  font-weight: bold;
  margin-bottom: 4px;
  width: 168px;
  height: 20px;
}

#tdv-sitem-sdate {
  margin-bottom: 6px;
}

#tdv-sitem-edate {
  margin-left: 12px;
}

#tdv-sitem-pubdat-onoff {
  margin-left: 0px;
  vertical-align: middle;
}

#tdv-sitem-lbl-pubdat {
  color: rgba(235, 170, 20, 1.0);
}

#tdv-sitem-bbox-onoff {
  margin-left: 0px;
  vertical-align: middle;
}

#tdv-sitem-lbl-bbox {
  color: rgba(235, 170, 20, 1.0);
}

#tdv-sitem-bbox-lbl-pos {
  color: rgba(235, 170, 20, 1.0);
}

#tdv-sitem-bbox-lbl-scl {
  color: rgba(235, 170, 20, 1.0);
}

#tdv-sitem-bbox-lbl-plon {
}

#tdv-sitem-bbox-plon {
  margin-bottom: 4px;
  width: 160px;
}

#tdv-sitem-bbox-lbl-plat {
}

#tdv-sitem-bbox-plat {
  margin-bottom: 4px;
  width: 160px;
}

#tdv-sitem-bbox-lbl-phgt {
}

#tdv-sitem-bbox-phgt {
  margin-bottom: 4px;
  width: 160px;
}

#tdv-sitem-bbox-lbl-rot {
}

#tdv-sitem-bbox-rot {
  margin-bottom: 4px;
  background: none;
}

#tdv-sitem-bbox-rotv {
}

#tdv-sitem-bbox-pcenter {
  margin-bottom: 8px;
}

#tdv-sitem-bbox-lbl-slon {
}

#tdv-sitem-bbox-slon {
  margin-bottom: 4px;
  background: none;
}

#tdv-sitem-bbox-slonv {
}

#tdv-sitem-bbox-lbl-slat {
}

#tdv-sitem-bbox-slat {
  margin-bottom: 4px;
  background: none;
}

#tdv-sitem-bbox-slatv {
}

#tdv-sitem-bbox-lbl-shgt {
}

#tdv-sitem-bbox-shgt {
  margin-bottom: 8px;
  background: none;
}

#tdv-sitem-bbox-shgtv {
}

#tdv-search-exec {
  margin-top: 10px;
  margin-bottom: 5px;
  margin-left: 70%;
  width: 80px;
}

#tdv-ditem-footp {
  margin-left: 0px;
  vertical-align: middle;
  margin-bottom: 4px;
}

#tdv-ditem-lbl-footp {
  color: rgba(235, 170, 20, 1.0);
}

#tdv-ditem-psz {
  margin-bottom: 8px;
  background: none;
}

#tdv-ditem-pszv {
}

#tdv-share-exec {
  margin-top: 10px;
  margin-bottom: 5px;
  margin-left: 70%;
  width: 80px;
}

.tdv-label.tdv-lbl-menu-l1 {
  display: block;
  float: left;
  width: 80px;
  color: rgba(235, 170, 20, 1.0);
}

.tdv-label.tdv-lbl-menu-l2 {
  display: block;
  float: left;
  margin-left: 10px;
  width: 70px;
  color: rgba(235, 170, 20, 1.0);
}

.tdv-wms-layer-ddown {
  display: block;
  position: absolute;
  box-sizing: content-box;
  top: auto;
  right: 0;
  width: 320px;
  max-height: 472px;
  margin-top: 5px;
  background-color: rgba(38, 38, 38, 0.75);
  border: 1px solid #444;
  padding: 6px;
  overflow: auto;
  border-radius: 10px;
}

.tdv-wms-control-area {
  display: block;
  border: 1px solid #888;
  border-radius: 5px;
  padding: 5px 0;
  margin-top: 10px;
  margin-bottom: 5px;
}

.tdv-wms-menu-row {
  margin-top: 0px;
  margin-bottom: 2px;
  margin-left: 4px;
  margin-right: 4px;
}

.tdv-label.tdv-wms-item-hdr {
  display: block;
  width: 45%;
  margin-top: 4px;
  float: left;
  font-size: small;
  font-weight: normal;
  color: rgba(235, 170, 20, 1.0);
}

#tdv-wms-finfo {
  max-height: 432px;
  height: auto;
  overflow: auto;
  font-family: sans-serif;
  font-size: small;
}

#tdv-wms-finfo a:link {
  color: gold;
  text-decoration: none;
}

#tdv-wms-finfo a:visited {
  color: goldenrod;
  text-decoration: none;
}

#tdv-wms-finfo a:hover {
  color: palegreen;
  text-decoration: none;
}

#tdv-wms-finfo a:active {
  color: springgreen;
  text-decoration: none;
}

#tdv-wms-finfo table {
  padding-left: 1%;
  padding-right: 1%;
  padding-top: 1%;
  padding-bottom: 1%;
  border-style: none;
  width: 100%;
}

#tdv-wms-finfo th {
  width: 20%;
  border-bottom-width: thin;
  border-left-width: 0;
  border-right-width: 0;
  border-top-width: 0;
  color: orange;
  border-bottom-color: green;
}

#tdv-wms-finfo td {
  border-bottom-width: thin;
  border-left-width: 0;
  border-right-width: 0;
  border-top-width: 0;
  border-bottom-color: green;
}

#tdv-wmslayer-menu .cesium-baseLayerPicker-sectionTitle {
  font-size: small;
  color: rgba(235, 170, 20, 1.0);
}

#tdv-btn-ctrlwms {
  font-family: sans-serif;
  font-size: x-small;
}

#tdv-sitem-ctrlwms-layer {
  width: 40%;
  margin-left: 2px;
  font-family: sans-serif;
  font-size: x-small;
  font-weight: bold;
}

#tdv-sld-ctrlwms-opacity {
  margin-top: 2px;
  background-color: rgba(81, 81, 81, 0.0);
}

#tdv-wms-opacity-value {
  color: rgba(235, 170, 20, 1.0);
}

/* underground */
#tdv-ditem-underground {
  margin-left: 0px;
  vertical-align: middle;
  margin-bottom: 4px;
}

#tdv-ditem-lbl-underground {
  color: rgba(235, 170, 20, 1.0);
}

#tdv-ditem-translucency {
  margin-left: 0px;
  vertical-align: middle;
  margin-bottom: 4px;
}

#tdv-ditem-lbl-translucency {
  color: rgba(235, 170, 20, 1.0);
}
/* vim:set ts=2 sw=2 expandtab: */
