/*added new */

.modal.Umb_chatmodal {
    z-index: 9999;
}

.Umb_chatmodal .modal-dialog {
    position: absolute !important;
    right: 10px;
    bottom: 10px;
    margin: 0 !important;
    width: 300px !important;
}
#error-msg{
    color: red;
    font-family: 'Roboto';
    margin: 15px 5px 10px 20px;
	font-size: 12px
}
#comment{
margin-bottom:5px !important;
}
.chat-init {
    background: #65b846 !important;
    border-color: #65b846 !important;
    font-size: 16px !important;
}

.chat-init:hover, .chat-init:active, .chat-init:focus {
    color: #fff;
    background-color: #7DCF2E;
    border-color: #7DCF2E;
    outline: none;
}

.glyphicon-comment {
    font-size: 20px;
    top: 5px;
}

.Umb_chatmodal .modal-content {
    background: #fafcf7;
    border-radius: 12px;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: 2px solid #c3ecb2;
    padding-bottom: 5px;
}

.Umb_chatmodal .modal-header {
    background: #8ec63f;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 8px 15px;
}

.Umb_chatmodal .modal-title {
    color: #FFF;
}

button.close {
    color: #FFF;
    opacity: 0.8;
    border-radius: 4px;
    position: relative;
    left: -10px;
}

.close:focus, .close:hover {
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=100);
    opacity: 1;
}

.Umb_chatmodal .modal-body {
    background: #fafcf7;
    padding: 0;
}

.Umb_chatmodal {
    button.endchat {
        margin-left: 10px;
    }
}

.msg-wrap {
    padding: 15px;
}

.btn {
    font-size: 14px;
}

.btn-ClosechatFromUmbraco {
    padding: 7px 14px;
    background-color: #65b846;
    font-size: 12px;
    border-radius: 4px;
}

.btn-ClosechatFromUmbraco:hover {
    background-color: #65b846;
    opacity: 0.9;
}


.Umb_chatmodal .modal-footer {
    border-top: 0;
    background: #fafcf7;
}

.form-group {
    display: inline-block;
    width: 100%;
}

/* Chat box styles */
.Umb-chat-container {
    margin-bottom: 10px;
}

.date {
    font-size: 12px;
    font-style: normal !important;
    color: #aaaaaa;
}

/* Incoming chat */
.me .Umb-chat-message-area {
    border: 2px solid #ced8ca;
    background-color: #dcebd6;
    border-radius: 5px;
    padding: 10px;
    /*margin: 10px 0;*/
    width: 80%;
    float: left;
}

.you .Umb-chat-message-area {
    border: 2px solid #aba7a8;
    background-color: #FFFFFF;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    width: 85%;
    float: left;
}

.mychatmessage .messagebody_holder {
    text-align: right;
}

.otherchatmessage .messagebody_holder {
    text-align: left;
}

.messagebody_holder .media-heading {
    color: #61a504;
    margin-bottom: 8px;
}

medium.messageBody {
    color: #3f413e;
    word-wrap: anywhere;
    font-size: 14px;
}

/* Clear floats */
.Umb-chat-container::after {
    content: "";
    clear: both;
    display: table;
}

/* Style images */
.Umb-chat-container img {
    float: left;
    max-width: 60px;
    width: 100%;
    margin-right: 20px;
    border-radius: 50%;
    margin-top: 8px;
}

    /* Style the right image */
    .Umb-chat-container img.right {
        float: right;
        margin-left: 20px;
        margin-right: 0;
        margin-top: 15px;
        display: none;
    }

/* Style time text */
.time-right {
    float: right;
    color: #aaa;
}

/* Style time text */
.time-left {
    float: left;
    color: #999;
}

.message-box {
    margin-top: 20px;
    padding: 0 15px;
}

    .message-box textarea {
        border: 2px solid #b3b5b0;
        resize: none;
    }

        .message-box textarea:focus {
            border: 2px solid #a7a9a5;
        }

#RegisterModal input {
    border: 2px solid #b3b5b0;
    border-radius: 2px;
}

    #RegisterModal input:focus {
        border: 2px solid #a7a9a5;
    }

/* New Chat area elements from team page */
.msg {
    margin-bottom: 0px;
}

    .msg a.pull-left {
        display: none;
    }

    .msg img {
        float: left;
        max-width: 60px;
        width: 100%;
        margin-right: 20px;
        border-radius: 50%;
        margin-top: 8px;
    }

    .msg .otherchatmessage {
        /*border: 2px solid #ced8ca;*/
        background-color: #f0f0f0;
        border-radius: 5px;
        padding: 10px;
        /*margin: 10px 0;*/
        width: 80%;
        float: left;
    }

    .msg .mychatmessage {
        /*border: 2px solid #aba7a8;*/
        background-color: transparent;
        border-radius: 5px;
        padding: 10px;
        /*margin: 10px 0;*/
        width: 85%;
        float: right;
    }

