.swal2-container{
    z-index: 9999;
}
.livechat-container {
    display: none;
    pointer-events: none;
    font-family: gotham-book, -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    font-weight: 700;
}

.livechat-container {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 25px;
    margin-bottom: 0px;
    z-index: 9998;
    width: 25%;
}

.uog-live-chat-launcher {
    /* background-color: #4cb95f; */
    position: relative;
    display: inline-block;
    float: right;
    /* padding: 1.5rem; */
    /* border-radius: 50% 50% 0 50%; */
    /* font-size: 1.5rem; */
    /* color: white; */
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, .15); */
    /* margin-top: 1rem; */
    cursor: pointer;
    transition: all .2s linear;
    pointer-events: auto;
    word-break: break-all;
}

.uog-live-chat-launcher:hover {
    /* opacity: 0.7; */
}

[class^="uog-icon-"] {
    position: relative;
    display: block;
    background-repeat: no-repeat;
    background-image: url('https://sgzip.glos.ac.uk/uogexternal/chat/images/chat-sprites.png');
}

.uog-live-chat-launcher .uog-icon-chat {
    width: 25px;
    height: 25px;
    background-position: -58px -5px;
    background-size: 160px;
}

.uog-live-chat-launcher .uog-icon-close {
    padding: 5px;
    width: 25px;
    height: 25px;
    background-position: -102px -30px;
    background-size: 130px;
    display: none;
}

.livechat-boxs {
    background-color: #4cb95f;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    border-radius:7px!important;
    transform: scale(.3) skewY(10deg) rotate(45deg);
    transform-origin: bottom right;
    transition: all .3s ease-in-out;
    opacity: 0;
}

.livechat-boxs .livechat-icon-graduationcap {
    position: absolute;
    top: -45px;
    left: -36px;
    transform: rotate(-25deg);
    width: 110px;
    height: 80px;
    background-image: url('https://open.uniofglos.com/wp-content/uploads/2020/06/chat-sprites.png');
    background-position: -250px -5px;
    background-size: 350px;
    filter: drop-shadow(1px 1px 15px rgba(0, 0, 0, 0.3));
}

.livechat-boxs .livechat-header {
    position: relative;
    color: #FFFFFF;
    text-align: center;
    padding: 14px;
    /* border-radius: 30px 30px 0 0; */
}

.form-group {
    margin-bottom: 20px;
}

.livechat-boxs .livechat-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 3px 0;
    color: #FFFFFF;
    line-height: 48px;
}

.livechat-boxs .livechat-header .livechat-close {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 8px;
    color: white;
    border-radius: 50%;
    transition: all .2s linear;
}

.livechat-boxs .livechat-header .livechat-close .uog-icon-close {
    width: 15px;
    height: 15px;
    /* background-image: url('https://open.uniofglos.com/wp-content/uploads/2020/06/chat-sprites.png); */
    background-position: -76px -23px;
    background-size: 95px auto;
}

.livechat-boxs .livechat-header .livechat-close:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.livechat-boxs .livechat-content {
    background-color: #FFFFFF;
    padding: 20px;
    /* border-radius: 15px 15px 5px 5px; */
    position: relative;
}

.fixed-height-body {
    height: 325px;
    overflow: scroll;
}

.fixed-height-body::-webkit-scrollbar {
    display: none;
}

.swal2-container{
    z-index: 9999!important;
}

/* .instantAns-screen {
    position: relative;
} */


/* .textarea-from {
    position: absolute;
    width: 91%;
    top: -6%;
    left: 50%;
    transform: translate(-50%, -0%);
    z-index: 2;
}

.textarea-activated {
    padding-top: 80px !important;
} */

.textarea-from {
    position: relative;
}

.textarea-icon {
    position: absolute;
    right: 8px;
    bottom: 6px;
}

.livechat-boxs .uog-button {
    text-decoration: none;
    border-radius: 5px;
    transition: all .1s linear;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .15);
    display: inline-block;
    font-size: 0.9rem;
    padding: 8px 20px;
    margin: 5px 1px;
    color: white;
}

.livechat-boxs .uog-button:hover {
    opacity: 0.7;
}

.uog-liveperson-buttons {
    text-align: center;
    max-width: 27rem;
}

.uog-liveperson-buttons div {
    display: inline-block;
}

.uog-liveperson-buttons .uog-button span[class^="uog-icon-"] {
    margin-right: 5px;
}

.uog-liveperson-buttons #uog-button-webchat {
    background-color: #488ECB;
}

