﻿body {
    margin: 0;
    padding: 0;
    background: #404040;
    font-family: 'Lato', sans-serif;
}

.image-area {
    max-width: 1100px;
    margin: 0 auto;
    /*    box-shadow: 1px 5px 5px #eee;
    position: absolute;
    left: 0;
    right: 0;*/
    /*overflow: scroll;
            min-height: 100vh;*/
}

    .image-area #img-print {
        min-width: 100%;
        min-height: 100vh;
        background-repeat: no-repeat;
        background-size: 100% auto;
        display: block;
        margin: 0 auto;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 99;
        cursor: pointer;
    }

.mark-point {
    height: 12px;
    width: 12px;
    background: #141fe0;
    border-radius: 50%;
    border: var(--bx-w) solid #fff;
    box-shadow: 0 0 0 2px #141fe0;
    z-index: 999;
    position: absolute;
    cursor: pointer;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(0, 31, 224, 0.4);
        box-shadow: 0 0 0 0 rgba(0, 31, 224, 0.4);
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(0, 31, 224, 0);
        box-shadow: 0 0 0 10px rgba(0, 31, 224, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(0, 31, 224, 0);
        box-shadow: 0 0 0 0 rgba(0, 31, 224, 0);
    }
}

@keyframes pulse-red {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(223, 9, 89, 0.4);
        box-shadow: 0 0 0 0 rgba(223, 9, 89, 0.4);
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(223, 9, 89, 0);
        box-shadow: 0 0 0 10px rgba(223, 9, 89, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(223, 9, 89, 0);
        box-shadow: 0 0 0 0 rgba(223, 9, 89, 0);
    }
}

@keyframes pulse-green {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(22, 152, 76, 0.4);
        box-shadow: 0 0 0 0 rgba(25, 155, 51, 0.4);
    }

    70% {
        -moz-box-shadow: 0 0 0 10px rgba(22, 152, 76, 0);
        box-shadow: 0 0 0 10px rgba(22, 152, 76, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(22, 152, 76, 0);
        box-shadow: 0 0 0 0 rgba(22, 152, 76, 0);
    }
}

.mark-point.active {
    background: #df0959;
    box-shadow: 0 0 0 2px #df0959;
    animation: pulse-red 2s infinite !important;
}

.mark-point:not(.active):hover {
    background: #16984c;
    box-shadow: 0 0 0 2px #16984c;
    animation: pulse-green 2s infinite !important;
}

.mark-point.show {
    background: #16984c;
    box-shadow: 0 0 0 2px #16984c;
    animation: pulse-green 2s infinite !important;
}


.new-mark-text {
    width: 400px;
    max-width: 100%;
    background: #fff;
    padding: 10px;
    padding-top: 1px;
    box-shadow: 0 0 5px 2px #cccccc;
    position: relative;
    z-index: 1000;
    display: none;
    border-radius: 5px;
}

    .new-mark-text p {
        color: #df0959;
        font-weight: bold;
        font-family: arial;
        font-size: 12px;
        letter-spacing: .5px;
    }

.new-mark-text {
    user-select: none !important;
}

    .new-mark-text textarea {
        width: 100%;
        resize: vertical;
        border: 2px #e9e9e9 solid;
        padding: 10px;
        display: block;
        transition: all .3s ease-in-out;
        min-height: 150px;
        max-height: 150px;
    }

        .new-mark-text textarea:focus {
            border-color: #ffd3e3;
        }

    .new-mark-text button {
        background: #df0959;
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 5px 10px;
        display: inline-block;
        margin-top: 10px;
        cursor: pointer;
        transition: all .3s ease-in-out;
    }

        .new-mark-text button:hover {
            background: #f45691;
        }

    .new-mark-text span.close {
        float: right;
        color: #c6c5c5;
        font-weight: bold;
        font-size: 20px;
        cursor: pointer;
        font-family: arial;
    }


