body {
    background-color:#fff;
    margin:0;
    font-size: 62.5%;
    font-size: 1rem;
}
body *:focus {
    outline: none;
}

body, pre {
    font-family: 'M+ C Type-1 (basic latin) Light', 'M+ Type-1 (general-j) Light', sans-serif;
}

textarea {
    font-style: normal;
    font-variant-ligatures: normal;
    font-variant-caps: normal;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;
    font-weight: 400;
    font-stretch: normal;
    line-height: normal;
    font-family: Arial;
}

header {
    background: #4fcd84;
}

h1 {
    color: #003333;
    font-size: 1.8rem;
    text-align: left;
    margin-top: 0;
    margin: 0;
    padding: 0;
    height: 68px;
}

h2 {
    color: #4fcd84;
    font-size: 4.5rem;
    font-weight: normal;
    text-align: left;
    margin: 16px 0 16px;
    padding: 0;
}

.h3_vital {
    text-align: center;
}

nav {
    position: relative;
    width: 100%;
    background: #90ee90;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
table.list {
    border-collapse : separate;
    border-spacing: 0;
    border: 4px #90ee90 solid;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

table.list th {
    background-color: #90ee90;
    color: #003333;
    font-size: 1.3rem;
    font-weight: normal;
    border: 2px #90ee90 solid;
    height: 40px;
}
table.list th:first-of-type {
    border-radius: 4px 0 0 0;
}
table.list th:last-of-type {
    border-radius: 0 4px 0 0;
}

table.list td {
    background-color: #fff;
    border: 1px #90ee90 solid;
    font-size: 1.4rem;
}
table.list td div.checkbox_fukuoka_city_user_name {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 10px 5px 10px;
}
table.list:not(#userList) tr td:first-of-type,
table.list#userList tr td[name="modify"] {
    border-left: 0;
}
table.list#sensorList tr td:first-of-type {
    border-left: 1px #90ee90 solid;
    border-bottom: 1px #90ee90 solid;
}
table.list tr td:last-of-type {
    border-right: 0;
}
table.list tr:last-of-type td {
    border-bottom: 0;
}
table.list tr:last-of-type td:first-of-type,
table.list tr.user_row_last td:first-of-type {
    border-radius: 0 0 0 6px;
    border-left: 0;
    border-bottom: 0;
}
table.list tr:last-of-type td:last-of-type {
    border-radius: 0 0 6px 0;
    border-right: 0;
    border-bottom: 0;
}
table.list td[name="place"] {
    border-radius: 0 !important;
    border-left: 1px #90ee90 solid !important;
    height: 120px;
}

table#userList.list tr:last-of-type td:first-of-type[name="modify"],
table#sensorList.list .new_tr:nth-last-child(-n+3) td:first-of-type {
    border-radius: 0 0 0 6px;
}

table#userList.list tr:last-of-type td:last-of-type[name="place"] {
    border-radius: 0 0 6px 0 !important;
}

table.max_width {
    width: 100%;
}

tr.new_tr td {
    border-top-width: 2px;
}

canvas {
    display: inline; 
}

/*
    tbl-header-fixクラス
    tableのヘッダを固定してtbody部分のみスクロールさせたい場合に使用
    table全体、td、thのwidthとheightを指定した状態で使用する
*/
.tbl-header-fix {
    display: block;
    position: relative;
    overflow-y: scroll;
    font-size: 0;
}

.tbl-header-fix thead,
.tbl-header-fix tbody {
  display: block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.tbl-header-fix thead {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 3;
}

.tbl-header-fix th,
.tbl-header-fix td {
  font-size: 1.0rem;
  vertical-align: middle;
}


#logo_wrapper {
    text-align: center;
}

#logo {
    padding: 20px 40px;
    font-size: 25px;
    font-weight: bold;
    color: #0000FF;
    background: linear-gradient( #ffcd8e, #ffac41);
    border-color:#fffbc7;
    border-width: 5px;
    border-style: outset;
    text-align: center;
    display: inline-block;
}

#header {
    margin: 0 auto;
    padding: 10px 10px 2px 10px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #001111;
    text-align: left;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#staff {
    font-size: 1rem;
    font-weight: normal;
    text-align: right;
}
#staff a {
    color: #003333;
}
#staff a:hover {
    color: #ffffff;
}

#menu {
    margin: 0;
    padding: 4px 0 0 0;
    list-style: none;
}

#menu a{
    display: block;
    text-decoration:none;
    color: #003333;
    font-weight: bold;
}

#menu li{
    font-size: 1.3rem;
    line-height: 1.5em;
   display: inline-block;
   padding: 15px 1.2rem 15px 1rem;
   text-align: center;
   color: #fff;
}

