@font-face {
    font-family: 'open_sansregular';
    src: url('https://learna.in.pearson.com/fonts/opensans-regular-webfont.woff2') format('woff2'), url('https://learna.in.pearson.com/fonts/opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansbold';
    src: url('https://learna.in.pearson.com/fonts/opensans-bold-webfont.woff2') format('woff2'), url('https://learna.in.pearson.com/fonts/opensans-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

*,
*:before,
*:after {
    /*margin: 0;
    padding: 0;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.clear:after,
.clear:before {
    content: "";
    display: table;
}

.clear:after {
    clear: both;
}

.chat-section {
    font-family: 'open_sansregular' !important;
    font-weight: normal;
}

p {
    /*font-size: 14px;
    line-height: 18px;*/
}

.start-bot {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 99;
}

.start-bot img {
    width: 140px;
}

.start-bot a {
    display: block;
    line-height: 0;
}

.chat-section {
    position: fixed;
    z-index: 999999;
    bottom: 15px;
    right: 15px;
    width: 350px;
    height: 530px;
    background: #fff;
    border-radius: 10px 10px 0 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, .15);
    border: 1px solid #e8e8e8;
    overflow: hidden;
    display: none;
    /*opacity: 0;
    visibility: hidden;*/
    /*visibility: hidden;*/
}

.welcome-div {
    width: 100%;
    height: 100%;
    background: #248eb5;
    text-align: center;
    display: none;
}

.welcome-center {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    display: block;
    height: 180px;
}

.connecting-div {
    margin: auto;
    width: 100%;
    text-align: center;
    padding-top: 10px;
    color: #fff;
}

.connecting-div span {
    animation-name: blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    font-size: 22px;
}

.connecting-div span:nth-child(2) {
    animation-delay: 0.2s;
}

.connecting-div span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}

.connecting-bot img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    animation-name: stretch;
    animation-duration: .8s;
    animation-timing-function: ease-out;
    animation-delay: 0;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-fill-mode: none;
    animation-play-state: running;
}

@keyframes stretch {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(.9);
    }
}


/*chat-content*/
.chat-section a{
    font-weight:normal;
}
.chat-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
    /*visibility: hidden;*/
}
.chat-section p{
    padding:0;
    margin:0;
}
.chat-content .header {
    height: 80px;
    background: #248eb5;
    padding: 10px 15px;
    position: relative;
}

.chat-content .header img {
    float: left;
    margin-right: 12px;
}

.chat-content .header h3 {
    color: #fff;
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 18px;
}

.chat-content .header .close-btn a {
    position: absolute;
    top: 30px;
    right: 20px;
    width: 20px;
    height: 5px;
    padding-top: 8px;
}

.chat-content .header .close-btn span {
    height: 3px;
    width: 20px;
    background: #fff;
    display: block;
}


/*chat-content-box*/

.chat-content-box::-webkit-scrollbar {
    width: 3px;
    background-color: #F5F5F5;
}

.chat-content-box::-webkit-scrollbar-thumb {
    border-radius: 5%;
    background-color: #b5b3b3;
}

.chat-content-box {
    background: #fdfdfd;
    width: 100%;
    position: absolute;
    top: 80px;
    bottom: 75px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 20px 20px 15px;
}

.chat-content-box .send-msg {
    background: #f1f4f5;
    padding: 12px 15px;
    border-radius: 8px;
    /*margin-left: 40px;*/
    position: relative;
    margin-bottom: 8px;
    width: 92%;
    /*overflow: hidden;*/
}

.chat-content-box .send-msg:before {
    /*content: url('/images/profile.png');*/
    position: absolute;
    left: -45px;
    top: 0;
}

    .chat-content-box .send-msg p {
        font-family: 'open_sansregular' !important;
        color: #171617;
        word-wrap: break-word;
        font-size: 15px !important;
    }

