/****** LOGIN MODAL ******/
.loginmodal-container {
    padding: 30px;
    max-width: 350px;
    width: 100% !important;
    background-color: #F7F7F7;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: roboto;
}

.loginmodal-container h1 {
    text-align: center;
    font-size: 1.8em;
    font-family: roboto;
}

.loginmodal-container input[type=submit] {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    position: relative;
}

.loginmodal-container {
    height: 44px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 10px;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-top: 1px solid #c0c0c0;
    /* border-radius: 2px; */
    padding: 0 8px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.loginmodal-container input[type=text]:hover, input[type=password]:hover, input[type=email]:hover {
    border: 1px solid #b9b9b9;
    border-top: 1px solid #a0a0a0;
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.loginmodal {
    text-align: center;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    height: 36px;
    padding: 0 8px;
    /* border-radius: 3px; */
    /* -webkit-user-select: none;
    user-select: none; */
}

.loginmodal-submit {
    /* border: 1px solid #3079ed; */
    border: 0px;
    color: #fff;
    text-shadow: 0 1px rgba(0,0,0,0.1);
    background-color: #4d90fe;
    padding: 17px 0px;
    font-family: roboto;
    font-size: 14px;
    /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#4787ed)); */
}

.loginmodal-submit:hover {
    /* border: 1px solid #2f5bb7; */
    border: 0px;
    text-shadow: 0 1px rgba(0,0,0,0.3);
    background-color: #357ae8;
    /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#357ae8)); */
}

.loginmodal-container a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    opacity: 0.6;
    transition: opacity ease 0.5s;
}

.login-help{
    font-size: 12px;
}

label {
    color: #aaaaaa;
    font-size: 12px;
}

.form-control-sm, .form-control {
    border-radius: 0rem;
}

.nipa-header-top-input {
    color:#ffffff;
    font-size: 14px;
    border-radius: 0;
    padding: .3rem .75rem;
}

.asterisk {
    color: #b9282e;
}

.form-group {
    margin-bottom: .64rem;
}

.nipa-send-button {
    background-color: #b9282e;
    border:none;
    border-radius:0;
    color:#ffffff !important;
    /*float: right;*/
    font-size: 12px;
    padding:8px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase;
}

.nipa-send-button:hover {
    background-color: #b9282e;
    color:#eeeeee !important;
}

.nipa-send-button-left {
    background-color: #b9282e;
    border:none;
    border-radius:0;
    color:#ffffff !important;
    float: left;
    font-size: 12px;
    padding:8px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase;
}

.nipa-send-button-left:hover {
    background-color: #b9282e;
    color:#eeeeee !important;
}

.dropdown-menu {
    min-width: 200px;
}
.dropdown-menu.columns-2 {
    background-color: #b9282e;
    margin-top: 8px;
    min-width: 450px;
    opacity: .9;
    padding-right: 5px;
}

.nipa-single-dropdown {
    background-color: #b9282e;
    border-radius: 1px;
    margin-top: 8px;
    min-width: 250px;
    opacity: .9;
    padding-right: 5px;
}

.nipa-single-dropdown ul li a {
    color: #fff;
    font-size: 13px;
    text-transform: none;
}

.nipa-single-dropdown h1 {
    color: #fff;
}

.dropdown-menu.columns-2 h1 {
    color: #fff;
}

.dropdown-menu.columns-2 ul li a {
    color: #fff;
    font-size: 13px;
    text-transform: none;
}

.dropdown-menu.columns-3 {
    min-width: 600px;
}
.dropdown-menu li a {
    padding: 5px 10px;
    font-weight: 300;
}
.multi-column-dropdown {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.multi-column-dropdown h1 {
    font-size: 14px;
    padding: 5px 12px 0 12px;
}

.multi-column-dropdown li a {
    display: block;
    clear: both;
    line-height: 1;
    color: #333;
    white-space: normal;
}
.multi-column-dropdown li a:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: #999;
}

@media (max-width: 767px) {
    .dropdown-menu.multi-column {
        min-width: 240px !important;
        overflow-x: hidden;
    }
}

.footer {
    z-index: 2;
}

h1 {
    color: #b9282e;
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

p {
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.nipa-slider-text-top {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-shadow: 1px 1px 1px rgba(150, 150, 150, 1);
}

.nipa-slider-text-bottom {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    text-shadow: 1px 1px 1px rgba(150, 150, 150, 1);
}

.nipa-members-top {
    background-color: #b9282e;
    border-bottom: 1px solid #8a1e23;
    color:#ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    padding: 1rem;
}

.nipa-logo-section {
    padding: .5rem 0;
}

.nipa-home-navbar {
    background-color: #f0f0f0;
}

.nipa-home-admin-navbar {
    background-color: #333333;
}

.nipa-grey-section {
    background-color: #f0f0f0;
    padding:2rem 1rem;
    bottom: 100px;
}

.nipa-red-section {
    background-color: #b9282e;
    padding:2rem 1rem;
    bottom: 100px;
}

.nipa-red-section p {
    color:#ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    margin-bottom: 0;
}

.nipa-footer-top {
    background-color: #f0f0f0;
    color:#000000;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    padding: 1rem;
    bottom: 50px;
}

.nipa-footer-top p {
    font-size: 13px;
    margin-bottom: 0;
}

.nipa-footer-bottom {
    background-color: #ffffff;
    color:#000000;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    padding: 1rem;
}

.nipa-footer-bottom p {
    font-size: 12px;
    margin-bottom: 0;
}

.text-space {
    height:20px;
}

.text-space-small {
    height:10px;
}

.post-content {
    background: none repeat scroll 0 0 #FFFFFF;
    opacity: 0.5;
    top:0;
    left:0;
    position: absolute;
}

.thumbnail{
    position:relative;

}

/*---------- Navbar Styles ----------*/
.navbar-nav li a {
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-link-white {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
}

.nipa-nav-separator {
    border-left: 1px solid #b9282e;
}

.nav-link {
    display: block;
    padding: .1rem 1rem;
    margin: .3em 0;
}

.navbar-nav li {
    padding-left: .2rem;
}

.reset-home-navbar {
    background: rgba(0,0,0,0) !important;
}

.reset-links-home li a {
    color:#ffffff !important;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,.8);
}

.dropdown:hover>.dropdown-menu {
    display: block;
    margin: -0.1rem 0 0 !important;
}
/*---------- Navbar Styles ----------*/


/*---------- Side Navbar Styles ----------*/
.nipa-about-sidebar {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nipa-about-sidebar ul {
    width: 100%;
    list-style-type: none;
    list-style-position: outside;
    padding-left: 0;
}

.nipa-about-sidebar ul li {
    background-color: #b9282e;
    margin-bottom: 10px;
    padding: 8px 15px;
}

.nipa-about-sidebar ul li:hover {
    background-color: #c0c0c1;
}

.nipa-about-sidebar ul li a {
    color: #ffffff;
}

.nipa-about-sidebar ul li a:hover {
    color: #ffffff;
    text-decoration: none;
}

.email_container {
    padding-left: 10%;
    padding-right: 10%;
}
/*-------- Side Navbar Styles End --------*/



.carousel-control-next, .carousel-control-prev {
    width: 5%;
}

.carousel-caption {
    text-align: left;
    top: 12%;
    left: 22%;
    right: 22%;
}

.carousel-caption-mission {
    text-align: left;
    top: 25%;
    left: 22%;
    right: 22%;
}

.constitution-text-download {
    float:right;
}

/*---------- Nipa Button Styles ----------*/
.nipa-red-button {
    background-color: #ffffff;
    border-color: #b9282e;
    border-radius: 1px;
    color: #b9282e;
}

.nipa-red-button-active {
    background-color: #b9282e;
    border-color: #b9282e;
    border-radius: 1px;
    color: #ffffff;
}

.nipa-red-button-active:hover {
    background-color: #b9282e !important;
    border-color: #b9282e !important;
    border-radius: 1px;
    color: #ffffff;
}

.nipa-red-button:hover {
    background-color: #b9282e;
    border-color: #b9282e;
    border-radius: 1px;
    color: #eeeeee;
}

.nipa-white-button {
    background-color: #b9282e;
    border-color: #ffffff;
    border-radius: 1px;
    color: #FFFFFF;
    font-size: 13px;
    padding: 5px 30px;
}

.nipa-white-button:hover {
    background-color: #b9282e;
    border-color: #ffffff;
    border-radius: 1px;
    color: #eeeeee;
}
/*-------- Nipa Button Styles End --------*/


/* Fixed Footer */
html {
    position: relative;
    min-height: 100%;
}
body {
    min-height: 100%;
    margin-bottom: 200px; /* Margin bottom by footer height */
}

.footer-container {
    position: absolute; 
    bottom: 0;
    width: 100%;
    height: 200px; /* Set the fixed height of the footer here */
}
/* Fixed Footer */

/* Admin Dashboard */
.dashboard {
    padding: 1.5rem !important;
    background: #f5f6fa;
}

/* Remove underline on hover for whole tile */
.dashboard a:hover {
    text-decoration: none;
}

.top_tiles {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Base tile style */
.tile-stats,
.event-tile {
    position: relative;
    display: block;
    border-radius: 14px;
    border: none;
    background: #ffffff;
    padding: 20px 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

/* Accent bar at the top of each tile */
.tile-stats::before,
.event-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 4px;
    background: linear-gradient(90deg, #212529, #4b5563);
    opacity: 0.9;
}

/* Hover state – subtle lift, no layout jump */
.tile-stats:hover,
.event-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
}

/* Icon in top-right in a soft circle */
.tile-stats .icon {
    width: auto;
    height: auto;
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #111827;
}

.tile-stats .icon i {
    margin: 0;
    font-size: 32px;
    line-height: 1;
    padding: 0;
}

/* Content spacing */
.tile-stats .count,
.tile-stats h3,
.tile-stats p {
    position: relative;
    margin: 0;
    z-index: 2;
}

/* Big number */
.tile-stats .count {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 0.25rem;
}

/* Title (e.g. Members, Users…) */
.tile-stats h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #6b7280;
    margin-top: 0.2rem;
    margin-bottom: 0.6rem;
}

/* Small text / breakdown lines */
.tile-stats p {
    margin-top: 0;
    font-size: 13px;
    color: #4b5563;
}

/* Optional footer link in tile */
.tile-stats > .dash-box-footer {
    position: relative;
    margin-top: 0.75rem;
    padding: 4px 0;
    text-align: right;
    font-size: 12px;
    color: #4b5563;
    background: transparent;
    z-index: 3;
    transition: color 150ms ease;
}

.tile-stats > .dash-box-footer:hover {
    color: #111827;
}

/* Sparkline variant still centered but with updated padding */
.tile-stats.sparkline {
    padding: 12px 10px;
    text-align: center;
}

/* Responsive – stack tiles nicely on smaller screens */
@media (max-width: 991.98px) {
    .top_tiles {
        gap: 1rem;
    }
    .tile-stats,
    .event-tile {
        width: 100%;
    }
}

/* --- Members Block Specific Styling --- */

.tile-stats.member-block {
    padding-bottom: 20px;
}

.dash-box-footer.all-members-link {
    position: relative;
    display: block;
    padding: 0;
    text-decoration: none;
    color: inherit;
    background: transparent;
    z-index: 10;
    transition: all 0.2s ease-in-out;
}

.dash-box-footer.all-members-link:hover {
    background-color: #f0f4f7;
}

.dash-box-footer.all-members-link .main-info {
    padding: 25px 30px 25px 25px;
}

.dash-box-footer.all-members-link .icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.dash-box-footer.all-members-link .icon i {
    color: #007bff;
    font-size: 70px;
    opacity: 0.6;
}

.sub-category-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px; 
    margin: 15px 25px 0 25px;
    padding-top: 15px;
    border-top: 1px dashed #eee; 
    max-height: 23vh;
    overflow-y: auto;
}

.sub-category-link {
    flex-basis: calc(50% - 5px);
    display: block;
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s ease-in-out;
}

.sub-category-link:hover {
    background-color: #f8f9fa;
    border-color: #b9282e;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sub-category-link .sub-count {
    font-weight: 600;
    color: #b9282e;
    font-size: 16px;
    display: block;
    line-height: 1.2;
    margin-bottom: 2px;
}

.sub-category-link p {
    margin: 0;
    font-size: 11px;
    color: #6c757d;
}
/* Admin Dashboard */


/* Some customizations */
.nav-tabs .nav-link {
    color: inherit;
}

.nav-tabs .nav-link.active {
    color: #b9282e;
}

.form-group label {
    text-transform: uppercase;
}

.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../images/nipa-loader.gif) center no-repeat #fff;
}

.flash-msg-container {
    position: fixed;
    top: 0;
    /*left: 20px;*/
    z-index: 999999;
    width: 100%;
}

.modal-header {
    display: block !important;
}

.navbar-light .navbar-nav .nav-link {
    color:#eeeeee; 
    font-size:12px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:active,
.navbar-light .navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: #999;
}

.label-uppcase label {
    text-transform: uppercase;
}

.navbar-secondary {
    background-color: #f0f0f0;
}

table.dataTable thead th, table.dataTable thead td {
    border-bottom: none;
}

.hidden {
  display: none !important;  
}

@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px;
}
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
}
}

.buttons-export-div {
    margin-bottom: 6px;
}

.mail_to {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select_all_align {
    display: inline-block;
    margin-top: 25px;
    margin-left: 5px;
}

.email_result {
    list-style-type: none;
    background-color: #ebebeb;
    position: absolute;
    width: 77%;
    margin-top: -1%;
    max-height: 140px;
    overflow: overlay;
}

.email_result li {
    display: block;
    padding: 3px;
}

.email_result li:hover {
    cursor: pointer;
    display: block;
    background-color: #aaaaaa;
    width: 90%;
    padding: 3px;
}

/*ckeditor scroll*/
.ck-editor__editable {
    max-height:250px ! important; 
}
