.border_box {
    display: none;
}

.text-red {
    font-size: 14px;
    color: red;
    font-weight: 400;
    margin: 100px 0 20px 0;
}

.table_detail {
    border: 1px solid black;
}

.table_detail tr td {
    border: 1px solid black;
}

.table_detail .overview_title {
    font-weight: bold;
}

#preview_error .alert-danger {
    background: #f2dede none repeat scroll 0 0;
    color: #a94442;
}

#preview_error .alert {
    border: 1px solid #fff;
    border-radius: 5px;
    margin: 50px auto;
    padding: 15px;
    width: 1100px;
    font-weight: bold;
}

.img-loading {
    z-index: 99999;
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    display: none;
    background-color: #b3b3b3;
    top: 0;
}

.img-loading img {
    position: absolute;
    top: 45%;
    left: 46.5%;
}

.text_file_name {
    width: 282px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.td-content {
    max-width: 500px;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: unset;
    width: 300px;
}


.table-data-scroll tbody {
    display: block;
    overflow: auto;
    max-height: 300px;
    width: 100%;
}

.table-data-scroll thead tr {
    display: block;
}

.title-inner {
    margin-left: 10px;
    font-weight: 500;
    font-size: 16px;
}

.image-upload-wrapper input[type="file"] {
    display: none;
}

.image-upload-wrapper .imageRegis .upload {
    background: #fff;
    color: #000;
}

.image-upload-wrapper .api-image {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 25px;
    row-gap: 5px;
    flex-wrap: wrap;
}

.image-upload-wrapper .api-image ~ .api-image {
    margin-top: 10px;
}

.image-upload-wrapper .api-image .subtitle, .image-upload-wrapper .api-image .long-subtitle , .image-upload-wrapper .api-image .long-subtitle-radio {
    min-width: 75px;
    margin-top: 8px;
}

.image-upload-wrapper .Appeal-text,
.image-upload-wrapper .imageRegis {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.image-upload-wrapper .Appeal-text {
    max-width: 205px;
    width: 100%;
}

.image-upload-wrapper .imageRegis {
    max-width: 475px;
    width: 100%;
}

.image-upload-wrapper .Appeal-text input {
    flex: 100%;
    font-size: 12px;
    height: 36px;
    margin: 0;
}

.image-upload-wrapper .imageRegis label {
    margin: 0;
    height: 36px;
    line-height: 20px;
    box-sizing: border-box;
    padding: 8px 12px;
}

.image-upload-wrapper .imageRegis .btn-delete {
    font-size: 16px;
    line-height: 18px;
    color: #eb0000;
    text-decoration: underline;
    text-underline-offset: 0.1em;
    cursor: pointer;
    border: none;
    padding: 0;
}

.disabled-no-opacity {
    opacity: 0;
    cursor: default;
    pointer-events: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.image-upload-wrapper .api-image .custom-text-validate {
    flex: 100%;
    font-weight: normal;
    word-break: break-all;
    white-space: normal;
    margin-left: 110px;
}

.image-upload-wrapper .api-image .custom-text-validate:empty {
    display: none;
}

.image-upload-wrapper .text_file_name {
    max-width: 240px;
    height: 36px;
    box-sizing: border-box;
    padding: 8px 12px;
}

.btn-submit {
    width: 65px;
    height: 33px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    background: #1B9FDE;
    cursor: pointer;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    margin-left: 109px;
    line-height: 33px;
}

.tag-wrapper .select-tag, .line-wrapper .select-line {
    display: flex;
    align-items: center;
    column-gap: 23px;
}

.tag-wrapper select, .line-wrapper select {
    width: 100%;
    max-width: 200px;
    height: 36px;
    cursor: pointer;
}

.custom-select {
    background: #ffffff url("../img/icon_arrow_down.png") top right no-repeat;
    background-size: auto 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.add-tag, .add-line {
    height: 36px;
    width: 36px;
    position: relative;
    background: #2284B2;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.add-tag:before,
.add-tag:after,
.add-line:before,
.add-line:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 100vmax;
    background: #fff;
}

.add-tag:before, .add-line:before {
    width: 18px;
    height: 2px;
}

.add-tag:after, .add-line:after {
    height: 18px;
    width: 2px;
}

.selected-tags, .selected-lines {
    margin-top: 12px;
    margin-left: 109px;
    display: flex;
    column-gap: 8px;
    row-gap: 5px;
    flex-wrap: wrap;
}

.selected-tags:empty, .selected-lines:empty {
    margin: 0;
}

.selected-tags .tag, .selected-lines .line {
    background: #2284B2;
    color: #fff;
    font-size: 14px;
    padding: 0 20px;
    border-radius: 18px;
    word-break: break-all;
}

.selected-tags .tag:hover, .selected-lines .line:hover {
    cursor: pointer;
}

.selected-tags .tag input, .selected-lines .line input {
    display: none;
}

/* Dialog */

.ui-widget-overlay.custom-overlay {
    background-color: #000;
    opacity: 0.8;
}

.ui-dialog-titlebar {
    display: none;
}

.ui-dialog {
    z-index: 2;
    border: 0;
}

.close-btn {
    height: 20px;
    width: 20px;
    position: relative;
    background: transparent;
    border: 0;
    cursor: pointer;
    margin: 0 0 0 auto;
}

.close-btn:before,
.close-btn:after {
    content: '';
    position: absolute;
    border-radius: 100vmax;
    background: #7B7B7B;
    margin: auto;
    width: 18px;
    height: 4px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.close-btn:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);

}

.close-btn:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.add-tag-dialog, .add-line-dialog {
    margin: 15px 20px;
    border: 0;
}

.add-tag-dialog p, .add-line-dialog p {
    text-align: left;
    margin-bottom: 7px;
    font-size: 14px;
}

.add-tag-dialog input, .add-line-dialog input {
    padding: 10px 12px;
    border: 1px solid #7B7B7B;
    font-size: 14px;
}

.add-tag-dialog .btn-submit , .add-line-dialog .btn-submit {
    margin: 15px auto;
}

.delete-image-dialog,
.delete-tag-dialog,
.delete-line-dialog {
    margin: 15px 20px;
    border: 0;
}

.delete-image-dialog .btn-wrapper,
.delete-tag-dialog .btn-wrapper,
.delete-line-dialog .btn-wrapper {
    display: flex;
    margin: 15px auto;
    column-gap: 10px;
}

.btn-cancel,
.btn-confirm {
    width: 110px;
    height: 32px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel {
    background: #999;
    color: #fff;
}

.btn-confirm {
    color: #fff;
    background: #1B9FDE;
}

.dialog-content {
    display: none;
}

.confirm-dialog {
    margin: 15px 20px;
    border: 0;
}

.confirm-dialog p {
    text-align: center;
    margin-bottom: 7px;
    font-size: 14px;
}

.confirm-dialog .btn-wrapper {
    display: flex;
    margin: 15px auto;
    column-gap: 10px;
}

#tag_form .custom-text-validate, #line_form .custom-text-validate {
    margin-left: 110px;
    margin-top: 10px;
}

.preview table tr th,
.preview table tr td {
    font-size: 14px;
}

.introduction-wrapper .content {
    display: flex;
    column-gap: 23px;
    align-items: center;
    margin-top: 10px;
}

.introduction-wrapper .content:nth-child(2) {
    margin-top: 0;
}

.introduction-wrapper .content.textarea-field {
    align-items: flex-start;
}

.introduction-wrapper .content.textarea-field .subtitle, .introduction-wrapper .content.textarea-field .long-subtitle-radio {
    margin-top: 3px;
}

.introduction-wrapper .content .subtitle, .introduction-wrapper .content .long-subtitle, .introduction-wrapper .content .long-subtitle-radio {
    margin-top: 3px;
    white-space: nowrap;
    min-width: 85px;
}

.introduction-wrapper .content input,
.introduction-wrapper .content textarea {
    width: 100%;
    margin: 0;
}

.introduction-wrapper .content textarea {
    resize: vertical;
}

#introduction_form .custom-text-validate {
    margin-top: 5px;
    margin-left: 110px;
}

#newmark_flag[type="checkbox"]:not(:checked) + label:after,
#newmark_flag[type="checkbox"]:checked + label:after,
#recommend[type="checkbox"]:not(:checked) + label:after,
#recommend[type="checkbox"]:checked + label:after {
    top: 0.24em;
    left: 0.08em;
}

#newmark_flag[type="checkbox"] + label:hover:before,
#newmark_flag[type="checkbox"]:not(:checked) + label:before,
#newmark_flag[type="checkbox"]:checked + label:before,
#recommend[type="checkbox"] + label:hover:before,
#recommend[type="checkbox"]:not(:checked) + label:before,
#recommend[type="checkbox"]:checked + label:before {
    border-radius: 0;
    box-shadow: none;
    border-width: 1px !important;
}

