
#full-chat-block {
    height: 400px;
    width: 600px;
    position: relative;
    margin: auto;
    background: white;
    text-align: center;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-style: solid;
    border-width: 1px;
    box-shadow: 5px 5px 5px grey;
    border-radius: 15px;
}

#full-chat-block-small {
    width: 350px;
    position: fixed;
    z-index: 2;
    bottom: -15px;
    right: 50px;
    margin: auto;
    background: white;
    text-align: center;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-style: solid;
    border-width: 1px;
    box-shadow: 5px 5px 5px grey;
    border-radius: 15px 15px 0 0;
}

#chat-collapse-button {
    width: 100%;
    height: 70px;
    border-radius: 15px 15px 0 0;
    background-color: #0071bc;
    color: white;
    cursor: pointer;
    padding: 18px;
    text-align: left;
    outline: none;
    font-size: 18px;
    border: 3px solid;
    border-bottom: none;
}

#chat-collapse-button:hover {
    background-color: rgb(250, 130, 91);
}

#content {  /*wird bei drücken des collapse button gesetzt*/
}

#hide-content {
    height: max-content;
}

#chat-wrapper {
    width: 100%;
    height: 85%;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#chat-wrapper-small {
    width: 100%;
    height: 380px;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#chat-messages-wrapper {
    height: 85%;
    overflow: auto;
    display: flex;
    flex-direction: column-reverse;
}

#chat-input-wrapper {
    position: absolute;
    width: 100%;
    height: 15%;
}

#chat-input {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-top: 1px solid ;
    border-radius: 15px;
    padding-left: 30%;
    padding-right: 30%;
    background: #e0e0e0;
}

#chat-input-small {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-top: 1px solid ;
    border-radius: 15px 15px 0 0;
    background: #e0e0e0;
}

#user-input {
    float: left;
    width: 85%;
    box-sizing: border-box;
    padding: 2%;
    text-align: center;
}

#submit-input {
    float: right;
    width: 15%;
    box-sizing: border-box;
    padding: 4% 10% 4% 0;
    font-size: 20px;
}

#chat-icon-send {
    cursor: pointer;
}

#chat-icon-bar:hover {
    opacity: .7;
}

#chat-icon-send:hover {
    opacity: .7;
}



.input-box {
    float: left;
    border: none;
    box-sizing: border-box;
    width: 95%;
    /*height: 100%;*/
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    color: #000000;
    background-color: white;
    outline: none
}

.userText {
    color: white;
    font-family: Helvetica;
    font-size: 16px;
    font-weight: normal;
    text-align: right;
    clear: both;
}

.userText span {
    line-height: 1.5em;
    display: inline-block;
    background: #0071bc;
    padding: 10px;
    border-radius: 10px 10px 2px 10px;
    max-width: 80%;
    margin-right: 10px;
    animation: floatup .5s forwards
}

.botText {
    color: #000;
    font-family: Helvetica;
    font-weight: normal;
    font-size: 16px;
    text-align: left;
}

.botText span {
    line-height: 1.5em;
    display: inline-block;
    background: #e0e0e0;
    padding: 10px;
    border-radius: 10px 10px 10px 2px;
    max-width: 80%;
    margin-left: 10px;
    animation: floatup .5s forwards
}

@keyframes floatup {
    from {
        transform: translateY(14px);
        opacity: .0;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@media screen and (max-width:600px) {
    #chat-input {
        padding-left: 0;
        padding-right: 0;
    }
    #full-chat-block {
        width: 100%;
    }
    #full-chat-block-small {
        right: 0;
        width: 100%;
    }
    #user-input {
        padding: 2% 2% 0 2%;
    }
    #submit-input {
        padding: 4% 10% 0 0;
    }
}


