body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    font-size: 13.5px !important;
}

.top-header {
    font-size: 13px;
    padding: 0.4rem 0rem;
}

.custom-select {
    width: 9rem;
    border-radius: 4px;
    padding: 0rem 1rem;
    font-size: 11.5px;
}

.media-dropdown {
    border: none !important;
    box-shadow: none !important;
}

.navbar-dark .navbar-toggler {
    background: #3E4095;
}

.active {
    color: #EC3237;
    border-bottom: 4px solid #EC3237;
    font-weight: bold;
}

.dropdown-item {
    font-size: 12px;
    font-weight: bold;
}

.nav-bg {
    background-color: #000088;
    color: #FFFFFF;
}

.custom-nav {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

/* homepage css */

.home-banner-bg {
    background-image: url("../images/home-banner-bg.png");
    background-size: cover;
    height: auto;
}

.banner-text {
    font-style: italic;
    font-weight: 100;
    text-align: justify;
    font-size: 14px;
    line-height: 29px;
}

.rounded-circle-img {
    border: 4px solid white;
    width: 70%;
}

.rounded {
    border-radius: 0.8rem !important;
}

.text-cm {
    color: #FFFFFF;
    font-size: 18px;
}

.cm-name-width {
    width: 92%;
}

.name-cm {
    background-color: #FFFFFF;
    color: #000000;
    box-shadow: 0px 7px 7px rgb(0 0 0 / 25%);
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 20px;
    font-weight: 700;
    max-width: 100%;
    min-width: 100%;
}

.enakku-vendam-text {
    font-size: 40px;
    color: #B91E80;
    -webkit-text-stroke: 1px #FFFFFF;
    margin-bottom: 0px;
}

.message-text {
    text-align: justify;
    font-size: 15px;
    line-height: 35px;
    font-weight: 100;
    font-style: italic;
    margin-bottom: 0rem;
    margin-top: 0rem;
}

.custom-carousel {
    border: none;
}

.custom-control {
    width: 4% !important;
}

.custom-control-icon {
    width: 1.3rem;
    height: 1.5rem;
}

.vendam-logo {
    padding: 0rem 0rem;
}

.vendam-text {
    padding: 10rem 0rem;
}

.vendam-text-1 {
    font-weight: 700;
}

.custom-text-row {
    background-color: #ffffff;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 3px;
}

.section-bg {
    background-color: #F9FAFA;
}

.ips-name {
    font-size: 13.5px;
    color: #23262B;
}

.ips-subname {
    font-size: 11px;
    color: #23262B;
}

.pledge-bg {
    background-image: url("../images/pledge-bg.png");
    background-size: cover;
    height: auto;
}

.custom-btn {
    background-color: #2AB930;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
}

.custom-btn:hover {
    color: #FFFFFF;
}

.pledge-text-1 {
    font-size: 20px;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.pledge-text-2 {
    font-size: 20px;
    color: #E8370D;
}

.pledge-text-3 {
    font-size: 25px;
    color: #20B42C;
}

.about-bg {
    background: #F7F7F7;
}

.ncb-heading {
    color: #000088;
    font-weight: bolder;
}

.abt-ncb-text {
    text-align: justify;
    font-size: 14px;
    line-height: 30px;
}

.news-heading {
    background: #000088;
    color: #FFFFFF;
    box-shadow: 0px 7px 7px rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    padding: .4rem .4rem;
    font-size: 20px;
    font-weight: 500;
}

.news-row-border {
    overflow: hidden;
    background-color: #fafafa;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 30%);
}

.do-bg {
    background-color: #E9F2FF;
    background-image: url("../images/do&dont-bg.png");
    background-size: 100% 100%;
    width: 100%;
    background-repeat: no-repeat;
}

.do-heading {
    color: #FFFFFF;
    font-weight: bolder;
    background-color: #2AB930;
    border-radius: 5px;
}

.dont-heading {
    color: #FFFFFF;
    font-weight: bolder;
    background-color: #DA100B;
    border-radius: 5px;
}

.do-img {
    width: 40%;
    padding: 0.8rem 0rem 0rem 0rem;
}

.do-text-padding {
    padding: 1.4rem 0rem;
}

.do-text {
    font-size: 14px;
    font-weight: 500;
    text-align: left !important;
}

.list-item-1 {
    border: 0;
    background-color: #E1F8E2;
}

.list-item-2 {
    border: 0;
    background-color: #F5E6E5;
}

.do-list-border {
    border: 1px solid #2AB930;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 25%);
    background-color: #E1F8E2;
    border-radius: 4px;
}

.dont-list-border {
    border: 1px solid #DA100B;
    box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 25%);
    background-color: #F5E6E5;
    border-radius: 4px;
}

.do-height-fix {
    min-height: 90%;
    max-height: 90%;
}

.off-img {
    width: 60%;
}

.profiles-bg {
    background-color: #F7F7F7;
}

.nav-list-1 {
    border: 0;
}

.nav-list-2 {
    padding: 1rem 0rem;
    border: 0;
    border-radius: 0px !important;
    border-bottom: 1.5px dashed #000000;
}

.form-bg {
    background-image: url("../images/dad-bg.png");
    background-size: cover;
}

.form-text {
    color: #000088;
}

.custom-form-field {
    border: 1.5px solid #0F56B3;
    box-sizing: border-box;
    border-radius: 7px;
    cursor: default;
}

.custom-label {
    color: #15143966;
}

.upload-border {
    border: 2px solid #0F56B3;
    border-radius: 15px;
    padding: 6.35rem 0rem;
}

.upload-text {
    color: #000088;
    font-weight: 500;
}

.custom-submit-button {
    font-size: 15px;
    font-weight: 500;
    padding: 0.5rem 3rem;
    background-color: #000088;
    border-radius: 25px;
    color: #FFFFFF;
}

.custom-reset-button {
    font-size: 15px;
    font-weight: 500;
    padding: 0.5rem 3.4rem;
    background-color: #DA100B;
    border-radius: 25px;
    color: #FFFFFF;
}

.custom-submit-button:hover {
    color: #FFFFFF;
}

.custom-reset-button:hover {
    color: #FFFFFF;
}

/* Mission,vision,Motto */

.zoom {
    transition: transform .2s;
    margin: 0 auto;
}

.zoom:hover {
    -ms-transform: scale(1.1);
    /* IE 9 */
    -webkit-transform: scale(1.1);
    /* Safari 3-8 */
    transform: scale(1.1);
}

.mission-text {
    font-size: 13px;
    color: #595252
}

.custom-card {
    max-height: 100%;
    min-height: 100%;
}

/* footer */
.footer-align {
    text-align: right;
}

.footer-bg {
    background-color: #212529;
}

.footer-list {
    background-color: transparent;
    border: 0;
}

.copyright-bg {
    background: #000000;
    font-size: 12px;
    padding: 0.4rem 0rem;
    color: #FFFFFF;
    text-align: center;
    font-style: italic;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

/* temporary padding */

.page-main-content {

    padding-top: 9%;
    padding-left: 0;
    padding-right: 0;
}

::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
}

/* typewriter */
#text {
    white-space: pre-wrap;
}


