/* Customer Specific CSS */

/* This session below change the bubble chat color */

/* client color */
.eourdf {
    background: #cceaff !important;
    color: black !important;
}

.eourdf::after {
    border-bottom: 9px solid #cceaff !important;
}

/* agent color */
.sc-cSHVUG.joKHqV {
    background: #66bfff !important;
    color: white !important;
}

.joKHqV::after {
    border-bottom: 9px solid #66bfff !important;
}

/* Hide landing UI */
#section-main {
    /* display: none; */
}

/* Size chat to fit */
#chatWrapper,
#root,
.connect-customer-interface {
    height: 100% !important;
}

.xoggs {
    margin: 0px !important;
}

#root>div {
    width: 100% !important;
}

/* Text input */
.gxsgKL {
    border: 1px solid darkgray !important;
    margin: 4px 12px 4px 12px !important;
    border-radius: 4px;
    padding: 10px !important;
}

.dSGijn {
    padding: 14px 20px !important;
}

/* Header color */
.header-wrapper {
    background: white !important;
    text-align: center;
}

/* Footer buttons */
#footer_table_th_close {
    padding: 4px 10px;
}

#footer_table_th_send {
    padding: 4px 14px;
}

#footer_table_th_close>div>img,
#footer_table_th_send>div>img {
    cursor: pointer;
}

.fschpR {
    height: 60px !important;
    /* Height of footer */
}

nav {
    width: 690px;
}

.input-tab {
    /* width: 80%; */
    height: 1.5rem;
    padding: 10px;
    font: 14px;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.section-main {}

.section-chat {
    width: 100%;
    height: 100%;
    position: absolute;
    /* top: 0; */
    left: 710px;
    padding: 3px;
    max-width: 365px;
    height: 525px;
    margin-left: 3px;
    float: left;
    overflow: auto;
    border-radius: 5px 5px 45px 5px;

    /* Position chat UI */
    height: 100% !important;
    top: 0 !important;
    left: 0px !important;
    padding: 0px !important;
    max-width: 100% !important;
    /* Max width of chat UI */
    margin-left: 0px !important;
    border-radius: 0px !important;
}

#root {
    overflow: auto;
}

#root>div {
    overflow-y: auto;
    overflow-x: hidden;
    width: 330px;
    height: 485px;
    font-size: 14px;
}

/* #startChat {
    height: 40px;
    width: 200px;
    padding: 5px 0;
    background-color: yellow;
    border: 1px solid black;
    border-radius: 1px;
    font: 14px Arial;
    font-weight: bold;
    color: black;
    margin-top: 30px;
    margin-left: 10px; 
} */

.centered {
    text-align: center;
}

.spinner.loading {
    display: none;
    padding: 50px;
    text-align: center;
}

.loading-text {
    width: 90px;
    position: absolute;
    top: 245px;
    left: 137px;
    text-align: center;
}

.spinner.loading:before {
    content: "";
    height: 110px;
    width: 110px;
    margin: -15px auto auto -15px;
    position: absolute;
    top: 218px;
    left: 143px;
    border-width: 5px;
    border-style: solid;
    border-color: #2180c0 #ccc #ccc;
    border-radius: 100%;
    animation: rotation 0.7s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

ol.normal {
    list-style-type: disc;
    padding-left: 50px;
}

.wrap {
    white-space: nowrap;
}

.header-wrapper {
    background: #3f5773;
    text-align: center;
    padding: 10px;
    color: #fff;
    border-radius: 3px;
}

.welcome-text {
    margin: 10px;
    padding-right: 40px;
    padding-left: 10px;
    display: inline;
}

.footer-actions {
    background: #eee;
    height: 85px;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: row;
    height: 100%;
    align-items: center;
    border-radius: 5px;
}

.button-wrapper>button {
    min-width: 85px;
    margin: 6px;
    font-weight: bold;
}

.action-button {
    width: 43%;
    line-height: 1.465;
    font-weight: normal;
    white-space: nowrap;
    color: rgb(255, 255, 255);
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    padding-right: 10px;
    padding-left: 10px;
    font-family: AmazonEmber_Md, Helvetica, sans-serif;
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    max-width: 260px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    font-size: 0.875rem;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 3px 0px;
    border-width: 0px;
    border-style: solid;
    background: linear-gradient(rgb(208, 2, 27), rgb(208, 2, 27) 80%, rgb(233, 2, 30));
    border-color: rgb(208, 2, 27);
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.required {
    color: red;
}

/* Content css */

.grid-container {
    display: grid;
    /* grid-template-columns: auto; */
    padding: 5px;
    grid-gap: 5px;
}

.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    margin: 5px;
    font-size: 1em;
    text-align: left;
}

.select-drop-down {
    width: 100%;
}

.input-area {
    width: 100%;
    border: 1px solid black;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 550px) {
    #startChat {
        height: 30px !important;
        width: 200px !important;
    }

    #submitButton {
        text-align: center !important;
    }

    .input-tab {
        width: 100%;
    }

    .logo {
        width: 100% !important;
    }
    #dialogBox > .content,
    #dialogBoxDownload > .content {
        width:89.5%;
        max-width: 89.5%;
    }
}

/* Small devices (portrait tablets and large phones, 550px and up) */
@media only screen and (min-width: 550px) {
    .section-main {
        max-width: 500px;
        margin-left: 22px;
        float: left;
        position: absolute;
        left: 0;
        background-color: white;
        border: 0.2rem solid black;
    }

    .grid-container {
        grid-template-columns: 50% 50%;
    }

    .input-tab {
        width: 80%;
    }

    .logo {
        width: min-content;
    }
    #dialogBox > .content{
        width:94%;
        max-width: 94%;
    }
    #dialogBoxDownload > .content {
        width:91.5%;
        max-width: 91.5%;
    }
}

#dialogBox > .overlay,
#dialogBoxDownload > .overlay {
    width:100%;
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#dialogBox > .overlay{
    background:#ffffff;
    opacity: 1;
}
#dialogBoxDownload > .overlay {
    background: #aaaaaa;
    opacity: .3;
}
#dialogBox > .content,
#dialogBoxDownload > .content {
    position:absolute;
    top: 35%;
    left: 2%; 
    z-index: 1000000;
    background-color:#f8d7da;
    text-align:center;
    color:#721c24;
    font-size:0.95em;
    font-family:sans-serif;
    overflow-wrap:break-word;
    white-space:normal;
    padding: 0.7em;
    border: 1px solid #f5c6cb;
    border-radius: 0.25rem;
    box-shadow: 0px 0px 5px #666666;

    
}