﻿@font-face {
    font-family: 'BodyFont';
    src: url('font/Davivienda/TTF/Davivienda-Regular.ttf');
}

@font-face {
    font-family: 'HeaderFont';
    src: url('font/Davivienda/TTF/Davivienda-Bold.ttf');
}
html, body {
    margin: 0;
    height: 100%;
}
body {
    background-color: rgb(241, 243, 247);
    overscroll-behavior: contain;
}
* {
    font-family: 'BodyFont', sans-serif;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-size: 15px;
}
div {
    font-family: 'BodyFont', sans-serif;
    /*font-size: 16px;*/
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.mainContent {
    height: 100%
}

.link {
    color: #DD141D !important;
}


.header {
    font-family: 'HeaderFont', sans-serif !important;
    background-color: rgb(241, 243, 247);
    padding:88px 24px 0px 24px;
    color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    z-index: 1;
    font-size: 18px;
}
.sendMessageInput {
    background-color: rgb(241, 243, 247);
    padding: 1vh;
    padding-top: 3vh;
    padding-bottom: 1.5rem;
    width: 100vw;
    left: 0;
    bottom: 0;
    position: fixed;
    align-items: center;
}
.sendMessageInput > table{
    width: 99%;
    border-collapse: collapse;
}
    .sendMessageInput input {
        max-width: 100%;
        height: 36px;
        box-sizing: border-box;
        border: solid 0.5px #DDDDDD;
        border-radius: 5px;
        padding: 3.5vh 10px;
        line-height: 20px;
        /*font-size: 16px;*/
        resize: none;
        width: 100%;
    }
        .sendMessageInput input::placeholder {
            color: #DDDDDD;
            opacity: 1; /* Firefox */
        }
        .sendMessageInput input:focus {
            outline: none;
            border: solid 0.25px #4080bf;
        }
    .sendMessageInput button {
        /*border: 1px solid #d8d8d8;*/
        background-repeat: no-repeat;
        background-position: center center;
        background-color: transparent;
        background-image: url(../../IMG/kairos/enviar.png);
        background-size: 50%;
        border-radius: 50%;
        display: inline-block;
        width: 40px;
        height: 40px;
        float: right;
        cursor: pointer;
        transition: all 0.1s;
        margin-left: 4px;
        padding: 0px;
        border: none !important;
    }
.sendButtonFocus {
    border: none !important;
    /*background-color: #DD141D !important;
    background-image: url(../../IMG/ico/arrow-white.svg) !important;*/
}
.uploadFilesButton {
    border: none !important;
    background-image: url(../IMG/ico/paperclip.png) !important;
    background-size: 50% !important;
    filter: invert(0.8);
    -moz-transform: rotate(45deg) scale(1.1,1);
    -o-transform: rotate(45deg) scale(1.1,1);
    -webkit-transform: rotate(45deg) scale(1.1,1);
    transform: rotate(45deg) scale(1.1,1);
}
.message {
    min-width: 50px;
    padding: 12px;
    max-width: 80%;
    overflow: hidden;
    /*margin: 2px;*/
    border-radius: 12px;
    display: inline-block;
    line-height: 20px;
    color: #323232;
}
.messageIn {
    /*text-align: right;*/
    font-size: 0;
}
.messageOut {
    /*text-align: right;*/
    font-size: 0;
}    

.messageDate {
    color: #BCBCBC;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 16px;
    /*line-height: 0rem;*/
    display: inline-block;
}
.messageIn .messageDate {
    margin-left: 44px;
}
.messageOut .messageDate {
    margin-left: 44px;
}
.messageInfOk {
    text-align: center;
}
    .messageInfOk > .message {
        background-color: #ccffcc;
    }
.messageInfError {
    text-align: center;
}
    .messageInfError > .message {
        background-color: #ffcccc;
    }
.messageImage {
    display: inline-block;
    background-color: white;
    border-radius: 10em;
    -webkit-box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.75);
}
    .messageImage > img {
        width: 40px;
        height: 40px;
        position: relative;
        display: block;     
        border-radius: 100%;
        margin-top: 1px;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        -ms-border-radius: 100%;
    }
.messageOut .messageImage {
    vertical-align: top;
    /*margin-right: 14px;*/
}
.messageIn .messageImage {
    vertical-align: top;
    /*margin-right: 14px;*/
}
/*.messageIn .messageImage > img{
    position: absolute;
    bottom: 0px;
}*/
    
messageCeneter {
    text-align: center !important;

}
.messageOption {
    padding: 5px 6px;
    margin-top: 1em;
    margin-bottom: 1em;
    border-radius: 9px 9px 9px 9px;
    border: 0;
    cursor: pointer;
    box-shadow: 0px 2px 6px -6px #ee1f2b59;
    display: block;
    max-width: 100%;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
    width: 260px;
    text-align: center;
    overflow: hidden;
    margin-bottom: 16px;
    /*font-size: 16px;*/
}

