/* Banner */

.banner-section {
    background-color: #d4cbc4;
    padding-bottom: 20px;
}

.search-form input {
    background-image: url(../images/search-icon.png);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    height: 67px;
    padding: 10px 15px;
    border: 0;
    letter-spacing: 1.4px;
    width: 100%;
    max-width: 370px;
    margin-left: auto;
    display: block;
}

.search-form {
    margin-top: 60px;
}


/* Directory */

.directory-section {
    padding: 20px 0 50px;
    background-color: #ccc3bb;
}

.category-filter {
    display: inline-flex;
    border: 1px solid #a39a93;
    align-items: center;
    width: auto;
    margin-bottom: 30px;
}

.category-filter span {
    padding: 10px;
    font-weight: 500;
    letter-spacing: 1.4px;
    border-right: 1px solid #a39a93;
}

.category-filter .dropdown .btn {
    background-color: transparent !important;
    color: #2e2e2e;
    letter-spacing: 1.4px;
    border: 0;
    padding: 0px 20px;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    outline: none !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 300;
}

.category-filter .dropdown-toggle:after {
    content: url('https://www.homeguide.com.sg/wp-content/uploads/2022/08/icons8-down-16.png');
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    font-size: 10px;
}

.category-filter .dropdown-menu {
    min-width: 152px;
    border: 1px solid #a39a93;
    top: 12px !important;
    text-align: left;
    left: -1px !important;
    /* display: flex!important; */
    flex-direction: column!important;
}

.show {
    display: flex!important;
}

.open>.dropdown-menu {
    display: flex!important;
}

.category-filter .dropdown-item.active {
    font-weight: 700;
	padding: 5px 20px;
	font-size: 14px;
}

.suppliers-count .count {
    font-weight: 700;
}

.supplier-item .img-wrap img {
    width: 100%;
}

.suppliers-count span {
    font-size: 18px;
}

.supplier-info a {
    display: flex;
    align-items: center;
}

.supplier-info .info h3 {
    margin-bottom: 0;
}

.supplier-info .icon-wrap {
    width: 65px;
    height: 65px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    padding: 10px;
}

.supplier-info .info p {
    font-weight: 500;
}

.supplier-info {
    margin-bottom: 5%;
}

.contact-info .item {
    position: relative;
}

.contact-info i {
    position: absolute;
    left: 0;
    top: 5px;
}

.contact-info a:hover {
    color: #fff;
}

.contact-info .info {
    padding-left: 30px;
    font-weight: 500;
}

.contact-info .item:not(:last-child) {
    margin-bottom: 10px;
}

a.more-link {
    font-weight: 400;
    text-decoration: underline;
}

.supplier-info .icon-wrap img {
    max-height: 50px;
}

.supplier-item:not(:last-child):after {
    border-bottom: 1px solid #a39c96;
    margin-bottom: 20px;
    padding-bottom: 20px;
    content: "";
    display: block;
    width: 97.8%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.pagination a {
    font-size: 20px;
    margin: 5px;
    padding: 5px;
    line-height: 1.4em;
    font-weight: 500;
    width: 2em;
    height: 2em;
    text-align: center;
}

.pagination a.active {
    border: 1px solid #787470;
}

.pagination a:hover {
    border-color: #fff;
    color: #fff;
}

.pagination a:first-child {
    margin-left: 0;
}


/* Responsiveness */

@media screen and (max-width: 1366px) {
    .search-form {
        margin-top: 48px;
    }
}

@media screen and (max-width: 991px) {
    .search-form {
        margin-top: 0;
    }
    .search-form input {
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {
    .footer-bar p {
        font-size: 12px;
        text-align: center;
    }
    .floating-icon a {
        width: 40px;
        height: 40px;
        font-size: 23px;
    }
	.category-filter{
		display: flex;
	}
	.category-filter .dropdown .btn{
		letter-spacing: unset;
		min-width: unset!important;
		white-space: unset!important;
	}
	.dropdown-item{
		font-size: 11px!important;
	}
	.category-filter{
		width: fit-content;
	}
	
}

@media screen and (max-width: 540px) {
    .supplier-info .icon-wrap {
        margin-right: 10px;
    }
    .pagination a {
        font-size: 18px;
    }
    .supplier-item:not(:last-child):after {
        width: 95%;
    }
}

@media screen and (max-width: 360px) {
    .contact-info .item {
        font-size: 12px;
    }
    .contact-info .info {
        padding-left: 20px;
    }
}


/* august 10, 2022 */
.postid-141 .mail-item{
	display: none!important;
}
.postid-6467 .mail-item{
	display: none!important;
}

.dropdown-item{
	font-size: 12px;
	padding: 0!important;
}
.category-filter .dropdown-menu {
    transform: unset !important;
    top: 33px !important;
}
.drop-btn li{
	list-style-type: none;
	padding: 0 10px;
}
.drop-btn {
	padding-left: 0!important;
}
.category-filter .dropdown-item.active{
		font-size: 12px!important;
	}


.home-add{
	position: unset!important; 
    left: unset!important; 
    box-sizing: unset!important;
    width: unset!important;
    max-width: unset!important;
}