.margin-left-15-pm {
    margin-left: 15px;
}

.personal-map-drp {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border: none;
    margin: 16px;

    .personal-map-drp-container {
        display: inline-block;
        position: relative;
        margin-right: 16px;

        .personal-map-drp-btn {
            padding: 10px;
            background-color: $content-background-color;
            border: 1px solid $table-border-color;
            border-radius: 8px;
        }

        .personal-map-active-drp {
            background-color: rgba($accent-color, .5);
        }

        .personal-map-drp-menu {
            display: none;
            position: fixed;
            background-color: $content-background-color;
            border: 1px solid $table-border-color;
            z-index: 1000;
            padding-left: 0px;
            text-align: start;
        }
    }
}

.personal-map-drp::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.personal-map-drp-item {
    display: block;
    padding: 8px;
}

.personal-map-drp-item > a{
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.personal-map-drp-item:hover {
    background-color: rgba($accent-color, .5);
}

.personal-map-custom-drp {
    position: absolute;
    z-index: 1000;
    background: $content-background-color;
    border: 1px solid $table-border-color;
    display: none;
}

//Personal Map accordion
.new-pm-accordion {
    position: sticky;
    top: 0;
    z-index: 1;

    td:first-child {
        width: 75%;
    }

    td:nth-child(2) {
        width: 20%;
    }

    td:last-child {
        padding: 0px !important;
        width: 6%;

        div {
            position: relative;

            #AddNewButton,
            #OpenNewButton {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 42px;
            }
        }
    }
}

#AddNewButton,
#OpenNewButton {
    padding: 6px 10px;
    width: 37px;
    height: 41px;

    i {
        padding: 0;
    }
}

.pm-accordion-wrapper {
    overflow: unset;
}

.pm-accordion-row {
    td:first-child {
        width: 50%;
    }

    td:nth-child(2) {
        width: 25%;
    }

    td:nth-child(3) {
        width: 20%;
    }

    td:last-child {
        width: 6%;

        div {
            justify-content: center;
        }
    }
}

.pm-accordion-container {
    display: flex;
    padding: 16px;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-top: 0px;
    padding-bottom: 30px;

    .form-group {
        padding-top: 30px;
        label {
            text-wrap: nowrap;
        }
    }
}

// mobile
@media only screen and (max-width: $max-screen-xs) {
    .new-pm-accordion {
        td:first-child {
            width: 39%;
        }

        td:nth-child(2) {
            width: 40%;
        }

        td:last-child {
            width: 11%;
        }
    }

    .pm-accordion-wrapper {
        .fa-calendar {
            padding-left: 0;
        }

        i {
            padding-left: 6px !important;
            padding-right: 6px !important;
        }
    }

    .pm-accordion-row {
        td:first-child {
            width: 40%;
        }
    }
}

// tablet & mobile
@media only screen and (max-width: $max-screen-sm) {
    .pm-accordion-container {
        flex-direction: column;
    }
    
    .new-pm-accordion {
        position: relative;
    }
}