.grayButton {
    color: #323232;
    border: 1px solid #323232;
    padding: 0.5em 1em;
    border-radius: 40px;
    font-weight: bold;
}
.survey > table{
    width: 100%;
    table-layout: fixed;
}
.survey > table td{
    font-size: 9px;
    line-height: 13px;
    padding: 4px;
    vertical-align: top;
    text-align:center;
}
    .survey > table td > img {
        width: 30px;
        height: 30px;
    }
.preview-attachments-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: #191919;
}

.preview-attachments-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
    padding-top: 2em;
}

    .preview-attachments-content > img {
        cursor: pointer;
        position: absolute;
        top: 1em;
        right: 1em;
        width: 1em;
        height: 1em;
    }


.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-weight: 600;
    color: #ffffff;
    background: var(--gradiente-rojo-principal);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: opacity 0.3s ease; /* Smooth transition */
}

    .upload-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }


    .upload-btn:hover {
        background-color: #c51018;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .upload-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(252, 55, 64, 0.5);
    }

.upload-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    object-fit: contain; /* This ensures the image keeps its aspect ratio */
}
/***************************************************************************** FORMS ***********************************************/
.whiteForm {
    padding: 1em;
}
.grayForm {
    padding: 1em;
    border-radius: 1em;
    background-color: rgb(243,243,243);
}
.whiteForm > div > span, .grayForm > div > span{
    color: rgb(67,67,67);
    font-weight: bold;
    display: inline-block;
}
.formInput {
    width: 100%;
    padding: 0.3em 0.3em 0.3em 0.0em;
    border-bottom: solid 1px rgb(183,183,183);
    border-top: solid 0px rgb(183,183,183);
    border-left: solid 0px rgb(183,183,183);
    border-right: solid 0px rgb(183,183,183);
}
.formInputClear {
    width: 100%;
    padding: 1rem 0.6rem;
    border-radius: 0.7rem;
    border: 0px solid black;
}
.grayForm .formInput {
    background-color: rgb(243,243,243);
}
.formInput:focus {
    outline: none;
}
input::-webkit-input-placeholder{
    color: rgb(194,194,194);
}
.formErrorMessage{
    color: red;
    height: 1.2em;
}
.formErrorMessage{
    color: red;
}
.formErrorMessage > span{
    display: none;
}
.formErrorField .formErrorMessage > span{
    display: inline-block;
    font-size: 0.6em;
}
.formErrorField .formInput{
    border-bottom: solid 1px red;
}
.formErrorField > span{
    color: red !important;
}
.formTitle{
    font-size: 1.1em;
    color: rgb(67,67,67);
    padding: 0em 1em 1em 1em;
    text-align: center;
    font-weight: bold;
}
.formTitle > hr{
    border-top: solid 1px rgb(183,183,183);
    width: 90%;
}

