.diary-note{
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 3px solid #efefef;
    padding: 20px;
    margin: 0 auto;
}
.photo-upload{
    position: relative;
    width: 100%;
    height: 160px;
    line-height: 70px;
    border-radius: 5px;
    background-color: #fafafa;
    padding-top: 20px;
    margin: 0 auto 10px;
}
.photo-upload::after{
    position: absolute;
    text-align: center;
    content: '+';
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    color: white;
    background-color: #147fe4;
}
.diary-write{
    width: 100%;
}
.diary-write input{
    width: 100%;
    border-radius: 5px;
}
.diary-btn{
    width: 120px;
    height: 50px;
    border: 0;
    border-radius: 5px;
    color: white;
    background-color: #147fe4;
    margin-top: 20px;
}
.diary-note input[type='text']{
    border: 1px solid #eaeaea;
    padding: 10px;
    height: 55px;
    line-height: 55px;
    width: 100%;
    border-radius: 5px;
}
.diary-note input[type='radio']{
    display: none;
}
.diary-note input[type="radio"] + label span{
    display: inline-block;
    vertical-align: bottom;
}
.diary-note input[type="radio"]:checked + label span{
    border: 1px solid #147fe4;
}
.diary-note input[type="radio"]:checked + label span em{
    background-color: #147fe4;
}
.diary-note .reservation-div{
    margin-top: 20px;
    margin-bottom: 0;
}
.diary-note .reservation-div h6::before{
    display: none;
}
.diary-note .reservation-form{
    justify-content: center;
}
.diary-note .reservation-form .input-radio:last-child{
    margin-right: 0;
}
#file-list{
    margin-bottom: 20px;
}
#file-list img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: 1;
}
#file-list .file-item{
    position: relative;
    width: 31%;
    float: left;
    margin: 1%;
    padding-bottom: 31%;
}
#file-list .file-item .close-btn{
    position: absolute;
    color: red;
    cursor: pointer;
    top: 10px;
    right: 10px;
    background-color: white;
    padding: 1px;
    text-align: center;
    border-radius: 20px;
    z-index: 2;
}

.diary-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.dm-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: auto;
    padding: 40px;
    background-color: #fff;
}

.dm-tit {
    font-size: 24px;
    font-weight: 800;
}

.dm-subtit {
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
}

.dm-img {
    margin-top: 30px;
    width: 100%;
    height: 30vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.diary-close {
    background-color: transparent;
    position: absolute;
    top: 40px;
    right: 40px;
    border: none;
    outline: none !important;
}
.diary-delete{
    background-color: #bf4058;
    display: block;
    color: #fff;
    border: none;
    margin: 30px auto 0;
    width: 200px;
    height: 44px;
}
.dm-img img{
    max-height: 30vh;
    object-fit: contain;
}