/* bot message */
.wc-message-from-bot .wc-message-content {
    background: rgba(238,238,238,0.80);
    border-radius: 14px 14px 14px 0;
    box-shadow: none;
    color: #002f30;
    margin-left: 32px;
    letter-spacing: 0.08px;
    line-height: 22px;
    padding: 16px;
}

.wc-message-from-bot .wc-message-content a{
    color: #5c85c9;
    text-decoration: none;
}

.wc-message-from-bot .wc-message-content a:hover {
    text-decoration: underline;
}

.wc-carousel .wc-hscroll > ul > li {
    width: calc(100% - 8px);
}

.wc-carousel .wc-hscroll > ul > li:last-child {
    padding-right: 4px;
}

.wc-carousel .wc-hscroll > ul {
    margin-left: 0;
}

.wc-message-wrapper {
    margin-bottom: 24px;
}

.wc-message-from.wc-message-from-bot {
    display: none;
}

.wc-message-from-bot > span {
    margin-left: 25px;
}

.wc-message-from-bot svg.wc-message-callout path {
    fill: #F1F1F1;
    display: none;
}

.wc-message-from-bot svg.wc-message-callout {
    background: url(../Content/Images/avatar_piraeus.svg) no-repeat scroll 0 0;
    background-size: 100% 100%;
    bottom: 0;
    top: auto;
    width: 24px;
    height: 24px;
}

.wc-message-from-bot svg.wc-message-callout {
    left: 0;
}

.wc-message {
    max-width: 296px;
}

.wc-message-from-me {
    margin-right: 0;
    max-width: 264px;
}

.wc-message-groups {
    padding: 24px;
}

.wc-message-from-bot {
    margin-left: 0;
}

.wc-adaptive-card .ac-pushButton {
    white-space: normal!important;
}

.wc-console svg {
    fill: #002f30;
    margin: 11px;
    transition: fill 150ms ease-out;
}

.wc-console .wc-send {
    cursor: default;
}

.wc-console .wc-send svg {
    fill: #D6D6D6;
}

.wc-console.has-text .wc-send {
    cursor: pointer;
}

.wc-console.has-text .wc-send svg {
    fill: #002f30;
}

.wc-console.has-text .wc-send:hover svg {
    fill: #5c85c9;
}

/* user message */
.wc-message-from-me .wc-message-content {
    background: rgba(64, 99, 100,0.50);
    border-radius: 14px 14px 0 14px;
    box-shadow: none;
    color: #002f30;
    font-size: 15px;
    line-height: 22px;
    padding: 16px;
}

.wc-message-from {
    opacity: 0.5;
    font-size: 12px;
    color: #002f30;
    line-height: 20px;
    margin-top: 2px;
}

.wc-message-pane.show-actions .wc-suggested-actions {
    box-sizing: border-box;
    bottom: 64px;
    padding: 12px 0 0;
    z-index: 1;
    height: 44px;
}

.wc-message-from-me svg.wc-message-callout path {
    fill: #E2E9F5;
    display: none;
}

.wc-console .wc-textbox {
    background: #FFFFFF;
    border: none;
    left: 36px;
    top: 12px;
    height: 40px;
}

.wc-console .wc-textbox input {
    border: 1px solid #D6D6D6;
    border-radius: 2px;
    color: #002f30;
    font-size: 16px;
    letter-spacing: 0.34px;
    line-height: 1;
    padding: 6px 16px 10px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.wc-console .wc-textbox input::-ms-clear {
    display: none;
}

.wc-console .wc-textbox input:focus {
    border-color: #002f30;
}

::placeholder {
    color: #002f30;
    opacity: 0.5;
}

:-ms-input-placeholder {
    color: #002f30;
    opacity: 0.5;
}

::-ms-input-placeholder {
    color: #002f30;
    opacity: 0.5;
}

    .wc-console .wc-textbox.no-mic {
        left: 15px;
    }

.wc-send:focus, .wc-card:focus, .ac-container:focus {
    outline: none;
}

.wc-chatview-panel {
    background-color: #fff;
}

#custom-mic {
    bottom: 19px;
    left: 5px;
    position: absolute;
    z-index: 1;
}

#custom-mic button {
    display: inline-block;
    line-height: 1;
    vertical-align: top;
}

    #custom-mic:focus {
        outline: none;
    }

    #custom-mic > .wc-mic {
        background-color: transparent;
        border: 0;
        padding: 0;
        fill: #5c85c9;
        cursor: pointer;
    }

        #custom-mic > .wc-mic:focus {
            outline: none;
        }

        #custom-mic > .wc-mic.active {
            fill: #f90f0f;
        }

#custom-mic-loading {
    position: absolute;
    bottom: 15px;
    left: 9px;
    z-index: 99999;
}

.wc-adaptive-card {
    background-color: transparent;
    border: none;
    width: 100%;
}

.wc-adaptive-card .ac-container > div {
    color: #002f30 !important;
    font-size: 15px !important;
    line-height: 22px !important;
}

