.btn-main {
    border: 0 !important;
    border-radius: 42px !important;
    background-color: #000091 !important;
    color: white !important;
    padding: 12px 40px;
    font-size: 20px;
}

.floating-chat {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 60px;
    height: 60px;
    transform: translateY(76px);
    transition: all 250ms ease-out;
    border-radius: 50%;
    /* opacity: 0; */
    background: #000091;
}

.floating-chat.enter:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    opacity: 1;
}

.floating-chat.enter {
    transform: translateY(0);
    /* opacity: 0.6; */
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 2px rgba(0, 0, 0, 0.14);
}

.floating-chat.expand {
    width: 350px;
    max-height: 600px;
    height: 600px;
    border-radius: 20px;
    padding-bottom: 30px;
    cursor: auto;
    opacity: 1;
    z-index: 2000;
}

@media (max-width: 400px) {
    .floating-chat.expand {
        width: calc(100% - 32px);
        max-height: calc(100% - 32px);
        height: calc(100% - 32px);
        z-index: 2000;
    }
}

@media (max-height: 650px) {
    .floating-chat.expand {
        max-height: calc(100% - 32px);
        height: calc(100% - 32px);
        z-index: 2000;
    }
}

.floating-chat :focus {
    outline: 0;
    box-shadow: 0 0 3pt 2pt #e9e9e9;
}

.floating-chat button {
    background: transparent;
    border: 0;
    color: white;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
}

.floating-chat .chat {
    display: flex;
    flex-direction: column;
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    transition: all 250ms ease-out;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-chat .chat.enter {
    opacity: 1;
    border-radius: 0;
    margin: 0;
    padding-top: 24px;
    width: auto;
    height: auto;
}

.floating-chat .chat .header {
    flex-shrink: 0;
    padding-bottom: 10px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    display: flex;
    background: transparent;
}

.floating-chat .chat .header .title {
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0 5px;
}

.floating-chat .chat .header button {
    flex-shrink: 0;
}

.floating-chat .chat .messages {
    padding: 10px;
    margin: 0;
    list-style: none;
    overflow-y: scroll;
    overflow-x: hidden;
    flex-grow: 1;
    background: #fff;
}

.floating-chat .chat .messages::-webkit-scrollbar {
    width: 5px;
}

.floating-chat .chat .messages::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #e9e9e9;
}

.floating-chat .chat .messages::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #48484A;
}

.floating-chat .chat .messages li {
    position: relative;
    clear: both;
    display: inline-block;
    padding: 14px;
    margin: 0 0 20px 0;
    font: 12px/16px 'Noto Sans', sans-serif;
    border-radius: 20px;
    background-color: #fff;
    word-wrap: break-word;
    max-width: 81%;
}

.floating-chat .chat .messages li:before {
    position: absolute;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 25px;
    content: '';
    background-size: cover;
}

.floating-chat .chat .messages li.self {
    animation: show-chat-odd 0.15s 1 ease-in;
    -moz-animation: show-chat-odd 0.15s 1 ease-in;
    -webkit-animation: show-chat-odd 0.15s 1 ease-in;
    float: right;
    margin-right: 45px;
    color: #fff;
    background: #1F8B9E;
}

.floating-chat .chat .messages li.self.choices {
    animation: show-chat-odd 0.15s 1 ease-in;
    -moz-animation: show-chat-odd 0.15s 1 ease-in;
    -webkit-animation: show-chat-odd 0.15s 1 ease-in;
    float: right;
    margin-right: 45px;
    color: #1F8B9E;
    background: transparent;
}

.floating-chat .chat .messages li.self.choices .response-choice {
    border: 1px solid #1F8B9E;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 50px;
    cursor: pointer;
}

.floating-chat .chat .messages li.self.choices .response-choice:hover {
    color: #fff;
    background: #1F8B9E;
}

.floating-chat .chat .messages li.self:before {
    right: -40px;
    transform: translateY(20%);
    background-image: url(../img/user.png);
}

.floating-chat .chat .messages li.self.choices:before {
    right: -40px;
    transform: translateY(60%);
    background-image: url(../img/user.png);
}


.floating-chat .chat .messages li.other {
    animation: show-chat-even 0.15s 1 ease-in;
    -moz-animation: show-chat-even 0.15s 1 ease-in;
    -webkit-animation: show-chat-even 0.15s 1 ease-in;
    float: left;
    margin-left: 45px;
    color: #48484A;
    background: #e9e9e9;
}

.floating-chat .chat .messages li.other:before {
    left: -40px;
    transform: translateY(40%);
    background-image: url(../img/medecin.png);
}

.floating-chat .chat .chat-footer {
    flex-shrink: 0;
    display: flex;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 44px;
    max-height: 150px;
    background: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.floating-chat .chat .chat-footer .text-box {
    border-radius: 3px;
    background: #fff;
    min-height: 100%;
    width: 100%;
    height: 44px;
    margin-right: 5px;
    color: #48484A;
    overflow-y: hidden;
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid #48484F;
}

.floating-chat .chat .chat-footer .text-box::-webkit-scrollbar {
    width: 5px;
}

.floating-chat .chat .chat-footer .text-box::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: rgba(25, 147, 147, 0.1);
}

.floating-chat .chat .chat-footer .text-box::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #fff;
}

#sendMessage {
    height: 44px;
}

#sendMessage svg {
    transform: rotate(45deg);
}

.no-border:focus {
    border: 0 !important;
    box-shadow: none !important;
}

#confirmer-inscription {
    border-radius: 42px;
    background: #203471;
    font-family: 'Roboto', sans-serif;
}

.confirm-registration-text {
    color: #48484F;
}

@keyframes show-chat-even {
    0% {
        margin-left: -480px;
    }

    100% {
        margin-left: 0;
    }
}

@-moz-keyframes show-chat-even {
    0% {
        margin-left: -480px;
    }

    100% {
        margin-left: 0;
    }
}

@-webkit-keyframes show-chat-even {
    0% {
        margin-left: -480px;
    }

    100% {
        margin-left: 0;
    }
}

@keyframes show-chat-odd {
    0% {
        margin-right: -480px;
    }

    100% {
        margin-right: 0;
    }
}

@-moz-keyframes show-chat-odd {
    0% {
        margin-right: -480px;
    }

    100% {
        margin-right: 0;
    }
}

@-webkit-keyframes show-chat-odd {
    0% {
        margin-right: -480px;
    }

    100% {
        margin-right: 0;
    }
}