/*
Theme Name: adforest child
Description: Thème enfant préparé pour Afrikomkom (2025)
Author: Auguste & Louis
Theme URI: http://adforest.scriptsbundle.com/demos/
Author URI: https://augustelouis.com/
Version: 1.0.1
Template: adforest
Text Domain: akk
*/

@import "css/header-and-footer.css";
@import "css/custom-wpbakery-row.css";
@import "css/packages.css";

/* Hyperlink */
.wpb-content-wrapper .wpb_text_column a {
	text-decoration: underline;
	color: #000000;
}
.wpb-content-wrapper .wpb_text_column a:hover {
	color: #ffc220;
}

/* List UL LI */
.wpb_text_column.wpb_content_element ul li {
	list-style: disc;
	margin-left: 20px;
}

/* Heading 5 */
.wpb_text_column.wpb_content_element h5 {
	margin-bottom: 12px;
}

/* Buttons */
.vc_btn3.vc_btn3-color-orange, .vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat {
    color: #3c3c3c !important;
    background-color: #f3c300 !important;
}
.vc_btn3.vc_btn3-color-orange:hover, .vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat:hover {
    color: #3c3c3c !important;
    background-color: #ffcd00 !important;
}

/* Accordeon */
.vc_tta-container h3 {
	padding-bottom: 40px
}
.vc_tta-title-text {
	line-height: 1.5em;
	color: #20292f;
}
.vc_tta .vc_tta-controls-icon.vc_tta-controls-icon-plus::before,
.vc_tta .vc_tta-controls-icon.vc_tta-controls-icon-plus::after {
	border-color: #20292f !important;
}

/* Home page - misc customizations */
#akk-home-hero-with-search h1 {
    text-transform: none;
}
.custom-category-grid .wpb_wrapper > .vc_row > div {
    padding: 10px;
}
.custom-category-grid .wpb_wrapper > .vc_row > div > div.vc_column-inner {
    position: relative;
    padding: 0;
    margin: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 20px;        /* round up corners */
}
.custom-category-grid .wpb_wrapper > .vc_row > div > div.vc_column-inner > div.wpb_wrapper .wpb_text_column {
    position: relative;
    padding: 0;
    margin: 0;
}
.custom-category-grid .wpb_wrapper > .vc_row > div > div.vc_column-inner > div.wpb_wrapper .wpb_text_column > div.wpb_wrapper > p {
    position: relative;
    width: 100%;
    padding: 50% 0;
}
.custom-category-grid .wpb_wrapper > .vc_row > div > div.vc_column-inner > div.wpb_wrapper .wpb_text_column > div.wpb_wrapper > p::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(0,0,0,0.5);
    transition: background 0.25s ease-out;
    border-radius: 20px;        /* round up corners */
}
.custom-category-grid .wpb_wrapper > .vc_row > div > div.vc_column-inner > div.wpb_wrapper .wpb_text_column > div.wpb_wrapper > p:hover::before {
    background: rgba(0,0,0,0.125);
}
.custom-category-grid .wpb_wrapper > .vc_row > div > div.vc_column-inner > div.wpb_wrapper .wpb_text_column > div.wpb_wrapper > p:hover > a {
    opacity: 1;
    box-shadow: 0 0rem 2rem -0.05rem #444444;
}
.custom-category-grid .wpb_wrapper > .vc_row > div > div.vc_column-inner > div.wpb_wrapper .wpb_text_column > div.wpb_wrapper > p > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    align-items: end;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.8;
    border-radius: 20px;
}
.home .sb-header .form-inline {         /* hide search box in header, as it's already in hero block */
    max-width: 0px;     /* :NOTE: display:none creates a logo layout issue */
    overflow: hidden;
}
.home .wpb-content-wrapper h2 {
    font-size: 45px;        /* match hero h1 */
}



/* ------------------------------------------------------------------ J --------------------------------------------------------------------------- */

/* Login & Sign Up pages ------------------------------------------------------------ */

#register-user-img {
    margin-top: 20px;
}
.wel-register-heading a.btn {
    text-transform: none !important;
}
.sign-up-row-merchant .option-social,
.sign-up-row-merchant .social-list {     /* hide social sign up for merchants */
    display: none;
}