#update_view_flag[type="checkbox"]:not(:checked) + label:after,
#update_view_flag[type="checkbox"]:checked + label:after {
    top: 0.24em;
    left: 0.08em;
}

#update_view_flag[type="checkbox"] + label:hover:before,
#update_view_flag[type="checkbox"]:not(:checked) + label:before,
#update_view_flag[type="checkbox"]:checked + label:before {
    border-radius: 0;
    box-shadow: none;
    border-width: 1px !important;
}

.datetime-input input {
    max-width: 200px;
}

.w-200 {
    max-width: 200px;
}

button.add_item {
    min-width: 110px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    line-height: 18px;
    cursor: pointer;
}

.item {
    display: inline-block;
}

.edit-template-btn button {
    align-items: end;
}

.partner-edit-template-btn button {
    align-items: center;
}

.template-btn, .add-lines-btn, .add-tags-btn, .add-gallery-type-btn {
    min-width: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-weight: bold;
    line-height: 25px;
    cursor: pointer;
    background: none;
    border: 0px;
    color: #0B09F0;
}

.template-btn:hover, .add-line-btn:hover, .add-tags-btn:hover, .add-gallery-type-btn:hover {
    font-weight: bolder;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.popup-kind-template, .popup-lines,  .popup-tags, .popup-gallery-types {
    position: relative;
    padding: 5px;
}

.template-kind-form-container, .lines-container, .tags-container, .gallery-types-container {
    padding: 5px;
    margin: 10px;
}

.popup-kind-template form, .popup-lines form, .popup-tags form, .popup-gallery-types form {
    width: 380px;
    margin-top: 20px;
    height: 330px;
    overflow: auto;
    overflow-x: hidden;
}

.popup-kind-template form ul, .popup-lines form ul,  .popup-tags form ul, .popup-gallery-types form ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    width: 380px;
}

