/* modifiy webchat styling */

body #BotDevWidget .wc-app, 
.wc-app button, 
.wc-app input, 
.wc-app textarea, 
#BotDevWidget .bot-close {
    font-size: 16px;
    font-weight: 200;
    float: right;
    height: 100%;
}

#chatbot-tnc {
  bottom: 0;
  background: #003B5C;
  color: white;
  text-align: center;
  width: 100%;
  height: 25px;
}

#chatbot-tnc a, #chatbot-tnc a:visited {
  color: white !important;
  font-size: 0.8em;
  transition: .3s linear all;
}

#chatbot-tnc a:hover, #chatbot-tnc a:focus {
  color: #2cdbc5 !important;
}

#BotDevWidget, #BotDevWidget .wc-message-group-content, 
#BotDevWidget .wc-message-group-content button, 
#BotDevWidget .wc-message-group-content input, 
#BotDevWidget .wc-message-group-content textarea,
#BotDevWidget .wc-message-content p,
#BotDevWidget .format-markdown > p,
div.bot-header-button,
div.bot-chat-logo,
#chatbot-tnc a {
    font-family: 'Proxima Nova', 'proxima-nova', Arial, sans-serif !important;
}

#BotDevWidget .ac-container {
    padding: 0px !important;
}

#BotDevWidget .ac-container > .ac-container > div {
    padding: 8px !important;
}

#BotDevWidget .ac-container > .ac-selectable {
    margin-top: 2px !important;
    background-color: white !important;
    transition: .3s linear all;
}

#BotDevWidget .ac-container > .ac-selectable:hover,
#BotDevWidget .ac-container > .ac-selectable:focus {
    background-color: rgba(255,255,255,.5) !important;
    cursor: pointer;
}

#BotDevWidget .ac-container > .ac-selectable:first-of-type {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#BotDevWidget .ac-container > .ac-selectable:last-of-type {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#BotDevWidget .format-markdown > p {
    font-weight: 400;
}

#BotDevWidget .wc-adaptive-card.hero {
    width: 150px;
}

#BotDevWidget .wc-adaptive-card {
    width: 100%;
}

#BotDevWidget .wc-card {
    background-color: rgba(255,255,255,0);
    border: none;
}

#BotDevWidget .wc-carousel button.scroll.next {
    right: -8px;
}

#BotDevWidget .wc-carousel button.scroll.previous {
    left: -8px;
}

#BotDevWidget .wc-console {
    border: 10px solid !important;
    height: 60px !important;
}

#BotDevWidget .wc-list > .wc-card {
    margin-top: 0px;
}

#BotDevWidget .wc-carousel li .wc-adaptive-card p {
    min-height: inherit; 
}

#BotDevWidget .wc-adaptive-card .ac-pushButton {
    white-space: normal !important;
    border-radius: 10px;
    background-color: white;
    font-weight: 400;
    height: 36px;
    transition: .3s linear all;
}

#BotDevWidget .wc-adaptive-card .ac-pushButton:focus {
    border: 1px solid #0078d7;
}

#BotDevWidget .wc-message-groups {
    border-left: 10px solid #003B5C !important;
    border-right: 10px solid #003B5C !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

#BotDevWidget .wc-suggested-actions .wc-hscroll > ul > li button {
    color: #403a60;
    border: 1px solid #243745;
}

#BotDevWidget .wc-suggested-actions button.scroll {
    background: #243745;
}
#BotDevWidget .wc-suggested-actions button.scroll:hover,
#BotDevWidget .wc-suggested-actions button.scroll:focus {
    background: #243745;
}

#BotDevWidget a {
    color: #403a60;
    text-decoration: underline;
}

#BotDevWidget .wc-header,
#BotDevWidget .wc-upload,
#BotDevWidget .wc-message-callout {
    display: none;
}

#BotDevWidget .wc-chatview-panel {
    background: #1C57A5;
}

#BotDevWidget .wc-send:hover svg g,
#BotDevWidget .wc-send:focus svg g {
    transition: .3s linear color;
    fill: #2cdbc5;
}

#BotDevWidget .bot-close:hover svg g, 
#BotDevWidget .bot-close:focus svg g {
    transition: .3s linear color;
    fill: #2cdbc5;
}

