﻿/*#em-feature-comments*/
#comments-popup-container {
    position: absolute;
    top: 108px;
    /*top: 0;*/
    /*left: 0;*/
    bottom: 0;
    right: 0;
    right: 55px;
    z-index: 999999;
    display: flex;
    /*justify-content: center;*/
    pointer-events: none;
}

em-feature-comments {
    /*position: absolute;
    top: 0;
    left: 0;*/
    /*position: absolute;
    right: 485px;
    top: 0;*/

}
/*.comments-container {
    position: absolute;
    top: 0;
    left: 0;
}*/

#em-feature-comments{
    font-family: 'asap';
    font-size: 15px;
}

.comments-close-button {
    background-image: url(../img/new-x.svg);
    background-repeat: no-repeat;
    background-size: 10px;
    position: absolute;
    z-index: 1;
    width: 12px;
    height: 12px;
    right: 8px;
    top: 9px;
    cursor: pointer;
}

.comments-title {
    width: 402px;
    position: absolute;
    top: 0;
    left: 0;
    /*width: 100%;*/
    height: 30px;
    z-index: 1;
    /*opacity: 0.3;*/
    transition: all 0.3s ease-out;
    /*background: #464646;*/
    cursor: move;
    margin: 0;
    border-bottom: 1px #d0d0d05f solid;
}

/*.comments-title:hover{
    opacity: 0.8;
}*/

#comments-popup {
    height: 735px;
    max-height: 735px;
    height: fit-content;
    width: 402px;
    background-color: white;
    overflow: hidden;
    text-align: left;
    pointer-events: auto;
    border-radius: 4px;
}

.add-comment-container {
    width: 392px;
    /*height: 100px;*/
    background: #EDEDED;
    padding: 5px;
    padding-top: 15px;
}

.comments-view-container {
    background-color: #EDEDED;
    padding: 5px;
    max-height: 70vh;
    overflow-y: auto;
}

