.width-1 {
  width: 1rem !important;
}

.width-2 {
  width: 2rem !important;
}

.width-3 {
  width: 3rem !important;
}

.width-4 {
  width: 4rem !important;
}

.width-5 {
  width: 5rem !important;
}

.width-6 {
  width: 6rem !important;
}

.width-7 {
  width: 7rem !important;
}

.width-8 {
  width: 8rem !important;
}

.width-9 {
  width: 9rem !important;
}

.width-10 {
  width: 10rem !important;
}

.width-12 {
  width: 12rem !important;
}

.width-160px {
  width: 160px !important;
}

body {
  padding-top: 54px;
  padding-bottom: 2.5rem;
}

a {
  color: #003399;
}

a:hover {
  font-weight: bold;
}

.navbar.header,
.navbar.header .navbar-brand {
  height: 54px;
  background-color: #deebf7 !important;
}

.navbar-light .navbar-toggler {
  border-color: rgba(0, 0, 0, 0);
}

.system-name {
  color: white;
  font-family: 'Anton', sans-serif;
  text-shadow: 3px 3px 5px black;
}

.system-name:not(.login) {
  background: linear-gradient(90deg, #003399 25%, #4472c4 65%, #deebf7);
}

.system-name span {
  color: #ffffff;
}

#navbar-items .nav-link {
  color: #000000;
  padding-bottom: 0;
}

li.nav-icon {
  height: 54px;
}

li.nav-icon.active,
li.nav-icon:hover {
  background-color: #add8e6;
}

li.nav-icon a {
  color: black;
  margin-top: auto;
  padding-top: 0.3rem;
  width: 4.0rem;
  display: block;
}

li.nav-icon .nav-icon-text {
  color: black;
  font-size: 0.75rem;
  margin-top: -0.2rem;
}

li.nav-icon.active .nav-icon-text,
li.nav-icon:hover .nav-icon-text {
  font-weight: bold;
  color: #003399;
}

img.nav-icon {
  width: 32px;
  height: 32px;
}

#navbarContent {
  background-color: #deebf7;
}

#navbarContent .nav-link {
  padding-bottom: 0;
}

.navbar-collapse {
  overflow-y: auto;
  max-height: 380px;
}

li.nav-icon.works.active img.nav-icon,
li.nav-icon.works:hover img.nav-icon {
  content: url("../images/works-active.png");
}

li.nav-icon.action-statuses.active img.nav-icon,
li.nav-icon.action-statuses:hover img.nav-icon {
  content: url("../images/action_statuses-active.png");
}

li.nav-icon.removers.active img.nav-icon,
li.nav-icon.removers:hover img.nav-icon {
  content: url("../images/removers-active.png");
}

li.nav-icon.notifications.active img.nav-icon,
li.nav-icon.notifications:hover img.nav-icon {
  content: url("../images/notifications-active.png");
}

li.nav-icon.exports.active img.nav-icon,
li.nav-icon.exports:hover img.nav-icon {
  content: url("../images/exports-active.png");
}

li.nav-icon.settings.active img.nav-icon,
li.nav-icon.settings:hover img.nav-icon {
  content: url("../images/settings-active.png");
}

li.nav-icon.others.active img.nav-icon,
li.nav-icon.others:hover img.nav-icon {
  content: url("../images/others-active.png");
}

span.greeting {
  text-align: right;
  padding-right: 1.0rem;
  font-size: 0.75rem;
}

span.username {
  color: #003399;
}

.footer {
  background-color: #deebf7;
  height: 2.0rem;
}

ol.breadcrumb {
  padding: 0.3rem 1rem 0.3rem 1rem;
  margin-bottom: 0.3rem;
}

li.breadcrumb-item {
  font-size: 0.75rem;
}

.col.title {
  padding-left: 0;
  padding-right: 0;
}

.col.title h1 {
  font-weight: bold;
  padding-top: 0.4rem;
  padding-bottom: 0.2rem;
  padding-left: 0.4rem;
  margin-top: 0.2rem;
  color: #003399;
  background-color: #deebf7;
  border-left: solid 8px #003399;
}

.col.title h2 {
  color: #003399;
  font-weight: bold;
  border-bottom: 1px solid #003399;
  margin-left: 15px;
  margin-right: 15px;
}

