/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body {
  padding-top: 55px;
}

.max-col {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.nopadding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.list-tab {
  display : block !important;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-link a {
  color: #495057 !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.navbar {
  padding: 0px 0px 0px 10px !important;
}

.navbar-menu-area {
  display: inline-block;
  padding-top: .4rem;
  padding-bottom: .4rem;
}

.navbar-menu-text {
  display: inline-block;
  padding-top: .3125rem;
  padding-bottom: .3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
  color: rgba(255,255,255,.9) !important;
}

.navbar-menu-text a {
  color: rgba(255,255,255,.9) !important;
}

.navbar-menu-footer-text {
  display: inline-block;
  padding-top: .3125rem;
  padding-bottom: .3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
  color: rgba(255,255,255,.9) !important;
}

.navbar-toggler {
  color: rgba(255,255,255,.9) !important;
  border-color: rgba(255,255,255,.4) !important;
}

.navbar-menu-btn {
  color: #212529;
  background-color: #FFF;
  border-color: #FFF;
  font-size: 1rem;
  font-weight: 400;
  padding: 0rem .75rem;
}

.text-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: inherit;
}

.text-body {
/*  text-indent: 1rem;*/
}

.list-menu {
  font-size: 1.25rem;
}

.list-menu-gray {
/*  color: #CCCCCC;*/
  opacity: 0.3;
}

.list-group-item {
  padding: .25rem 1.0rem !important;
  border: none !important;
}

.list-favicon {
  height: 1.25rem;
  width: 1.25rem;
  vertical-align: text-bottom !important;
  margin-right: .25rem !important;
}

.btn-black {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

.btn-black:hover {
  color: #888888;
}

.ellipsis-area {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 4em);
}

.text-body {
  word-break: break-all;
}

.category-move-favicon {
  height: 1.00rem;
  width: 1.00rem;
  vertical-align: text-bottom !important;
}

.category-move-zero-favicon {
  height: 0rem;
  width: 0rem;
  vertical-align: text-bottom !important;
}

.category-move-list-favicon {
  height: 0.875rem;
  width: 0.875rem;
  vertical-align: text-bottom !important;
}

.curtain {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  z-index: 10;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  margin:0;
  padding:0;
  color: rgba(0, 0, 0, 0.5);
  font-size: 400px;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.deleted-item {
  background-size: 10rem;
  background-image: url(/assets/images/trash.png);
  background-color: rgba(255,255,255,0.9);
  background-blend-mode: lighten;
}

/* 地図レイヤー  */

.master-container {
  position: relative;
  padding-bottom: 200px;
}

.base-container {
  position: absolute;
  opacity: 0.5;
  z-index: 0;
  gap: 0px;
  overflow: hidden;
}

.land-container {
  position: absolute;
  opacity: 1.0;
  z-index: 1000;
  gap: 0px;
}

.terrain-container {
  position: absolute;
  opacity: 1.0;
  z-index: 2000;
  gap: 0px;
}

.image-container {
  position: absolute;
  opacity: 1.0;
  z-index: 3000;
  gap: 0px;
  overflow: hidden;
}

.point-container {
  position: absolute;
  opacity: 1.0;
  z-index: 4000;
  gap: 0px;
/*pointer-events: none;*/
}

.text-container {
  position: absolute;
  opacity: 1.0;
  z-index: 5000;
  gap: 0px;
}

.grid-container {
  position: absolute;
  opacity: 1.0;
  z-index: 10000;
  gap: 0px;
}

.bases {
  position: absolute;
  top: 0px;
  left: 0px;
}

.images {
  position: absolute;
  top: 0px;
  left: 0px;
}

.texts {
  position: absolute;
  font-size: 20px;
  top: 0px;
  left: 0px;
  margin-top: -6px;
}

.icons {
  position: absolute;
  font-size: 14px;
  top: 0px;
  left: 0px;
}

/* 方眼紙 */

.grid-line {
  display: flex;
}

.grid {
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  gap: 0px;
}

.separator {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  gap: 0px;
}

.separator-right {
  border-right: 1px solid rgba(0, 0, 0, 0.4); 
}

.separator-left {
  border-left: 1px solid rgba(0, 0, 0, 0.4); 
}

.separator-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.4); 
}

.map-menu {
  z-index: 30000;
}

/* ナビ */

.nav-tabs .nav-link.active {
  font-weight: bold !important;
  background-color: #CCCCCC !important;
}

/* https://www.i-iro.com/dic/category/jpn */

/* 地形 */
.terrain-1 { /* 山岳 茶色：丁字茶 */
  background-color: #98613f;
}
.terrain-2 { /* 高原 茶色：江戸茶 */
  background-color: #cb9057;
}
.terrain-3 { /* 森林 緑色：浅緑 */
  background-color: #8bc782;
}
.terrain-4 { /* 草原 緑色：若葉色 */
  background-color: #b9d08b;
}
.terrain-5 { /* 湖沼 青色：新橋色 */
  background-color: #64bcc7;
}
.terrain-6 { /* 砂漠 茶色：芥子色 */
  background-color: #d2b74e;
}
.terrain-0 { /* 空白 */
  background-color: transparent;
}

/* 土地 */

.land-1 { /* 山地 茶色：伽羅色 */
  background-color: #e9b77d;
}
.land-2 { /* 丘陵 茶色：白茶 */
  background-color: #ecd3af;
}
.land-3 { /* 平地 茶色：薄香 */
  background-color: #f7e9c5;
}
.land-4 { /* 窪地 茶色：梅幸茶 */
  background-color: #b2953f;
}
.land-5 { /* 海 青色：勿忘草色 */
  background-color: #89c3eb;
}
.land-0 { /* 空白  */
  background-color: transparent;
}




.modal-point {
  z-index: 20000;
}

.modal-text {
  z-index: 20000;
}





/* 地点 */

/* ドットアイコンのコンテナ */
.map-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  z-index: 4000;
}

/* 「●」テキスト本体 */
.dot {
  width: 20px;
  height: 20px;
  background-color: tranceparent;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
}

/* カラー定義 */
.dot.c-red  { background-color: #ea4335; }
.dot.c-blue   { background-color: #4285f4; }
.dot.c-green  { background-color: #34a853; }
.dot.c-yellow { background-color: #fbbc05; }

/* 常時表示のタイトルラベル */
.point-title {
  position: absolute;
  top: -12px;
  padding: 0px 2px;
  color: #000000;
  opacity: 1.0;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
  z-index: 4000;
}

/* カラーピッカーの丸ボタン */
.c-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.c-dot.active {
  border-color: #333333;
}






/* テキスト */

/* テキストのコンテナ */
.map-text {
  position: absolute;
  height: 20px;
  display: flex;
  justify-content: left;
  align-items: left;
  user-select: none;
  z-index: 5000;
}

/* タイトルラベル */
.text-title {
  position: absolute;
  top: -5px;
  color: #000000;
  font-weight: 900;
  opacity: 1.0;
  -webkit-text-stroke: 0.5px #ffffff;
  text-stroke: 0.5px #ffffff;
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
  z-index: 5000;
}
