body {
    background-color: #e9e9e9;
    font-family: "Montserrat";
}

#widget-wrapper {
    max-width: 1280px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 0px;
    box-shadow: 0 1px 4px rgb(0 0 0 / 15%);
    background-color: white;
}

#widget-header {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 16px;
    background-color: white;
    justify-content: center;
    min-height: 116px;
    box-shadow: 0px 8px 7px 0px rgb(0 0 0 / 33%);
}

#widget-header #top-logo {
    width: 332px;
    margin: 15px 0px -40px 0px;
}

#widget-content {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    column-gap: 40px;
    flex: 1;
    min-height: 850px;
    max-height: 850px;
    padding: 40px 24px 24px 24px;
    width: 100%;
    box-sizing: border-box;
}

#companies-search {
    background-color: #E5E5E5;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

#companies-search-content {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#companies-filter {
    display: flex;
    flex-direction: row;
    row-gap: 8px;
    column-gap: 40px;
    align-items: start;
    width: 100%;
    flex-wrap: wrap;
}

#companies-result {
    display: flex;
    flex-direction: row;
    gap: 40px;
    height: 100%;
    min-height: 0px;
    overflow: hidden;
}

#companies-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow-y: scroll;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.empty-companies-list-card {
    display: none;
}

.empty-companies-list-card.active {
    display: flex;
}

#companies-map {
    flex: 2;
    border-radius: 8px;
    min-height: 624px;
}

#storelocation-tabs-mobile {
    display: none;
}

#widget-footer {
    box-shadow: 0px -4px 4px 0px rgb(0 0 0 / 33%);
    background-color: white;
    padding: 16px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aa-button {
    padding: 8px 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    transition: all 200ms;
    border-width: 0;
    font-size: 16px;
    line-height: 24px;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}

.aa-primary-button {
    background-color: #802477;
    color: white;
}

.aa-primary-button:hover {
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
}

.aa-secondary-button {
    background: #802477;
    color: white;
}

.aa-secondary-button:disabled {
    cursor: not-allowed;
}

.aa-secondary-button:hover {
    background: #802477;
}

.aa-tertiary-button {
    background-color: #802477;
    color: white;
}

.aa-tertiary-button:disabled {
    background-color: #80247755;
    color: white;
    cursor: not-allowed;
}

.aa-tertiary-button:hover {
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
}

.aa-input-text {
    padding: 8px 12px;
    background-color: white;
    width: 100%;
    border: 1px solid #7A7A7A;
    border-radius: 8px;
    box-sizing: border-box;
    height: 40px;
}

.aa-radiobutton {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.aa-radiobutton, .aa-radiobutton input, .aa-radiobutton label, .aa-radiobutton input {
    cursor: pointer;
}

.aa-checkbox {
    accent-color: #802477;
}

.aa-tabs {
    display: flex;
    flex-direction: row;
    border-bottom: 2px solid #F0F0F0;
}

.aa-tabs-item {
    display: flex;
    flex-direction: row;
    gap: 8px;
    border-bottom: 2px solid #F0F0F0;
    font-size: 18px;
    padding: 8px 24px;
    position: relative;
    top: 2px;
    cursor: pointer;
}

.aa-tabs-item.active {
    color: #802477;
    border-bottom: 2px solid #802477;
    font-weight: 600;
}

.aa-link {
    color: #802477;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
}

.aa-link:hover span {
    text-decoration: underline;
}

.aa-link:link, .aa-link:visited {
    text-decoration: none;
}

.company-card-line {
    list-style-type: none;
    display: none;
}

.company-card-line.active {
    display: block;
}

#aa-scrollto {
    display: none;
    padding: 8px;
    border-radius: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    position: fixed;
    right: 24px;
    bottom: 24px;
    height: 40px;
    width: 40px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.company-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 16px;
    border: 1px solid #F0F0F0;
    border-radius: 8px;
}

.az-company-timetables {
    display: flex;
    flex-direction: column;
    gap: 24px;
    row-gap: 16px;
    padding: 16px;
    border: 1px solid #F0F0F0;
    border-radius: 8px;
}

.az-company-timetables.hide {
    display: none;
}

.az-company-timetables.active {
    display: flex;
}

.az-hours-line {
    display: flex;
    justify-content: space-between
}

.az-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.company-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-title {
    font-size: 18px;
    color: black;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.empty-companies-list-card {
    justify-content: center;
}

.empty-title {
    font-size: 16px;
}

.company-address {
    color: black;
    font-size: 16px;
}

.company-resume {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.company-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#footer {
    padding: 24px;
    text-align: center;
}

#footer span {
    color: #616060;
}


/* MAP */
.map-info-window {
    font-family: "Montserrat";
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    #companies-map {
        flex: 1;
    }
}

@media screen and (max-width: 768px) {
    #widget-content {
        max-height: fit-content;
    }

    #companies-search-content, #companies-filter-options {
        flex-direction: column;
    }

    #companies-list {
        overflow: initial;
        overflow-y: initial;
    }

    #companies-map, #companies-list {
        display: none;
    }

    #companies-list.active {
        display: flex;
    }

    #companies-map.active {
        display: block;
        height: 500px;
    }

    .aa-button {
        width: 100%;
    }

    #storelocation-tabs-mobile {
        display: flex;
    }

    #aa-scrollto {
        display: flex;
    }
}
