html,
body {
    height: 100%;
    width: 100%;
    font-family: "Roboto", sans-serif;
    color: #222;
    overflow-x: hidden;
}


/* scroll bar adjusted */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.ds-light-text {
    font-weight: 100;
    color: rgb(183 179 179);
    font-size: 0.9rem;
}

.ds-cat-text a {
    color: #000;
}

.ds-cat-text a:hover {
    color: rgb(142 142 142);
    text-decoration: none;
}

.ds-team-block {
    display: table;
    width: 100%;
}

.ds-team-block img {
    height: 100%;
    max-height: 220px;
    width: 100%;
    max-width: 320px;
    object-fit: contain;
}

.ds-team-block .card {
    height: 100%;
    max-height: 450px;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
}


/* profilepic */

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

#img-upload {
    width: 100%;
}


/*Profile Pic Start*/

.ds-profile-pre .picture-container {
    position: relative;
    cursor: pointer;
    text-align: center;
}

.ds-profile-pre .picture {
    width: 140px;
    height: 140px;
    position: relative;
    background-color: #ececec;
    border: 4px solid #e8e8e8;
    color: #ffffff;
    border-radius: 50%;
    margin: 0px auto;
    overflow: hidden;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.ds-profile-pre .picture:hover {
    border-color: #2ca8ff;
}

.ds-profile-pre .content.ct-wizard-green .picture:hover {
    border-color: #05ae0e;
}

.ds-profile-pre .content.ct-wizard-blue .picture:hover {
    border-color: #3472f7;
}

.ds-profile-pre .content.ct-wizard-orange .picture:hover {
    border-color: #ff9500;
}

.ds-profile-pre .content.ct-wizard-red .picture:hover {
    border-color: #ff3b30;
}

.ds-profile-pre .picture input[type="file"] {
    cursor: pointer;
    display: block;
    height: 200px;
    left: 0;
    opacity: 0 !important;
    position: absolute;
    top: 0;
    width: 200px;
    background-color: #fff;
    border-radius: 50%;
}

.ds-profile-pre .picture-src {
    width: 100%;
    height: 100%;
}

.ds-profile-pre .picture-container .edit-tab {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 1;
    color: #0080ff;
    top: 0;
    opacity: 0.4;
    border-radius: 50%;
    border: solid 1px #3e3e3e;
    padding: 5px;
    margin-left: 25px;
}

.container-fluid {
    max-width: 1360px;
}

.ds-navbar {
    background-color: #f4f4ff !important;
}

.ds-navbar .btn {
    line-height: 1;
}

.ds-navbar .navbar-brand img {
    height: 160px;
    top: -50%;
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 1px 2px 1px 2px rgb(201, 201, 201);
}

.ds-navbar li a {
    color: var(--black);
    font-family: "Roboto", Helvetica, Arial, serif;
    font-size: 20px;
}

.ds-navbar li a.btn {
    background-color: #2f35a2;
}

.ds-navbar li.ds-nav-btn a {
    background-color: #2f35a2;
    color: #fff !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    white-space: nowrap;
    font-size: 12px;
}

.ds-navbar li a.btn:hover {
    background-color: #2f35a2;
    padding-left: 25px !important;
    padding-right: 25px !important;
    transition: 0.8;
    color: #fff !important;
}

.ds-navbar li.active a.ds-nav-btn {
    background-color: #2f35a2;
    padding-left: 25px !important;
    padding-right: 25px !important;
    transition: 0.8;
    color: #fff !important;
    white-space: nowrap;
}

.navbar {
    padding: 0;
}

.navbar-nav li {
    padding-left: 20px;
}

.carousel-inner img {
    width: 100%;
    max-height: 590px;
}

footer {
    color: #fff;
    background-color: #1768ac;
}

footer hr.dhline {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgb(152 35 35);
}

footer .ds-footer-contact-info img {
    max-width: 200px;
    height: 200px;
    border-radius: 50%;
}

footer table {
    min-width: 430px;
}


/* footer table.table-responsive{
  display:inline-table;
  
} */

.kdtz-footer {
    min-height: 100px;
    background-color: #f2f2f2;
}

.kdtz-footer a {
    color: rgb(0, 0, 0);
    font-weight: 700;
    line-height: 100px;
}

.ds-social {
    /* margin: auto; */
    background-color: #2f35a2;
    background-image: linear-gradient(#6b72fd, #2f35a2);
    text-align: right;
}


/* social media */

.ds-social span a {
    height: 2.1875rem;
    width: 2.1875rem;
    box-sizing: border-box;
    text-decoration: none;
}

.ds-social span i.fab {
    border-radius: 10%;
    height: 2.1875rem;
    width: 2.1875rem;
}

.ds-social span i:hover.fab {
    color: #fff;
    line-height: 35px;
    margin: auto;
    text-align: center;
}

.ds-social span a {
    font-size: 35px;
    color: #fff;
}


/* bills upload */

.ds-bills-upload {
    max-width: 500px;
}

.ds-bills-upload .file {
    visibility: hidden;
    position: absolute;
}

.ds-bills-upload img {
    width: 100%;
    height: 100%;
}


/* contact us */

.contact {
    padding: 4%;
}

.contact-info {
    margin-top: 10%;
}

.contact-info img {
    border-radius: 50%;
    margin-bottom: 15%;
    width: 100%;
}

.contact-info h2 {
    margin-bottom: 10%;
}

.contact-form label {
    font-weight: 600;
}

.contact-form button {
    background-color: #026579;
    border-color: #026579;
    color: #fff;
    font-weight: 600;
    width: 25%;
}

.contact-form button:hover {
    color: #fff;
    background: #06bee1;
    border-color: #06bee1;
}

.contact-form button:focus {
    box-shadow: none;
}


/* image gallery */

.ds-image-gallery .nav-tabs a.nav-link:hover {
    border-bottom: #fff solid 1px;
}

.ds-image-gallery nav ul li a {
    max-width: 250px;
    color: #c1c1c1;
    text-align: center;
    margin: auto;
    padding: 1.1em !important;
}

.ds-image-gallery nav ul li a p {
    padding: 5px 5px !important;
}

.ds-image-gallery nav ul li a.active h5 {
    border-bottom: rgb(247, 32, 32) solid 2px;
}

.ds-image-gallery a>img {
    width: 100%;
}

:root {
    /* Not my favorite that line-height has to be united, but needed */
    --lh: 1.4rem;
}

.truncate-overflow {
    --max-lines: 6;
    position: relative;
    max-height: calc(var(--lh) * var(--max-lines));
    overflow: hidden;
    padding-right: 1rem;
    /* space for ellipsis */
}

.truncate-overflow::before {
    position: absolute;
    content: "...";
    /* tempting... but shows when lines == content */
    /* top: calc(var(--lh) * (var(--max-lines) - 1)); */
    /*
    inset-block-end: 0;
    inset-inline-end: 0;
    */
    bottom: 0;
    right: 0;
}

.truncate-overflow::after {
    content: "";
    position: absolute;
    /*
    inset-inline-end: 0;
    */
    right: 0;
    /* missing bottom on purpose*/
    width: 1rem;
    height: 1rem;
    background: white;
}

.ds-navbar li a {
    text-align: center;
}


/* #homenews section */

.ds-home-news1 {
    background-color: #efefef;
    min-height: 200px;
}


/* adjusting news height */

.ds-home-news {
    position: relative;
    overflow: auto;
    max-height: 590px;
}


/* news list design */

.ds-news-list img {
    max-width: 162px;
}


/* ads */

.ds-adsection img {
    width: 100%;
    max-height: 200px;
}

.ds-adsection .carousel-item-next.carousel-item-left,
.ds-adsection .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.ds-adsection .carousel-item-next,
.ds-adsection .active.carousel-item-right {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.ds-adsection .carousel-item-prev,
.ds-adsection .active.carousel-item-left {
    -webkit-transform: translate3d(0, +100%, 0);
    transform: translate3d(0, +100, 0);
}


/* ds nav profile pic  */

.ds-nav-pic {
    width: 27px;
    border: 50%;
    border: 1px solid;
    padding: 1px;
}


/* team message limitation */

.ds-team-text {
    text-align: center;
}

footer .ds-fb-redirect img.ds-profile {
    max-width: 50px;
    background-color: rgb(145, 145, 145);
    border-radius: 50%;
}

footer .ds-fb-redirect .ds-fb-content {
    background-color: #fff;
    min-height: 100px;
    max-height: 300px;
    overflow: hidden;
}

footer .ds-fb-content p {
    color: #000;
    text-align: left;
}

footer .ds-footer-fb-overflow {
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 400px;
    max-height: 400px;
    margin: auto;
}

footer table {
    color: #fff !important;
}


/* about us page */

.ds-about-main img {
    max-height: 600px;
    width: 100%;
}

.ds-about-img {
    width: 100%;
    max-width: 700px;
}

article.ds-about-post {
    max-height: 600px;
    margin: auto;
}

.ds-about-side-img img {
    max-width: 325px;
    max-height: 280px;
}

.ds-side-img2 img {
    width: 100%;
    max-height: 280px;
}

.ds-register {
    background-color: #efefef;
    margin-top: -4%;
    padding-top: 3%;
    margin-bottom: -4%;
    padding-bottom: 3%;
}

.ds-edit-profile .form-control,
.ds-edit-profile .custom-file-label,
.ds-register .form-control,
.ds-register .custom-file-label {
    height: 40px;
    box-shadow: none;
    color: #000;
    border: 2px solid #000;
    border-radius: 0;
}

.ds-edit-profile .form-control:focus,
.ds-register .form-control:focus {
    border-color: #2f35a2;
}

.ds-edit-profile .signup-form,
.ds-register .signup-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    font-size: 15px;
}

.ds-edit-profile .signup-form h2,
.ds-register .signup-form h2 {
    color: #000000;
    margin: 0 0 15px;
    position: relative;
    text-align: center;
}

.ds-edit-profile .signup-form h2:before,
.ds-register .signup-form h2:before {
    left: 0;
}

.ds-register .signup-form h2:after,
.ds-edit-profile .signup-form h2:after {
    right: 0;
}

.ds-register .signup-form .hint-text,
.ds-edit-profile .signup-form .hint-text {
    color: #000;
    margin-bottom: 30px;
    text-align: left;
}

.ds-register .signup-form .hint-text a,
.ds-edit-profile .signup-form .hint-text a {
    color: rgba(6, 190, 225, 1);
}

.ds-register .signup-form form {
    color: #000;
    border-radius: 5%;
    margin-bottom: 30px;
    background: #fff;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.ds-edit-profile .signup-form form {
    color: #000;
    border-radius: 0;
    margin-bottom: 15px;
    background: #fff;
}

.ds-register .signup-form .form-group,
.ds-edit-profile .signup-form .form-group {
    margin-bottom: 20px;
}

.ds-register .signup-form input[type="checkbox"] {
    margin-top: 3px;
}

.ds-register .signup-form .btn,
.ds-edit-profile .signup-form .btn {
    font-size: 16px;
    font-weight: bold;
    min-width: 100px;
    outline: none !important;
}

.ds-register .signup-form .row div:first-child {
    padding-right: 10px;
}

.ds-register .signup-form .row div:last-child {
    padding-left: 10px;
}

.ds-register .signup-form a {
    color: #fff;
    text-decoration: underline;
}

.ds-register .signup-form a:hover {
    text-decoration: none;
}

.ds-register .signup-form form a {
    color: #2f35a2;
    text-decoration: none;
}

.ds-register .signup-form form a:hover {
    text-decoration: underline;
}

.ds-register .signup-form .btn,
.ds-edit-profile .signup-form .btn {
    background-color: rgba(6, 190, 225, 1);
    border-color: rgba(6, 190, 225, 1);
    border-radius: 0;
}

.ds-edit-profile textarea.form-control {
    height: 100%;
}

.ds-register .signup-form .btn:hover,
.ds-edit-profile .signup-form .btn:hover {
    background-color: #026579;
    border-color: #026579;
    border-radius: 0;
}

.ds-register .custom-chk-input:hover input~.checkmark {
    background-color: #ccc;
}


/* modal preview */

.ds-modal-preview .card-body {
    max-width: 400px;
    margin: auto;
}

.ds-modal-preview {
    max-width: 500px;
    height: 100%;
}


/* match height pure css */

.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.row.display-flex>[class*="col-"] {
    flex-grow: 1;
}

.row.display-flex .card {
    height: 100%;
}

.modal-open {
    overflow: scroll;
}


/* LESS THAN 75 */

@media (max-width: 74.9em) {
    .ds-navbar .navbar-brand img {
        height: 200px;
        top: -50%;
        position: absolute;
        background-color: #fff;
        border-radius: 50%;
    }
    .ds-home-news {
        max-height: 440px;
    }
    article.ds-about-post {
        max-height: 100%;
        margin: auto;
    }
    .ds-about-side-img img {
        max-width: 190px;
    }
    .ds-register {
        background-color: #efefef;
        margin-top: -6%;
        padding-top: 4%;
        margin-bottom: -5%;
        padding-bottom: 3%;
    }
}


/* LESS THAN 62 */

@media (max-width: 61.9em) {
    .ds-modal-preview {
        margin: auto;
    }
    .ds-navbar .navbar-brand img {
        height: 90px;
        /* top: 0%; */
        position: relative;
        background-color: #fff;
        border-radius: 50%;
    }
    /* social media */
    .ds-social span a {
        height: 2rem;
        width: 2rem;
        box-sizing: border-box;
        text-decoration: none;
    }
    .ds-social span i.fab {
        border-radius: 10%;
        height: 2rem;
        width: 2rem;
    }
    .ds-social span i:hover.fab {
        /* top: 8px; */
        line-height: 2rem;
    }
    .ds-news-list img {
        max-width: 170px;
    }
    .ds-home-news {
        max-height: 425px;
    }
    article.ds-about-post {
        max-height: 100%;
        margin: auto;
    }
    .ds-about-side-img img {
        max-width: 128px;
    }
    .ds-register {
        background-color: #efefef;
        margin-top: -8%;
        padding-top: 9%;
        margin-bottom: -8%;
        padding-bottom: 8%;
    }
    /* LESS THAN 48 */
    @media (max-width: 47.9em) {
        .ds-navbar .navbar-brand img {
            height: 50px;
            top: 0%;
            position: absolute;
            background-color: #fff;
            border-radius: 50%;
        }
        /* social media */
        .ds-social span a {
            height: 2rem;
            width: 2rem;
            box-sizing: border-box;
            text-decoration: none;
        }
        .ds-social span i.fab {
            border-radius: 10%;
            height: 2rem;
            width: 2rem;
        }
        .ds-social span i:hover.fab {
            /* top: 8px; */
            line-height: 2rem;
        }
        /* navbar button */
        .navbar-nav li {
            padding-right: 0px;
        }
        .navbar-nav li a.btn {
            margin-bottom: 5px;
            min-width: 200px;
        }
        .ds-news-list img {
            /* max-width: 200px; */
            max-width: 260px;
        }
        article.ds-about-post {
            max-height: 100%;
            margin: auto;
        }
        .ds-register .signup-form .row div:first-child {
            padding-right: 15px !important;
        }
        .ds-register .signup-form .row div:last-child {
            padding-left: 15px !important;
        }
        .ds-register {
            background-color: #efefef;
            margin-top: -8%;
            padding-top: 3%;
            margin-bottom: -10%;
            padding-bottom: 1%;
        }
        .ds-about-side-img img {
            max-width: 275px;
        }
        .kdtz-footer a {
            color: rgb(0, 0, 0);
            font-weight: 500;
            line-height: 100px;
        }
    }
    /* LESS THAN 34 */
    @media (max-width: 33.9em) {
        .ds-navbar .navbar-brand img {
            height: 50px;
            top: 0%;
            position: absolute;
            background-color: #fff;
            border-radius: 50%;
        }
        /* social media */
        .ds-social span a {
            height: 2rem;
            width: 25rem;
            box-sizing: border-box;
            text-decoration: none;
        }
        .ds-social span i.fab {
            border-radius: 10%;
            height: 2rem;
            width: 2rem;
        }
        .ds-social span i:hover.fab {
            /* top: 8px; */
            line-height: 2rem;
        }
        /* navbar button */
        .navbar-nav li {
            padding-right: 0px;
        }
        .navbar-nav li a.btn {
            margin-bottom: 5px;
        }
        /* news list design */
        .ds-news-list img {
            max-width: 250px;
        }
        article.ds-about-post {
            max-height: 100%;
            margin: auto;
        }
        .ds-about-side-img img {
            max-width: 100%;
            max-height: 280px;
        }
        .ds-about-side-img .float-right {
            float: none !important;
        }
        .ds-register {
            background-color: #efefef;
            margin-top: 0%;
            padding-top: 3%;
            margin-bottom: -15%;
            padding-bottom: 3%;
        }
        .ds-news-list p {
            max-width: 200px;
            margin: auto;
        }
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="number"] {
    -moz-appearance: textfield;
    /* Firefox */
}

.ds-digitalid {
    overflow: auto;
}

.ds-digitalid .card {
    width: 635px;
    height: 345px;
}

.ds-digitalid .myid-front .card {
    background: url(/storage/images/digitalcard/front-backgroundfron-bg-overlay.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ds-digitalid .myid-back .card {
    background: url(/storage/images/digitalcard/Back-Sideback-side.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.ds-digitalid .myid-back img {
    width: 120px;
    height: 120px;
}

.ds-digitalid .id-logo img {
    width: 100px;
    background: #fff;
    border-radius: 50%;
}

.ds-digitalid .np-text {
    color: #2B34D8 !important;
}

.ds-digitalid .valid-date {
    bottom: 0;
    position: absolute;
}

.ds-digitalid .profile-pic {
    width: 130px;
    height: 130px;
    display: inline-flex;
    margin: auto;
}

.ds-digitalid .profile-pic img {
    background-color: #3472f7;
    padding: 3px;
    border: 4px solid #f7f7f7;
    width: 130px;
    height: 130px;
    margin: auto;
}

.ds-digitalid .chairmansign {
    position: absolute;
    top: -60px;
    left: 0px;
    transform: rotate( -5deg);
}