body, html { 
    min-height: 100%;
    height: 100%;
    font-size: .92em;
    font-family: 'Roboto', sans-serif;
    background-color: #f1f2f5;
    color: #383838;
}

/* SIDE NAV */

.side-nav {
    padding: 0px;
}

.side-nav i {
    margin-right: 8px;
}

.side-nav li {
    list-style: none;
    font-size: 12.5px;
    padding: .5em;
    border-radius: .5em;
}

.side-nav li:hover {
    background-color: rgb(0, 0, 0, .05);
}

.side-nav li a, a {
    text-decoration: none !important;
    color: #494949;
}

.side-nav ul {
    padding-left: 1em;
}

.card, .row-card, .jumbotron {
    border-radius: 4px !important;
    border: 1px solid rgba(0, 0, 0, 0.125);
    box-shadow: none !important;
}

.card-header {
    color: #FFF;
    box-shadow: none;
    border-radius: 4px 4px 0px 0px !important;
    background-color: #152D51 !important;
    border-bottom: 0px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* MISC */

#login-side-div {
    background-image: url(http://lorenzoruiz.edu.ph/storage/images/schoolBuilding.jpg);
    background-size: cover;
    background-position: center;
}

/* TABLE */

.row-card {
    background-color: #FFF;
}

/* COLOR */

.main-color-bg, .navbar, .btn-primary, .navbar-brand,
.nav-pills .nav-link.active {
    background-color: #152D51 !important;
    color: #FFF !important;
}
 
.btn-primary:hover, .btn-primary:focus  {
    background-color: #07101D;
    color: #FFF;
    font-weight: bold;
}

.main-color, .btn-link, a {
    color: #152D51;
}

.secondary-color {
    color: #e4cc13;
}

@media only screen and (max-width: 767px) {
    .side-nav li a {
        color: #ffffff;
    }
}

.jumbotron {
    background-color: #152D51;
    box-shadow: 1px 1px 5px #e2e2e2;
    padding-top: 2rem;
    padding-right: 4rem;
    padding-bottom: 4rem;
    padding-left: 4rem;
  }

small {
    opacity: .5;
}

.qr {
    background-color: #fff;
    padding: 1rem;
}

hr {
    border: 0;
    clear:both;
    display:block;
    width: 96%;               
    background-color:#b0b0b0;
    height: 1px;
}

.other-month {
    opacity: 0.6;
}

.custom-date-picker {
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    line-height: 1.5;
}

.text-primary {
    color: #152D51 !important;
}

#moduleContent {
    height: 90vh; 
    overflow: auto; 
    position: relative; 
    background-color:#3c3c3c;
}

/* Event Classes */
.declared-holiday {
    background-color: #3ec976; /* Light green background */
    border: 2px solid #3ec976; /* Dark green border */
    border: 0px;
    padding: 6px;
    border-radius: 8px;
    font-weight: bold; /* Bold text */
}

.in-service {
    background-color: #dc9118; /* Light green background */
    border: 2px solid #dc9118; /* Dark green border */
    padding: 6px;
    border-radius: 8px;
    font-weight: bold; /* Bold text */
    margin-bottom: 4px;
}

.exam-administration {
    background-color: #ed71b9; /* White background */
    border: 1px solid #ed71b9; /* Dark border */
    padding: 6px;
    border-radius: 8px;
    font-weight: bold; /* Bold text */
    margin-bottom: 4px;
}

.reminder-events {
    background-color: #e8d123; /* White background */
    border: 1px solid #e8d123; /* Dark border */
    padding: 6px;
    border-radius: 8px;
    font-weight: bold; /* Bold text */
}

.class-mass {
    background-color: #0751b2; /* Light green background */
    border: 2px solid #0751b2; /* Dark green border */
    padding: 6px;
    border-radius: 8px;
    font-weight: bold; /* Bold text */
}

.other-events {
    background-color: #3599fc; /* White background */
    
    border: 1px solid #3599fc; /* Dark border */
    padding: 6px;
    border-radius: 8px;
    font-weight: bold; /* Bold text */
    margin-bottom: 4px;
}

/* General Styles for Event Details */
.event-details {
    font-size: 10pt; /* Base font size */
    line-height: 1.2; /* Line height for readability */
    font-weight: normal; /* Regular text */
    white-space: normal; /* Allow wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Optional: adds "..." for overflowed text */
    max-height: 4.5em; /* Limits height; adjust based on line-height for wrapping */
}

.reminder-events .fc-event-main .event-details {
    color: #404952 !important; /* Dark text */
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal {
    z-index: 1050; /* Ensure this is higher than the backdrop */
}

.modal-content {
    padding: 0px;
}

.modal-backdrop {
    z-index: 1040; /* Set this lower than the modal */
}

.no-hover-effect:hover,
.no-hover-effect:active,
.no-hover-effect:focus {
  background-color: none !important;
  box-shadow: none !important;
  border-color: none !important;
  color: #FFFFFF !important;
}