/*
 Theme Name:   Listingpro Child
 Theme URI:    http://studio.cridio.com/listingpro/
 Description:  Listingpro Child Theme
 Author:       cridio team
 Author URI:   http://cridio.com/
 Template:     listingpro
 Version:      1.0.0
 Tags:         listingpro, directory, listing, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  listingpro
*/

/* GLOBAL */
/* Make Avatar image full size */
.lp-join-now span img {
    height: 100%;
    object-fit: cover;
}

.help-tooltip > p {
    text-transform: none;
}

.btn-second-hover:hover {
    color: #fff !important;
}

/* -- Header */
.lp-header {
    background-color: #fcfbf5;
}

.lp-header-full-width .lp-add-listing-btn ul li a.header-list-icon-st6 {
    color: #fff;
}

.mm-menu .lp-join-user-info {
    display: block;
    position: absolute;
    top: 200px;
    z-index: 500;
    left: 2rem;
    right: 2rem;
    background-color: #f4f4f4;
    padding: 0.25rem 2rem;
}

.mm-menu .lp-join-user-info li:hover .lp-user-menu {
    width: 100%;
}

.mm-menu .lp-join-user-info .lp-user-menu::after {
    display: none;
}

/* Top Search Form */
div.lp-search-bar-header {
    border: 2px solid #e1e1e1;
    border-radius: 4px;
}

.lp-search-bar-header .lp-header-search-button .lp-search-bar-right .fa-magnifying-glass.lp-search-icon:hover {
    background: transparent;
    color: currentColor;
}

.lp-search-bar .select2-container span.select2-selection--single {
    border-left-color: #e1e1e1 !important;
}

.select2-container--default .select2-selection--single span.select2-selection__arrow {
    right: 0 !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #e1e1e1;
}

@media (min-width: 980px) and (max-width: 1380px) {
    .lp-search-bar-header .lp-header-search-button div.lp-search-bar-right {
        right: 0 !Important;
    }
}

@media (max-width: 768px) {
    .lp-header-search-wrap {
        top: 0 !important;
    }

    body.search-results .lp-search-header-style .lp-search-bar-header div.form-group.lp-location-search {
        width: calc(100% - 50px) !important;
        margin-bottom: 0;
    }

    .lp-header-search-button {
        width: 50px;
        float: left;
        left: 0;
        bottom: -2px;
        position: relative;
    }

    body.search-results .lp-search-header-style .lp-search-bar-header .lp-search-bar-right .lp-search-icon {
        margin-left: 0;
    }
}

@media (max-width: 667px) {
    .lp-menu-bar .lp-logo-container {
        width: 100% !important;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .lp-menu-bar .lp-logo-container > .lp-logo {
        flex: 1;
    }
}

.mm-menu .mm-navbars_top div.mm-navbar {
    background-color: #fff;
    padding: 2rem 2rem 6rem;
}

div.mm-panels {
    top: 191px !important;
}

.mm-panels > .mm-panel > ul.mm-listview {
    padding: 2rem;
}

a.lpl-button {
    top: 100px;
    left: 2rem;
    margin-left: 0;
}

a.lpl-button.md-trigger {
    left: unset;
    right: 2rem;
}

a.lpl-button.lpl-signout {
    left: unset;
    right: 2rem !important;
}

/* -- Footer */
/* Footer menu styles */
footer .footer-menu {
    display: flex;
    flex-direction: column;
}

footer .footer-menu li {
    text-align: left;
    margin-bottom: 1rem;
}

footer .footer-menu > li > a {
    font-size: 1.125em;
    font-weight: bold;
    padding: 0 0 0.25rem 0;
}

footer .footer-menu ul.sub-menu {
    display: flex;
    flex-direction: column;
}

footer .footer-menu ul.sub-menu > li {
    margin-left: 0;
    margin-bottom: 0.5rem;
    font-size: 0.95em;
}

@media only screen and (min-width: 800px) {
    footer .footer-menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
}

/* ADMIN */
/* Dashboard Logo */
.page-template-template-dashboard #sidebar_menu .sidebar-brand img {
    opacity:0;
}

.page-template-template-dashboard #sidebar_menu .sidebar-brand > a:not(#menu-toggle)::after {
    content: '';
    display: block;
    position: absolute;
    top: 0.5rem;
    right: 7rem;
    bottom: 1rem;
    left: 3rem;
    background-image: url('/app/themes/listingpro-child/assets/images/admin/logo-white.png');
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Admin menu icon for menu/product list */
.icon-vegetables {
    display: inline-block;
    height: 17px;
    width: 17px;
    background-image: url('./assets/images/icon-vegetables.svg');
    margin-right: -2px;
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
}

/* Published status checkmark for admin */
.lp-status-container .fa-circle-check {
    color: #73d500;
}

/* PAGES */
/* -- HOMEPAGE */
/* Fix spacing issue on homescreen banner */
.lp-home-categoires.lp-inside-search-view4:not(.lp-inside-search-view2) li a span {
    line-height: 20px !important;
}

.lp-header-search-wrap-sidebar-banner .lp-header-search .lp-header-search-form .lp-search-form-what {
    float: none !important;
}

