﻿body {
    counter-reset: row-counter; /*カウンターリセット */
}

.row {
    overflow-y: auto;
}

.input-element {
    margin-bottom: 30px;
    margin-left: 10px;
}

.input-btn {
    width: 100px;
    margin-right: 8px;
}

.a-btn {
    color: white;
    text-decoration: none;
}

select {
    padding: 6px;
}

p, p[select], p[input] {
    vertical-align: middle;
}

.edit-btn {
    padding-top: 0px;
    padding-bottom: 0px;
}

.validate-msg {
    color: red;
    white-space: pre-wrap;
}

.box {
    height: 150px;
}

.imgbox {
    width: auto;
    height: 100px;
}

.imgbox_bold {
    font-weight: bold;
    width: auto;
    height: 100px;
}

/* 大文字変換 */
.upper-char {
    text-transform: uppercase;
}
/* *** */

/* 破線 */
p.dotted-bottom {
    border-bottom: dotted;
}
/* *** */

/* チェックボックス・ラジオ大きさ */
input[type="radio"], input[type="checkbox"] {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    margin-right: 0.5em;
}
/* *** */

/* 枠の途中にタイトルがある囲み枠 */
.box26 {
    position: relative;
    margin: 1em 0em 0em 1em;
    padding: 0.5em 1em 0em 0.5em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}

    .box26 .box-title {
        position: absolute;
        display: inline-block;
        top: -13px;
        left: 10px;
        padding: 0 9px;
        line-height: 1;
        font-size: 19px;
        background: #FFF;
        color: #95ccff;
        font-weight: bold;
    }
/* *** */

/* ボックス内にラベルがある囲み枠 */
.box28 {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    margin-left: 10px;
    border: solid 2px #95ccff;
}

    .box28 .box-title {
        position: absolute;
        display: inline-block;
        top: -2px;
        left: -2px;
        padding: 0 9px;
        height: 25px;
        line-height: 25px;
        font-size: 17px;
        background: #95ccff;
        color: #ffffff;
        font-weight: bold;
    }

    .box28 p {
        margin: 0;
        padding: 0;
    }
/* *** */

/* tooltip 画像 */
.tooltip1 {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

    .tooltip1 p {
        margin: 0;
        padding: 0;
    }

.description1 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 14px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #1B6EC2;
    width: 120px;
    overflow-wrap: break-word;
}

    .description1:before {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        border: 15px solid transparent;
        border-top: 15px solid #1B6EC2;
        margin-left: -15px;
    }

.tooltip1:hover .description1 {
    display: inline-block;
    bottom: 40px;
    left: -50px;
}
/* *** */

/* tooltip 備考 */
.tooltip2 {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

    .tooltip2 p {
        margin: 0;
        padding: 0;
    }

.description2 {
    display: none;
    position: absolute;
    padding: 10px;
    font-size: 12px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #000;
    width: 200px;
    overflow-wrap: break-word;
}

    .description2:before {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        border: 15px solid transparent;
        border-top: 15px solid #000;
        margin-left: -15px;
    }

.tooltip2:hover .description2 {
    display: inline-block;
    bottom: 40px;
    left: -90px;
}
/* *** */

/* 画像拡大表示 */
#modal-container {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, .6);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

    #modal-container div {
        display: flex;
        height: 100vh;
        justify-content: center;
        align-items: center;
    }

    #modal-container img {
        max-width: calc(100vw - 30px);
        max-height: calc(100vh - 30px);
    }

img.popup {
    cursor: pointer;
}
/* *** */

.yellow_row {
    color: yellow;
}

.black_row {
    color: black;
}

.red_row {
    color: red;
    font-weight: bolder;
}

.blue_row {
    color: blue;
    font-weight: bolder;
}

.green_row {
    color: green;
    font-weight: bolder;
}
