html * {
    font-family: 'Cinzel';
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    color: #222;
}

main * {
    font-family: Roboto;
}

main p,
main a,
main li {
    text-align: justify;
    font-weight: 400;
}

main h1,
main h2,
main h3,
main h4,
main h5 {
    font-weight: 600;
}

main h2 {
    font-size: 1.7rem;
}

main th,
main td {
    font-weight: 600;
}

.container .main{
    background-color: rgb(217, 230, 222);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 30px;
    position: relative;
    padding-left: 4vw;
    padding-right: 4vw;
    border: none !important;
}

.container .side{
    border-top: 5px solid rgb(217, 230, 222)!important;
    border-bottom: 5px solid rgb(217, 230, 222) !important;
    border-right: 5px solid rgb(217, 230, 222) !important;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1;
    background-color: rgb(232, 243, 237) !important;
}

.side-sticky-nav-content{
    z-index: 1;
}

.map-title-hr {
    border: 0;
    height: 3px;
    margin: 15px 0;
    background-image: linear-gradient(to right, rgb(65, 131, 105), rgb(0, 143, 88), rgb(65, 131, 105));
    border-radius: 2px;
}

.map-hr {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgb(65, 131, 105), rgb(138, 211, 183), rgb(65, 131, 105));
    margin: 15px 0;
}

.info-table{
    max-width: 15vw;
    float: right;
    border: 2px solid rgb(43, 87, 80) !important;
    padding: 10px;
    margin-left: 10px;
    margin-top: 0;
}

.info-table-content {
    width: 50%;
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
    padding: 0.5rem;
}

.info-table p{
    text-align: center;
    vertical-align: middle;
}

.info-table a {
    text-decoration: none;
    color: #222;
}

.table-head{
    text-align: center;
    background-color: rgb(54, 92, 87);
    font-size: 120%;
    padding: 1rem;
    color: white;
}

.info-table-img-position {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-table-img-position>img {
    width: 20rem;
    height: auto;
    max-width: none;
    max-height: none;
    display: block;
} 

.modal-image-description {
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 10px;
}

.modalImg{
    max-height: 80vh !important;
}

.img-thumbnail{
    padding: 8px;
    max-height: 200px;
    background-color: transparent !important;
    border: none !important;
    transition: transform 0.3s ease;
}

.img-thumbnail-float{
    max-height: 200px;
    max-width: 40vw;
    background-color: transparent !important;
    margin: 10px 0px 10px 20px;
    border: none !important;
    transition: transform 0.3s ease;
    float: right;
}

.modal-content{
    background-color: rgb(232, 243, 237) !important;
    border: none !important;
}

.imageCaption {
    position: relative;
    font-size: 12px;
}

.img-thumbnail:hover, .img-thumbnail-float:hover{
    transform: scale(1.03);
}

@media (max-width: 990px) {
    .container .side{
        border-top: none !important;
        border-top: 5px solid rgb(217, 230, 222)!important;
        border-bottom: 5px solid rgb(217, 230, 222) !important;
        border-right: 5px solid rgb(217, 230, 222) !important;
        border-bottom-left-radius: 10px;
        border-top-right-radius: 0;
    }

    .container .main{
        border-top-left-radius: 10px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 10px;
    }
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
  }
  
.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.h5-content-title {
    align-items: center;
    text-align: center;
}

:target::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
}

.topic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topic-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgb(194, 212, 212);
    color: rgb(15, 56, 54);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.topic-list li a {
    text-decoration: none;
    color: rgb(15, 56, 54);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topic-list li:last-child {
    border-bottom: none;
}

.nr {
    color: rgb(15, 56, 54);
    min-width: 2rem;
    font-weight: 400;
}

.accordion-body ul li a {
    color: rgb(13, 41, 33);
    text-decoration: none;
}

.accordion-body ul li a:hover {
    color: rgb(85, 131, 116);
}

#side-nav-content .accordion-button {
    gap: 2rem;
    background-color: rgb(217, 230, 222);
    font-weight: 400;
    transition: background-color 0.3s ease;
}

#side-nav-content .accordion-button:hover,
#side-nav-content .accordion-button:not(.collapsed) {
    background-color: rgb(200, 220, 210);
    color: rgb(13, 41, 33);
}

#side-nav-content .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(130, 170, 154, 0.4);
    outline: none;
}

#side-nav-content .accordion-body {
    background-color: rgb(232, 243, 237);
    padding: 15px 20px;
    text-align: justify;
}

#side-nav-content .accordion-body ul {
    padding-left: 0;
}

#side-nav-content .accordion-body li {
    gap: 2rem;
    padding: 6px 0;
}

#side-nav-content .accordion-body a {
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    font-size: 1rem;
}

#side-nav-content .accordion-body a:hover {
    color: rgb(65, 88, 81);
}
