/* General resets and default styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: lato, sans-serif;
}


/* Body and HTML styling */

body {
    background-color: #F6F8FC;
    transition: background-color 0.4s ease, color 0.4s ease;
}

html {
    scroll-behavior: smooth;
}


/* Container styles */

.content {
    padding: 70px;
    width: 70vw;
    max-width: 1400px;
}

@media only screen and (max-width: 1800px) {
    .content {
        width: 80vw;
    }
}

.content:nth-child(1):nth-last-child(n+2) {
    max-width: 300px;
}

.content:nth-child(2) {
    margin: auto;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.issue-container {
    display: flex;
    flex-direction: row;
}

/* Smooth transition and search bar styling */

.navbar-search {
    max-width: 200px;
    /* Initial max width when hidden */
    display: none;
    /* Initially hidden */
    transition: max-width 0.6s ease, opacity 0.6s ease;
    /* Smooth transition for width and opacity */
    opacity: 0;
    /* Start with opacity 0 */
}

.navbar-search.show {
    display: inline-block;
    /* Display when the show class is added */
    max-width: 300px;
    /* Expand width when showing */
    opacity: 1;
    /* Fade in */
}

.navbar .search-container {
    position: relative;
}

/* Search icon and bar styles */

.search-icon {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 20px;
}

.search-icon:hover {
    color: #4d4e75;
}

.navbar-search {
    max-width: 0;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-search.show {
    max-width: 300px;
    opacity: 1;
}

.search-input {
    margin-top: 5px;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 12px;
    width: 200px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-button {
    padding: 8px 16px;
    background-color: #1b264f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.search-button:hover {
    background-color: #4d4e75;
}

.navbar-search input[type="text"] {
    width: 100%;
    padding: 5px;
    /* Adjust based on your design */
    box-sizing: border-box;
}

/* Additional styling for navbar to ensure proper alignment */

.navbar {
    z-index: 9999999;
        background-color: #1b264f;
    color: #fff;
    position: relative;
    /* Ensure positioning context for absolute elements */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
  border-bottom: 8px solid #f5c1bc;
}

/* Container for navigation links */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    position: relative;
    align-items: center;
    /* Relative position for the search form */
}

a {
    transition: color 0.4s ease, background-color 0.4s ease;
}

.linkContainer {
    text-align: right;
    z-index: 9999999;
}

.linkBtn {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
}

.linkBtn:hover {
    background-color: #4d4e75;
    border-radius: 4px;
}


/* Dropdown menu styling */

.subSection {
    list-style-type: none;
    padding: 0;
    position: absolute;
    background-color: #1b264f;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
    display: none;
}

.linkContainer:hover .subSection {
    display: block;
}
.subSection a:hover{
background-color: #4d4e75;
}

.subSection li {
    padding: 10px 0;
}

.subSection a {
    text-decoration: none;
    color: #fff;
    display: block;
    padding: 8px 15px;
    transition: background-color 0.3s ease;
    width: 250px;
    text-align: left;

}
/* Boxy styles */

.boxy-wrapper {
    position: relative;
    margin: 20px 0;
}


/* Default style for .boxy */

.boxy {
    display: block;
    margin: 1rem;
    text-decoration: none;
    color: #1b264f;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s;
}


/* Apply scale on hover */

.boxy:hover {
    transform: scale(1.03);
    cursor: pointer;
}


/* Ensure the boxy div does not scale when details is open */

.boxy:has(details[open]):hover {
    transform: none;
    cursor: default;
}

.boxy .nodeName {
    justify-content: flex-start;
}


/* Ensure summary marker is hidden across different browsers */

summary::-webkit-details-marker {
    display: none;
    /* WebKit browsers (Chrome, Safari) */
}


/* For Firefox */

summary::marker {
    display: none;
    /* Firefox */
}

summary {
    appearance: none;
    -webkit-appearance: none;
    list-style: none;
    position: relative;
    padding-left: 20px;
    /* Adjust if necessary */
}

summary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 100%;
    background-color: inherit;
    z-index: 1;
}




        .dark-mode-switch {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .dark-mode-switch i {
            color: white;
            font-size: 16px;
            margin: 0 10px;
            transition: color 0.3s ease;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #F6F8FC;
            transition: .4s;
            border-radius: 50px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 2px;
            bottom: 2px;
            background-color: #1b264f;
            border-radius: 50%;
            transition: .4s;
        }

        input:checked + .slider {
            background-color: #121829;
        }

        input:checked + .slider:before {
            transform: translateX(26px);
        }
        .homeLogo{
            color: #fff;
        }

/* Ensure the content within boxy remains styled */

.boxy h1,
.boxy p {
    margin: 0;
    color: inherit;
}

.container2 {
    max-width: 60vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    margin: 40px auto;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9e9eb;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    padding: 20px 0;
}


#myBtn {
    content: "\f062";
    display: block;
    height: 50px;
    width: 50px;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #1b264f;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    opacity: 0;
    transition: .5s opacity;
}

#myBtn:hover {
    background-color: #4d4e75;
}

