/* 分頁 */
.showPage > #page p {
    margin: 0
}

.showPage > #page {
    height: 60px;
    width: 550px;
    margin: 0 auto;
}

.showPage > #page a {
    display: block;
    float: left;
    margin-right: 10px;
    padding: 2px 12px;
    height: 35px;
    text-decoration: none;
    color: #FFF;
    font-size: 12px;
    line-height: 35px;
}

.showPage > #page a:hover {
    color: #077ee3;
    border: 1px #077ee3 solid;
}

.showPage > #page a.cur {
    border: none;
    background: #7fb808;
    color: #FFF;
    border: 1px solid #555;
}

.showPage > #page p {
    float: left;
    padding: 2px 12px;
    font-size: 12px;
    height: 35px;
    line-height: 35px;
    color: #FFF;
    margin-right: 8px;
}

.showPage > #page p.pageRemark {
    border-style: none;
    background: none;
    margin-right: 0px;
    padding: 4px 0px;
    color: #666;
}

.showPage > #page p.pageRemark b {
    color: red;
}

.showPage > #page p.pageEllipsis {
    border-style: none;
    background: none;
    padding: 4px 0px;
    color: #808080;
}

.showPage_enterprise > #page a {
    background: #FFFFFF;
    color: #555;
    border: 1px solid #CCC;
}

.showPage_enterprise > #page p {
    background: #FFFFFF;
    color: #555;
    border: 1px solid #CCC;
}

/* Hide file input */
.file {
    display: none !important;
}

/* Custom upload button appearance*/
.choose-file {
    cursor: pointer;
    z-index: 1;
    display: block;
    width: 100px;
    height: 100px;
    background: url(../images/add_item.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #CCC;
    border: 1px solid;
    border-style: dashed;
    position: relative;
}

.cancel-file {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 20px;
    height: 20px;
    font-size: 18px;
    text-align: right;
    color: #000;
}

.choose-file-requre {
    border-color: red;
}

.tips {
    color: red;
    font-size: 10px;
}


.table_file_position {
    margin-left: 180px
}

div.btn-group button a {
    color: #333;
}

.hide {
    display: none;
}

/* by 田 */
.img-wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
}

.img-wrap img {
    position: absolute;
    width: 100%;
}

.img-resize {
    width: 5rem;
    height: 5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

span.required {
    margin-left: 0.25rem;
    color: red;
}

.bg-gradient-liquid {
    background-image: url('../../assets/img/bg/blue_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50%;
}

.control-label {
    float: none;
    width: auto;
    padding-top: 0;
    text-align: left;
}

.td-word-break {
    word-break: break-all;
    min-width: 50px;
    max-width: 200px;
}

/* 圖片預覽 */
#file-input::-webkit-file-upload-button {
    visibility: hidden;
    user-select: none;
}

#file-input {
    display: none;
    user-select: none;
}

.image-container {
    width: 200px;
    height: 200px;
    /*margin-top: 100px;*/
    /*border: 0px solid blue;*/
    position: relative;
}

.image-container img {
    width: 200px;
    height: 200px;
    border-radius: 5%;
    object-fit: cover;
    object-position: center;
}

.image-container .button-remove {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: -10px;
    margin-right: -10px;
    color: red;
    width: 40px;
    height: 40px;
    background-color: #d2d6d3;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.image-container .button-remove:hover {
    background-color: red;
    color: white;
}

.upload_cover {
    position: relative;
    width: 12rem;
    height: 12rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 0;
    /*background: #efefef;*/
    /*border: 1px solid #595656;*/
}

#upload_input {
    display: none;
}

.upload_icon {
    font-weight: bold;
    font-size: 180%;
    position: absolute;
}

.delAvatar {
    position: absolute;
    right: 2px;
    top: 2px;
}

.btn-remove {
    position: absolute;
    top: 0;
    right: 0;
    border: 2px solid black;
    margin-top: -10px;
    margin-right: -10px;
    border-radius: 50%;
}

.btn-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    border: 2px solid black;
    margin-bottom: -2px;
    margin-left: -2px;
}