.cx-webchat-chat-button {
    visibility: hidden;
}

#chat-button-simple p {
    margin-bottom: 0;
}

.backdrop {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
}

#chatEmailUs {
    background-image: linear-gradient(#008b8b, #016f6f);
    border-radius: 50px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 50px;
    padding: 0 24px;
    transition: padding 150ms;
}

#start-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-image: linear-gradient(#008b8b, #016f6f);
    border-radius: 50px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 50px;
    padding: 0 24px;
    transition: padding 150ms;
    /* display: none; */
}

#start-chat.shrink {
    padding: 0 15px;
}

#start-chat.shrink p {
    opacity: 0;
    display: none;
}

#start-chat p,
#chatEmailUs p {
    padding-left: 8px;
    margin-top: -4px;
    opacity: 1;
    transition: opacity 100ms;
}

#chatEmailUs p {
    margin-top: -15px;
}

#chat-menu-container {
    position: absolute;
    bottom: 30px;
    right: 30px;
    left: 0;
}

.chat-menu {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chat-menu.menu {
    background-image: linear-gradient(#008b8b, #016f6f);
    color: #fff;
    cursor: pointer;
}

#close-menu {
    background-color: whitesmoke;
    color: #016f6f;
    cursor: pointer;
}

#close-menu:hover {
    background-color: #fff;
}

#animated {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: -150px;
    opacity: 0;
    transition: right 200ms;
}

#animated.open {
    right: 0;
    opacity: 1;
}

#close-options-container {
    float: right;
    margin-top: 20px
}

#animated .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
}

.item>.chat-menu {
    flex-grow: 0;
    flex-shrink: 0;
}

.item .label {
    color: #ffffff;
    font-weight: 400;
    margin-right: 16px;
    font-size: 18px;
    text-align: right;
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#sendMessageFormSlider {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    overflow: hidden;
    background-color: transparent;
    width: 100%;
    height: 100%;
    transition: all 600ms ease-in-out;
}


#sendMessageFormSlider.close {
    top: 100%;
}

#sendMessageFormContainer {
    position: absolute;
    right: 55px;
    width: 380px;
    background-color: #ffffff;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    bottom: 0;
    box-shadow: 0 0 21px 2px rgba(0, 0, 0, 0.2);
}

#sendMessageFormContainer .survey-wrapper {
    padding-top: 0;
}

#sendMessageFormContainer.open {
    bottom: 0;
    display: block;
}


#sendMessageFormContainer .title {
    padding: 24px 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px inset #dae1e8;
}

#sendMessageFormContainer .title h3 {
    flex: 1;
}

#sendMessageFormContainer .title img {
    cursor: pointer;
    color: rgb(105, 105, 105);
    transition: all 150ms;
}

#sendMessageFormContainer .title svg:hover,
#sendMessageFormContainer .title svg:active {
    color: rgb(24, 24, 24);
}

#sendMessageFormContainer .body {
    padding: 12px 32px 0 32px;
}

#sendMessageFormContainer .actions {
    padding: 16px 32px 30px 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.control {
    display: flex;
    flex-direction: column;
    padding-bottom: 14px;
    align-items: flex-start;
    justify-content: center;
}

.control div.label {
    flex-grow: 0;
    flex-shrink: 1;
    margin-right: 8px;
    font-size: 14px;
    text-transform: capitalize;
}

.control input[type="email"] {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
    color: #666666;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out 0.15s,
        box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s,
        box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s,
        box-shadow ease-in-out 0.15s;
    color: #4d4d4d;
    border-color: rgba(102, 102, 102, 0.35);
    outline: none;
}

.control input[type="email"]:not([disabled]):active,
.control input[type="email"]:not([disabled]):focus,
.control input[type="email"]:not([disabled]):target {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%),
        0 0 8px rgb(102 175 233 / 60%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%),
        0 0 8px rgb(102 175 233 / 60%);
}

.control textarea {
    height: auto;
}

.control select {
    width: 100%;
}

#sendMsgBody {
    resize: none;
}

#btnSendMsg img {
    margin-right: 6px;
    width: 16px;
    animation: 2s linear 0s infinite normal none running rotating;
    display: none;
}

.custom-alert {
    padding: 12px 16px;
    border-radius: 3px;
}

.custom-alert h4 {
    margin: 0;
}

.custom-alert.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.custom-alert.danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    #start-chat {
        padding: 0 15px;
    }

    #start-chat p {
        display: none;
    }

    #sendMessageFormContainer {
        right: 0;
        width: 100%;
        height: 100%;
    }
}