html, body {
   max-width: 100% !important;
   overflow-x: hidden !important;
   margin: 0;
   padding: 0;
}

/* Dark Mode Styles for Bootstrap Col */
.dark-mode .col,
.dark-mode [class*="col-"] {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
}

/*accordion style start-------------------*/
   ul .sub-menu {
      float: left !important;
      padding: .5rem !important;
      font-size: 1rem !important;
      color: #333333 !important;
      text-align: left !important;
      border: none !important;
   }

   .sub-menu .menu-item {
      padding-bottom: 10px;
   }

   .sub-menu li a {
      color: white;
   }

   .sub-menu li a:hover {
      color: #ff0000 !important;
   }

   .nav.flex-column .accordion-button {
      width: 250px;
      padding: 6px 12px;
      font-size: 0.9rem;
   }

   @media (max-width: 1000px) and (orientation: landscape) {
      .nav.flex-column .accordion-button {
         width: 125px;
      }
   }

   .nav.flex-column .accordion-body {
      width: 250px;
      padding: 6px 12px;
      font-size: 0.9rem;
   }

   @media (max-width: 1000px) and (orientation: landscape) {
      .nav.flex-column .accordion-body {
         width: 125px;
      }
   }

   .accordion.accordion-flush {
      border: 1px solid #333333 !important;
      overflow: hidden !important;
      background-color: #333333 !important;
      text-align: center !important;
   }

   .accordion-item {
      border: none !important;
      padding: 0.5rem !important;
      min-width: 125px !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
   }

   .accordion-header {
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
   }

   .accordion-button {
      background-color: #333333 !important;
      color: #ffffff !important;
      font-size: 1rem !important;
      padding: 0.5rem !important;
      border: none !important;
      min-width: 125px !important;
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      text-align: center !important;
      border-radius: 15px !important;
      padding: 0.5rem 1rem !important;
   }

   .accordion-button:hover,
   .accordion-button:focus {
      background-color: #4d4d4d !important;
   }

   .accordion-collapse {
      background-color: #333333 !important;
      border-top: 1px solid #444 !important;
      width: 100% !important;
      border-radius: 15px !important;
   }
/*accordion style finish-------------------*/

/* Sidebar Styling */
.sidebar-container {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
}

/* Footer Inside Sidebar */

/* Footer Title */
.footer-title {
   font-size: 0.9rem;
   color: #333;
   margin-bottom: 10px;
   text-align: center;
}

/* Footer Email */
.footer-email a {
   color: #ff0000;
   font-weight: bold;
   text-decoration: none;
   font-size: 0.9rem;
}

.footer-email a:hover {
   text-decoration: underline;
}

/* Copyright Section */
.footer-copyright {
   text-align: center;
   font-size: 0.8rem;
   color: #777;
   margin-top: 10px;
   padding: 5px 0;
}

/* Custom styles */
.rounded-button {
    border-radius: 12px;
}
.search-bar {
    border-radius: 25px;
    width: 100%;
    max-width: 300px;
}
/* Ne Fokus Section Styling */
.focus-section {
    position: relative;
    color: black;
    padding: 40px;
    border-radius: 12px;
    overflow: hidden;
    min-height: 650px;
}

.focus-section-content {
    position: relative;
    z-index: 2;
    color: #000;
    word-wrap: break-word;
}

/* Medium screens (tablets) */
@media (max-width: 1024px) {
    .focus-section-content {
        max-width: 400px;
    }
}

/* Small screens (phones) */
@media (max-width: 768px) {
    .focus-section-content {
        max-width: 220px;
    }
}

.focus-section .post-content {
    color: #000;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 1.1rem;
    line-height: 1.6;
}

.post-content:hover h5{
   color: red;
}

.post-content:hover h6{
   color: red;
}