#myBtn::before {
    font-family: "Font Awesome 5 Free";
    content: "\f062";
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

#myEditBtn {

z-index: 9999 !important; /* Force it above everything */
    content: "\f062";
    display: block;
    height: 50px;
    width: 50px;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #1b264f;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
        transition: bottom 0.3s ease; /* Smooth transition for bottom property */
}

#myEditBtn:hover {
    background-color: #4d4e75;
}

#myEditBtn::before {
    font-family: "Font Awesome 5 Free";
    content: "\f304";
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.editIssueBtn{
    display: flex;
    align-items: right;
    justify-content: right;
    }

#myEditBtnIssue{
z-index: 9999 !important; /* Force it above everything */
    display: block;
    height: 50px;
    width: 50px;
    border: none;
    outline: none;
    background-color: #1b264f;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
        transition: bottom 0.3s ease; /* Smooth transition for bottom property */
}

#myEditBtnIssue::before {
    font-family: "Font Awesome 5 Free";
    content: "\f044";
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode #myEditBtnIssue{
     background-color: #fff;
     color:#1b264f ;
     }



/* accessbility button*/

#myAccessibilityBtn {
        position: fixed;
z-index: 9999 !important; /* Force it above everything */
    content: "\f062";
    display: block;
    height: 50px;
    width: 50px;
    position:    fixed;
    bottom: 20px;
    right: 30px;
    border: none;
    outline: none;
    background-color: #1b264f;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
        transition: bottom 0.3s ease; /* Smooth transition for bottom property */
}

#myAccessibilityBtn:hover {
    background-color: #4d4e75;
}

#myAccessibilityBtn::before {
    font-family: "Font Awesome 5 Free";
    content: "\f29a";
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

#accessibilityMenu {
  position: fixed;
  bottom: 140px;
  right: 30px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 10px;  
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.accessibility-menu-item {
  background-color: #1b264f;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
}

.accessibility-menu-item:hover {
  background-color: #4d4e75;
}

.hidden {
  display: none;
  opacity: 0;
  transform: translateY(0);
}


/* accessbility button*/


.home-container {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.introduction {
    margin-top: 40px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 12px 25px rgba(27, 38, 79, 0.1);
}

.recent-updates {
    margin-top: 40px;
    margin-bottom: 40px;
}

.introduction h1,
.recent-updates h2 {
    text-align: center;
    padding: 2rem 0;
    color: #1b264f;
}

.introduction p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #4d4e75;
    padding: 20px;
}

.introduction p span {
    font-weight: bold;
    color: #1b264f;
}

