.work-list-container {
    margin-top: 77px;
    margin-right: 120px;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 151px;
    /*margin-right: 15px;*/
}

.work-list-header-title-row {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}

.work-list-header-title-row-title {
    align-self: flex-start;

    height: 41px;
    width: 61px;
    color: #171717;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.76px;
    line-height: 41px;
}

.work-list-header-title-row-view-choice {
    align-self: flex-end;
    justify-content: center;
}

.works-list-icon {
    height: 18px;
    width: 18px;
    margin: 6px;
    align-self: center;
}

.works-list-icon:hover {
    cursor: pointer;
}

.work-list-header {
    /*margin-right: 15px;*/
    margin-bottom: 20px;
}

.work-list-header-title-row-view-choice-title {
    margin-right: 10px;
    font-size: 16px;
}

.work-list-header-title-row-view-choice {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

.work-list-header-title-row-view-choice-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.works-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /*width: 100%;*/
    /*margin-right: 15px;*/

}

.works-hidden {
    display: none;

}

.works-pics.works-hidden {
    display: none;
}

.works-map.works-hidden {
    display: none;
}

.works-list.works-hidden {
    display: none;
}

.works-table {
    width: 80%;
}

.basic-cell {
    height: 24px;
    width: 202px;
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid #B99E32;
    border-spacing: 0;
    padding: 18px 0;
    color: #B4B5BC;
}

.bold-row > .basic-cell {
    cursor: pointer;
    color: #37323E;
}

.work-name-cell {
    width: 60%;
    padding-left: 17px;
}

.work-regular-cell {
    width: 20%;
}

.dataTables_wrapper.no-footer {
    width: 100%;
    overflow: hidden;
    /*min-width: 893px;*/
}

.work-table-header-cell {
    text-align: left;
    height: 32px;
    /*width: 64px;*/
    color: #37323E;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 32px;
    border-bottom: 1px solid #B99E32;
    border-spacing: 0;

}

tbody tr.bold-row:hover {
    border-left: 2px solid #B99E32;
    border-right: 2px solid #B99E32;
    box-shadow: 0 2px 13px 0 rgba(16, 28, 48, 0.1);

}

table {
    border-collapse: collapse;
}

.work-table-header-cell.basic-cell {
    padding-bottom: 3px;
}

.works-table-row {
    height: 58px;
    border: 1px solid #B99E32;
}

#worksTable {
    width: 100%;
    overflow: hidden;
}

.works-map {
    height: 530px;
    max-height: 530px;
    max-width: 893px;
    background-color: #E0E2EE;
    position: relative;
    width: calc((100vw - 282px - 40px));
    margin-right: 15px;

    /*display: grid;*/
    /*grid-template-columns: 1fr;*/
    /*grid-template-rows: 1fr;*/
}

.map {
    height: 530px;
    /*width: 893px;*/
    background-color: #E0E2EE;
    grid-row-start: 1;
    grid-column-start: 1;
    max-width: 893px;
    width: calc((100vw - 282px - 40px))
}

.marker {
    background-size: cover;

    cursor: pointer;

    border-radius: 50%;
    height: 30px;
    width: 30px;
    background-color: #B99E32;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.75px;
    line-height: 19px;
    justify-content: center;
    display: flex;
    align-items: center;
}

.mapboxgl-popup {
    /*height: 151px;*/
    /*width: 204px;*/
    /*background-color: #004039;*/
}

.map-image {
    grid-column-start: 1;
    grid-row-start: 1;
}

.mapboxgl-popup-content {
    height: 151px;
    width: 204px;
    background-color: transparent;
    padding: 0;
}

