@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* 背景色 */
body {
    background-color:#fff5e4;
}

/* ヘッダー（システムのタイトル、メールアドレス、ログアウトボタン） */
.main-header {
    display: flex;
    align-content: flex-end;
    flex-direction: row;
    justify-content: right;
    text-align: right;
    padding: 20px;
    background-color: #dddddd;
}

/* システムのタイトル */
.main-title {
    margin: 0 auto 0 0;
    font-size: 28px;
}

/* 管理者の表示 */
.disp-admin {
    padding: 0 10px;
    position: relative;
    top: 7px;
}

.disp-email-address {
    padding: 0 10px;
    position: relative;
    top: 7px;
}

.logout-btn {
    background-color: #0000ff;
    color: white;
    border-radius: 10px;
    border: 1px solid #ffffff;
    padding: 6px 12px 3px 12px;
    margin-left: 10px;
}

.login-btn {
    background-color: #0000ff;
    color: white;
    border-radius: 10px;
    border: 1px solid #ffffff;
    padding: 6px 12px 3px 12px;;
}

.login {
    width: 30%;
    margin: 20px auto;

}

.logged-out {
    margin: 50px auto;
    width: 50%;
    text-align: center;
}

.invalid-page-transition {
    margin: 50px auto;
    width: 50%;
    text-align: center;
}

.login input {
    width: 100%;    
}

.login .button {
    text-align: center;
}

/* ナビゲーションとメインの枠を横並びにする */
.nav-and-main {
    display: flex;
}

/* ナビゲーションの幅を指定 */
.nav-contents {
   margin: 20px 40px 20px 0; 
   border-right: 1px solid #000000;
}

/* ナビゲーションボタン */
.nav-ul li a {
    display: block;
    font-size: 20px;
    background-color: #dddddd;
    color: blue;
    margin: 20px;
    padding: 12px 30px;
    width: 250px;
    height: 42px;
    border-radius: 21px;
    text-align: center;
    cursor: pointer;
    transition: 0.1s;
}
.nav-ul li a:hover {
    background-color: #e4e4e4;
    transition: 0.1s;
}

.nav-ul li a.nav-border {
    border: 2px solid #000000;
    padding: 10px 28px;
}

/* テキストボックスなどのデザイン */
.text-frame {
    background-color: #ffffff;
    border-radius: 2px;
    border: 1px solid #000000;
    padding: 6px 5px 4px 5px;
}

/* データ入力画面のテキストボックスの幅 */
.enter-data-frame {
    width: 100%;
    height: 80px;
}

/* データ編集画面のテキストボックスの幅 */
.edit-data-frame {
    width: 100%;
    height: 80px;
}

.white-back {
    background-color: #ffffff;
    border-radius: 0px;
    padding: 6px;
}

/* .select-data-title {
    background-color: #ffffff;
    border-radius: 2px;
    border: 1px solid #000000;
    padding: 3px;
}

.input-data-title {
    background-color: #ffffff;
    border-radius: 2px;
    border: 1px solid #000000;
    padding: 3px;
}

.input-columns-num {
    background-color: #ffffff;
    border-radius: 2px;
    border: 1px solid #000000;
    padding: 3px;
} */

/* メイン画面 */
.main-section {
    padding: 40px;
    margin: 0 20px 0 0;
    width: 100%;
}

.select-data-title {
    width: 50%;
}

.top-margin {
    margin-top: 1em;
}
.bottom-margin {
    margin-bottom: 1em;
}

.button {
    background-color: #dddddd;
    border-radius: 5px;
    border: 1px solid #000000;
    padding: 5px 20px;
    margin: 10px 0;
    transition: 0.2s;
}
.button:hover {   
    transition: 0.1s;
    background-color: #eeeeee;
}

h2 {
    font-size: 20px;
    margin: 0 0 20px 0;
    border: 1px solid #000000;
    background-color: #dddddd;
    padding: 5px;
    box-shadow: 0px 0px 2px #555555;
}

/* リンクを青くする */
.continue-to-create {
    color: blue;
}
.continue-to-create:hover {
    text-decoration: underline;
}

/* リンクを青くする */
.continue-to-enter {
    color: blue;
}
.continue-to-enter:hover {
    text-decoration: underline;
}

/* リンクを青くする */
.return-top {
    color: blue;
}
.return-top:hover {
    text-decoration: underline;
}

/* リンクを青くする */
.a-style {
    color: blue;
}
.a-style:hover {
    text-decoration: underline;
    cursor: pointer;
}

table.data-list th, table.data-list td {
    border: 1px solid #000000;
    padding: 10px;
}