.col.title h2:before {
  font-family: "Font Awesome 5 Free";
  margin-right: 0.2rem;
}

.col.title.search h2:before {
  content: "\f002";
}

.col.title.info h2:before {
  content: "\f05a";
}

.col.title.edit h2:before {
  content: "\f044";
}

.col.title.create h2:before {
  content: "\f0fe";
  font-size: 1.1rem;
}

.col.title.link h2:before {
  content: "\f0c1";
}

.col.title.system h2:before {
  content: "\f108";
}

.col.title.excel h2:before {
  content: "\f1c3";
}

.col.title.lock h2:before {
  content: "\f023";
}

.col.title.human h2:before {
  content: "\f2bd";
}

.col.title.map-marked h2:before {
  content: "\f5a0";
}

.col.title.list h2:before {
  content: "\f00b";
}

.col.title.remover h2:before {
  content: "\f7d2";
}

.col.title.notification h2:before {
  content: "\f071";
}

.col.title.mobile h2:before {
  content: "\f3cd";
  font-size: 1.1rem;
}

.col.title.calculator h2:before {
  content: "\f1ec";
}

.col.title.download h2:before {
  content: "\f019";
}

.col.title.snow h2:before {
  content: "\f7d0";
}

.col.title.map h2:before {
  content: "\f5a0";
}

.col.title.setting h2:before {
  content: "\f1de";
}

.col.title.configuration h2:before {
  content: "\f7d9";
}

.col.title.export h2:before {
  content: "\f019";
}

.col.title.clipboard h2:before {
  content: "\f328";
}

.col.title.book h2:before {
  content: "\f02d";
}

.col.title.movie h2:before {
  content: "\f1c8";
}

.col.title.route h2:before {
  content: "\f4d7";
}

.col.title.road h2:before {
  content: "\f018";
}

.col.title.pause-circle h2:before {
  content: "\f28b";
}

.col.title.stopwatch h2:before {
  content: "\f2f2";
}

.col.title.images h2:before {
  content: "\f302";
}

.col.title.mobile h2:before {
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  content: "\f3cd";
}

div.map:not(.title) {
  border: 1px solid #ccc;
  position: relative;
}

.thumbnail-container {
  line-height: 0;
  float: left;
  margin: 0.2rem;
}

.thumbnail-container img {
  position: relative;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
}

.ol-popup .card {
  border: none;
  margin-top: 0.5rem;
}

.ol-popup .card-body {
  padding: 0.5rem 0 0 0;
}

