/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
button:active,
a:focus,
a:active {
    outline: none !important;
    box-shadow: none !important;
}
body {
  margin: 0;
}
.all-wrapper{
  margin-bottom: 80px;
}
article,
aside,
details,
figcaption,
figure,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

a {
  background: transparent;
}
a:active,
a:hover {
  outline: 0;
  
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
  resize: vertical;
  height: 55vh;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* devanagari */
@font-face {
  font-family: "Ek Mukta";
  font-style: normal;
  font-weight: 400;
  src: local("Ek Mukta Regular"), local("EkMukta-Regular"),
    url(https://fonts.gstatic.com/s/ekmukta/v13/mem9YaCmzCuv3KJUDIYTcrgmVA.woff2)
      format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8,
    U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: "Ek Mukta";
  font-style: normal;
  font-weight: 400;
  src: local("Ek Mukta Regular"), local("EkMukta-Regular"),
    url(https://fonts.gstatic.com/s/ekmukta/v13/mem9YaCmzCuv3KJUDIYccrgmVA.woff2)
      format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Ek Mukta";
  font-style: normal;
  font-weight: 400;
  src: local("Ek Mukta Regular"), local("EkMukta-Regular"),
    url(https://fonts.gstatic.com/s/ekmukta/v13/mem9YaCmzCuv3KJUDIYScrg.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
* {
  box-sizing: border-box;
}
b {
  font-weight: 700;
}
body {
  font-family: Ek Mukta;
}
.body-wrapper {
  width: 85%;
  margin: 0 auto;
  /* box-shadow: 0px 0px 80px #c1c1c1; */
}
.Image .widget-content {
  display: grid;
}
.navbar {
  background-color: var(--nbgcolor);
}
div#menu {
  position: relative;
}
.navbar-header {
  display: none;
}
ul.navbar-nav {
  padding-left: 0px;
  margin: 0px;
  position: relative;
  background: black;
  text-align: center;
}

.navbar li {
  padding: 11px 8px;
  list-style: none;
  display: inline-block;
  position: relative;
  margin: 0 -2px;
}

ul.navbar-nav a:visited {
  color: #fff;
}
.navbar li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  display: block;
  height: 100%;
  width: 100%;
  font-weight: 600;
  font-family: khand, san-serif;
}
/*
.navbar-nav li{
border: 1px solid var(--necolor);
background-color:var(--nav_bgcolor_hover);
}
*/
.navbar-nav li :hover{
  color:var(--nav_color_hover) !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}
.navbar-nav li:hover {
  background: var(--nav_bgcolor_hover);
}




div#BlogSearch1 {
  display: none;
}
div#BlogSearch1 {
  position: absolute;
  right: 0;
  background: #ce1126;
  padding: 1.5px;
}
.search-input {
  display: inline-block;
}
input.search-action.flat-button {
  display: none;
  background: #ce1126;
  color: #ffffff;
  border: solid 1px #ce1126;
}
#search-show {
  cursor: pointer;
  color: #ffffff;
  padding: 16px 15px;
  background: #bd2026;
  position: absolute;
  right: 0;
}
/* CSS FOR HEADER IMAGE SECTION */
.header-image {
  background: var(--nevcolor);
  padding-top: 20px;
  background-image: linear-gradient(to bottom, rgba(0, 1, 66, 0.52), rgba(0, 0, 0, 0.73)), url(https://unicode.tamangmadan.com.np/assets/image/banner/main-banner.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.header-image .Image .widget-content {
  display: grid;
  align-items: center;
  align-content: center;
  border-radius: 60px 60px 0 0;
  background: transparent;
  padding: 0 20px;
}

.header-image img {
  border-radius: 60px 60px 0 0;
}

header {
  margin-bottom: 5px;
}



.eman-info {
  margin-bottom: 15px;
  border-bottom: solid 2px var(--necolor);
  margin-right: 10px;
}

span.strong {
  font-weight: 600;
  color: #000;
}


img.tiktok-icon {
  width: 20px;
  filter: brightness(0) invert(1);
}

#view_toggle:hover {
  cursor: pointer;
}
/* CSS FOR SOCIAL ICON IN MENU*/
#view_toggle {
  position: absolute;
  right: 0;
}
#view_toggle a {
  padding: 0;
}
#view_toggle .fa-list {
  display: none;
}