/* tnmap css */
.tnmap-bg {
    background-image: url("../images/map-bg.png");
    background-size: cover;
    height: auto;
}


@media screen and (max-width: 868px) {
    .page-main-content {
        padding-top: 15%;
    }
}

@media screen and (max-width: 767px) {
    .dont-heading {
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .tn_govt {
        display: none;
    }

    .padding-count {
        padding-bottom: 7%;
    }

    .ss-padding-top-5p {
        margin-top: 5px;
    }

    /* .media-logo {
        width: 40% !important;
    } */
    .media-margin-top {
        margin-top: 5%;
    }

    .media-cm-content {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .name-cm {
        font-size: 13px;
    }

    .banner-text {
        font-size: 10px;
        line-height: 20px;
    }

    .message-text {
        font-size: 13px;
        line-height: 27px;
    }

    .drop-zone {
        border-radius: 15px;
        padding: 6.35rem 0rem;
        height: 503px;
        padding: 8.5rem 2rem 3rem 2rem !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-weight: 500;
        font-size: 20px;
        cursor: pointer;
        color: #cccccc;
        border: 2px solid #0F56B3;
    }

}

@media only screen and (max-width: 940px) and (min-width: 768px) {
    .list-padding {
        padding-left: 1rem !important;
        padding-right: 0rem !important;
    }

    .rounded-circle-img {
        border: 4px solid white;
        width: 80%;
    }

    .banner-text {
        font-size: 12px;
        line-height: 20px;
    }

    .enaku-vendam-logo {
        width: 100%;
    }
}

@media only screen and (min-width: 769px) and (max-width: 993px) {
    .page-main-content {
        padding-top: 11%;
    }

    .name-cm {
        background-color: #FFFFFF;
        color: #000000;
        box-shadow: 0px 7px 7px rgb(0 0 0 / 25%);
        border-radius: 6px;
        padding: 1rem 1rem 1rem 1rem;
        font-size: 13px;
        font-weight: 700;
        max-width: 100%;
        min-width: 100%;
    }
}

@media only screen and (min-width: 280px) and (max-width: 313px) {
    .media-margin {
        margin-right: 0px !important;
    }

    .text-cm {
        color: #FFFFFF;
        /* font-size: 22px; */
        font-size: 12px;
    }

    .name-cm {
        background-color: #FFFFFF;
        color: #000000;
        box-shadow: 0px 7px 7px rgb(0 0 0 / 25%);
        border-radius: 6px;
        padding: 1rem 1rem 1rem 1rem;
        font-size: 13px;
        font-weight: 700;
        max-width: 100%;
        min-width: 100%;
    }
}



/* news and events */
.tab-link {
    border: none;
    color: #000088;
}

.news-link {
    font-weight: 500;
    color: #2EA3F2;
    text-decoration: none;
    text-align: left;
}

.news-text {
    text-align: left;
    margin-bottom: 1rem !important;
}

.news-bg {
    background-color: whitesmoke;
    border-radius: 10px;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}

.news-text-link {
    font-size: 15px;
    font-weight: 100;
    font-style: italic;
    color: #23262B;
    text-align: justify;
}

.nav-pills .nav-link.active {
    color: #fff;
    background-color: #000088;
}

.carousel-active {
    border: none;
}

.news-content {
    text-align: justify;
}

.custom-indicate {
    display: none !important;
}

.carousel-inner-radius {
    border-radius: 10px !important;
}

.hover-link {
    color: #0F56B3;
    font-family: 'Mochiy Pop P One', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 23px;
    text-transform: capitalize;
    display: inline-block;
    transition: all .3s ease-out;
}

.hover-link:hover,
.hover-link:focus {
    color: #20ca70;
    text-shadow: 4px 4px rgba(0, 0, 0, 0.1);
    animation: squeeze 1s linear;
}

@keyframes squeeze {
    0% {
        color: #20bf6b;
        transform: scale3d(1, 1, 1);
    }

    30% {
        color: #0fb9b1;
        transform: scale3d(1.25, 0.75, 1);
    }

    40% {
        color: #2d98da;
        transform: scale3d(0.75, 1.25, 1);
    }

    50% {
        color: #3867d6;
        transform: scale3d(1.15, 0.85, 1);
    }

    65% {
        color: #2d98da;
        transform: scale3d(0.95, 1.05, 1);
    }

    75% {
        color: #0fb9b1;
        transform: scale3d(1.05, 0.95, 1);
    }

    100% {
        color: #20bf6b;
        transform: scale3d(1, 1, 1);
    }
}

@media only screen and (max-width: 767px) {
    .hover-link {
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 1920px) {
    /* .media-news-padding {
        padding-top: 5px !important;
    } */

}

.custom-read {
    float: right;
    border-radius: 0.5rem;
    color: #000088;
    border: none;
}

#more {
    display: none;
}

.cls-news-and-events {
    /* overflow-y: scroll !important; */
    max-height: 200px !important;
    min-height: 200px !important;
}

.cls-news-and-events-inner-div {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 2px 2px #00000029;
}


/* History of NIBCID */

.custom-list {
    font-size: 18px;
    font-family: sans-serif;
    line-height: 1.8;
    text-align: justify;
}

.list-type {
    list-style-type: upper-roman;
}

.custom-list-tamil {
    font-size: 16px;
    font-family: auto;
    line-height: 2;
    text-align: justify;
}

/* social media icon  */
.icon-bar {
    position: fixed;
    top: 48%;
    left: 0;
    z-index: 111;
    display: inline-block;
}

.icon-bar-a {
    display: block;
    cursor: pointer;
    text-align: center;
    padding: 4px;
    color: black;
    font-size: 20px;
    background: #fff;
    box-shadow: rgb(60 64 67 / 30%) 0px 1px 2px 0px, rgb(60 64 67 / 15%) 0px 2px 6px 2px;
}

.icon-bar-a:hover {
    background-color: #000;
    color: #fff;
}

.icon-bar-b {
    display: block;
    cursor: pointer;
    text-align: center;
    padding: 10px;
    color: #FFFFFF;
    font-size: 20px;
    background: #011945;
    box-shadow: rgb(60 64 67 / 30%) 0px 1px 2px 0px, rgb(60 64 67 / 15%) 0px 2px 6px 2px;
}

.icon-bar-b:hover {
    background-color: #FFFFFF;
    color: #011945;
}

/* scroll to top function */
#myBtn {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 35px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: white;
    color: #000088;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    box-shadow: rgb(60 64 67 / 30%) 0px 1px 2px 0px, rgb(60 64 67 / 15%) 0px 2px 6px 2px;
}

.controlsize .boxctrl {
    display: inline-block;
}


/* hover title styles for #DAD */

[data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}

[data-title]:after {
    content: attr(data-title);
    color: #00006F;
    font-size: 20px;
    font-family: sans-serif;
    font-weight: bolder;
    position: absolute;
    padding: 1px 5px 2px 5px;
    bottom: -2.6rem;
    left: 12%;
    white-space: nowrap;
    box-shadow: 0px 1px 7px #222222;
    opacity: 0;
    z-index: 99999;
    visibility: hidden;
    background-color: #ffffff10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-title] {
    position: relative;
}

/* copy rights */
.site-link {
    text-decoration: none;
    color: #FFFFFF;
}

.site-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.spinner-border {
    display: block;
    position: fixed;
    z-index: 1031;
    /* High z-index so it is on top of the page */
    top: 50%;
    right: 50%;
    /* or: left: 50%; */
}

/* Media Query for logo */


@media only screen and (max-device-width: 320px) {
    .media-logo {
        width: 60% !important;
    }
    .nav-padding {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media screen and (min-device-width: 320px) and (max-device-width: 540px) {
    .media-logo {
        width: 46% !important;
    }
    .nav-padding {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media screen and (min-device-width: 540px) and (max-device-width: 767px) {
    .media-logo {
        width: 46% !important;
    }
    .nav-padding {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 992px) {
    .media-logo {
        width: 44% !important;
    }    
}

@media  screen and (min-device-width: 1335px) and (max-device-width: 1440px) {
    .media-logo {
        width: 26.5% !important;
    }
}