/* Header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.social-icons {
    margin-right: 15px;
}
.search-container {
    flex: 1;
    max-width: 300px;
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}
.dark-mode .bg-light {
    background-color: #1e1e1e !important;
}
.dark-mode .btn-dark {
    background-color: #333333 !important;
    color: #ffffff;
    border: none;
}
.dark-mode .btn-secondary {
    background-color: #444444;
    color: #ffffff;
}
.dark-mode .footer,
.dark-mode .text-muted {
    color: #b3b3b3;
}
.dark-mode .focus-section-content h2,
.dark-mode .focus-section-content p {
    color: #ffffff;
}
.dark-mode hr {
    border-color: #444444;
}
.dark-mode a {
    color: #ffffff !important;
}
.dark-mode .date-text {
    color: #ff5c5c;
}

/* Dark Mode for Sidebar and Footer */
.dark-mode .bg-white {
    background-color: #1e1e1e !important;
    color: #e0e0e0;
}
.dark-mode .footer h5, .dark-mode .footer small {
    color: #b3b3b3;
}

.social-icons a, .social-icons span {
    margin: 0 3px;
    font-size: 1.2em;
}

/* Dark Mode - Social Media Icons */
.dark-mode .social-icons a i {
    color: #ffffff !important;
}

.search-container {
    position: relative;
}

.search-bar {
    padding-right: 2.5rem;
    border-radius: 25px;
    width: 100%;
    max-width: 300px;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 1rem;
}

/* Next Article */

/*
.next-article-preview {
   position: relative !important;
   bottom: 20px;
   right: 20px;
   z-index: auto !important;
   background: #ff0000;
   color: #fff;
   border-radius: 12px;
   overflow: hidden;
   width: 160px;
   height: 220px;
   box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
   transition: transform 0.2s ease-in-out;
}
*/

.next-article-preview-wrapper {
   display: flex;
   justify-content: flex-end;
   padding: 1rem;
   margin-left: auto;
   width: 100%;
}


.next-article-preview {
   background: #ff0000;
   color: #fff;
   border-radius: 12px;
   overflow: hidden;
   width: 160px;
   height: 220px;
   box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
   transition: transform 0.2s ease-in-out;
}

.next-article-preview:hover {
   transform: scale(1.05);
}

.next-article-link {
   display: flex;
   flex-direction: column;
   width: 100%;
   height: 100%;
   text-decoration: none;
   color: inherit;
}

.next-article-thumbnail {
   flex-shrink: 0;
   width: 100%;
   height: 130px;
   overflow: hidden;
   border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.next-article-thumbnail img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

.next-article-content {
   padding: 10px;
   text-align: center;
   flex: 1;
}

.next-article-title {
   font-size: 0.85rem;
   font-weight: bold;
   line-height: 1.3;
   margin-bottom: 0;
   color: white;
}

/* Category Page Styling - Smaller Cards Without Borders */

.card-fixed-size {
   position: relative !important;
   border-radius: 12px !important;
   overflow: hidden !important;
   height: 300px !important;
   display: flex !important;
   flex-direction: column !important;
   justify-content: space-between !important;
   border: none !important;
   box-shadow: none !important;
}

/* Background Image */
.card-background {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 0;
}

/* Dark Overlay */
.card-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.6);
   z-index: 1;
}

/* Content inside Card */
.card-body {
   position: relative;
   z-index: 2;
   padding: 12px;
   text-align: center;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   height: 100%;
}

/* Horizontal Divider */
.card-divider {
   width: 40px;
   height: 2px;
   background-color: #ff0000;
   border: none;
   margin: 0 auto 8px;
}

/* Title Styling */
.card-title {
   flex-grow: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
}

.card-title h5 {
   font-size: 1rem;
   line-height: 1.3;
   max-height: 50px;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: normal;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
}

/* "Read More" Button */
.read-more-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   background: #ff0000;
   color: white;
   font-size: 0.8rem;
   font-weight: bold;
   padding: 7px 12px;
   border-radius: 50px;
   text-decoration: none;
   transition: all 0.3s ease-in-out;
   margin-top: auto;
   border: none;
}

