/*************************************************
STYLE - EMT CHAT
*************************************************/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

#marca input:-webkit-autofill,
#marca input:-webkit-autofill:hover,
#marca input:-webkit-autofill:focus #marca input:-webkit-autofill,
#marca textarea:-webkit-autofill,
#marca textarea:-webkit-autofill:hover #marca textarea:-webkit-autofill:focus,
#marca select:-webkit-autofill,
#marca select:-webkit-autofill:hover,
#marca select:-webkit-autofill:focus {
    border: 0px solid silver;
    -webkit-text-fill-color: grey;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: 0 0 0px #00000052;
    border: none;
}

#marca p {
    margin: 0px 0px 10px !important;
}

* {
    font-family: 'Open Sans', sans-serif;
}

.emt-input-group input::placeholder {
    color: #616161;
}

a {
    text-decoration: none;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*** Lanzador del chat ***/

.emt-btn-init {
    position: fixed;
    height: 60px;
    right: 10px;
    bottom: 15px;
    z-index: 100;
}
div#btn_init>.emt-btn-init-container {
    position: absolute;
    right: 3%;
    top: 0;
    width: 60px;
    height: 60px;
}
.emt-btn-init-container>div {
    width: 50px;
    height: 50px;
    margin: auto;
    background-image: linear-gradient(#ffe900, #f4981a);
    border-radius: 50px 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    cursor: pointer;
}
.emt-btn-init-container>div:before {
    position: absolute;
    content: "Chat en línea";
    width: 0px;
    height: 27px;
    right: 15px;
    z-index: -1;
    border: 2px solid #f4981a;
    font-weight: 600;
    padding: 3px 15px;
    border-radius: 50px;
    color: #3975e8;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: .5s;
    opacity: 0;
    font-size: 0px;
}
.emt-btn-init-container>div:hover:before {
    opacity: 1;
    width: 124px;
    font-size: 14px;
}
.emt-btn-init-container>div>div {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50px;
    margin: 0 2px;
}
.emt-btn-init-container>div:hover {
    border-radius: 50px;
}

/*** Contenedor principal ***/

.emt-containment-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -8000;
}

.emt-container-chat {
    position: fixed;
    bottom: 2%;
    right: 1.5%;
    width: 370px;
    height: 600px;
    border-radius: 5px;
    overflow: auto;
    background-color: #fff;
    box-shadow: 0 2px 4px rgb(0 0 0 / 7%), 0 8px 16px rgb(0 0 0 / 7%);
    border: 1px solid #dbdcdf;
    z-index: 10002;
    animation-name: fadestart;
    animation-duration: .5s;
    font: menu;
}

@keyframes fadestart {
    0% {
        right: -400px;
        opacity: 0;
    }
    100% {
        right: 1.5%;
    }
}

.emt-container-chat-out {
    position: fixed;
    bottom: 2%;
    right: 1.5%;
    width: 350px;
    height: 520px;
    border-radius: 3px;
    background-color: #ffffff;
    box-shadow: 0 0 10px -7px;
    z-index: 10002;
    right: -400px !important;
    animation-name: fadeout;
    animation-duration: .5s;
}

@keyframes fadeout {
    0% {
        right: 1.5%;
    }
    100% {
        right: -400px;
    }
}

div.emt-section-chat form {
    height: calc(100% - 222px);
}


/*** Ventanas emergentes ***/

.emt-pop-up,
.emt-loader-init-chat {
    position: absolute;
    z-index: 10000;
    width: 100%;
    height: 100%;
    bottom: 0;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    animation-duration: 3s;
    border-radius: 3px;
    display: none;
}

.emt-loader-init-chat {
    display: flex;
    visibility: hidden;
    animation-name: loaderinit;
    animation-duration: 2s;
}

