﻿body {
    overflow-x: hidden;
}

header h1 {
    font-size: 64px;
}

header .emblem img {
    margin-bottom: -10px;
}

header .eci-logo {
    height: 100px;
    width: 450px;
}

header .nic-logo {
    height: 60px;
    width: 400px;
}

.carousel-bg {
    background-image: url('../image/carousel-bg.png');
}

@media (max-width: 767px) {
    header h1 {
        font-size: 32px;
    }

    header img {
        width: 60px;
        height: 80px;
    }

    header .emblem img {
        height: 40px;
        width: 30px;
        margin-bottom: 0px;
    }

    header .nic-logo, .eci-logo {
        display: none;
    }
}

footer a {
    color: #fff;
    /* make all footer links white */
    text-decoration: none; /* remove underline */
}

footer a:hover {
    color: #ffc107; /* optional: change color on hover (e.g., Bootstrap warning) */
    text-decoration: underline; /* optional: underline on hover */
}
/* chatbot */
    .main-section {
    width: 300px;
    position: fixed;
    right: 50px;
    bottom: -350px;
}

.first-section:hover {
    cursor: pointer;
}

.open-more {
    bottom: 0px;
    transition: 2s;
}

.border-chat {
    border: 1px solid #008AE6;
    margin: 0px;
}

.first-section {
    background-color: #008AE6;
}

    .first-section p {
        color: #fff;
        margin: 0px;
        padding: 10px 0px;
    }

        .first-section p:hover {
            color: #fff;
            cursor: pointer;
        }

.right-first-section {
    text-align: right;
}

    .right-first-section i {
        color: #fff;
        font-size: 15px;
        padding: 12px 3px;
    }

        .right-first-section i:hover {
            color: #fff;
        }

.chat-section ul li {
    list-style: none;
    margin-top: 10px;
    position: relative;
}

.chat-section {
    height: 300px;
}

    .chat-section ul {
        padding: 0px;
        overflow-y: scroll;
        height: 300px;
    }

.left-chat img, .right-chat img {
    width: 50px;
    height: 50px;
    float: left;
    margin: 0px 10px;
}

.right-chat img {
    float: right;
}

.second-section {
    padding: 0px;
    margin: 0px;
    background-color: #F3F3F3;
    height: 300px;
}

.left-chat, .right-chat {
    overflow: hidden;
}

    .left-chat p, .right-chat p {
        background-color: #008AE6;
        padding: 10px;
        color: #fff;
        border-radius: 5px;
        float: left;
        width: 60%;
        margin-bottom: 20px;
    }

    .left-chat a {
        color: #fff;
    }

    .left-chat span, .right-chat span {
        position: absolute;
        left: 70px;
        top: 60px;
        color: #B7BCC5;
    }

    .right-chat span {
        left: 45px;
    }

    .right-chat p {
        float: right;
        background-color: #FFFFFF;
        color: #008AE6;
    }

.third-section {
    border-top: 1px solid #EEEEEE;
}

.text-bar input {
    width: 90%;
    margin-left: -15px;
    padding: 10px 10px;
    border: 1px solid #fff;
}

.text-bar a i {
    background-color: #008AE6;
    color: #fff;
    width: 30px;
    height: 30px;
    padding: 7px 0px;
    border-radius: 50%;
    text-align: center;
}

.left-chat:before {
    content: " ";
    position: absolute;
    top: 0px;
    left: 55px;
    bottom: 150px;
    border: 15px solid transparent;
    border-top-color: #008AE6;
}

.right-chat:before {
    content: " ";
    position: absolute;
    top: 0px;
    right: 55px;
    bottom: 150px;
    border: 15px solid transparent;
    border-top-color: #fff;
}
.main-section {
    z-index: 5;
}

/* Uniform card layout */
.card-uniform {
    display: flex;
    flex-direction: column;
}

    .card-uniform .card-img-wrapper {
        flex: 0 0 120px; /* fixed image height area */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-uniform .card-header {
        flex: 0 0 50px; /* uniform header height */
        font-size: 1.2rem;
        font-weight: bold;
    }

    .card-uniform .card-body {
        flex: 1; /* fill remaining space */
        overflow: hidden;
    }

    .card-uniform .card-footer {
        flex: 0 0 50px; /* uniform button/footer height */
       /* display: flex;*/
        align-items: center;
        justify-content: center;
        padding: 2px;
    }
.card-footer .btn {
    min-height: 40px; /* fixed height */
    line-height: 40px; /* vertical centering */
    white-space: normal; /* allow wrapping if text is long */
}

.btn small {
    /*font-size: 0.8em;*/  
    /*line-height: 1.1;*/  
    /*margin-top: -1px;*/
    color: gold;
}

/* container for the two buttons */
