html {
    margin-top: 0 !important;
}

#CookiebotWidget {
    visibility: hidden !important;
    opacity: 0 !important;
}

.container {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center;
    margin: auto;
    position: relative;
}

.webchat__custom__typing-message {
    animation: fadeIn 0.2s ease-in;
}

.webchat__suggested-actions__carousel {
    padding: 5px 10px !important;
}

.webchat__basic-transcript__filler {
    display: none !important;
}

#chatbot-full-screen-app-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

#chatbot-full-screen-app-wrap .chatbot-full-body #chatwindow {
    height: 100% !important;
}

#chatwindow {
    display: none;
}

.webchat__send-box__main .webchat__send-box-text-box .webchat__send-box-text-box__input {
    max-width: 95%;
}


#webchat p, #webchat ol li {
    line-height: 26px !important;
    font-family: 'Open Sans', sans-serif !important;
}

#webchat ol li {
    padding-bottom: 15px;
}

.chatbot-full-footer {
    width: 100%;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    padding: 10px;
}

.chatbot-full-footer p {
    font-family: 'Open Sans', sans-serif !important;
    color: #7e7e7e;
    font-size: 13px;
    line-height: 23px;
    margin: 0 auto;
}

@media screen and (min-width: 768px) { 
    .chatbot-full-body {
        width: 700px !important;
        height: auto;
        display: flex !important;
        justify-content: center;
        margin: 0 auto;
    }
}

.chatbot-full-footer p {
    font-size: 12px;
    line-height: normal;
    text-align: center;
}

.chatbot-load {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.chatbot-loader {
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.chatbot-load h2 {
    color: #006cb7;
    font-size: 30px;
    margin-top: 33px;
    display: flex;
    justify-content: center;
    line-height: 36px;
}

.chatbot-full-header-wrap {
    width: 100%;
    height: 65px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px;
    position: fixed;
    background-color: #fff;
    z-index: 9999999;
    top: 0px;
}

/* 3rd Party - Top Banner */
.thirdparty-topbar {
    display: flex;
    justify-content: center ;
    align-items: center;
    padding: 15px 0;
    width: 100%;
    height: 65px;
    z-index: 99999999;
    position: fixed;
}

.thirdparty-topbar .thirdparty-logo {
    width: auto;
    height: 34px;
    display: flex;
    margin: 0 auto;
    padding: 0;
}

.chatbot-full-left-nav {
    display: flex;
}

.chatbot-full-center-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 121px;
}


.chatbot-full-left-nav {
    display: flex;
}

.chatbot-full-center-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 121px;
}

#chatbot-name {
    display: none;
}

#chatbot-logo {
    width: 100px;
    height: 43px;
}

.back-to-web {
    color: #006cb7;
    font-size: 15px;
    font-weight: 600;
    margin-left: 10px;
}

.chatbot-full-right-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 121px;
}

.chatbot-header-title {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-title a {
    display: flex;
}

.chatbot-inline-status {
    display: inline-flex;
    width: 100px;
    margin-left: 5px;
    align-items: center;
}

.chatbot-inline-status .dot {
    display: flex;
    width: 15px;
    height: 15px;
    background-color: #66d566;
    border-radius: 50%;
    align-items: center;
    margin-right: 3px;
}

.chatbot-header-title h1 {
    padding: 0;
    color: #006cb7;
    font-size: 36px;
    margin: 0;
    line-height: normal;
}

.chatbot-status-text {
    font-family: 'Open Sans', sans-serif !important;
    color: #262626;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    font-size: 15px;
    line-height: 23px;
}

.chatbot-full-left-nav a {
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

.arrow-back-icon {
    width: 32px;
    height: 37px;
}

.bot-avatar {
    width: 37px;
    height: 37px;
    border-radius: 50%;
}

.chatbot-full-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    top: 60px;
    position: relative;
    display: none;
    z-index: 9999 !important;
}

#chatbot-greeting-card {
    width: 540px;
    display: flex;
    flex-direction: row;
    margin: 25px auto;
    align-items: center;
    display: none;
}

#chatbot-greeting-card .bot-avatar-big {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    max-width: min-content;
}

.chatbot-greeting-left {

}

.chatbot-greeting-right {
    margin-left: 20px;
    top: -4px;
    position: relative;
}

#chatbot-greeting-hello {
    display: flex;
    justify-content: center;
    display: none;
}

#chatbot-greeting-hello h3 {
    color: #006cb7;
    margin-top: 15px;
    padding: 0;
    font-size: 28px;
    line-height: normal;
}

.chatbot-greeting-right h2 {
    color: #006cb7;
    font-size: 33px;
    margin: 0;
}

.chatbot-greeting-right p {
    line-height: normal;
    font-size: 17px;
}

#error-chatbot {
    display: flex;
    width: 100%;
    height: 80vh;
    align-items: center;
    text-align: center;
    display: none;
}

