#amazonconnectchatbtn {
    bottom: 0;
    border-width: medium;
    background-color: #EEE;
    line-height: 2.5em;
    font-weight: 500;
    max-width: 400px;
}

#amazonconnectchatbtn.lsaScreenPosition-fixed {
    position: fixed;
}

#amazonconnectchatbtn.lsaScreenPosition-static {
    bottom: 114px;
}

#amazonconnectchatbtn.lsaScreenPosition-static.lsaChatPosition-right {
    float: right;
}

#amazonconnectchatbtn:not(.lsaAClogoButton) {
    min-width: 300px;
    text-align: center;
}

#amazonconnectchatbtn.lsaAClogoButton:not(.open) {
    border: none;
    background: none;
}

#amazonconnectchatbtn.lsaAClogoButton img {
    max-width: 66px;
    cursor: pointer;
}

#amazonconnectchatbtn.lsaChatPosition-right, #amazonconnectchatbtn.lsaChatPosition-right img {
    right: 0;
}

#amazonconnectchatbtn.lsaChatPosition-left{
    left: 0;
}

#amazonconnectchatbtn.lsaChatPosition-left img  {
    text-align: left;
}

#amazonconnecttarget #amazonconnectchatbtn {
    position: relative;
    width: 100%;
    max-width: none;
}

#amazonconnecttarget .section-chat {
    position: static;
    width: 100%;
    max-width: none;
}

.lsa-hide-chat {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    color: #73AD21;
}

.section-main {
    padding: 0 10px 10px;
}

.section-chat {
    z-index: 100;
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 0px;
    display: table-cell;
    max-width: 400px;
    height: 506px;
    float: left;
    overflow: auto;
    background-color: #FFF;
}

.lsa-help-bubble {
    background: #FFF;
    box-shadow: 0 2px 5px #00000040;
    white-space: normal;
    line-height: 1.5em;
    padding: 18px;
    text-align: left;
    position: absolute;
    bottom: 75px;
    margin-left: 8px;
    margin-right: 8px;
}

.lsa-close-bubble {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 30px;
    height: 30px;
    color: #AAA;
    font-size: 1.6em;
    text-align: center;
    padding-top: 3px;
    border-radius: 15px;
    background: #FFF;
    cursor: pointer;
}

.lsaAClogoButton.open img {
    display: none;
}

.lsaAClogoButton.open #amazonconnectchatbtntext {
    display: block;
    text-align: center;
}

.lsaAClogoButton #amazonconnectchatbtntext {
    display: none;
}

#amazonconnectchatbtn.lsaAClogoButton.lsaChatPosition-right {
    text-align: right;
}


/* 
Customizations 
*/

#root {
    overflow: auto;

}

#root>div {
    background-color: #FFF;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    height: 506px;
    font-size: 14px;
}

#section-chat #root textarea, #section-chat #root button {
    font-size: 14px;
}

#section-chat #root div.connect-customer-interface {
    margin: 0;
}

#startChat {
    width: 100%;
    cursor: pointer;
    position: relative;
    border: 1px solid #282828;
    color: #fff;
    padding: 1px 15px;
    text-decoration: none;
    line-height: 2.6em;
    background: #555;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0.12, rgb(60, 60, 60)), color-stop(1, rgb(85, 85, 85)));
    background: -moz-linear-gradient(center bottom, rgb(60, 60, 60) 12%, rgb(85, 85, 85) 100%);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
    padding-top: 1px;
}

#section-chat.lsa-full-screen {
    height: 100%;
	max-width: 100%;
    left: 0 !IMPORTANT;
    top: 0 !IMPORTANT;
}

.centered {
    text-align: center;
}

.spinner.loading {
    display: none;
    padding: 50px;
    text-align: center;
    background-color: #FFF;
}

.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 .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);
}

#section-chat #root .lsaIcon {
    position: absolute;
    top: 3px;
    font-size: 0.8em;
}

#section-chat #root .lsaWindowIcons {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 50px;
    height: 20px;
    color: white;
}

#section-chat #root .lsaIconDisabled {
    opacity: 40%;
}

#section-chat #root .lsaMinimize {
    right: 26px;
}

#section-chat #root .lsaMaximize {
    right: 6px;
}

#root .connect-customer-interface.lsa-chat-full-screen {
    height: 100vh;
    width: 100%;
    margin: 0;
}