/*-------------------------------------------------------------
- Isotope
-------------------------------------------------------------*/

/*-------------------------------------------------------------
- Modal
-------------------------------------------------------------*/
.custom_modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
    justify-content: center;
    align-items: center;
}
.custom_modal_content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.custom_modal_close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.custom_modal_close:hover,
.custom_modal_close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/*-------------------------------------------------------------
- Mobile Facet
-------------------------------------------------------------*/
.custom_isotope_filter.mobile_facet_menu{
    display: block!important;
    position: fixed;
    z-index: 9999999;
    box-shadow: 0 0 4px rgba(0,0,0,.3);
    background: #fff;
    left: 110%;
    padding-top: 65px;
    top: 0px;
    width: auto!important;
    height: 100% !important;
    transition: left .2s ease-out,top .2s ease-out,width .2s ease-out,height .2s ease-out;
}
.custom_isotope_filter.mobile_facet_menu.open{
    left:25%;
}
.custom_isotope_filter.mobile_facet_menu.closed{
    left:110%;
    transition: left .2s ease-out,top .2s ease-out,width .2s ease-out,height .2s ease-out;
}
.custom_isotope_filter.closed a.mobile_facet_side_button,
a.mobile_facet_trigger.mobile_facet_bottom_button.closed{
    display: none;
}
a.mobile_facet_bottom_button{
    z-index: 9999999;
    background: #B2482c;
    display: inline-block;
    padding: 5px 20px;
    color: #fff;
}
a.mobile_facet_side_button {
    position: absolute;
    top: 260px;
    display: inline-block;
    padding: 10px;
    left: -45px;
    background: #B2482c;
    color: #fff;
    transform: rotate(270deg);
    transform-origin: left top 0;
    font-size: 20px;
}
a.mobile_facet_bottom_button:hover,
a.mobile_facet_side_button:hover{
    color:#fff;
}

/*-------------------------------------------------------------
- Mobile Facet Media Query
-------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
    a.mobile_facet_trigger.mobile_facet_bottom_button.closed{
        display: inline-block;
    }
    .filter_trigger{
        display: none;
    }
}