@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.navbar-white {
    background: #2e7985;
}

li.nav-item i {
    color: #fff;
}

.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) {
    background: #2e7985;
}

.dropdown a {
    color: #fff !important;
}

.dropdown-menu a.black i,
.dropdown-menu a.black {
    color: #565555 !important;
}

.dropdown-menu-lg {
    max-width: 300px;
    min-width: 200px;
    padding: 0;
}

.login-logo a img {
    width: 200px;
}

.login-logo {
    background: #fff;
    padding: 10px;
    margin: 0px;
}

/*<img src="https://dev-tattvafoundation.org/hp_sapcc/public/dist/img/mission.png" class="img-fluid" alt="Image">*/
/*.login-page2 {*/
/*	background: linear-gradient(#2e7985, #2e7985);*/

/*}*/

.login-page2 .row {
    height: 100%;
    margin: 0;
}

.login-box {
    width: 100% !important;
}

body,
html,
.login-container {
    height: 100%;
    min-height: 100% !important;
    width: 100% !important;
}

.login-container {
    display: table;
}

.login-box {
    display: table-cell;
    vertical-align: middle;
}

.right-div {
    display: table;
    height: 100%;
}

.right-div .img {
    display: table-cell;
    vertical-align: middle;
}

.os-content {
    background: #334b5f;
}

.info-box i {
    color: #fff !important;
}

form label {
    font-weight: 500 !important;
    margin: 0;
}

.card-back {
    background: #eff3f9;
    border: 1px solid #c3c1c1;
}

.input-group-text {
    background: #007bff;
    color: #fff;
}

.form-check {
    position: relative;
    display: inline-block;
    padding-left: 13px;
}

.form-check input {
    padding-right: 10px;
}

.form-check label {
    padding-right: 10px;
}

.bg-info {
    background-color: #00c0ef !important;
}

.bg-success {
    background-color: #00a65a !important;
}

.bg-warning {
    background-color: #f39c11 !important;
}

.bg-danger {
    background-color: #dd4c39 !important;
}

.layout-footer-fixed .wrapper .main-footer {
    position: static !important;
}

.bg-warning {
    background-color: #f39c11 !important;
    color: #fff !important;
}

.bg-warning,
.bg-warning>a {
    color: #fff !important;
}

.ui-icon {
    float: right;
}

.dropdown-header {
    background: #179cea;
    padding: 10px;
}

.dropdown img {
    width: 32px;
    float: right;
}

.dropdown span {
    margin-left: 5px;
    font-size: 14px;
}

.dropdown-header img {
    width: 38px;
    border: 3px solid #3674b7;
}

.dropdown-header p {
    color: #fff;
    margin-top: 10px;
}

.dropdown .nav-link {
    display: block;
    padding: 6px 1rem !important;
    background: #ffffff1c;
    font-size: 15px;
}

.refresh {
    padding-top: 8px;
    cursor: pointer;
}

.error {
    color: #ff0000;
}

#newCaptcha {
    height: 40px;
}

#example_wrapper {
    margin-top: 15px;
}

.dt-buttons {
    display: inline;
}

#example_length {
    width: 15%;
    float: left;
}

#example_filter {
    width: 50%;
    float: right;
}

#example_info {
    width: 50%;
    float: left;
    padding-top: 0 !important;
}

#example_paginate {
    width: 50%;
    float: left;
}

#frmContainer {
    display: none;
}

.wd-50 {
    width: 50px;
}

.wd-100 {
    width: 100px;
}

.wd-140 {
    width: 140px;
}

.wd-160 {
    width: 160px;
}

[class*="sidebar-dark-"] .nav-treeview>.nav-item.active>.nav-link,
[class*="sidebar-dark-"] .nav-treeview>.nav-item>.nav-link:focus,
[class*="sidebar-dark-"] .nav-treeview>.nav-item>.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

label.bold {
    font-weight: 700 !important;
}

.wrapper_img {
    height: 200px;
    padding: 10px;
    background: #e4e8fa;
    position: relative;
    overflow: hidden;
}

.img_holder {
    height: 100%;
}

.img_holder img {
    max-width: 100%;
    height: 100%;
}

.upload {
    position: absolute;
    bottom: -2px;
    padding: 7px 0;
    width: 40px;
    left: calc(50% - 18px);
}

.upload i {
    padding: 7px 10px;
    background: #f8f8f8;
    border-radius: 4px;
    border: 1px solid #d7d7d7;
}

.image-upload {
    line-height: 0 !important;
    height: 0;
}

.image-upload>input {
    display: none;
}

.nav-item {
    position: relative !important;
}