.popup-kind-template form a, .popup-lines form a, .popup-tags form a, .popup-gallery-types form a {
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 25px;
    color: white;
    line-height: unset;
    justify-content: unset;
}

.popup-kind-template form a:hover, .popup-lines form a:hover,  .popup-tags form a:hover, .popup-gallery-types form a:hover  {
    background: #0f74a8;
}

.popup-kind-template form li, .popup-lines form li,  .popup-tags form li, .popup-gallery-types form li  {
    margin: 8px auto;
}

.popup-kind-template form li .kind-name, .popup-lines form li .line-name, .popup-tags form li .tag-name, .popup-gallery-types form li .gallery-type-name {
    width: 270px;
    line-height: 20px;
    font-size: medium;
}

.popup-kind-template form li button, .popup-lines form li button, .popup-tags form li button, .popup-gallery-types form li button  {
    margin-left: 8px;
    width: 45px;
    font-family: "Arial Black", arial-black;
    font-weight: bold;
    font-size: 15px;
    background: none;
    border: none;
    color: red;
    display: inline-block;
}

.popup-kind-template form li button:hover, .popup-lines form li button:hover, .popup-tags form li button:hover, .popup-gallery-types form li button:hover  {
    cursor: pointer;
}

.close-popup-kind-template, .close-popup-lines, .close-popup-tags, .close-popup-gallery-types  {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    background: none;
    border: none;
}

.close-popup-kind-template:hover, .close-popup-lines:hover, .close-popup-tags:hover, .close-popup-gallery-types:hover {
    color: red;
    font-weight: bolder;
    cursor: pointer;
}

.submit-kind-template-btn, .submit-lines-btn, .submit-tags-btn, .submit-gallery-type-btn {
    width: 155px;
    height: 35px;
    background: #1c9fdd;
    padding: 0;
    border-radius: 2px;
    border: 1px solid black !important;
    vertical-align: middle;
    font-size: 14px;
    color: #fff;
    -webkit-appearance: none;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}

.template-button-container .blue-btn {
    min-width: 110px;
    width: auto;
    padding: 0 13px;
}