.emt-pop-up-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@keyframes loaderinit {
    0% {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    90% {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: visible;
    }
}

.emt-loader-init-chat>div>.emt-container-loader-init-chat,
.emt-pop-up-container>div>.emt-container-loader-init-chat {
    width: 300px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.emt-loader-init-chat>div>.emt-container-loader-init-chat:after,
.emt-pop-up-container>div>.emt-container-loader-init-chat:after {
    content: "";
    width: 300px;
    height: 150px;
    position: absolute;
    background-image: url(../images/logo.png);
    z-index: 10000;
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: center;
}

.emt-loader-init-chat>div>.emt-container-loader-init-chat .emt-circle-border-loader-chat,
.emt-pop-up-container>div>.emt-container-loader-init-chat .emt-circle-border-loader-chat {
    width: 150px;
    height: 150px;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgb(255 255 255);
    animation: spin .8s linear 0s infinite;
    background: linear-gradient(0deg, rgba(255, 183, 27, 0.1) 33%, rgb(255 183 27) 100%);
}

.emt-loader-init-chat>div>.emt-container-loader-init-chat .emt-circle-border-loader-chat>.circle-core,
.emt-pop-up-container>div>.emt-container-loader-init-chat .emt-circle-border-loader-chat>.circle-core {
    width: 98%;
    height: 98%;
    background-color: #fff;
    border-radius: 50%;
}

.emt-loader-init-chat>div>span {
    text-align: center;
    display: block;
    color: grey;
    font-size: 14px;
    padding: 20px 0;
    font-weight: 500;
    width: 250px;
    margin: auto;
}

.emt-pop-up-container>div>span {
    text-align: center;
    display: block;
    color: grey;
    font-size: 14px;
    padding: 20px 0;
    max-width: 300px;
    margin: auto;
}

.emt-loader-init-chat>div>span b,
.emt-pop-up-container>div>span b {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #0071ce;
}

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

.emt-image-pop-up {
    width: 300px;
    height: 80px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
}

#schedule .emt-image-pop-up {
    background-image: url(../images/emt-schedule.png);
}

#Error .emt-image-pop-up {
    background-image: url(../images/emt-error.png);
}

#alert .emt-image-pop-up {
    background-image: url(../images/emt-alert.png);
}

#alert .emt-pop-up-container>div>span b {
    display: block;
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

.emt-button-pop-up {
    display: flex;
    justify-content: center;
}

.emt-button-pop-up a {
    display: inline-flex;
    height: 40px;
    background: #949494;
    align-items: center;
    width: 100px;
    justify-content: center;
    border-radius: 3px;
    color: white;
    font-weight: 500;
    transition: .2s;
}

.emt-button-pop-up a:hover,
.emt-button-pop-up a:focus,
.emt-button-pop-up a:active,
.message-end:hover {
    background: #7db92e;
    transition: .2s;
}

.emt-button-pop-up a:nth-child(2) {
    margin-left: 10px;
}

div#auth div#emt-Auth-container {
    max-width: 240px;
}

div#auth div#emt-Auth-container #emt-keyboard {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

div#auth div#emt-Auth-container #emt-keyboard li {
    margin: 2px;
    width: calc(33.333% - 4px);
    height: 40px;
    background: #f4f4f4;
    border: 1px solid #E2E2E2;
    border-radius: 3px;
    color: grey;
    display: flex;
    align-items: center;
    justify-content: center;
}

div#auth div#emt-Auth-container #emt-keyboard li:hover {
    cursor: pointer;
    transition: .2s;
    border: 1px solid #5a3278;
}

div#auth div#emt-Auth-container #emt-keyboard li .emt-off {
    display: none;
}

div#auth div#emt-Auth-container #emt-keyboard li.emt-OK {
    color: #00A19B;
    transition: .2s;
}

div#auth div#emt-Auth-container #emt-keyboard li.emt-OK:hover {
    transition: .2s;
    border: 1px solid #00A19B;
}

div#auth div#emt-Auth-container #emt-keyboard li.emt-delete {
    color: #5a3278;
    transition: .2s;
}

div#auth #emt-Auth-container .disabled {
    pointer-events: none;
    opacity: 0.4;
}

li.emt-remember,
li.emt-AuthExit {
    width: 100% !important;
    height: 35px !important;
}

li.emt-remember {
    display: none !important;
}


/*** Header ***/

.emt-header-chat {
    height: 50px;
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    z-index: 100000;
}

.emt-header-chat>div {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    cursor: grab;
    background: #0071ce;
}

.emt-header-chat>div:hover {
    cursor: url('https://www.google.com/intl/en_ALL/mapfiles/openhand.cur'), all-scroll;
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: -o-grab;
    cursor: -ms-grab;
    cursor: grab;
}

.emt-header-chat>div.grabbing {
    cursor: url('https://www.google.com/intl/en_ALL/mapfiles/closedhand.cur'), all-scroll;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: -o-grabbing;
    cursor: -ms-grabbing;
    cursor: grabbing;
}

