/*** The new CSS reset - version 1.7.3 (last updated 7.8.2022) ***/

html {
    -webkit-auto-text-size-adjust: none;
}

@font-face {
    font-family: "HiraginoKakuGothicProN-W6";
    src: url("../fonts/Hiragino Kaku Gothic Pro W6.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "HiraginoKakuGothicProN-W3";
    src: url("../fonts/Hiragino Kaku Gothic Pro W3.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
}

*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg*, symbol*)) {
    all: unset;
    display: revert;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a,
button {
    cursor: revert;
    text-decoration: none;
    font-size: 14px;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
}

img {
    width: 100%;
    height: 100%;
}

table {
    border-collapse: collapse;
}

input,
textarea {
    -webkit-user-select: auto;
}

textarea {
    white-space: revert;
}

meter {
    -webkit-appearance: revert;
    appearance: revert;
}

::placeholder {
    color: unset;
}

:where([hidden]) {
    display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

:where([draggable="true"]) {
    -webkit-user-drag: element;
}

h1 {
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    display: block;
    width: 100%;
    margin: 24px auto;
    text-align: center;
}

h2 {
    background: #4a79f7;
    padding: 20px 0;
    text-align: center;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    color: white;
    margin-bottom: 40px;
}

.layout-main {
    width: auto;
    max-width: 1000px;
    margin: 0 auto;
    min-height: calc(100vh - 215px);
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    margin-left: 12px;
}

.list > ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.list > ul > li {
    width: 196px;
    margin: 0 0 20px;
}

.list > ul > li > a {
    display: block;
    padding: 12px;
    border-radius: 8px;
}

.list > ul > li > a:hover {
    background: #efefef;
    transition: 0.2s all;
}

a .box > .box__up > img {
    transition: 0.2s all;
    width: 100%;
    height: auto;
}

a:hover .box > .box__up > img {
    width: 110%;
    height: auto;
    transition: 0.2s all;
}

.box__up {
    position: relative;
    margin-bottom: 10px;
    display: block;
    line-height: 0;
    overflow: hidden;
    width: 172px;
    height: 172px;
    border-radius: 8px;
}

.box__up span {
    position: absolute;
    bottom: 0;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    left: 0;
    display: block;
    padding: 0 6px 7px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 12px;
}

.box__up span:before {
    content: "";
    display: inline-block;
    background: url(../img/checkmark-circle-outline.png) no-repeat 1px 5px;
    background-size: 12px;
    width: 18px;
    height: 17px;
    position: relative;
    top: 1px;
}

a .box__down {
    text-decoration: none;
    color: #353538;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

footer {
    padding: 24px 0;
    display: block;
    width: 100%;
    text-align: center;
}

small {
    font-size: 14px;
    color: gray;
}

.icon-folder:before {
    content: "";
    width: 20px;
    height: 16px;
    background: url(../img/folder-open.png) no-repeat;
    background-size: 20px;
    display: inline-block;
    position: relative;
    top: 3px;
    left: 0;
    margin-right: 8px;
}

.icon-image:before {
    content: "";
    width: 20px;
    height: 20px;
    background: url(../img/icon-image.png) no-repeat;
    background-size: 17px auto;
    display: inline-block;
    position: relative;
    top: 5px;
    left: 0;
    margin-right: 4px;
}

.icon-feather-camera:before {
    content: "";
    width: 20px;
    height: 18px;
    background: url(../img/icon-feather-camera.png) no-repeat;
    background-size: 20px auto;
    display: inline-block;
    position: relative;
    top: 2px;
    left: 0;
    margin-right: 6px;
}

.layout-main.detail {
    display: flex;
    border: 1px solid #efefef;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 1rem;
}

.layout-main.detail .col-left,
.layout-main.detail .col-right {
    width: 50%;
}

.layout-main.detail .col-right {
    padding-left: 20px;
}

.col-right section h3 {
    font-size: 16px;
}

.col-right section dl {
    display: flex;
    font-size: 14px;
    color: #353538;
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
}

.col-right section dl dt {
    width: 30%;
    padding-right: 10px;
}

.col-right section dl dd {
    width: 70%;
    font-weight: 600;
    word-break: break-word;
}

.col-left .wrap .image-button__container {
    margin-right: 20px;
    position: absolute;
    right: 0;
    bottom: 20px;
    display: flex;
    gap: 10px;
}

.rotate_button {
    color: #4a79f7;
    background: white;
    border-radius: 20px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    transition-duration: .3s;
}
.rotate_button:hover {
    background-color: rgb(243 243 255 / 1);
}

.rotate_button img, .expansion img {
    width: 24px;
    height: 24px;
    margin-right: 6px;
}

h3.icon-image,
h3.icon-feather-camera {
    margin: 0 0 20px;
}

h3.icon-image {
    margin-left: 4px;
}

/* ==========================================================================
   Remodal's custom
   ========================================================================== */

.remodal-wrapper {
    padding: 0;
}

.remodal {
    background: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.remodal-close {
    position: absolute;
    top: 20px;
    left: auto;
    right: 20px;
    display: block;
    overflow: visible;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
    text-decoration: none;
    border: 0;
    outline: 0;
    background: url(../img/icon-close.png) no-repeat;
    background-size: 30px;
}

.remodal-close:before {
    content: "";
}

.map-area iframe {
    width: 100%;
}

.title {
    margin-top: 0;
    padding: 21px;
    height: 63px;
    position: relative;
}

.folder-container footer,
.file-container footer {
    height: 48px;
    background: #ededed;
    font-size: 12px;
    color: #353538;
    display: flex;
    justify-content: center;
    align-items: center;
}

.folder-container header .back-icon,
.file-container header .back-icon {
    position: absolute;
    top: 12px;
    left: 32px;
    width: 40px;
    height: 40px;
}

.file-container .title {
    margin-bottom: 0;
}

.img-logo-wrapper {
    display: flex;
    padding: 18px 0;
    justify-content: center;
}

.img-logo-wrapper .img-logo {
    width: 210px;
    height: auto;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-family: HiraginoKakuGothicProN-W6;
    margin-bottom: 28px;
}

.pagination li {
    margin-right: 10px;
    line-height: 21px;
}

.pagination a {
    text-decoration: none;
    padding: 5px 10px;
    color: #4e4e52;
    transition: background-color 0.2s;
}

.pagination a:hover {
    color: #a1a1a2;
}

.pagination .active {
    color: #a1a1a2;
}

.pagination .disabled a,
.pagination .disabled {
    pointer-events: none;
    color: #a1a1a2;
}

.pagination .three-dot {
    position: relative;
}

.pagination .three-dot span {
    position: absolute;
    right: -3px;
    bottom: -6px;
}

.file-container .action-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    width: auto;
    max-width: 1000px;
    margin: 0 auto;
    gap: 8px;
}

.file-container .btn {
    height: 36px;
    padding: 6px 16px;
    border-radius: 8px;
    border: solid 1px #a1a1a2;
    background-color: #fff;
    color: #a1a1a2;
    font-size: 14px;
}

.file-container .content {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.file-container .btn:hover {
    cursor: pointer;
    background: #4a79f7;
    color: #ffffff;
}

.file-container .btn-icon-error {
    cursor: pointer;
    background: #4a79f7;
    color: #ffffff;
    border: none;
    border: solid 1px #4a79f7;
    margin-left: 0;
    height: auto;
}

.btn-bg-white {
    background: #fff !important;
    color: #4a79f7 !important;
}

.btn-bg-blue {
    background: #4a79f7 !important;
    color: #ffffff !important;
}

.file-container .btn-icon-error .content:before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 12px;
    margin-right: 5px;
    color: #fff;
    background: url(../img/emergency_pink.png) no-repeat;
    background-size: 14px;
}

.file-container .btn-icon-pdf .content:before {
    content: "";
    display: inline-block;
    width: 16.3px;
    height: 14px;
    margin-right: 5px;
    background: url(../img/pdf.png) no-repeat;
    background-size: 13px;
}

.file-container .btn-icon-pdf {
}

/* ==========================================================================
   Modal
   ========================================================================== */

.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

#error-model .modal-content {
    position: relative;
    width: 378px;
    height: 709px;
    background-color: #fff;
    padding: 40px 20px;
    border: 1px solid #ccc;
    margin: 145px auto 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 11;
}

#success-modal .success-content {
    position: relative;
    width: 378px;
    height: 209px;
    margin: 145px auto 0;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    text-align: center;
}

#error-model .modal-title {
    font-family: HiraginoKakuGothicProN-W6;
    font-size: 15px;
    margin-top: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #000000;
    font-weight: bold;
}

