
/* fa icon related (only including icons being used) */
.NE-chat-popup .fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}
.NE-chat-popup .fa-commenting {
	width: 32px;
	height: 32px;
	background: url(../Themes/Nest/NE_chat_head.png);
	background-size: 100% 100%;
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

/* .NE-chat-popup .fa-spinner:before {
    content: "\f110"
} */

/* cloned existing styles (so module is standalone) */
.NE-chat-popup,
.NE-chat-popup a,
.NE-chat-popup div,
.NE-chat-popup i,
.NE-chat-popup img,
.NE-chat-popup label,
.NE-chat-popup li,
.NE-chat-popup p,
.NE-chat-popup span{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: normal;
    font-family: inherit;
    text-decoration: none;
    -webkit-text-size-adjust: none;
    -ms-interpolation-mode: bicubic
}
.NE-chat-popup {
    outline: none;
    /* font-family: 'Open Sans', Helvetica, Arial, sans-serif; */
    font-family: 'DM Sans','Open Sans', Helvetica, Arial, sans-serif;
    line-height: 0.36;
}
.NE-chat-popup ::-webkit-input-placeholder {
    color: #b3b3b3;
}
.NE-chat-popup :-moz-placeholder {
    color: #b3b3b3;
}
.NE-chat-popup ::-moz-placeholder {
    color: #b3b3b3;
}
.NE-chat-popup :-ms-input-placeholder {
    color: #b3b3b3;
}
.NE-chat-badge.color-red {
    /* background: rgba(204, 0, 0, 1); */
}

.NE-chat-popup.not-proactive.is-collapsed {
    width: 56px;
    height: 56px;
    position: fixed;
    right: 16px;
    bottom: 16px;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    -webkit-box-shadow: 0px 3px 10px rgb(0 0 0 / 50%);
    -moz-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
    -ms-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 3px 10px rgb(0 0 0 / 50%);
}
.NE-chat-popup.not-proactive.is-collapsed .NE-chat-header.not-proactive {
    width: 100%;
    height: 100%;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.NE-chat-popup.not-proactive.is-collapsed .agent-icon {
    width: 56px;
    height: 56px;
    background: #242332;
    margin: 0;
    background-size: contain;
    border-radius: 50%;
    position: relative;
}
.NE-chat-popup.not-proactive.is-collapsed .agent-icon .fa-user:before {
    content: '';
    width: 32px;
    height: 32px;
    /* background: url('../Nest/images/icons/NE_chat_head@2x.png'); */
    background-size: 100% 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.NE-chat-popup.not-proactive.is-collapsed .NE-chat-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
}
.NE-chat-popup.not-proactive.is-collapsed.is-agent-offline {
    filter: alpha(opacity=50);
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.NE-chat-popup.not-proactive.is-collapsed .NE-chat-badge.color-red {
    background: rgba(204, 0, 0, 1);
    width: 8px;
    height: 8px;
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    padding: 0 2px;
    border-radius: 50%;
}

/* keyframe animations */
@keyframes pulse {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

/* chat specific */
dialog.NE-chat-popup {
    padding: 0;
    width: 340px;
    display: none;
    min-width: 283px;
    /* 320 */
    max-width: 736px
        /*temp val*/
    ;
    /* 340 */
    position: fixed;
    right: 17px;
    bottom: 17px;
    left: unset;
    z-index: 125;
    /*ridiculous value, but needed to handle z-index mess on corp site*/
    border: none;
    border-radius: 4px 4px 3px 3px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    /* box-shadow: 0 1px 10px rgba(255, 255, 255, 0.5 */
    background-color: #f4f5f7;
}
dialog.NE-chat-popup[ open] {
    display: block;
}
/* dialog.NE-chat-popup .NE-chat-header a.NE-close-chat */
/* dialog.NE-chat-popup .NE-chat-header a.NE-close-chat::before  */
/* dialog.NE-chat-popup .NE-chat-header .NE-chat-agent-name */
/* dialog.NE-chat-popup:not(.is-closed) .NE-chat-header::before */
/* dialog.NE-chat-popup:not(.is-closed) .NE-chat-header::before {
    content: '';
    width: 216px;
    height: 60px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: url('../../Nest/images/icons/chat_header_background.png');
    background-size: 100% 100%;
} */
dialog.NE-chat-popup .NE-chat-header a.closed-icon,
dialog.NE-chat-popup .NE-chat-header .closed-icon.mobile-icon {
    display: none;
    width: 60px;
    height: 60px;
    font-size: 32px;
    line-height: 56px;
}
dialog.NE-chat-popup .NE-chat-header .agent-icon .NE-chat-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 2px;
}
dialog.NE-chat-popup .NE-chat-header .agent-icon .fa-user {
    display: none;
    font-size: 22px;
    text-align: center;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* collapsed state */
dialog.NE-chat-popup.is-collapsed {
    height: auto;
    bottom: 0;
}

/* closed state */
dialog.NE-chat-popup.is-closed {
    position: fixed;
    top: auto;
    right: 17px;
    bottom: 17px;
    left: auto;
    display: block;
    width: auto;
    min-width: 60px;
    height: auto;
    border-radius: 30px;
    background-color: transparent;
}

dialog.NE-chat-popup.is-closed .NE-chat-header {
    padding: 0;
    border-radius: 30px;
    /* background-color: #242332; */
    background: #242332;
    border: 1px solid transparent;
}
dialog.NE-chat-popup.is-closed .NE-chat-header:hover {
    background: #302E3E;
}
dialog.NE-chat-popup.is-closed .NE-chat-header .closed-icon {
    display: inline-block;
    text-align: left;
    width: 60px;
    border-radius: 40px 0 0 40px;
    cursor: pointer;
}



@media screen and (max-width: 767px) {
    dialog.NE-chat-popup {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        height: auto;
        border-radius: 0;
    }
    dialog.NE-chat-popup {
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
    }
    dialog.NE-chat-popup .NE-chat-header {
        z-index: 10;
        border-radius: 0;
    }
    dialog.NE-chat-popup.is-collapsed .NE-chat-header .closed-icon.mobile-icon {
        display: block;
    }
    dialog.NE-chat-popup.is-collapsed .NE-chat-header:not(.no-name) .closed-icon.mobile-icon {
        position: absolute;
        top: 0;
        left: 0;
    }
	
    dialog.NE-chat-popup.is-closed {
        min-width: 60px;
    }
}