.emt-header-chat>div>.emt-favicon-header-chat {
    width: 65px;
    height: 50px;
    background-size: 90% auto;
    background-position: center;
    background-image: url(../images/favicon_chat.png);
    background-repeat: no-repeat;
}

.emt-header-chat>div>.emt-title-header-chat {
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-size: 16px;
    width: calc(100% - 130px);
    font-weight: 800;
    text-align: center;
}

.emt-header-chat>div>.emt-icon-header-chat>a {
    display: inline-flex;
    width: 25px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.emt-header-chat>div>.emt-icon-header-chat {
    width: 65px;
    text-align: right;
    padding: 0 9px 0 0;
}

.emt-header-chat>div>.emt-icon-header-chat>a {
    display: inline-flex;
    width: 25px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.emt-header-chat>div>.emt-icon-header-chat>a>i {
    color: white;
    font-size: 16px;
    width: 25px;
    display: flex;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.15);
    transition: .2s
}

.emt-header-chat>div>.emt-icon-header-chat>a>i:hover,
.emt-header-chat>div>.emt-icon-header-chat>a>i:focus,
.emt-header-chat>div>.emt-icon-header-chat>a>i:active {
    background: rgba(0, 0, 0, 0.35);
    transition: .2s
}


/*** Section chat ***/

div#form div#inactivity_title {
    position: absolute;
    top: 1px;
    z-index: 10;
}

.emt-alert {
    position: relative;
    padding: 15px;
    border: 1px solid transparent;
    color: #565656;
    background-color: #fff9d6;
    border-color: #f49b18;
    font-size: 12px;
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
    border-left: 0;
    border-right: 0;
}

.emt-alert span {
    width: calc(100% - 45px);
    margin-right: 15px !important;
   }

.emt-alert-close {
    width: 25px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
}

.emt-alert-warning {
    color: #9e111a;
    background-color: #7d119924;
    border-color: #7d119924;
	font-size: 16px;
}

.emt-alert-dismissible {
    padding-right: 4rem;
}

.emt-alert-close i {
    color: white;
    font-size: 16px;
    width: 25px;
    display: flex;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: #5a3278;
    transition: .2s;
    border: none;
}

.emt-fade {
    opacity: 0;
    transition: opacity .15s linear;
}

.emt-fade.emt-show {
    opacity: 1;
}

div.emt-container-general {
    height: calc(100% - 50px);
    border-radius: 0 0 3px 30px;
}

.emt-container-section-chat {
    padding: 15px 20px;
}
.emt-container-section-chat>div:nth-child(1) {
    font-size: 20px;
    line-height: 20px;
    font-weight: 500;
}
.emt-container-section-chat>div:nth-child(1) img {
    width: 20px;
}
.emt-container-section-chat>div:nth-child(2) {
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: #0071ce;
    margin-bottom: 3px;
}
.emt-container-section-chat>div:nth-child(2) img {
   margin: 0 5px;
}
.emt-container-section-chat>div:nth-child(3) {
    font-size: 14px;
    color: #616161;
}
.emt-schedule-container {
    padding: 12px;
    text-align: center;
    font-size: 15px;
    background: #0071ce;
    color: white;
}

.message-welcome {
    font-size: 14px;
    padding: 10px 20px;
    color: #616161;
}

/*** Form chat ***/

div.emt-section-chat {
    height: 100%;
}

.emt-form-section-chat {
    padding: 0 20px;
    height: calc(100% - 31px);
    overflow: auto;
}

.emt-input-group {
    border-radius: 5px !important;
    border: 1px solid #E2E2E2;
    margin-bottom: 10px;
    background: #F4F4F4;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    transition: .2s;
}

.emt-input-group>textarea.emt-form-control {
    padding: 8px 0px;
    height: auto;
    resize: none;
}

.emt-input-group:hover,
.emt-input-group:focus,
.emt-input-group:active {
    transition: .2s;
    border: 1px solid #0071ce;
}

.emt-input-group:last-child:hover,
.emt-input-group:last-child:focus,
.emt-input-group:last-child:active {
    transition: .2s;
    border: 0px;
}