#error-model .modal-info {
    width: 72px;
    height: 12px;
    font-family: HiraginoKakuGothicProN-W6;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    float: right;
    color: #4a79f7;
}

#error-model .modal-form {
    padding-top: 16px;
    width: 100%;
}

#error-model .modal-form .modal-text {
    margin-top: 10px;
}

#error-model .modal-form .modal-text .input-text {
    font-family: HiraginoKakuGothicProN-W6;
    font-size: 15px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #000;
}

#error-model .modal-form .modal-text .input-icon {
    height: 10px;
    font-family: HiraginoKakuGothicProN-W6;
    font-size: 10px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #4a79f7;
}
#error-model .modal-form .modal-input {
    width: 330px;
    height: 40px;
    margin: 10px 0 0;
    padding: 12.6px 70.3px 11.4px 8px;
    border-radius: 8px;
    border: solid 1px #dadadd;
    background-color: #fff;
}

#error-model .modal-input::placeholder {
    color: #a1a1a2;
    font-size: 12px;
}

#error-model .modal-form .term-element {
    display: flex;
}

#error-model .modal-form .term-element .modal-checkbox {
    width: 16px;
    height: 16px;
    margin: 6px 8px 0 0;
    object-fit: contain;
}

#error-model .modal-form .term-element .modal-checkbox input {
    display: none;
}

