
 :root {
    --red: #a2cce3;
}

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    /* text-transform: capitalize; */
    transition: all .2s linear;
}

*::selection {
    background: var(--red);
    color: #fff;
}
@font-face {
  font-family: 'FontAwesome';
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2');
  font-display: swap;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    background: #f7f7f7;
}

section {
    /* padding: 2rem 2%; */
}

.heading {
    /* text-align: center; */
    font-size: 3.5rem;
    /* background-image: linear-gradient(to top, rgba(0, 194, 255, 0.28), rgba(121, 159, 255, 0.17)); */
    padding: 1rem;
    color: rgb(32, 57, 102);
}

.heading span {
    color: var(--red);
}

.h1 {
    font-family: erdana, helvetica, arial, sans-serif;
    margin-top: 2rem;
    /* margin-bottom: 2rem; */
    font-size: 29px;
    color: #610b38;
    /* margin-left: 3rem; */
    font-weight: 400;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #364367;
    padding: 1rem 2%;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

header .logo {
    font-size: 2.5rem;
    font-weight: bolder;
    color: #666;
    height: 4rem;
}

header .logo i {
    padding-right: .5rem;
    color: var(--red);
}

header .navbar a {
    font-size: 2rem;
    margin-left: 0.5rem;
    color: white;
}

header .navbar a:hover {
    color: var(--red);
}

#menu-bar {
    font-size: 3rem;
    cursor: pointer;
    color: #666;
    /* border: .1rem solid #666; */
    border-radius: .3rem;
    /* padding: .5rem 1.5rem; */
    display: none;
}

.home {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    /* min-height: 50vh; */
    align-items: center;
    background-size: cover;
    background-position: center;
}

.home .content {
    flex: 1 1 40rem;
    padding-top: 6.5rem;
}

.home .image {
    flex: 1 1 40rem;
}

.home .image img {
    width: 100%;
    padding: 1rem;
    animation: float 3s linear infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0rem);
    }
    50% {
        transform: translateY(3rem);
    }
}

.home .content h3 {
    font-size: 5rem;
    color: #333;
}

.home .content p {
    font-size: 1.7rem;
    color: #666;
    padding: 1rem 0;
}

.container .row .tool .speciality .box-container {
    display: flex;
    flex-wrap: wrap;
    /* gap:1.5rem; */
}

.container .row .tool .speciality .box-container .box {
    flex: 1 1 25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    /* border:.1rem solid rgba(0,0,0,.3); */
    cursor: pointer;
    height: 10rem;
    margin-top: 1rem;
    width: 2rem;
    border-radius: 60%;
}

.container .row .tool .speciality .questionrow .cardmb-4 .card-body {
    /* margin-left: 4rem; */
    font-size: large;
    /* font-weight: bold; */
}

.questionrow {
    /* border: 1px solid black; */
    text-transform: initial;
}

.row {
    flex: 1 1 15rem;
    flex-direction: row;
    display: flex;
    margin-top: 7rem;
    /* background-image: linear-gradient(to top, rgba(226, 234, 236, 0.28), rgba(121, 159, 255, 0.17)); */
    /* border-top: black 1px solid; */
}

.tool {
    width: 150rem;
}

.col {
    flex: 0 0 auto;
    min-width: 60vh;
    padding-right: 10rem;
}

