/*
Theme Name: CP-E
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

#custom-ymme-form, #custom-ymme-form-search{
    font-size: 15px;
    position: relative;
}
#custom-ymme-form.loading:before, #custom-ymme-form-search.loading:before{
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background-color: #00000052;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(custom-js/img/custom-spinner1.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50px 50px;
}
#custom-ymme-form .inner,
#custom-ymme-form-search .inner{
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
}
#custom-ymme-form .t1,
#custom-ymme-form-search .t1{
    text-transform: uppercase;
    margin: 0px 10px 0px 0px;
    line-height: 1.4;
    font-weight: 700;
    color: #fff;
}
#custom-ymme-form .item-select,
#custom-ymme-form-search .item-select{
    width: 170px;
    margin-right: 5px;
}
#custom-ymme-form .item-select select,
#custom-ymme-form-search .item-select select{
    width: 100%;
}
#custom-ymme-form .item-submit input,
#custom-ymme-form-search .item-submit input{
    background: #050505;
    border-color: #050505;
}

#custom-ymme-search-result .inner-wrap{
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
#custom-ymme-search-result .item{
    width: 25%;
    padding: 0px 10px 20px;
}
#custom-ymme-search-result .porto-block > .porto-section{
    margin: 0 !important;
}

.ymme-search-section{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-bottom: 50px;
}

#custom-ymme-form-search .t1{
    color: #212529;
    font-size: 20px;
}

#custom-ymme-search-result{
    position: relative;
}
#custom-ymme-search-result.loading{
    min-height: 400px;
}
#custom-ymme-search-result.loading:before{
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background-color: #00000052;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(custom-js/img/custom-spinner1.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50px 50px;
}

body.page-id-27848 .remove-on-search-ymme{
    display: none;
}
.list-navigation{
    width: 100%;
    padding-top: 25px;
    border-top: 1px solid #e7e7e7;
}
.list-navigation .page-numbers{
    display: inline-block;
    border: 1px solid #e7e7e7;
    color: #777777;
    margin-left: 5px;
    font-size: 15px;
    font-weight: 700;
    min-width: 33px;
    line-height: 33px;
    height: 33px;
    vertical-align: middle;
    text-align: center;
    padding: 0 5px;
}
.list-navigation .page-numbers.current,
.list-navigation .page-numbers:hover{
    border-color: #6da5f8;
}
.custom-ymme-sort-by{
    margin-bottom: 20px;
}
.custom-ymme-sort-by label{
    margin-right: 10px;
}

@media only screen and (max-width:1023px){
    #custom-ymme-search-result .item{
        width: 33.3%;
    }
}
@media only screen and (max-width:767px){
    #custom-ymme-search-result .item{
        width: 400px;
        max-width: 100%;
    }

    #custom-ymme-form .item,
    #custom-ymme-form-search .item{
        width: 100%;
        margin: 5px 0;
    }
}