.comments-selector-left-part {
    margin-left: 6px;
}
.comments-view-container.adding-comment-open{
    max-height: calc(70vh - 187px);
}
.comment-view.root-comment-view {
    background-color: white;
    margin-top: 10px;
    padding: 15px;
    border: 2px solid transparent;
    position: relative;
    background-image: linear-gradient(180deg,#FAEDD0 0%, #FAEDD0 6px, rgba(255,255,255,1) 6px, rgba(255,255,255,1) 100%);
    background-repeat: no-repeat;
    background-clip: padding-box;
}

.subcomment-view {
    margin-top: 0px;
    padding: 15px;
    background-color: white;
    border: 2px solid transparent;
    background-clip: padding-box;
}

/*the first child is the title*/
comment-view:nth-child(2) .comment-view.root-comment-view {
    margin-top: 0;
}


/*we don't use :hover because we want those 2 unrelated divs to have the hover effect at the same time
    (when hover on either both are considered as hovered)
*/
.is-hovered .comment-view.root-comment-view {
    /*background-color: orange;*/
    border: 2px solid #f7b11a
}
/*.comment-indicator.is-hovered, .comment-indicator.existing-comment.is-hovered {
    background-color: orange;
}*/
.adding-comment-form {
    background-color: white;
    padding: 19px;
}

.comment-view .adding-comment-form {
    padding: 0px;
}

.send-cancel-container {
    display: flex;
    justify-content: flex-end;
}


.comments-indicator-overlay-container {
    /*width: 100vw;
    height: 100vh;*/
    /*coppied from #slide-box because we want to perfectly align with it */
    width: 1920px;
    height: 1080px;
    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    /*background: red;*/
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    /*opacity: 0.6;*/
    pointer-events: none;
}

.comments-indicator-overlay-container.placing-comment-indicator {
    pointer-events: auto;
    /*background-color: green;*/
    background-color: #33333380;
    cursor: crosshair;
}

.comment-indicator {
    width: 25px;
    height: 25px;
    background-color: #F7B11A;
    top: 20%;
    left: 20%;
    transform: translate(-50%, -50%);
    position: absolute;
    border-radius: 100%;
    pointer-events: auto;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
    align-items: center;
    box-sizing: border-box;
    padding-top: 2px;
}
.comment-indicator.new-comment-indicator {
    background-color: #ffe09a;
}



.comment-list-selector-container {
    margin-top: 30px;
    background-color: white;
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

.set-position-button {
    width: 18px;
    height: 18px;
    background-color: unset;
    border: none;
    outline: none;
    background-image: url('../img/pinpoint-location.svg');
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
}


.set-position-button:hover {
    background-image: url('../img/pinpoint-location-hover.svg');
}
.attatch-comment-files {
    width: 20px;
    height: 27px;
    cursor: pointer;
    background-image: url('../img/add-attatchment.svg');
    background-size: contain;
    background-repeat: no-repeat;
    letter-spacing: 2.35px;
    color: #444444;
    font-size: 13px;
    padding-left:12px;
}
.attatch-comment-files:hover{
    background-image: url('../img/add-attatchment-hover.svg');

}
.attatch-comment-files input {
    visibility: hidden;
    width: 0px;
    height: 0px;
}

.adding-comment-form textarea {
    resize: none;
    width: 325px;
    height: 93px;
    border: 1px solid #444444;
    border-radius: 4px;
    font-family: 'Asap';
    padding: 5px;
    font-size:15px;
}
.new-comment-files {
    margin-bottom: 10px;
}
.comment-without-slide {
    margin-top: 15px;
}


button.cancel-button {
    width: 94px;
    height: 28px;
    background: none;
    border: none;
    outline: none;
    border: 1px solid transparent;
    letter-spacing: 0px;
    color: #F7B11A;
    text-transform: uppercase;
    font-family: 'asap-bold';
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    background-color: white;

}

    button.cancel-button:hover {
        border-color: #F7B11A;
    }

button.send-button {
    width: 94px;
    height: 28px;
    background: none;
    border: none;
    outline: none;
    letter-spacing: 0px;
    background-color: #F7B11A;
    text-transform: uppercase;
    font-family: 'asap-bold';
    font-size: 14px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
}

button.send-button:hover {
    background-color: #EAA81B;
}
button.open-add-comment-btn {
    background: none;
    width: 106px;
    height: 22px;
    border: none;
    outline: none;
    border: 1px solid #F7B11A;
    letter-spacing: 0px;
    color: #F7B11A;
    text-transform: uppercase;
    font-family: 'asap-bold';
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 7px;
}

button.open-add-comment-btn:hover {
    background-color: #F7B11A;
    color: white;
}

button.delete-comment-button {
    width: 12px;
    height: 14px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    background-image: url(../img/delete.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
button.delete-comment-button:hover {
    background-image: url(../img/delete-hover.svg);
}

button.comment-resolved-button {
    width: 13px;
    height: 14px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    background-image: url(../img/resolved.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

button.comment-resolved-button:hover,
button.comment-resolved-button.is-resolved
{
    background-image: url(../img/resolved-active.svg);
}


button.comment-highlight-button {
    width: 13px;
    height: 14px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    background-image: url(../img/highlight.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

button.comment-highlight-button:hover,
button.comment-highlight-button.is-hilighted {
    background-image: url(../img/highlight-active.svg);
}

button.comment-highlight-button.is-hilighted:hover {
    background-image: url(../img/highlight.svg);
}

.under-comment-buttons {
    display: flex;
    justify-content: flex-end;
}

.under-comment-buttons div {
    margin-left: 8px;
}
.add-reply-button {
    background-color: transparent;
    border: none;
    outline: none;
    font-family: 'asap-bold';
    letter-spacing: 2.35px;
    font-size: 15px;
    margin-top: 10px;
    cursor: pointer;
}

.comment-footer {
    padding-top: 5px;
    margin-top: 10px;
    border-top: 1px solid #CCCCCC;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    /* this direction allows the left side to "deisapear" without
        offeseting the other buttons */
    flex-wrap: wrap;
}
.comment-footer-text {
    width: 100%;
    font-family: 'asap-italic';
    font-size: 12px;
    letter-spacing: 1.56px;
    color: #5F5F5F;
}

.comment-footer-text div {
    margin-bottom: 7px;
}

.no-slide-comments {
    text-align: center;
    background-color: white;
    height: 300px;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    letter-spacing: 1.88px;
    color: #AAAAAA;
    font-family: 'asap';
    font-size: 12px;
}

.no-slide-comments-bg {
    background-image: url(../img/no-comments-bg.svg);
    width: 88px;
    height: 81px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.commenter-photo-container {
}

.commenter-profile-img {
    border-radius: 23px;
    width: 39px;
    height: 39px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.commenter-info-container {
    display: flex;
}

.comment-mini-indicator {
    width: 19px;
    height: 19px;
    background-color: #F7B11A;
    border-radius: 100%;
    color: white;
    pointer-events: auto;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
    align-items: center;
    padding-top: 3px;
    box-sizing: border-box;
}
.comment-without-slide .comment-mini-indicator {
    display: none;
}

.commenter-name {
    margin-bottom: 5px;
    letter-spacing: 2.35px;
    color: #000000DE;
    font-family: 'asap-bold';
    font-size: 15px;
}
.comment-date {
    letter-spacing: 1.72px;
    color: #AAAAAA;
    font-size: 11px;
}


.comment-body {
    letter-spacing: 2.35px;
    color: #000000;
    font-size: 15px;
    line-height: 23px;
}

.existing-files {
    display: flex;
    justify-content: space-between;
    background-color: #FAEDD0;
    padding: 6px;
    margin-bottom: 3px;
    padding-left: 20px;
    background-image: url('../img/attatchment.svg');
    background-repeat: no-repeat;
    background-position: 4px 5px;
}

.comment-file-name {
    letter-spacing: 0px;
    color: #444444;
    font-family: 'asap-bold';
    font-size: 10px;
    width: calc(100% - 46px);
    text-overflow: ellipsis;
    overflow-x: clip;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
}

.existing-files a {
    text-decoration: none;
    letter-spacing: 0px;
    color: #444444;
    font-size: 10px;
    font-family: 'Asap';
    width: 46px;
}


.comment-without-slide .comment-mini-indicator {
    display: none;
}

.comment-slide-title {
    padding: 4px 14px;
    font-family: 'asap-bold';
    letter-spacing: 2.19px;
    color: #5F5F5F;
    font-size: 14px;
    background-color: #FAD583;
    position: relative;
}

.comment-slide-title.with-arrow:after {
    content: ' ';
    width: 10px;
    height: 6px;
    position: absolute;
    background-image: url('../img/comments-arrow.svg');
    background-size: cover;
    background-repeat: no-repeat;
    right: 10px;
    top: 7px;
}

.remove-comment-file {
    background-color: transparent;
    background-image: url('../img/attatchment-x.svg');
    width: 9px;
    height: 9px;
    cursor: pointer;
    border: none;
    outline: none;
    background-repeat: no-repeat;
}

.comment-slide-title.with-arrow.arrow-collapsed:after {
    transform: rotate(-90deg);
}



#open-comments-editor-block {
    position: absolute;
    right: 10px;
    top: 176px;
    width: 40px;
    height: 35px;
    margin: 0;
    padding: 0;
    z-index: 9998;
    overflow: visible;
}

#open-comments-editor-block .open-comments {
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    width: 100%;
    background-image: url(../img/comments-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 29px 27px;
    background-color: #404041;
    /* opacity: 0.8; */
    cursor: pointer;
}


#open-comments-editor-block .open-comments.comments-are-open {
    background-image: url(../img/comments-icon-hover.svg);
}


#open-comments-editor-block .open-comments:after {
    content: '';
    display: block;
    position: absolute;
    left: 100%;
    top: 0;
    width: 10px;
    height: 100%;
    background-color: #404041;
}


.confirm-deletion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000000CC;
    right: 0;
    bottom: 0;
    display: flex;
    align-content: space-around;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.deletion-main-message {
    color: white;
    font-family: 'asap-bold';
    font-size: 12px;
    letter-spacing: 1.88px;
    height: 35px;
    width: 280px;
    text-align: center;
    line-height: 20px;
}

.deletion-sub-message {
    color: white;
    font-family: 'asap';
    font-size: 12px;
    letter-spacing: 1.88px;
    height: 35px;
    width: 280px;
    text-align: center;
    line-height: 16px;
}


/* make scrollbar emaze-style. We could specify to only "#em-feature-comments *..."  but
    we intend to set this for all scrollbars anyway
*/
/*Scroll bar*/
::-webkit-scrollbar {
    width: 5px !important;
    height: 8px !important;
}

/* Track */
::-webkit-scrollbar-track {
    background: #a9a9a9 !important;
}

::-webkit-scrollbar-thumb {
    background: #F6B11A !important;
}

/*for firefox*/
* {
    scrollbar-width: thin !important;
    scrollbar-color: #F6B11A #a9a9a9 !important;
}


/*Shape loop pulse*/
.comment-indicator.is-hovered.existing-comment {
    -webkit-animation: shape-pulse 1.5s infinite ease-in-out alternate;
    animation: shape-pulse 1.5s infinite ease-in-out alternate;
}
/*The translate is so we don't remove the original, 
    and we also need to compensate for the change caused by scale*/
@-webkit-keyframes shape-pulse {
    25% {
        -webkit-transform: scale(0.8) translate(-60%, -60%);
    }

    75% {
        -webkit-transform: scale(1.2) translate(-40%, -40%);
    }
}

@-moz-keyframes shape-pulse {
    25% {
        -moz-transform: scale(0.8) translate(-60%, -60%);
    }

    75% {
        -moz-transform:scale(1.2) translate(-40%, -40%);
    }
}

@-ms-keyframes shape-pulse {
    25% {
        -ms-transform: scale(0.8) translate(-60%, -60%);
    }

    75% {
        -ms-transform:scale(1.2) translate(-40%, -40%);
    }
}

@keyframes shape-pulse {
    25% {
        transform: scale(0.8) translate(-60%, -60%);
    }

    75% {
        transform:scale(1.2) translate(-40%, -40%);
    }
}
