body,
html {
    height: 100%
}

p {
    line-height: 32px;
}

.navbar-dark .navbar-nav a {
    color: #000
}



.header-top {
    height: 45px;
    width: 100%;
    z-index: 9999;
}


.news-list {
    height: 100px;
    overflow: hidden;
}

.news-section .news-content {
    height: 210px;
    overflow: hidden;
}

.news-section a.news-link {
    padding-top: 10px;
    display: block;
}

.custom-btn-width {
    width: 250px !important;
}

.custom-m {
    margin-top: 0 !important
}

.custom-m>div {
    margin-top: 15px !important
}

.sticky-top.navbar {
    margin-top: 0
}

a {
    color: var(--secondary)
}


.footer-bottom {
    background: #0d2d00
}

.carousel-item img {
    min-height: 100%;
    display: block;
}

.bg-header h1 {
    margin-bottom: 0
}

.carousel-inner {
    position: relative;
    top: 0;
    bottom: 0;

}

.btn-square {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
}


.testimonial-item small {
    color: #3173ad;
    font-weight: 700;
    font-size: 1.1em;
}



.carousel-control-prev,
.carousel-control-next {
    top: 10vh;
}


.carousel {
    height: 100%;
}


.service-item a.btn {
    opacity: 1
}

.team-img {
    padding: 30px;
}

.team-item p {
    margin-top: 10px;
}

.team-item h6 {
    margin: 0px 0 10px 0;
}

.blog-img {
    text-align: center
}


.blog-img .img-fluid.detail {
    height: auto !important;
    margin-bottom: 15px !important
}

.sidebar-box {
    padding-top: 15px;
    width: 100%
}

.form-control {
    height: 55px;
    width: 100% !important;

}

.wpcf7-form label {
    width: 100% !important;
    margin-top: 10px;
}

.wpcf7-form-control-wrap {
    position: relative
}

.wpcf7-not-valid-tip {
    position: absolute;
    top: 15px;
    left: 10px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;

}

.wpcf7-form p {
    margin-bottom: 0
}

.wpcf7-form .btn {
    margin-top: 10px;
}

.navbar-nav.ms-auto a[aria-current="page"] {
    color: var(--secondary);
}

.navbar-nav.ms-auto a[aria-current="page"]::before {
    background: var(--secondary) !important;
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    bottom: -1px;
    left: 0;
    transition: .5s;
}

.mobile-view {
    display: none;

}

.navbar-dark {
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6) !important;
    height: 105px;
    z-index: 99;
    position: relative;
}


.logo-name {
    font-size: 1.7em;
    font-weight: bold;
    color: var(--primary);
    width: 350px;
    line-height: 1.3em;
    margin-top: 8px;
}

.bg-dark {
    background: var(--primary) !important
}