.wc-message-wrapper.carousel .wc-message {
    padding-right: 0;
    max-width: 296px;
}

.wc-card button {
    border: none;
    font-weight: bold;
    font-size: 14px;
    color: #002f30;
    letter-spacing: 0.08px;
    padding: 2px 0;
    text-align: left;
    min-height: inherit;
}

.wc-card button:focus {
    outline: none;
}

.wc-header {
    display: none;
}

.wc-console {
    box-shadow: 0 -2px 0 0 rgba(30,60,120,0.10);
    border: none;
    padding: 12px 24px;
    height: 64px;
}

.wc-message-groups {
    bottom: 64px;
    top: 0;
}

.wc-console.has-text .wc-send svg {
    fill: #002f30;
}

.wc-card button:hover {
    background-color: transparent;
    border-color: #002f30;
    color: #002f30;
}

.wc-card button:active {
    background-color: transparent;
    color: #002f30;
}

.wc-suggested-actions .wc-hscroll > ul {
    padding: 0 15px;
    height: 32px;
}

.wc-suggested-actions .wc-hscroll > ul > li {
    margin: 0;
    max-width: inherit;
}

.wc-suggested-actions .wc-hscroll > ul > li:not(:first-child) {
    margin-left: 8px;
}

.wc-suggested-actions .wc-hscroll > ul > li:not(:last-child) {
    margin-right: 8px;
}

.wc-suggested-actions .wc-hscroll > ul > li button {
    background: rgba(197,212,235,0.50);
    border-radius: 5px;
    border: none;
    color: #002f30;
    font-size: 14px;
    font-weight: 600;
}

.wc-suggested-actions .wc-hscroll > ul > li button:active,
.wc-suggested-actions .wc-hscroll > ul > li button:focus,
.wc-suggested-actions .wc-hscroll > ul > li button:hover {
    background-color: #ffd900;
    color: #002f30;
    outline: none;
}

.ac-container {
    padding: 0!important;
}

textarea {
    border: 1px solid #D6D6D6;
    border-radius: 2px;
    color: #002f30;
    font-size: 16px;
    padding: 8px;
    resize: none;
    -webkit-appearance: none;
}

textarea:focus {
    outline: none;
}

.wc-carousel button.scroll {
    background-color: transparent;
    border: none;
    margin-top: -12px;
    width: 24px;
    height: 24px;
}

.wc-carousel button.scroll:hover,
.wc-carousel button.scroll:focus {
    background-color: transparent;
    outline: none;
}
.wc-carousel button.scroll:focus {
    color: #ffd900;
}

.wc-carousel button.scroll svg {
    fill: #002f30;
    margin: -2px 0 0 -2px;
    transition: fill 150ms ease-out;
}

.wc-carousel button.scroll:hover svg {
    fill: #ffd900;
}

.wc-carousel button.scroll.next {
    right: -40px;
}

.wc-carousel button.scroll.previous {
    left: -40px;
}

.wc-console .wc-send {
    top: 12px;
}

#custom-mic-loading rect {
    fill: #002f30;
}

/* Message Animation */
.wc-message-wrapper .wc-message-from-me {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: zoomIn;
    transform-origin: bottom right;
}

.wc-message-wrapper .wc-message-from-bot {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: zoomIn;
    transform-origin: bottom left;
}

@Keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }

    50% {
        opacity: 1;
    }
}

.wc-carousel-item .ac-pushButton {
    background-color: #5c85c9;
    color: #fafafa;
    line-height: 1;
    margin-top: 8px;
    padding: 12.5px 8px;
    text-align: center;
    transition: all 150ms ease-out;
}

.wc-list .ac-pushButton,
.wc-carousel-item .ac-pushButton {
    flex-basis: auto !important;
    width: 100%;
}

.wc-carousel-item .ac-pushButton:hover {
    background-color: #fab814;
    color: #4f678f;
}

.wc-list .wc-card .ac-pushButton {
    color: #5c85c9;
    font-size: 15px;
    font-weight: 500;
}

.wc-list .wc-card .ac-pushButton:hover {
    text-decoration: underline;
}

.wc-list > .wc-card {
    margin-top: 4px;
}

.wc-suggested-actions {
    background: #fff;
    box-shadow: 0 -2px 0 0 rgba(30,60,120,0.10);
}

.wc-message-pane.show-actions .wc-message-groups {
    transform: translateY(-46px);
}

@media only screen and (max-width: 380px) {
    .wc-message,
    .wc-message-wrapper.carousel .wc-message {
        max-width: 272px;
    }

    .wc-message-from-me {
        max-width: 240px;
    }

    .wc-message-groups {
        padding: 16px 8px;
    }

    .wc-suggested-actions .wc-hscroll > ul > li button {
        padding-left: 12px;
        padding-right: 12px;
    }

    .wc-card button {
        font-size: 13px;
    }
}