.submit-kind-template-btn:hover, .submit-lines-btn:hover, .submit-tags-btn:hover, .submit-gallery-type-btn:hover {
    background: #0f74a8;
    cursor: pointer;
}

.template-button-container {
    display: flex;
    margin-bottom: 20px;
    padding: 0;
    justify-content: space-between;
}

.template-button-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kind-template-error, .lines-error, .tags-error, .gallery-type-error  {
    margin: 0 0 23px 0;
    text-align: left;
    color: red;
    padding-left: 25px;
}

.template-error {
    padding-left: 0;
    margin: 5px 0 23px 0;
    text-align: left;
    color: red;
}

.captcha {padding-bottom: 3%; padding-top: 3%; padding-left: 4.5%}
.factor-table {width: 240px !important;}
.factor-p {margin: 0 auto; padding: 2%; margin-bottom: 3%;}
.default-setting-btn, .add-lines-btn, .add-tags-btn, .add-gallery-type-btn {font-weight: bold; font-size: 17px; line-height: 25px; color: #0B09F0;}
.default-setting-btn:hover {text-decoration: underline;}
.partner-edit-template-btn {margin-top: 10px;}
.partner-default-set-buttons {display: flex; justify-content: space-between}

/*wb_6847*/
.lines-sub {margin-right: 57px;}
.m-auto {margin: auto;}
.m-a0 {margin: auto 0;}
.mt-10 {margin-top: 10px;}
.mt-25 {margin-top: 25px;}
.long-subtitle {display: inline-block; white-space: pre-line !important; width: 98px;}
.long-subtitle-radio {display: inline-block; white-space: pre-line !important; width: 85px;}
#intro-seller-area, #intro-sales-corporation-area {margin: 30px 0;}

.image-upload-btn {
    background-color: #1A76D2;
    color: white;
    border: 1px solid #4A4A4A;
    width: 200px;
    height: 34px;
    text-align: center;
    vertical-align: middle;
    line-height: 34px;
}

.image-upload-btn:hover {
    cursor: pointer;
    border: 1px solid black;
    background-color: #2284B2;
}

.preview-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 150px;
    max-height: 150px;
    margin-left: 109px;
}

.preview-logo img{
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.introduction-wrapper .content.pack-logo {
    display: flex;
    column-gap: 23px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.default-setting-btn:hover, .add-lines-btn:hover {
    text-decoration: underline;
}

.partner-default-set-buttons .t-left {display: flex;}

.column-items-box {
    display: flex; gap: 10px; flex-direction: column; flex-wrap: wrap;
}

.close-btn-box {width: 100%; height: 30px;}
.close-btn-box > button {float: right}

.intro-seller-area li:nth-child(odd) {
    background-color: #e6e6e6;
    width: 100%;
    padding: 20px;
    margin-left: -20px;
}

.intro_sales_corporation-area li:nth-child(odd) {
    background-color: #e6e6e6;
    width: 100%;
    padding: 20px;
    margin-left: -20px;
}

.intro-seller-area li:nth-child(even) {
    background-color: #d9d9d9;
    width: 100%;
    padding: 20px;
    margin-left: -20px;
}

.intro_sales_corporation-area li:nth-child(even) {
    background-color: #d9d9d9;
    width: 100%;
    padding: 20px;
    margin-left: -20px;
}

.close-pack-btn {
    color: red;
    background-color: unset;
    font-size: 20px;
    border: 1px solid red;
    border-radius: 4px;
    cursor: pointer;
}

.close-pack-btn:after{
    display: inline-block;
    content: "\00d7"; /* This will render the 'X' */
}

.select-gallery-type {
    border: solid 1px #ccc;
    width: 32%;
}

#hide-multiple-overview, #delete-multiple-overview {
    color: #1BAEBA;
    font-weight: bold;
}

.moveList .form-sort[multiple] .ui-sortable-helper {
    background: #1BAEBA;
    padding: 20px;
    color: #fff;
    font-weight: bold;
    box-sizing: border-box;
}

.moveList .form-sort[multiple] ul li:last-of-type {
    cursor: pointer;
}

.moveList .form-sort[multiple] ul li:not(:last-of-type) * {
    height: 32px;
    box-sizing: border-box;
}

.moveList .form-sort[multiple] ul li:not(:last-of-type) textarea {
    width: max-content;
    max-width: 380px;
    padding: 6px 5px;
}