table.data-list tr:nth-child(2n+1) {
    background-color: #f5f5f5;
}
table.data-list tr:nth-child(2n) {
    background-color: #ffffff;
}

table.data-list th {
    border-bottom: 1px solid #000000;
    background-color: #bbbbbb;
    text-align: center;
}

table.data-list {
    border-collapse: collapse;
    border: 1px solid #000000;
    /* width: 100%; */
}


table.create-account tr:first-child th {
    border: 1px solid #000000;
    padding: 10px;
}

table.create-account td {
    border: 1px solid #000000;
    padding: 10px;
}

table.create-account th {
    border: 1px solid #000000;
    padding: 17px 10px 10px 10px;
}

table.create-account {
    border-collapse: collapse;
    border: 1px solid #000000;
    background-color: #dddddd;
}

table.check-create-account th {
    border: 1px solid #000000;
    padding: 10px;
}

table.check-create-account td {
    border: 1px solid #000000;
    padding: 10px;
    background-color: #ffffff;
}

table.check-create-account {
    border-collapse: collapse;
    border: 1px solid #000000;
    background-color: #dddddd;
}


table.edit-account tr:first-child th {
    border: 1px solid #000000;
    padding: 10px;
}


table.edit-account td {
    border: 1px solid #000000;
    padding: 10px;
}

table.edit-account th {
    border: 1px solid #000000;
    padding: 17px 10px 10px 10px;
}

table.edit-account {
    border-collapse: collapse;
    border: 1px solid #000000;
    background-color: #dddddd;
}

table.check-edit-account th {
    border: 1px solid #000000;
    padding: 10px;
}

table.check-edit-account td {
    border: 1px solid #000000;
    padding: 10px;
    background-color: #ffffff;
}

table.check-edit-account {
    border-collapse: collapse;
    border: 1px solid #000000;
    background-color: #dddddd;
}


table.account-list th {
    border: 1px solid #000000;
    background-color: #dddddd;
    padding: 10px;
    text-align: center;
}

table.account-list tr th:nth-child(1) {
    width: 6em;
}

table.account-list tr th:nth-child(2) {
    width: 20em;
}

table.account-list tr th:nth-child(4) {
    width: 5em;
}

table.account-list td {
    border: 1px solid #000000;
    padding: 10px;
    text-align: center;
}

table.account-list {
    border-collapse: collapse;
    background-color: #ffffff;
    width: 100%;
    margin: 10px 0;
}

.account-list-border {
    border-top: 1px solid #000000;
    margin: 30px -30px;
}

table.check-update-password th {
    border: 1px solid #000000;
    background-color: #dddddd;
    padding: 10px;
    text-align: center;
}

table.check-update-password td {
    border: 1px solid #000000;
    padding: 10px;
    text-align: center;
}

table.check-update-password {
    border-collapse: collapse;
    background-color: #ffffff;
    margin: 10px 0;
}

table.database-access-privileges td {
    border: 1px solid #000000;
    padding: 10px;
}

table.database-access-privileges th {
    border: 1px solid #000000;
    padding: 5px;
    text-align: center;
}

table.database-access-privileges tr:nth-child(2n+1) {
    background-color: #eeeeee;
}

table.database-access-privileges tr:nth-child(2n) {
    background-color: #ffffff;
}

table.database-access-privileges tr td:nth-child(2) {
    text-align: center;
}

table.database-access-privileges th {
    background-color: #bbbbbb;
}

table.database-access-privileges {
    border-collapse: collapse;
}


table.create-database-check td {
    border: 1px solid #aaaaaa;
    padding: 10px;
    text-align: center;
}

table.create-database-check th {
    background-color: #dddddd;
    border: 1px solid #aaaaaa;
    padding: 10px;
    text-align: center;
}

table.create-database-check {
    border-collapse: collapse;
    background-color: #ffffff;
}


.flash-message {
    border-radius: 1em;
    width: 100%;
    height: 2em;
    padding: 0.5em;
    margin-bottom: 1em;
    background-color: #dddddd;
}

.delete-database {
    display: inline;
}

.hide-image {
    visibility: hidden;
    opacity: 0;
}

.show-image {
    visibility: visible;
    opacity: 1;
}

.close-image-right-align {
    display: block;
    text-align: right;
}

.image-view {
    transition: 0.1s;
    position: absolute;
    left: 0px;
    top: 0px;
    padding: 20px;
    margin: 10px;
    border: 1px solid #000000;
    background-color: #dddddd;
    border-radius: 20px;
    max-width: 40%;
}

.image-style {
    max-width: 100%;
}

.form-inline {
    display: inline;
}