.ol-popup .card-body .card-title,
.ol-popup .card-body .card-subtitle,
.ol-popup .card-body .card-text {
  margin-top: 0;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

.thumbnail-container {
  width: 300px;
  height: 225px;
}

.row.attribute {
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 0.5rem;
}

.row.attribute .col.label,
.row.attribute [class*=col-].label,
.row.attribute .col.value,
.row.attribute [class*=col-].value {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.row.attribute .form-group {
  margin-bottom: 0;
}

.row.attribute .col.label,
.row.attribute [class*=col-].label {
  text-align: right;
  color: #003399;
  background-color: #deebf7;
  font-weight: bold;
}

.row.attribute label {
  margin-bottom: 0;
}

.datetimepicker .input-group-text,
.datepicker .input-group-text {
  background-color: #deebf7;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input[type=checkbox],
input[type=radio] {
  display: none; /* 要素を非表示 */
}

label.form-check-label {
  position: relative; /* ボックスの位置 */
  padding: 0 0 0 1.0rem; /* ボックス内側の余白 */
  margin-top: 0 !important;
  color: #000000 !important;
}

label.form-check-label:hover:after {
  border-color: #003399; /* ボックスの境界線 */
}

label.form-check-label:before,
label.form-check-label:after {
  position: absolute; /* ボックスの位置 */
  content: ""; /* ボックスのコンテンツ */
  display: block; /* ブロック要素化 */
  top: 50%; /* 上部から配置の基準位置 */
}

label.form-check-label.checkbox:after {
  margin-left: -1.5rem; /* チェック枠の左の位置 */
  margin-top: -0.6rem; /* チェック枠の上の位置 */
  width: 1rem; /* ボックスの横幅 */
  height: 1rem; /* ボックスの高さ */
  border: 1px solid #ccc; /* ボックスの境界線 */
  border-radius: 3px; /* ボックスの角丸 */
}

label.form-check-label.checkbox:before {
  left: -0.2rem; /* 左から配置の基準位置 */
  margin-top: -0.55rem; /* チェックマークの位置 */
  width: 0.4rem; /* ボックスの横幅 */
  height: 0.8rem; /* ボックスの高さ */
  border-right: 3px solid #003399; /* 右端の境界線 */
  border-bottom: 3px solid #003399; /* 下端の境界線 */
  transform: rotate(45deg); /* 要素を回転 */
  opacity: 0; /* 要素を透過 */
}

label.form-check-label.radio:after {
  margin-left: -1.5rem; /* ラジオ枠の左の位置 */
  margin-top: -0.7rem; /* ラジオ枠の上の位置 */
  width: 1.2rem; /* ボックスの横幅 */
  height: 1.2em; /* ボックスの高さ */
  border: 1px solid #ccc; /* ボックスの境界線 */
  border-radius: 50%; /* 50%に設定して円を描画 */
}

label.form-check-label.radio:before {
  left: -0.25rem; /* 左から配置の基準位置 */
  margin-top: -0.5rem; /* ラジオマークの位置 */
  width: 0.7rem; /* ボックスの横幅 */
  height: 0.7rem; /* ボックスの高さ */
  background-color: #003399; /* ラジオマークの色 */
  border-radius: 50%; /* 50%に設定して円を描画 */
  opacity: 0; /* 要素を非表示 */
}

a.right-link {
  margin-left: 0.6rem;
  font-size: 0.85rem;
  font-weight: normal;
}

input[type=checkbox]:checked + label.form-check-label.checkbox:before,
input[type=radio]:checked + label.form-check-label.radio:before {
  opacity: 1; /* 要素を表示 */
}

.card-header {
  color: #003399;
  font-weight: bold;
  background-color: #deebf7;
}

.card.thumbnail {
  width: 310px;
  margin-bottom: 0.4rem;
  margin-right: 0.4rem;
}

.tooltip-inner {
  text-align: left;
  color: white;
  background-color: #003399;
}

.description {
  font-size: 0.75rem;
  margin-top: auto;
  font-weight: normal;
}

img.location-indicator {
  position: absolute;
  margin-top: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  vertical-align: middle;
}

.show-current-location {
  position: absolute;
  bottom: 1.0rem;
  right: 1.0rem;
}

table thead.thead {
  color: #003399;
  font-weight: bold;
  background-color: #deebf7;
}

.table thead th {
  border-bottom: 1px solid #dee2e6;
}

.table tr {
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
}

.table th,
.table td {
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

.page-link:hover {
  font-weight: normal;
  background-color: #deebf7;
}

td i.fas.fa-edit {
  font-size: 1rem;
}

.popup-content .container-fluid {
  padding-right: 0;
  padding-left: 0;
}

.popup-content .row.attribute {
  padding-left: 9px;
  padding-right: 9px;
  margin-bottom: .3rem;
}

.accordion.map-legend {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  z-index: 99;
}

.accordion.map-legend.notification {
  width: 200px;
}

.accordion.map-legend.dispatched-remover {
  width: 220px;
}

.accordion.map-legend .card {
  background-color: transparent;
}

.accordion.map-legend .card-header {
  padding: 0.2rem 0.5rem;
  background-color: rgba(222, 235, 247, 0.9);
}

.accordion.map-legend .card-body {
  padding: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

#map {
  height: 520px;
  border: solid 1px #d3d3de;
}

#non_track_message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  border: solid 1px #d3d3de;
  border-radius: 6px;
  text-align: center;
}

#track_panel {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background-color: rgba(255, 255, 255, 0.9);
  width: 260px;
  visibility: hidden;
  font-size: 0.8rem;
  z-index: 99;
}

.accordion.map-legend.work-track {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 180px;
}

td.track_property {
  padding: 0.25rem 0.25rem 0.25rem 1rem;
}

ul.handouts {
  list-style: none;
  padding-left: 0;
}

ul.handouts li:before {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f054";
  color: #003399;
  margin-right: 0.3rem;
}

span.number-of-removers {
  margin-left: 0.5rem;
  font-weight: normal;
  color: #696969;
}

.warning {
  font-size: 0.8rem;
  color:firebrick;
}

.dispatched-removers-wrapper {
  padding: 0;
}

#dispatched-removers {
  height: 100%;
  overflow-y: scroll;
}

#dispatched-removers .offices-wrapper {
  margin-bottom: 0.6rem;
  border: 1px solid #d3d3de;
}

