.chatbot-container * {
    box-sizing: border-box;
}

ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

    ul.topnav li {
        float: left;
    }

        ul.topnav li a {
            font-size: 150%;
            font-weight: 600;
            display: block;
            color: white;
            text-align: center;
            text-decoration: none;
        }

        ul.topnav li span {
            font-size: 14px;
            cursor: default;
            display: block;
            color: white;
            text-align: center;
            text-decoration: none;
        }

        ul.topnav li a:hover:not(.active) {
            opacity: 0.5;
        }

        ul.topnav li.right {
            padding-left: 160px;
        }

        ul.topnav li.right-x {
            padding-left: 280px;
        }

.chat {
    /* min-width: 310px; */
    border-radius: 5px;
    margin: 0 10px;
    height: 90vh;
    /*height: 50vh;*/
    max-height: 500px;
    width: 35vw;
    /* width: 40vw; */
    /* max-width: 350px; */
    max-width: 310px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /*
  border: 1px solid lightgray;
  */
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #fff;
    overflow: hidden;
}

.chat-title {
    align-items: flex-end;
    display: flex;
    height: 35px;
    margin: 0;
    padding: 0 10px;
    color: #eee;
    background-color: #02548e;
    /* background-color: #48ae64; */
    font-weight: 100;
    text-align: center;
    /*
  cursor: pointer;
  */
}

