.offices-viewer {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.offices-viewer .button-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 40%;
}

.offices-viewer #offices-map {
    width: 100%;
    min-height: 550px;
    border-radius: 16px;
}

/* style button offices */
.offices-viewer .button-container .button-office,
.offices-viewer .button-container .button-regions {
    background-color: #F5F6F4;
    display: flex;
    flex-direction: column;
    align-items: start;
    border-radius: 16px;
    border: none;
    padding: 24px;
}

.offices-viewer .button-container .button-office .title,
.offices-viewer .button-container .button-regions .title {
    color: #070808;
    font-size: 24px;
    font-family: "Aeonik", sans-serif !important;
    line-height: 36px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
}

.offices-viewer .button-container .button-office .title div,
.offices-viewer .button-container .button-regions .title div {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offices-viewer .button-container .button-office .title .flag-image,
.offices-viewer .button-container .button-regions .title .flag-image {
    height: 24px;
    width: 24px;
}

.offices-viewer .button-container .button-office .content {
    display: flex;
    flex-direction: row;
    color: #373737;
    gap: 4px;
}

.offices-viewer .button-container .button-office .content .position {
    color: #373737;
    font-size: 16px;
    font-family: "IBM Plex Sans", sans-serif !important;
}

.offices-viewer .button-container .button-office .content .timezone {
    color: #373737;
    font-size: 16px;
    font-family: "IBM Plex Sans", sans-serif !important;
}

/* style button offices on hover and active */
.offices-viewer .button-container .button-office:hover,
.offices-viewer .button-container .button-regions:hover,
.offices-viewer .button-container .button-office.active,
.offices-viewer .button-container .button-regions.active {
    background-color: #070808;
}

.offices-viewer .button-container .button-office:hover .title,
.offices-viewer .button-container .button-regions:hover .title,
.offices-viewer .button-container .button-office.active .title,
.offices-viewer .button-container .button-regions.active .title {
    color: #fff;
}

.offices-viewer .button-container .button-office:hover .content .position,
.offices-viewer .button-container .button-office.active .content .position {
    color: #CDCECE;
}

.offices-viewer .button-container .button-office:hover .content .timezone,
.offices-viewer .button-container .button-office.active .content .timezone {
    color: #B3F770;
}

.offices-viewer .button-container .button-regions select {
    border: none;
    border-bottom: solid 1px #070808;
    border-radius: 0px;
    background-color: #ffffff00;
}

.offices-viewer .button-container .button-regions:hover select,
.offices-viewer .button-container .button-regions.active select {
    border: none;
    border-bottom: solid 1px #fff;
    border-radius: 0px;
    color: #fff;
}

.offices-viewer .button-container .button-regions option {
    background-color: #070808;
    color: #FFF;
}

/* custom tooltip map */
.offices-viewer .custom-maps-tooltip,
.offices-viewer .custom-maps-tooltip-agency {
    padding: 24px;
    background-color: #070808;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.offices-viewer .custom-maps-tooltip .custom-maps-tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 9px;
    overflow-x: auto;
}

.offices-viewer .custom-maps-tooltip-agency .region-title {
    color: #FFF;
    font-family: "Aeonik", sans-serif !important;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
}

.offices-viewer .custom-maps-tooltip-agency .custom-maps-tooltip-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    overflow-x: auto;
}

.offices-viewer .custom-maps-tooltip .custom-maps-tooltip-content .custom-maps-tooltip-title {
    color: #fff;
    font-family: "Aeonik", sans-serif !important;
    font-size: 24px;
}

.offices-viewer .custom-maps-tooltip-agency .custom-maps-tooltip-content .agency-title {
    color: rgba(255, 255, 255, 0.80);
    font-family: "IBM Plex Sans", sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.offices-viewer .custom-maps-tooltip-agency .custom-maps-tooltip-content .agency-description {
    color: rgba(255, 255, 255, 0.80);
    font-family: "IBM Plex Sans", sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.offices-viewer .custom-maps-tooltip .custom-maps-tooltip-content .custom-maps-tooltip-address {
    color: #CDCECE;
    font-family: "IBM Plex Sans", sans-serif !important;
    font-size: 16px;
}

.offices-viewer .custom-maps-tooltip .custom-maps-tooltip-content .custom-maps-tooltip-phone {
    color: #CDCECE;
    font-family: "IBM Plex Sans", sans-serif !important;
    font-size: 16px;
}

.offices-viewer .custom-maps-tooltip .custom-maps-tooltip-button {
    color: #070808;
    background-color: #fff;
    border-radius: 100px;
    border: none;
    padding: 12px 24px 12px 24px;
    font-family: "Aeonik", sans-serif !important;
    font-size: 16px;
    font-weight: 500;
}

.offices-viewer .gm-style-iw-t>div[role="dialog"] {
    padding: 0;
}

.offices-viewer .gm-style-iw-t .gm-style-iw-chr {
    display: none;
}

.offices-viewer .gm-style-iw-t .gm-style-iw-d {
    overflow: unset !important;
    padding: 0;
    background-color: #070808;
}

.offices-viewer .gm-style-iw-tc {
    display: none;
}

@media only screen and (max-width: 1024px) {
    .offices-viewer {
        flex-direction: column;
    }

    .offices-viewer .button-container {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }

    .offices-viewer .button-container .button-office {
        min-width: 250px;
        flex: none;
    }

    .offices-viewer #offices-map {
        min-height: 400px;
    }
}