[v-cloak] {
    display: none;
}
* {
    font-family: sans-serif;
}
body {
    -webkit-text-size-adjust: 100%;
    background-color: #f5f5f5;
    height: 100%;
}
html, body {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-size: 100%;
}
#helptextbox {
    margin: 2em auto 2em auto;
    max-width: 90%;
    width: 800px;
}
#vapp {
    height: 100%;
}
.el-container {
    height: 100%;
}
.el-header {
    position: relative;
    padding: 6px 10px 0 10px;
    height: 60px;
    color: #fff;
    background: rgba(70, 130, 180, 0.85);
}
.el-main {
    position: relative;
    padding: 20px 20px 0 20px;
    height: 100%;
    min-height: 400px;
}
.el-header .title {
    font-size: 22px;
    line-height: 50px;
}
.el-header .title_right {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 0;
    margin: 0;
}


.loading {
    position: absolute;
    width: 400px;
    height: 400px;
    top: calc(50% - 200px);
    left: calc(50% - 200px);
}
.museQueryForm {
    margin: 0 0 15px 0;
    text-align: center;
}
.museQueryForm .el-input.el-input-group.el-input-group--append {
    width: 90%;
    max-width: 500px;
}
.resTitle {
    font-size: 12px;
    padding-left: 5px;
}
#scrollList {
    position: relative;
    overflow: auto;
    height: calc( 100% - 60px );
}
.imageFlexBox {
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
    justify-content: space-around;
}
.imageFlexBox > .imageBox.hidden {
    visibility: hidden;
}
.imageFlexBox > .imageBox {
    cursor: pointer;
    margin: 6px 6px 12px 0px;
    padding: 5px 3px 3px 3px;
    width: 206px;
    background: #fff;
    border: solid 1px #aaa;
    border-radius: 5px;
}
.imageInnerBox {
    background: #eee;
    text-align: center;
    line-height: 0;
}
.imageBox img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.imageBox .title {
    margin: 3px 0;
    color: #000;
    font-size: 12px;
}
.imageBox .text {
    color: #999;
    font-size: 11px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

}
.el-image-viewer__close {
    color: #fff;
    text-shadow: 1px 1px 3px rgb(0, 0, 0);
}
.el-image-viewer__mask {
    opacity: 0.9;
}

.imageTab {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.imageTab > div {
    position: relative;
    margin: 20px auto 0 auto;
    padding-bottom: 20px;
    width: 90%;
    max-width: 512px;
    height: max-content;
    max-height: calc(100% - 45px);
    border: solid 0px #aaa;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
}
.imageTabBox {
    position: relative;
    width: 512px;
    height: 512px;
    margin-bottom: 20px;
    text-align: center;
    background: #eee;
}
.imageTabBox .el-image > img {
    width: 512px;
    height: 512px;
    object-fit: contain;
}
.detailImageInfo {
    width: 100%;
}
.imageDescTable {
    margin: 0 auto 0 auto;
    width: 94%;
    border-collapse: collapse;
}
.imageDescTable td {
    color: #444;
    font-size: 12px;
    padding: 5px 10px;
    border: solid 1px #ddd;
}
.imageDescTable .title td:nth-child(2) {
    font-size: 18px;
}
.imageDescTable td:first-child {
    width: 60px;
}
.closeBtn {
    padding: 8px 10px 0;
    text-align: right;
}
.closeBtn .el-icon-circle-close:before {
    cursor: pointer;
    color: #444;
    font-size: 34px;
}

/* imageTabのトランジション */
.imagetab-transition-enter-active {
    animation: bounce-in .5s;
}
.imagetab-transition-leave-active {
    animation: bounce-in .5s reverse;
}
@keyframes bounce-in {
    0% {
        transform: scale(0.6);
    }
    50% {
        transform: scale(1.005);
    }
    100% {
        transform: scale(1);
    }
}
#bmenu .bm-burger-bars {
    background-color: #fff;
}
#bmenu .bm-burger-button {
    margin-right: -14px;
    height: 20px;
    width: 24px;
    top: auto;
    bottom: 20px;
    left: auto;
    right: 0px;
}
#bmenu .bm-burger-bars.line-style {
    height: 10%;
}


/* Width: - 800px */
@media only screen and (max-width:500px){
    body {
        width: device-width;
        -webkit-text-size-adjust: none;
        font-size: 12px;
    }
    .el-main {
        padding: 20px 0 0 0;
    }
    .museQueryForm .el-input{
        width: 200px;
    }
    .imageFlexBox > .imageBox {
        margin: 6px 0px 6px 4px;
        padding: 3px;
        width: calc(50% - 14px);
    }
    .imageInnerBox .el-image{
        width: 100%;
    }
    .imageBox img {
        width: 100%;
    }
    .imageTab > div {
        width: 98%;
    }
    .imageTabBox {
        width: 100%;
        height: inherit;
        margin-bottom: 20px;
        text-align: center;
        background: none;
    }
    .imageTabBox .el-image > img {
        width: 100%;
        height: inherit;
    }
}