/* Sign Up, responsive */
@media (max-width: 768px) {
    .sign-up-row .row,
    .sign-up-row-merchant .row {
		flex-direction: column-reverse;
        padding-top: 20px;
	}
}

/* Search results pages ------------------------------------------------------------ */

.page-template-page-search .feature-ads .feature-detail-heading > span > i,
.page-template-page-search #ads-search-container .prop-estate-text-section > a > p > i {
    display: none;      /* hide empty location / map marker icon */
}
.page-template-page-search .feature-ads .category-title {
    line-height: 22px;
    padding-bottom: 20px;
}
.page-template-page-search .prop-content-area i.fa > span {
    font-family: Poppins;   /* fix font issue */
}
.page-template-page-search .prop-estate-icons .ad-favourited i {        /* recolor favourite icon when ON */
    color: #FFAB00;
    background-color: rgb(236, 17, 114);
}
.page-template-page-search .prop-estate-icons i {        /* recolor favourite icon when ON */
    color: #000000;
}

/* Merchant Public Profile ------------------------------------------------ */

/* "not logged in" state */
.archive.author .profile-content.akk-user-not-connected {
    background-image: url(/wp-content/themes/adforest-child/akk-images/ad-listing-vendor-info-user-not-connected-bg-v1.jpg);
    margin-bottom: 40px;
    padding: 20px;
}
.archive.author .profile-content.akk-user-not-connected > div {
    margin-top: 80px;
    padding: 50px 20px;
    background-color: #F1DBE6;
    text-align: center;
}
.archive.author .profile-content.akk-user-not-connected .text-content a {
    color: #DA0073;
}
.archive.author .profile-content.akk-user-not-connected .btn {
    border-radius: .25rem;
    border-color: #DA0073;
    background-color: #DA0073;
}
.archive.author .profile-content.akk-user-not-connected .btn:hover {
    border-color: #BD0E5C;
    background-color: #BD0E5C;
}
.archive.author .profile-content.akk-user-not-connected .text-content {
    padding: 15px 0px;
    line-height: 1.75em;
}
/* "merchant not verified" state */
.archive.author .profile-content.akk-vendor-not-verified {
    margin-bottom: 40px;
    padding: 50px 40px 30px;
    text-align: center;
    background-color: #000000;
}
.archive.author .profile-content.akk-vendor-not-verified .title h4 {
    color: #FFFFFF;
}
.archive.author .profile-content.akk-vendor-not-verified .text-content {
    padding: 15px 0px;
    line-height: 1.75em;
}
/* page bg color */
.archive.author .profile-page {		/* page content bg color */
	/* background-color: #ffffff; */
}
/* ads details */
.archive.author .great-product-content > span {        /* hide empty location / map marker icon */
    display: none;
}
/* ads overlays */
.archive.author .great-product-herro .aln-img {    /* ads overlay: hide vendor in bottom left corner */
    display: none;
}
.archive.author .great-product-herro a.ad-favourited {        /* ads overlay: recolor favourite icon when ON */
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    background-color: rgb(236, 17, 114);
}
.archive.author .great-product-herro a.ad-favourited i {
    color: #FFAB00;
}
.archive.author .great-product-herro .heart-icons-1 {        /* ads overlay: recolor favourite icon when OFF */
    background: rgba(255, 255, 255, 0.5);
}
/* left column (profile) */
.archive.author .profile-dealer {	/* hide Dealer, Green Lover, etc. at the top */
	display: none;
}
.archive.author .profile-header {	/* make top colored bg taller & change color */
	padding-bottom: 155px;
	background-color: #F8F7F3;
}
.archive.author .profile-main-img img {
	width: 250px !important;
	height: 250px !important;
	box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
}
.archive.author .profile-main-img {
	padding-top: 30px;	/* move image up */
}
.archive.author .profile-heading {	/* move display name etc. down */
	padding-top: 90px;
}
.archive.author .profile-heading h4 {
	font-size: 26px;
    margin-top: 10px;
}
.archive.author .akk-merchant-phone-whatsapp {  /* phone and whatsapp */
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 20px;
    padding-bottom: 20px;
}
    .archive.author .btn-phone-akk {
        padding: 10px 20px;
        width: 90%;
        color: #242424;
        border-color: #D9D4CC;
        background-color: #D9D4CC;
        border-radius: 5px;
        margin: 5px;
        font-weight: 600;
    }
    .archive.author .btn-phone-akk:hover {
        background-color: #E6E2DD;
    }
    .archive.author .btn-whatsapp-akk {
        width: 90%;
        color: #242424;
        border-color: #FFAB00;
        background-color: #FFAB00;
        padding: 10px 20px !important;
        border-radius: 5px;
        margin: 5px;
        font-weight: 600;
    }
    .archive.author .btn-whatsapp-akk:hover {
        background-color: #FFBF4A;
    }
