﻿/*!
 *   ficsantarem v1.0.0
 *   Author: ficsantarem
 *   Website: ficsantarem.pt <https://ficsantarem.pt>
 */
/*!
***************   FILTERS
 */
.filters {
    height: 57px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-family: "DM Sans";
    font-size: 27px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border: 1px solid black;
}

    .filters select {
        background-color: #d3503c;
        color: #000;
        font-size: 27px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        border: 1px solid black;
        padding: 0px 50px 0px 17px;
        display: inline-flex;
        height: 100%;
        align-items: center;
        appearance: none;
        background-image: url(/images/select_arrow.svg);
        background-position: calc(100% - 15px) calc(1em + -30px), calc(100% - 15px) calc(1em + 0px), 100% 0;
        background-size: 35px 35px, 35px 35px, 4.5em 4.5em;
        background-repeat: no-repeat;
        outline: none;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
    }

option:hover {
    background-color: yellow;
}

select option:checked {
    background-color: #d3503c;
}

.option {
    background-color: #EAEAEA !important;
    box-shadow: none;
    text-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.filters .days,
.filters .extras {
    border: 1px solid black;
    /* padding: 0px 0px 0px 17px; */
    display: inline-flex;
    height: 100%;
    align-items: center;
}

.filters .title {
    padding-right: 17px;
    padding-left: 17px;
    height: 100%;
    display: flex;
    align-items: center;
}

.filters .items {
    display: inline-flex;
    height: 100%;
}

    .filters .items .item {
        padding: 0px 20px;
        background-color: #d3503c;
        color: #000;
        border-left: 1px solid black;
        border-right: 1px solid black;
        border-radius: 50%;
        text-decoration: none;
        height: 100%;
        display: flex;
        align-items: center;
    }

.filters .extras .items .item {
    border-radius: 0;
    display: flex;
    align-items: center;
}

.filters .items .selected {
    background-color: #000;
    color: #d3503c;
}

.filters .items .item:hover {
    background-color: #000;
    color: #EAEAEA;
}

.personalized_select_input {
    height: 100%;
    background-color: #d3503c;
    position: relative;
    display: flex;
    border: 1px solid black;
    padding-left: 1px;
    cursor: pointer;
    user-select: none;
    width: 500px;
    justify-content: space-between;
}

    .personalized_select_input .label {
        padding: 0px 13px;
        display: flex;
        align-items: center;
    }

    .personalized_select_input .open {
        border-left: 1px solid black;
        width: 61px;
        display: flex;
    }

        .personalized_select_input .open img {
            margin: auto;
        }

    .personalized_select_input .list {
        display: none;
        position: absolute;
        flex-direction: column;
        top: 57px;
        border: 1px solid black;
        width: 100%;
        left: -1px;
        z-index: 99;
        background-color: #EAEAEA;
    }

        .personalized_select_input .list .item {
            display: flex;
            justify-content: space-between;
            align-content: center;
        }

            .personalized_select_input .list .item .label {
                border-bottom: 1px solid black;
                width: 100%;
                height: 57px;
                display: flex;
                align-items: center;
            }

                .personalized_select_input .list .item .label:hover {
                    background-color: #d3503c;
                }

            .personalized_select_input .list .item:last-child .label {
                border-bottom: none;
            }

            .personalized_select_input .list .item:nth-last-child(2) .close {
                border-bottom: 1px solid black;
            }

    .personalized_select_input .close {
        border-left: 1px solid black;
        width: 61px;
        display: flex;
        min-width: 61px;
    }

    .personalized_select_input .list .item:last-child .close {
        background-image: url(/images/select_arrow.svg);
        transform: rotate(180deg);
        background-position: calc(100% - 13px) calc(1em + -11px), calc(100% - 15px) calc(1em + 0px), 100% 0;
        background-repeat: no-repeat;
        border-left: none;
        border-right: 1px solid black;
    }

    .personalized_select_input .selected .label {
        background-color: #d3503c;
    }


@media only screen and (max-width: 1280px) {
    .filters {
        font-size: 22px;
        font-weight: 500;
        height: fit-content;
        flex-direction: column;
    }

        .filters .items .item {
            padding: 0px;
            border-radius: 0;
            width: 100%;
            height: 50px;
            border-bottom: 1px solid black;
            justify-content: center;
            line-height: 50px;
        }

        .filters .personalized_select_input {
            height: 50px;
            align-items: center;
            width: 100%;
        }

            .filters .personalized_select_input .label {
                width: 100%;
            }

            .filters .personalized_select_input .open {
                height: 100%;
                align-items: center;
                width: 58px;
            }

                .filters .personalized_select_input .open img {
                    height: 21px;
                    width: 30px;
                }

            .filters .personalized_select_input .list {
                top: 50px;
            }

                .filters .personalized_select_input .list .item {
                    height: 51px;
                }

                    .filters .personalized_select_input .list .item .label {
                        width: 100%;
                        height: 50px;
                        line-height: 50px;
                    }

                    .filters .personalized_select_input .list .item .close {
                        width: 58px;
                        height: 50px;
                        min-width: 0;
                    }

                    .filters .personalized_select_input .list .item:last-child .close {
                        background-image: url(/images/select_arrow_mobile.svg);
                        background-position: calc(11px) calc(13px), calc(15px) calc(1em), 100% 0;
                    }

        .filters .days,
        .filters .extras {
            height: auto;
            width: 100%;
            display: flex;
            flex-direction: column;
            padding: 0;
        }

            .filters .days .title,
            .filters .extras .title {
                height: 50px;
                border: 1px solid black;
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                line-height: 50px;
            }

        .filters .items {
            display: flex;
            flex-direction: column;
            width: 100%;
        }
}