.chat-content-box .send-msg .helpful {
    background: #f9f9f9;
    padding: 10px 4px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0 0 10px 10px;
}

.chat-content-box .send-msg .helpful p {
    float: left;
    padding-top: 8px;
    padding-right: 4px;
}

.chat-content-box .send-msg .helpful a {
    border-radius: 4px;
    border: 1px solid #248eb5;
    color: #248eb5;
    text-decoration: none;
    padding: 6px 7px;
    font-size: 13px;
    display: inline-block;
    margin-left: 4px;
    /*transition: 0.5s;*/
    text-transform: uppercase;
}

.chat-content-box .send-msg .helpful a:hover {
    text-decoration: none;
    color: #fff;
    background: #248eb5;
}

.chat-content-box .send-msg .helpful-height {
    height: 50px;
}

.chat-content-box .receive-msg {
    /*margin-right: 45px;*/
    position: relative;
    margin-bottom: 25px;
    margin-top: 25px;
}

.chat-content-box .receive-msg:before {
    /*content: url('/images/guest-profile.svg');*/
    position: absolute;
    right: -45px;
    top: 0px;
    width: 40px;
}

    .chat-content-box .receive-msg p {
        font-family: 'open_sansregular' !important;
        background: #248eb5;
        padding: 12px 15px;
        color: #fff !important;
        border-radius: 8px;
        width: auto;
        display: inline-block;
        float: right;
        max-width: 75%;
        word-wrap: break-word;
        font-size: 15px !important;
    }

.chat-content-box .option-btn {
    /*margin-left: 45px;*/
    margin-bottom: 10px;
}

    .chat-content-box .option-btn a {
        font-family: 'open_sansregular' !important;
        border-radius: 4px;
        border: 1px solid #248eb5;
        color: #248eb5;
        text-decoration: none;
        padding: 7px 10px;
        font-size: 14px;
        display: inline-block;
        margin-bottom: 8px;
        margin-right: 4px;
        /*transition: 0.5s;*/
    }

.chat-content-box .option-btn a:hover,
.chat-content-box .option-btn a.active {
    text-decoration: none;
    color: #fff;
    background: #248eb5;
}

.chat-content-box .all-links {
    color: #248eb5;
    text-decoration: none;
}

.slider-msg {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 0;
    border-radius: 8px;
    margin-left: 25px;
    position: relative;
    margin-bottom: 25px;
    margin-right: 25px;
}

.slider-msg:before {
    /*content: url('/images/profile.png');*/
    position: absolute;
    left: -45px;
    top: 0;
}

.slider-msg .book-details {
    padding: 15px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.slider-msg p {
    padding: 0 15px 15px 15px;
    font-size: 14px;
}

.slider-msg .book-details .book-img {
    -webkit-box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.2);
    margin-right: 8px;
    /*min-width:85px;*/
    height: 100px;
}

.slider-msg .book-details .book-name {
    color: #000;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
}

.slider-msg .book-details .book-name span {
    font-weight: normal;
    margin-top: 5px;
    font-size: 13px;
}

.slider-msg .books-link a {
    color: #171617;
    text-decoration: none;
    border-top: 1px solid #e6e6e6;
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    /*overflow: hidden;*/
}

.slider-msg .books-link a:hover {
    color: #1c82a7;
    text-decoration: none;
    background: #fcfcfc;
}


/*connect-btn*/

.chat-content-box .connect-btn {
    margin-left: 0px;
    margin-bottom: 10px;
}

.chat-content-box .connect-btn a {
    border-radius: 4px;
    border: 1px solid #248eb5;
    color: #248eb5;
    text-decoration: none;
    padding: 7px 10px 7px 35px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 4px;
}

.chat-content-box .connect-btn a:hover {
    text-decoration: none;
    color: #fff;
    background: #248eb5;
}

.call-back {
    padding: 7px 10px !important;
}

