#favs-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

#favs-modal-content {
    background: #fff;
    width: 90%;
    max-width: 1400px;
    overflow: hidden;
    max-height: 70%;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
    padding: 20px 0 20px 20px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    display: flex;
    flex-direction: column;
}
#favs-modal-content .modal-header{
    display: grid;
    grid-template-columns: auto auto 1fr ;
    gap: 20px;
    align-items: start;
    margin-bottom: 36px;
    margin-right: 20px;
}

@media screen and (max-width: 768px) {
    #favs-modal-content .modal-header {
        font-size: .8em;
        .title{
            font-size: 1.2rem;
        }
    }
}
#favs-modal-content .fa-modal-close {
    background: transparent;
    border-radius: 5px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: 1px solid #C7C9D4;
    margin: 0 0 0 auto;
    grid-column: 3/4;
    grid-row: 1/2;
    --svg-color: #222222;
}
.favs-modal-header-content-title{
    grid-column: 1/2;
    grid-row: 1/2;
}
.favs-modal-header-content-content{
    grid-column: 1/2;
    grid-row: 2/3;
    p{
        margin-bottom: 0;
    }
}
.favs-modal-header-button{
    grid-column: 2/3;
    grid-row: 2/3;
}
@media screen and (max-width: 768px) {
    .favs-modal-header-content-content{
        grid-column: 1/4;
        grid-row: 2/3;
    }
    .favs-modal-header-button{
        grid-column: 1/2;
        grid-row: 3/4;
        margin-right: auto;
    }
}
#favs-modal-content .fa-modal-close svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@media only screen and (max-width: 768px) {
    #favs-modal-content .fa-modal-close {
        width: 38px;
        height: 38px;
    }
    #favs-modal-content .fa-modal-close svg {
        width: 18px;
        height: 18px;
    }
}

#favs-modal-content .fa-modal-close:hover {
    --svg-color: #ffffff;
    background: #FF643E;
    border: 1px solid #c36;
}

@media only screen and (max-width: 768px) {
    #favs-modal-content {
        max-height: 90%;
    }
}

.favs-list {
    height: 100%;
    overflow-y: auto;
    padding: 0 20px 0 0;
}

.favs-list .fav-items {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    @media only screen and (min-width:960px) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 15px;
    }
}

.favs-list .fav-item {
    margin-bottom: 10px;
}

@media screen and (min-width: 768px) {

    .favs-list .venues-items-link {
        flex-direction: row;
    }

    .favs-list .venues-items-link .venues-item-img {
        max-width: 180px;
    }

    .favs-list .venue-items-item .venues-item-favourite-btn {
        left: 136px;
        width: 46px;
    }
}
@media screen and (min-width: 1200px) {
    .favs-list .venues-items-link .venues-item-img {
        max-width: 230px;
    }
    .favs-list .venue-items-item .venues-item-favourite-btn {
        left: 184px;
    }
}

#open-favs-modal.has-favs .elementor-icon svg path {
    stroke: #FF643E;
    fill: #FF643E;
    transition: stroke 0.3s ease;
}

/*#favorite_detail_page .dce-add-to-favorites-add.is-favorited {*/
/*    background-color: #FF643E;*/
/*    color: white;*/
/*    border-color: #FF643E;*/
/*}*/
#favorite_detail_page .dce-add-to-favorites-add.is-favorited svg path{
    stroke: #FF643E;
    fill: #FF643E;
    transition: stroke 0.3s ease;
}


/*#favorite_detail_page .dce-add-to-favorites-add.is-favorited svg path {*/
/*    fill: white;*/
/*}*/

.orange-button{
    background-color: #FF643E;
    border: 1px solid #FF643E;
    font-size: 14px;
    font-weight: 500;
    line-height: 12px;
    color: #FFFFFF !important;
    border-radius: 6px 6px 6px 6px;
    padding: 16px 16px 16px 16px;
}
.orange-button:hover {
    color: #FF643E !important;
    background-color: #fff;
 }