/* Ajustes de altura que pidio el cliente */

#webchat {
    height: 100%;
    /*overflow-y: auto;*/
    text-align: initial;
}

.epm-popup_content .epm-popup_header {
    padding: 10px 20px !important;
}

.ax-botones-sticky .epm-popup_body {
    height: 460px;
    /* Altura original */
    /*height: 370px;*/
    max-height: 280px;
}

.ax-botones-sticky #chat-linea .epm-popup_body {
    max-height: 460px;
    /* Altura original */
    /*height: auto;*/
    padding-right: 15px;
}


/* Fin ajustes */

.ax-botones-sticky {
    position: fixed;
    top: 50%;
    right: 3%;
    z-index: 99;
}

.dnnEditState .ax-botones-sticky {
    position: relative;
    display: flex;
    justify-content: center;
}

.ax-botones-sticky__item {
    display: block;
    width: 60px;
    height: 60px;
    padding: 15px;
    background: #007934;
    margin-bottom: 10px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
}

.ax-botones-sticky__item.naranja {
    background: #D58A00;
}

.ax-botones-sticky__link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.ax-botones-sticky__image {
    display: block;
}

.ax-botones-sticky__text {
    position: absolute;
    font-size: 13px;
    line-height: 11px;
    font-family: "epm-bold", sans-serif;
    padding: 10px 20px;
    background: #007934;
    border-radius: 50px;
    color: #fff;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 400ms ease;
}

.naranja .ax-botones-sticky__text {
    background: #D58B00;
}

.ax-botones-sticky__link:hover .ax-botones-sticky__text {
    opacity: 1;
    visibility: visible;
    right: calc(100% + 10px);
}

.ax-botones-sticky__content {
    position: fixed;
    right: calc(3% + 75px);
    bottom: 2%;
}

.ax-botones-sticky__content .epm-popup {
    margin: 0 !important;
    left: 0 !important;
    top: 0 !important;
    transform: none;
    border-radius: 20px;
}

/* atencion en linea */




#webchat .markdown p {
    color: #8B8D8E;
    font-size: 14px;
    line-height: 14px;
}

#webchat .ac-textBlock p {
    color: #8B8D8E;
    font-size: 15px;
    line-height: 15px;
}

#webchat .ac-pushButton {
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid #007934;
    transition: all 0.5s ease;
}

#webchat .ac-pushButton:hover {
    background: #007934;
}

#webchat .ac-pushButton div {
    color: #007934;
    font-size: 13px;
    line-height: 13px;
}

#webchat .ac-pushButton:hover div {
    color: #fff;
}

#webchat input[type="text"] {
    color: #676767;
    font-size: 14px;
    line-height: 14px;
    background: #F6F6F6;
    padding: 10px 15px;
    border-radius: 25px;
    border: 1px solid #d0d0d0;
}

#webchat input[type="text"]:focus {
    border: 1px solid #007934;
}

#webchat input::placeholder {
    color: #676767;
}

#webchat  .main button {
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-top: 10px;
    margin-right: 10px;
    background: #007934;
    border-radius: 50%;
}

#webchat .main button:hover {
    background: #7AD400;
}

#webchat .main button svg,
#webchat .main button:hover svg {
    fill: #fff;
}

#webchat .from-user {
    background: none;
    border: none;
}

#webchat .bubble {
    border: none;
}

#webchat .bubble .markdown {
    padding: 0;
}

#webchat .bubble p {
    color: #676767;
    background: #F6F6F6;
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

#webchat .bubble .markdown p,
#webchat .bubble .ac-textBlock p {
    background: none;
    border-radius: 0;
}

#webchat .bubble .markdown a {
    color: #007934;
    font-size: 14px;
    line-height: 14px;
}

#webchat .css-mfy564 .css-mfy564 {
    display: none
}

#form-opinion {
    z-index: 999;
}

#form-opinion .epm-modal_content {
    width: 45rem;
}

#form-opinion .epm-modal_body {
    max-height: 480px;
    height: calc(85vh - 70px);
    padding: 0 0 20px;
}

.ax-asesor-humano {
    display: none;
    text-align: center;
    /*margin-top: 10px;*/
}

.epm-show-popup + .ax-asesor-humano {
    display: block;
}

.epm-show-popup + .ax-asesor-humano .epm-btn {
    height: 50px;
}

.epm-show-popup + .ax-asesor-humano .epm-btn_label {
    margin-bottom: -10px;
}