.redButton {
    position: relative;
    padding: 0.5em 1em;
    border-radius: 40px;
    font-weight: bold;
    border: none;
    background: white;
    
    /* Texto con degradado */
    background: linear-gradient(180deg, #DD141D 50%, #F7598B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.redButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    border: 1px solid transparent;
    background: linear-gradient(#f1f3f7, #f1f3f7) padding-box, 
                linear-gradient(180deg, #DD141D 50%, #F7598B 100%) border-box;
    pointer-events: none;
    z-index: -1;
}

.redButtonSelected {
    position: relative;
    padding: 0.5em 1em;
    background: linear-gradient(180deg, #DD141D 50%, #F7598B 100%);
    color: white;
    border-radius: 40px;
    border: none;
    font-weight: bold;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    -webkit-background-clip: unset;
}

.redButtonSelected::before {
    display: none;
}
.whiteButton{
    color: #DD141D;
    background-color: white;
    padding:0.5em 2em;
    border: 1px solid #DD141D;
    border-radius: 40px;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
input[type=checkbox]{
    accent-color:#DD141D;
}
.styled-select {
  width: 100px;
  height: 17px;
  overflow: hidden;
  overflow: -moz-hidden-unscrollable;
  background: url(images/downarrow_blue.png) no-repeat right white;
  border: 2px double red;
  display: inline-block;
  position: relative;
}

.styled-select select {
  background: transparent;
  -webkit-appearance: none;
  width: 100px;
  font-size: 11px;
  border: 0;
  height: 17px;
  position: absolute;
  left: 0;
  top: 0;
}

/*************************VIDEO******************/
:root {
    --plyr-color-main: #DD141D;
    --gradiente-rojo-principal: linear-gradient(180deg, #DD141D 50%, #F7598B 100%);
  }
  /* Separar la barra de progreso y darle estilo */
.plyr__progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    width: calc(100% - 20px); /* Ajusta este valor según sea necesario */
    margin: 0 10px; /* Añade margen para que no toque los bordes */
}
.plyr__menu__container{
    overflow-y: auto;
    max-height: 100px;
    bottom: 150%;
}

.messageOut .messageImage.editImage:after {
    position: relative;
    display: inline-block;
    bottom: 33px;
    left: 31px;
    width: 0px;
    height: 0px;
    border: 0px solid #F3F3F3;

}




/***************************************************************************** DIALOG **********************************************/
.progressBackgroundFilter {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: #fff;
    filter: alpha(opacity=20);
    -moz-opacity: 0.20;
    -khtml-opacity: 0.20;
    opacity: 0.20;
    z-index: 1000;
}

    .progressBackgroundFilter > div {
        text-align: center;
        position: relative;
        width: 100%;
        height: 100%;
        display: inline-block;
        vertical-align: middle;
        z-index: 1000;
    }

        .progressBackgroundFilter > div > img {
            width: 10%;
            display: inline-block;
            vertical-align: middle;
            padding-top: 20%;
            -webkit-touch-callout: none; /* iOS Safari */
            -webkit-user-select: none; /* Safari */
            -khtml-user-select: none; /* Konqueror HTML */
            -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                            supported by Chrome and Opera */
        }
.mdialogo2 {
    position: fixed;
    top: 5%;
    right: 0px;
    left: 0px;
    z-index: 1002;
}
    .mdialogo2 .mdialogoContent {
        background-color: white;
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    }
        .mdialogo2 .mdialogoContent .mdialogoHead {
            background: rgb(77,77,77);
            height: 1.8em;
        }
            .mdialogo2 .mdialogoContent .mdialogoHead > img {
                height: 1.8em;
                width: 1.8em;
                cursor: pointer;
                padding: 0px;
                float:right;
            }
.card {
    border-radius: 16px;
    border: solid 1px rgb(183,183,183);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 2em;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 70vh;
    justify-content: center;
}
.card-image {
    height: 33.33%;
    width: auto;
    object-fit: contain; /* O usa cover para cubrir todo el espacio */
    padding-bottom: 2em;
}
.card-one-button {
    position: absolute;
    bottom:-3%;
}
.modified-button-card{
    box-shadow: 0 0.5em 0.5em rgba(0,0,0,0.5);
}
.large-button-card{
    box-shadow: 0 0.5em 0.5em rgba(0,0,0,0.5);
    padding: 0.5em 2em;
}
.buttons-card{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.padding-button-card{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
/* pure-hidden-xs */

@media screen and (max-width:567px) {
    .pure-visible-sm {
        display: none !important;
    }

    .pure-visible-md {
        display: none !important;
    }

    .pure-visible-lg {
        display: none !important;
    }

    .pure-visible-xl {
        display: none !important;
    }

    .pure-hidden-xs {
        display: none !important;
    }
    .chatWindow {
        width: 100%;
    }
}
/* pure-hidden-sm */
@media screen and (min-width:568px) and (max-width:767px) {
    .pure-visible-xs {
        display: none !important;
    }

    .pure-visible-md {
        display: none !important;
    }

    .pure-visible-lg {
        display: none !important;
    }

    .pure-visible-xl {
        display: none !important;
    }

    .pure-hidden-sm {
        display: none !important;
    }
}
/* pure-hidden-md */
@media screen and (min-width:768px) and (max-width:1023px) {
    .pure-visible-xs {
        display: none !important;
    }

    .pure-visible-sm {
        display: none !important;
    }

    .pure-visible-lg {
        display: none !important;
    }

    .pure-visible-xl {
        display: none !important;
    }

    .pure-hidden-md {
        display: none !important;
    }
}
/* pure-hidden-lg */
@media screen and (min-width:1024px) and (max-width:1279px) {
    .pure-visible-xs {
        display: none !important;
    }

    .pure-visible-sm {
        display: none !important;
    }

    .pure-visible-md {
        display: none !important;
    }

    .pure-visible-xl {
        display: none !important;
    }

    .pure-hidden-lg {
        display: none !important;
    }
}
/* pure-hidden-xl */
@media screen and (min-width:1280px) {
    .pure-visible-xs {
        display: none !important;
    }

    .pure-visible-sm {
        display: none !important;
    }

    .pure-visible-md {
        display: none !important;
    }

    .pure-visible-lg {
        display: none !important;
    }

    .pure-hidden-xl {
        display: none !important;
    }
}
/*Loader*/

.lds-dual-ring,
.lds-dual-ring:after {
  box-sizing: border-box;
}
.lds-dual-ring {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  justify-content: center;
  align-items: center;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6.4px solid #DD141D;
  border-color: #DD141D transparent #DD141D transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