.card.mb-4 {
    margin-top: 15px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 30vh;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-body {
    flex: 1 1 auto;
    /* padding: 1rem 1rem; */
    /* margin-left: 1rem; */
}

.card-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    font-size: medium;
    text-align: center;
    font-weight: bold;
    color: #eee;
    background-color: black;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.list {
    display: flex;
    /* padding: 2rem; */
}

.list .col-sm-6 {
    width: 100%;
    font-size: medium;
}

.categorieslist {
    border: solid 1px #eee;
    padding: 5px 10px;
    font-family: 'Glyphicons Halflings';
}

.categorieslink {
    color: black;
    opacity: 70%;
}

.adscol {
    padding-right: 2rem;
    margin-left: 5rem;
}

.cardmb-4 {
    margin-left: 0rem;
    margin-bottom: 3rem;
    /* border: black 1px solid; */
}

.pagination {
    display: inline-block;
    margin-left: 2rem;
    margin-top: 2rem;
    padding: 1rem;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.pagination a:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination a:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.gsc-control-cse {
    /* color: var(--font-color);
    background-color: var(--bg-color)!important; */
    padding: 0.1rem !important;
    border: 1px solid white !important;
}


/*Simple css to style it like a toggle switch*/

[data-theme="dark"] {
    --primary-color: #9A97F3;
    --secondary-color: #818cab;
    --font-color: #e1e1ff;
    --bg-color: #161625;
    --leftbar: #ddd;
    --heading-color: #818cab;
}


/* .row {
        color: var(--font-color);
        background-color: var(--bg-color);
    }

    .option {
        color: var(--font-color);
        background-color: var(--bg-color);
    } */

.oddtable {
    background-color: var(--bg-color);
}



.gsc-control-cse {
    color: var(--font-color);
    background-color: var(--bg-color)!important;
    /* padding: 0.1rem !important; */
    border: 1px solid black;
}

.comment {
    color: var(--font-color) !important;
    background-color: var(--bg-color)!important;
}

.code_style {
    color: var(--font-color)!important;
    background-color: var(--bg-color) !important;
}

.do-you-know {
    color: var(--font-color);
    background-color: var(--bg-color);
}

a {
    color: var(--font-color);
}

i.fa.fa-angle-right {
    color: var(--font-color);
}

i.fa.fa-home {
    color: var(--font-color);
}

.heading {
    color: var(--font-color);
    background-color: var(--bg-color);
}

.pageheading {
    color: var(--font-color);
    background-color: var(--bg-color);
}

.h1 {
    color: var(--font-color);
    background-color: var(--bg-color);
}

.col-sm-6 {
    font-size: 1rem;
    font-style: italic;
    display: block;
    /* margin-bottom: 4vh; */
    color: var(--font-color);
    background-color: var(--bg-color);
}

.categorieslink {
    color: var(--font-color);
    background-color: var(--bg-color);
}

.card.mb-4 {
    color: var(--font-color);
    opacity: 100%;
    background-color: var(--bg-color);
}

.pagination {
    color: var(--font-color);
    font-size: medium;
    background-color: var(--bg-color);
}

.pagination a.page {
    color: var(--font-color);
    background-color: var(--bg-color);
}

.next_topic {
    background-color: var(--leftbar);
}

.keyword {
    color: #0628e9;
}


/* .comment {
    margin-left: 15px;
    margin-top: 10px;
    color: #606;
} */

#myBtn {
    display: none;
    position: fixed;
    margin-bottom: 6rem;
    bottom: 2px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: rgb(83, 206, 83);
    color: white;
    cursor: pointer;
    padding: 10px;
    height: 4.8rem;
    border-radius: 4px;
}

#myBtn:hover {
    background-color: #555;
}

body {
    margin: 0;
    /* font-family: var(--bs-font-OpenSans); */
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: var(--bg-color);
    color: var(--font-color);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    /* em {
margin-left: 10px;
font-size: 1rem;
} */
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
}

input:checked+.slider {
    background-color: #66bb6a;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.footer {
    background: #0b212d;
}

.row-footet {
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 8rem;
}

.link {
    font-size: medium;
    margin-left: 15rem;
    color: #a2cce3;
}

.services {
    margin-left: 15rem;
    color: #a2cce3;
    font-size: medium;
}

.contact {
    margin-left: 15rem;
    color: #a2cce3;
    font-size: medium;
}

.aboutus {
    margin-left: 15rem;
    color: #a2cce3;
    font-size: medium;
}

.footer .container .row-footet .services ul li {
    padding: 5px 0;
    display: flex;
}

.footer .container .row-footet .link ul li {
    padding: 3px 0;
    display: flex;
}

.footer .container .row-footet .contact ul li {
    padding: 10px 0;
    display: flex;
}

.footer .container .row-footet .aboutus ul li {
    padding: 10px 0;
    display: flex;
}

p.contact {
    font-size: 14px;
    line-height: 24px;
    margin-left: 0;
    font-family: "Roboto", sans-serif;
    color: #fff;
}

p.about {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Roboto", sans-serif;
    color: #fff;
}

.footerlink {
    color: white;
    margin-left: 5px;
}

.footercontainer {
    text-align: center;
    padding-top: 30px;
    font-size: 10px;
    font-weight: bold;
    color: #a2cce3;
}