.emt-input-group>span.emt-input-group-addon {
    width: 40px;
    height: 100%;
    font-size: 18px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emt-input-group>span.emt-input-group-addon i {
    color: #a3a3a3;
}

.emt-input-group>.emt-form-control {
    background: none;
    border: none;
    height: 100%;
    padding: 0 10px 0 0;
    width: calc(100% - 40px);
    font-size: 14px;
    color: #616161;
    margin: 0 !important;
    box-sizing: inherit;
}

.emt-input-group>.emt-form-control:hover,
.emt-input-group>.emt-form-control:focus,
.emt-input-group>.emt-form-control:active {
    border: none;
    outline: none;
}

.req-form {
    animation-name: fadereqE;
    animation-duration: .5s;
    cursor: pointer;
    animation-iteration-count: infinite;
}

a#term b {
    color: #616161;
}

.emt-form-section-chat>.emt-input-group>.emt-form-control:nth-child(1) {
    width: 100%;
    padding: 0 10px 0 0;
}

.emt-input-group>select.emt-form-control {
    padding: 0;
    width: calc(100% - 38px);
    margin-left: -4px !important;
}

.emt-form-section-chat>.emt-habeas-data {
    height: auto;
    background: transparent;
    border: 0;
}

.emt-form-section-chat>.emt-habeas-data>.emt-form-control {
    display: inline-flex;
    flex-wrap: wrap;
}

.emt-form-section-chat>.emt-habeas-data input  {
    margin: 3px 12px;
}

.emt-form-section-chat>.emt-habeas-data input {
    /* appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none; */
    background-size: auto 100%;
    width: 20px;
    display: block;
    height: 20px;
    border: 2px solid #f7982d;
    cursor: pointer;
    transition: .3s;
    border-radius: 50px;
    margin: 0 12px;
}

#SendTranscription {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-size: auto 100%;
    width: 20px;
    display: block;
    height: 20px;
    border: 2px solid #f7982d;
    cursor: pointer;
    transition: .3s;
    border-radius: 50px;
    margin: 0 12px;
}

.emt-habeas-data .emt-form-control div {
    width: calc(100% - 44px);
}

.emt-form-section-chat>.emt-habeas-data input:checked,
.emt-form-section-chat>.emt-habeas-data input:hover,
#SendTranscription:hover,
#SendTranscription:active,
#SendTranscription:focus {
    border: 2px solid #f7982d;
    background: #f7982d;
}

.emt-form-section-chat>.emt-habeas-data input:focus {
    outline: none
}

.emt-form-section-chat>.emt-habeas-data .emt-form-control {
    font-size: 11px;
}

@keyframes fadereqE {
    0% {
        border: 1px solid #E2E2E2;
    }
    50% {
        border: 1px solid #f7982d;
    }
    100% {
        border: 1px solid #E2E2E2;
    }
}