.unicode-wrap {
  position: absolute;
  right: 0;
  display: inline-block;
}
.navbar-nav li.active {
  background: var(--necolor) !important;
}
/* CSS to HIDE UNICOE TO PREETI & ROMAN TO UNICODE ON LOAD */
#unicode_to_preeti_iframe,
#roman_to_unicode_iframe,
#typeshala {
  display: none;
}

.change-grid.active:hover > a {
  color: yellow !important;
}
/**

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 99999999;
  right: 0;
  top: 0;
  overflow: auto;
  background-color: #009445b8;
  max-width: 400px;
  height: auto;
  width: 100%;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #00000078;
  margin: auto;
  padding: 0;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

/* The Close Button */
.close {
  color: white;
  float: right;
  width: 45px;
  height: 45px;
  border: none;
  font-size: 50px;
  font-weight: 500;
  background: var(--npcolor);
  position: relative !important;
  border-radius: 50%;
  cursor: pointer !important;
  transition: all ease-in-out 0.7s;
  display: flex;
  align-items: center;
  justify-content: center;
}
img {
  height: auto;
  max-width: 100%;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  background: var(--necolor);
}

.modal-header {
  padding: 2px 16px;
  color: white;
}


.esn-textarea-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.instruction_text {
  width: 98%;
  text-align: center;
}
/******************
**** More Menu
*******************/
.nepalitheme_menumain
{
  position: absolute;
  left: 0;
  z-index:9;
  display: inline-block;
}
.nepali_moremenu{
  color: #FFF;
}
/******************
**** RESPONSIVE CSS
*******************/
@media (max-width: 768px),
  only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px),
  not all,
  not all,
  not all,
  only screen and (max-width: 1024px) and (min-resolution: 192dpi),
  only screen and (max-width: 1024px) and (min-resolution: 2dppx) {
  #devos {
    grid-template-columns: 1fr !important;
  }
  .trang-grey,
  .trang-green {
    display: none;
  }
}
@media (max-width: 450px) {
  #devos {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 768px),
  only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px),
  not all,
  not all,
  not all,
  only screen and (max-width: 1024px) and (min-resolution: 192dpi),
  only screen and (max-width: 1024px) and (min-resolution: 2dppx) {
  #devos span {
    text-align: center !important;
  }
 

  .grid-switch {
    padding: 5px;
    border-top: solid 1px #fff;
  }
  .slogan-wrap {
    flex-direction: column;
    text-align: center;
  }

  .spcl_character p {
    border-radius: 0 !important;
    justify-content: center;
  }
}
@media (max-width: 450px) {
  #devos span {
    text-align: center !important;
  }
}
@media only screen and (max-width: 768px) {
  #HTML114 {
    font-size: 22px;
    padding-top: 20px;
  }
  .header-image img {
    border-radius: 25px 25px 0 0;
  }
  .header-image .Image .widget-content {
    border-radius: 25px 25px 0 0 !important;
  }

}
@media only screen and (max-width: 768px) {
  div#HTML115 {
    grid-column: span 3;
    text-align: center;
    font-size: 16px;
  }
}
@media only screen and (max-width: 768px) {
  div#HTML20 {
    grid-column: span 3;
    text-align: center;
    font-size: 16px;
  }
}