.num-copy {
    display: flex;
    flex-direction: row;
}

.num {
    text-align: center;
    width: 100%;
    font-size: 2rem;
    margin-top: -10px;
}

.copy {
    text-align: right;
    font-size: large;
    padding: 4px;
}

#icon {
    font-size: 24px;
    color: var(--font-color);
    background-color: var(--bg-color);
}

.card-body {
    /* text-align: justify; */
}


/* check answer */


/* question answer check */

.do-you-know {
    /* color: var(--font-color) ; */
    font-weight: 700;
    background-image: linear-gradient(to top, rgba(0, 194, 255, 0.28), rgba(121, 159, 255, 0.17));
    background: linear-gradient(180deg, rgba(35, 177, 133, 1) 35%, rgba(0, 222, 182, 1) 100%);
}

.pageheading {
    font-weight: bold;
    font-size: large;
    background-image: linear-gradient(to top, rgba(0, 194, 255, 0.28), rgba(121, 159, 255, 0.17));
    padding: 1.5rem;
    color: #0a58ca;
}

@media (max-width: 1500px) {
    .top {
        display: block !important;
    }
}

.top {
    display: flex;
}

.top-left {
    display: flex;
    padding: 10px;
    /* width: 80%; */
    /* border: 1px solid black; */
}

.top-right {
    /* display: none; */
    /* flex-direction: row; */
    padding: 10px;
    border: 3px #0ddf6be8 solid;
}

.questionrow {
    text-align: justify;
}

.code_style {
    padding: 1rem;
    margin-top: 4rem;
    padding-bottom: 4rem;
    overflow: auto;
    border: 1px solid #d5ddc6;
    background-color: #d6bdbd4d;
    border-left: 4px solid #6b5;
}

.code_output {
    display: flex;
    border: 1px solid #d5ddc6;
    padding: 4px;
    border-left: 4px solid #6b5;
}

.comments {
    margin-left: 20px;
    margin-top: 10px;
    color: rgb(219, 9, 62);
}

.tip {
    background-color: rgba(250, 235, 215, 0.541);
    padding: 20px;
    border-left: 4px solid #6b5;
    overflow: auto;
}

input#comment_name {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    margin-bottom: 2rem;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}

textarea#comment_content {
    display: block;
    width: 100%;
    /* height: 34px; */
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}

form#comment_form {
    margin: 1rem 1rem 2rem 1rem;
}

.comments_style {
    font-size: medium;
}

.panel.panel-default {
    padding: 10px 15px;
    /* background-color: #f5f5f5; */
    border: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    margin-left: 10px;
    margin-right: 15px;
    margin-top: 20px;
}

.panel-heading {
    display: flex;
}

.panel-body {
    height: fit-content;
    font-size: 20px;
    padding: 5px;
}

.btnbtninfo {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    margin-top: .5rem;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    background-color: rgb(83, 206, 83);
    border-color: #46b8da;
}

.comment_sender_name {
    margin-top: 1rem;
    font-size: 2rem;
    margin-left: 2rem;
    width: 100%;
    text-transform: capitalize;
}

.date_of_sender {
    margin-top: 1rem;
    font-size: x-small;
}


/* media queries  */


/*ipad pro*/

@media only screen and (min-width: 992px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio:1.5) {
    .row {
        flex: 1 1 15rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        /* background-image: linear-gradient(to top, rgba(0, 194, 255, 0.28), rgba(121, 159, 255, 0.17)); */
        /* border-top: black 1px solid; */
    }
    .row-footet {
        color: white;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-left: 5rem;
    }
    .link {
        font-size: medium;
        margin-left: 1rem;
        color: #a2cce3;
    }
    .services {
        margin-left: 7rem;
        color: #a2cce3;
        font-size: medium;
    }
    .contact {
        margin-left: 1rem;
        color: #a2cce3;
        font-size: medium;
    }
    .aboutus {
        margin-left: 0rem;
        color: #a2cce3;
        font-size: medium;
    }
}

