html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0px;
    padding: 0px;
    color: #FFF;
}

h1,h2,h3,h4,h5,p,ul {
    padding: 0;
    margin: 0;
    font-weight: 400;
}

a{
    color: #FFF;
}

.label{
    font-weight: 600;
}

@keyframes popup-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    border-bottom: 3px solid #FFF;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 2rem;
    padding-top: 10px;
}

.card {
    margin: auto 10px;
    padding-bottom: 20px;
}

.company-splash {
    background-image: linear-gradient(180deg,#2ec396 0%, #001c45 100%);
}

.splash-content{
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 2rem
}

.company-splash h1 {
    font-size: 2.6rem;
    font-weight: 900;
}

.company-splash h2 {
    font-size: 2rem;
    font-weight: 700;
}

.company-splash h3 {
    font-size: 1.6rem;
    font-weight: 500;
}

.splash-left{
    display: flex;
    width: 430px;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;

}

.splashlogo-container {
    flex: 1 1 300px;
    max-width: 320px ;
    border-radius: 10px;
    overflow: hidden;
}

.splash-description{
    flex: 1 1 700px;
}

.splashlogo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background-color: #FFF;
    padding: 10px;
    vertical-align: middle;
}

.description {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.description-image-container {
    flex: 1 1 420px;
    min-width: 0;
}

.description-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.description-content {
    flex: 1 1 700px;
    line-height: 1.6;
    min-width: 0;
    gap: 20px;
}

.links-container{
    display: inline;
}

.description-content h1 {
    font-size: 2rem;
    font-weight: 600;
}

.description-content p {
    margin-bottom: 40px;
}

.description-socials{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
    gap: 1rem;
}

.details-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 15px;
    padding: 0px 10px;
}

.details-left {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
    min-width: 300px;
}

.company-snapshot {
    flex: 1;
    flex-basis: 275px;
    background-image: linear-gradient(180deg, #0e5c75, #001c45 100%);
    border-radius: 10px;
}

.details-item,
.company-contact-item,
.snapshot-item, .auction-item {
    display: flex;
    padding-bottom: 5px;
}

.details-item span,
.snapshot-item span {
    min-width: 150px;
    flex: 1;
}

.company-contact-item span {
    width: 40%;
}

.auction-item{
    flex-direction: row;
    gap: 80px;
}

.other-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    gap: 1rem;
    margin-bottom: 100px;
    padding: 0px 10px;
}

.other-left,
.other-right {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
    min-width: 300px;
}

.other-right{
    flex-basis: 275px;
}

.news,
.downloads,
.other-contact,
.trades,
.management,
.disclosures,
.media-player,
.company-details,
.contact-details,
.auction,
.director-trades {
    flex: 1;
    background-image: linear-gradient(180deg, #0e5c75, #001c45 100%);
    border-radius: 10px;
}

.other-contact-item{
    display: flex;
    flex-direction: column;
    gap: 1.3rem
}

.other-contact-item p{
    gap: 1.3rem
}

.richtext-content p{
    margin-bottom: 1.3rem;
}

.other-contact-item span{
    flex: 1
}

.disclosure-row {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.row-header {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.row-content {
    display: none;
    padding: 15px;
}

.disclosure-content {
    margin-top: 10px;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.disclosure-row.open .row-content {
    display: block;
}

.disclosure-row.open .toggle-icon {
    transform: rotate(180deg);
}

.media-player{
    min-height: 400px;
}

.media-player iframe{
    width: 100%;
    height: 100%;
    padding: 10px;
}

.download{
    display: flex;
    justify-content: space-around;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 10px;
}

.download-title{
    flex-basis: 200px;
}

.download-size{
    flex-basis: 100px;
}

.pagination-controls{
    margin-top: 20px;
    text-align: center;
}

.pagination-controls i {
    margin: 0px 5px;
}

table{
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
}

thead tr th{ 
    border-bottom: 1px solid #FFF;
}

th{
    text-align: left;
}

tbody tr td{ 
    border-bottom: 1px solid #000;
}

table tbody tr:nth-child(odd) {
  background-color: #134361
}
table tbody tr:nth-child(even){
  background-color: #063c5d
}

.management-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem;
    border-radius: 10px;
}

.manager-socials{
    display: flex;
    position: relative;
    top: .5rem;
    left: .5rem;
    justify-content: flex-end;
    gap: 5px;
}

.manager-socials a i{
    background-color: #FFF;
    color: #2ec396;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
}

.manager-position{
    width: 170px;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;  
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis; 
}

.management-card {
    display: flex;
    flex-direction: column;
    flex-basis: 200px;
    justify-content: start;
    padding: 15px;
    border: 3px solid #FFF ;
    border-radius: 10px;
    text-align: center;
}

.management-card img {
    height: 100px;
    width: 100px;
    border-radius: 10px;
    margin: 0 auto;
    filter: grayscale(100%);
    object-fit: none;
    background-color: #FFF;
}

.media-player iframe{
    height:420px;
}

.other-left iframe{
    background-color: #FFF;
    border-radius: 10px;
}

.mail-link{
    color: #2ec396;
}

.management-position{
    min-height: 40px;
}

.trading-disclaimer{
    max-width: 1200px;
    margin: 0px auto;
}

.video-placeholder{
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid transparent;
    padding: 20px;
}

.video-placeholder h2{
    text-align: center;
}

.video-placeholder a{
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.trading-disclaimer p{
    font-size: 12px;
    margin: 20px auto;
}

.placeholder{
    text-align: center;
}

.news-article{
    margin-bottom: 15px;
}

.news-title{
    font-weight: 700;
}


.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px; 
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    position: absolute;
    bottom: 125%; 
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .company-splash {
        display: block;
    }
    .splashlogo-container{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        max-width: 100%;
    }
    .splash-description{
        margin-top: 12px;
    }

   .description {
        flex-direction: column;
        align-items: center;
   }

   .splash-left{
    width: 99%;
   }

   .splash-content{
    flex-direction: column;
    gap: 5px;
    padding: 10px 5px
   }

   .splash-description{
    max-height: 150px;
   }

   .splashlogo-container img{
    border-radius: 20px;
   }
   
   .description-image-container,
   .description-content {
        flex: none;
        width: 100%;
        max-width: 100%;
   }
   .description-image-container img {
        width: 100%;
    }
    .other-right,.other-left{
        width: 100%;
    }

    .management-card{
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .company-snapshot{
        display: block;
    }
    .other-info{
        flex-direction: column-reverse;
    }
    .management-container{
        flex-direction: column;
    }
    .management-card{
        width: 100%;
        max-width: none;
    }
    .news{
        display: block;
        width: 100%;
    }
    .downloads{
        display: block;
        width: 100%;
    }
    .other-contact{
        display: block;
        width: 100%;
    }
}