.emt-form-btn-chat {
    height: 50px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.emt-form-btn-chat>.emt-btn-form {
    outline: none;
    transition: .2s;
    cursor: pointer;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0071ce;
    color: white;
    font-weight: 700;
    font-size: 14px;
    transition: .2s;
}

span.asesor {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.emt-form-btn-chat>.emt-btn-form:hover,
.emt-form-btn-chat>.emt-btn-form:focus,
.emt-form-btn-chat>.emt-btn-form:active {
    background: #0064b6;
    transition: .2s;
}

/*** Interaction  ***/

.emt-section-interaction-chat {
    height: calc(100%);
    position: relative;
}

.emt-section-interaction-chat .emt-section-entry-chat {
    width: 100%;
    padding: 5px 5px 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.chat-off {
    height: calc(100%) !important;
}

.emt-section-interaction-chat .emt-section-entry-chat .emt-message-section div.emt-emogi-content {
    display: none;
}

.emt-section-interaction-chat .emt-section-entry-chat .emt-message-section {
    border-radius: 50px;
    border: 1px solid #E2E2E2;
    background: #F4F4F4;
    width: calc(100% - 45px);
    height: 35px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    transition: .2s;
    margin-right: 10px;
}

.emt-btn-emogi,
.emt-option {
    height: 35px;
    width: 35px;
    color: grey;
    cursor: pointer;
}

.emt-btn-emogi i,
.emt-option i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s
}

.emt-btn-emogi:hover,
.emt-btn-emogi:focus,
.emt-btn-emogi:active,
.emt-option:hover,
.emt-option:focus,
.emt-option:active,
.emt-btn-emogi:hover i,
.emt-btn-emogi:focus i,
.emt-btn-emogi:active i,
.emt-option:hover i,
.emt-option:focus i,
.emt-option:active i {
    color: #0071ce;
    transition: .2s
}

.emt-btn-emogi i {
    font-size: 18px;
    position: relative;
    top: -1px;
    transition: .2s
}

a {
    text-decoration: none !important;
}

.emt-textarea {
    width: calc(100% - 70px);
    overflow: auto;
    font-weight: 500;
    font-size: 14px;
    background: transparent;
    border: none;
    resize: none;
    margin: 0 !important;
    padding: 0;
    position: relative;
    top: -0.5px;
}

.emt-textarea:hover,
.emt-textarea:focus,
.emt-textarea:active {
    background: transparent;
    border: none;
    resize: none;
    outline: none;
}

.emt-option {
    animation-name: fadeopt;
    animation-duration: .2s;
    cursor: pointer;
}

@keyframes fadeopt {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

.emt-send-section {
    width: 35px;
}

.emt-btn-send {
    height: 35px;
    background: #0071ce;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: 1px solid #004681;
    font-size: 13px;
}

.emt-emogi-container {
    position: absolute;
    bottom: 45px;
    background: #f4f4f4;
    border-top: 0.5px solid gainsboro;
    padding: 10px;
    animation-duration: 1s;
    display: none;
    width: 100%;
    z-index: 100;
    left: 0;
}

.emt-emogi-content {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.emt-emogi-content li {
    height: 40px;
    background: #fff;
    border: 1px solid #f9f9f9;
    margin: 2px;
    width: 50px;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emt-emoji-on {
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    border: 1px solid #E2E2E2;
    border-radius: 3px;
}

.emt-emoji-on:hover,
.emt-emoji-on:focus,
.emt-emoji-on:active,
.emt-message-section:hover,
.emt-message-section:focus,
.emt-message-section:active {
    border: 1px solid #5a3278;
    transition: .2s;
}

.emt-options-section .emt-input-group:last-child:hover,
.emt-options-section .emt-input-group:last-child:focus,
.emt-options-section .emt-input-group:last-child:active {
    border: 1px solid #5a3278;
}

.emt-input-group:last-child {
    margin-bottom: 0;
}

.emt-dropdown-content {
    position: absolute;
    bottom: 45px;
    background: #f4f4f4;
    border-top: 0.5px solid gainsboro;
    padding: 10px;
    animation-duration: 1s;
    display: none;
    width: 100%;
    z-index: 100;
    left: 0;
    display: none;
}

.emt-options-section .emt-input-group {
    background: white;
    margin-bottom: 5px;
}

.emt-dropdown-content>div>div {
    margin-bottom: 5px;
}

.emt-dropdown-content>div>div:last-child {
    margin-bottom: 0px;
}

.emt-options-section .emt-form-control {
    display: flex;
    align-items: center;
}

#drCoBrowse,
div#drAttachments {
    display: none;
}

.form-group.alert-tol {
    display: none;
}
.form-group.alert-tol .input-group {
    font-size: 12px;
    padding: 0px 10px 10px;
}

.alert-toltip:hover .form-group.alert-tol {
    display: block;
}

input#fUpload {
    opacity: 0;
    position: absolute;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    height: 35px;
    border-radius: 3px;
    cursor: pointer;
}

.emt-chat-wrapper {
    overflow: auto;
    height: calc(100% - 45px);
    z-index: -1;
    padding: 10px 0;
    font-size: 13px !important;
    transition: .2s;
}



.emt-chat-wrapper .chat-image.chat-image-default2, .emt-chat-wrapper .chat-image.chat-image-default {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background-size: 100%;
    position: relative;
    top: 7px;
}

div#transcript {
    padding: 0 10px;
}

.emt-chat-wrapper .chat-message {
    width: 100%;
    display: table;
    overflow: hidden;
    margin-bottom: 5px !important;
}

.emt-chat-wrapper .chat-message:last-of-type {
    margin-bottom: 0;
}

.emt-chat-wrapper .chat-message .chat-message-wrapper {
    max-width: calc(100% - 60px);
    display: table;
    margin: 0 5px;
    position: relative;
}

.emt-chat-wrapper .chat-message .chat-message-wrapper2 {
    max-width: calc(100% - 60px);
    display: table;
    margin: 0 10px;
    position: relative;
}

.chat-message-content {
    min-width: 114px;
}

.emt-chat-wrapper .chat-message .chat-message-wrapper p {
    padding: 8px 10px;
    color: #565656;
    border-top: 1px solid;
    margin: 0;
}

.emt-chat-wrapper .chat-message .chat-message-wrapper2 p {
    padding: 5px 10px;
    color: #565656;
    border-top: 1px solid;
}

.emt-chat-wrapper .chat-message .chat-message-wrapper p .emoji_character {
    font-size: 20px;
}

.emt-chat-wrapper .chat-message .chat-message-wrapper p .emoji_character_max {
    font-size: 40px;
    display: inline-block;
}

.emt-chat-wrapper .chat-message .chat-message-wrapper p:first-of-type {
    border-top: 0 !important;
    word-break: break-word;
}
span.icon_recip {
    position: absolute;
    color: #ebf4fb;
    left: -8px;
    top: -1px;
}

.emt-chat-wrapper .chat-message .chat-message-wrapper2 p:first-of-type {
    border-top: 0 !important;
}

.emt-chat-wrapper .chat-message.chat-message-recipient p {
    background-color: #ebf4fb;
    border-radius: 0 5px 5px 5px;
}

.emt-chat-wrapper .chat-message.chat-message-sender .chat-message-wrapper,
.emt-chat-wrapper .chat-message.chat-message-sender .chat-message-content {
    float: right;
}

span.icon_sender {
    position: absolute;
    right: -8px;
    top: -1px;
    color: #f3f3f3;
}

.emt-chat-wrapper .chat-message.chat-message-sender p {
    background: #f3f3f3;
    border-radius: 5px 0 5px 5px;
    border-top-color: #f3f3f3;
}

.emt-chat-wrapper .chat-message.chat-message-sender img {
    float: right;
}

.emt-chat-wrapper .chat-message .chat-message-content {
    display: table;
    overflow: hidden;
}

.emt-chat-wrapper .chat-message .chat-details {
    clear: both;
    width: 95%;
    display: table;
    overflow: hidden;
    font-size: 10px !important;
}

.emt-chat-wrapper .chat-message.chat-message-recipient .chat-details {
    text-align: left;
}

.emt-chat-wrapper .chat-message.chat-message-sender .chat-details {
    text-align: right;
}

.emt-chat-wrapper .chat-message .chat-details:before {
    content: " ";
    display: block;
}

.emt-chat-wrapper .chat-message .chat-details span {
    margin-right: 4px;
    color: #929292;
}

.emt-chat-wrapper .chat-message .chat-details2 {
    clear: both;
    width: 95%;
    display: table;
    overflow: hidden;
    text-align: right;
    font-size: 10px !important;
}

.emt-chat-wrapper .chat-message .chat-details2:before {
    content: " ";
    display: block;
}

.emt-chat-wrapper .chat-message .chat-details2 span {
    margin-right: 4px;
    color: #929292;
}

.message-end {
    width: 50px;
    border-radius: 3px;
    background: #a0a0a0;
    color: white;
    padding: 5px;
    font-size: 10px;
    position: absolute !important;
    right: 0;
    bottom: 60px;
    z-index: 11;
    right: 3px;
    cursor: pointer;
    display: none;
    text-align: center;
    animation-name: parpadeos;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-name: parpadeos;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes parpadeos {
    0% {
        bottom: 60px;
    }
    50% {
        bottom: 65px;
    }
    100% {
        bottom: 60px;
    }
}

@-webkit-keyframes parpadeos {
    0% {
        bottom: 60px;
    }
    50% {
        bottom: 65px;
    }
    100% {
        bottom: 60px;
    }
}

@keyframes parpadeos {
    0% {
        bottom: 60px;
    }
    50% {
        bottom: 65px;
    }
    100% {
        bottom: 60px;
    }
}


/*************************************************
END STYLE - EMT CHAT
*************************************************/


/******************
SCROLL
******************/

::-webkit-scrollbar-thumb {
    background-color: rgba(124, 124, 124, 0.47);
    border-radius: 20px;
}

::-webkit-scrollbar {
    width: 8px;
    background: #f3f3f3;
}

.chat-message.chat-message-recipient {
    animation-name: messager-animate;
    animation-duration: .5s;
    display: flex;
    flex-wrap: wrap;
}

@keyframes messager-animate {
    0% {
        margin-left: -100%;
    }
    100% {
        margin-left: 0;
    }
}

.chat-message.chat-message-sender {
    animation-name: messages-animate;
    animation-duration: .5s;
    margin-bottom: 10px;
}

@keyframes messages-animate {
    0% {
        margin-left: 100%;
        opacity: 0;
    }
    100% {
        margin-left: 0;
        opacity: 1;
    }
}

div#poll {
    height: 603px;
    border-radius: 3px;
}

div.emt-poll-description {
    height: 100%;
    position: relative;
    top: 10px;
    border-radius: 3px;
    overflow: hidden;
}

div.emt-poll-description iframe#pollEmbed {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    overflow: hidden;
    border: 0;
    border-top: 1px solid #d1d1d1;
}


.emt-poll-title{
    display: none;
    margin: -13px 0 0;
    position: relative;
}

.emt-alert>a {
    display: inline-flex;
    width: 25px;
    align-items: center;
    justify-content: center;
}

.emt-alert>a>i {
    color: white;
    font-size: 16px;
    width: 25px;
    display: flex;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.25);
    transition: .2s
}