.archive.author .profile-social {           /* social links */
    display: block;     /* AdForest = flex */
    text-align: center;
    padding-top: 0px;
}
    .archive.author .profile-social div {
        display: inline-block;
    }
    .archive.author .profile-social a {
        display: inline-block;
        margin: 0px 7px;
        background-color: #FFFFFF;
        width: 50px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        border-radius: 50%;
    }
    .archive.author .profile-social a:hover {
        background-color: #FFAB00;
        box-shadow: 0 0.5rem 1.125rem -0.5rem #2f2f2f;
    }
    .archive.author .profile-social a img {
        width: 22px;
        opacity: 0.33;
        transition: opacity 0.25s;
    }
    .archive.author .profile-social a:hover img {
        opacity: 0.66;
    }
.archive.author .adforest-introduction {            /* main "long" description */
    background-color: #FAFAFA;
}
.archive.author .akk-profile-origins {            /* drapeaux / pays d'origine */
    text-align: center;
    padding-top: 0;
}
    .archive.author .akk-profile-origins p {
        display: inline-block;
        background-color: #f8f8f8;
        padding: 6px 12px;
        border-radius: 40px;
        padding-top: 4px;
        margin-bottom: 10px;
    }
    .archive.author .akk-profile-origins img {
        width: 30px; /* 35px; */
        margin-right: 3px;
        margin-bottom: 2px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    }
    .archive.author .akk-profile-origins h3 {
        margin-bottom: 10px;
    }
    .archive.author .akk-profile-origins p:not(:last-child) {
        margin-right: 2px;
    }
    .archive.author .akk-profile-origins p:last-child {
    }

/* Post Ad page : hide User Information fields ------------------------------------------------ */

.post-ad-container .card-header[data-bs-target="#collapseUser"],
.post-ad-container #collapseUser .ad-user-information > .row:first-child {
	display: none;
}

/* Post Ad page : custom field : Colour(s) ------------------------------------------------ */

.post-ad-container .icheckbox_minimal + label {
    color: #cccccc !important;
}
.post-ad-container .icheckbox_minimal.checked + label {
    color: #232323 !important;
}
.post-ad-container .icheckbox_minimal:not(.checked) + label:before {
    /* zoom: 50%; */
    box-shadow: inset 0 0 0px 5px #ffffff;
}
.checkbox-_adforest_tpl_field_colours li {
	display: inline-block;
	min-width: 140px;
	margin: 0px 0px 10px 10px;
}
.checkbox-_adforest_tpl_field_colours li label:before {
	content: '.';
	display: inline-block;
	width: 28px;
	height: 28px;
	margin: 0 6px 0 2px;
	border-radius: 100%;
	background-color: grey;
	color: rgba(0, 0, 0, 0);
}
.checkbox-_adforest_tpl_field_colours li label:before {
    background-size: 120%;
    background-position: center center;
}
.checkbox-_adforest_tpl_field_colours li:nth-child(1) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/purple.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(2) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/blue.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(3) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/turquoise.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(4) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/green.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(5) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/yellow.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(6) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/orange.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(7) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/pink.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(8) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/red.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(9) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/brown.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(10) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/beige.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(11) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/silver.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(12) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/gold.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(13) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/bronze.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(14) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/copper.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(15) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/multicolour.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(16) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/white.png);
    border: #f0f0f0 1px solid;
}
.checkbox-_adforest_tpl_field_colours li:nth-child(17) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/grey.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(18) label:before {
	background-image: url(/wp-content/themes/adforest-child/akk-images/colors/black.png);
}
.checkbox-_adforest_tpl_field_colours li:nth-child(19) label:before {
    display: none;       /* 'not applicable' */
}
