body {
    min-height: 440px;
    min-width: 200px;
    background-color: #F5F5F5;
    font-family: 'Montserrat', sans-serif;
    font-size: 11pt;
    overflow:hidden;
    line-height:1.3;
}

a {
    color: rgb(159, 181, 239);
}

a:focus, a:hover {
    color: rgba(255,255,255,0.75);
    text-decoration: underline;
}

img {
    max-width: 100%;
}
.nav-link {
    color: rgb(159, 181, 239);
}

.nav-link.active {
    color: rgb(255, 255, 255);
}

.center-box {
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    height: 100vh; /* Full viewport height */
}

.loader {
    width: 250px;
    height: 250px;
}

.container {
    width: 100%;
    height: 100vh;
    padding: 0;
    background-color: #FFF;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.row {
    margin: 0px;
}
  /* ===== MENU ===== */
  .menu {
    display:none;
    float: left;
    height: 100vh;
    width: 70px;
    background: #4768b5;
    background: -webkit-linear-gradient(#4768b5, #35488e);
    background: -o-linear-gradient(#4768b5, #35488e);
    background: -moz-linear-gradient(#4768b5, #35488e);
    background: linear-gradient(#4768b5, #35488e);
    box-shadow: 0 10px 20px rgba(0,0,0,0.19);
  }
  
  .menu .items {
    list-style:none;
    margin: auto;
    padding: 0;
  }
  
  .menu .items .item {
    height: 70px;
    border-bottom: 1px solid #6780cc;
    display:flex;
    justify-content: center;
    align-items: center;
    color: #9fb5ef;
    font-size: 17pt;
  }
  
  .menu .items .item-active {
    background-color:#5172c3;
    color: #FFF;
  }
  
  .menu .items .item:hover {
    cursor: pointer;
    background-color: #4f6ebd;
    color: #cfe5ff;
  }

/* === ASSISTANTS === */

.assistants {
    width: 100%;
    min-width: 90px;
    height: 100vh;
    box-shadow: 0px 8px 10px rgba(0,0,0,0.20);
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #87a3ec;
    display: inline-block;
    float: left;
    scrollbar-width: thin; /* firefox - maakt de scrollbar dunner */
    scrollbar-color: darkgrey #f1f1f1; /* firefox - scrollbar-thumb kleur en track kleur */
}

/* Stijl de scrollbar */
    .assistants::-webkit-scrollbar {
        width: 8px; /* breedte van de scrollbar */
    }

    .assistants::-webkit-scrollbar-thumb {
        background-color: darkgrey; /* kleur van de scrollbar */
        border-radius: 10px; /* ronde hoeken van de scrollbar */
    }

    .assistants::-webkit-scrollbar-track {
        background: #f1f1f1; /* achtergrond van de scrollbar track */
        border-radius: 10px; /* ronde hoeken van de track */
    }

    .assistants .discussion {
        width: 100%;
        height: 90px;
        background-color: #FAFAFA;
        border-bottom: solid 1px #E0E0E0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .assistants .search {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #E0E0E0;
    }

        .assistants .search .searchbar {
            height: 40px;
            background-color: #FFF;
            width: 70%;
            padding: 0 20px;
            border-radius: 50px;
            border: 1px solid #EEEEEE;
            display: flex;
            align-items: center;
            cursor: pointer;
        }

            .assistants .search .searchbar input {
                margin-left: 15px;
                height: 38px;
                width: 100%;
                border: none;
                font-family: 'Montserrat', sans-serif;
                ;
            }

            .assistants .search .searchbar *::-webkit-input-placeholder {
                color: #E0E0E0;
            }

            .assistants .search .searchbar input *:-moz-placeholder {
                color: #E0E0E0;
            }

            .assistants .search .searchbar input *::-moz-placeholder {
                color: #E0E0E0;
            }

            .assistants .search .searchbar input *:-ms-input-placeholder {
                color: #E0E0E0;
            }

    .assistants .message-active {
        width: 98.5%;
        height: 90px;
        background-color: #FFF;
        border-bottom: solid 1px #E0E0E0;
    }

    .assistants .assistant {
        width: 100%;
        height: 90px;
        background-color: #FAFAFA;
        border-bottom: solid 1px #E0E0E0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .assistants .assistant .name {
        margin: 0 0 0 20px;
        font-family: 'Montserrat', sans-serif;
        font-size: 11pt;
        color: #515151;
    }

    .assistants .assistant .message {
        margin: 6px 0 0 20px;
        font-family: 'Montserrat', sans-serif;
        font-size: 9pt;
        color: #515151;
    }


    .assistants .assistant .photo {
        margin-left: 20px;
        display: block;
        width: 45px;
        height: 45px;
        background: #E6E7ED;
        -moz-border-radius: 50px;
        -webkit-border-radius: 50px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
  

  /* === CONVERSATIONS === */

.discussions {
    width: 90px;
    min-width: 90px;
    height: 100vh;
    box-shadow: 0px 8px 10px rgba(0,0,0,0.20);
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #87a3ec;
    display: inline-block;
    float: left;
    display: none;
    scrollbar-width: thin; /* firefox - maakt de scrollbar dunner */
    scrollbar-color: darkgrey #f1f1f1; /* firefox - scrollbar-thumb kleur en track kleur */
}

/* Stijl de scrollbar */
.conversations::-webkit-scrollbar {
    width: 8px; /* breedte van de scrollbar */
}

.conversations::-webkit-scrollbar-thumb {
    background-color: darkgrey; /* kleur van de scrollbar */
    border-radius: 10px; /* ronde hoeken van de scrollbar */
}

.conversations::-webkit-scrollbar-track {
    background: #f1f1f1; /* achtergrond van de scrollbar track */
    border-radius: 10px; /* ronde hoeken van de track */
}

  .discussions .discussion {
    width: 100%;
    height: 90px;
    background-color: #FAFAFA;
    border-bottom: solid 1px #E0E0E0;
    display:flex;
    align-items: center;
    cursor: pointer;
  }
  
  .discussions .search {
    display:flex;
    align-items: center;
    justify-content: center;
    color: #E0E0E0;
  }
  
  .discussions .search .searchbar {
    height: 40px;
    background-color: #FFF;
    width: 70%;
    padding: 0 20px;
    border-radius: 50px;
    border: 1px solid #EEEEEE;
    display:flex;
    align-items: center;
    cursor: pointer;
  }
  
  .discussions .search .searchbar input {
    margin-left: 15px;
    height:38px;
    width:100%;
    border:none;
    font-family: 'Montserrat', sans-serif;;
  }
  
  .discussions .search .searchbar *::-webkit-input-placeholder {
      color: #E0E0E0;
  }
  .discussions .search .searchbar input *:-moz-placeholder {
      color: #E0E0E0;
  }
  .discussions .search .searchbar input *::-moz-placeholder {
      color: #E0E0E0;
  }
  .discussions .search .searchbar input *:-ms-input-placeholder {
      color: #E0E0E0;
  }
  
  .discussions .message-active {
    width: 98.5%;
    height: 90px;
    background-color: #FFF;
    border-bottom: solid 1px #E0E0E0;
  }
  
  .discussions .discussion .photo {
      margin-left:20px;
      display: block;
      width: 45px;
      height: 45px;
      background: #E6E7ED;
      -moz-border-radius: 50px;
      -webkit-border-radius: 50px;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
  }
  
  .online {
    position: relative;
    top: 30px;
    left: 35px;
    width: 13px;
    height: 13px;
    background-color: #8BC34A;
    border-radius: 13px;
    border: 3px solid #FAFAFA;
  }
  
  .desc-contact {
    height: 43px;
    width:auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none;
  }
  
  .discussions .discussion .name {
    margin: 0 0 0 20px;
    font-family:'Montserrat', sans-serif;
    font-size: 11pt;
    color:#515151;
  }
  
  .discussions .discussion .message {
    margin: 6px 0 0 20px;
    font-family:'Montserrat', sans-serif;
    font-size: 9pt;
    color:#515151;
  }
  
  .timer {
    margin-left: auto;
    margin-right: 5px;
    font-family:'Open Sans', sans-serif;
    font-size: 11px;
    padding: 3px 8px;
    color: #BBB;
    background-color: #FFF;
    border: 1px solid #E5E5E5;
    border-radius: 15px;
    min-width:55px;
    position:relative;
    float:left;
    display:none;
  }


.config {
    padding: 20px;
    width: auto;
    overflow: hidden;
}

.api-key {
    background-color: #FAFAFA;
    padding: 30px;
    border-radius:30px;
}


.chat {
    width: auto;
    overflow:hidden;
}

  .chatline * {
    overflow-anchor: none;
  }

  .anchor {
    overflow-anchor: auto;
    height: 1px;
  }

  .header-chat {
    background-color: #FFF;
    height: 10vh;
    box-shadow: 0px 3px 2px rgba(0,0,0,0.100);
    display:flex;
    align-items: center;
    width: calc(100% - 100px);
  }
  
  .chat .header-chat .icon {
    margin-left: 30px;
    color:#515151;
    font-size: 14pt;
  }

    .chat .header-chat .photo {
        margin-left: 20px;
        font-size: 14pt;
    }
  
  .chat .header-chat .name {
    margin: 0 0 0 20px;
    text-transform: uppercase;
    font-family:'Montserrat', sans-serif;
    font-size: 13pt;
    color:#515151;
  }
  
  .chat .header-chat .right {
    position: absolute;
    right: 40px;
  }

.chat .messages-chat {
    padding: 25px 5px 40px 5px;
    height: 80vh;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin; /* maakt de scrollbar dunner */
    scrollbar-color: darkgrey #f1f1f1; /* scrollbar-thumb kleur en track kleur */
}

    /* WebKit (Chrome, Safari, Edge) */
    .chat .messages-chat::-webkit-scrollbar {
        width: 8px; /* breedte van de scrollbar */
    }

    .chat .messages-chat::-webkit-scrollbar-thumb {
        background-color: darkgrey; /* kleur van de scrollbar */
        border-radius: 10px; /* ronde hoeken van de scrollbar */
    }

    .chat .messages-chat::-webkit-scrollbar-track {
        background: #f1f1f1; /* achtergrond van de scrollbar track */
        border-radius: 10px; /* ronde hoeken van de track */
    }  

  .chat .messages-chat .message {
    display:flex;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .chat .messages-chat .message .photo {
      display: none;
      min-width: 45px;
      height: 45px;
      background: #E6E7ED;
      -moz-border-radius: 50px;
      -webkit-border-radius: 50px;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
  }

    .chat .header-chat .photo {
        display: block;
        min-width: 70px;
        height: 70px;
        background: #E6E7ED;
        -moz-border-radius: 50px;
        -webkit-border-radius: 50px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
  
  .chat .messages-chat .text {
    margin: 0 15px;
    background-color: #f6f6f6;
    padding: 15px;
    border-radius: 12px;
  }
  
  .text-only {
    margin-left: 45px;
  }

  .image {
      width: 100%;
      min-width: 225px;
      margin-bottom:15px;
      border-radius:8px;
  }

.time {
    font-size: 10px;
    color: grey;
    margin-bottom: 10px;
    margin-left: 70px;
    display: block;
    position: relative;
    margin-top: -25px;
}

.response-time {
    float: right;
    margin-left: 0px;
    margin-top:-25px;
    margin-right: 25px !important;
}
  
  .response {
    float: right;
    margin-right: 0px !important;
    margin-left:auto; /* flexbox alignment rule */
  }
  
  .response .text {
    background-color: #e3effd !important;
  }
  
  .footer-chat {
    width: 95%;
    height: 10vh;
    display:flex;
    align-items: center;
    position:absolute;
    bottom: 0;
    background-color: white;
    border-top: 2px solid #EEE;
    flex-direction: row;
  }
  
  .chat .footer-chat .icon {
    margin-left: 30px;
    color:#C0C0C0;
    font-size: 14pt;
  }

.chat .footer-chat .send {
    color: #fff;
    background-color: #4f6ebd;
    padding: 12px 12px 12px 12px;
    border-radius: 50px;
    font-size: 14pt;
    margin-left: auto;
}
  
  .chat .footer-chat .name {
    margin: 0 0 0 20px;
    text-transform: uppercase;
    font-family:'Montserrat', sans-serif;
    font-size: 13pt;
    color:#515151;
  }
  
  .chat .footer-chat .right {
    position: absolute;
    right: 40px;
  }
  
  .emoji {
      display:none;
  }

  .write-message {
    border:none !important;
    width:76%;
    height: 50px;
    margin-left: 20px;
    padding: 10px;
    margin-right:10px;
  }


.write-api-key {
    border: none !important;
    width: 60%;
    max-width:440px;
    height: 50px;
    margin-left: 0px;
    padding: 10px;
    font: normal 11pt Consolas;
}

  .footer-chat *::-webkit-input-placeholder {
    color: #C0C0C0;
    font-size: 13pt;
  }
  .footer-chat input *:-moz-placeholder {
    color: #C0C0C0;
    font-size: 13pt;
  }
  .footer-chat input *::-moz-placeholder {
    color: #C0C0C0;
    font-size: 13pt;
    margin-left:5px;
  }
  .footer-chat input *:-ms-input-placeholder {
    color: #C0C0C0;
    font-size: 13pt;
  }
  
  .clickable {
    cursor: pointer;
  }
@media (min-width: 440px) {
    .menu {
        display:block;
    }

    .footer-chat {
        width: 80%;
    }

@media (min-width: 580px) {
    .discussions {
        display: block;
    }

    .desc-contact {
        display: none;
    }

    .timer {
        display: none;
    }

    .footer-chat {
        width: calc(80% - 66px);
    }

    .time {
        margin-bottom: 10px;
        margin-left: 65px;
        margin-top: 0px;
    }

    .response-time {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 20px !important;
    }

    .chat .messages-chat .message .photo {
        display: none;
    }
}

    @media (min-width: 990px) {
        .loader {
            width: 500px;
            height: 500px;
        }

        .discussions {
            width: 30%;
            min-width: 240px;
        }

        .container {
            width: 100%;
        }

        .chat .messages-chat .message .photo {
            display: block;
        }

        .desc-contact {
            display: block;
        }

        .timer {
            display: block;
        }

        .footer-chat {
            width: calc(75% - 160px);
        }

        .emoji {
            display: block;
        }

        .footer-chat {
            width: calc(78% - 160px);
        }

        .chat .messages-chat {
            padding: 25px 35px 80px 25px;
            overflow: auto;
        }
    }