#error-model .modal-form .term-element .modal-checkbox .circle-checkbox {
    position: relative;
}

#error-model .modal-form .term-element .modal-checkbox .circle-checkbox:before {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    border: solid 1px #dadadd;
    background-color: #fff;
    border-radius: 100%;
}

#error-model .privacy-wrapper {
    font-size: 14px;
    font-family: HiraginoKakuGothicProN-W3, serif;
}

.modal-checkbox input:checked ~ .circle-checkbox:before {
    background-color: #4a79f7 !important;
}

.modal-checkbox input:checked ~ .circle-checkbox:after {
    position: absolute;
    content: "";
    left: 6px;
    top: 4px;
    width: 4px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#error-model .modal-form .submit-button {
    width: 240px;
    height: 44px;
    margin: 32px 45px 0;
    border-radius: 8px;
    background-color: #4a79f7;
}

#error-model .modal-form .submit-button .text-button {
    font-family: HiraginoKakuGothicProN-W6;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    color: #fff;
    display: block;
}

/* CSS cho modal img */
.modal-img {
    text-align: center;
}

#error-model .modal-img .img-report {
    width: 40px;
    height: 40px;
}

#error-model .modal-form .modal-link2 {
    font-family: HiraginoKakuGothicProN-W3;
    font-size: 14px;
    text-align: left;
    color: #4a79f7;
}

.text-link2 {
    display: flex;
}

.editable-div {
    margin-top: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    min-height: 100px;
    width: 335px;
    height: 139px;
    display: block;
    max-height: 90%;
    overflow-y: auto;
    resize: none;
}

.confirm-button {
    width: 240px;
    height: 44px;
    background: #007bff;
    color: #fff;
    border: none;
    margin: 36px auto;
    border-radius: 8px;
    cursor: pointer;
    display: block;
}
.text-color {
    color: #9e9ea0;
}

