#assignModal > .modal-dialog{
	width: 280px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
}

.form-control::-webkit-input-placeholder { /* WebKit browsers */
    color: #aaaeb3 !important;
}
.form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #aaaeb3 !important;
}
.form-control::-moz-placeholder { /* Mozilla Firefox 19 */
    color: #aaaeb3 !important;
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10 */
    color: #aaaeb3 !important;
}
.nopadding {
    padding: 0px !important;
}

#modFrm .imageshowbox,
#addFrm .imageshowbox {
    width: 100%;
    display: inline-block;
}
#modFrm .imageshowbox > div,
#addFrm .imageshowbox > div {
    margin-bottom: 15px;
    float: left;
}
#modFrm .file-upload-input,
#addFrm .file-upload-input {
    width: calc(100% - 120px);
    height: 45px;
    border: 1px solid #d2d2d2;
    padding: 5px 15px;
    transform: translateY(1px);
    margin-bottom: 8px;
    border-radius: 4px;
    float: left;
}
#modFrm .file-upload-button,
#addFrm .file-upload-button {
    width: 90px;
    height: 45px;
    float: left;
    margin-left: 10px;
    background-image: linear-gradient(to bottom, #F3F3F3, #E5E5E5);
    border: none;
    color: #444444;
    cursor: pointer;
}
#modFrm .imageshowbox label[for="saleImages1"],
#modFrm .imageshowbox label[for="saleImages2"],
#modFrm .imageshowbox label[for="saleImages3"],
#modFrm .imageshowbox label[for="saleImages4"],
#modFrm .imageshowbox label[for="saleImages5"],
#addFrm .imageshowbox label[for="saleImages1"],
#addFrm .imageshowbox label[for="saleImages2"],
#addFrm .imageshowbox label[for="saleImages3"],
#addFrm .imageshowbox label[for="saleImages4"],
#addFrm .imageshowbox label[for="saleImages5"] {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
#modFrm .imageshowbox label.nonimage,
#addFrm .imageshowbox label.nonimage {
    background-color: #f1f1f1;
    width: 100%;
    border: 2px dashed #ccc;
}
#modFrm .imageshowbox label.nonimage:after,
#modFrm .imageshowbox label.nonimage:hover:after,
#modFrm .imageshowbox label.nonimage:focus:after,
#addFrm .imageshowbox label.nonimage:after,
#addFrm .imageshowbox label.nonimage:hover:after,
#addFrm .imageshowbox label.nonimage:focus:after {
    content: "上傳圖片";
    position: absolute;
    width: 100%;
    height: fit-content;
    text-align: center;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    margin: auto;
}
#modFrm .imageshowbox button.trush,
#addFrm .imageshowbox button.trush {
    padding: 10px 12px;
    position: absolute;
    z-index: 9;
    border-radius: 0px 0px 15px;
    border: none;
    box-shadow: 2px 2px 5px #000;
    color: #fff;
    background-color: #f44336;
    font-size: 16px;
    top: 0;
    left: 0;
    cursor: pointer;
}
#modFrm .imageshowbox label[for="saleImages1"],
#modFrm .imageshowbox label[for="saleImages2"],
#modFrm .imageshowbox label[for="saleImages3"],
#modFrm .imageshowbox label[for="saleImages4"],
#modFrm .imageshowbox label[for="saleImages5"],
#addFrm .imageshowbox label[for="saleImages1"],
#addFrm .imageshowbox label[for="saleImages2"],
#addFrm .imageshowbox label[for="saleImages3"],
#addFrm .imageshowbox label[for="saleImages4"],
#addFrm .imageshowbox label[for="saleImages5"] {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
#modFrm .imageshowbox label[for="saleImages1"]:not(.nonimage):hover:before,
#modFrm .imageshowbox label[for="saleImages2"]:not(.nonimage):hover:before,
#modFrm .imageshowbox label[for="saleImages3"]:not(.nonimage):hover:before,
#modFrm .imageshowbox label[for="saleImages4"]:not(.nonimage):hover:before,
#modFrm .imageshowbox label[for="saleImages5"]:not(.nonimage):hover:before,
#modFrm .imageshowbox label[for="saleImages1"]:not(.nonimage):focus:before,
#modFrm .imageshowbox label[for="saleImages2"]:not(.nonimage):focus:before,
#modFrm .imageshowbox label[for="saleImages3"]:not(.nonimage):focus:before,
#modFrm .imageshowbox label[for="saleImages4"]:not(.nonimage):focus:before,
#modFrm .imageshowbox label[for="saleImages5"]:not(.nonimage):focus:before,
#addFrm .imageshowbox label[for="saleImages1"]:not(.nonimage):hover:before,
#addFrm .imageshowbox label[for="saleImages2"]:not(.nonimage):hover:before,
#addFrm .imageshowbox label[for="saleImages3"]:not(.nonimage):hover:before,
#addFrm .imageshowbox label[for="saleImages4"]:not(.nonimage):hover:before,
#addFrm .imageshowbox label[for="saleImages5"]:not(.nonimage):hover:before,
#addFrm .imageshowbox label[for="saleImages1"]:not(.nonimage):focus:before,
#addFrm .imageshowbox label[for="saleImages2"]:not(.nonimage):focus:before,
#addFrm .imageshowbox label[for="saleImages3"]:not(.nonimage):focus:before,
#addFrm .imageshowbox label[for="saleImages4"]:not(.nonimage):focus:before,
#addFrm .imageshowbox label[for="saleImages5"]:not(.nonimage):focus:before {
    content: "";
    background-color: rgba(255,255,255,.5);
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    left: 0;
    right: 0;
    padding-top: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}
#modFrm .imageshowbox label[for="saleImages1"]:not(.nonimage):hover:after,
#modFrm .imageshowbox label[for="saleImages2"]:not(.nonimage):hover:after,
#modFrm .imageshowbox label[for="saleImages3"]:not(.nonimage):hover:after,
#modFrm .imageshowbox label[for="saleImages4"]:not(.nonimage):hover:after,
#modFrm .imageshowbox label[for="saleImages5"]:not(.nonimage):hover:after,
#modFrm .imageshowbox label[for="saleImages1"]:not(.nonimage):focus:after,
#modFrm .imageshowbox label[for="saleImages2"]:not(.nonimage):focus:after,
#modFrm .imageshowbox label[for="saleImages3"]:not(.nonimage):focus:after,
#modFrm .imageshowbox label[for="saleImages4"]:not(.nonimage):focus:after,
#modFrm .imageshowbox label[for="saleImages5"]:not(.nonimage):focus:after,
#addFrm .imageshowbox label[for="saleImages1"]:not(.nonimage):hover:after,
#addFrm .imageshowbox label[for="saleImages2"]:not(.nonimage):hover:after,
#addFrm .imageshowbox label[for="saleImages3"]:not(.nonimage):hover:after,
#addFrm .imageshowbox label[for="saleImages4"]:not(.nonimage):hover:after,
#addFrm .imageshowbox label[for="saleImages5"]:not(.nonimage):hover:after,
#addFrm .imageshowbox label[for="saleImages1"]:not(.nonimage):focus:after,
#addFrm .imageshowbox label[for="saleImages2"]:not(.nonimage):focus:after,
#addFrm .imageshowbox label[for="saleImages3"]:not(.nonimage):focus:after,
#addFrm .imageshowbox label[for="saleImages4"]:not(.nonimage):focus:after,
#addFrm .imageshowbox label[for="saleImages5"]:not(.nonimage):focus:after {
    content: "更換圖片";
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    height: fit-content;
    margin: auto;
}

.imgbox-1-1 {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    right: 0;
    background-position: center;
}