.epm-show-popup + .ax-asesor-humano .epm-btn_ico img {
    width: 60px;
    margin-top: -10px;
}

.epm-popup .icon-ayuda {
    float: right;
    margin-right: 45px;
    animation-name: moverIconAyuda;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    position: absolute;
    top: 0;
    right: 45px;
}

#chat-linea .finliza-chat {
    position: absolute;
    display: flex;
    width: 21px;
    height: 21px;
    color: #005121;
    background: #fff;
    border-radius: 50px;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    top: 15px;
    right: 20px;
}

#chat-linea .finliza-chat:hover {
    background: #8b8d8e;
}

#chat-linea .epm-close-icon {
    right: 50px;
}

#finaliza-chat .epm-modal_content {
    width: 37rem;
}

#finaliza-chat .epm-modal_body {
    max-height: 365px;
}

@keyframes moverIconAyuda {
	0% {
		top: 20px;
	}

	50% {
		top: 15px;
	}

	100% {
		top: 20px;
	}
}

.epm-popup .icon-ayuda:hover {
    transform: scale(1.1);
}

/* centro de ayuda */
#ax-modal-ayuda {
    position: absolute;
    display: none;
    right: calc(100% + 10px);
    top: auto;
    bottom: 0;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
}

.epm-show-popup + div + #ax-modal-ayuda {
    top: 0;
    bottom: auto;
}

#ax-modal-ayuda .epm-modal_content--static {
    width: 540px;
    height: 450px;
    background: #f1f1f1;
    padding: 20px 10px 20px 20px;
    border-radius: 20px;
}

#ax-modal-ayuda .epm-modal_body {
    height: 100%;
    max-height: none;
    padding: 0;
}

#ax-modal-ayuda .epm-modal_info {
    margin: 0;
}

.ax-asesor-humano strong {
    position: relative;
    font-size: 28px;
    margin-right: 15px;
}

@media (max-width: 1024px){
    #ax-modal-ayuda {
        right: 0;
        z-index: 9;
    }
}

@media (max-width: 767px){
    .ax-botones-sticky {
        top: auto;
        bottom: 10%;
    }

    .ax-botones-sticky__item {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 520px){
    .ax-botones-sticky__content {
        width: 94%;
        right: 3%;
    }
    
    #ax-modal-ayuda,
    #ax-modal-ayuda .epm-modal_content--static {
        width: 100%;
    }

    .ax-botones-sticky__content .epm-popup,
    .ax-botones-sticky__content .epm-popup_content {
        width: 100%;
    }
}

@media (max-width: 440px){
	.epm-show-popup + .ax-asesor-humano .epm-btn {
		height: 50px;
	}

	.epm-show-popup + .ax-asesor-humano .epm-btn_label {
		font-size: 16px;
		margin-bottom: 0;
	}

	.ax-asesor-humano strong {
		font-size: 20px;
		margin-right: 0;
	}

	.epm-show-popup + .ax-asesor-humano .epm-btn_ico img {
		position: relative;
		width: 45px;
		margin-top: 0;
		margin-left: -35px;
		left: 25px;
	}
}



#webchat:focus {
    outline: unset !important;
}

.webchat--css-dmfau-j7qwjs.webchat--css-dmfau-1fkhknu:focus {
    outline: unset !important;
}

#webchat .webchat__basic-transcript {
    outline: unset !important;
}

.react-scroll-to-bottom--css-vohiu-1n7m0yu.webchat__basic-transcript__scrollable:focus {
    outline: unset !important;
}

.webchat--css-xndja-nqmnze.webchat__basic-transcript:focus .webchat__basic-transcript__focus-indicator, .webchat--css-xndja-nqmnze.webchat__basic-transcript .webchat__basic-transcript__terminator:focus + .webchat__basic-transcript__focus-indicator {
    height: 100%;
    border-color: black;
    border-style: solid;
    border-width: 0 !important;
    box-sizing: border-box;
    pointer-events: none;
    position: absolute;
    top: 0px;
    width: 100%;
}

.webchat--css-ecajf-nqmnze.webchat__basic-transcript:focus .webchat__basic-transcript__focus-indicator, .webchat--css-ecajf-nqmnze.webchat__basic-transcript .webchat__basic-transcript__terminator:focus + .webchat__basic-transcript__focus-indicator {
    height: 100%;
    border-color: black;
    border-style: solid;
    border-width: 0 !important;
    box-sizing: border-box;
    pointer-events: none;
    position: absolute;
    top: 0px;
    width: 100%;
}