/* STYLING FOR RESPONSIVE NAV BAR*/
@media only screen and (max-width: 768px) {
  .navbar-toggle::before {
   content: "\f0c9";
    font-family: "fontAwesome";
    font-weight: 700;
    color: #FFF;
    padding: 5px 10px;
    font-size: 24px;
    background: var(--nbgcolor);
    cursor: pointer;
    border-radius: 0px 0px 12px 0px;
    position: fixed;
    top: 0px;
    left: 0px;
    border-right: 1px solid var(--nbgcolor);
    border-bottom: 2px solid var(--nbgcolor);
    z-index: 9999;
    
  }
   .navbar-header::after {
    content: "\f0c9";
     font-family: "fontAwesome";
    font-weight: 700;
    color: #FFF;
    padding: 5px 10px;
    font-size: 24px;
    background: var(--nbgcolor);
    cursor: pointer;
    border-radius: 0px 0px 12px 0px;
    
    top: 0;
    left: 0;
    border-right: 1px solid var(--nbgcolor);
    border-bottom: 2px solid var(--nbgcolor);
    
  }
  .navbar-header.nepalifixed::after {
      opacity: 1;
      z-index: 99999;
    }
  #view_toggle{
    display: none;
  }

  .unicode-wrap {
    position: unset;
    display: block;
  }
  .nepalitheme_menumain{
   position: fixed;
    right: 0px;
    top: 8%;
    z-index: 9999;
    background: var(--nav_bgcolor_hover);
    width: 40px;
    height: 40px;
    border-radius: 0px 12px 12px 0px;
    padding: 0px;
    text-align: center;
    overflow: hidden;
  }
  .nepalitheme_menumain .nepali_moremenu a{
    font-size: 20px !important;
    line-height: 1 !important;
  }
}
@media only screen and (max-width: 768px) {
  .navbar-header {
    padding-top: 5px;
    display: block;
  }

  .navbar {
    background-color: var(--npcolor);
  }
  .main {
    box-shadow: none !important;
  }

  .header-image .Image .widget-content {
    border-radius: 25px 25px 0 0 !important;
  }

  .header-image img {
    border-radius: 25px 25px 0 0;
  }

  .navbar li {
    display: block;
  }
}
@media only screen and (max-width: 768px) {
  button.navbar-toggle.collapsed,
  #search-show {
    display: none;
  }
   ul.navbar-nav{
    display: block;
    height: 100vh;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 99;
    padding-top: 14px;
    background: red;
    overflow: hidden;
    box-shadow: rgb(34 96 191 / 24%) 0 0 48px;

  }
}
@media only screen and (max-width: 768px) {
  div#BlogSearch1 {
    width: 100%;
    display: none;
  }
}
@media only screen and (max-width: 768px) {
  div#BlogSearch1 form {
    display: grid;
    grid-template-columns: 5fr auto;
  }
}
@media only screen and (max-width: 768px) {
  input.search-action.flat-button {
    display: inline-block;
  }
}
@media only screen and (max-width: 768px) {
  .search-input input {
    line-height: normal;
    width: 100%;
  }
  .textarea-wrapper {
    grid-template-columns: 1fr !important;
  }
}
@media only screen and (max-width: 1024x) {
  ul.navbar-nav {
    padding-left: 10px;
  }
}
@media only screen and (max-width: 1024x) {
  button.navbar-toggle.collapsed,
  #search-show {
    display: none;
  }
  ul.navbar-nav{
    display: block;
    height: 100vh;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 99;
    padding-top: 14px;
    background: black;
    overflow: hidden;
    box-shadow: rgb(34 96 191 / 24%) 0 0 48px;

  }
}
@media only screen and (max-width: 1024x) {
  .navbar li {
    display: block;
    border-bottom: dotted 1px #a29f9f;
  }
}
@media only screen and (max-width: 1200px) {
  .body-wrapper {
    width: 100%;
  }
}
/** CSS FOR TYPESHALA IFRAME **/
#typeshala {
  height: 600px;
}
/* CSS FOR MASTHEAD*/
.header-image .Image .widget-content a {
  display: flex;
}
/* MISC CSS */
div#preeti-to-unicode {
  display: grid;
}
/* FOR RESIZEABLE IFRAME*/
.ui-resizable-helper {
  border: 1px dotted gray;
}
.resizable {
  display: block;
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
}
iframe {
  width: 100%;
  height: 100%;
}
/* Custom Css for Site Layout Ends Here*/
.nepalitheme_roman input{
  color: #c50606;
  background: #FFF;
  border-radius: 4px;
  user-select: none;
}
/* CSS */
.nepalitheme_preeti_download a {
   text-decoration: none;
  align-items: center;
  background-color:#16437E;
  border: 0;
  border-radius: 100px;
  box-sizing: border-box;
  color: var(--nav_color_hover);
  cursor: pointer;
  display: inline-flex;
 font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 20px;
  max-width: 480px;
  min-height: 40px;
  min-width: 0px;
  overflow: hidden;
  padding: 0px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  touch-action: manipulation;
  transition: background-color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, box-shadow 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s, color 0.167s cubic-bezier(0.4, 0, 0.2, 1) 0s;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
}

