
/* base */
* { overflow-x:none; }
#toggle-sidebar, #toggle-navbar { z-index: 99; }
#toggle-navbar { right: 0; }
i { margin-right: 3px;}
.officerimage img { border: #d9950d 3px solid; padding-left: 10px; margin: 10px; border-radius: 10px;}

/* main page */
main { padding-bottom: 60px; }
.gallryshow { background: linear-gradient(to right, #535db9ff, #90b4f2ff); border-radius:10px; padding:14px;}
.leaders { background-color:lightblue; border-radius:10px; padding:14px;}
.dailycalendar {background-color: indigo; border-radius:10px; padding:14px;}
.newsNinfo {background-color: orange; border-radius:10px; padding:14px;}

/* top row */
.navbar-nav { background: linear-gradient(to right, #ffecd2, #fcb69f); flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; padding: 0; }
.navbar-nav .nav-link { flex: 1 1 7%; text-align: center; margin: 2px; }
.navbar-nav .dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
.navbar-nav .dropdown-item { padding: 2px 8px; max-width:fit-content;}
@media (max-width: 1150px) { 
    .nav-link { flex: 1 1 15% !important; }
}
@media (max-width: 768px) { 
    .show-navbar ~ .container-fluid main { padding-top: 60px; }
    .nav-link { flex: 1 1 23% !important; }
    .navbar { display: none !important; }
    .show-navbar { display: block !important; position: fixed !important; top: 0; left: 0; width: 100%; z-index: 99; }
}
/* sidebar */
.sidebar { position: relative; background: linear-gradient(to right, #ffecd2, #fcb69f); margin-bottom:50px; z-index: 10; }
.logo-container { text-align: center; margin-bottom: 20px; }
.sidebar a { color:navy; font-size:14px;}
.sidebar .dropdown-menu, .sidebar .sub-dropdown-menu { z-index: 20 !important; display: none; }
.sidebar .dropdown:hover .dropdown-menu { display: block; margin-top: 0; left: 25%; z-index: 99; } 
.sidebar .sub-dropdown { position: relative; }
.sidebar .sub-dropdown:hover .sub-dropdown-menu { display: block; list-style: none; top: 0; left: 175%; margin-top: -1px; z-index: 30;}
.nav { display: block !important; }
.nav-link { text-wrap: wrap;}
.show-sidebar { height:1020px; max-width: fit-content; overflow:auto;}
@media (max-width: 768px) {
    .sidebar { display: none !important; }
    .show-sidebar { display: block !important; position: fixed !important; top: 0; left: 0; z-index: 99; width: 150px; height:90vh; max-width: fit-content; overflow:auto;}
}

/* social */
.social-container { position: fixed; top: 50%; right: 5px; transform: translateY(-50%); z-index: 99; width: auto; padding: 20px 0; background-color: transparent; }
.social-icons { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; list-style: none; margin: 0; padding: 0; gap: 10px; }
.social-icons li { margin: 0; }
.social-icons a { display: inline-flex; align-items: center; width: 30px; height: 30px; color: white; text-decoration: none; border-radius: 20px; transition: all 0.3s ease;
    overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); position: relative; }
.social-icons a i { margin-left:7px; font-size: 18px; margin-right: 0; transition: margin-right 0.3s ease; }
.social-icons a span { opacity: 0; white-space: nowrap; margin-left: 4px; font-size: 14px; font-weight: 500; transition: opacity 0.3s ease; background-color: rgba(0, 0, 0, 0.7); padding: 0 8px; border-radius: 10px; }
.social-icons a:hover { width: 140px; border-radius: 20px; }
.social-icons a:hover i { margin-right: 1px; }
.social-icons a:hover span { opacity: 1; }
.social-icons a[href*="facebook"] { background-color: #1877F2; }
.social-icons a[href*="facebook"]:hover { background-color: #166fe5; }
.social-icons a[href*="twitter"], .social-icons a[href*="x.com"] { background-color: #1DA1F2; }
.social-icons a[href*="twitter"]:hover, .social-icons a[href*="x.com"]:hover { background-color: #0d8bd9;}
.social-icons a[href*="instagram"] { background-color: #E4405F; }
.social-icons a[href*="instagram"]:hover { background-color: #d31e40; }
.social-icons a[href*="youtube"] { background-color: #0077B5; }
.social-icons a[href*="youtube"]:hover { background-color: #005a87;}
@media (max-width: 768px) {
    .social-container { display: none; }
}

/* gallery */

/* calendat */
#calendar-container, #events-container { min-height: 200px; }
.class_div {display:inline-flex; width: 100%; flex-wrap: wrap; }
.class_btn { padding: 3px 6px; background-color: #077375; border: #28fccf 3px solid; cursor: pointer; flex-grow: 1; margin:3px; font-size: 75%; transition: 0.3s;}
.class_btn:hover { border-color:#d3e41d; }
.class_btn ~ .active {background-color: blue; border-color:red;}
.dailycalendar table { background-color: whitesmoke;} 
.date.weekend { background-color: #ffcccc !important; }
.date.today { background-color: #ffffcc !important; }
.date.holiday { background-color: thistle; color: #333; border-radius: 50%; }
#calendar-table tr td { padding: 0.55rem;}
#calendar-table tr td:not(:empty):hover { background-color: #83e886 !important; border-radius: 50%;}
.events { height: 90%; overflow-y: auto;}
#events-container { display:none;}
@media (max-width: 1150px) { 
    .nav-link { flex: 1 1 15% !important; }
    #calendar-table tr td { padding: 0.15rem;}
}

/* success table */
.successtbl { height: 450px; overflow-y: auto; }
.successtbl.data-table-responsive { height: 98%; }
.successtbl.sticky-header thead th { position: sticky; top: 0; z-index: 10; }
.successtbl table tbody { overflow-y: auto; }
.successtbl table tbody tr:hover { background-color: #f0f8ff; }

/* new & info */ 
.newsNinfo { height: 450px; }
.marquee-container { height: 95%; overflow: hidden; position: relative; border: 1px solid #ddd; }
.marquee { height: 90%; overflow: hidden; }
.marquee-content { display: flex; flex-direction: column; animation: moveup 80s linear infinite; }
.paused .marquee-content { animation-play-state: paused; }
@keyframes moveup { 
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); } 
}

/* footer */
.footer { position: fixed; bottom: 0; width: 100%; background-color: #343a40; color: white; text-align: center; padding: 4px 0; z-index: 99; }
.footer p { margin-bottom:3px;}