/*GPL SEARCH*/
.hidden{
    display: none;
}

.gpl_search_wrapper{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 71px;
}


.gpl-inputWrapper{
    display: flex;
}

.gpl-inputFields{
    display: flex;
    flex-direction: column;
}
.select_wrapper{
    width: 100%;
    height: 100%;
}
#et_pb_gpl_project_cat_filters{
    height: 100%;
    width: 100%;
    line-height: 50%;
    padding: 0 12px;
    font-size: 18px;
    border: none;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    color: #6c757d;
}
#et_pb_gpl_project_cat_filters option{
    color: #6c757d;
    font-size: 16px;
    padding-left: 25px;
    background-color: white;
    line-height: 40px;
    height: 40px;
}

.gpl_project_heading{
    font-size: 24px;
    color: #fff;
    background-color: #000000;
    line-height: 36px;
    min-width: 33%;
    padding: 5px 15px 5px 5px;
    min-height: 71px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}
.gpl_project_heading::before{
    position: absolute;
    top: 0;
    left: -40vw;
    width: 40vw;
    height: 100%;
    display: block;
    content: '';
    background-color: #000000;
    overflow: hidden;
}
.et_pb_gpl_search_button {
    background-color: #000000;
    color: #fff;
    font-size: 24px;
    line-height: 71px;
    padding: 0 20px;
}
.filter_wrapper{
    display: flex;
    height: 100%;
    min-width: 350px;
}
.gpl_search_input{
    width: 100%;
    background-color:#f8f9fa;
    padding: 0 15px;
    border:none;
    font-size: 18px;
    height: 100%;
    color: #6c757d;
}
.gpl_search_input::placeholder{
    font-size: 18px;
    color: #6c757d;
}
#et_pb_gpl_project_do_search{
    cursor: pointer;
}

/*GPL LIST*/
.gpl-li-row{
    height: 250px;
    display: flex;
    padding: 25px;
    transition: background-color .3s ease-in;
}
.gpl-li-row:hover{
    background-color: #e9ecef;
}
.et_pb_portfolio_items :nth-child(even) .gpl-li-row{
    background-color: #f8f9fa;
}

.planning-li-wrapper{
    height: 220px;
}

.gpl-featured-img, .gpl-featured-emblem{
    height: 100%;
    width: 300px;
    object-fit: cover;
    overflow: hidden;
    margin: 0 45px 0 0;
}
.gpl-featured-emblem{
    width: 200px;
    object-fit: contain;
}

.gpl-descr-wrapper{
    height: 100%;
    max-width: 60ch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-left: 25px;
}
.gpl-descr-text .subtitle{
    line-height: 21px;
}
.gpl-detail-button{
    font-size: 16px;
    padding: 0.3em 1em;
    border: 1px solid #000000;
    color: #000000;
    transition: all .2s ease-in;
}
.gpl-detail-button:hover{
    border-color: #F2A300;
    color: #F2A300;
    background-color: white;
}

.planning-sub{
    padding: 0;
    margin-bottom: 2px;
}

/*filter display*/
#et_pb_gpl_project_active_filters{
    transform: translateY(8px);
    margin: 10px 0 0 25px;
    display: none;
    padding: 0 0 15px 0;
}

.search, .categories{
    display: inline;
}

.filter-element{
    color: #000000;
    padding: 8px 16px;
    background-color: #F2A300;
    transition: all .2s ease-in;
    margin: 10px 15px 0 0;
    cursor: pointer;
    width: auto;
    position: relative;
    display: inline-block;
}
.filter-element:hover{
    background-color: #e9ecef;
    padding-right: 25px;
}
.filter-element:hover::after{
    transform: translateX(-5px);
    opacity: 1;
}
.filter-element::after{
    opacity: 0;
    content: '\00d7';
    font-size: 25px;
    width: 15px;
    height: 15px;
    position: absolute;
    font-weight: bold;
    text-align: center;
    line-height: 15px;
    right: 0;
    top: 5px;
    transition: all .3s ease-in;
    transform: translateX(-10px);
}

.gpl-noResult{
    padding: 8px 25px;
}


/*Pagination*/

.pagination{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.pagination li{
    list-style: none;
}
.pagination li a{
    text-align: center;
    line-height: 40px;
    background-color: #f8f9fa;
    color: #212529;
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #212529;
    transition: all .2s ease-in;
}
.pagination li.active a{
    background-color: #212529;
    color: #fff;
}
.pagination li:not(.active) a:hover{
    background-color: #e9ecef;
}


/*Mobile*/
@media(max-width: 980px){
    .gpl_project_heading{
        padding: 8px 4px;
        width: 100%;
        min-height: 0;
    }
    .gpl_project_heading::before{
        position: absolute;
        top: 0;
        left: -40vw;
        width: 40vw;
        height: 100%;
        display: block;
        content: '';
        background-color: #000000;
        overflow: hidden;
    }

    /*search menu*/
    .gpl_search_wrapper{
        margin: 0 0;
        flex-direction: column;
        justify-content: flex-start;
    }
    .gpl-inputWrapper{
        width: 100%;
    }
    .gpl-inputFields{
        width: 100%;
    }
    .select_wrapper, .filter_wrapper{
        height: 42px;
    }
    .gpl_project_heading{
        min-width: 50%;
    }
    .filter_wrapper{
        min-width: 90% !important;
    }
    #et_pb_gpl_project_do_search{
        line-height: 50px;
    }

    .gpl_search_input, .filter_wrapper, .select_wrapper{
        height: 100%;
    }
    .gpl_search_input {padding: 0 4px 0 4px; }

    #et_pb_gpl_project_cat_filters {padding: 0 12px 0 0; }

    /*list*/
    .gpl-li-row{
        height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 25px 0 25px 0;
    }
    .gpl-descr-wrapper{
        max-width: 200px;
        margin-left: 0;
        align-items: center;
    }
    .gpl-descr-text{
        text-align: center;
    }
    .gpl-featured-img, .gpl-featured-emblem{
        max-height: 350px;
        width: 100%;
        margin: 15px 0 !important;
    }
    .gpl-featured-emblem{
        max-height: 150px;
    }
    .et_pb_portfolio_item{
        border-bottom: 1px solid #ced4da;
    }
    .gpl-descr-wrapper{
        width: 100%;
    }
    .gpl-descr-text .subtitle{
        margin-bottom: 15px;
    }
    .planning-li-wrapper .gpl-descr-wrapper{
        align-items: center;
        text-align: center;
    }


}