xmp,pre{
    max-width: 100%;
    white-space: pre-wrap;
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}

textarea{
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}
.layered-popup {
    display:none;
    position: absolute;
    width:400px;
    z-index: 8;
    top:70px;
    font-size:20px;
    padding-left:5px;
    padding-right:5px;
}
.popup-wrap {
    position: absolute;
    width: 100%;
    text-align: center;
}
.popup-inner{
    position: relative;
    width: 1460px;
    display: inline-block;
}
.layered-popup img {
    width: 100%;
    border: 1px solid black;
    float: left;
    /*height: 340px;*/
}
.layered-popup .button_area{
    text-align: center;
}
.layered-popup .button_area .button{
    background-color: #009a8c;
    color: white;
    display: inline-block;
    width: 50%;
    float: left;
    font-size: 13px;
    padding: 8px 12px;
    cursor: pointer;
}
.layered-popup .button_area .button:nth-child(1){
    border-right: 1px solid black;
}
.text-tiny{
    font-size: 0.7em !important;
}
.text-small{
    font-size: 0.85em !important;
}
.text-big{
    font-size: 1.4em !important;
}
.text-huge{
    font-size: 1.8em !important;
}
footer a{
    display: inline-block;
    color: inherit !important;
}
.board .cbox .boardCont .item .tbox h3{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 32px;
}
.board .cbox .boardCont .item .tbox p {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 26px;
}
.gallery .galleryList .item .img{
    height: 290px;
}
@media only screen and (max-width: 1440px){
    footer .menu .inner>ul{
        display: none;
    }
}
@media screen and (max-width: 1140px){
    .galleryList .tbox{
        width: 100%;
    }

}
@media only screen and (max-width: 1024px){
    .layered-popup{
        left: unset !important;
        right: 50px !important;
        top: 80px !important;
    }
    .popup-wrap{
        width: 100%;
    }
    .popup-inner{
        width: 100%;
    }
    .pop-img-wrap{
        height: 200px;
    }
}

@media only screen and (max-width: 768px){
    .layered-popup{
        left:0px!important;
        top:66px!important;
        width: 100% !important;
        padding:0px!important;
    }
    .layered-popup img{
        width: 100%;
        /*height: 100vw;*/
    }
}

@media only screen and (max-width: 640px){
    .gallery .galleryList .item .img{
        height: 50vw;
    }
}