.mc-company-profile.row-sm {
    display: flex;
    align-items: center; /* This vertically centers the flex items */
}

.mc-company-profile.details {
    display: flex;
    align-items: center; /* If you want to also center content inside 'details' */
}

.mc-company-profile .company-logo>img {
    max-width: 80px;
    border: 2px solid #f0f0f5;
    border-radius: 50%;
}

.page-company-info-header .tag {
    background-color: #6c5ffc1a;
    margin-right: 3px;
}

.component-commodity-price-chart .interval-buttons-row {
    margin: 0; /* Adjust spacing as needed */
}

.component-commodity-price-chart .interval-button-col {
    padding: 0 5px; /* Adjust spacing as needed */
    display: flex;
}

.component-commodity-price-chart .btn.interval {
    background-color: transparent; /* Transparent background */
    border: 1px solid transparent; /* Add border to the buttons */
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: bold;
    color: #333; /* Dark text for visibility */
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative; /* Position relative for the absolute 'Today' text */
    flex-grow: 1;
    text-align: center;
}

.component-commodity-price-chart .btn.interval.active {
    background-color: #f0f3fa; /* Gray background for the active button */
}

.component-commodity-price-chart .btn.interval:not(.active):hover {
    background-color: #f0f3fa; /* Light gray background on hover for inactive buttons */
}

.component-commodity-price-chart .btn.interval.positive span {
    color: #089981; /* Green for positive values */
}

.component-commodity-price-chart .btn.interval.negative span {
    color: #f23645; /* Red for negative values */
}

.component-commodity-price-chart .btn.interval span {
    display: block; /* Make the percentage change appear on a new line */
}

.component-commodity-price-chart .btn.interval::before {
    content: attr(data-label); /* Use a data attribute for the label */
    display: block;
    font-weight: normal;
    font-size: 0.8em;
    color: #555;
    position: absolute;
    top: -20px; /* Position the 'Today' text above the button */
    left: 0;
    width: 100%;
    text-align: center;
}

/* Responsive design: Adjust button size on smaller screens */
@media (max-width: 768px) {
    .component-commodity-price-chart .btn.interval {
        flex: 1 0 46%; /* Make buttons take full width on smaller screens, with a little gap */
        text-align: center;
        padding: 10px;
    }
}

/* Additional responsiveness for very small screens */
@media (max-width: 480px) {
    .component-commodity-price-chart .btn.interval {
        flex: 1 0 100%; /* Stack buttons vertically on very small screens */
    }
}
@media (min-width: 992px) { /* This corresponds to Bootstrap's 'lg' breakpoint */
    .component-commodity-price-chart .interval-button-col {
        max-width: 10.5%;
        flex: 0 0 12.5%;
    }
}

.card-body.world-project-map .button-project-count {
    border: 1px solid transparent; /* Add border to the buttons */
    border-radius: 10px;
}

.card-body.world-project-map .button-project-count h2 {
    font-size: 20px;
}
.card-body.world-project-map .button-project-count h5 {
    font-size: 0.9em;
}

.card-body.world-project-map .button-project-count.active {
    background-color: #f0f3fa;
}

/* Style for hover state */
.card-body.world-project-map .button-project-count:not(.active):hover {
    cursor: pointer; /* Changes the cursor to a pointer */
    background-color: #f0f3fa;
}

.projects-barrier-block {
    position: relative;
}

.projects-barrier-block img {
    width: 100%;    /* Ensure image scales responsively */
    height: auto;   /* Maintain aspect ratio */
    display: block;
}

.projects-barrier-block-call-to-action {
    position: absolute;  /* Take element out of normal flow */
    top: 38%;            /* Place at 50% from the container's top */
    left: 50%;           /* Place at 50% from the container's left */
    transform: translate(-50%, -50%);  /* Center precisely */
    text-align: center;  /* Center text content */
    padding: 20px 20px 20px 20px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e9edf4;
    border-radius: 3px;
    outline: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.mc-uppercase {
    text-transform: uppercase;
}

.commodity-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 4px;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-sizing: border-box;
}
.commodity-logo-img img {
    width: 40px;
    height: 40px;
    margin-right: 0px;
    margin-left: 44px;
    background-color: #fff;
}

.commodity-logo-img img {
    max-width: 80px;
    border: 5px solid #ffffff;
    border-radius: 0;
    margin-left: 44px;
}

div.commodity-title {
    margin-top: 7px;
    padding-left: 30px;
}

.commodity-title-h {
    line-height: 1.1;
}