#BotDevWidget .wc-message-from span {
    color: white;
}

#BotDevWidget .wc-console {
    border-color: #003B5C !important;
    background: #003B5C;
}

#BotDevWidget .wc-send {
    display: inline-block;
    width: 15%;
    margin-left: 1px;
    background: #003B5C;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 0.5px solid #003B5C;
}

#BotDevWidget .wc-textbox {
    display: inline-block;
    left: 1px !important;
    margin-right: 1px;
    padding: 0 10px;
    background: white;
    color: black;
    font-weight: bold;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#BotDevWidget .wc-typing {
    border-radius: 16px;
}

#BotDevWidget .wc-shellinput {
    background-color: white;
    font-weight: normal;
}

#BotDevWidget .wc-message-content {
    color: #333;
    padding: 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}

#BotDevWidget .wc-message-content {
    font-weight: 400 !important;
}

#BotDevWidget .wc-message-groups {
    top: 0;
}

#BotDevWidget .wc-message-from-me .wc-message-content {
    background-color: #F2E7D4;
}
#BotDevWidget .wc-message-from-bot > .wc-message-content {
    background-color: #CCD8E5;
}

#BotDevWidget .wc-message-from-bot {
    width: 100%;
}

#BotDevWidget #BotDevElement .ac-input input{
    float: left;
    height: inherit;
}

/* styling for nw components */
#BotDevWidget {
    position: fixed;
    width: 320px;
    height: 0px;
    bottom: 0;
    right: 20px;
    overflow: hidden;
    font-size: 16px;
    -webkit-border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
    transition: all 1s ease-in-out;
    z-index: 10050;
}

.bot-header-item.bot-close {
    display: inline-block;
    width: 20%;
    padding-top: 5px;
    padding-right: 5px;
    background: #003B5C;
    border: none;
    cursor: pointer;
}

#chatbot-close-icon {
  width: 24px;
  height: 24px;
  transition: .3s linear color;
}

.bot-header {
    justify-content: space-between;
    position: relative;
    height: 3em;
    padding: .3em .3em .3em .5em;
    background: #003B5C;
    color: white;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.bot-chat-logo {
    display: inline-block;
    height: 34px;
    margin-left: 8px;
}

#chatbot-icon { 
    width: 38px;
    height: 38px;
    margin-top: 3px;
}

#chatbot-send-icon {
    width: 30px;
    height: 30px;
    margin: 0;
}

#chatbot-send-icon g, #chatbot-close-icon g {
  fill: white;
  transition: .3s linear color;
}

.bot-chat-logo::after {
    align-self: center;
    font-family: 'Proxima Nova', 'proxima-nova', Arial, sans-serif !important;
    content: "Virtual Assistant";
    margin-top: 8px;
    padding-left: 16px;
    font-size: 16pt;
    font-weight: 200;
    line-height: 34px;
    float: right;
}

.bot-header .bot-chat-logo::after {
    margin-top: 6px;
}

#BotDevElement {
    box-sizing: border-box;
    height: calc(100% - 73px);
    width: inherit;
    position: relative;
}

#BotDevElement ul {
     list-style-type: disc;
}

#BotDevElement ol {
    list-style-type: decimal;
}

#BotDevWidget.bot-fullscreen {
    width: 100%;
    height: 100%;
}

#BotDevWidget.bot-widget {
    height: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

@media screen and (max-width:1050px) {
    #BotDevWidget.bot-widget {
        right: 0;
    }
}

div.bot-header-button {
    z-index:1000;
    font-size:14px;
    max-height: 700px;
    position: fixed;
    width: 320px;
    bottom: -1px;
    right: 20px;
    padding: .5em .5em .5em .7em;
    justify-content: center;
    height: 4em;
    background: #003B5C;
    color: white;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    border-bottom: 1px solid #666;
    cursor: pointer;
}

div.bot-header-button:hover, div.bot-header-button:focus {
    background: #1C57A5;
}

/* lifts up bot button and widget if the mobile/tablet version of opinionlab is on in prod. */
div.bot-header-button.oo-bottom {
    bottom: 36px;
}

#BotDevWidget.oo-bottom {
    bottom: 36px;
    height: calc(100% - 36px);
}