/*.nav-tabs .nav-link.active, .nav-tabs .show>.nav-link {*/
/*    color: #fff;*/
/*    background-color: #4262af !important;*/
/*	padding-left: 30px;*/
/*    padding-right: 18px;*/
/*}*/

/*.nav-tabs .nav-link{*/
/*	color: #4262af;*/
/*    background-color: #fff !important;*/
/*	padding-left: 30px;*/
/*    padding-right: 18px;*/
/*}*/

/*.nav-tabs .nav-link.active:before, .nav-tabs .show>.nav-link:before {*/
/*    content: "";*/
/*    left: 0px;*/
/*    height: 0;*/
/*    top: 1px;*/
/*    width: 0;*/
/*    border-left: 20px solid #f1f6fa;*/
/*    border-right: 10px solid #4262af;*/
/*    border-top: 20px solid #4262af;*/
/*    border-bottom: 20px solid #4262af;*/
/*    position: absolute;*/
/*}*/
/*.nav-tabs .nav-link.active:after, .nav-tabs .show>.nav-link:after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 1px;*/
/*    right: -38px;*/
/*    height: 0px;*/
/* bottom: 15px; */
/*    width: 0;*/
/*    border: 20px solid transparent;*/
/*    border-left-color: #4262af;*/
/*    z-index: 999;*/
/*}*/

/*.nav-tabs .nav-link:before, .nav-tabs .show>.nav-link:before {*/
/*    content: "";*/
/*    left: 0px;*/
/*    height: 0;*/
/*    top: 1px;*/
/*    width: 0;*/
/*    border-left: 20px solid #f1f6fa;*/
/*    border-right: 10px solid #fff;*/
/*    border-top: 20px solid #fff;*/
/*    border-bottom: 20px solid #fff;*/
/*    position: absolute;*/
/*}*/
/*.nav-tabs .nav-link:after, .nav-tabs .show>.nav-link:after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 1px;*/
/*    right: -38px;*/
/*    height: 0px;*/
/* bottom: 15px; */
/*    width: 0;*/
/*    border: 20px solid transparent;*/
/*    border-left-color: #fff;*/
/*    z-index: 999;*/
/*}*/
.nav-tabs .nav-item {
    margin-right: 9px;
}

.nav-tabs .nav-link {
    background: #fff;
}

.content-header fa-plus {
    display: inline-block;
    margin-top: 10px;
}

h1 small {
    font-size: 12px;
}

.nav-link.active {
    background: transparent !important;
    color: #458894 !important;
    border: 0;
    border-bottom: 5px solid #458894 !important;
}

.nav-link {
    color: #4b4b41;
    background: transparent !important;
}

.tab-pane.active {
    background: transparent !important;
}

.hpsapcc-banner {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hpsapcc-banner .carousel,
.hpsapcc-banner .carousel-inner,
.hpsapcc-banner .carousel-item {
    height: 100%;
}

.hpsapcc-banner .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hpsapcc-banner .carousel-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    text-align: left;
    padding: 30px 40px;
    z-index: 2;
    pointer-events: none;
}

.hpsapcc-banner .carousel-overlay h5,
.hpsapcc-banner .carousel-overlay h2 {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hpsapcc-banner .carousel-indicators {
    bottom: 10px;
    z-index: 3;
}

.hpsapcc-banner .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
}

.hpsapcc-banner .carousel-indicators li.active {
    background-color: #fff;
}

.back-transparent {
    background: transparent;
}

.pt-100 {
    padding-top: 100px;
}

.text-yellow {
    color: #ffff00;
}

.pb-70 {
    padding-bottom: 70px;
}

/*.accordion-btn{position:relative;}*/
.accordion-btn:after {
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
}

@media all and (-ms-high-contrast: none) {
    .image-upload>input {
        display: block;
        position: absolute;
        bottom: 0;
        opacity: 0;
    }
}

[class*="sidebar-dark-"] {
    background-color: #2e7985 !important;
}

.heading {
    background: #179cea;
    padding: 7px;
    margin-bottom: 15px;
    color: #fff;
}

.form-block-wrapper {
    background: #e0e9fe;
    padding: 15px;
}

.heading h5 {
    display: inline-block;
    padding: 6px 0 0 6px;
}

.span-bn {
    margin-top: 27px;
}

.heading .span-bn {
    margin-top: 6px;
}

.span-bn button {
    padding: 0px 6px !important;
}

.span-bn button i {
    font-size: 12px;
}

.form-block-wrapper {
    padding-right: 50px;
    position: relative;
}

.col_minus {
    position: absolute;
    right: 13px;
}

label {
    font-size: 14px;
}

.ucfirst:first-letter {
    text-transform: capitalize;
    margin-bottom: 0;
}

