@charset "utf-8";

/* secFile */
.secFile{
    position: relative;
    width: 504px;
}
.secFile .fileUpload{
    position: relative;
    height: auto;
    text-align: center;
    display: none;
    border: 1px dashed #d2d2d2;
    padding: 20px 10px;
    font-size: 0;
    line-height: 1;
}
.secFile .fileUpload.show{
    display: flex;
    justify-content: space-between;
}
.secFile .fileUpload:nth-child(n+2){
    margin-top: 10px;
}
.secFile .dropArea{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.secFile .inputFile{
    position: relative;
    z-index: 3;
    display: block;
    opacity: 0;
}
.secFile .inputFile:hover{
    cursor: pointer;
}
.secFile .inputFile,
.secFile .btnUpload{
    width: 150px;
    height: 45px;
    cursor: pointer;
}
.secFile .btnUpload{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    background: #007bc3;
    border-radius: 23px;
    position: absolute;
    z-index: 2;
    transition: opacity 0.2s ease-out;
}
.secFile .inputFile:hover + .btnUpload{
    opacity: 0.8;
}
.secFile .boxTxtFile{
    width: calc(100% - 150px);
    font-size: 14px;
    line-height: 1.5;
    padding: 0 10px;
    display: flex;
    align-items: center;
}
.secFile .txtFile{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #007bc3;
}
.txtFileTmp{display: none;}
.secFile .txtFile a{
    color: #007bc3;
}
.secFile .btnAddFile{
    width: 150px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7890a4;
    border-radius: 23px;
    margin: 20px 0 0 auto;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: opacity 0.2s ease-out;
}
.secFile .btnAddFile span{
    position: relative;
    display: inline-block;
    padding-left: 10px;
}
.secFile .btnAddFile span::before{
    position: absolute;
    content: '+';
    margin: auto;
    display: block;
    top: 0;
    bottom: 0;
    left: -6px;
}
.secFile .btnAddFile:hover{
    opacity: 0.8;
}
@media only screen and (max-width:767px){
    .secFile{
        width: 100%;
    }
    .secFile .fileUpload{
        height: auto;
        padding: 3%;
    }
    .secFile .fileUpload.show {
        flex-direction: column;
    }
    /* .secFile .fileUpload.selected{
        padding-top: 60px;
    } */
    .secFile .inputFile,
    .secFile .btnUpload {
        height: 40px;
    }
    .secFile .inputFile{
        width: 100%;
    }
    .secFile .btnUpload{
        width: 94%;
    }
    .secFile .boxTxtFile{
        width: 100%;
        height: auto;
        display: block;
        font-size: 12px;
        padding: 0;
        background: none;
        text-align: center;
        margin-top: 10px;
    }
    .secFile .btnAddFile{
        height: 40px;
        font-size: 12px;
        margin: 15px 0 0 auto;
    }
}

.secFileCo .fileLink{
    color: #007bc3;
}