html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}



.container {
    display: flex;
    /*justify-content: space-between;*/
    /*align-items: flex-start;*/
    margin:20px 20px 0 5px;
}

/*.container {
    position: relative;
}
*/
.contents {
    /*position: fixed;*/
    top: 0;
    left:0;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #ccc;
    padding-right: 20px;
    padding-top:20px;
}

/*.content-data {
    margin-left: 25%;*/ /* Adjust to match the width of contents */
/*}*/

.content-data {
    width: 100%;
    /*padding-left:25%;*/
}

.content-item {
    margin-bottom: 10px;
}

    .content-item a {
        text-decoration: none;
        color: #333;
    }

        .content-item a:hover {
            color: blue;
        }

.subsection {
    padding-left: 20px;
}

.subsubsection {
    padding-left: 20px;
}

.subsubsubsection {
    padding-left: 20px;
}

.contents {
    position: fixed;
    top: 0;
    width: 21%;
    max-height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #ccc;
    padding-right: 20px;
    padding-top: 20px;
    transition: width 0.3s ease;
}

    .contents.collapsed {
        width: 0;
        overflow: hidden;
        display: none;
    }
/* Hide the button by default */
button.toggle-hidden {
    display: none !important;
}
.close-button {
    display: none;
}

@media screen and (max-width: 768px) {
    #sidebarToggle {
        position: fixed;
        margin-top: -2rem;
        left: 3px;
        /*position: absolute;*/
        outline: none;
        border: none;
        background: transparent;
        z-index: 1000;
    }
    #sidebarToggle img {
      height:20px;
        }
    .close-button {
        display: block !important;
    }
    button.toggle-hidden {
        display: block;
        left: 2rem;
        /*position: absolute;*/
        top: -20px;
    }

    #closeButton {
        display: block; /* Show close button only on mobile */
        position: absolute;
        top: 0px;
        right: 10px;
        font-size: 30px;
        background-color: transparent;
        border: none;
        color: #333;
        cursor: pointer;
    }

    .contents {
        position: fixed;
        top: 0;
        width: 15rem;
        left: 0;
        height: 100vh;
        overflow-y: auto;
        border-right: 1px solid #ccc;
        padding-right: 20px;
        padding-top: 20px;
        background-color: white;
    }

        .contents.collapsed {
            width: 80%; /* Adjust as needed */
        }

    .container {
        flex-direction: column; /* Stack toggle button and contents vertically on mobile */
        align-items: center;
    }

    .content-data {
        padding-left: 0%;
    }
}

.sub-content-item a.active {
    color: blue !important;
}


 /*Adjust contentData width on larger screens*/ 
@media (min-width: 768px) {
    #contentData {
        /* width: calc(100% - 20px);*/ /*Adjust sidebar width */
        /* margin-left: 20px;*/ /*Adjust sidebar width */
        padding-left: 37%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