.form-checkbox {
    position: relative;
    display: inline-block;
    padding-left: 13px;
    padding-top: 25px;
}

@media (min-width: 1024px) {
    .modal-header {
        background: #179cea;
        color: #ffffff;
    }

    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

/******profile page******/
.profile_img {
    position: relative;
}

.profile_img .profile_img_wrapper {
    padding: 0px 0 0 10px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
}

.column_block {
    padding: 10px 20px;
    display: inline-block;
}

.column_block b {
    padding-right: 20px;
}

.profile_img_wrapper img {
    width: 62px;
    margin-bottom: 10px;
}

.profile_img_wrapper b,
.profile_img_wrapper span {
    display: block;
    line-height: 18px;
}

.bg-custom .nav-item {
    background: #fff;
    box-shadow: 2px 2px 4px 1px #dbd9d9;
    margin-right: 15px;
    border: 1px solid #d3d1d1;
    width: 140px;
    padding: 6px 0;
    border-radius: 5px;
}

.bg-custom .nav-item img {
    width: 90px;
    height: auto;
}

.bg-custom .nav-item a {
    color: #817f7f;
    text-align: center;
    line-height: 14px;
    font-size: 12px;
    padding: 0;
}

.bg-custom .nav-item:last-child {
    margin-right: 0;
}

.bg-custom {
    overflow: auto;
}

/* width */
::-webkit-scrollbar {
    height: 4px;
    /* height of horizontal scrollbar ← You're missing this */
    width: 4px;
    /* width of vertical scrollbar */
    border: 1px solid #c7c9ca;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #c7c9ca;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.bg-custom .nav-item:hover {
    background: #dbdbdb;
}

.active_nav {
    background: #dbdbdb !important;
}

.error-page>.error-content {
    display: block;
    margin-left: 0px;
}

.profile_img .card-back {
    margin-left: 80px;
    padding: 0px 20px;
    display: table;
    min-height: 70px;
    vertical-align: middle;
    width: 93%;
}

.id_details {
    display: table-cell;
    vertical-align: middle;
}

.modal_wrapper {
    height: 400px;
    overflow: auto;
}

/************tooltip**********/
.toolwrap {
    position: relative;
}

.tool {
    padding: 5px;
    color: #179cea;
    border-radius: 50%;
    cursor: pointer;
}

.direct-chat-text {
    display: none;
    position: absolute;
    left: -18px;
    top: -12px;
    width: 220px;
    z-index: 1000;
}

.tool:hover+.direct-chat-text {
    display: block;
    font-size: 12px;
}

/************profile css **********/
.back_trans {
    width: 100%;
    float: left;
}

.form-group {
    width: 100%;
    float: left;
}

.card-changed {
    box-shadow: none;
    background: none;
}

.profile-table thead th {
    background: #77c1ff !important;
    color: #fff;
}

.btn {
    padding: 0.15rem 0.5rem;
    font-size: 1rem;
}

[class*="sidebar-dark-"] .nav-sidebar>.nav-item>.nav-treeview {
    max-height: 300px;
    overflow-y: scroll;
}

.login-page2 a {
    color: #2e7985;
}

.login-page2 a:hover {
    color: #17336f;
}

a#btnAdd {
    color: #2e7985;
}

a#btnAdd:hover {
    color: #2e7985;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #2e7985;
    border-color: #2e7985;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #2e7985;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.main-footer a {
    color: #2e7985;
}

.main-footer a:hover {
    color: #2e7985;
}

.contact-link i {
    font-size: 3opx;
    color: #000;
}

.btn-success {
    color: #fff;
    background-color: #2f7949 !important;
    border-color: #2f7949 !important;
}

/*.login-page2 { background: linear-gradient(#2f7949, #c1f3b2) !important;}*/
.login-page2 {
    background: url(../img/hpsapcc-banner_new.jpeg);
    background-size: cover !important;
}

/* .login-page2 {
    background: url(../../../public/dist/img/login_back.png) no-repeat !important;
    background-size: cover !important;
} */

[class*="sidebar-dark-"] .sidebar a {
    color: #ffffff !important;
}

.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) {
    background: #2e7985 !important;
}

.navbar-white {
    background-color: #2e7985 !important;
}

[class*="sidebar-dark-"] {
    background-color: #2e7985 !important;
}

/*[class*=sidebar-dark-] { background-image: linear-gradient(180deg, #4a3b54, #564761) !important;}*/
[class*="sidebar-dark-"] .nav-treeview>.nav-item>.nav-link {
    color: #ffffff !important;
}

.btn-success :hover {
    background: #2f7949 !important;
}

.modal-header {
    background: #2e7985;
    color: #ffffff;
}