.close-button {
    position: absolute;
    top: 10px;
    font-size: 30px;
    color: #9e9ea0;
    right: 10px;
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.confirm-button[disabled] {
    background: #a3bcfd;
    cursor: not-allowed;
}

.modal-form .content-wrapper {
    margin-bottom: 30px;
    position: relative;
}

@media only screen and (min-width: 641px) {
    .remodal {
        max-width: 100vw;
        /* width: 100vw;
        height: 100vh; */
    }
}

@media only screen and (max-width: 640px) {
    .remodal {
        max-width: 100vw;
        /* width: 100vw;
        height: 100vh; */
        /* overflow: scroll; */
        position: fixed;
        left: 0;
    }

    .layout-main.detail {
        display: block;
    }
    .layout-main.detail .col-left,
    .layout-main.detail .col-right {
        width: 100%;
    }

    .layout-main.detail .col-left {
        margin-bottom: 20px;
    }
    .layout-main.detail .col-right {
        padding-left: 0;
    }
    .col-left .wrap img {
        position: static;
    }

    .pagination li.item {
        display: none;
    }

    .pagination .three-dot {
        padding-left: 10px;
    }

    .pagination .item:first-child,
    .pagination .item:nth-child(2),
    .pagination .item:nth-last-child(1),
    .pagination .item:last-child,
    .pagination .item.active,
    .pagination .item.disabled {
        display: block;
    }

    .folder-container header .back-icon,
    .file-container header .back-icon {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 24px;
        height: 24px;
    }

    #error-model .modal-content {
        position: relative;
        width: 335px;
        height: 669px;
        padding: 24px;
        border-radius: 8px;
        box-shadow: 0 3px 14px 0 rgba(0, 0, 0, 0.16);
        background-color: #fff;
        margin: 72px auto;
        z-index: 11;
    }

    #error-model .modal-form .modal-input {
        width: 287px;
        height: 40px;
        font-size: 12px;
    }

    #error-model .editable-div {
        width: 287px;
        height: 139px;
        margin: 12px 0 0;
        font-size: 14px;
    }

    #error-model .privacy-wrapper {
        text-overflow: ellipsis;
        max-width: 89%;
        white-space: nowrap;
        overflow: hidden;
    }

    .confirm-button {
        margin: 24px auto;
    }

    #success-modal .success-content {
        width: 335px;
    }
}

@media only screen and (min-width: 641px) and (max-height: 400px) {
    #error-model .modal-content {
        margin: 72px auto;
    }
}

.char-count {
    position: absolute;
    right: 0;
    bottom: -30px;
    color: #a1a1a2;
    font-size: 12px;
}

@media (max-width: 767px) {
    .remodal-close {
        width: 30px;
        height: 30px;
        background-size: 30px;
        right: 50px;
        top: 50px;
    }
}

.img-success {
    width: 80px;
    height: 80px;
}

.success-span {
    margin-top: 24px;
    font-family: HiraginoKakuGothicProN-W6;
    font-size: 15px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #000;
}

.file-container .btn-disable {
    background: rgb(128, 128, 128) !important;
}
#imageToRotate {
    object-fit: contain;
}
.wrap {
    background-color: #EFEFEF;
}
.rotate-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.rotate-buttons button {
    padding: 8px 16px;
    background-color: #4a79f7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.rotate-buttons button:hover {
    background-color: #355dc0;
}
.expansion {
    color: #4a79f7;
    background: white;
    border-radius: 20px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition-duration: .3s;
}
.expansion:hover {
    background-color: rgb(243 243 255 / 1);
}
@media only screen and (max-width: 767px) {
    .time-relation-button__container, .button-flex__container {
        gap: 8px;
    }
    .time-relation-prev, .time-relation-next {
        width: 65px;
    }
}

.item .logo {
    position: absolute;
    z-index: 10;
    right: 1.25rem;
    top: 1.25rem;
    width: 26px;
    height: auto;
}

.col-left .wrap img.logo {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    width: 64px;
    height: auto;
}

.file-container .btn.time-relation-prev .content:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    color: #a1a1a2;
    background: url(../img/prev.png) no-repeat;
    background-size: 18px;
}

.file-container .btn.time-relation-next .content:after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 5px;
    color: #a1a1a2;
    background: url(../img/next.png) no-repeat;
    background-size: 18px;
}
.time-relation-button__container, .button-flex__container{
    display: flex;
    gap: 28px;
}
.time-relation-prev, .time-relation-next {
    height: 100%;
    display: inline-block;
    color: #a1a1a2;
    width: 100px;
}

@media only screen and (max-width: 767px) {
    .time-relation-button__container, .button-flex__container {
        gap: 16px;
    }
    .time-relation-prev, .time-relation-next {
        width: 65px;
    }
}