.chatbot-err-inner {
    width: 100%;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chatbot-err-inner h4 {
    font-family: 'Open Sans Condensed Bold', sans-serif;
    font-size: 32px;
    padding-bottom: 0;
    color: #006cb7;
    display: flex;
    margin: 20px auto;
    margin-bottom: 15px;
}

.chatbot-err-inner p {
    font-size: 16px;
    width: 65%;
    margin: 0 auto;
    line-height: normal;
}

.icon-fail {
    width: 100px;
    height: 89px;
    background: url('../assets/icons/fail_plug.svg');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.webchat__send-box__main .webchat__send-box-text-box {
    margin: 0 10px;
    width: 95% !important;
}

.webchat__bubble__content {
    width: 100% !important;
    border-width: 0px !important;
    background: transparent !important;
}

.webchat__stacked-layout__attachment {
    max-width: 405px !important;
}

.webchat__stacked-layout__message {
    max-width: 100% !important;
}

.webchat__stacked-layout--show-avatar {
    margin: 20px 0 !important;
}

.webchat__bubble__content .webchat__text-content {
    padding: 0 !important;
}

.webchat__send-button {
    right: 30px;
    bottom: 17px;
}

#webchat p em {
    display: flex;
    width: 80%;
}

.webchat__bubble__content .webchat__text-content .webchat__render-markdown p, .webchat__bubble__content .webchat__text-content .webchat__render-markdown ol li {
    font-size: 16px !important;
    color: rgb(42 42 42);
}

.webchat__stacked-layout--show-avatar {
    padding: 0 !important;
}

.webchat__send-box-text-box {
    box-shadow: 0px 0px 4px #b6b6b6;
}

.webchat__send-box-text-box .webchat__send-box-text-box__input {
    max-width: 87% !important;
}

.webchat__send-box-text-box .webchat__send-box-text-box__input ::placeholder {
    color: #006cb7 !important;
}

.webchat__send-box__main .webchat__send-box-text-box {
    border: 2px solid #006cb7;
}

.webchat__send-box__main .webchat__upload-button-new {
    width: 53px !important;
    height: 53px !important;
    bottom: 12px;
    left: -51px;
}

.webchat__stacked-layout {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.webchat__typingIndicator {
    position: relative !important;
    bottom: -10px !important;
    left: -10px !important;
}

.webchat__typingIndicator::before {
    content: 'Torkel tänker...'; 
    color: #0E2A45; 
    font-size: 19px; 
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 600;
    width: 100%;
    display: flex;
}

.webchat__basic-transcript__scrollable {
    overflow: hidden !important;
}

.upload-notice {
    display: none;
}

#webchat-cam-upld {
    display: none;
}

.webchat__send-box__main .webchat__upload-button-new {
    width: 57px;
    height: 57px;
    bottom: 76px;
    left: 13px;
}

@media screen and (max-width: 768px) { 
    #chatbot-greeting-card {
        width: 85%;
        flex-direction: column;
        padding-top: 0px;
        margin: 0 auto;
    }

    #chatbot-greeting-card .bot-avatar-big {
        width: 130px;
        height: 130px;
        border-radius: 50%;
    }

    .chatbot-greeting-right {
        top: 0;
        margin-left: 0;
    }

    .chatbot-header-title h1 {
        font-size: 32px;
    }

    .chatbot-greeting-right h2 {
        font-size: 30px;
        text-align: center;
        padding-top: 10px;
        line-height: 35px;
    }

    .chatbot-greeting-right p {
        text-align: center;
        font-size: 17px;
    }

    .upload-notice {
        display: flex;
        flex-direction: column;
        font-size: 14px !important;
        color: #1a5b88;
        background-color: #006cb72b;
        padding: 12px !important;
        border-radius: 3px;
        border-style: dotted;
    }

    .upload-notice strong {
        font-size: 16px !important;
    }

    #chatbot-greeting-hello {
        margin-top: 40px;
        display: none !important;
    }

    #chatbot-greeting-hello h3 {
        font-size: 24px;
        text-align: center;
        margin-top: 10px;
    }

    #webchat p, #webchat ol li {
        line-height: 26px !important;
        font-family: 'Open Sans', sans-serif !important;
    }

    #webchat p em {
        display: flex;
        width: 100%;
    }

    .back-to-web {
        display: none;
    }

    .chatbot-full-center-nav, .chatbot-full-right-nav {
        width: auto;
    }

    .chatbot-full-body {
        top: 80px;
        padding: 0;
        z-index: 9999 !important;
    }

    .webchat__basic-transcript {
        padding: 0 20px;
    }

    .webchat__bubble--from-user .webchat__bubble__content {
        padding: 14px !important;
    }

    .webchat__send-box__main .webchat__upload-button-new {
        width: 57px !important;
        height: 57px !important;
        bottom: 76px !important;
    }

    .webchat__send-box {
        padding-top: 20px;
    }

    .webchat__send-button {
        right: 16px;
    }

    .webchat__send-box__main .webchat__upload-button-new {
        left: 76px;
    }

    #webchat-cam-upld {
        display: flex;
    }
}

#uploading-spinner {
    height: 100dvh !important;
    background-color: #ffffffe6 !important;
    position: fixed !important;
}

.retry-button {
    font-family: 'Open Sans Condensed Bold', sans-serif !important;
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 20px;
    color: #fff;
    background-color: #006cb7;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    border-radius: 50px;
  }
  .retry-button:hover {
    background-color: #005699;
  }


.header-w-shadow {
    box-shadow: 0px 0px 4px #00000036;
}

.webchat__highlighted--cta {
    padding: 20px 20px !important;
    background-color: #006cb72e;
    border-radius: 4px;
}

.webchat__highlighted--cta .webchat__render-markdown p strong {
    font-size: 18px;
}

.webchat__highlighted--cta .webchat__render-markdown p {
    color: #092840 !important;
}

.webchat__highlighted--cta .webchat__render-markdown p a {
    color: #092840 !important;
    text-decoration: underline !important;
}

.webchat__custom__animated-message span {
    opacity: 0;
    animation: textFadeIn 0.3s ease forwards;
  }
  

@keyframes textFadeIn {
    from {
      opacity: 0;
      transform: translateY(2px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

@keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  
  .fade-out {
    animation: fadeOut 0.2s ease forwards;
  }

  @keyframes scaleIn {
    from {
      transform: scale(0);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  .scale-in {
    animation: scaleIn 0.3s ease-in forwards;
  }