#dispatched-removers .removers-wrapper {
  padding-bottom: 0.3rem;
  border: 1px solid #d3d3de;
}

#dispatched-removers .office-name {
  padding: .3rem;
  background-color: #4472c4;
}

#dispatched-removers a.btn {
  padding: 0;
  color: #fff;
}

#dispatched-removers .contractor-name {
  padding: .3rem;
  background-color: #deebf7;
}

#dispatched-removers .remover-name {
  padding-top: .3rem;
  padding-bottom: .3rem;
  padding-left: 1.2rem;
  padding-right: .3rem;
}

#dispatched-removers .remover-name div.remover {
  display: inline-block;
}

#dispatched-removers .btn.remover {
  color: #666;
  font-weight: normal;
  text-align: left;
  padding: 0;
}

#dispatched-removers div.remover {
  width: 14px;
  height: 14px;
  border: solid 2px #000;
  display: inline-block;
  vertical-align: middle;
  margin-top: -3px;
  margin-right: 3px;
}

#dispatched-removers div.remover-name span.move-to-remover-location:hover {
  cursor: pointer;
}

#dispatched-removers div.remover.removal {
  border-radius: 50%;
}

#dispatched-removers div.remover.working {
  background-color: #00bfff;
}

#dispatched-removers div.remover.safety {
  background-color: orange;
}

#dispatched-removers div.remover.resting {
  background-color: red;
}

#dispatched-removers p.none-removers{
  color: #696969;
}

#dispatched-removers div.office-name a:focus {
  outline: none;
  box-shadow: none;
}

#map .ol-scale-text,
#map .ol-scale-step-text {
  font-size: 11px;
  white-space: nowrap;
}

/* PCブラウザ */
@media screen and (min-width: 768px) {
  .footer {
    font-size: 0.75rem;
  }

  .column-spacer {
    margin-left: 15px;
  }

  .column-top-spacer {
    margin-top: 0px;
  }

  .system-name.login .system-name-large {
    font-size: 5.0rem;
  }

  .system-name:not(.login) .system-name-large {
    font-size: 1.8rem;
  }

  .col.title h1,
  .col.title h2 {
    font-size: 1.0rem;
  }

  span.number-of-removers {
    font-size: 0.8rem;
  }

  .ol-popup {
    min-width: 320px;
  }

  ol-popup .thumbnail-container {
    width: 300px;
    height: 225px;
  }

  .dispatched-removers-wrapper {
    margin-top: 0;
  }
}

/* スマホブラウザ */
@media screen and (max-width: 767px) {
  .footer {
    font-size: 0.7rem;
  }

  .column-spacer {
    margin-left: 0;
    padding-left: 0;
  }

  .column-top-spacer {
    margin-top: 8px;
  }

  .system-name.login .system-name-large {
    font-size: 2.4rem;
  }

  .system-name:not(.login) .system-name-large {
    font-size: 1.8rem;
  }

  .system-name .system-name-large .gifu {
    display: none;
  }

  .col.title h1,
  .col.title h2 {
    font-size: 0.9rem;
  }

  span.number-of-removers {
    font-size: 0.65rem;
  }

  .ol-popup {
    min-width: 220px;
    max-width: 220px;
  }

  .ol-popup .thumbnail-container {
    width: 160px;
    height: 120px;
  }

  .dispatched-removers-wrapper {
    margin-top: .6rem;
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* ナビゲーションバーが表示される幅 */
@media screen and (min-width: 992px) {
  .system-name-small {
    font-size: 1.5rem;
  }
}

/* ナビゲーションバーが非表示になる幅 */
@media screen and (max-width: 991px) {
  .system-name-small {
    display: none;
  }

  .navbar-text-margin {
    margin-left: 1.0rem;
    margin-bottom: 6px;
  }
}