#menu li:hover{
    background: #ccffcc;
    border-radius: 0 40px 0 0;
}

#menu li.current_parent{
    position: relative;
    background: #4fcd84;
    border-radius: 0 40px 0 0;
    padding: 15px 1.8rem 15px 1.5rem;
    margin: 0 -8px 0 0;
}
#menu li.current_parent a {
    position: relative;
}

#menu li.current_parent span::after {
    content: '';
    background: #4fcd84;
    position: absolute;
    width: 40px;
    height: 26px;
    top: 0;
    right: 0;
    border-radius: 0 40px 0 0;
    padding: 15px 1.8rem 15px 1.5rem;
    z-index: auto;
}

#menu li.current_parent span::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 26px;
    background: #fff;
    padding: 15px 1.8rem 15px 1.5rem;
    z-index: auto;
}

#menu li.current_tab{
    background: #fff;
    border-radius: 0 40px 0 0;
    padding: 15px 1.8rem 15px 1.5rem;
}

#menu li.current_tab a{
    color: #4fcd84;
}

#search_button {
    position: absolute;
    top: 50%;
    right: 0;
    padding-right: 20px;
    transform: translateY(-50%);
    color: #003333;
    font-size: 1.2rem;
}

#wrapper {
    z-index: 0;
    margin: 0 20px;
    text-align: center;
}

#page_title {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.open-user-data {
    /* width: 100%; */
    text-align: right;
    color: #999999;
    /* font-size: 0.7rem; */
}
.open-user-data .filtering,
.top_button_area .filtering,
#setting_wrapper {
    background: #eaeaea;
    padding: 10px 15px 10px 37px;
    border-radius: 20px;
    margin-top: 35px;
    line-height: 1.5em;
}
#setting_wrapper {
    margin-bottom: 30px;
    padding: 5px 15px 0 15px;
    height: 67px;
}
.top_button_area {
    font-size: 1.3rem;
}
#userList,
#staffList,
#timeline {
    margin-bottom: 2.4rem;
}

#userList a {
    color: #222222;
}
#userList a:hover {
    color: #556666;
}

.btn_radius {
    font-weight: bold;
    font-size: 1.3rem;
    padding: 2px 8px;
    margin: 3px 0;
    color: #003333;
    background: linear-gradient( hsl(135, 75%, 71%), hsl(145, 55%, 55%));
    padding: 10px 1.1rem;
    line-height: 1.5em;
    border: none;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    cursor: pointer;
}
.modal-wrapper .btn_radius {
    margin-left: 0 !important;
}
td.inner {
    /* padding-top: 20px!important; */
}
td.inner+td {
    padding: 7px 5px 0!important;
}
.btn_radius.inner {
    font-weight: normal;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    padding: 5px 10px;
}
.btn_radius:hover {
    background: linear-gradient( hsl(135, 83%, 86%), hsl(145, 65%, 55%));
    transform: translateY(1px);
}
.btn_radius:first-of-type {
    margin-left: .9rem;
}
.btn_radius.inner,
#staffList .btn_radius,
#tbl_staffDetail .btn_radius,
#facilityList .btn_radius {
    margin-left: 0;
}
.btn_radius:not(:last-of-type) {
    margin-right: 10px;
}

.br0 {
    margin-top: 0em;
    margin-bottom: 0em;
}

.br1 {
    margin-bottom: 1em;
}

.br2 {
    margin-bottom: 2em;
}

#tbl_userDetail td:nth-child(odd),
#tbl_staffDetail td:nth-child(odd) {
    padding-top: 15px;
}
#tbl_userDetail td:nth-child(even),
#tbl_staffDetail td:nth-child(even) {
    width: auto;
    min-width: 15rem;
}
#tbl_staffDetail tr:nth-child(5) td:first-child {
    padding-top: 7px;
}
#tbl_userDetail td:nth-child(4n+1) {
    width: auto;
    min-width: 8rem;
}
#tbl_userDetail td:nth-child(4n+2) {
    padding-top: 10px;
    padding-right: 2rem;
}
#tbl_userDetail td:nth-child(4n+3) {
    width: auto;
    min-width: 9rem;
}