.mobile-logo {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.bg-secondary {
    background: #d5212d !important
}

.bg-dark .section-title::before {
    background: #fff
}

.bg-dark .section-title::after {
    background: var(--secondary)
}

.news-section .blog-img {
    height: 250px !important;
    overflow: hidden;
}

.news-section .blog-img img {
    min-width: 100%;
    min-height: 100%
}

/* next gen gallery */

.gallery .ngg-gallery-thumbnail a {
    overflow: hidden;
    width: 400px !important;
    height: 320px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sl-overlay {
    background: #000 !important;
    opacity: .9 !important
}

.gallery p {
    text-align: center;
    font-size: 20px;
}

.sl-wrapper .sl-navigation button {
    color: #fff !important;
}

.sl-wrapper .sl-navigation button.sl-next,
.sl-wrapper .sl-navigation button.sl-prev {
    font-size: 8rem !important;
}

.gallery-images.ngg-galleryoverview.default-view {
    display: none !important
}

.hide-images {
    display: none !important
}

.gallery-images.show-images.ngg-galleryoverview.default-view {
    display: block !important
}

.gallery-images .ngg-gallery-thumbnail a {
    width: 200px;
    height: 180px;
}

.grey-bg {
    background: #f6f6f6
}

.footer-about {
    background: #0d2d00;
    margin-bottom: 0 !important;
}

.footer-bottom .d-flex {
    height: 60px;
}

.footer-about img {
    height: 140px;
    width: 140px;
}

.ngg-gallery-thumbnail a {
    width: 165px;
    height: 150px;
    overflow: hidden;
}


.old-committee .ngg-gallery-thumbnail a {
    width: 400px;
    height: 598px;
    margin: 8px !important;
    border: 1px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important
}

.btn {
    color: #fff;
    background: #1b5e00;
    border: 1px solid #1b5e00 !important
}

.btn:hover {
    background: transparent;
    color: var(--primary)
}

.df-popup-thumb {
    width: 85% !important;
}

.df-book-cover {
    width: 100%;
    height: auto;
    max-height: 345px;

}

.df-book-cover img {
    min-width: 100%;
    min-height: 100%;

}

.wp-block-heading {
    color: #fff !important;
    font-size: 1.5rem !important;
    margin-bottom: 25px;
    margin-top: 35px;
}

.unit-list-section {
    width: 100%;

}

.unit-list-section img {
    width: 100%
}

.sl-wrapper .sl-close {
    color: #fff !important;
    margin-top: -5px !important;
    margin-right: -5px !important;
    font-size: 7rem
}

.unit-list p {
    font-weight: 800;
}

.sticky-top.navbar-dark .navbar-nav a {
    color: #000
}

.navbar-dark .navbar-nav a.active {
    color: var(--secondary) !important;
    background-color: #fff;
}

.navbar-dark .navbar-nav a.active::before {
    background: var(--secondary)
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: transparent !important
}


.nav-item.dropdown .dropdown-menu {
    min-width: 280px;

}

.btn-primary:hover {
    background: transparent;
    color: var(--primary)
}

.btn-primary.white-btn:hover {
    background: var(--primary);
    color: #fff !important;

}


.navbar-dark .navbar-nav .nav-item .dropdown-menu a {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-top: 12px;
    font-weight: normal;
}

.navbar-dark .navbar-nav .nav-item .dropdown-menu a:first-child {
    margin-top: 0
}

.hotel-thumb {
    width: 100%;

}

.hotel-thumb a {
    width: 100%;
    height: 100%;
    display: block
}

.hotel-thumb-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hotel-thumb-image img {
    min-width: 100%;
    min-height: 100%;
    width: 100%
}

.hotel-thumb-inner .hotel-thumb-image {
    display: none
}

.hotel-thumb-inner a {
    height: 110px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 12px 0;
    border-radius: 5px;
}

.hotel-thumb-inner a:hover {
    background: var(--primary);
}

.hotel-thumb-inner a:hover h5,
.hotel-thumb-inner a:hover h6 {
    color: #fff !important;
}



.hotel-thumb h5,
.hotel-thumb h6 {
    color: #fff;

}

.white-btn {
    background: #fff;
    color: var(--secondary) !important
}

.bg-custom {
    background: #E2636C;

}

.footer-menu ul li a,
.footer-menu ul li a i {
    color: #fff !important
}

.footer-menu ul li {
    list-style: none;
    margin: 2px 0
}

.footer-menu ul {
    margin: 0;
    padding: 0
}

.carousel-caption {
    background: none
}

.hotel-thumb-inner h5 {
    color: var(--primary) !important
}

.hotel-thumb-inner h6 {
    color: #6B6A75 !important
}

.back-to-top {
    display: none !important
}


.committee-img {
    height: 290px;
    margin-bottom: 20px;
    padding: 30px 30px 0 30px !important;
}

.committee-img img {
    min-height: 100%
}

.event-list h3.em-item-title a {
    font-size: 1.5rem !important;
    color: var(--primary) !important;
    font-weight: 700;
    letter-spacing: normal !important;

}

.event-list .em.pixelbones .input a.button.em-item-read-more {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important
}


.em.em-list .em-item .em-item-info .em-item-desc {
    color: #6B6A75
}

.event-image {
    width: 300px;
    height: auto;
    overflow: hidden;

}

.event-image img {
    width: 100%
}

.em.em-list .em-item .em-item-info {
    border-left: 2px solid #f0f0f0 !important
}

.ngg-gallery-names.link-animated a {
    font-size: 1rem !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.ngg-gallery-names.link-animated a span {
    font-weight: 400 !important;
    font-size: 0.8rem !important
}

.error-404 {
    margin-top: 145px;
}

.hotel-thumb p {
    color: #fff;
    font-weight: 800;
}


.committee-table {
    border-bottom: 1px solid #565656;
    border-left: 1px solid #565656;
    border-right: 1px solid #565656;
    display: table;
    width: 100%;
}

.grid-row {

    display: table-row;
}

.grid {
    padding: 15px;
    text-align: center;
    font-weight: 700;
    display: table-cell;
    border-top: 1px solid #565656;
    border-left: 1px solid #565656;

}

.grid-row .grid:first-child {
    border-left: none;
}

.grid-row .grid.second img {
    width: 100px;
    height: auto
}

.member-logo img {
    width: 100%
}

.sidebar-box.news-list a {
    overflow: hidden;
    display: block;
    height: 35px;
}

.contact .bg-primary {
    background-color: var(--primary) !important
}

.contact .text-primary {
    color: var(--primary) !important;
}

.bg-light {
    background-color: #ecf1eb !important
}

input.submit {
    background-color: var(--primary) !important;
    color: #fff
}

.event-description .em-item-image img {
    width: 100%
}


.event-description .em-item-image {
    margin-bottom: 25px;
}

.event-description h3,
.event-description h2 {
    font-size: 1.2rem;
    margin-top: 25px;
}

.btn-square.btn-primary:hover {
    border-color: #fff;
    background: transparent
}

.header .grid {
    font-weight: 800;
    color: #000;
}

.header .grid {
    border-bottom: 0
}

.old-committee .committee-table {
    margin-bottom: 25px;
}

.committee-title {
    margin-bottom: 25px;
}


/* .ngg-galleryoverview {
    margin-bottom: 0 !important
} */

@media (max-width: 1500px) {
    .logo-name {
        width: 250px;
        font-size: 1.2em
    }

    .navbar-dark .navbar-nav a {
        font-size: 16px;
    }

}

@media (max-width: 1360px) {

    .navbar-dark .navbar-nav a {
        font-size: 14px;
        margin-left: 8px;
    }

    .navbar-brand {
        margin-right: 5px;
    }

    .header-top {
        position: relative;
    }

    .navbar {
        margin-top: 0
    }


    .custom-logo img {
        height: 65px
    }

    .hotel-thumb-inner a {
        height: 145px;
    }

    .logo-name {
        width: 150px;
        font-size: 1em;
    }

}


@media (max-width: 991px) {
    .navbar-dark {
        height: auto;
    }

    .carousel-inner {
        position: relative;
        top: auto;
        bottom: auto;
    }

    .position-relative.banner {
        height: auto !important;
    }

    .carousel-item img {
        min-height: auto;


    }

    .oval-shape {
        height: 80px;
        margin-top: -40px;
        z-index: 9999;
        position: relative;
    }

    .oval-shape h1 {
        font-size: 2em !important
    }

    .carousel-caption {
        z-index: 0;
    }

    .carousel.carousel.pointer-event {
        height: auto;
    }

    .desktop-view {
        display: none
    }

    .mobile-view {
        display: block;
        z-index: 9999999999;
        position: relative;
    }

    .py-lg-0.mobile-logo {
        padding-left: 0.75em !important;
        padding-right: 0.75em !important;
    }

    .service-item {
        height: auto
    }

    .py-5 {
        padding-bottom: 0 !important
    }

    .bg-custom {
        margin-top: 3rem;
        padding-bottom: 3rem !important;
    }



    .grey-bg {
        margin-top: 0 !important;
        padding-bottom: 3rem !important;
        padding-top: 35px !important
    }

    .footer-about img {
        max-width: 100%;
        height: auto;
    }

    .navbar-dark .navbar-nav .nav-item .dropdown-menu {
        display: block !important;
        margin-left: 30px;
        border: none
    }

    .logo-name {
        font-size: 1.2rem;
        width: 300px;
    }

    .cpt-0 {
        margin-top: -3rem !important
    }

    .carousel-item {
        margin-top: 0
    }

    .navbar-collapse {
        background: #fff;
        border-top: 1px solid #aaaaaa;
        margin-top: 15px;
        height: 80vh;
        overflow-y: auto;
    }

    .bg-header {
        padding-top: 0
    }

    .error-404 {
        margin-top: 25px;
    }

    .home-event {
        margin-bottom: 20px;
        padding-top: 20px !important
    }

    .hotel-thumb-inner a {
        height: 105px;
    }

    .member-logo {
        width: 350px;
        margin: 0 auto
    }

    .grid {
        display: flex;
        border-left: none;
        position: relative
    }

    .grid-row .grid:first-child {
        display: none
    }

    .committee-table {
        border-left: none;
        border-right: none;
        border-bottom: none;

    }

    .grid-row {
        display: block;
        margin-bottom: 10px;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        border-bottom: 1px solid #000;
    }



    .header {
        display: none
    }

    .seventh:before,
    .third:before,
    .fourth:before,
    .fifth:before,
    .sixth:before {
        content: 'नामः';
        display: block;
        position: relative;
        left: 0;
        font-size: 14px;
        color: #6B6A75;
        margin-right: 5px;
        font-weight: 800;

    }

    .third:before {
        content: 'पदः'
    }

    .fourth:before {
        content: 'सम्पर्क नं.:'
    }

    .fifth:before {
        content: 'ईमेल:'
    }

    .sixth:before {
        content: 'व्यवसाय:'
    }


    .gallery-sidebar {
        margin-top: 0 !important
    }

}



@media (max-width: 480px) {

    .navbar-collapse {
        margin-top: 11px;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
        padding: 0 15px;

    }

    .navbar-dark .navbar-nav .nav-item .dropdown-menu {
        padding: 10px !important;
    }



    .oval-shape {
        height: 40px;
        width: auto;
        margin-top: 0px
    }

    .oval-shape h1 {
        font-size: 1.3em !important
    }

    .py-5 {
        padding-top: 1.2em !important;
        padding-bottom: 0 !important;
    }

    .service-item img.mb-4 {
        margin-bottom: 0 !important
    }

    .row>* {
        margin-top: 20px !important
    }

    .g-5,
    .gy-5 {
        --bs-gutter-y: 1.5rem
    }

    .s-bottom-m {
        margin-bottom: 50px;
    }

    div.s-bottom-m:last-child {
        margin-bottom: 20px !important
    }

    .footer .pt-5 {
        padding-top: 0 !important
    }

    .logo-name {
        font-size: 1rem
    }

    .custom-logo img {
        height: 60px;
    }

    .cpt-0 {
        margin-top: 0 !important
    }

    .grey-bg {
        margin-top: 0 !important;
        padding-bottom: 2rem !important;
        padding-top: 15px !important
    }

    .bg-custom {
        padding-bottom: 2rem !important
    }

    .bg-custom div.mt5 {
        margin-top: 1.2rem !important
    }

    .ngg-gallery-thumbnail a {
        width: 160px;
        height: 130px;
    }

    .navbar-dark {
        height: 80px;
        justify-content: start;

    }

    .bg-header .p-5 {
        padding: 1rem !important
    }

    .carousel-control-prev,
    .carousel-control-next {
        top: 0
    }

    .gallery .ngg-gallery-thumbnail a {
        width: 100% !important
    }

    .h-100 {
        height: auto !important
    }

    .ngg-galleryoverview {
        padding-left: 0 !important;
        padding-right: 0 !important
    }

    .logo-name {
        line-height: 24px;
        width: 230px;
    }

    .navbar-toggler {
        position: absolute;
        right: 15px;
        z-index: 99999;
    }

    .navbar-brand {
        margin-right: 5px;
    }

    .logo {
        justify-content: start;
        width: 85%
    }

    .old-committee .ngg-gallery-thumbnail a {
        width: 96%;
        margin-left: 2% !important;
        margin-right: 2% !important;
    }

    .old-committee.g-5 {
        --bs-gutter-x: 0;

    }

    .home-event {
        margin-bottom: 20px !important
    }

    .section-title {
        margin-bottom: 1.5rem !important;
        text-align: center;
    }

    .hotel-thumb-inner a {
        margin: 0;
        padding: 10px
    }

    .section-title::before,
    .section-title.section-title-sm::before {
        width: 100%
    }

    .section-title.text-center::before {
        left: 0;
        margin-left: 0
    }

    .ngg-galleryoverview {
        margin-top: 0 !important
    }

    .container-fluid.gallery {
        padding-right: 0;
        padding-left: 0
    }

    .inner-page .row>* {
        margin-top: 0 !important
    }

    .footer-bottom .row>* {
        margin: 10px 0 !important;
    }

    .footer-bottom .d-flex {
        height: auto;
    }

    .control-margin .mb-4 {
        margin-bottom: 0 !important
    }

    .member-logo {
        width: 250px;
    }

    .grid-row .grid.second img {
        width: 160px;
    }

    .grid {
        font-size: 14px;
        font-weight: 400;
        padding: 10px;
    }

    .footer-about {
        margin-top: 0 !important
    }


    .video.my-5 {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .ngg-galleryoverview.default-view {
        margin-top: 25px !important
    }

    .old-committee h3 {
        text-align: center;
    }

    .old-committee {
        margin-top: 0
    }

    .committee-title {
        margin-bottom: 0
    }

    .committee-title p {
        margin-bottom: 0
    }


}

@media (max-width: 370px) {
    .logo-name {}

}