.chat-content-box .connect-btn .email {
    background: url("https://learna.in.pearson.com/images/mail.svg") no-repeat;
    background-size: 20px;
    background-position: 7px;
}

.chat-content-box .connect-btn .email:hover {
    background: #248eb5 url("https://learna.in.pearson.com/images/mail_white.svg") no-repeat;
    background-size: 20px;
    background-position: 7px;
}

.chat-content-box .connect-btn .whatsapp {
    background: url("https://learna.in.pearson.com/images/wahtsapp.svg") no-repeat;
    background-size: 20px;
    background-position: 7px;
}

.chat-content-box .connect-btn .whatsapp:hover {
    background: #248eb5 url("https://learna.in.pearson.com/images/whatsapp_white.svg") no-repeat;
    background-size: 20px;
    background-position: 7px;
}

.chat-content-box .connect-btn .web {
    background: url("https://learna.in.pearson.com/images/web.svg") no-repeat;
    background-size: 25px;
    background-position: 7px;
}

.chat-content-box .connect-btn .web:hover {
    background: #248eb5 url("https://learna.in.pearson.com/images/web_white.svg") no-repeat;
    background-size: 25px;
    background-position: 7px;
}


/*footer*/

.chat-section .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    border-top: 1px solid #f0f0f0;
    padding: 0;
}

.chat-section .footer .back-btn {
    /*background: #f1f4f5;*/
    /*height: 59px;*/
    width: 55px;
    left: 4%;
    padding: 13px 0 0 0;
    position: absolute;
    z-index: 9;
}

    .chat-section .footer .back-btn a:focus {
        outline: none;
    }

    .chat-section .footer .back-btn img {
        height: 33px;
        display: block;
    }

.back-btn-dis {
    pointer-events: none;
    opacity: 0.5;
}

.chat-section .footer textarea,
.textarea-size {
    min-height: 55px;
    font-size: 14px;
    box-sizing: border-box;
    padding: 4px;
    border: 1px solid;
    overflow: hidden;
    width: 82%;
    border: none;
    outline: none;
    padding: 19px;
    padding-left: 60px;
    line-height: 20px;
}

.chat-section .footer textarea {
    height: 100%;
    position: absolute;
    resize: none;
    white-space: normal;
    font-family: 'open_sansregular';
    font-size: 14px;
    overflow: auto;
    color: #171617;
}

.chat-section .footer .textarea-size {
    visibility: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.chat-section .footer textarea::-webkit-scrollbar {
    width: 3px;
    background-color: #F5F5F5;
}

.chat-section .footer textarea::-webkit-scrollbar-thumb {
    background-color: #b5b3b3;
}

.backgroundgrey {
    background: #f1f4f5;
}

.chat-section .footer textarea[type="text"]:disabled {
    background: #f1f4f5;
}

.chat-section .footer .send {
    position: absolute;
    top: 18px;
    right: 14%;
}

    .chat-section .footer .send img {
        height: 22px;
    }

.chat-section .footer .refresh {
    position: absolute;
    top: 0px;
    right: 4%;
    padding: 13px 0 0 0;
    /* opacity: 0.5; */
    /*height: 60px;*/
}

    .chat-section .footer .refresh.active {
        opacity: 1;
    }

    .chat-section .footer .refresh img {
        height: 33px;
        display: block;
    }

.typing {
    padding-left: 20px;
    color: #0081a4;
    font-size: 12px;
    position: absolute;
    top: -25px;
    z-index: 9;
}

.typing span {
    animation-name: blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    font-size: 16px;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}


/*.visibility-hidden {
    visibility: hidden;
    opacity:0;
}
.visibility-visible {
    opacity: 1;
    visibility: visible;
}*/

@media only screen and (max-width:767px) {
    .start-bot img {
        width: 120px;
    }
    .chat-section {
        width: 100%;
        height: 100%;
        border-radius: 0;
        bottom: 0px;
        right: 0px;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 991px) and (orientation: landscape) {}