input[type="radio"],
input[type="checkbox"] {
    display: none !important;
  }
  .radiobutton,
  .checkbox {
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    border-radius: 10px;
    vertical-align: middle;
    cursor: pointer;
  }
  
  .checkbox:after {
    position: absolute;
    top: 50%;
    left: -15px;
    display: block;
    margin-top: -17px;
    width: 22px;
    height: 22px;
    border: 4px solid #4fcd84;
    background-color: #fff;
    border-color: #4fcd84;
    border-radius: 10px;
    content: '';
  }
  #userSearchList th.col_search_chk label::after {
      border-color: #90ee90;
  }
  .radiobutton::after {
    position: absolute;
    top: 50%;
    left: -16px;
    display: block;
    margin-top: -17px;
    width: 22px;
    height: 22px;
    border: 4px solid #4fcd84;
    background-color: #fff;
    border-radius: 50px;
    content: '';
  }
  input[type="radio"]:checked + .radiobutton:before {
    opacity: 1;
  }
  .radiobutton::before {
    position: absolute;
    top: 50%;
    left: -6px;
    display: block;
    margin-top: -7px;
    width: 10px;
    height: 10px;
    background: #18a067;
    border-radius: 100px;
    content: '';
    opacity: 0;
    z-index: 99;
  }
  .checkbox::before {
    position: absolute;
    top: 50%;
    left: -5px;
    display: block;
    margin-top: -12px;
    width: 8px;
    height: 12px;
    border-right: 3px solid #18a067;
    border-bottom: 3px solid #18a067;
    content: '';
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 99;
  }
  input[type="checkbox"]:checked + .checkbox:before {
    opacity: 1;
  }

  
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    -webkit-appearance: none;
    appearance: none;
    height: 35px;
    border: none;
    border-radius: 10px;
    width: 10rem;
    font-size: 1.3rem;
    padding: 0 .6rem;
    color: #222;
} 
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    -webkit-appearance: none;
    appearance: none;
    background: #ffffff;
}
#tbl_userDetail input[type="text"],
#tbl_userDetail input[type="email"] {
    width: 9rem;
    padding-right: .5rem;
    padding-left: .5rem;
} 

/* 
#tbl_sensorList input[type="text"]:focus {
    appearance: none;
    background: none;
} */

.col_del_btn button {
    font-weight: normal;
}

.col_sensor_id input[type="text"] {
    width: 190px;
    display: block;
    margin: 0 auto;
}

.col_sensor_name input[type="text"] {
    width: 238px;
    display: block;
    margin: 0 auto;
}

.col_vital_calc_flg label::before,
.col_vital_level_flg label::before {
    left: 43px;
}

.col_vital_calc_flg label::after,
.col_vital_level_flg label::after {
    left: 34px;
}

.modal-wrapper .col_vital_calc_flg label::before,
.modal-wrapper .col_vital_level_flg label::before {
    left: -5px;
}
.modal-wrapper .col_vital_calc_flg label::after,
.modal-wrapper .col_vital_level_flg label::after {
    left: -15px;
}

.col_sort_no input[type="text"] {
    width: 90px;
    display: block;
    margin: 0 auto;
}

select {
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    /* margin-left: 10px; */
    cursor: pointer;
    width: 15rem;
    height: 35px;
    background-color: #fff;
    border-radius: 10px;
    padding-left: 1.3rem;
    font-size: 1.3rem;
}

.select {
    position: relative;
    color: #222222;
}
.select::before {
    content: '';
    display: block;
    position: absolute;
    top: 2px;
    right: -14.5rem;
    width: 8px;
    height: 8px;
    border-right: 3px solid #4fcd84;
    border-bottom: 3px solid #4fcd84;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 99;
}


/* .select::after {
    content: '';
    display: block;
    position: absolute;
    top: -2px;
    left: 0;
    width: 10rem;
    height: 30px;
    background-color: #fff;
    border-radius: 10px;
} */

td[name="place"] {
    padding: 0 40px;
}
img.vital_alert {
    width: 40px;
    height: 40px;
    margin-left: -40px;
}


.loginModalWindow {
    /* display: none; */
    width: 450px;
    height: auto;
    position: absolute;
    top: 50%;
    right: 50%;
    /* bottom: 0;
    left: 0; */
    transform: translateX(50%) translateY(-50%);
    margin: 0;
    background-color:#18a067;
    color: #fff;
    border-radius: 20px;
    position:fixed;
    z-index: 9999;
   text-align: center;
    box-shadow: 0 2px 40px rgba(151, 137, 137, 0.2);
}
.loginModalWindow h1 {
    position: relative;
    background: #4fcd84;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    margin-top: auto;
    margin: 0;
    padding: 20px;
    border-radius: 20px 20px 0 0 ;
    height: auto;
}

.loginModalWindow #loginForm {
    margin-top: 20px;
}
.loginModalWindow #loginForm > div {
    padding: 10px;
    display: flex;
    justify-content: center;
}
.loginModalWindow #loginForm span {
    background: #4fcd84;
    padding: 11px 1rem 9px;
    border-radius: 10px 0 0 10px;
}
.loginModalWindow #loginForm div input {
    /* display: inline-block; */
    padding: .5rem;
    border-radius: 0 10px 10px 0;
}

.loginModalWindow .btn_radius {
    margin: 20px 0 45px 0;
}