.uog-liveperson-buttons #uog-button-webchat span.uog-icon-comment-dots {
    display: inline-block;
    width: 15px;
    height: 12px;
    background-position: -48px -21px;
    background-size: 85px auto;
}

.uog-liveperson-buttons #uog-button-whatsapp {
    background-color: #25D366;
}

.uog-liveperson-buttons #uog-button-whatsapp span.uog-icon-whatsapp {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-position: -6px -21px;
    background-size: 85px auto;
    margin-bottom: -2px;
}

.uog-liveperson-buttons #uog-button-facebook-messenger {
    background-color: #0183FF;
}

.uog-liveperson-buttons #uog-button-facebook-messenger span.uog-icon-facebook-messenger {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-position: -28px -20px;
    background-size: 85px auto;
    margin-bottom: -2px;
}

.uog-liveperson-buttons #uog-button-imessage {
    background-color: #000000;
    display: none;
}

.uog-liveperson-buttons #uog-button-imessage span.uog-icon-apple {
    display: inline-block;
    width: 14px;
    height: 15px;
    background-position: -45px -1px;
    background-size: 85px auto;
    margin-bottom: -2px;
}

.uog-liveperson-buttons #uog-button-sms {
    background-color: #585858;
    display: none;
}

.uog-liveperson-buttons #uog-button-sms span.uog-icon-sms {
    display: inline-block;
    width: 14px;
    height: 15px;
    background-position: -30px -1px;
    background-size: 85px auto;
    margin-bottom: -2px;
}

.uog-liveperson-buttons #uog-button-wechat {
    background-color: #2BA245;
}

.uog-liveperson-buttons #uog-button-wechat span.uog-icon-wechat {
    display: inline-block;
    width: 17px;
    height: 17px;
    background-position: -17px -1px;
    background-size: 100px auto;
    margin-bottom: -2px;
}

.livechat-boxs p {
    font-size: .9rem;
    text-align: center;
}

.uog-wechat-qr-code {
    display: none;
    margin: 15px auto 5px auto;
    width: 60%;
    padding: 10px 10px 1px 10px;
    background-color: #2BA245;
    color: #FFFFFF;
    border-radius: 15px;
    text-align: center;
}

.uog-wechat-qr-code img {
    position: relative;
    display: block;
    margin: auto;
    border-radius: 10px;
}

.uog-wechat-qr-code span.uog-wechat-tag {
    background-color: white;
    color: #585858;
    padding: 3px 10px;
    margin: 5px 0;
    display: inline-block;
    border-radius: 5px;
}

.uog-wechat-qr-code span.uog-wechat-tag .uog-icon-search {
    opacity: 0.75;
    display: inline-block;
    width: 17px;
    height: 17px;
    background-position: 0px -1px;
    background-size: 100px auto;
    margin-bottom: -2px;
}

.livechat-boxs p.uog-unibuddy {
    margin: 10px 0;
}

.livechat-boxs p.uog-unibuddy a {
    text-decoration: underline;
    color: #0b72b1;
}

.livechat-boxs p.uog-unibuddy a:hover {
    color: #3b8ec1;
}

.uog-chat-bubble-wobble {
    animation: wobble 0.82s cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes wobble {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}


/* END: UoG live chat styles */


/* ################  InstantAns-lists */

.list-group-item {
    margin-bottom: 14px;
    line-height: 1.25 !important;
}

.list-group-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #000000;
}

.list-group-item:hover {
    background-color: #E6F2EE;
}

.list-group-item+.list-group-item {
    border-top-width: thin;
}


/* ################  Chat-Views */

.chat-header-view {
    position: relative;
}

.chat-body-view {
    margin-bottom: 65px;
}

.close-icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
}

.back-icon {
    position: relative;
    /* top: 50%;
    transform: translate(0, -50%); */
}

.user-input {
    width: fit-content;
    cursor: pointer;
    max-width: 70%;
    border-radius: 20px;
    margin-bottom: 10px;
    margin-left: auto;
}

.answerView {
    font-weight: 400;
    text-align: justify !important;
    padding: 7px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    border-radius: 10px;
    overflow-wrap: break-word;
    /* width: 100%; */
    /* word-break: break-all; */
}

.user-ans {
    border: 1px solid #4cb95f;
    color: rgb(76 185 95);
    background: white;
    font-size: 14px;
    line-height: 20px;
    word-break: break-word!important;
}

.user-ans:hover {
    color:white;
    background: rgb(76 185 95);
}

.mainQuetion{
    /* color: #4cb95f;
    background: #1B97511A; */

    background: #4cb95f;
    color: #ffffff;
    font-size: 14px;
    word-break:break-word!important;
    word-wrap: break-word!important;

}

