#resume-favorites {
    position: fixed;
    bottom: 50px;
    left: 30px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    font-family: 'Roboto', sans-serif;

    transition: var(--transition-long);
    z-index: 999;
}

.resume-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10%);
}

#resume-favorites .expand-favorites {
    height: 40px;
    width: auto;

    display: flex;
    align-items: center;
    padding-left: 20px !important;
    padding-right: 10px;

    background-color: white;
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-6dp);

    font-size: 18px;
    font-weight: 500;
    color: #0a0a0a;

    transition: var(--transition-med);
}
#expandFavorites:checked ~ .favorites-list {
    opacity: 1;
    height: 100%;
    transform: translateY(0);
    margin: 0 0 20px;
    padding: 16px;
}

#expandFavorites:checked ~ .expand-favorites .expand-icon {
    opacity: 1;
    width: 24px;
    transform: rotate(0);
}

#resume-favorites .expand-favorites .text {
    margin: 0 5px;
}

#resume-favorites .expand-favorites:hover .expand-icon {
    opacity: 1;
    width: 24px;
}

#resume-favorites input {
    display: none;
}

#resume-favorites .expand-icon {
    display: block;
    opacity: 0;
    width: 0;
    border-radius: 50%;
    padding-left: 0 !important;
    transition: width var(--transition-med),
    background-color var(--transition-short),
    transform var(--transition-long);
    overflow: hidden;
    border: none;
    background-color: transparent;
}

#resume-favorites .expand-icon:hover {
    background-color: rgba(0,0,0,.15);
}

#resume-favorites .expand-favorites::before {
    display: none;
}

#resume-favorites .expand-icon {
    transform: rotate(-180deg);
}

#resume-favorites .favorite-icon {
    color: #F50057;
    margin-left: 5px;
    margin-right: 5px;
}

#resume-favorites .favorites-list {
    opacity: 0;
    height: 0;
    margin: 0;

    width: 100%;
    padding: 0 16px;
    max-height: 70vh;

    background-color: white;
    box-shadow: var(--shadow-6dp);
    border-radius: 8px;
    order: -1;

    transform: translateY(10%);
    transition: all var(--transition-med);
    overflow: hidden ;
}

#resume-favorites .favorites-list:hover {
    overflow-y: auto;
}

#resume-favorites .favorite-item{
    display: block;
    list-style: none;
    transition: all var(--transition-short);
    overflow: hidden;
    transform-origin: bottom;
    height: 70px;
}
#resume-favorites .favorite-item .content-item{
    display: flex;
    height: 60px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,.15);
    transition: all var(--transition-short);
}
#resume-favorites .image {
    width: 80px;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}
#resume-favorites .image::after {
    content: '';
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.35);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5c-1.11 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55-.45 1-1 1zM14 4c0 .55.45 1 1 1h2.59l-9.13 9.13c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6c-.55 0-1 .45-1 1z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center center;
    transition: var(--transition-short);
}
#resume-favorites .image:hover::after {
    opacity: 1;
}
#resume-favorites .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#resume-favorites .info {
    overflow: hidden;
    margin: 0 10px;
    width: calc(100% - 50px - 80px - 20px); /* 100% - Button - Image - Margin Info */
}
#resume-favorites .title,
#resume-favorites .price {
    max-width: 200px;
}
#resume-favorites .title {
    font-family: 'Roboto', sans-serif;
    display: block;
    font-size: 16px;
    font-weight: bold;
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
    width: 100%;
    text-align: left;
}
#resume-favorites .title:hover {
    text-decoration: underline;
}
#resume-favorites .price {
    font-family: 'Roboto', sans-serif;
    display: block;
    font-size: 14px;
    color: rgba(0,0,0,.75);
    margin-top: 5px;
    padding: 0;
}
#resume-favorites .delete-item {
    background-color: transparent;
    border: none;
    border-radius: 50%;
    width: 50px;
    transition: var(--transition-med);
}
#resume-favorites .delete-item:focus,
#resume-favorites .delete-item:active {
    outline: none;
    border: none;
}
#resume-favorites .delete-item::-moz-focus-inner {
    border: none;
}
#resume-favorites .delete-item svg path:last-child {
    fill: rgba(0,0,0,.35);
}
#resume-favorites .delete-item:hover {
    background-color: rgba(0,0,0,.1);
}
#resume-favorites .delete-item:hover svg path:last-child {
    fill: #EF5350;
}
#resume-favorites .container-button-clear-all {
    position: sticky;
    bottom: 0;
}
#resume-favorites .button-clear-all {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-2dp);
    height: 40px;
    width: 40px;
    line-height: 1;
    border-radius: 50%;
    background-color: #EF5350;
    border: none;
    transition: var(--transition-med);
}
#resume-favorites .button-clear-all:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: var(--shadow-4dp);
}
#resume-favorites .button-clear-all .inner-icon{
    fill: white;
    margin-left: 3px;
}
@media screen and (max-width: 992px) {
    #resume-favorites {
        bottom: 0;
        left: 0;
        right: 0;
    }
    #resume-favorites .expand-favorites {
        border-radius: 0 20px 0 0;
    }
    #resume-favorites .favorites-list {
        order: initial;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 0;
        padding-top: 0;
        transition: opacity 0s;
        overflow-y: auto;
    }
    #resume-favorites .expand-icon {
        opacity: 1;
        width: 24px;
    }
    #expandFavorites:checked ~ .expand-favorites .expand-icon {
        margin-left: auto;
    }
    #expandFavorites:checked ~ .favorites-list {
        margin-bottom: 0;
        padding-top: 0;
    }
    #expandFavorites:checked ~ .expand-favorites {
        height: 50px;
        width: 100%;
        border-radius: 20px 20px 0 0;
    }
}