.chat-conv {
    position: relative;
    display: flex;
    height: calc(100% - 80px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    overflow: auto;
    /*imagen de fondo*/
    /*background-image: url('img/syringe.png')*/
}

.chat-user {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    background-color: inherit;
    border-top: 1px solid #02548e;
    /* border-top: 1px solid #48ae64; */
}

.chat-input {
    height: 100%;
    width: 100%;
    border: none;
    font-size: 13px;
    font-weight: 300;
    padding: 12px 20px;
    outline: none;
}

.chat-send {
    width: 50px;
    padding: 8px;
    color: #02548e;
    /* color: #48ae64; */
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

    .chat-send:hover {
        opacity: 0.8;
    }

.chat-title span {
    font-size: 14px;
    cursor: default;
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
    margin-top: -10px;
    position: absolute;
}

.chat-title a {
    font-size: 14px;
    display: block;
    color: white;
    text-align: center;
    text-decoration: none;
    bottom: 10px;
    position: relative;
    margin-left: 95%;
}

.chat-name {
    margin-bottom: 5px;
    font-size: 12px;
    color: grey;
    margin-right: 35%;
}

.chat-send.active:before {
    background: red;
}

.chat-send.active:after {
    background: transparent;
    border: 2px solid red;
    animation: pulse .5s linear alternate infinite;
}

.chat-option {
    border-radius: 5px;
    height: 90vh;
    /*height: 50vh;*/
    max-height: 500px;
    /*width: 40vw;*/
    width: 35vw;
    /* max-width: 350px; */
    max-width: 325px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /*
  border: 1px solid lightgray;
  */
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #fff;
    overflow: hidden;
}

.option-li {
    border-radius: 10px;
    font-family: arial, sans-serif;
    font-size: 11px;
    line-height: 16px;
    display: block;
    width: calc(100% - 30px);
    padding: 10px 15px;
    color: #333;
    cursor: pointer;
}

.option-ul {
    padding-left: 10px;
}

.option-li:hover {
    color: #02548e;
    /* color: #48ae64; */
    background-color: #f1f0f0;
}

.chat-option-conv {
    display: flex;
    height: calc(100% - 100px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    overflow: auto;
}

@keyframes pulse {
    to {
        transform: scale(1.5);
    }
}

.blob {
    position: relative;
    width: 255px;
    padding: 7px 10px;
    border-radius: 10px;
    background: #f1f0f0;
    color: #000;
    font-size: 11px;
    border-radius: 10px;
}

    .blob.user {
        max-width: 250px;
        width: auto;
        margin-bottom: 20px;
        color: #fff;
        background-color: #02548e;
        /* background-color: #48ae64; */
        /* margin-left: 15px; */
        margin-left: auto;
        /* margin-right: 15px; */
        margin-right: 5px;
    }

    .blob.bot {
        width: auto;
        margin-bottom: 20px;
        margin-top: 10px;
        background-color: #f1f0f0;
        text-align: left;
        margin-left: auto;
        margin-right: 11px;
        max-width: 250px;
        min-width: 118px;
    }

    .blob.scroller {
        overflow: auto;
        min-height: 270px;
    }

    .blob p {
        font-family: arial, sans-serif;
        font-size: 11px;
        line-height: 16px;
        margin: 0;
        text-align: inherit;
        /*
  text-align: center;
  */
    }

    .blob .more {
        font-weight: 700;
        font-family: arial, sans-serif;
        font-size: 11px;
        line-height: 23px;
        display: block;
        margin-top: 8px;
        border: 1px solid;
        border-radius: 5px;
        letter-spacing: 0;
        text-decoration: none;
        text-align: center;
        color: #fff;
        background-color: #02548e;
        cursor: pointer;
    }

        .blob .button:hover, .blob .more:hover {
            background-color: #62abbd;
        }

    .blob .more {
        height: auto;
        width: auto;
        padding: 0 0.5rem;
        /* border: 1px solid #e3e3e3; */
    }

    /*
.left{
  text-align: left !important;
}
*/

    /*
.blob > i {
  color: #48ae64;
  position: absolute;
  left: -30px;
  top: 0;
  font-size: 2em;
}
*/

    .blob img {
        position: absolute;
        left: -30px;
        height: 20px;
    }

    .blob .chat-name {
        position: absolute;
        top: -15px;
    }

    .blob .scroller {
        overflow: auto;
        text-align: left;
    }

    .blob .button,
    /*
.blob .qrep {
  font-size: 14px;
  display: block;
  width: 100%;
  margin-top: 8px;
  vertical-align: baseline;
  border: 1px solid;
  border-radius: 10px;
  line-height: 2.5;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  color: white;
  background-color: #48ae64;
  cursor: pointer;
}
*/
    .blob .qrep {
        font-weight: 700;
        font-family: arial, sans-serif;
        font-size: 11px;
        line-height: 23px;
        display: block;
        margin-top: 8px;
        border: 1px solid;
        border-radius: 5px;
        letter-spacing: 0;
        text-decoration: none;
        text-align: center;
        color: #02548e;
        /* color: #48ae64; */
        background-color: #fff;
        cursor: pointer;
    }

        .blob .button:hover, .blob .qrep:hover {
            background-color: rgba(247, 247, 247, 0.719);
        }

    /*
.blob .button.active,
.blob .qrep.active {
  background-color: #186d2f;
}
*/

    .blob .qrep {
        height: auto;
        width: auto;
        padding: 0 0.5rem;
        border: 1px solid #e3e3e3;
    }

    /*
.blob .qrep:not(:first-of-type) {
margin-left: 10px;
}
*/

    .blob .card {
        position: relative;
        display: inline-block;
        /*height: 230px;*/
        height: 255px;
        width: 230px;
        margin-right: 10px;
        vertical-align: top;
        color: #000;
        background: #fff;
        /*border-radius: 4px;*/
        border-radius: 10px;
        text-align: left;
        overflow: hidden;
    }

        .blob .card h5 {
            margin: 5px;
            font-weight: bold;
        }

        .blob .card img {
            width: 100%;
            left: 0;
            height: 140px;
            cursor: pointer;
        }

        .blob .card .content {
            bottom: 30px;
            position: absolute;
            padding: 0 0.5rem;
        }

    .blob .cardPDF {
        position: relative;
        display: inline-block;
        /*height: 230px;*/
        height: 255px;
        width: 230px;
        margin-right: 10px;
        vertical-align: top;
        color: #000;
        background: #fff;
        /*border-radius: 4px;*/
        border-radius: 10px;
        text-align: left;
        overflow: hidden;
    }

        .blob .cardPDF h5 {
            margin: 5px;
            font-weight: bold;
        }

        .blob .cardPDF img {
            width: 100%;
            left: 0;
            height: 180px;
            cursor: pointer;
        }

.pdf-icon {
    cursor: pointer;
    opacity: 0;
    left: 43%;
    bottom: 50%;
    position: absolute;
    font-size: 50px;
    color: grey;
}

.opacity-effect {
    opacity: 0.5;
    transition: opacity 0.5s linear;
}

.blob .cardPDF .content {
    bottom: 20px;
    position: absolute;
    padding: 0 0.5rem;
}

.collapsable {
    transition: height 0.5s;
}

.collapsed {
    height: 35px;
}

.hidden {
    opacity: 0;
}


/*
@media only screen and (max-width: 1800px) {
.chat {
right: 0;
}
.chat-option {
right: 0;
left: 30%;
}
}
*/
.right {
    cursor: pointer;
}

.right-x {
    cursor: pointer;
}

.writing {
    margin-bottom: 20px;
    margin-top: -14%;
    position: absolute;
    color: #525252;
    left: 20px;
    font-size: 11px;
}

.chatbot-container {
    right: 10px;
    display: flex;
    align-items: flex-end;
    bottom: 10px;
    position: fixed;
    z-index: 100;
}

.menu-bars {
    display: none;
}

#div-opciones {
    height: 88%;
    overflow-y: scroll;
    overflow-x: hidden;
}

.search-plus {
    opacity: 0;
    font-size: 50px;
    color: #fff;
    position: absolute;
    left: 40%;
    bottom: 65%;
    cursor: pointer;
}

.search-circle {
    opacity: 0;
    font-size: 80px;
    color: rgba(0, 0, 0, 0.38);
    position: absolute;
    left: 36%;
    bottom: 57%;
    cursor: pointer;
}


@media (max-width:600px) {
    .chat {
        padding: 10px;
        position: fixed;
        bottom: 10px;
        height: 100%;
        left: 0;
        width: 100%;
        max-height: 100%;
        max-width: 100%;
        margin: 0;
    }

    .chat-title {
        margin-top: 10px;
    }

    .blob.bot {
        max-width: 100%;
        margin-right: 0;
    }

    .blob.user {
        margin-right: 0;
    }

    .menu-bars {
        display: block;
        width: 50px;
        color: #02548e;
        font-size: 20px;
        text-align: center;
        cursor: pointer;
        padding: 5px;
    }

    .bar-show {
        opacity: 1;
        position: absolute;
        bottom: 20px;
        width: 100%;
        height: 200px;
    }

    .roseta-urg {
        left: 39px;
    }

    .container {
        height: 100vh;
        width: 100vw;
        background-repeat: no-repeat;
        background-position: center top;
    }

    .chat-option {
        opacity: 0;
        height: 0;
        position: fixed;
        width: 90%;
        max-width: 100%;
        bottom: 70px;
        left: 5%;
        transition: all 0.5s;
    }

    .chat-option-mobile {
        padding: 5px;
        opacity: 1;
        transition: all 0.5s;
        height: 160px;
    }

    .chat-option .chat-title {
        display: none;
    }

    .option-li {
        border-radius: 0;
        border-bottom: 1px solid #ccc;
    }

    li.option-li:last-child() {
        border-bottom: 0;
    }

    .option-ul {
        margin: 8px;
    }
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

/* The Modal (background) */

/*.modal {
  display: none;
  /* Hidden by default */
position: fixed;
/* Stay in place */
z-index: 1;
/* Sit on top */
padding-top: 100px;
/* Location of the box */
left: 0; top: 0; width: 100%;
/* Full width */
height: 100%;
/* Full height */
overflow: auto;
/* Enable scroll if needed */
background-color: rgb(0, 0, 0);
/* Fallback color */
background-color: rgba(0, 0, 0, 0.9);
/* Black w/ opacity */
}

*/
/* Modal Content (image) */
/*.modal-content {
  height: 600px !important;
  margin-left: 20%;
  display: block;
  max-width: 1100px;  
  width: 100% !important;
  left: 0 !important;
  cursor: pointer;
}*/
/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */

/*.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}*/

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0);
    }

    to {
        -webkit-transform: scale(1);
    }
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* The Close Button */

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover, .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */

/*@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}*/

.qualify-span {
    margin-top: -20px;
    margin-bottom: 30px;
    margin-left: 35%;
    display: flex;
    flex-direction: row;
    color: rgba(0, 0, 0, .4);
    clear: both;
    cursor: default;
}

.qualify-text {
    font-size: 11px;
    font-family: arial, sans-serif;
    line-height: 16px;
    cursor: default;
}

.thumbUp-background {
    padding-top: 5px;
    padding-left: 3px;
    color: #999;
    width: 15px;
    height: 15px;
    display: inline-block;
    border-radius: 0 0 5px 5px;
    margin: 0 1px;
    background: #f1f0f0;
    cursor: pointer;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

    .thumbUp-background i {
        font-size: 10px;
        transform: translate(0px, -10px);
    }

    .thumbUp-background:hover {
        color: rgb(255, 255, 255);
        background: #0d9ec4;
        /* background: #48ae64;   */
        transition: background .2s ease-in-out, color .2s ease-in-out;
    }

.thumbDown-background {
    padding-top: 5px;
    padding-left: 3px;
    color: #999;
    width: 15px;
    height: 15px;
    display: inline-block;
    border-radius: 0 0 5px 5px;
    margin: 0 1px;
    background: #f1f0f0;
    cursor: pointer;
    transition: background .2s ease-in-out, color .2s ease-in-out;
}

    .thumbDown-background i {
        font-size: 10px;
        transform: translate(0px, -10px);
    }

    .thumbDown-background:hover {
        color: rgb(255, 255, 255);
        background: #02548e;
        /* background: #48ae64;   */
        transition: background .2s ease-in-out, color .2s ease-in-out;
    }

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .3);
    border-radius: 3px;
    cursor: pointer;
}