.emt-alert>a>i:hover,
.emt-alert>a>i:focus,
.emt-alert>a>i:active {
    background: rgba(0, 0, 0, 0.35);
    transition: .2s
}

@media only screen and (max-width: 600px) {
    .emt-container-chat {
        position: fixed;
        background: white;
        right: 0px;
        top: 0px !important;
        width: 100%;
        height: 100%;
        border-radius: 0px;
        box-shadow: 0 0 0 0;
        border: 0;
    }
    .emt-container-section-chat.emt-title-section-chat, .message-welcome, .emt-form-section-chat {
        max-width: 370px;
        margin: auto;
    }
}

@media only screen and (max-width: 370px) {
    .emt-header-chat>div {
        background-size: 100% 100% !important;
    }
}

@media only screen and (max-width: 357px) {
    div.emt-section-chat form {
        height: calc(100% - 241px);
    }
}

@media only screen and (max-width: 311px) {
    .emt-container-section-chat>div:nth-child(2) img {
        width: 100px;
    }
}

@media only screen and (max-width: 300px) {
    .emt-container-section-chat, .message-welcome, .emt-form-section-chat {
        padding-left: 15px;
        padding-right: 15px;
    }
    div.emt-section-chat form {
        height: calc(100% - 238px);
    }
}

@media only screen and (max-width: 285px) {
    .emt-container-section-chat>div:nth-child(2) span {
        display: none;
    }
    .emt-container-section-chat>div:nth-child(2) img {
        margin-right: 0;
    }
}