.nepalitheme_preeti_download a:hover,
.nepalitheme_preeti_download a:focus { 
   color: var(--nav_color_hover);
  background: var(--nevcolor);
}

.nepalitheme_preeti_download a:active {
   color: var(--nav_color_hover);
  background: var(--nevcolor);
}
/*-------------------Notice Start-----------*/
.footer_notice_nepalitheme{
  padding: 20px 30px;
  background: #eaeaea;
  border-radius: 12px;
}
.footer_notice_nepalitheme .notice_underline p{
  font-size: 16px;

}
.footer_notice_nepalitheme .notice_underline .notice_nepthemecode{
  color: rgb(2, 95, 41);
  font-size: 16px;
  font-weight: bold;
  text-decoration: underline;
}
.footer_notice_nepalitheme .notice_underline p i{
  color: rgb(255, 0, 0);
  font-size: 16px;
  font-weight: bold;
}
.footer_notice_nepalitheme .notice_underline ol
{
  counter-reset: listCount; 
        list-style-type: none;
        padding: 10px;
}

.footer_notice_nepalitheme .notice_underline ol li::before {      
        counter-increment: listCount; 
        content: counter(listCount); 
        width: 1.5em;
        height: 1.5em;
        margin-right: 10px;
  background-color: var(--nbgcolor);
  color: #fff;
  border-radius: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center

}
.direct_contact {
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
}
.direct_contact .down-contact{
  background: var(--nbgcolor);
  color: #FFF;
  width: 26px;
  padding: 5px;
  text-align: center;
  height: 26px;
  font-size: 16px;
  border-radius: 100%;
  cursor: pointer;
}
/*-----------------Notice Ends--------------*/
footer{
  position: fixed;
  bottom: 0px;
  background: #000000;
  left: 0px;
  text-align: center;
  right: 0px;
  color: #FFF;
}
.development_part{
font-size: 17px;
margin: auto;
}
.development_part span:nth-of-type(1){
  color: #000;
}
.development_part span:nth-of-type(2){
  color: #ce1126;
}
.development_part span:nth-of-type(3){
  color: #041450;
}

.social-box{
width:auto;
padding:5px;
}
.social-box ul{
list-style-type:none;

}
.social-box ul li{
 display:inline-block;
 width: 30px;
  height: 30px;
  margin-left: 10px;
 border-radius:100%;
 
 
}
.social-box ul li a{
text-decoration:none;
color:#fff;
padding-top: 2px;
  font-size: 16px;
  display: block;
-webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
 
}