.mark-text-view {
    width: 400px;
    max-width: 100%;
    background: #fff;
    padding: 10px;
    padding-top: 1px;
    box-shadow: 0 0 5px 2px #cccccc;
    position: relative;
    z-index: 1000;
    display: none;
    border-radius: 5px;
}

    .mark-text-view p {
        color: #444;
        font-family: arial;
        font-size: 13px;
        letter-spacing: .5px;
        text-align: justify;
        max-height: 300px;
        overflow: auto;
    }

    .mark-text-view span.close {
        float: right;
        color: #c6c5c5;
        font-weight: bold;
        font-size: 20px;
        cursor: pointer;
        font-family: arial;
    }

    .mark-text-view b.hd {
        display: block;
        color: #16984c;
        font-family: arial;
        font-size: 15px;
        margin-top: 5px;
    }

    .cm textarea {
        width: 100%;
        resize: vertical;
        border: 2px #e9e9e9 solid;
        padding: 10px;
        display: block;
        transition: all .3s ease-in-out;
        min-height: 150px;
        max-height: 150px;
    }

        .cm textarea:focus {
            border-color: #16984c40;
        }

    .mark-text-view button, .cm button {
        background: #df0959;
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 5px 10px;
        display: inline-block;
        margin-top: 10px;
        cursor: pointer;
        transition: all .3s ease-in-out;
    }

#btn-edit {
    background: #ff9b43;
}

.btn-save {
    background: #16984c !important;
}
.btn-cancel {
    background: #fba02a !important;
}

.mark-text-view hr {
    border: none;
    border-bottom: .5px solid #d7d7d7;
}

#point {
    position: relative;
    left: 0;
    right: 0;
    margin: 0;
    height: 0px;
}

/*.posi {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 0px;
}*/
.canvas-container {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 1100px;
    height: 100vh;
    overflow: hidden;
}

.map-img {
    width: 750px;
    height: 100vh;
    overflow: scroll;
    border-left: 1px solid #dbdbdb;
    scrollbar-color: #5481b0 #fff;
    scrollbar-width: thin;
    background: #fff;
    position: relative;
}

    .map-img::-webkit-scrollbar {
        height: 12px;
        width: 5px;
        background: #fff;
    }

    .map-img::-webkit-scrollbar-thumb {
        background: #5481b0;
        -webkit-border-radius: 1ex;
    }

.comment-box {
    background: #eee;
    height: 100vh;
    width: 350px;
    border-left: 1px solid #dbdbdb;
    padding: 15px;
}

    .comment-box #inbox {
        height: calc( 100vh - 70px );
        overflow: auto;
        scrollbar-color: #ddd #fff;
        scrollbar-width: thin;
    }

        .comment-box #inbox::-webkit-scrollbar {
            height: 12px;
            width: 5px;
            background: #fff;
        }

        .comment-box #inbox::-webkit-scrollbar-thumb {
            background: #ddd;
            -webkit-border-radius: 1ex;
        }

    .comment-box h2 {
        margin: 0 0 10px 0;
        color: #4e5051;
    }

    .comment-box .cm {
        background: white;
        box-shadow: 1px 1px 1px #cecece;
        margin-bottom: 7px;
        padding: 10px;
        border-radius: 6px;
        color: #404040;
        letter-spacing: .1px;
    }

        .comment-box .cm p {
            margin: 0;
        }

        .comment-box .cm.active {
            border: 1px solid #16984c;
        }

        .comment-box .cm .ic {
            display: none;
        }

        .comment-box .cm.active .ic {
            text-align: right;
            display: block !important;
            margin-top:10px;
            padding-top:10px;
            border-top:1px solid #ddd;
        }

            .comment-box .cm.active .ic i {
                display: inline-block;
                margin-left: 10px;
                cursor: pointer;
            }
                .comment-box .cm.active .ic i.del {
                    color: #f44152;
                }
                .comment-box .cm.active .ic i.edt {
                    color: #28a878;
                }
            .comment-box .cm p {
                white-space: normal;
                word-break: break-all;
            }
