html, body {
    background-color: rgba(25, 56, 87, 0.066);
    /* background-color: white; */
    /* font-family: Arial, Helvetica, sans-serif; */
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
    flex-direction: column;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;

}

body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}
p {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}

legend {
    font-size: 15px;
}

.header {
    position: fixed;
    z-index: 1100;
    width:100%;
    height:75px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: rgba(225,229,233);
}

.header1 {
    display: flex;
    align-items: center;
}

.web-logo {
    height: 70px;
    width: auto;
    align-items: center;
}

.header3 {
    /* min-width: 700px;
    color: white; */
    display: flex;
    /* justify-content: right; */
    align-items: center;
    /* margin-right: 30px; */
    padding: 10px;
}

.header3 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    /* overflow: hidden; */
    display: flex;
    background-color: transparent;
}

.header3 ul li {
    /* float: right; */
    /* display: inline-block; */
    padding: 0px 20px;

}

.header3 ul li a {
    /* display: inline-block; */
    color: rgb(25,56,87);
    /* text-align: center;
    padding: 14px 16px; */
    text-decoration: none;
    font-weight: bold;
}

.header3 ul li a:hover{
    text-decoration: underline;
}

.welcome{
    padding: 25px;
}


.main-container {
    margin-top: 75px;
    /* min-width: 1000px; */
    display: flex;
    /* flex-direction: column;  */
    /* padding: 20px; */
    overflow: hidden;
    align-items: flex-start;
    flex: 1 0 auto;
}

.footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* flex-direction: row; */
    height: auto;
    background-color: rgb(25,56,87);
    padding: 0px 20px;
    color: white;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
    /* column-gap: 20px; */
    /* z-index: 1100; */
    position:static;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
}

.footer-left, .footer-right {
    /* min-width: 400px;
    width: 400px; */
    flex: 1 1 300px;
    max-width: 600px;
    justify-content: flex-end;
}

.footer-right {
    text-align: right;
}

.footer-left h2{
    color: white;
}

.footer-left p{
    color: white;
    font-size: medium;
}


.footer-right img {
    /* min-width: 400px;
    width: 400px; */
    height: 75px;
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.content {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    margin-left: 0%;
    margin-right:auto;
    margin-bottom: auto;
    background-color: white;
    background-size: contain;
}

/* W3-style sidebar lookalike */
.w3-sidebar {
    width: 15%;
    background-color: rgba(25, 56, 87, 0.066);
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
}

.w3-bar-block {
    display: flex;
    flex-direction: column;
    position: sticky;
}

.w3-bar-item {
    padding: 10px;
    text-decoration: none;
    color: black;
    font-size:16px;
    display: block;
    cursor: pointer;
    word-wrap: break-word;
}

.w3-bar-item:hover {
    background-color: #ddd;
}


.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: black;
  /* text-decoration: dotted; */
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: auto; 
  background-color: rgba(225,229,233);
  color: black;
  text-align: left;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .w3-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content {
        margin-left: 0;
        width: 100%;
    }
}