.message1 {
display: flex;
margin-bottom: 10px;
overflow: hidden;
flex-wrap: wrap;
}

.message1>div:nth-child(1) {
display: flex;
}
.message1.sent1>div:nth-child(1):after,
.message1.received1>div:nth-child(1):before {
content: "";
border: 8px solid transparent;
border-bottom: 0;
margin-top: 0px;
}

.message1.sent1 {
justify-content: flex-end;
}
.message1.sent1>div .chat-message-content {
background: #f0f2f5;
padding: 8px 13px;
border-radius: 10px 0 10px 10px;
}
.message1 .chat-message-timeString {
padding: 0 6px;
}
.message1.sent1 .chat-message-timeString {
text-align: right;
}
.message1.received1 {
justify-content: flex-start;
}
.message1.received1>div .chat-message-content {
background: #f0f2f5; 
padding: 8px 13px;
border-radius: 0px 10px 10px 10px;
/*max-width: 80%;*/
}
.message1 .chat-message-timeString {
width: 100%;
}
.message1 .chat-message-timeString span {
font-size: 10px;
color: grey;
}

.message1.received1>div.cm_doc:before {
border-top: 16px solid #f0f2f5;
}

.message1.sent1>div.cm_doc:after {
border-top: 16px solid #f0f2f5;
}

.emoji-picker {
  width: calc(100% - 30px);
}

.emoji-picker {
position: absolute;
bottom: 60px;
background: white;
width: calc(400px - 30px);
box-shadow: 0 0 10px -8px;
border: 1px solid #f0f2f5;
border-radius: 5px;
flex-wrap: wrap;
/*isplay: none;*/
}
div#emojiPicker button {
height: 40px;
font-size: 14px;
background: none;
border: 1px solid #f3f3f3;
flex: 1;
min-width: 25%;
transition: .2s;
}
div#emojiPicker button:hover {
font-size: 18px;
cursor: pointer;
border: 1px solid var(--color-primary-3);
border-radius: 3px;
}

.emoji-picker {
  animation-name: fadeEmoji;
  animation-duration: 0.5s;
}