.map-pic-wrapper {
    /*margin-bottom: 30px;*/
    max-width: 204px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.map-info-card {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    color: #FFFFFF;
    grid-column-start: 1;
    grid-row-start: 1;

}

.map-info-card-inner {
    /*margin: 16px 17px 20px 17px;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    cursor: grab;

}

.map-info-card-inner.clickable {
    cursor: pointer;
}

.map-info-card-inner-top {
    display: flex;
    flex-direction: column;
    max-width: 150px;
    padding-left: 10px;
    padding-top: 8px;
}

.map-info-card-inner-top-work-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.5px;
    margin-bottom: 18px;

}

.map-info-card-inner-top-work-sub-title {
    font-size: 10px;
    letter-spacing: 0.33px;
    line-height: 15px;

}

.map-info-card-inner-bottom {
    height: 15px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.29px;
    line-height: 15px;
    padding-left: 10px;
    padding-bottom: 8px;
}

.no-photo .map-info-card-inner-top-work-title {
    line-height: 18px;
    margin-bottom: 18px;
}

.no-photo .map-info-card-inner-top-work-sub-title {
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.no-photo .map-info-card-inner-bottom {
    font-size: 12px;
    letter-spacing: 0.5px;
}

.mapboxgl-popup-close-button {
    display: none;
}

.map-overlay {
    background: rgba(255, 255, 255, 0.8);
    margin-right: 20px;
    overflow: auto;
    max-height: 530px;
}

.legend-button {
    line-height: 18px;
    /*margin: auto 10px 25px auto;*/
    /*grid-row-start: 1;*/
    /*grid-row-end: 1;*/
    /*grid-column-start: 1;*/
    /*grid-column-end: 1;*/
    z-index: 3;
    height: 36px;
    width: 150px;
    border: 1.5px solid #B99E32;
    border-radius: 18px;
    background-color: #FFFFFF;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
    color: #37323E;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 15px;
    bottom: 26px;
}

#legend {
    width: 233px;
    height: calc(530px - 16px - 19px);
    max-height: calc(530px - 10px - 40px);
    /*margin: 16px 10px 30px auto;*/
    /*grid-row-start: 1;*/
    /*grid-row-end: 1;*/
    z-index: 3;
    background-color: #FFFFFF;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
    position: absolute;
    right: 15px;
    bottom: 26px;
}

.legend-inner {
    /*display: flex;*/
    flex-direction: column;
    height: 100%;
    margin: 5px 18px 18px 16px;
    justify-content: flex-start;

}

.legend-inner-list {
    /*display: flex;*/
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

.legend-inner-top {
    display: flex;
    align-items: flex-end;
    width: calc(233px - 16px);
    padding-right: 16px;
    justify-content: flex-end;
    margin-top: 10px;
}

.legend-item-row {

    /*height: 22px;*/
    /*width: 198px;*/
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 22px;
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
    margin-left: 16px;
}

.item-number {
    color: #B99E32;
}

.work-list-filters-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 51px;

}

.work-list-filters {
    display: flex;
    flex-direction: row;
    /*width: 100%;*/
    color: #C1C2C8;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 25px;
    margin-left: 4px;
    flex-wrap: wrap;

}

.filter-separator {
    margin: 0 0 10px 0;
}

.work-type {

    height: 25px;

    margin-bottom: 10px;

}

.work-type:hover {
    cursor: pointer;
}

.work-filter-title {
    color: #171717;
    border-bottom: solid 1px #B99E32;
}

.filter-selected {
    color: #171717;
    border-bottom: solid 1px #B99E32;

}

.work-list-filters.works-hidden.hide-me {
    display: none;
}

.map-marker-image {
    width: 30px;
    height: auto;
}

.legend-inner.hide-me {
    display: none;
}

.legend-button.hide-me {
    display: none;
}

@media only screen and (max-width: 1199px) {
    .work-list-container {
        margin-right: 0;
    }

    .work-list-header {
        margin-right: 0;
    }

    .dataTables_wrapper.no-footer {
        min-width: calc((100vw - 350px));
    }

}

@media only screen and (max-width: 768px) {
    .work-list-container {
        margin-right: 0;
    }

    .works-table {
        width: 100%;
    }

    .work-list-header {
        margin-right: 0;
    }

    .dataTables_wrapper.no-footer {
        min-width: calc((100vw - 30px));
    }

    .works-map {
        width: 100%;
    }

    .map {
        width: 100%;
    }

    .map-icon {
        display: none;
    }

}