.green-g {
    background-image: linear-gradient(180deg, #4caf50, #1c7620) !important;
}

.red-g {
    background-image: linear-gradient(180deg, #f54336, #7d2e2e) !important;
}

.yellow-g {
    background-image: linear-gradient(180deg, #ffc108, #9b751b) !important;
}

.blue-g {
    background-image: linear-gradient(180deg, #22baf3, #175372) !important;
}

.content-header {
    background-color: #fff;
}

.text-dark {
    color: #4b3c57 !important;
    font-family: "Poppins", sans-serif;
}

.content .container-fluid {
    background: #ebf1ff;
    padding: 20px;
    margin-bottom: 10px;
    /*box-shadow: 0px 2px 10px 0px #cac2d0;*/
}

.small-box {
    margin-bottom: 0 !important;
    border-radius: 25px;
    box-shadow: 0px 5px 5px 1px #d5d5d5 !important;
    background: #fff;
    padding: 20px 30px !important;
}

.login-card-body form {
    padding: 0 40px;
}

.btn-theme {
    background: #3e4194;
    color: #fff;
}

.btn-theme:hover {
    color: #fff !important;
}

.text-theme {
    color: #2e7985;
}

.login-heading {
    font-family: "Playfair Display", serif;
    font-weight: 900;
    font-style: bold;
    padding-left: 170px;
    font-size: 57px;
}

.one:first-letter {
    color: #3f4492 !important;
}

.two:first-letter {
    color: #259ae6;
}

.three:first-letter {
    color: #d1a9e7;
}

#chrt .nav-item a {
    background: #fff;
    border: 1px solid #a7a7a7;
    color: #2e7985;
    border-radius: 6px;
}

/* .active {
    background: #60bcbc !important;
    color: #fff;
} */

.btn-primary2 {
    color: #fff !important;
    background-color: #2e7985 !important;
    border: 0 !important;
    box-shadow: none;
}

div#filterDiv .active {
    background: #ebf1ff !important;
    color: #000 !important;
}

.form-control-select {
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: none;
    background-image: url("https://www.svgrepo.com/show/80156/down-arrow.svg");
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: calc(100% - 16px);
    cursor: pointer;
}

.fj-one-regular {
    font-family: "Fjalla One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    /* font-weight: 400; */
    font-style: normal;
}

.filter-menu a {
    font-size: 16px;
    color: #343a40;
    margin: 10px 18px 0;
    line-height: 20px;
}

.filter-menu a.selected {
    color: #257986;
    border-bottom: 5px solid #257986;
}

.main-footer {
    background: #2e7985;
}

.main-footer svg {
    width: 200px;
}

.main-footer ul li {
    list-style: none;
}

.main-footer ul li a {
    color: #fff;
}

.border-top {
    border-top: 1px solid #fff;
}

.main-footer ul li a:hover {
    color: #15d0ee;
}

/* ========================================
   MISSION CARD STYLES
   ======================================== */

.mission-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .mission-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mission-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Mission Card */
.mission-card-wrapper {
    cursor: pointer;
    perspective: 1000px;
}

.mission-card {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #257986;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: 10;
}

.mission-card:hover::before,
.mission-card-wrapper.active .mission-card::before {
    transform: scaleX(1);
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 121, 134, 0.15);
    border-color: #B2D8D8;
}

.mission-card-wrapper.active .mission-card {
    border-color: #257986;
    background: #E0F0F0 !important;
}

.mission-card-wrapper.active .mission-card::before {
    transform: scaleX(1);
}

.mission-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 121, 134, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-card-icon,
.mission-card-wrapper.active .mission-card-icon {
    background: #257986;
    color: white;
}

.mission-card-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.1rem;
    color: #1A2A35;
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.3;
    flex-grow: 0;
}

.mission-card-badge {
    display: inline-block;
    background: rgba(37, 121, 134, 0.1);
    color: #257986;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-card-badge,
.mission-card-wrapper.active .mission-card-badge {
    background: rgba(37, 121, 134, 0.2);
    color: #0A5C5F;
}

.mission-card-subtitle {
    font-size: 0.85rem;
    color: #7A8D9C;
    line-height: 1.4;
    margin-bottom: 12px;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-card-subtitle {
    color: #5A7D8C;
}

.mission-card-arrow {
    font-size: 0.8rem;
    color: #257986;
    font-weight: 600;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mission-card:hover .mission-card-arrow,
.mission-card-wrapper.active .mission-card-arrow {
    opacity: 1;
    transform: translateY(0);
}

.mission-card-arrow svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.mission-card:hover .mission-card-arrow svg {
    transform: translateX(3px);
}