@media(max-width:991px) {
    #listcss {
        display: block !important;
    }
    #imgcss {
        width: 400px;
    }
    .row {
        flex: 1 1 15rem;
        display: flex;
        /* background-color: #f5f8f9; */
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 7rem;
        /* border-top: black 1px solid; */
    }
    .ads{
        display:none;
    }
    .col {
         min-width: 60vh ;
         margin-left:1rem;
         padding-right: 5rem !important;
    }
    .footer .container .row-footet .link ul li {
        padding: 3px 0;
        display: flex;
    }
    
    .row-footet {
        color: white;
        margin-left: 3rem;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .link {
        font-size: medium;
        margin-left: 0rem;
        color: #a2cce3;
        margin-top: 5rem;
        /* margin-left: 10rem; */
        width: 100%;
    }
    .services {
        margin-top: 5rem;
        color: #a2cce3;
        margin-left: .2rem;
        font-size: medium;
    }
    .contact {
        margin-top: 5rem;
        color: #a2cce3;
        width: 70%;
        margin-left: .2rem;
        font-size: medium;
    }
    .aboutus {
        margin-top: 5rem;
        color: #a2cce3;
        width: 100%;
        margin-left: .2rem;
         text-align:justify;
        font-size: medium;
    }
    p.about {
        font-size: medium;
        line-height: 24px;
        margin-bottom: 0;
        text-align: justify;
        margin-right: 5rem;
        font-family: "Roboto", sans-serif;
        color: #fff;
    }
    p.contact {
        font-size: medium;
        line-height: 24px;
        margin-top: 0;
        font-family: "Roboto", sans-serif;
        color: #fff;
    }
    .footercontainer {
        text-align: center;
        padding-top: 30px;
        font-size: 12px;
        font-weight: bold;
        color: #a2cce3;
    }
}

@media only screen and (min-width: 992px) and (max-height: 1500px){
    html {
        font-size: 55%;
    }
    header {
        padding: 2rem;
    }
    .top-right {
        width: fit-content;
        display: block;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .section {
        /* padding: 2rem; */
    }
    .heading {
        font-size: small;
        background-image: linear-gradient(to top, rgba(0, 194, 255, 0.28), rgba(121, 159, 255, 0.17));
    }
    .container .row .tool .speciality .questionrow .cardmb-4 .card-body {
        margin-top: 2rem;
        font-size: large;
        font-weight: normal;
    }
    .categories {
        margin-right: 1px;
    }
    .row {
        flex: 1 1 15rem;
        display: flex;
        /* background-color: #f5f8f9; */
        flex-direction: row;
        flex-wrap: wrap;
        flex-wrap: nowrap;
        margin-top: 8.5rem;
        /* border-top: black 1px solid; */
    }
    .list .col-sm-6 {
        width: 100%;
        font-size: medium;
    }
    .card.mb-4 {
        margin-top: 15px;
        width: 100%;
    }
    .col {
        min-width: 40rem;
        padding-right: 0px;
        margin-left: 2rem;
    }
    .card-body {
        flex: 1 1 auto;
        /* padding: 1rem 1rem; */
        /* margin-left: 1rem;  */
    }
    .adscol {
        padding-right: 2rem;
        margin-left: 2rem;
    }
    .ads {
        /*width: 100%;*/
        margin-left:1rem;
        margin-top:2rem;
        /*display: none;*/
    }
    .cardmb-4 {
        margin-bottom: 3rem;
        /* border: black 1px solid; */
    }
    li.question {
        text-align: justify;
        font-size: medium;
        font-family: math;
    }
    .questionrow {
        /* border: 2px solid #eee; */
        text-transform: initial;
    }
    .tool {
         width: 120rem; 
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
    }
    .row-footet {
        color: white;
        margin-left: 3rem;
        display: flex;
        flex-wrap: wrap;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    .link {
        font-size: medium;
        margin-left: 0rem;
        color: #a2cce3;
        margin-top: 5rem;
        margin-left: 10rem;
        width: 70%;
    }
    .services {
        margin-top: 5rem;
        color: #a2cce3;
        margin-left: .2rem;
        font-size: medium;
    }
    .contact {
        margin-top: 5rem;
        color: #a2cce3;
        width: 70%;
        margin-left: .2rem;
        font-size: medium;
    }
    .aboutus {
        margin-top: 5rem;
        color: #a2cce3;
        width: 100%;
        margin-left: .2rem;
         text-align:justify;
        font-size: medium;
    }
    p.about {
        font-size: medium;
        line-height: 24px;
        margin-bottom: 0;
        text-align:justify;
        margin-right:15rem;
        font-family: "Roboto", sans-serif;
        color: #fff;
    }
    p.contact {
        font-size: medium;
        line-height: 24px;
        margin-top: 0;
        font-family: "Roboto", sans-serif;
        color: #fff;
    }
    .pageheading {
        font-weight: bold;
        font-size: medium;
        color: #0a58ca;
    }
    .h1 {
        /* margin-left: 3rem; */
    }
}

@media(max-width:990px) {
    .tool {
        width: 120rem;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
    }
}

@media(max-width:768px) {
    #menu-bar {
        display: initial;
    }
    header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #f7f7f7;
        border-top: .1rem solid rgba(0, 0, 0, .1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    header .navbar a {
        margin: 0.5rem;
        color:black;
        padding: 1rem;
        display: block;
        border: 0.2rem solid rgba(0, 0, 0, .1);
        border-left: 0.5rem solid var(--red);
        background: #fff;
    }
    .pageheading {
        font-weight: bold;
        font-size: small;
        color: #0a58ca;
    }
    .tool {
        width: 90rem;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
    }
}

@media(max-width:450px) {
    html {
        font-size: 50%;
    }
    .pageheading {
        font-weight: bold;
        font-size: small;
        color: #0a58ca;
    }
}

.Current {
    color: blue;
    font-size: large;
}


/* faq */

.collapsiblee {
    color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    border-bottom: 2px dashed #CEE1F8;
}

.activeeee,
.collapsiblee:hover {
    /*background: rgba(233, 30, 99, 0.1);*/
    padding-left: 10px;
    font-size: large;
    font-weight: bold;
}

.collapsiblee:after {
    content: '\002B';
    color: black;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.activeeee:after {
    content: "\2212";
    color: black;
}

.badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 14px;
    float: left;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    text-align: center;
    background: #E91E63;
    color: #fff;
    font-size: 12px;
    margin-right: 15px;
    display: inline-block;
    padding: 0.4em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    /*background-color: #f1f1f1;*/
}


/* chatbot  */
#chat-history p.user-message {
    background-color: #007bff;
    color: #fff;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: large;
    display: inline-block;
    margin: 10px;
    max-width: 80%;
}

#chat-history p.bot-message {
    background-color: #f1f0f0;
color: #333;
border-radius: 20px;
font-size: medium;
border-top: 3rem solid black;
/* border: 1px solid black; */
padding: 10px 20px;
text-align: justify;
display: inline-block;
margin: 10px;
margin-top: 2rem;
max-width: 80%;
}