.read-more-btn i {
   font-size: 0.9rem;
   transition: transform 0.3s ease-in-out;
}

.read-more-btn:hover {
   background: #cc0000;
   text-decoration: none;
}

.read-more-btn:hover i {
   transform: translateX(4px);
}

.card-body a.text-white {
   transition: color 0.3s ease-in-out;
}

.card-body a.text-white:hover {
   color: #ff0000;
}

.read-more-btn,
.read-more-btn:hover,
.read-more-btn:focus,
.read-more-btn:active {
    color: white !important;
    text-decoration: none !important;
}

.njoftime-card {
   padding: 10px;
   border-bottom: 2px solid #ff0000;
   min-height: 80px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   text-align: left;
}

.njoftime-card h6 {
   font-size: 1rem;
   margin-bottom: 5px;
   white-space: normal;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
}

.njoftime-card div {
   font-size: 0.9rem;
   color: #ff0000;
   font-weight: bold;
}

.njoftime-card:hover h6 {
   color: #ff0000;
}

/* Normal Pagination Styling */
.pagination-container {
   display: flex;
   justify-content: center;
   margin-top: 20px;
}

.pagination {
   list-style: none;
   padding: 0;
   display: flex;
   border-radius: 50px;
   background: transparent;
   padding: 10px 15px;
}

.pagination .page-item {
   margin: 0 5px;
}

.pagination .page-item .page-link {
   color: #ff0000 !important;
   font-weight: bold;
   background: transparent;
   border: 2px solid #ff0000;
   padding: 8px 12px;
   transition: all 0.3s ease-in-out;
}

.pagination .page-item .page-link:hover,
.pagination .page-item.active .page-link {
   background: #ff0000 !important;
   color: white !important;
   border: 2px solid #ff0000;
}

/* Dark Mode Pagination */
.dark-mode .pagination {
   background: transparent !important;
}

.dark-mode .pagination .page-item .page-link {
   color: #ff0000 !important;
   background: transparent !important;
   border-color: #ff0000 !important;
}

.dark-mode .pagination .page-item .page-link:hover,
.dark-mode .pagination .page-item.active .page-link {
   background: #ff0000 !important;
   color: white !important;
   border: 2px solid #ff0000;
}

.pagination .page-item .page-link:focus {
   box-shadow: none;
}


/* Programi Trasparences */