.lp-header-search-wrap-sidebar-banner .lp-header-search .lp-header-search-form .lp-suggested-search {
    float: none !important;
}

@media only screen and (max-width: 768px) {
    .lp-header-search-form .lp-search-bar-right {
        width: unset !important;
    }
    .lp-header-search-wrap-sidebar-banner .lp-header-search i.lp-search-icon {
        margin-left: -50px;
    }
}

/* -- Align placeholder alignment */
.lp-header-search.lp-header-search-sidebar-style .lp-search-form-what input {
    padding-left: 50px !important;
}

@media (max-width: 1024px) and (min-width: 981px) {
    .lp-header-search-form .lp-suggested-search {
        width: 100% !important;
    }
}

/* Fix homepage search button color */
body.home .lp-header-search-wrap .lp-search-btn {
    background-color: #F29559;
}

/* -- Listing Search */
.lp-list-page-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.btn-submit-farm {
    background-color: #d0eed1;
    color: #124713;
    border-color: #124713;
    font-size: 1.25rem;
    font-weight: bold;
}

/* -- Listing Singleton */
/* Provide some background color for a listing's lead generation widget */
.single_listing .widget-box.business-contact.classic-business-lead-form.lp-lead-form-st {
    background: #28384522;
}

/* Ensures 'Visit Profile' link doesn't overlay the owner's name */
.widget-box.business-contact.classic-business-lead-form.lp-lead-form-st .user_texts .author-socials {
    padding-right: 7.5rem;
}

@media (max-width: 667px) {
    .single-inner-classic-container > .row {
        display: grid;
    }

    .single-inner-classic-container > .row > div:first-child {
        order: 2;
    }
}

.sidebar-post-classic div.widget-classic-box {
    float: none;
}

.tag-badge {
    background-color: #e7e7e7;
    color: #444;
}

/* FORMS */
.submit_new_style .checkbox label::before {
    opacity: 1;
    background-color: transparent;
    color: #454545;
    border: 1px solid #454545;
}

input[type="checkbox"]:checked + label:before {
    color: #454545;
}

.lp-banner-sidebar-search .header-filter .lp-location-search .ui-widget>i,
.lp-banner-sidebar-search .lp-search-bar .lp-location-search .ui-widget>i {
    left: unset;
    right: 1rem;
}

.lp-banner-sidebar-search .header-filter .lp-location-search .ui-widget>i::before,
.lp-banner-sidebar-search .lp-search-bar .lp-location-search .ui-widget>i::before {
    font-size: 1.25em;
    color: #454545;
}

/* -- Account signup */
label[for="check_policy"] {
    font-size: 1rem;
}

/* -- Create Listing Form */
/* Form Styles specific to create listing form */
form#lp-submit-form,
form#lp-submit-form label,
form#lp-submit-form input,
form#lp-submit-form .hours,
form#lp-submit-form .hours > span.weekday,
form#lp-submit-form .select2-selection.select2-selection--single .select2-selection__rendered{
    font-size: 16px;
}

form#lp-submit-form .hours > span.start,
form#lp-submit-form .hours > span.end {
    width: 85px;
}

/* Provide some background color for a listing's lead generation widget */
.single_listing .widget-box.business-contact.classic-business-lead-form.lp-lead-form-st {
    background: #28384522;
}

/* Ensures 'Visit Profile' link doesn't overlay the owner's name */
.widget-box.business-contact.classic-business-lead-form.lp-lead-form-st .user_texts .author-socials {
    padding-right: 7.5rem;
}

.help-tooltip > p {
    text-transform: none;
}

/* -- Search Listings Index Form */
.lp-search-bar-header {
    border: 2px solid #eee;
}

.lp-header-style-classic div.lp-search-header-style {
    width: 650px;
}

div.lp-header-style-classic .form-group.lp-suggested-search {
    width: 50%;
}

div.lp-header-style-classic .form-group.lp-location-search {
    position: relative;
    width: 49%;
    margin-left: 0;
}

.lp-where + .ui-widget {
    width: 100% !important;
}

div.what-placeholder.pos-relative {
    padding: 0 30px 0 57px;
}

div.what-placeholder.pos-relative input.lp-suggested-search {
    min-width: unset;
}

.lp-search-bar-header .lp-header-search-button .lp-search-bar-right input.lp-search-btn {
    border-radius: 0;
    margin: -1px 0 0 0;
}

.select2-container--default .select2-selection--single span.select2-selection__arrow {
    right: 50px;
}

#select2-searchlocation-container {
    padding-right: 75px;
}

.select2-container--open .select2-dropdown--below {
    margin-top: 2px;
}

.lp-search-bar-header .lp-header-search-button .lp-search-bar-right {
    z-index: 500;
}

/* Reviews Button */
.reviews.sbutton {
    cursor: auto;
}

/* Payment & Checkout */

#listings_checkout_form .lp-rightbnk-transfer-msg-new .lp-method-wrap p {
    max-width: 180px;
    position: relative;
    margin: 0;
}

.filter_checkbox_checkmark {
    border: 1px solid #b3b3b3;
}