html, body {
    scroll-behavior: revert !important;
}
 body {
	margin: 0;
	padding-top: 56px;
	padding-top: 200px;
}
body.home {
    background-image: url('assets/img/Smurfs_Village.jpg');
    background-image: url('assets/img/Smurfs_Village.webp');
    background-size: cover;
    background-color: #ebebeb;
    background-blend-mode: overlay;
    background-attachment: fixed;
    background-position: center;
}
.home .bg-secondary.upper-div {
    --bs-bg-opacity: 0.65;
}
body.notice-active {
	padding-top: 250px;
}
.a_link {
    color:#555 !important;
}
.a_link_active {
    background-color: #4B6CB7;
    color: #fff !important;
}
.main .container #dataTable {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.main-heading {
    font-size: 26px;
}
/** Social share css **/
.social-icons .social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  color: #fff;
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-icons .social-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Brand colors */
.facebook { background: #1877f2; }
.twitter  { background: #000000; }
.linkedin { background: #0a66c2; }
.whatsapp { background: #25d366; }

/** social share css ends **/

.notice-board {
    --bs-border-opacity: 0.5;
    --bs-bg-opacity: 0.2;
    background: #fdf5fd;
    background-color: rgba(var(--bs-info-rgb),var(--bs-bg-opacity));
    background-color: rgb(151 227 243 / 75%);
    border: 2px solid #ffffff;
    border-left: 4px solid rgba(var(--bs-primary-rgb),var(--bs-border-opacity));
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 18px;
    min-height: 316px;
}
.notice-board h3 {
    margin-top: 0;
    font-size: 20px;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}
.notice-board .subtitle {
    font-size: 18px;
}
.notice-list{
  padding-left: 1.5rem;
}
.notice-text {
    font-size: 16px;
}
.notice-list li{
    padding-bottom: 5px;
}
.notice-list li a{
    text-decoration: none;
    color: #000;
    word-break: break-word;
}
.notice-board.main-notice-board-div h3 {

}
.notice-list li button{
    text-decoration: none;
    color: #000;
    word-break: break-word;
    outline: none;
    border: none;
    background: no-repeat;
    padding: 0;
}
.notice-board.bottom-boxes{
    background: #e8f5ff;
    border-left: 4px solid #007acc;
    min-height: 266px;
}
.ad-banner {
    background: #e8f5ff;
    border-left: 4px solid #007acc;
    padding: 15px;
    border-radius: 6px;
    /* min-height: 324px;*/
}
.ad-banner h3 {
    margin-top: 0;
    font-size: 23px;
    margin-bottom: 15px;
    font-weight: 700;
}
.ad-banner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ad-banner ul li {
  margin: 8px 0;
}
.ad-banner ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ad-banner ul li a:hover {
    color: #007acc;
}
.ad-banner ul li a i{
    color: #000;
    font-size: 20px;
    padding-right: 10px;
}
.tobuy-outer .form-group{
    margin-bottom:15px;
}
.buy-heading{
    text-align: center;
    margin-bottom: 20px;
}
.tobuy-outer .buy-heading i{
    font-size: 80px;
    padding-bottom: 0px;
    display: block;
    color: green;
}
.buy-heading h5{
    font-size: 25px;
}
.buy-heading h6{
    font-size: 18px;
}
.checkout-heading h4{
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 13px;
    border-bottom: solid 1px #f1f1f1;
}
.checkout-heading h4.last-child{
    border-bottom: none;
}
.pay-btn{
    border: none;
    padding: 11px 39px;
    font-size: 19px;
    background: #069746;
    color: #fff;
    text-align: center;
    /* margin: auto; */
    width: 100%;
    margin: 10px 0 18px;
}
.topay-outer .form-group p{
    padding: 10px 25px;
    border: solid 1px #ccc;
    border-radius: 30px;
}
.topay-outer .form-group .form-label {
    margin-bottom: .5rem;
    font-weight: 600;
}
.topay-outer .form-group {
    text-align: center;
}
.pay-btn:hover{
    background: #2e4679;
    color: #fff;
}
.bottom-msg{
    padding-top: 10px;
    text-align: center;
}
.bottom-msg p{
    position: relative;
    font-size: 18px;
    font-weight: 600;
}
.bottom-msg p:before{
    position: absolute;
    content: "";
    top: 16px;
    left: 0;
    width: 44%;
    height: 1px;
    background: #ccc;
}
.bottom-msg p:after{
    position: absolute;
    content: "";
    top: 16px;
    right: 0;
     width: 44%;
    height: 1px;
    background: #ccc;
}
.upper-div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dropdown-menu li {
    position: relative;
}
.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}
.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}
.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}
.top-right-btns{
    display: flex;
    gap: 11px;
    padding: 0 10px 0 20px;
}
.btn-top{
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    padding: 0px 13px;
    height: 75px;
    background: transparent;
    border-right: solid 1px #838c95c2;
    /*border-left: solid 1px #838c95c2;*/
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-top:hover{
    background: #79828b;
}

.top-subscribe-btn{
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    background: #3a5798;
    padding: 16px 24px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    outline: none;
    border: none;
    top: 10px;
    position: relative;
}
.upper-div h1{
    font-size: 2rem;
    padding: 0 20px;
    height: 75px;
    line-height: 73px;
}

/** navbar css **/
.first_nav{
    gap: 1rem;
    flex-wrap: wrap;
}
.navbar-custom {
    background: linear-gradient(90deg, #4b6cb7, #182848); /* Gradient background */
}
.navbar-brand {
    font-weight: bold;
    color: #fff !important;
}
.navbar .nav-link {
    margin-right: 7px;
}
.navbar .nav-link, .navbar-nav .dropdown-menu .nav-link {}
.nav-link, .dropdown-menu .nav-link {
    color: #f1f1f1;
    text-transform: lowercase;
}
.nav-link:first-letter,
.dropdown-menu .nav-link:first-letter {
    text-transform: capitalize;
}
.nav-link:hover {
    color: #ffc107;
}
.dropdown-menu {
    background-color: #182848;
}
.dropdown-item {
    color: #f1f1f1;
}
.dropdown-item:hover {
    background-color: #4b6cb7;
    color: #fff;
}
.form-control {
    border-radius: 20px;
}
.btn-outline-light {
    border-radius: 20px;
}
.navbar-nav .active > .nav-link,
.navbar-nav .nav-link.active {
    font-weight: bold;
    color: #ffc107 !important;
    border-bottom: 2px solid #ffc107;
}
.dropdown-menu .dropdown-item.active {
    background-color: #4b6cb7;
    color: #fff !important;
    font-weight: bold;
}

.nav-loggedin .dropdown-menu {
    min-width: 250px;
}
.nav-loggedin .nav-link {
    text-transform: inherit;
    margin-right: inherit;
}
/* Optional: Highlight dropdown toggle when a child is active */
.navbar-nav .nav-item.dropdown.active > .nav-link {
    color: #ffc107 !important;
    font-weight: bold;
}
/** navbar css ends **/

.collapseable-content{
    display: flex;
    flex-direction: column;
}

.collapseable-content-inner{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}
hr {
    opacity: 0.1 !important;
}
.collapseable-content-inner p, .collapseable-content-inner h5, .collapseable-content-inner2 p{
    margin: 0;
    padding-bottom: 4px;
}
.report-table thead tr th{
    color: #fff;
}
.flag-container img {
    width: 32px;
    height: 24px;
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.flag-container img:hover {
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
span.select2.select2-container.select2-container--default {
    display: block;
}
.select2 ~ .select2-container .select2-search--inline .select2-search__field {
    /* border: var(--bs-border-width) solid var(--bs-border-color); */
    /* padding: .375rem .75rem; */
    height: 27px;
    /* border-radius: 20px; */
}
.cusrsor-pointer {
    cursor: pointer;
}
.theme-primary {
    background-color: #2c4375;
}
.note-btn-group .note-btn:not(.active) {
    background: #fff;
}
#authTab .nav-link:not(.active) {
    background: #f3f3f3;
}
.label-content img {
    width: 500px !important;
    height: auto !important;
    max-width: 100%;
}
.sidebar {
	width: 240px;
	height: calc(100vh - 150px);
	background-color: #f8f9fa;
	padding: 1rem;
	position: fixed;
	top: 56px;
	top: 200px;
	bottom: 40px;
	overflow-y: auto;
}
.notice-active .sidebar {
	top: 235px;
}
.main {
	min-height: 450px;
    min-height:650px;
	padding: 20px;
}
body.admin .main { margin-left: 240px; }
body.admin .navbar-custom {
    bottom: 20px;
}
.footer {
   /*  position: fixed; 
      bottom: 0;
      width: 100%;
      height: 90px;
      background-color: #343a40;
      color: white;
      text-align: center;
      line-height: 40px;
      margin-top: 40px;
    */
    padding: 5px 0;
    text-align: center;
    bottom: 0;   
    background-color: #343a40;
    color: white;
    text-align: center;
    line-height: 30px;
    margin-top: 10px;
    margin-top:50px;
}
.bg-dark{
    background-color: #495057 !important;
}
.login-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background: white;
    bottom: 30px
}
.container{
    min-height: 450px;
}
table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th, .theme-bg-heading {
    background: linear-gradient(90deg, #4b6cb7);
    color: white; 
}
tr:hover {
    background-color: #f1f1f1;
}
.pagination {
    text-align: center;
    margin-top: 20px;
}
.pagination a {
    margin: 0 5px;
    padding: 8px 12px;
    background: grey;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
.pagination a.active {
    background: #0056b3;
    font-weight: bold;
}
.pagination a:hover {
    background: #0056b3;
}
#result { border: 1px solid #ccc; max-height: 200px; overflow-y: auto; }
.item { padding: 5px; cursor: pointer; }
.item:hover { background: #f0f0f0; }
.password-wrapper {
    position: relative;
    /*display: inline-block;*/
}
.password-wrapper input {
    padding-right: 30px;
}
.toggle-eye {
    position: absolute;
    right: 8px;
    top: 68%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}
.btn-primary{
    background:linear-gradient(90deg, #4b6cb7);
    border-color: linear-gradient(90deg, #4b6cb7);
}

/** Sidebar css **/
.sidebar {
    width: 250px;
    background-color: #084c8f;
    color: white;
    flex-shrink: 0;
    height: 100vh;
}
.sidebar a {
    color: #adb5bd;
    color: #fff;
    text-decoration: none;
    border-radius: 0 !important;
}
.sidebar a:hover, .sidebar a:focus {
    background-color: #495057;
    color: white;
    background: #fff;
    color: #000;
    border-radius: 0;
}
.sidebar .nav-link.active {
    background-color: #495057;
    color: white;
    position: relative;
    background: #fff;
    color: #000;
    border-radius: 0;
}
.content {
    flex-grow: 1;
    padding: 20px;
    background-color: #f8f9fa;
}
.offcanvas li.nav-item.active {
    background: #2f3d4b;
}
.offcanvas .nav-link {
    color: #fff;
}
.offcanvas .nav-link.active {
    color: #000;
    background: #fff;
}

/* Mobile styles */
@media screen and (max-width: 767px) {
    .sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    z-index: 1050;
    transition: left 0.3s ease-in-out;
    height: 100%;
    }

    .sidebar.show {
    left: 0;
    }

    .overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 1040;
    display: none;
    }

    .overlay.active {
    display: block;
    }
}
/** sidebar css ends **/

@media only screen and (min-width: 1240px) and (max-width: 1365px) {
  .navbar .nav-link {
    margin-right: 3px !important;
    font-size: 14px;
}
}

/*110% screen of my window*/
@media only screen and (min-width: 1366px) and (max-width: 1399px)  {
.navbar .nav-link {
    margin-right: 3px !important;
}
}
@media only screen and (max-width: 768px) {
    .navbar-nav.align-items-center{
        align-items: baseline !important;
    }
    .navbar-nav .dropdown-menu {
        position: static;
        padding: 12px;
    }
    .top-subscribe-btn {
        top: 0;
        position: relative;
    }

    .btn-top {
        height: auto;
        border-top: solid 1px #838c95c2;
        border-bottom: solid 1px #838c95c2;
        border: solid 1px #838c95c2;
    }
    .top-right-btns {
        display: flex
            ;
        gap: 11px;
        padding: 0 15px;
    }
    .upper-div h1 {
        padding: 0px 16px;
        height: 65px;
        line-height: 60px;
        font-size: 1.2rem !important;
        width: 100%;
    }
    .notice-board, .notice-board.bottom-boxes {
        min-height: auto;
    }

    .upper-div {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 10px;
    }
    .sidebar {
        display: none;
    }

    .main {
        margin-left: 0 !important;
	}

 }