.ndp-header {
    font-weight: 700;
    text-align: center;
    
}
.ndp-days th{
    padding-bottom: 10px;
    text-align: center;
}

div#ndp-nepali-box {
    font-family: "Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
    border: 1px solid #a6c9e2;
    background-color: #fdfefe;
    position: absolute;
    z-index: 9999;
    color: #2e6e9e;
    padding: 1px;
    margin-top: 1px;
    width: 300px; /* Increase the width */
    height: auto; /* Adjust height dynamically */
}

div#npd-table-div {
    margin: 0;
}

div#npd-table-div table {
    border-spacing: 2px;
    border-collapse: separate;
}

div#ndp-nepali-box td.ndp-date {
    margin: 1px;
    padding: 1px 2px;
    color: #2e6e9e;
    text-align: center;
    width: 42px; /* Fixed width for the day boxes */
    height: 40px; /* Fixed height for the day boxes */
    position: relative; /* Add relative positioning */
    box-sizing: border-box; /* Ensure padding and border are included in the width and height */
}

div#ndp-nepali-box td.ndp-selected {
    display: block;
    border: 1px solid #fad42e;
    background: #fbec88; /* Change the background color */
    color: #363636;
    text-align: center;
    text-decoration: none;
    font-size: 14px; /* Adjust font size to fit both dates */
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

div#ndp-nepali-box td.ndp-current {
    margin: 1px;
    padding: 1px 2px;
    border: 1px solid #79b7e7;
    background: #0f6fa2;
    text-align: center;
    height: auto; /* Fixed height for the day boxes */
    width: 42px; /* Fixed width for the day boxes */
}

div#ndp-nepali-box td.ndp-current a {
    display: block;
    color: #e17009;
    text-decoration: none;
    font-size: 14px; /* Adjust font size to fit both dates */
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

div#ndp-nepali-box td.ndp-date a {
    display: block;
    color: #1c94c4;
    text-decoration: none;
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    box-sizing: border-box; /* Ensure padding and border are included in the width and height */
}

a.ndp-disabled {
    color: #ccc !important;
}

div#ndp-nepali-box td.ndp-date:hover {
    border: 0px solid #fed22f;
    opacity: 0.8;
    text-align: center;
    background-color: #cde5f7;
}

div#ndp-nepali-box td.ndp-date a:hover {
    color: #1c94c4;
}

div#ndp-nepali-box table,
div#ndp-nepali-box td,
div#ndp-nepali-box tr {
    font-size: 14px;
    height: 19px;
    line-height: 19px;
    border-radius: 2px;
}

.ndp-next,
.ndp-prev {
    position: absolute;
    vertical-align: middle;
    line-height: 50px;
    font-size: 25px;
    text-decoration: none;
    color: #0f6fa2;
}

.ndp-prev {
    left: 12px;
}

.ndp-next {
    right: 12px;
}

.ndp-prev:hover,
.ndp-next:hover {
    color: #d0e5f5;
}

div#ndp-nepali-box a {
    text-decoration: none;
}

.ndp-header {
    border: 1px solid #4297d7;
    background: #87b6d9;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    margin: 2px;
}


#currentMonth #npd-month-select,
#currentMonth #npd-year-select {
    color: #040000;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 1px 0;
    height: 22px !important;
    border-radius: 2px;
    border: none;
    margin-bottom: 5px;
    background-color: #ffffff;
    opacity: 0.7;
}

#currentMonth #npd-month-select{
    margin-right: 3px;
}

.ndp-corner-all,
.ndp-corner-left,
.ndp-corner-tl,
.ndp-corner-top {
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    -khtml-border-top-left-radius: 5px;
    border-top-left-radius: 5px;
}

.ndp-corner-all,
.ndp-corner-right,
.ndp-corner-top,
.ndp-corner-tr {
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
    -khtml-border-top-right-radius: 5px;
    border-top-right-radius: 5px;
}

.ndp-corner-all,
.ndp-corner-bl,
.ndp-corner-bottom,
.ndp-corner-left {
    -moz-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -khtml-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.ndp-corner-all,
.ndp-corner-bottom,
.ndp-corner-br,
.ndp-corner-right {
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -khtml-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Additional styles for English date */
.ndp-date a span.ad-day {
    font-size: 9px; /* Smaller font size for English date */
    color: #567b97; /* Lighter color for English date */
    position: absolute;
    bottom: 2px; /* Adjust position */
    right: 2px; /* Adjust position */
}

/* Additional styles for Nepali date */
.ndp-date a span.nep-day {
    font-size: 15px; /* Larger font size for Nepali date */
    color: #0a6b91; /* Color for Nepali date */
    position: absolute;
    font-weight: bold;
    top: 2px; /* Adjust position */
    left: 2px; /* Adjust position */
}

/* Additional styles for English date */
.ndp-current a span.ad-day {
    font-size: 9px; /* Smaller font size for English date */
    color: #fff !important; /* Lighter color for English date */
    position: absolute;
    bottom: 2px; /* Adjust position */
    right: 2px; /* Adjust position */
}

/* Additional styles for Nepali date */
.ndp-current a span.nep-day {
    font-size: 15px; /* Larger font size for Nepali date */
    color: #fff !important; /* Color for Nepali date */
    position: absolute;
    font-weight: bold;
    top: 2px; /* Adjust position */
    left: 2px; /* Adjust position */
}

.ndp-saturday {
    color: rgb(238, 77, 77) !important; 
  }
/* Additional styles for English date */
.ndp-selected a span.ad-day {
    font-size: 9px; /* Smaller font size for English date */
    color:#567b97;
    position: absolute;
    bottom: 2px; /* Adjust position */
    right: 2px; /* Adjust position */
}

/* Additional styles for Nepali date */
.ndp-selected a span.nep-day {
    font-size: 15px; /* Larger font size for Nepali date */
    position: absolute;
    font-weight: bold;
    color: #0a6b91;
    top: 2px; /* Adjust position */
    left: 2px; /* Adjust position */
}
.ndp-english-months {
    text-align: center;
    font-size: 13px;
    color: #ffffff;
    margin-top: 2px;
}
.ndp-today-link {
    text-align: center;
    margin-top: 5px;
}

.ndp-today-link a {
    color: #0a6b91;
    text-decoration: none;
    font-size: 14px;
}
.faded {
    opacity: 0.3;
}
  .ndp-selected a {
    display: block;
    width: 100%;
    height: 100%;
}
  
  