#chat-history p.user-message.text-right {
background-color: #f1f0f0;
color: black;
border-radius: 20px;
padding: 10px 20px;
display: inline-block;
border-top: 3rem black solid;
margin: 10px;
max-width: 80%;
float: right;
}

#chat-history p.bot-message.text-left {
    background-color: #f1f0f0;
    color: #333;
    border-radius: 20px;
    padding: 10px 20px;
    display: inline-block;
    margin: 10px;
    max-width: 80%;
    float: left;
}
#chat-container {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
/* max-width: 600px; */
margin-bottom: 2rem;
/* margin: 0 auto; */
padding: 20px;
position: relative;
border: 2px solid #ccc;
border-radius: 5px;
padding: 10px;
}

#chat-form {
display: flex;
margin-top: 10px;
}

#chat-form input[type="text"] {
background-color: #f1f0f0;
border: none;
border-radius: 20px;
flex-grow: 1;
font-size: 16px;
padding: 10px 20px;
}

#chat-form button[type="submit"] {
background-color: #007bff;
border: none;
border-radius: 20px;
color: #fff;
cursor: pointer;
font-size: 16px;
margin-left: 10px;
padding: 10px 20px;
}

#chat-form button[type="submit"]:hover {
background-color: #0062cc;
}

.copy-button {
background-color: black;
border: none;
color: white;
padding: 3px 16px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
margin-left: 10px;
float: right;
margin-top: -3.7rem;
border-radius: 4px;
cursor: pointer;
}

.copy-button:hover {
background-color: #bbb;
color: #fff;
}

.copy-button:active {
background-color: #007bff;
color: #fff;
}
.typing-message .dots {
display: inline-block;
font-weight: bold;
font-size:large;
animation: typing 1s infinite;
}

@keyframes typing {
0% { opacity: 0; }
33% { opacity: 1; }
66% { opacity: 1; }
100% { opacity: 0; }
}