.required_sign {
    color: red;
    display: none;
    position: absolute;
    left: 5px;
    top: -2px;
}

.frame_wrapper {
    /*padding: 15px; Unecessary - not needed */
    padding-bottom: 0;
}



/* end*/

* {
    box-sizing: border-box;
}

.btn {
    border-radius: 6px;
}

/* Button: To open the chat to initiate the Chat window */
button.open-button {
    background-color: #FFFFFF !important;
    color: #1D251D;
    padding: 13px 20px;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 15px;
    right: 10px;
    font-size: 16px !important;
    z-index: 1;
    font-family: "Roboto", Arial, sans-serif;
    box-shadow: 0px 4px 5px rgb(0 0 0 / 20%);
    border-radius: 55px;
    line-height: 19px;
    font-weight: 700;
}

.open-button span.glyphicon {
    font-size: 18px;
    line-height: 15px;
    position: relative;
    top: 5px;
}

button.open-button:hover, .open-button:focus, .open-button:active {
    color: #1D251D !important;
    opacity: 0.9;
}

button.close, button.endchat {
    color: #1D251D;
    opacity: 1;
    position: relative;
    font-size: 14px;
    background: no-repeat;
    border: none;
    float: right;
    font-weight: bold;
    border-radius: 4px;
    outline: none;
}

.Umb_chatmodal button.endchat {
    margin-left: 10px;
}

button.endchat {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
}

button.close:hover, .button.close:focus, .button.close:active {
    color: #1D251D;
    opacity: 0.9;
}

.chat-popup {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0px 2px 6px rgb(0 0 0 / 35%);
    border-radius: 10px;
}

.form-container {
}

.chat-header {
    background: #FFFFFF;
    padding: 25px;
    padding-bottom: 0;
    border-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #1D251D;
    border: 0;
    border-bottom: 0;
}

.chat-title {
    font-size: 14px;
    color: #1D251D !important;
    font-weight: 300;
    margin-bottom: 0;
    margin-top: 0;
}

.chat-body {
    padding: 25px;
    padding: 20px;
    border: 0;
    background: #FFFFFF;
    border-bottom: 0;
    border-top: 0;
}

#myForm2 .chat-body {
    padding: 0;
}

.chat-body input {
    font-size: 13px;
    border-radius: 2px;
}

.chat-body textarea {
    border-radius: 6px;
}

::-webkit-input-placeholder { /* Edge */
    font-size: 14px;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-size: 14px;
}

::placeholder {
    font-size: 14px;
}

.chat-footer {
    padding: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 0;
    border-top: 0;
    text-align: right;
    background: #FFFFFF;
    padding-top: 0;
}

#myForm1 .chat-footer {
    /*padding-top: 52px;*/
    padding-top: 0;
    background: #FFFFFF;
}

.form-container textarea {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
    resize: none;
    min-height: 200px;
}

.form-container textarea:focus {
    background-color: #ddd;
    outline: none;
}

button.btn-startChat {
    background-color: #1D251D;
    border: none;
    padding: 10px 20px;
    color: #FFFFFF;
    font-size: 14px;
    border-radius: 40px;
}

button.btn-startChat:hover, .btn-startChat:focus, .btn-startChat:active {
    color: #FFFFFF !important;
    opacity: 0.9;
    outline: none;
}


button.chat-close, 
.chat-close:hover, 
.chat-close:focus, 
.chat-close:active {
    border: none;
    outline: none;
    background-color: #9FAB9F;
    color: #ffffff !important;
    position: relative;
    margin-right: 10px;
    box-shadow: none !important;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
}

/* Chat window 2 */
button.btn-sendMessage {
    background-color: #1D251D;
    color: #ffffff;
    position: relative;
    margin-right: 0;
    box-shadow: none !important;
    font-size: 14px;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    border-radius: 40px !important;
}

.btn-sendMessage:hover, .btn-sendMessage:focus, .btn-sendMessage:active, .btn-sendMessage:active:focus {
    box-shadow: none;
    border-color: #1D251D !important;
    background-color: #1D251D !important;
    opacity: 0.9;
    color: #fafafa !important;
}

