@media (min-width: 450px) {
    .main-card {
        width: 96%;
        max-width: 400px;
        height: calc(100% - 32px) !important;
        border-radius: 8px !important;
        max-height: 600px;
        margin: 16px!important;
    }
}

.collapsed {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    margin: 16px!important;
}

.main-card {
    background: white;
    color: white;
    width: 100%;
    height: 100%;
    margin: 0px;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    right: 0;
    bottom: 0;
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 9999999999;
    transition: all 0.5s;
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2),0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#chatbot_toggle {
    position: absolute;
    right: 0;
    border: none;
    height: 65px;
    width: 65px;
    background: rgb(249,103,104);
    padding: 14px;
    color:white;
}
#chatbot_toggle:hover {
    background: #F56960;
}
.line {
    height: 1px;
    background-color: rgb(249,103,104);
    width: 100%;
    opacity: 0.2;
}
.main-title {
    background-color: rgb(249,103,104);
    font-size: large;
    font-weight: bold;
    display: flex;
    height: 65px;
}
.main-title>div{
    height:65px;
    width:65px;
    display:flex;
    margin-left:8px;
}
.main-title svg {
    height: 24px;
    margin: auto;
}
.main-title > span {
    margin: auto auto auto 8px;
}
.chat-area {
    flex-grow: 1;
    overflow: auto;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.input-message {
    padding: 8px 48px 8px 16px;
    flex-grow: 1;
    border: none;
}
.input-message:focus {
    outline: none;
}
.input-div {
    height: 48px;
    display: flex;
}

.input-send {
    background: transparent;
    width: 48px;
    height: 48px;
    right: 0%;
    border: none;
    cursor: pointer;
}
.input-send:hover {
    background: lavender;
}
.input-send svg {
    fill: rgb(249,103,104);
    margin: 11px 8px;
}
.chat-message-div {
    display: flex;
    flex-wrap: wrap !important;
}
.chat-message-div .chatbot_question{
    cursor: pointer !important;
}

.chat-message-sent {
    overflow: auto;
    background-color: white;
    margin: 8px 16px 8px 64px;
    padding: 8px 16px;
    animation-name: fadeIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 100ms;
    color: black;
    border-radius: 8px 8px 2px 8px;
    /*background-color: lavender;*/
    background-color: #fae6e6;

}
.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: 4px !important;
}
.grecaptcha-badge:hover {
    width: 256px !important;
}
.chat-message-received {
    overflow: auto;
    background-color: white;
    margin: 9px 40px 8px 3px;
    padding: 8px 16px;
    animation-name: fadeIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 100ms;
    color: black;
    border-radius: 8px 8px 8px 2px;
    background-color: lavender;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media(max-width:676px){
    .main-navigation ul > li > a{
        font-size: 12px !important;
    }
    .bottom-header .container.d-flex.justify-content-between.align-items-center{
        flex-wrap: wrap !important;
    }
    .bottom-header .container.d-flex.justify-content-between.align-items-center .site-identity{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .bottom-header .container.d-flex.justify-content-between.align-items-center .header-btn{
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .site-identity a img{
        margin: auto;
    }
    .main-navigation ul > li > a{
        padding: 12px !important;
        padding-top: 5px;
    }
    .main-navigation .navigation > ul > li{
        padding: 0 8px !important;
    }
    .site-identity{
        margin-bottom: 12px;
    }
}


@media(max-width:450px){
    .main-card{
        width: 90% !important;
        height: 75% !important;
        bottom: 5px !important;
        right: 10px !important;
    }
    .collapsed{
        width: 65px !important;
        height: 65px !important;
        bottom: 0px !important;
        right: 0px !important;
    }
}
