/* BASE.HTML */
.card-footer p {
    font-size: 12px;
}
.card {
    text-align: justify;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex-grow: 1;
}
.card-header h4 {
    font-size: 16px;
    font-weight: bold;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.card-body {
    flex-grow: 1;
}
.card-footer a {
    margin-right: 0px;
    margin-left: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.card-footer a:hover {
    text-decoration: underline;
    color: #198754;
}
#lang-switch {
    display: flex;
    align-items: center;
}
.bg-body-tertiary {
    background-color: #ffcd08 !important;
}
#lang-switch a {
    margin-right: 5px;
}
#lang-switch img {
    width: 35px;
    height: 25px;
}
body, html {
    height: 100%;
}
#content-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
footer {
    background-color: #343a40;
    color: white;
    padding-top: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    margin-top: auto;
}
form select {
    margin-right: 10px;
    padding: 6px 12px;
}
/* INDEX.HTML */
.redirect-globe {
    height: 25px;
    width: 25px;
}
.container {
    padding-top: 15px;
}
.fa-globe{
    position: absolute;
    bottom: 1em;
    right: 1em;
    height: 25px;
    width: 25px;
}
/* LEVELS/EDIT.HTML */
.center-container-level {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* ROADMAP.HTML */
.table-container {
    display: flex;
    margin-left: 2em;
}
.course-name {
    display: inline-block;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    margin-bottom: 8px;
    text-align: center;
}
.tooltips {
    position: relative;
    display: inline-block;
}
.tooltips .tooltiptext {
    visibility: hidden;
    width: 500px;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 200;
    bottom: 125%;
    left: 50%;
    margin-left: -250px;
    opacity: 0;
    transition: opacity 0.3s;
}
.tooltips .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
.tooltips:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.tooltiptext-bg-success {
    background-color: #28a745;
}
.tooltiptext-bg-warning {
    background-color: #ffc107;
}
.tooltiptext-bg-danger {
    background-color: #dc3545;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding-top: 60px;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.no-scroll {
    overflow: hidden;
    height: 100%;
  }  
.roadmap-search {
    margin: 2em;
}
.legend-container {
    text-align: center;
    margin-bottom: 10px;
}
.color-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}
.bg-level-1 {
    background-color: #28a745;
}
.bg-level-2 {
    background-color: #ffc107;
}
.bg-level-3 {
    background-color: #dc3545;
}
.font-weight-bold {
    font-weight: bold;
}
.table{
    max-width: 100%;
}
.table-responsive th,
.table-responsive td {
    vertical-align: middle;
    text-align: left;
}

.table-responsive th {
    background-color: #f8f9fa;
}
.navbar-nav .nav-link {
    color: #000;
}