.robot-ans {
    font-family: 'Lato', sans-serif;
    /* color: #35373B;
    background-color: #FFF7F0; */
    background: rgb(245, 248, 250);
    color: rgb(65, 65, 65);
    width: fit-content;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 20px;
    word-break: normal;
    word-wrap: break-word;
    display: inline-block;
    
}

.robot-input {
    /* display: flex; */
    max-width: 80%;
    margin-bottom: 10px;
}

.robot-input p {
    margin-right: auto;
    word-break: break-word!important;
}

.write-view {
    position: absolute;
    bottom: 0;
    display: flex;
    gap: 10px;
    width: 90%;
    left: 50%;
    bottom: 3%;
    transform: translate(-50%, 0);
}

.write-view-boxs {
    background-color: white;
    border: 2px solid #4cb95f;
    border-radius: 40px;
    padding-left: 15px;
    padding-right: 15px;
}

.write-main-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.write-input-box {
    background: white;
    border-radius: 8px;
    padding: 5px;
}

.write-input {
    border: 0px;
    box-shadow: none;
    border-radius: 8px;
    background : #ffffff;
}

.input-group-text {
    background: transparent;
    border: none;
    color: black;
    cursor: pointer;
}

/* .form-control.write-input:focus {
    background: #dddddd;
} */
.livechat-container .form-control:focus{
    border-color: #ffffff!important;
    box-shadow: none!important;
}

@media (max-width:1100px) {
    .livechat-container {
        width: 36%;
        margin-bottom: 10px;
        margin-right: 10px;
    }

    .livechat-boxs .livechat-header {
        padding: 14px;
    }

    .livechat-boxs .livechat-content {
        padding: 14px;
    }
}

@media (max-width:900px) {
    .livechat-container {
        width: 45%;
    }

    .uog-live-chat-launcher {
        /* padding: 1rem; */
    }
}

@media (max-width:700px) {
    .livechat-container {
        width: 58%;
    }
}

@media (max-width:550px) {
    .livechat-container {
        width: 68%;
    }
}

@media(max-width: 500px) {
    .livechat-boxs span.livechat-icon-graduationcap {
        display: none;
    }

    .livechat-container {
        margin: 10px;
    }

    .uog-live-chat-launcher {
        /* padding: 1.1rem; */
        margin-top: .5rem;
    }

    .uog-live-chat-launcher .uog-icon-chat {
        width: 20px;
        height: 20px;
        background-position: -45px -4px;
        background-size: 125px auto;
    }

    .uog-live-chat-launcher .uog-icon-close {
        padding: 2px;
        width: 20px;
        height: 20px;
        background-position: -91px -27px;
        background-size: 115px auto;
    }

    .livechat-boxs .livechat-content {
        padding: 10px;
    }

    .livechat-boxs p {
        padding: 0 8px;
        /* font-size: 0.9rem; */
    }

    .uog-liveperson-buttons #uog-button-sms {
        display: inline-block;
    }

    .livechat-boxs .livechat-header h2 {
        font-size: 1.1rem;
        margin: 13px 0;
        line-height: 32px;
    }
}

@media (max-width:450px) {

    .livechat-boxs{
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 9;    
        width: 100%;
    }
    /* .uog-live-chat-launcher{
        display: none;
    }

    .robotImage{
        display: none;
    } */
    /* .checkIcon:checked + #body{
        overflow: hidden;
    } */


    .livechat-boxs {
        /* max-height: 420px; */
        /* border-radius: 30px 30px 30px 30px; */
        /* background-color: white; */
    }

    .livechat-header {
        background: #4cb95f;
    }

    .form-screen{
        margin-top: 30px;
    }

    .form-screen .row{
        gap: 2px;
    }

    .form-screen .row .form-group:last-child{
        margin-top: 20px;
    }

    .livechat-boxs .livechat-content {
        min-height: inherit;
        /* border-radius: 15px 15px 30px 30px; */
    }

    .livechat-container {
        width: 98%;
        margin: 10px 5px;
    }

    .uog-live-chat-launcher {
        margin-right: 0.5rem;
    }

    .robot-input {
        margin-bottom: 16px;
    }

    .chat-view.chat-body-view.fixed-height-body{
        min-height: 480px!important;
    }

    .livechat-content .instantAns-screen {
        /* min-height: 480px!important; */
    }

    .instantAns-lists.fixed-height-body{
        max-height: 100%;
    }
    .fixed-height-body {
        /* height: auto; */
    }
    .fixed-height-body{
        height: 530px!important;
    }

    /* .write-view{
        bottom: -30%;
    } */
}