.recent-updates ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.recent-updates li {
    flex: 0 0 30%;
    /* Adjust the width */
    margin-right: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.recent-updates li:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.recent-updates a {
    text-decoration: none;
    color: inherit;
    /* Inherit color from parent */
    display: block;
    height: 100%;
    width: 100%;
}

.recent-updates p {
    margin: 5px 0 0;
    color: #666;
}

.recent-updates strong {
    margin: 5px 0 0;
    color: #1b264f;
}

.nodeName {
    display: flex;
    justify-content: center;
    /* Align items to the left */
    align-items: center;
    gap: 8px;
    /* Space between icon and text */
}

.nodeName h1 {
    font-size: 25px; /* Adjust the font size as needed */
    margin: 0;/* Ensure there is no margin */
    color: #1b264f;
}

.title {
    color: #1b264f;
    /* Change this color to whatever you want */
    text-align: center;
    font-size: 28px;
    /* Adjust size as needed */
    font-weight: bold;
    /* Adjust weight as needed */
    padding: 20px 0;
    /* Adjust padding as needed */
}

.toc {
    width: 300px;
    /* Increased width */
    background-color: #fff;
    /* Same background color as the header */
    color: #fff;
    /* Same text color as the header */
    /*border-right: 1px solid #ddd;*/
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    transition: 0.3s;
    padding: 70px 20px;
    /* Added padding for better spacing */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.toc h2 {
    color: #1b264f;
    text-align: center;
    margin: 58px 0 20px 0;
    /* Spacing between heading and list */
}

.toc ul {
    list-style: none;
    padding: 0;
}

.toc ul li {
    margin: 10px;
}

.toc ul li a {
    text-decoration: none;
    color: #1b264f;
    display: block;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    margin-left: -30px;
    margin-right: -30px;
    /* width: calc(110% + 50px); Extend the width to cover left and right */
}

.toc ul li a:hover {
    background-color: #4d4e759c;
    color: white;
    border-radius: 0;
    /* Remove rounded corners */
}

.toc ul li a.active {
    font-weight: bold;
    background-color: #4d4e759c;
    /* Adjust if needed */
    color: #fff;
    border-left: 4px solid #4d4e75;
    /* Makes it more distinct */
    padding-left: 11px;
}


/* Search form adjustments */

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Space between input and button */
    height: 100%;
    /* Ensure it's centered */
}


/* Style the search input box */

.search-input {
    margin-top: 5px;
    padding: 8px 10px;
    border-radius: 5px;
    /* Slightly rounded corners */
    border: 1px solid #ddd;
    font-size: 12px;
    width: 200px;
    /* Adjust width as needed */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Optional box shadow */
}


/* Style the search button */

.search-button {
    padding: 8px 16px;
    background-color: #1b264f;
    color: white;
    border: none;
    border-radius: 5px;
    /* Match the rounded style of the input */
    cursor: pointer;
    font-size: 16px;
}

.search-button:hover {
    background-color: #4d4e75;
    /* Change color on hover */
}


/* Centering the search form in the navbar */

#search {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Add this to your main stylesheet (mainStylesheet.css) */


/* Add a class for when users explicitly toggle dark mode */

.dark-mode {
    background-color: #121829;
    color: white;
    /* Add other dark mode-specific styles */
}

body.dark-mode {
    background-color: #121829;
    color: #ffffff;
}

body.dark-mode .recent-updates li {
    background-color: #1b264f;
    color: #ffffff;
}

body.dark-mode .introduction {
    background-color: #1b264f;
    color: #ffffff;
}

body.dark-mode a,
body.dark-mode h2,
body.dark-mode strong,
body.dark-mode p,
body.dark-mode h1,
body.dark-mode h3,
body.dark-mode h1 body.dark-mod h4,
body.dark-mode li,
body.dark-mode .toc ul li a{
    color: #fff;
}

body.dark-mode a:hover {
    color: #ffffff;
}

body.dark-mode .navbar {
    background-color: #1b264f;
    color: #ffffff;
}

body.dark-mode .main-container,
body.dark-mode .container2 .issue-container {
    background-color: #121829;
    color: #ffffff;
}

body.dark-mode .boxy {
    background-color: #1b264f;
    color: #ffffff;
    border: 1px solid #000;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

body.dark-mode #myBtn {
    background-color: #1b264f;
}

body.dark-mode .toc {
    background-color: #1b264f;
    color: #ffffff;
}

body.dark-mode .Checklist li {
    color: #ffffff;
}

li {
    color: #000;
}

body.dark-mode li::marker {
    color: #ffffff;
}
body.dark-mode .linkBtn:hover {
    background-color: #4d4e75;
    border-radius: 4px;
}

body.dark-mode .fa-umbraco{
    color: #f5c1bc;
}

.feedback-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.feedback-icon a{
    color: #fff;
    text-decoration: none;
}

.frontpage-search{
    margin: 1rem 3rem 3rem 1rem;
}
.frontpage-search-label{
    outline: none;
    border: none;
    width: 350px;
    height: 50px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 12px 25px rgba(27, 38, 79, 0.1);
}
.frontpage-text{
      text-align: center;
}
.mostvisted-text{
      text-align: center;
      margin: 3rem;
}

.mostvisited-container{
    display: flex;
    justify-content: center;
      align-items: center;
      flex-direction: row;
          text-decoration: none;
}

.mostvisited{
     margin: 1rem;
      display: flex;
      padding: 1rem;
      width: 150px;
      height: 150px;
      justify-content: center;
      align-items: center;
      background-color: #fff;
    flex: wrap;
    color: #000;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: box-shadow 0.3s ease;
        text-decoration: none; 
}

.mostvisited:hover{
    background-color:#f2f2ff;
    transition: 0.3s ease;
}
.mostvisited li{
        text-decoration: none;
      list-style: none;
}

body.dark-mode .mostvisited{
background-color: #1B264F;
    transition: 0.3s ease;

}
body.dark-mode .mostvisited:hover{
background-color: #4d4e75;
}

ul.breadcrumb {
  padding: 10px 16px;
  list-style: none;
}
ul.breadcrumb li {
  display: inline;
  font-size: 18px;
}
ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}
ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}