.p-not-phone {
    display: none;
}

@media only screen and (min-width: 480px) and (max-width: 1920px) {
    .phone {
        display: none;
    }

    .p-not-phone {
        display: inline-block;
    }
}

a[href^="tel:"] {
    color: orange;
    text-decoration: none;
}

    a[href^="tel:"]:before {
        content: "\260e";
        margin-right: 0.2em;
    }

.roseta-urg {
    width: 60px;
    height: 60px;
    position: relative;
    bottom: 74px;
    right: 39px;
    border-radius: 50%;
    box-sizing: border-box;
    animation: ctaBody 5s ease-in-out infinite;
    color: #535353;
    padding: 3px 0 0 0;
    font-weight: 700;
    font-family: 'Open Sans', Arial, serif;
    font-size: 12px;
    background-color: #529ea9;
    border-top: 1px solid #529ea9;
    text-align: center;
    z-index: 2;
}

    .roseta-urg > i {
        width: 27px;
        height: 37px;
        position: absolute;
        left: 18px;
        top: 13px;
        background: url(../img/binaria_logo.png) no-repeat center center;
        background-size: 100%;
        box-sizing: border-box;
        opacity: 1;
    }

    .roseta-urg > p {
        position: absolute;
        width: 90px;
        right: 12px;
        bottom: 1px;
        line-height: 1.2;
        font-size: 15px;
        font-weight: bold;
        text-align: left;
        color: #ffffff;
        animation: ctaText 5s ease-in-out infinite;
        opacity: 0;
        box-sizing: border-box;
    }

.roseta-tab {
    border: 0;
    cursor: pointer;
    overflow: visible;
    border-radius: 4px 4px 0 0;
    font-family: 'Open Sans', Arial, serif;
    width: 40px;
    height: 50px;
    position: fixed;
    bottom: 16%;
    left: 5%;
    z-index: 2;
}

.roseta-urg:hover {
    width: 80px;
    opacity: 1;
}

@keyframes ctaText {
    0% {
        opacity: 0;
    }

    35% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    93% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes ctaBody {
    0% {
        width: 62px;
        border-radius: 45px;
    }

    17% {
        width: 62px;
        border-radius: 45px;
    }

    29% {
        width: 62px;
        border-radius: 45px;
    }

    31% {
        width: 62px;
        border-radius: 45px;
    }

    32% {
        width: 62px;
        border-radius: 45px;
    }

    37% {
        width: 170px;
        border-radius: 45px;
    }

    39% {
        width: 170px;
        border-radius: 45px;
    }

    40% {
        width: 170px;
        border-radius: 45px;
    }

    95% {
        width: 170px;
        border-radius: 45px;
    }

    98% {
        width: 62px;
        border-radius: 45px;
    }

    100% {
        width: 62px;
        border-radius: 45px;
    }
}

/* Read more */

.read-more-state {
    display: none;
}

.read-more-target {
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: .25s ease;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
}

.read-more-state ~ .read-more-trigger:before {
    content: 'Leer más..';
}

.read-more-state:checked ~ .read-more-trigger:before {
    content: 'Leer menos..';
}

.read-more-trigger {
    cursor: pointer;
    display: inline-block;
    /* padding: 0 .5em; */
    padding-right: 5px;
    color: rgb(52, 185, 238);
    font-size: .9em;
    line-height: 2;
    /* border: 1px solid #ddd;
  border-radius: .25em; */
}

.web-avatar {
    background: url(https://s3.amazonaws.com/agentbot/2a19e25ce0aa68b385c93c723df1986e/custom_avatar_cta.png);
    width: 62px;
    background-size: contain;
    background-repeat: no-repeat;
    height: 143px;
    position: absolute;
    left: 7px;
    bottom: 1px;
    z-index: 5;
}

/*Tooltip*/
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 230px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 5px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        opacity: 0;
        transition: opacity 0.3s;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }


.chat-input::-webkit-outer-spin-button,
.chat-input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