.breadcrumb,
   ul {
      list-style: none
   }

   .tab p,
   .tab1 p,
   .tr-tabs {
      text-align: center
   }

   @media screen and (max-width:1200px) and (min-width:481px) {
      .tab p {
         padding: 0 !important
      }
   }

   @media (min-width:992px) {
      .col-md-12 {
         width: 100%;
         float: left
      }

      .tab p,
      .tab1 p {
         font-weight: 600
      }
   }

   .col-sm-12 {
      flex: 0 0 100%;
      max-width: 100%
   }

   .breadcrumb {
      padding: 8px 15px;
      margin-bottom: 20px;
      background-color: #f5f5f5;
      border-radius: 4px
   }

   .bc {
      text-transform: uppercase;
      background: #fff !important;
      margin-top: 30px
   }

   .tab,
   .tab1 {
      background-color: #fff
   }

   .breadcrumb>li {
      display: inline-block;
      color: #9c9c9c;
      font-size: 11px
   }

   .tab,
   .tab1 {
      color: #375974
   }

   .tab,
   .tab p,
   .tab1,
   .tab1 p {
      font-size: 12px
   }

   .bc li a {
      color: #9c9c9c !important;
      font-weight: 700;
      font-size: 11px;
      font-family: helvetica
   }

   a {
      background-color: transparent;
      text-decoration: none !important;
      color: #ff0000
   }

   a:hover{
      color: #9b1414;
   }

   .breadcrumb>li+li:before {
      padding: 0 5px;
      color: #ccc;
      content: "/\00a0"
   }

   .bc>li+li:before {
      color: #6d6d6d !important;
      content: "\f105 " !important;
      font-family: fontAwesome
   }

   .page-newdeta {
      margin-top: 5px
   }

   p {
      margin: 0 5px 10px 0;
      font-family: Helvetica;
      text-align: justify
   }

   h4 {
      margin-bottom: 4rem
   }

   .tr-tab-1 .tab,
   .tr-tab-2 .tab,
   .tr-tab-3 .tab,
   .tr-tab-4 .tab {
      float: left;
      margin-right: 5px;
      margin-top: 5px
   }

   .tab {
      width: 24%;
      height: 90px;
      border-radius: 10px;
      padding: 5px 4px;
      border: 1px solid #b3b3b3
   }

   .tab1 {
      width: 35%;
      height: 80px;
      border-radius: 10px;
      padding: 20px 10px;
      border: 1px solid #b3b3b3;
      margin: 0 auto
   }

   .myContentsDiv {
      width: 97.5%;
      float: left;
      margin-top: 20px;
      margin-bottom: 20px;
      background-color: #add8e6;
      color: #000;
      border: 1px solid #375974;
      border-radius: 10px;
      padding: 10px;
      text-align: start
   }

   .myContentsDiv a {
      font-weight: 700;
      color: #375974
   }

   @media (min-width:1200px) {
      .container {
         width: 1280px
      }
   }

   @media screen and (max-width:790px) {

      .tab,
      .tab1 {
         width: 49%
      }
   }

   .tab p {
      line-height: initial
   }

   @media only screen and (max-device-width:667px) and (-webkit-min-device-pixel-ratio:2) {
      h4 {
         font-size: 22px
      }
   }

   @media screen and (min-width:579px) {
      .tab p {
         text-align: center;
         position: relative;
         top: 50%;
         -ms-transform: translateY(-50%);
         -webkit-transform: translateY(-50%);
         transform: translateY(-50%)
      }

      .tab1 p {
         margin-top: -10px !important
      }
   }

   .tab1:hover,
   .tab:hover {
      cursor: pointer;
      background-color: #001f3f;
      color: #fff
   }

   .focused {
      background-color: #001f3f;
      color: #fff
   }

   @media screen and (min-width:400px) and (max-width:578px) {
      .copy {
         width: 80% !important;
         margin: 0 auto !important
      }
   }

   @media screen and (max-width:399px) {
      .copy {
         width: 100% !important;
         margin: 0 auto !important
      }
   }

   @media screen and (max-width:578px) {
      .tr-tabs {
         text-align: center;
         display: inline-block
      }

      .tab p,
      .tab1 p {
         font-weight: 600
      }

      .myContentsDiv p,
      .myContentsDiv ul,
      .tab p {
         font-size: 12px !important
      }

      .tr-tab-1 .tab,
      .tr-tab-2 .tab,
      .tr-tab-3 .tab,
      .tr-tab-4 .tab {
         margin-right: 5px;
         margin-top: 5px
      }

      .tab1,
      .tr-tab-1 .tab,
      .tr-tab-2 .tab,
      .tr-tab-3 .tab,
      .tr-tab-4 .tab {
         width: 100%;
         margin-left: 0;
         height: fit-content;
         border-radius: 10px;
         font-size: 12px;
         padding: 20px;
         margin-bottom: 10px
      }

      .myContentsDiv ul {
         margin-left: -40px !important
      }
   }

   .accessibility__contrast .tab,
   .accessibility__contrast .tab1 {
      background-color: #4d4d4d;
      border: 1px solid #4d4d4d;
      color: #fff
   }

   .accessibility__contrast .myContentsDiv {
      background-color: #282828;
      border: 1px solid red;
      color: #fff
   }

   .accessibility__contrast .myContentsDiv a {
      color: #fff
   }

   .accessibility__contrast .focused,
   .accessibility__contrast .tab1:hover,
   .accessibility__contrast .tab:hover {
      background-color: red;
      border: 1px solid #fff
   }