button.btn-ClosechatFromUmbraco {
    padding: 10px 25px;
    background-color: #65b846;
}

    button.btn-ClosechatFromUmbraco:hover {
        background-color: #65b846;
        opacity: 0.9;
    }

.required_sign {
    display: none;
}

/* Bootstrap overrides */
.form-group {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
}

/* Old CSS */
/* Chat box styles */
.Umb-chat-container {
    margin-bottom: 10px;
}

.date {
    font-size: 12px;
    font-style: normal !important;
}

/* Incoming chat */
.me .Umb-chat-message-area {
    border: 2px solid #ced8ca;
    background-color: #dcebd6;
    border-radius: 5px;
    padding: 10px;
    /*margin: 10px 0;*/
    width: 80%;
    float: left;
}

.you .Umb-chat-message-area {
    border: 2px solid #aba7a8;
    background-color: #FFFFFF;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    width: 85%;
    float: left;
}

.mychatmessage .messagebody_holder {
    text-align: right;
}

.otherchatmessage .messagebody_holder {
    text-align: left;
}

.messagebody_holder .media-heading {
    color: #61a504;
    margin-bottom: 8px;
}

medium.messageBody {
    color: #3f413e;
}

/* Clear floats */
.Umb-chat-container::after {
    content: "";
    clear: both;
    display: table;
}

/* Style images */
.Umb-chat-container img {
    float: left;
    max-width: 60px;
    width: 100%;
    margin-right: 20px;
    border-radius: 50%;
    margin-top: 8px;
}

    /* Style the right image */
    .Umb-chat-container img.right {
        float: right;
        margin-left: 20px;
        margin-right: 0;
        margin-top: 15px;
        display: none;
    }

/* Style time text */
.time-right {
    float: right;
    color: #aaa;
}

/* Style time text */
.time-left {
    float: left;
    color: #999;
}

.message-box {
    margin-top: 20px;
    padding: 0 15px;
    width: 100%;
}


.form-container input[type="text"],
.form-container input[type="tele"],
.form-container input[type="email"],
.form-container textarea {
    height: 40px;
    min-height: 40px;
    border: 1px solid #9A9A9A;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #fff;
    box-shadow: none;
    line-height: 25px;
    width: 100%;
    padding-left: 15px;
    border-radius: 40px;
    color: #9A9A9A;
}

.Umb_chatmodal textarea {
    height: auto !important;
    padding: 15px;
    resize: none;
    box-shadow: none;
    width: 100%;
    border-radius: 40px;
    border: 1px solid #9A9A9A !important;
    background-color: #fff;
    box-shadow: none;
    font-size: 14px;
}

.form-container input:focus {
    border: 2px solid #a7a9a5;
}

/* New Chat area elements from team page */
.msg {
    margin-bottom: 0px;
}

    .msg img {
        float: left;
        max-width: 60px;
        width: 100%;
        margin-right: 20px;
        border-radius: 50%;
        margin-top: 8px;
    }

.internal {
    /*border: 2px solid #ced8ca;*/
    background-color: #eee5e6;
    border-radius: 5px;
    padding: 10px;
    /*margin: 10px 0;*/
    width: 80%;
    float: left;
}

.external {
    /*border: 2px solid #aba7a8;*/
    background-color: transparent;
    border-radius: 5px;
    padding: 15px;
    /*margin: 10px 0;*/
    width: 85%;
    float: right;
    text-align: right;
    margin-bottom: 20px;
    padding-right: 0;
}

.Chat-box {
    min-height: 220px;
    height: 220px;
    overflow-x: auto;
    padding: 0 15px;
    width: 100%;
}

.internal .salutation {
    color: #61a504;
    margin-bottom: 5px;
}

/* 02112019 */
.Umb_chatmodal .modal-header .close {
    margin-right: 10px;
    margin-top: 3px;
}
/* 01172022 - BCERT.io specific */
button.open-button span, button.btn-sendMessage span {
    opacity: 1;
    position: relative;
}
button.btn-sendMessage {
    border-radius: 4px;
}
button.btn-sendMessage .glyphicon {
    top: 2px;
}
.pull-right.time {
    font-size: 10px;
}
.pull-right.time i:before {
    font-size: 16px;
    position: relative;
    top: 2px;
    margin-left: 3px;
}
.pull-right.time i.date:before {
    margin-right: 5px;
}
.pull-right.time i.fa, i.before {
    margin-right: 0;
}
button.close {
    left: 0;
}
@media screen and (max-width: 360px) {
    .chat-popup {
        right: 0px !important;
        bottom: 0px !important;
    }
}
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
        