/*
Theme Name: ListingHive Child
Description: Child theme for ListingHive
Author: REUTIL
Author URI: 
Template: listinghive
Version: 1.0.0
Text Domain: listinghive
*/

@font-face {
    font-family: 'Avenir Bold';
    src: url('assets/fonts/avenirnextltpro-bold-webfont.woff2') format('woff2'),
        url('assets/fonts/avenirnextltpro-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Avenir Demi';
    src: url('assets/fonts/avenirnextltpro-demi-webfont.woff2') format('woff2'),
        url('assets/fonts/avenirnextltpro-demi-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Avenir Medium';
    src: url('assets/fonts/avenirnextltpro-mediumit-webfont.woff2') format('woff2'),
        url('assets/fonts/avenirnextltpro-mediumit-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Avenir Regular';
    src: url('assets/fonts/avenirnextltpro-regular-webfont.woff2') format('woff2'),
        url('assets/fonts/avenirnextltpro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

h1 {
    font-family: 'Avenir Bold';
}

h2 {
    font-family: 'Avenir Demi';
}

h3 {
    font-family: 'Avenir Medium';
}

p {
    font-family: 'Avenir Regular';
}

.header-navbar__menu ul li a,
.button {
    font-family: 'Avenir Regular';
}

.content-title {
    font-family: 'Avenir Bold';
    color: #3C3C3C;
}

.content-title::before {
    background-color: #ffe600 !important;
}

.header-navbar__start {
    width: 250px;
}

.hp-menu--site-header button,
.hp-form--listing-search .hp-form__button {
    border-radius: 50px;
}

@media only screen and (min-width: 75em) {

    .page span[id^="more-"]+.hp-form--listing-search,
    .hp-form--listing-search {
        border-radius: 50px !important;
    }
}

/* .hp-listing__badge {
    margin: 0 10px;
} */
.hp-listing--view-block {
    position: relative;
}

.hp-listing--view-block::before {
    content: '';
    position: absolute;
    display: block;
    width: 15px;
    height: 70%;
    background: #ffe600;
    z-index: 99999;
    left: -15px;
    bottom: 0;
}

.hp-page__content {
    margin-top: 0 !important;
}

.hp_quantity {
    position: absolute;
    padding: 8px 15px;
    background: #fff;
    bottom: 15px;
    right: 15px;
    border-radius: 30px;
    font-size: .875rem;
    box-shadow: 1px 2px 6px 1px #ddd;
}

.hp_quantity span {
    font-weight: bold;
}

.hp_disponibility {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
}

.hp_disponibility::before,
.hp_disponibility::after {
    position: absolute;
    z-index: -1;
    content: "";
    display: block;
    border: 5px solid #b1a002;
}

.hp_disponibility span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #ffe600;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #000;
    font-size: .75rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
}

.hp_fin_disponibility {
    width: 200px;
    height: 150px;
    position: absolute;
    border-radius: 30px;
}

.hp_fin_disponibility::before,
.hp_fin_disponibility::after {
    position: absolute;
    z-index: -1;
    content: "";
    display: block;
    border: 5px solid #b1a002;
}

.hp_fin_disponibility span {
    position: absolute;
    display: block;
    width: 155px;
    height: 45px;
    padding: 15px 15px;
    background-color: #000;
    color: #fff;
    font-size: .75rem;
    text-align: center;
    border-radius: 30px;
}

.badge-bottom-left {
    bottom: -97px;
    right: -15px;
}

.badge-bottom-left::before,
.badge-top-left::after {
    border-top-color: transparent;
    border-right-color: transparent;
}

.badge-bottom-left::before {
    bottom: 0;
    left: 0;
}

.badge-bottom-left::after {
    bottom: 0;
    left: 0;
}

.badge-bottom-left span {
    left: 30px;
    bottom: 30px;
}

.badge-top-right {
    top: -10px;
    right: -10px;
}

.badge-top-right::before,
.badge-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}

.badge-top-right::before {
    top: 0;
    left: 0;
}

.badge-top-right::after {
    bottom: 0;
    right: 0;
}

.badge-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
}

.wp-block-media-text__media {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hp-listing__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-listing__attribute--contionnement {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.hp-menu__item.hp-menu__item--user-login.hp-contact {
    background-color: #000;
    color: #ffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    justify-content: center;
    justify-items: center;
}

.hp-contact i {
    color: #ffff !important;
    transition: color .25s;
}

.hp-contact:hover i {
    color: #000 !important;
}

.hp-menu__item.hp-menu__item--user-login.hp-contact:hover {
    background-color: #ffe600;
    color: #000;
}


.wp-block-media-text__media video {
    height: auto;
    vertical-align: middle;
    width: 75%;
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

.wp-block-media-text__media img {
    height: auto;
    vertical-align: middle;
    width: 100%;
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

.wp-block-media-text__media::before {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../uploads/2024/04/fond-reutil.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    z-index: -1;
}

.hp-listing--view-block .hp-listing__attributes--primary .hp-listing__attribute {
    font-size: .875rem !important;
}

.hp-listing--view-block .hp-listing__attributes--primary .hp-listing__attribute strong {
    color: rgba(15, 23, 39, .85);
}

.hp-listing--view-block .hp-listing__footer {
    border: none !important;
    padding-top: 0 !important;
}

.hp-listing__attributes .hp-col-lg-6 {
    padding-left: 0 !important;
}

.hp-listing__content {
    padding-bottom: 10px !important;
}

.widget_nav_menu li::before {
    display: none !important;
}

.widget_nav_menu li {
    padding-left: 0 !important;
}

.footer-widgets {
    border: none !important;
}

.footer-logo-gcc {
    text-align: center;
}

.footer-logo-gcc span {
    display: block;
}

.footer-logo-gcc img {
    margin: 10px 0 50px;
    max-width: 150px;
}

.footer-navbar__end {
    margin: 0 auto;
}

.footer-navbar__menu ul li:not(:first-child)::before {
    content: '';
    border-left: 4px solid #ffe600;
}

.footer-navbar__menu ul li:not(:first-child) a {
    margin-left: 2rem;
}

.hp-vendor__information {
    text-align: center;
    font-size: .875rem;
}

.hp-vendor__information>div {
    margin-bottom: 10px;
}

.hp-listing--view-block .hp-listing__featured-badge {
    background-color: #ffe600 !important;
}

.menu-item--user-login {
    padding: 0 1rem 0 0 !important;
}

.hp-form--listing-search .hp-form__button,
.hp-form--vendor-search .hp-form__button {
    color: #9d9d9d;
}

.hp-listing__image img {
    min-height: 233px !important;
    max-height: 250px !important;
}

.hp-listing__images-slider {
    height: auto !important;
}

.hp_hero {
    background: rgba(0, 0, 0, .5);
    border-radius: 30px;
    padding: 20px;
    text-align: center;
}

.hp_hero>* {
    margin-bottom: 0 !important;
}

.header-hero__content h1 {
    font-family: 'Avenir Bold';
}

.header-hero__content p {
    font-family: 'Avenir Medium';
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 0 10px 0 0 !important;
    border-radius: 50px !important;
    padding: 0 .625rem !important;
    font-size: 14px;
    height: 45px !important;
    line-height: 40px;
    border-color: #ffe600 !important;
    background: #e7e5cc !important;
}

.header-navbar {
    transition: all 0.5s ease;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: .2rem 2rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.fixed .header-navbar__menu ul li ul {
    top: 75% !important;
}

.hp-field--attachment-upload[data-required=true] .hp-field__button--delete {
    display: flex;
}

@media only screen and (max-width: 767px) {
    .footer-navbar__menu ul {
        display: block !important;
        text-align: center;
    }

    .footer-navbar__menu ul li:not(:first-child)::before {
        border: none !important;
        display: none;
    }

    .footer-navbar__menu ul li:not(:first-child),
    .footer-navbar__menu ul li:not(:first-child) a {
        margin-left: 0 !important;
    }
}

.hp-listing__attributes .hp-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.hp-field--email-disabled {
    background-color: #e9ecef !important; 
    color: #6c757d !important;          
    cursor: not-allowed;      
    pointer-events: none;    
}