/* ====================
   Variables
==================== */
:root {
    --color-burgundy: #97144d;
}

/* ====================
   Global Overrides
==================== */
.tooltip {
    opacity: 1 !important;
}

footer .footer div a {
    color: #fff !important;
}

::-webkit-input-placeholder,
::placeholder,
:-ms-input-placeholder,
::-ms-input-placeholder {
    color: var(--color-burgundy);
    opacity: 1;
    font-weight: bolder;
}

/* ====================
   Chatbot Wrapper & UI
==================== */
#chatbotwrapper {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 0;
    height: auto;
    z-index: 99;
}

#chatbotwrapper.Chatboxopenwrapper {
    height: 80%;
}

#chatbotUI {
    z-index: 100000 !important;
}

#chatbotUI .fa {
    color: #fff;
    font-size: 16px;
    background-color: #787878;
    padding: 9.5px 12px;
    border-radius: 5px;
    position: relative;
}

#chatbotUI .fa:before,
#chatbotUI .fa:after {
    content: " ";
    position: absolute;
}

#chatbotUI .fa:before {
    bottom: -20px;
    height: 20px;
    left: 0;
    width: 100%;
}

#chatbotUI .fa:after {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #787878;
    bottom: -10px;
    right: 21px;
}

/* ====================
   Chatbot Interface
==================== */
.chatBot-botlogo,
.chatBot-size {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.chatBot-botlogo {
    background-color: var(--color-burgundy);
    color: #fff;
    border-radius: 16px;
    height: 60px;
    width: 150px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 10000;
}

.chatBot-botlogo>img,
.landing-page-icon>img,
.minimize-screen>img {
    height: 50px;
    width: 50px;
}

.chatBot-size {
    overflow: hidden;
    background-color: #fff !important;
    z-index: 99999 !important;
    border-radius: 8px;
    outline: none;
    border: none;
    background-size: cover;
    background-position: 50%;
    visibility: visible;
    max-width: 400px;
    height: 90%;
    min-height: 80%;
    min-width: 30%;
    width: 400px;
    box-shadow: -5px 6px 14px -1px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: -5px 6px 14px -1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -5px 6px 14px -1px rgba(0, 0, 0, 0.75);
}

.chatBot-hide {
    visibility: hidden;
    background-color: red;
    height: 0 !important;
    display: none;
}

.divIframeChat iframe {
    width: 430px;
    height: 500px;
}

.iframe-size {
    width: 100%;
    height: calc(100% - 50px);
    border-radius: 0 0 8px 8px;
    outline: none;
}

.minimize-screen {
    display: flex;
    flex-direction: row;
    width: 200px;
}

.minimize-screen>img {
    width: auto;
    background-color: var(--color-burgundy);
}

/* ====================
   Landing Page & Bounce
==================== */
.landing-page-icon {
    width: 70px;
    height: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 10000;
    position: fixed;
    bottom: 50px;
    right: 20px;
}

.bounce {
    animation: bounce 3s ease 3;
    position: fixed;
    bottom: 133px;
    right: 20px;
    z-index: 10000 !important;
    font-family: "Lato-Regular", sans-serif !important;
}

/* Bounce Animation */
@-webkit-keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-15px);
    }

    60% {
        -webkit-transform: translateY(-10px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* ====================
   Mini Container UI
==================== */
.containerMini {
    min-width: 310px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    margin-top: 50px;
    z-index: 100000;
}

.containerMini .top-hearder {
    background-color: var(--color-burgundy);
    color: #fff;
    border-radius: 16px;
    height: 80px;
    width: 290px;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: row;
}

.containerMini .top-hearder>img {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 5px;
    right: 10px;
    border-radius: 140px;
    border: 5px solid #fff;
    background-color: var(--color-burgundy);
}

.containerMini .top-hearder .minimizeContent {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.containerMini .top-hearder .minimizeContent>img {
    width: 60px;
    height: 60px;
    margin-left: 10px;
}

.containerMini .top-hearder .minimizeContent>.typing {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.containerMini .top-hearder .typing>.closeMini {
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    padding: 0 5px;
}

.containerMini .top-hearder .typing>p {
    font-size: 12px;
    margin-bottom: 5px;
    font-style: italic;
    font-weight: 600;
    color: #fff;
}

.containerMini .top-hearder .closeMini>.enter-icon {
    color: #787878;
    width: 16px;
    height: 16px;
}

.containerMini .top-hearder .closeMini>input {
    font-size: 12px;
    flex: 1 1;
    margin-left: 10px;
    background: none;
    outline: none;
    border: none;
}

/* ====================
   Header and Icons
==================== */
.top-hearder {
    background: var(--color-burgundy);
    padding: 10px 20px;
    height: 50px;
    line-height: 1.2rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.top-hearder.init {
    background: hsla(0, 0%, 100%, 0.993);
}

.top-hearder.init>img {
    display: none;
}

.top-hearder img {
    width: 40px;
    float: left;
}

.mintitle {
    margin-left: 99px;
}

.openicon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.openicon>* {
    color: #fff;
    cursor: pointer;
}

.openicon .header-title {
    font-weight: 600;
}

.openicon span img {
    width: 20px;
    transform: rotate(0);
    transition: transform 0.2s linear;
}

.containerMini .openicon span.minimize img {
    transform: rotate(180deg);
}

.pull-right {
    float: right !important;
}

/* ====================
   App Styles
==================== */
.App {
    text-align: center;
}

.App-logo {
    height: 40vmin;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .App-logo {
        animation: App-logo-spin 20s linear infinite;
    }
}

.App-header {
    background-color: #282c34;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: calc(10px + 2vmin);
    color: #fff;
}

.App-link {
    color: #61dafb;
}

@-webkit-keyframes App-logo-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes App-logo-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ====================
   Media Queries
==================== */
@media (max-width: 500px) {
    .chatBot-size {
        background-color: #fff !important;
        width: 100%;
        min-width: 40%;
        right: 0;
        bottom: 0;
        height: 100%;
        margin: 0;
        max-width: 100%;
        border-radius: 0 !important;
        position: fixed;
    }
}