﻿:root {
    --primary-blue: #003755;
    --secondary-blue: #369DB6;
    --brick-red: #FD5E3A;
    --off-white: #EFF5F5;
    --acadia: #2e2d2c;
    --pampas: #efece9;
    --stack: #9c9994;
    --black: #2e2d2c;
    --focus: #005fcc;
    --orange: #f78515;
    --green: #48a74d;
    --font-objektiv: '__objektiv_e891cc', '__objektiv_Fallback_e891cc', sans-serif;
}

.aui_color-inherit {
    color: inherit !important;
}

.aui_color-blue {
    color: #3575b6 !important;
}

.aui_color-green {
    color: var(--green) !important;
}


.aui_color-lightgreen {
    color: #e2e9c6 !important;
}

.aui_color-orange {
    color: var(--orange) !important;
}

.aui_color-red {
    color: var(--primary-blue) !important;
}

.aui_color-black {
    color: var(--black) !important;
}

.aui_color-darkgrey {
    color: #555555 !important;
}

.aui_color-mediumgrey {
    color: #767676;
}

.aui_color-grey {
    color: #999999 !important;
}

.aui_color-smoke {
    color: #eeeeee !important;
}

.aui_color-white {
    color: var(--white) !important;
}

.slide-in-fwd-bottom {
    -webkit-animation: slide-in-fwd-bottom 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation: slide-in-fwd-bottom 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ----------------------------------------------
       * Generated by Animista on 2020-5-5 9:58:28
       * Licensed under FreeBSD License.
       * See http://animista.net/license for more info.
       * w: http://animista.net, t: @cssanimista
       * ---------------------------------------------- */

/**
       * ----------------------------------------
       * animation slide-in-fwd-bottom
       * ----------------------------------------
       */

@-webkit-keyframes slide-in-fwd-bottom {
    0% {
        -webkit-transform: translateZ(-1400px) translateY(800px);
        transform: translateZ(-1400px) translateY(800px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateZ(0) translateY(0);
        transform: translateZ(0) translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-fwd-bottom {
    0% {
        -webkit-transform: translateZ(-1400px) translateY(800px);
        transform: translateZ(-1400px) translateY(800px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateZ(0) translateY(0);
        transform: translateZ(0) translateY(0);
        opacity: 1;
    }
}

.scale-up-ver-bottom {
    -webkit-animation: scale-up-ver-bottom 0.25s cubic-bezier(0.39, 0.575, 0.565, 1) both;
    animation: scale-up-ver-bottom 0.25s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

/* ----------------------------------------------
       * Generated by Animista on 2022-6-3 12:58:19
       * Licensed under FreeBSD License.
       * See http://animista.net/license for more info.
       * w: http://animista.net, t: @cssanimista
       * ---------------------------------------------- */

/**
       * ----------------------------------------
       * animation scale-up-ver-bottom
       * ----------------------------------------
       */
@-webkit-keyframes scale-up-ver-bottom {
    0% {
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
    }

    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
    }
}

@keyframes scale-up-ver-bottom {
    0% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
    }

    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
    }
}

.focusable-div:focus-visible {
    outline: 2px solid var(--focus); /* To show when the div is focused */
}

.Releasyqr-code-container {
    width: 100%;
    display: inline-block;
    text-align: center !important;
    margin: auto;
}

.Releasyqr-code {
    width: 150px;
    height: 150px;
    margin: auto;
}

.hrefblue {
    color: #0000FF;
}

    .hrefblue:hover {
        color: #0000FF;
    }

.containerText {
    display: flex;
}

.chatframe {
    line-height: normal !important;
    z-index: 98;
    font-family: var(--font-objektiv) !important;
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 349px;
    overflow: initial;
    color: var(--black);
}

.notifycustomer {
    padding: 10px;
    display: none;
    font-size: 30px;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: lightgray;
    font-style: italic;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: lightgray;
    font-style: italic;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: lightgray;
    font-style: italic;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: lightgray;
    font-style: italic;
}

.chatframe input[type='text'] {
    border: 2px solid #ddd;
}

.EndChatHeaderText {
    display: block;
    color: var(--black);
    width: fit-content;
    font-size: 20px;
    line-height: 24px;
    font-family: var(--font-objektiv);
    font-weight: bold;
    margin-top: 16px;
    margin: 16px auto 8px auto;
}

.ContinueChat {
    display: block;
    width: fit-content;
    cursor: pointer;
    margin-left: 29px;
    font-size: 14px;
    font-family: var(--font-objektiv);
    font-style: italic;
}

.BubbleNotification {
    display: none;
    width: 21px;
    height: 21px;
    background: var(--green);
    position: absolute;
    top: -4px;
    right: 0px;
    border: 2px solid var(--off-white);
    border-radius: 50%;
}

.ContainerButtons {
    display: block;
    width: fit-content;
    margin-left: 8px;
    margin-right: 8px;
    font-size: 16px;
    white-space: nowrap;
    width: auto;
    margin-bottom: 8px;
}

.container-continue{
    color: white !important;
}

.webui-button.container-end-chat-button {
    border: 1px solid var(--stack);
    border-radius: 32px !important;
    background-color: var(--brick-red);
    &:hover

{
    background-color: var(--secondary-blue);
}

&:active {
    background-color: var(--pampas);
}


}

.BodyEndChatText {
    display: block;
    padding-right: 1em;
    padding-left: 1em;
    padding-top: unset;
    width: fit-content;
    font-size: 14px;
    line-height: 24px;
    font-family: var(--font-objektiv);
    color: var(--black);
    margin: 0 auto 24px auto;
}

.slide-in-fwd-center {
    -webkit-animation: slide-in-fwd-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) none;
    animation: slide-in-fwd-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) none;
}

.scale-in-br {
    animation: scale-in-br 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ----------------------------------------------
       * Generated by Animista on 2020-1-29 11:41:34
       * Licensed under FreeBSD License.
       * See http://animista.net/license for more info.
       * w: http://animista.net, t: @cssanimista
       * ---------------------------------------------- */

/**
       * ----------------------------------------
       * animation slide-in-fwd-center
       * ----------------------------------------
       */

@-webkit-keyframes slide-in-fwd-center {
    0% {
        -webkit-transform: translateZ(-1400px);
        transform: translateZ(-1400px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 0.6;
    }
}

@keyframes slide-in-fwd-center {
    0% {
        -webkit-transform: translateZ(-1400px);
        transform: translateZ(-1400px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 0.6;
    }
}

/* ----------------------------------------------
       * Generated by Animista on 2020-1-29 11:49:2
       * Licensed under FreeBSD License.
       * See http://animista.net/license for more info.
       * w: http://animista.net, t: @cssanimista
       * ---------------------------------------------- */

/**
       * ----------------------------------------
       * animation scale-in-br
       * ----------------------------------------
       */

@keyframes scale-in-br {
    0% {
        transform: translateY(100%) scale(0.9);
        transform-origin: 100% 100%;
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        transform-origin: 100% 100%;
        opacity: 1;
    }
}

/* -------------------------------------------------------*/

/* The small chatbutton visable when chatwindow minimized */

/* -------------------------------------------------------*/
.startChatButton {
    float: right;
    right: 2px;
    bottom: 2px;
    position: absolute;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    height: 74px;
    width: 74px;
    transform-origin: top right;
    border-radius: 50% 50% 16% 50%;
    background-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    pointer-events: all;
    transform-origin: bottom right;
    transform: scale(0.8);
    border:0px;
}

    .startChatButton:hover {
        transition: 0.5s;
        transform: translateZ(20px);
    }

.SVGMinusIcon {
    width: 12px;
    height: 12px;
}

.SVGXIcon {
    height: 12px;
    width: 12px;
}

.LogoWrapper {
    fill: var(--off-white) !important;
}

    .LogoWrapper svg path {
        fill: var(--off-white) !important;
    }

.chatButtonText {
    display: none;
}

.btn {
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    border: none;
}

.BtnBot {
    color: #0000ee;
    background-color: #f8f7f6;
    border-width: 0px;
    border-color: var(--off-white);
    border-radius: 10px;
    padding: 8px;
    text-decoration: underline;
}

.btn-primaryQuickReplyRel {
    border-color: var(--secondary-blue);
    border-width: 2px;
    border-radius: 0px;
    width: 100%;
    font-family: var(--font-objektiv);
    height: 48px;
    background-color: var(--secondary-blue);
    font-weight: bold;
    color: var(--white);
    margin-bottom: 8px;
}

.btn-primaryQuickReplyRel2 {
    border-color: var(--black);
    border-width: 2px;
    border-radius: 0px;
    width: 100%;
    font-family: var(--font-objektiv);
    height: 48px;
    background-color: var(--off-white);
    font-weight: bold;
    color: var(--black);
    margin-bottom: 8px;
}

.btn-primaryQuickReplyRel3 {
    border-color: var(--black);
    border-width: 0px;
    border-radius: 0px;
    width: 100%;
    font-family: var(--font-objektiv);
    height: 48px;
    background-color: var(--off-white);
    font-weight: bold;
    color: var(--black);
    text-decoration: underline;
    margin-bottom: 8px;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.349rem 0.75rem;
    font-size: 18px;
    box-sizing: border-box;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: var(--off-white);
    background-clip: padding-box;
    border: 2px solid #949494;
    /*border-radius: .25rem;*/
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-family: var(--font-objektiv);
}

    .form-control:focus {
        color: #495057;
        background-color: var(--off-white);
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.chatButtonImage {
    height: 50px;
    width: 50px;
    margin: auto;
    box-sizing: border-box;
    background: url('/static/img/chat.svg');
    background-repeat: no-repeat;
    background-position: center;
    filter: invert();
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.chatButtonNewmessages {
    display: none;
}

/* ---------------------------------------------------*/

/* The chatheader with backgound, Agentimage and text */

/* ---------------------------------------------------*/

.chatHeader {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: 100%;
    background-color: inherit;
}
.header-logo{
    width: 30px;
    margin-right: auto;
    margin-left: 10px;
}

.chatMinimizeBtn {
    cursor: pointer;
    float: right;
    font-size: 1px;
    line-height: 0;
    color: transparent;
    position: relative;
    padding: 10px;
    padding-right: 8px;
    margin-right: 6px !important;
    width: 3px;
    bottom: -5px !important;
    border:0px;
    
}

.chatCloseButton{
    width: 14px;
    padding: 6px 6px 6px 0;
}

.chatMinimizeButton{
    width: 20px;
}

.sound-on-btn, .sound-off-btn{
    width: 18px; 
    height: 18px; 
    cursor: pointer;
}

#chatSoundOn, #chatSoundOff{
    border: none;
    background: transparent;
    padding-right: 0;
}

.chatMinimizeBtn2 {
    cursor: pointer;
    float: right;
    font-size: 1px;
    line-height: 0;
    color: transparent;
    position: relative;
    padding: 10px;
    margin-left: auto;
    margin-right: 6px !important;
    width: 3px;
    bottom: -4px !important;
    
}

.chatExitBtn, .chatMinimizeBtn {
    appearance: none;
    border: none;
    background-color: transparent;
    padding: 0;
}

.chatExitBtn, .chatMinimizeBtn2 {
    appearance: none;
    border: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.chatExitBtn {
    cursor: pointer;
    color: var(--off-white);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border:0px;
  /*  display:none;*/
}

.chatMinimize {
    color: var(--off-white);
    font-weight: normal;
}

.chatExit {
    float: left;
    margin-right: 5px;
    font-size: 14px;
    color: var(--off-white);
    font-weight: normal;
}

.file-upload-button {
    margin: 0;
    font-size: 14px;
    transition: 250ms all;
    background-color: transparent;
    border: none;
    width: 42px;
    min-width: 42px;
    height: 42px;
    text-align: center;
    font-size: 40px;
    border: 0px;
    place-items: center;
    cursor: pointer;
    border-radius: 8px;
}

/* -------------------------------------------------------------*/
/* The main chat window that contains input vars and chatwindow */
/* -------------------------------------------------------------*/
.chatContainer {
    background-color: var(--off-white);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    height: auto;
    -ms-overflow-style: none;
    overflow: auto;
    overflow-y: hidden;
    width: 349px;
    border-radius: 16px;
    z-index: 200;
}

.loading-bar {
    padding: 8px;
    border-top: 1px solid #d1d1d1;
    display: none;
    font-size: 14px;
}

    .loading-bar[style*='block;'] {
        display: flex !important;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
    }

#chatContainerButtonAndText {
    display: flex;
    align-items: flex-end;
}
/* -------------------------------*/
/* The input vars and startbutton */
/* -------------------------------*/
.chatStart {
    -ms-overflow-style: none;
    overflow-y: scroll;
    height: 100%;
    display: flex;
    flex-flow: column;
    gap: 16px;
    background-color: #f8f7f6;
    padding: 16px;
}

.r-bubble {
    position: absolute;
    top: 9px;
    left: 17px;
    width: 6%;
    border-radius: 50%;
    font-size: 20px;
    padding: 10px;
    color: var(--black);
    background: aqua;
    text-align: center;
    background: linear-gradient(145deg, white 0%, rgb(215, 239, 233) 100%);
}

.chatHideText {
    top: 14px;
    right: 45px;
    width: 28px;
    height: 24px;
    font-family: var(--font-objektiv);
    font-size: 16px;
    line-height: 1.9;
    margin-top: 0px;
    letter-spacing: 0.03px;
    text-decoration: underline;
}

.chatinputtitle {
    font-family: var(--font-objektiv);
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    color: var(--black);
    letter-spacing: 0.02px;
}

.chatinputtitleFAQChat {
    font-family: var(--font-objektiv);
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    color: var(--black);
    letter-spacing: 0.02px;
    text-align:center;
}

.chatinputdivMainFAQchat {
    font-family: var(--font-objektiv);
    font-size: 16px;
    font-weight:normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    color: var(--black);
    letter-spacing: 0.02px;
    text-align: center;
}

.chatinputdiv {
   
    margin: 0 !important;
    border: 0px;
    background: #f8f7f6;
}
.chatinputdiv:focus-visible {
  outline: #005fcc;
  border-radius: 10px;
  box-shadow: 0 0 0 2px #005fcc;
}

.chatinputlabel {
    font-size: 16px;
    color: var(--black);
    margin-right: 7px;
    margin-bottom: inherit;
    font-family: var(--font-objektiv);
    margin-bottom: 4px;
}

.chatinput {
    height: 40px;
    margin-bottom: 20px !important;
    margin: 4px 0 10px 0;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid #949494 !important;
    font-family: var(--font-objektiv);
    border-radius: 8px !important;
}

select.chatinput {
    height: 50px;
    margin-bottom: 20px !important;
    margin: 4px 0 10px 0;
    font-size: 16px;
    /* border-radius: unset;*/
    border: 2px solid #949494 !important;
    background: var(--white) url(https://widget.releasy.se/static/img/down.png) no-repeat right;
    -webkit-appearance: none;
    appearance: none;
    background-origin: content-box;
}

    select.chatinput::-ms-expand {
        display: none;
    }

.btn-advania {
    width: 100%;
    min-height: 40px;
    color: var(--off-white) !important;
}

.btn-green {
    border-color: var(--off-white);
    border-width: 2px;
    border-radius: 0px;
    font-family: var(--font-objektiv);
    height: 35px;
    background-color: var(--secondary-blue);
    font-weight: bold;
    color: var(--off-white);
}

.btn-primaryRel2:hover {
    background-color: var(--black) !important;
    color: var(--off-white);
}

.chatqueryinput {
    width: 100%;
    height: 100px !important;
    resize: none;
    border: 2px solid #949494;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-objektiv);
}

.chatinputInfoText {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 75%;
    font-size: 12px;
    color: #808080;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.CustomerServiceText {
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
    text-align: center;
    line-height: 2.5;
    color: var(--black);
    width: 79px;
    margin: auto;
    display: block;
}

.webui-button {
    border-radius: 32px;
    font-size: 14px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--off-white) !important;
    text-decoration: none;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.webui-button-end {
    font-size: 18px;
    font-weight: bold !important;
    background-color: var(--black);
    color: var(--off-white);
}

.chatinput::placeholder {
    font-style: normal;
    color: #767676;
}

.chatMessageText::placeholder {
    font-style: normal;
    color: #767676;
}

.chatqueryinput::placeholder {
    font-style: normal;
    color: #767676;
}

.chatinput:focus::placeholder {
    font-style: normal;
    color: #222222;
}

.chatMessageText:focus::placeholder {
    font-style: normal;
    color: #222222;
}

.chatqueryinput:focus::placeholder {
    font-style: normal;
    color: #222222;
}

.webui-button--primary,
button.btn-advania,
button.btn-primaryRel {
    color: var(--white);
    background-color: var(--primary-blue);
    &:hover

{
    background-color: var(--secondary-blue);
}

&:active {
    background-color: var(--brick-red);
}

}

.webui-button-end--primary {
    height: 48px;
    border-radius: 0px;
    background-color: var(--black);
    font-family: var(--font-objektiv);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: bold !important;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.02px;
    text-align: center;
    line-height: 48px;
    color: var(--off-white) !important;
    cursor: pointer;
    border-color: var(--black) !important;
}

.chatStartButton {
    -ms-flex-align: center;
    align-items: center;
    background: var(--off-white);
    border: 2px solid var(--orange);
    border-radius: 25px;
    box-sizing: border-box;
    color: var(--off-white);
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-objektiv);
    font-size: 16px;
    height: 39px;
    -ms-flex-pack: center;
    justify-content: center;
    line-height: 38px;
    max-width: 100%;
    min-width: 90px;
    overflow: hidden;
    padding: 0 18px;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    transition: color 0.25s ease, background 0.25s ease, border 0.25s ease, opacity 0.25s ease;
    white-space: nowrap;
}

    .chatStartButton:hover {
        background-color: var(--orange);
    }

/* --------------------------------*/

/* Validation error/info for input */

/* --------------------------------*/

.chaterrorinputlabel,
.chatregexerrorinputlabel {
    font-size: 16px;
    color: var(--brick-red);
    position: relative;
    top: -16px;
    margin-bottom: 0px;
    font-family: var(--font-objektiv);
}

/* ----------------------------------------------------------*/

/* The chatwindow with all it functions: Exit, alerts on/off */

/* ----------------------------------------------------------*/

.chatwindow {
    font-size: 14px;
    overflow: auto;
    height: 300px;
    max-height: 90%;
    box-sizing: border-box;
    width: -webkit-fill-available;
    overflow-x: hidden;
    color: var(--black) !important;
    background-color: white;
    border-top: 1px solid #d1d1d1;
    flex: 1;
}

.exitBtn {
    color: var(--off-white);
    font: 14px/100% FuturaEF, sans-serif;
    position: absolute;
    right: 5px;
    text-decoration: none;
    top: 5px;
}

    .exitBtn:after {
        content: '✖';
        /* UTF-8 symbol */
    }

/* ------------------------------------------*/

/* The input and sendbutton for chatmessages */

/* ------------------------------------------*/

.chatContainerButtonAndText {
    border-top: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
}

.chatContainerButtonAndText2 {
    background-color: #f8f7f6;
    /* height: 60px; */
}

.chatContainerButtonQuickReply {
    background-color: var(--off-white);
    padding: 4px;
}

.chatMessageTextDiv {
    background-color: #f8f7f6;
    box-sizing: border-box;
    width: auto;
}

.fadein {
    animation: fadein 2s;
    -moz-animation: fadein 2s;
    /* Firefox */
    -webkit-animation: fadein 2s;
    /* Safari and Chrome */
    -o-animation: fadein 2s;
    /* Opera */
}

.chatMessageText {
    float: left;
    font-family: var(--font-objektiv);
    padding-left: 20px;
    border-style: none;
    min-height: 36px !important;
    width: 100%;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    padding: 15px 15px 15px 15px;
    box-shadow: 0px 0px 0px #c7c7c7 !important;
    -webkit-box-shadow: 0 0 0px #c7c7c7 !important;
    resize: none;
    height: 96px;
    color: var(--black);
}

.chatMessageTextSendBtn {
    background-color: var(--brick-red);
    float: left;
    text-align: center;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 8px;
    margin-bottom: 5px;
    -moz-border-radius: 28px;
    -webkit-border-radius: 28px;
    border-radius: 28px;
    cursor: pointer;
    color: var(--off-white);
    font-family: var(--font-objektiv);
    padding: 10px 27px;
    width: 20%;
    font-weight: bolder;
    opacity: 1;
    font-size: 18px;
}

.chatButtonPosition {
    margin-top: 8px;
    margin-right: 8px;
    margin-left: 8px;
    padding-bottom: 8px;
    display: flex;
    gap: 8px;
}

.chatMessageTextSendBtnInactive {
    float: left;
    text-align: center;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 8px;
    margin-bottom: 5px;
    background-color: #e3e3e3;
    border-color: #e3e3e3;
    -moz-border-radius: 28px;
    -webkit-border-radius: 28px;
    border-radius: 28px;
    user-select: none;
    color: var(--off-white);
    font-family: var(--font-objektiv);
    padding: 10px 18px;
    opacity: 1;
    font-size: 18px;
}

.chatMessageTextSendBtnOld {
    float: left;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 1px;
    padding-top: 12px;
    cursor: pointer;
    cursor: pointer;
    font-size: small;
    text-transform: uppercase;
    height: 25px;
    width: 20%;
    text-align: center;
    background-color: #555;
    border: 1px solid lightgray;
    border-radius: 0.2em;
    color: var(--white);
    box-shadow: 0px 1px darkgray;
}

.chatRow {
    clear: both;
    width: 100%;
    display: inline-block;
}

/* ---------------------------*/

/* Actions in the chat window */

/* ---------------------------*/

/* ----------------------------*/

/* Shows when agent is writing */

/* ----------------------------*/

.writing {
    clear: both;
    font-style: italic;
    color: gray;
    font-size: smaller;
    margin-bottom: 10px;
    margin-left: 16px;
    margin-top: -15px;
}

/* -----------------------------------------------------------------*/

/* Sisplay information from system as welcometext, status, exittext */

/* -----------------------------------------------------------------*/

.Chatsystemtext {
    clear: both;
    color: #adadad;
    margin: 5px 10px;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    font-family: var(--font-objektiv);
}

/* ---------------------------------------------*/

/* the timestamp and sender for each chatbubble */

/* ---------------------------------------------*/

/* -----------------------------------*/

/* The Pre Customer Query chat bubble */

/* -----------------------------------*/

.PreQueryframe {
    margin-top: 0.8em;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.PreQueryInfo {
    margin-top: 0.3em;
    padding-left: 1em;
    font-size: 0.8em;
    font-style: italic;
    color: gray;
}

.PreQueryText {
    margin: 0 0.3em 0 0.3em;
    padding: 1em;
    border: 1px solid lightgray;
    border-radius: 1em;
    background-color: var(--off-white);
    font-style: italic;
    position: relative;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* ----------------------*/

/* The Agent chat bubble */

/* ----------------------*/

.ChatAgentframe {
    float: left;
    width: auto;
    margin-right: 64px;
    margin-left: 16px;
}

.chatStart::-webkit-scrollbar {
    display: none;
}

.ChatAgentInfo {
    color: var(--black) !important;
    font-style: normal;
    opacity: 0.8;
    margin-top: 16px;
    font-weight: normal;
    font-family: var(--font-objektiv);
    font-size: 14px;
}

.chatAgentImage {
    display: none;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    height: 40px;
    width: auto;
    border: 1px solid var(--off-white);
    border-radius: 50%;
}

.ChatAgentText {
    white-space: pre-line;
    float: left;
    margin: 5px 0.3em 0 0.3em;
    width: auto;
    max-width: 295px;
    padding: 8px 8px 8px 8px;
    border-radius: 0 10px 10px 10px;
    background-color: var(--off-white);
    color: black;
    line-height: 24px;
    font-size: 14px;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    font-family: var(--font-objektiv);
}

/* ---------------------*/

/* Customer chat bubble */

/* ---------------------*/

.ChatCustomerframe {
    float: right;
    width: auto;
    margin-left: 64px;
    margin-right: 16px;
    clear: both;
}

.ChatCustomerInfo {
    color: var(--black) !important;
    opacity: 0.8;
    font-style: normal;
    text-align: right;
    padding-right: 5px;
    margin-bottom: 4px;
    margin-top: 16px;
    font-weight: normal;
    font-size: 14px;
}

.ChatCustomerText {
    white-space: pre-line;
    margin: 5px 0.3em 0 0.3em;
    padding: 8px 8px 8px 8px;
    background-color: #767676;
    border-radius: 10px 0px 10px 10px;
    background-color: var(--secondary-blue);
    color: var(--off-white);
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 295px;
    font-size: 14px;
    line-height: 24px;
    word-break: break-all;
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    margin-left: auto;
    font-family: var(--font-objektiv);
}

/* ----------------------------*/

/* The download link for files */

/* ----------------------------*/

.downloadtitle {
    margin-bottom: 0.5em;
}

customerchatframe:last-of-type .ChatCustomerText {
    margin-bottom: 16px;
    display: block;
}

.downloadfileimage {
    float: left;
    margin-right: 3px;
    height: 16px;
    width: 16px;
}

.chatContainerExit {
    background-color: #f8f7f6 !important;
    background: var(--off-white);
    height: auto;
    display: none;
    text-align: center;
    border-top: 1px solid #d1d1d1;
}

.ChatSystemTextIdentifier {
    display: inline-block;
    margin-left: 16px;
    margin-right: 64px;
    width: 100%;
    color: var(--black);
}

chatsystemtextidentifier:last-of-type {
    display: inline-block;
    margin-bottom: 25px;
}

chatagenttextidentifier:last-of-type {
    margin-bottom: 16px;
}

customerchatframe:last-of-type {
    margin-bottom: 25px;
    display: block;
}

.chatButtonNewmessages:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 92% !important;
    width: 0;
    z-index: 10;
    height: 0;
    border: 12px solid transparent;
    border-left: 12px solid transparent !important;
    border-top-color: var(--off-white);
    border-bottom: 0;
    border-left: 0;
    margin-left: -10px;
    margin-bottom: -12px;
    border-right: 12px solid transparent;
}

.chatSurvey {
    left: 0px;
    bottom: -7px;
    position: absolute;
    z-index: 1;
    width: 372px;
}

    .chatSurvey > button {
        position: absolute;
        top: 8px;
        right: 8px;
        display: contents;
        cursor: pointer;
    }

    .chatSurvey > iframe {
        width: 372px;
        height: 710px;
        border: 1px solid #eaeaea;
        border-radius: 8px;
        box-shadow: 0 0 8px #c7c7c7;
    }

    .chatSurvey > button > img {
        color: #00427a;
        font-size: 30px;
        line-height: inherit;
        margin: inherit;
        position: absolute;
        z-index: 30;
        right: 20px;
        top: 19px;
    }

@media only screen and (max-width: 700px) {
    .chatSurvey {
        left: 0px;
        bottom: -7px;
        position: absolute;
        z-index: 100;
        width: 100%;
    }

    .chatButtonImage {
        height: 32px;
        width: 32px;
        margin: auto;
        box-sizing: border-box;
        background: url(https://widget.releasy.se/static/img/chat.svg);
        background-repeat: no-repeat;
        background-position: center;
        color: var(--white);
    }

    .hrefblue {
        color: #0000FF;
    }

        .hrefblue:hover {
            color: #0000FF;
        }

        .chatSurvey > button {
            position: absolute;
            top: 8px;
            right: 8px;
            display: contents;
            cursor: pointer;
            pointer-events: visible;
        }

    .chatSurvey > iframe {
        width: 100%;
        height: 710px;
        border: 1px solid #eaeaea;
        border-radius: 8px;
        box-shadow: 0 0 8px #c7c7c7;
        pointer-events: all;
    }

        .chatSurvey > button > img {
            color: #00427a;
            font-size: 30px;
            line-height: inherit;
            margin: inherit;
            position: absolute;
            z-index: 300;
            right: 20px;
            top: 19px;
        }

    .chatframe {
        top: 0;
        right: 28px;
        bottom: 28px;
        left: 0;
        position: fixed !important;
        width: auto !important;
        overflow: unset !important;
        pointer-events: none;
        z-index: 150;
    }

    .chatHeader {
        z-index: 1000;
        background-repeat: unset !important;
    }

    .ChatCustomerText,
    .ChatAgentText {
        font-size: 16px;
    }

    .chatMessageText {
        font-size: 16px;
    }

    .chatMessageTextDiv {
        width: 100%;
        width: -webkit-fill-available;
    }

    .chatToggleMinimize {
        position: unset;
        bottom: unset;
    }

    .chatContainer {
        -ms-overflow-style: none;
        max-height: 100%;
 /*       display: flex !important;*/
        height: 100%;
        width: 100%;
        position: fixed;
        height: -webkit-fill-available;
        height: 100svh;
        pointer-events: all;
        display: flex;
        flex-direction: column;
        border-radius: 0;

        @media (min-width: 700px) {
            border-radius: 16px;
        }
    }
    
    .chatwindowMobile {
            height: calc(100vh - (150px + 230px)) !important;
    }

    .chatinputdiv {
        margin-left: 16px;
        margin-right: 16px;
    }

    .fadein {
        display: none !important;
    }

    @keyframes fadein {
        from {
            opacity: 0;
            margin-bottom: -5.5em;
        }

        to {
            opacity: 1;
            margin-bottom: 0em;
        }
    }

    @-moz-keyframes fadein {
        /* Firefox */
        from {
            opacity: 0;
            margin-bottom: -5.5em;
        }

        to {
            opacity: 1;
            margin-bottom: 0em;
        }
    }

    @-webkit-keyframes fadein {
        /* Safari and Chrome */
        from {
            opacity: 0;
            margin-bottom: -5.5em;
        }

        to {
            opacity: 1;
            margin-bottom: 0em;
        }
    }

    @-o-keyframes fadein {
        /* Opera */
        from {
            opacity: 0;
            margin-bottom: -5.5em;
        }

        to {
            opacity: 1;
            margin-bottom: 0em;
        }
    }

    @supports (-webkit-touch-callout: none) {
        .chatContainer {
            height: calc(var(--vh, 1vh) * 100);
        }

        .chatwindowMobile {
            height: calc(100vh - (150px + 230px)) !important;
        }
    }
}

@media (max-width: 600px) {
    .startChatButton {
        right: 16px;
        bottom: 16px;
        height: 56px;
        width: 56px;
        transform: scale(0.8);
    }

}

@keyframes fadein {
    from {
        opacity: 0;
        margin-bottom: -5.5em;
    }

    to {
        opacity: 1;
        margin-bottom: 0.5em;
    }
}

@-moz-keyframes fadein {
    /* Firefox */
    from {
        opacity: 0;
        margin-bottom: -5.5em;
    }

    to {
        opacity: 1;
        margin-bottom: 0.5em;
    }
}

@-webkit-keyframes fadein {
    /* Safari and Chrome */
    from {
        opacity: 0;
        margin-bottom: -5.5em;
    }

    to {
        opacity: 1;
        margin-bottom: 0.5em;
    }
}

@-o-keyframes fadein {
    /* Opera */
    from {
        opacity: 0;
        margin-bottom: -5.5em;
    }

    to {
        opacity: 1;
        margin-bottom: 0.5em;
    }
}

/*---------------------------------*/

/* For Internet explorer IE10+ CSS */

/*---------------------------------*/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .chatContainer {
        -ms-overflow-style: none;
    }

    .chatMessageText {
        height: 30px;
    }

    .fadein {
        animation: unset;
        -moz-animation: unset;
        /* Firefox */
        -webkit-animation: unset;
        /* Safari and Chrome */
        -o-animation: unset;
        /* Opera */
    }

    .ChatAgentframe {
        padding: 0px 0px 10px 0px;
    }
}

.chatInputToggle {
    display: none;
}

.GDPRLink {
    font-family: var(--font-objektiv);
    color: var(--black);
    text-decoration: none;
    font-size: 16px !important;
    line-height: 24px;
    font-weight: 400;
    display: flex;
    gap: 8px;
}
