/* this css is for filter dropdown and sorting / refresh button only */

.filter_dropdown_item_wrapper{
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #2c5e59;
    margin-left: 52px;
    margin-right: 52px;
    z-index: 1;
    position: relative;
}

.filter_dropdown_item{
	-webkit-transition: background-color 0.15s cubic-bezier(0.77, 0, 0.175, 1);
    transition: background-color 0.15s cubic-bezier(0.77, 0, 0.175, 1);
    flex: 1;
    border-radius: 20px;
    background-color: #fff;
    position: relative;
}

.filter_dropdown_item.opened{
}

.filter_dropdown_item:hover{
    background-color: #008285;
}

.filter_dropdown_selected{
    display: flex;
    gap: 10px;
    padding: 20px;
    position: relative;
    cursor: pointer;
}

.filter_dropdown_selected::after{
    content:"";
    position: absolute;
    width: 12px;
    height: 12px;
    border-top:1px solid #000;
    border-right:1px solid #000;
    transform: rotate(45deg);
    top:0px;
    right: 25px;
    bottom: 0px;
    margin: auto;
    display: block;
}

.filter_dropdown_item.opened .filter_dropdown_selected::after{
    transform: rotate(-45deg);
    top:6px;
}

.filter_dropdown_selected .icon{
    flex: 0 0 20px;
}

.filter_dropdown_selected .text{
    flex: 1;

}

.filter_icon{
    position: relative;
    width: 20px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.filter_icon_all_cat{
    background-image: url("../images/filter_icon_all_cat.png");
}

.filter_icon_choose_date{
    background-image: url("../images/filter_icon_choose_date.png");
}

.filter_icon_event_types{
    background-image: url("../images/filter_icon_event_types.png");
}

.filter_icon_organisers{
    background-image: url("../images/filter_icon_organisers.png");
}


.filter_dropdown{
	-webkit-transition: background-color 0.15s cubic-bezier(0.77, 0, 0.175, 1);
    transition: background-color 0.15s cubic-bezier(0.77, 0, 0.175, 1);
    display: none;
    position: absolute;
    left: 0px;
    top:100%;
    right: 0px;
    margin: auto;
    /* margin-top: -20px; */
    padding: 20px;
    padding-bottom: 20px;
    z-index: 9;
    background-color: #fff;
    border-radius: 20px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    transform: translateY(-20px);
}

.filter_dropdown_item:hover .filter_dropdown{
    background-color: #008285;
}

.filter_dropdown li{
    padding-top: 20px;
    margin-top: 20px;
    border-top:1px solid #000;
}

.filter_dropdown li:first-child{
    margin-top: 0px;
}

.filter_dropdown li li{
    border-top:1px dashed #000;
}

.filter_dropdown li li:first-child{
    border-top:1px dashed #000;
    margin-top: 20px;
}

.filter_dropdown a{
    display: block;
}

.filter_dropdown a.active, .filter_dropdown a:hover{
    color: #2c5e59;
}


.filter_btn_wrapper{
    display: flex;
    justify-content: end;
    gap: 20px;
}

.filter_btn{
    display: flex;
    gap: 10px;
    align-items: center;

    padding: 6px 12px 6px 14px;
    border-radius: 20px;
    background-color: #008285;
}

.filter_btn:hover{
    background-color: #792980;
    
}

.filter_btn .t{
    color: #000;
    line-height: 1em;
    margin-top: -4px;
}

.filter_btn .icon{
    width: 18px;
    height: 18px;
    position: relative;
}

.filter_btn .icon_refresh{
    background-image: url("../images/icon_refresh_black.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.filter_btn .icon_sort{
    background-image: url("../images/icon_sort.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.filter_date .filter_dropdown_selected{
    display: block;
    padding: 0px;
}

.filter_date .choose_date{
    background: none;
    border: none;
    width: 100%;
    padding: 20px 30px;
    padding-left: 50px;
    box-sizing: border-box;
    cursor: pointer;
}

.filter_date .filter_icon{
    position: absolute;
    left: 20px;
    top:20px
}

.filter_date .text{
}



@media screen and (max-width: 1023px) { 
    .filter_dropdown_item_wrapper{
        margin-left: 20px;
        margin-right: 20px;
        flex-wrap: wrap;
        margin-top: 0px;
    }

    .filter_dropdown_item {
        flex: 0 0 calc(50% - 10px);
    }

    .filter_btn_wrapper{
        margin-left: auto;
        margin-right: auto;
            flex: 0 0 100%;
    }
}


@media screen and (max-width: 640px) { 

    .filter_dropdown_item {
        flex:0 0 100%;
    }
}


@media screen and (max-width: 480px) { 
}