/* Location dropdown - improve for 7 countries. */
.location-drop .country-tab .item {
    width: calc(14.285% + 1px);
}

.location-drop .country-tab .item .inner img {
    height: 40px;
    margin: 0 auto;
    border: 0;
    border-radius: 0;
}

@media (max-width: 767.98px) { 
    .location-drop .country-tab .item {
        width: calc(25% + 1px);
    }
}

@media (max-width: 420px) {
    .location-drop .country-tab .item {
        width: calc(33.33% + 1px);
    }
    .location-drop .country-tab .item:last-child {
        width: calc(100% + 1px);
    }
    .location-drop .country-tab .item .inner {
        padding: 7.5px 5px 6px 5px;
    }
    .location-drop .country-tab .item .inner img {
        height: 25px;
    }
}

/* Categories - improve for longer name. */
.category-var {
    padding: 0;
}

.category-var .category-title {
    font-size: 1.15rem;
    padding: 1rem .75rem;
    margin-bottom: 0;
}

.category-var .category-title a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-var .category-title .category-count {
    display: none;
}

.category-var .subcategories {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.category-var .subcategories li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-var .view-all {
    margin: 0;
}

/* Item page title - improve for longer title. */
.ad-heading section h1 {
    font-size: 1.75rem;
}

@media (max-width: 767.98px) {
    .ad-heading section h1 {
        font-size: 1.5rem;
    }
}

.ad-price section h1 {
    font-size: 1.75rem;
}

/* Lowercase. */
.footer .footer-col .footer-title, .search-sidebar h3, .ad-comments .comment-del, section.border h3, .badge, .btn-exo {
    text-transform: initial;
}

/* Search header filters. */
.search .subtitle {
    margin-bottom: 1.5rem;
}

.search-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.search-header .list-type {
    display: inline-table;
    margin-right: 1rem;
}

@media (max-width: 767.98px) {
    .search-header {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .search-header .list-type {
        margin-right: 0;
    }
}

/* Latest ads header filters (grid / list). */
.latest .subtitle {
    margin-bottom: 1.5rem;
}

.latest-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    padding-right: 15px;
    padding-left: 15px;
}

.search-header .list-type {
    display: inline-table;
}

@media (max-width: 767.98px) {
    .latest-header {
        justify-content: center;
    }
}

/* Multi-Category select (stock selectboxes */
.adpost-category select {
    width: 100%;
    padding: .5rem;
    border: none;
    color: #757575;
}

.adpost-category select:not(:nth-child(2)) {
    margin-top: 1em;
}

.adpost-category select option {
    color: #212529;
}

/* Premium separator */
.premium-separator {
    margin: .25rem 0 1.25rem 0;
    padding: 0 15px;
}

.premium-separator div {
    background: #d0d0d0;
    height: 2px;
}

.descript a {
    color: #42a6f8;
}
.descript a:visited {
    color: #660099;
}

.cookie_notice {
    display: none;
    position: fixed;
    z-index: 9999999;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 15px;
    font-family: Verdana, sans-serif;  
    color: #FFF;
    background: #337AB7;
    padding: 10px 20px; 
    border-top: 4px solid #BFE2FF;
}
.cookie_btn {
    display: inline-block;
    margin: 10px 6px 4px 6px;
    text-decoration: none;
    position: relative;
    font-size: 13px;
    padding: 4px 12px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase; 
    background: #337AB7;
    border: 2px solid #BFE2FF;
}
.cookie_btn:hover {
    color: #FFF;
}
.cookie_btn:after,
.cookie_btn:before {
    position: absolute;
    height: 2px;
    left: 50%;
    background: #FFF;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}
.cookie_btn:before {
    top: -6px;
}
.cookie_btn:hover:after,
.cookie_btn:hover:before {
    width: 100%;
    left: 0;
}

.voice-trigger {
    position: absolute;
    top: .5rem;
    right: 1.5rem;
    border-radius: 100% !important;
}

.voice-trigger.active {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

#meta_zip_codes {
    height: calc(1.5em + 1.1rem + 2px);
    padding: .25rem .5rem;
    font-size: 1.0rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.box-border {
    background-color: #fff;
    border-color: #ddd;
    border-radius: 4px 4px 0 0;
    border-style: solid;
    border-width: 1px;
    box-shadow: none;
    margin-bottom: 15px;
    margin-left: 0;
    margin-right: 0;
    moz-box-shadow: none;
    padding: 15px;
    webkit-box-shadow: none;
}

/* Advertisement */
.sectionbox {
    border: 1px solid #ddd;
    margin-top: 20px;
	margin-bottom: 20px;
    padding: 20px;
    position: relative;
}
.legend {
    background-color: #f9f9f9;
    display: block;
    margin: 0;
    padding: 0 .5em;
    position: absolute;
    top: -.7em;
	font-size: 18px;
}

/* Hide Unfilled Adsense Ad Spaces */
ins.adsbygoogle[data-ad-status="unfilled"] {
display: none !important;
}

.footer-text, .btn {
    margin-bottom: 5px;
}