@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
/*  */
/* color schemes */
/*  */
.bg-yellow-light {
  background-color: #F4E9CD !important;
}

.bg-dark {
  background: #031926 !important;
}

.text-black{
  color:black
}

/*  */
/*General Design*/
/*  */
.required {
  font-weight: bold;
}
.required:after {
  content: '*';
  color: red;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #fafafa;
}

#content {
  padding: 0px;
  min-height: 100vh;
  transition: all 0.3s;
  width:100%;
}

.content-inside{
  padding:3rem;
  padding-top:2rem;
}

.dot-legend{
	height: 18px;
	width: 18px;
	border-radius: 50%;
	display: inline-block;
}

/* smooths transition of navbar & inherit color */
.nocolor-anchor, .nocolor-anchor:hover, .nocolor-anchor:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

th a,button a{
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

th a:hover,button a:hover{
  color: inherit;
  text-decoration: underline;
  transition: all 0.3s;
}

.footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.dropdown-menu-positioning{
  top: 100% !important;
}

.jumbotron{
  color: #0D323D;
  box-shadow: 0px 0px 0.3vw 0.3vw white;
}

.landing-jumbotron {
  border-radius: 3vh;
  text-align:center;
  padding: 2vh;
  width: 30vw;
}

.btn-close .btn{
  margin: 0px;
}

@media (max-width: 768px) {
  .landing-jumbotron{
    width: 70vw;
  }
}

.title-jumbotron{
  padding: 1em;
  margin: 0em;
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}

.right {
    text-align:right
}

.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.sortable-table th{
  cursor: pointer;
}

.inline{
  display: inline-block;
  vertical-align: top;
}

.image-user{
  border-radius: 50%;
  height: 40px;
  text-align: right;
}

/*  */
/* django specific */
/*  */
.date-widget select, .date-widget input, .date-widget label {
  width: auto;
  display: inline;
}

.form_checkboxlist-2{
  list-style-type: none;
  text-align: left !important;
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.form_checkboxlist{
  list-style-type: none;
  text-align: left !important;
}


/*login*/
.blurred_login{
  background-image: url("../image/login-background.jpg?1");
  background-color: #FAF6F5;
}

.form-login{
  margin-top: 3vh;
}

.form-login input{
  width: 70%;
  margin: auto;
  text-align:center;
}

.jumbotron-title{
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

@media (max-width: 768px) {
  .jumbotron-title{
    font-size: 18px;
  }
}

/*  */
/*Data Input*/
/*  */
.form-input{
  margin-left:auto;
  margin-right:auto;
  width: 95%;
  padding-left: 10px;
  padding-right: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.form-input.hidden-form{
  display: none;
}

.form-input input,.form-input select, button{
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
}

.FormHeader{
  margin-left:auto;
  margin-right:auto;
}

button{
  margin-right:2px;
  margin-left:2px;
}

.past-data{
  border-collapse: collapse;
  width: 100%;
}

.past-data th, .past-data td{
  padding: 5px;
  text-align: left;
}

.alternate-row-color tr:nth-child(even){
  background-color: #fcbba1;
}

/*current analysis*/
#chart{
  height:60vh;
  background-color: #f7f7f7;
  margin-right: 5px;
}

#sortable-table{
  width: 30vw;
  font-size: 13px;
}

@media screen and (max-width: 576px) {
  #chart{
    width: 100%;
  }
  #sortable-table{
    width: 100%;
  }
}

#barchart{
  height:60vh;
  background-color: #f7f7f7;
  margin-right: 5px;
}

.analysis-table {
  border-collapse: collapse;
  overflow: hidden;
}

.analysis-table td, .analysis-table th{
  vertical-align: top;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-right: 5px;
  padding-left: 5px;
  text-align: center;
  cursor: pointer;
}

thead{
  background: #a50f15;
  color: #fff;
}

div.tooltip, .tooltip {
    position: absolute;
    text-align: center;
    padding: 2px;
    font: 10px sans-serif;
    background: lightsteelblue;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
}

.filtericon{
  font-size: 0.7em;
}

.line-arrow{
  font-size: 20px;
  color: #FF0606;
  padding: 3px;
  background-color: #C1C1C1;
  border-radius: 4px;
}

/*  */
/*map*/
/*  */
#map{
  width:100%;
  height:60vh;
  background-color: #f7f7f7;
  /* margin-right: 5px; */
  /* viewBox: "0 0 960 500";
  preserveAspectRatio: "xMidYMid meet"; */
}

.map-frame td{
  vertical-align: top;
}

.map-filter td{
  padding:2px;
  font-size:11px;
}

.map-filter input, .map-filter select{
  width: 130px;
}

.map-filter .table-label{
  width: 70px;
}

.map-filter{
  border-radius: 15px 0px 0px 15px;
  background-color: #9DBEBB;
  width: 230px;
  height:400px;
  padding:10px;
}

.map-filter h6{
  margin-top: 0px;
}

#float-button-group {
    position:absolute;
}

#float-button-group *{
    opacity:0.7;
}

#float-button-group *:hover {
    opacity:1;
}

