@charset "utf-8";

/*
    フォームレイアウト
*/
.item-row {
    display: flex;
}

.item {
    padding: 2px;
}

.item-model {
    flex-basis: 50%;
}

.item-standard {
    flex-basis: 20%;
}

.item-diameter {
    flex-basis: 20%;
}

.item-button {
    flex-basis: 10%;
}

.item-without-button {
    flex-basis: 90%;
}

/*
    ファイル一覧
*/
.file-list {
    width: 100%;
}

.file-list td {
    vertical-align: middle;
}

.download-manager {
    all: initial !important;
    cursor: pointer !important;
    height: 100% !important;
    text-align: center !important;
}

/*
    編集アイコン
*/
.edit-button {
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    background-size: cover;
    border-radius: 10%;
    cursor: pointer;
    vertical-align: middle;
}

.replace-file {
    background-image: url(./img/icon_replace.svg);
}

.delete-file {
    background-image: url(./img/icon_delete.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/*
    レイアウト用
*/
.full-width {
    width: 100%;
}

.width30 {
    width: 30%;
}

.width60 {
    width: 60%;
}

.width70 {
    width: 70%;
}

.width90 {
    width: 90%;
}

.item-caption {
    display: inline-block;
    width: 28%;
}

.new-file {
    display: none;
}

.modified {
    background-color: #3ca062;
}

.be-deleted {
    background-color: #aaaaaa;
}

/*
    タブ周り
*/
.tab-wrap {
    display: flex;
    flex-wrap: wrap;
}
.tab-label {
    color: White;
    background: LightGray;
    margin-right: 5px;
    padding: 3px 12px;
    order: -1;
    cursor: pointer;
}
.documentManager__tabContent {
    width: 100%;
    display: none;
}
/* アクティブなタブ */
.tab-switch:checked+.documentManager__tabContent {
     display: block;
}
/* ラジオボタン非表示 */
.tab-switch {
    display: none;
}

/* エラー */
#error-message {
    color: #ff0000;
}

#error-message ul {
    width: 100%;
    display: block;
}

#error-message li {
    width: 100%;
}