#chat-container {
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}

.bot-message.typing-message {
    position: relative;
}

.bot-message.typing-message .copy-button {
    position: absolute;
    top: 5px;
    right: 5px;
}

/* check */

.main-content {
    margin: 0;
    display: flex;
    position: absolute;
    /*width: 65%;*/
    pointer-events: auto;
    height: 100%;
}

.sidebar {
    height: 100%;
    max-height: calc(100% - 15px);
    width: 250px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background: #3445b4;
    overflow-x: hidden;
    color: #fff;
    padding-top: 30px;
    right: 0;
    background-image: linear-gradient(to top, rgba(0, 194, 255, 0.28), rgba(121, 159, 255, 0.17));
    -webkit-transform: translate3d(calc(-100%), 0, 0);
    -moz-transform: translate3d(calc(-100%), 0, 0);
    transform: translate3d(calc(-100%), 0, 0);
}

.sidebar.sidebar-show {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.sidebar a {
    /* padding: 4px px 8px 32px; */
    text-decoration: none;
    font-size: small;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    background-color: #444;
}

#main {
    /* padding: 16px; */
}

#main.main-show {
    -webkit-transform: translate3d(250px, 0, 0);
    -moz-transform: translate3d(250px, 0, 0);
    transform: translate3d(250px, 0, 0);
}

.main-content .sidebar ul {
    margin: 0;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 200ms ease-out;
}

.main-content .sidebar ul.ul-show {
    transition: max-height 200ms ease-in;
    max-height: 400px;
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */

@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }
    .sidebar a {
        font-size: small;
    }
}

.main-content {
    display: none;
}

@media(max-width:991px) {
    .main-content {
        display: flex;
    }
    .categories {
        /* display: none; */
    }
    .headtag {
        margin-left: 5rem;
    }
    a.next_topic {
        margin-left: -150px;
        padding: 8px 5px;
    }
    .do-you-know {
        text-align: center;
        margin-top: -25px;
        width: auto !important;
        margin-right: 20rem;
        background-color: #2fb720;
    }
    .copy-button {
        background-color: black;
        border: none;
        color: white;
        padding: 3px 16px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
        margin-left: 10px;
        float: right;
        margin-top: -4.3rem;
        border-radius: 4px;
        cursor: pointer;
    }
}

.categorieslist-iconn:before {
    content: "\2022";
    color: #3490dc;
    margin-right: 5px;
    font-size: 25px;
    line-height: 35px;
    margin-left: 12px;
    padding-top: 0.5rem !important;
    /* border-bottom: solid 1px #eee !important; */
}

.card-header {
    margin-top: -10px;
    background-color: white!important;
    color: black!important;
    text-align: left;
}

.col {
    min-width: 45vh;
    padding-right: 18rem;
}

.categorieslist-iconn {
    border-bottom: solid 1px #eee !important;
}

.card.mb-4 {
    padding: 10px !important;
    max-width: 40rem;
}

.cardmb-4 {
    padding: 10px !important;
    /* margin-top: 20px !important; */
}

.list .col-sm-6 {
    /* width: 100%; */
    margin-top: 10px!important;
    /* font-size: medium; */
}

.collapsible {
    background: #3445b4;
    color: white;
    cursor: pointer;
    padding-left: 3rem;
    padding-right: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100%;
    border: none;
    text-align: left;
    /* border-bottom: 2px solid; */
    outline: none;
    font-size: 15px;
}

.active,
.collapsible:hover {
    background: #3445b4;
}

.collapsible:after {
    content: '\002B';
    color: white;
    /* color: black; */
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.activee:after {
    content: "\2212";
}

.contentbox {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: transparent;
}

.contentboxlist {
    color: black;
    /* border-bottom: solid 1px #c9bebe; */
    padding: 2px 2px;
    font-size: large;
    font-family: 'Glyphicons Halflings';
}

.categorieslist-iconn:before {
    content: "\2022";
    color: #3490dc;
    margin-right: 5px;
    font-size: 25px;
    line-height: 35px;
    margin-left: 12px;
    padding-top: 0.5rem !important;
    /* border-bottom: solid 1px #eee !important; */
}

.categorieslist-iconn {
    padding-left: 1rem !important;
    border-bottom: solid 1px #eee !important;
}