

a{
    text-decoration: none;
    color: black;
}

b{
    display: contents;
}

.app{
    display: flex;
    height: 100%;
}

.main-panel{
    width: 75%;
}

.side-panel {
    width: 25%;
    background: rgb(211, 211, 211);
    color: black;
    border-right: 1px solid rgb(46, 46, 46);
    padding-top: 0%;
    padding: 15px;
}

.side-panel ul{
    padding: 0 25px;
}
.side-panel ul li{
    list-style: none;
    margin: 20px 0;
    background: white;
    padding: 10px 0;
    border: 1px solid rgb(46, 46, 46);
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.2s ease;
    text-align: center;
    cursor: pointer;
}

.side-panel ul li:hover{
    background: #00988e;
    color: white;
}

.side-panel ul li.active{
    background: #00988e;
    color: white;
}

.sub-menu ol {
    list-style: none;
    padding: 0 15px;
}

.sub-menu ol li {
    padding: 5px 15px;
    transition: 0.2s ease;

}
  
.sub-menu li:hover{
    text-decoration: underline;
    color: white;
}
  
.sub-menu {
    background: white;
    border: 1px solid;
    border-top: 0;
    display: flex;  
    transition: 0.2s ease-in-out;
    margin: 0 20px;
    border-radius: 0 0 10px 10px;
    font-weight: bold;
    font-size: 15px;
    justify-content: center;
}


.topicContent{
    height: 100%;
}

.contentWrapper {
    height: 60%;
    margin: 50px 100px;
    font-size: 20px;
}


.topics-display{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topics-display img{
    margin: 0 auto;
    height: auto;
}

.topics-display button {
    width: 100px;
}

#pdfContent {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.8);
    width: 100%;
    height: 100%;
}

#exit-pdf{
    position: relative;
    top: 15px;
    left: 15px;
    width: 20px;
    background: white;
    padding: 8px;
    border-radius: 50%;
    border: 2px solid black;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

#exit-pdf:hover, #exit-sim:hover {
    filter: invert(1);
    border: 2px solid white;
}

.viewPdf{
    position: absolute;
    bottom: 15px;
    font-size: 14px;
    padding: 8px 15px;
    background: #00988e;
    color: white;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    margin-left: inherit;
}

.viewSimulation{
    position: absolute;
    bottom: 15px;
    font-size: 14px;
    padding: 8px 15px;
    background: #00988e;
    color: white;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    left: 130px;
    margin-left: auto;
}

#pdf-viewer {
    width: 60%;
    height: 90%;
    display: flex;
    margin: 0px auto;
    border: 1px solid #ccc;
    overflow-y:auto;
    flex-direction: column;
}
  
#pdf-viewer canvas {
    display: block;
    border: 1px solid black;
}

#simulation-frame{
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.8);
    width: 100%;
    height: 100%;       
}

iframe {
    width: 100%;
    height: 100%;
}

.actionContainer{
    width: 100%;
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 25%;
    margin-left: 20px;
    bottom: 15px;
}

#exit-sim {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 20px;
    background: white;
    padding: 8px;
    border-radius: 50%;
    border: 2px solid black;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}