#map-zoomer {
    /* position:absolute; */
    writing-mode: bt-lr;
    -webkit-appearance: slider-vertical;
    width: 8px;
    height: 100px;
    padding: 0 5px;
}

/*tabs*/
.tab{
  overflow: hidden;
  background-color: #2C3532;
  margin-top: 1vh;
}

.tab-mini {
    overflow: hidden;
    background-color: #2C3532;
    margin-top: 15px;
}

.tab button {
    border-radius: 20% 20% 0px 0px;
    background-color: inherit;
    float: center;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    margin: 0px;
    padding: 1em;
    transition: 0.3s;
    font-size: 16px;
    font-weight: bold;
}

.tab-mini button {
    width:64px;
    border-radius: 10px 10px 0px 0px;
    background-color: inherit;
    float: center;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    margin: 0px;
    padding: 3px 4px;
    transition: 0.3s;
    font-size: 8px;
    font-weight: bold;
}

.tab button:hover {
  color: #2C3532;
  background: #158e91;
  box-shadow: 0px 0px 0.3vw 0.3vw grey;
}

.tab button.active {
    background-color: #468189;
}

.tab-content-mini {
  text-align: left;
  display: none;
  padding: 6px 12px;
  border-top: none;
  border-radius: 0px 0px 10px 10px;
  align-items: center;
}

.tab-content-mini select{
  height: auto;
  padding: 2px;
  margin-left: 1rem;
  margin-right: 1rem;
}

.tab-content-large {
    background-color: #468189;
    color: white;
    text-align: left;
    display: none;
    padding: 1em 10%;
    border-top: none;
    border-radius: 0px 0px 10px 10px;
}

.tab-content-large table{
  margin: auto;
}

.tab-content-large tbody{
    background-color: #FAFAFA;
    color: #333;
}

.tab-content-large td, .tab-content-large th{
  padding: 0.5em;
  text-align: center;
  border-left:solid 1px black;
  border-right:solid 1px black;
}

.tab-content-large th{
  cursor: pointer;
}

.tabcontent {
  display: none;
}

.tabcontent-default {
  display: block;
}

.tabcontent .table-label{
  color: white;
}

@media (max-width: 768px) {
  .tab button {
    font-size: 10px;
  }
}
/*loader*/
.lds-grid {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-grid div {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fed;
  animation: lds-grid 1.2s linear infinite;
  z-index    : 2;
}
.lds-grid div:nth-child(1) {
  top: 6px;
  left: 6px;
  animation-delay: 0s;
}
.lds-grid div:nth-child(2) {
  top: 6px;
  left: 26px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(3) {
  top: 6px;
  left: 45px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(4) {
  top: 26px;
  left: 6px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(5) {
  top: 26px;
  left: 26px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(6) {
  top: 26px;
  left: 45px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(7) {
  top: 45px;
  left: 6px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(8) {
  top: 45px;
  left: 26px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(9) {
  top: 45px;
  left: 45px;
  animation-delay: -1.6s;
}
@keyframes lds-grid {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

#overlay-back {
    position   : absolute;
    top        : 0;
    left       : 0;
    width      : 100%;
    height     : 100%;
    background : #000;
    opacity    : 0.6;
    filter     : alpha(opacity=60);
    z-index    : 1;
    display    : none;
}

/*  */
/* List animation */
/*  */
div.removed-item {
    animation: removed-item-animation .8s cubic-bezier(.65,-0.02,.72,.29);
}

@keyframes removed-item-animation {
   0% {
        opacity: 1;
        transform: translateX(0);
    }

    30% {
        opacity: 1;
        transform: translateX(50px);
    }

    80% {
        opacity: 1;
        transform: translateX(-800px);
    }

    100% {
        opacity: 0;
        transform: translateX(-800px);
    }
}

div.restored-item {
    animation:
        openspace .3s ease forwards,
        restored-item-animation .5s .3s cubic-bezier(.14,.25,.52,1.56) forwards;
}

@keyframes openspace {
    to {
        height: auto;
    }
}

@keyframes restored-item-animation {
    0% {
        opacity: 0;
        transform: translateX(300px);
    }

    70% {
        opacity: 1;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Convert table into card in smartphone */
@media screen and (max-width: 576px) {
   .table-card table {
      border: 0;
    }

   .table-card table thead {
      display: none;
    }

   .table-card table tr {
      margin-bottom: 20px;
      display: block;
      border-bottom: 2px solid #ddd;
	    box-shadow: 2px 2px 1px #dadada;

    }

   .table-card table td {
      display: block;
      text-align: right;
      font-size: 13px;
      padding-bottom: 0px
    }

   .table-card table td:last-child {
      border-bottom: 0;
    }

   .table-card table td::before {
      content: attr(data-label);
      float: left;
      text-transform: uppercase;
      font-weight: bold;
    }

  	/* .table-card	tbody{
		line-height:0!important;
	 } */
}

/* search icon */
.search-icon {
  background-image: url('../image/searchicon.png'); /* Add a search icon to input */
  background-position: 10px 10px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
}

nav a {
  text-decoration: none !important;
  color: none !important;
}

.fixed-right {
	position: fixed;
	right: 0;
	top: 50%;
  }

.fixed-left {
	position: fixed;
	top: 50%;
}