body, html,
#kb-quick-help,
#kb-quick-help .content {
    overflow: hidden;
    height: 100%;
    width: 100%;
}


/*--- Header ---*/
.qh-header {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
    z-index: 1;
}

.qh-header,
.qh-header-wrapper {
    height: 150px;
    transition: all 0.5s;
}

.qh-header-image {
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}


.qh-header h2,
.qh-header p {
    position: relative;
    color: #fff;
    margin: 0;
}

.qh-header h2 {
    font-size: 40px;
}

.qh-header p {
    opacity: 0.8;
}

#qh-back {
    height: 25px;
    width: 25px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #fff;
}

.qh-bot-name {
    display: inline-block;
    margin:  0 10px;
    color: #fff;
}

/*--- Sticky Header ---*/
.qh-header-sticky {
    opacity: 0;
    height: 50px;
    width: 100%;
    position: absolute;
    bottom: 0;
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.qh-header-unsticky {
    overflow: hidden;
}

.qh-header-sticky,
.qh-header-unsticky {
    transition: all 0.5s;
}

.header-fixed .qh-header {
    position: fixed;
    width: 100%;
    padding: 0 20px;
    margin-top: -100px;
}

.header-fixed .qh-header-wrapper {
    height: 50px;
}

.header-fixed .qh-header-unsticky {
    transform: translateY(-50px);
}

.header-fixed .qh-header-sticky {
    opacity: 1;
}

/*--- Content ---*/
#kb-quick-help .content {
    padding-bottom: 50px;
}

.qh-cards {
    padding: 15px 20px;
}


/*--- Text ---*/
.qh-title {
    color: #666;
}

/*--- Chat Box ---*/
#chatbox {
    position: fixed;
    bottom: 0;
    height: 50px;
    width: 100%;
    display: flex;
    border-top: 1px solid #efefef;
    justify-content: space-between;
}

#chatbox input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    border: none;
}

#chatbox #send {
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-left: 1px solid #efefef;
    background: #fff;
}

#chatbox #send:disabled {
    background: #f9f9f9;
}

#chatbox #send:focus,
#chatbox input[type="text"]:focus {
    outline: none;
}


/*--- Chat ---*/
#qh-chat {
    margin: 15px auto;
    display: none;
}

#qh-chat .message {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

#qh-chat .message .message-content {
    flex: 1;
    margin: 10px;
    padding: 15px;
    background: #efefef;
    border-radius: 3px;
}

#qh-chat .message .message-content ul {
    padding-left: 15px;
}

#qh-chat .user-message .message-content {
    text-align: right;
}

#qh-chat .avatar {
    position: relative;
    height: 50px;
    width: 50px;
    overflow: hidden;
}

#qh-chat .avatar img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 50px;
    width: 50px;
    border-radius: 50%;
}