/*======= Multiple Hover For Multiple brands=======*/ 
.social-box ul .fb{
background:#3b5998;
color:#fff;
-webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.social-box ul .google{
  color: #fff;
  background: linear-gradient(#400080, transparent), linear-gradient(200deg, #d047d1, #ff0000, #ffff00);
  -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.social-box ul .insta{
background:#0e76a8 ;
color:#fff;
-webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.social-box ul .pin{
background:#FF0000 ;
color:#fff;
-webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.social-box ul .twitter{
background:#070707 ;
color:#fff;
-webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.social-box ul .whatsapp{
background:#075e54 ;
color:#fff;
-webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.social-box ul .gmail{
background:#FFF ;
-webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.open-button{
text-decoration:none;
}
.button_icon{

color:#fff;
padding:5px 7px;
margin-right:20px;
}
/*marquee---------*/
 .marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-radius: 50px;
    margin-bottom: 10px;
  }
.marquee-container .nepalitheme_unicodeletter{
  position: relative;
  background: #08047b;
  z-index: 999;
  padding: 10px;
  font-size: 18px;
  color: #FFF;

}
  .marquee-track {
    display: inline-block;
    animation: marquee 40s linear infinite;
    font-size: 18px;
    color: #222;
    
  }

  .marquee-track:hover {
    animation-play-state: paused;
  }

  .marquee-track span {
    background: #ac0707;
    padding: 0px 10px;
    margin: 0px 5px;
    border-radius: 100px;
    color: #FFF;
    display: inline list-item;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .marquee-track span:hover{
    background: #3c0190;
  }

  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

/*=====Close Cover Here =====*/
.unicode_all_button{
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 5px;
  background: #3498db;
  color: var(--nav_color_hover);
}
.unicode_copy_button{
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 5px;
  background:#000000;
  color: var(--nav_color_hover);
}
.unicode_clear_button{
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 5px;
  background: #000;
  color: var(--nav_color_hover);
}
/*-------------Navbar Overlay---------------------*/
.home_icon_nepaliunicode, .nepalidates{
  display: none;
}
.navbar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: url(https://unicode.tamangmadan.com.np/assets/image/banner/main-banner.png),no-drop;
}

.navbar-overlay.active {
  display: block;
  opacity: 1;
}

/* Fix mobile menu positioning and animation */
@media only screen and (max-width: 768px) {
  
  .nepalidates{
    display: block;
    position: absolute;
    bottom: -5px;
    right: 0px;
    left: 0px;
    text-align: center;
    margin: auto;
    font-size: 21px;
    color: #107e00;
  }
  
  /* Hamburger button fix */
  .navbar-header {
    position: relative;
    display: inline-block;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),url(https://unicode.tamangmadan.com.np/assets/image/banner/main-banner.png);
    background-size: auto, 85% 90px;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 90px;
  }
  
  .navbar-toggle {
    border: none;
    cursor: pointer;
    border-radius: 0 0 12px 0;
    color: var(--nevcolor);
    font-size: 25px;
    display: block;
    background: transparent;
  }
  .home_icon_nepaliunicode{
   display: inline-block;
    color: #FFF;
    padding: 0px 10px;
    font-size: 22px;
    background: #000;
    cursor: pointer;
    border-radius: 0px 0px 0px 12px;
    position: absolute;
    top: 0px;
    right: 0px;
    border-left: 1px solid #fdfffd;
    border-bottom: 2px solid #fff;
    z-index: 9999;
}
  
  /* Mobile menu styles */
  ul.navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    max-width: 320px;
    height: 100vh;
    background: black;
    flex-direction: column;
    padding-top: 20px;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    display: block;
    z-index: 999999;
    padding-bottom: 20px;
  }
  
  ul.navbar-nav.active {
    right: 0;
  }
  
  /* Mobile menu items */
  .navbar li {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin: 0;
    padding: 0;
  }
  
  
  /* Close button for mobile menu */
  .mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    padding: 10px;
    display: block;
  }
  
  .mobile-menu-close:hover {
    color: #ccc;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
      
  /* Ensure navbar header shows properly */
  button.navbar-toggle.collapsed {
    display: block;
  }
}

/* Prevent menu from showing on desktop when accidentally activated */
@media only screen and (min-width: 769px) {
  ul.navbar-nav {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    flex-direction: row !important;
    padding-top: 0 !important;
    box-shadow: none !important;
    overflow-y: visible !important;
  }
  
  
  .navbar-overlay {
    display: none !important;
  }
  
  .mobile-menu-close {
    display: none !important;
  }
  
  body.menu-open {
    overflow: auto;
  }
}