body {
    margin: 0;
    font-family: "Source Sans 3", Arial, sans-serif;
    color: #363636;
}

#ccpContainer {
    width: 200px;
    height: 525px;
    overflow: hidden;
    float: left;
    margin-left: 22px;
    padding: 10px;
}

nav {
    width: 690px;
}

.section-main {
    padding: 10px;
    max-width: 669px;
    margin-left: 22px;
    float: left;
    overflow: auto;
    /* width: 100%;
    height: 100%; */
    position: absolute;
    /* top: 0; */
    display: table-cell;
    left: 0;
}

.section-chat {
    width: 100%;
    height: 100%;
    position: absolute;
    /* top: 0; */
    left: 710px;
    display: table-cell;
    padding: 3px;
    max-width: 365px;
    height: 525px;
    margin-left: 3px;
    float: left;
    overflow: auto;
    border-radius: 5px 5px 45px 5px;
}

#root {
    /* overflow: auto; */
    width: 100%;
    background-color:white;
    /* height: 90vh !important; */
}

#root > div > div > div:nth-child(2) {
    /* height: 88vh; */
    max-height: none;
}

div[data-testid="amazon-connect-chat-wrapper"] {
    position: relative;
    top: -50px;
}

#root > div > div > div:nth-child(3) {
    display: none;
}

.input {
    margin: 1rem 0;
}

#nameInput {
    padding: 0.5rem;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #cccccc;
    display: block;
    margin: 0.5rem auto;
    box-sizing: border-box;
}

.header {
    background-color: #004577;
    color: white;
    border-radius: 5px 5px 0px 0px;
    padding: .5rem;
}

.header h1, .header h2 {
    margin: 0px;
    padding: 0px;
}

.header h1 {
    font-size: 1rem;
    font-weight: 100;
}

.header h2 {
    font-size: 1.5rem;
}

.option-btn {
    padding: 0.5rem;
    background-color: #fcfcfc;
    cursor: pointer;
    margin: 0 0 0.75rem;
    display: block;
    box-shadow: 0 5px 0 rgba(0, 69, 119, 0.1);
    border: 1px solid #727272;
    border-radius: 5px;
}

.option-btn:hover {
    background-color: #004577;
    color: white;
}

.btn {
    cursor: pointer;
    color: #fff;
    padding: 8px 20px;
    background-color: #004577;
    border: 2px solid transparent;
    display: block;
    margin: 0.5rem auto;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 0 rgba(0, 69, 119, 0.1);
    line-height: 1.1;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
}

.btn:hover {
    border: 1px solid #004577;
    color: #004577;
    background-color: transparent;
}

.menuLabel {
    text-align: center;
    color: #333333;
}

.backMenu {
    color: #004577;
    cursor: pointer;
    text-decoration: underline;
    padding-top: 1rem;
}

.backMenu:hover {
    color: black;
    text-decoration: none;
}

.formContainer {
    padding: 0px 0.5rem 0.5rem;
}

#chatNotStarted {
    background-color: white;
    border: 1px solid #004577;
    border-radius: 10px;
    box-shadow: 4px 4px 4px 0px rgba(28,28,28,.5);
}

#chatMain {
    margin: 10px;
    opacity: 1;
    position: relative;
    animation: fadein 1s;
    overflow-y: auto;
}

#chatMain::-webkit-scrollbar {
    width: 8px;
}

#chatMain::-webkit-scrollbar-thumb {
    background-color: #004577;
    border-radius: 20px;
    border: 1px solid white;
}

#chatMain::-webkit-scrollbar-track {
    background: transparent;
}

#closeChatMenu {
    color: white;
    border-radius: 9px;
    text-align: right;
    line-height: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.5rem 0 0.5rem;
    font-weight: bold;
    opacity: 0.85;
    position: relative;
    z-index:500;
    width:12px;
    height: 12px;
    margin-left: auto;
}

#closeChatMenu img {
    width: 100%;
}

#closeChatMenu:hover {
    background-color: white;
    color:#004577;
}

@keyframes fadein {
    from {
        opacity: 0;
        bottom: -500px;
    }
    to {
        opacity: 1;
        bottom: 0px;
    }
}

.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 .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;
    display: inline;
}

.footer-actions {
    background: #eee;
    height: 85px;
}

.footerLink a:visited {
    color: #004577;
}

.footerLink a:hover {
    color: #333333;
    text-decoration: none;
}

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

body div .connect-customer-interface {
    width: 100%;
    height: 100%;
    margin: 0;
    box-shadow: none;
}

.container {
    display: flex;
    align-items: flex-end;
}

.greeting {
    background-color: white;
    border: solid 1px #727272;
    border-radius: 8px;
    box-shadow: 0 5px 0 rgba(0, 69, 119, 0.1);
    padding: 1rem;
    text-align: left;
    margin-right: 10px;
    display: flex;
    flex-wrap: wrap;
}

.greeting.shake {
    animation: shake 250ms ease-in-out;
}

@keyframes shake {
    10% { transform: translateY(-5%); }
    30% { transform: translateY(5%); }
    50% { transform: translateY(-7.5%); }
    70% { transform: translateY(7.5%); }
    90% { transform: translateY(-5%); }
    100% { transform: translateY(0%); }
}

.greeting p {
    margin: 0px;
    padding: 0.1rem;
}

.greeting .close {
    cursor: pointer;
    padding: .1rem;
    width: 12px;
    height: 12px;
    display: block;
    margin-left: auto;
}

.greeting .messageText {
    width: 295px;
}

.chatIcon {
    width: 60%;
    margin: auto;
}

.chatIconHolder {
    margin-left: auto;
    border-radius: 50%;
    background-color: #bfddec;
    cursor: pointer;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
}

.chatIconHolder:hover {
    background-color: #D6E96D;
    /* transition: all 500ms ease-in; */
}

p.footerLink {
    font-size: 12px;
    margin: 0px 0px 10px;
    text-align: center;
}

body .connect-customer-interface div {
    font-family: "Source Sans 3", Arial, sans-serif;
}