/* 
 * awpcp-custom.css (or,  classifieds.css)
 * 
 * The file is placed here so as to override the AWPCP plugin default styelsheet. 
 * https://awpcp.com/knowledge-base/customizing-style-awpcp/
 *
 * 
 * The classified section lays on top of the core site architecturally and conceptually.
 * At the same time, the section is practically a site within itself. Terms are relative. 
 * In this sheet, it refers to https://crownheights.info/classifieds/. 
 * This sheet contains all the style for the classified secton, which include a home 
 * page, and several sub-pages. 
 * 
 * Author: Mendel Groner
 * Company: Spotlight Design https://spotlightdesign.com/
 * Since: 10/11/2021
 * Version: 0.1 
 * 
 * Conventions: Class and ID naming (although more relevant to HTML) should be descriptive, though
 * not too verbose. Create classes for ubiquitious effects instead of re-writing 
 * rules multiple times, whenever possible.
 * For element-specific rules, use a unique id. For effects that can be applied
 * broadly, use classes. 
 * In the case of this section, we will be working with elements in the DOM that have been
 * created by the AWPCP team (https://awpcp.com/). Accordingly, we have no control over those 
 * names, however, they are descriptive and accurate.  
 * -- Font sizing: use rem and em, as it makes it easier to adjust sizing dynamically
 * -- Breakpoints: Use responsive styling that adapts well within the standard breakpoints. 
 *    Standard breakpoints follow Bootstrap's breakpoints, which follow industry standards.
      https://getbootstrap.com/docs/5.1/layout/breakpoints/
 * -- Colors: It is always useful to store a theme's colors in variables. Because this file
 *    is loaded after app.css, those variables have already been defined.
 * -- Icons: Preference is to load icons in HTML under <img> tag, only load background images
 *    with css.  */

/* General Styling */

/* html, body {
    height: 100%;
} */


.classifieds-mobile-header--post-new {
    margin: 8pt 0;
    width: 100%;
    height: 100%;
    font-weight: 500;
    font-size: 1.5rem;
    height: 5.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background-color: transparent;
    color: var(--theme-primary-color);
    border: 2px solid var(--theme-primary-color);
    line-height: 1.5rem;
    padding: 1.5rem;
    text-align: center;
}

#mobile-header-user-icon {
    width: 3rem;
    height: 3rem;
}

.classifieds-mobile-header--post-new:hover, .classifieds-mobile-header--post-new:focus {
    color: var(--theme-secondary-color);
    background-color: var(--theme-primary-color);
}


body.page.page-parent.classifieds #classiwrapper {
    font-size: 1rem;
}

body.page.page-parent.classifieds .searchbar-crown, body.page.page-child.browse-ads .searchbar-crown {
    /* padding-bottom: 96px; */
    margin-bottom: 0;
}

@media(max-width: 991.99px) {
    .browse-ads .classifieds-mobile-header--search-row {
        margin: 0px 7.5px;
    }
}

/* https://stackoverflow.com/questions/2717480/css-selector-for-first-element-with-class?rq=1 */
.awpcp-pagination.pager {
    display: none;
}

.awpcp-pagination.pager ~.awpcp-pagination.pager {
    display: flex;
}

.searchbar-crown {
    background-color: var(--theme-secondary-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
}

#classifieds-title {
    text-align: center;
}


#header-post-new-classified, #login-or-dashboard {
    background-color: transparent;
    color: var(--theme-primary-color);
    border: 2px solid var(--theme-primary-color);
    display: flex;
    justify-content: center;
    height: 5rem;
    font-size: 1.5rem;
    line-height: 1.5rem;
    padding: 1.5rem;
}

#header-post-new-classified:hover, #login-or-dashboard:hover {
    background-color: var(--theme-primary-color);
    color: var(--theme-secondary-color);
}

#classiwrapper {
    margin-bottom: 4rem;
}

@media(min-width: 767.99px) {
    #classiwrapper {
        margin-bottom: 4rem;
    }
}

/* Search Bar Crown */

#searchbar-crown-mobile{
    background-color: var(--theme-secondary-color); 
}
@media(min-width: 1399.99px) {
    #searchbar-crown-container {
        max-width: 1140px;
    }
}

.searchbar-crown {
    padding: 3rem .75rem;
}

.searchbar-crown.mobile {
    padding: 2rem;

}


@media(min-width: 767.99px) and (max-width: 991.98px) {
    #classified-searchbar-left-ear {
        padding-left: 3rem;
    }
    #classified-searchbar-right-ear {
        padding-right: 3rem;
    }
}

@media(min-width: 991.99px) and (max-width: 1199.98px) {
    #classified-searchbar-left-ear {
        padding-left: 2rem;
    }
    #classified-searchbar-right-ear {
        padding-right: 2rem;
    }
}

.crown-logo {
    max-width: 7.4rem;
    margin-right: .5rem;
    margin-bottom: .7rem;
}

.searchbar-crown h1 {
    color: white;
    font-weight: 300;
    font-size: 3rem;
    /* margin-top: 3rem; */
    /* padding-bottom: 2rem; */
}

@media(min-width: 991.99px) {
    .searchbar-crown h1 {
        font-size: 4.5rem;
        line-height: 2.8rem;
        /* margin-top: .5rem; */
    }
}

@media(min-width: 767.99px) {
    .searchbar-crown {
        /* padding-top: 2.7rem; */
    }
}

.green-hover-link {
    color: var(--theme-primary-color);
    font-weight: 600;
    font-size: 1.4rem;
}

.green-hover-link:hover {
    color: white;
}

.awpcp-classifieds-search-bar--advanced-search-link {
    padding: .5rem;
}

/* Welcome Title */

@media(max-width: 768.98px) {
    .uiwelcome {
        display: none;
    }
}

.uiwelcome {
    margin-bottom: 0px;
}

h3.classifieds-title {
    font-weight: 600;
    text-align: center;
    font-size: 1.8rem;
    line-height: 2.8rem;
    padding: 2rem 0px 1rem;
    margin: 0px;
}

@media(min-width: 767.99px) {
    h3.classifieds-title {
        font-size: 2.4rem;
    }
}


#classifieds-home--main-container {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* =================================================================
    Search Bar
    - The Classified Search Bar will be on every page in the section.
      It is the visual stamp of the Classified section, and gives the 
      user ability to traverse the "sub-site".
    ================================================================= */

.awpcp-classifieds-search-bar {
    /* background-color: var(--theme-secondary-color); */
    /* margin: 0; */
    /* margin-top: -96px; */
    /* margin-bottom: 2rem; */
}

@media(min-width: 767.99px) {
    .awpcp-classifieds-search-bar {
        /* margin-bottom: 4rem; */
    }
}

.awpcp-classifieds-search-bar>form {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    background-color: white;
    margin: 0px;
}

@media(min-width: 991.99px) {
    .awpcp-classifieds-search-bar>form {
        margin: 0px 2.5rem;
    }
}

div.awpcp-classifieds-search-bar--query-field {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    height: 6rem;
    margin: 0 1rem;
}

.awpcp-classifieds-search-bar-tiny .awpcp-classifieds-search-bar--query-field {
    margin-bottom: 0px;
}

input#awpcp-search-query-field {
    border: none;
    border-radius: 5px;
    height: 6rem;
    /* padding-left: 1.5rem; */
    font-size: 1.5rem;
    margin-bottom: 0px;
    margin: 0 auto;
}

.awpcp-custom-search-submit {
    border: none;
    width: 3rem;
    background: transparent;
    background-image: url(/assets/img/search.svg);
    background-repeat: no-repeat;
    background-position: left 1rem center;
}

input#awpcp-search-query-field::placeholder {
    margin-left: 1rem;
    line-height: 2rem;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.32px;
}

@media(min-width: 991.99px) and (max-width: 1199.98px) {
    input#awpcp-search-query-field::placeholder {
        font-size: 1.2rem;
    }
}

/* input#awpcp-search-query-field:focus::placeholder {
    color: transparent;
} */

@media(max-width: 767.98px) {
    .awpcp-classifieds-search-bar--query-field {
        width: 100%;
    }
}

input#awpcp-search-query-field:focus, input#awpcp-search-query-field:focus-visible {
    border: none;
    box-shadow: none;
    outline: none;
}

.awpcp-classifieds-search-bar--submit-button {
    width: 25%;
    margin-left: 2.5rem;
}

.post-classified {
    height: 100%;
    background-color: var(--theme-primary-color);
    color: white;
    font-size: 1.5rem;
    display: inline-block;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    padding: 0px 1rem;
}

.post-classified:hover, .post-classified:focus {
    color: rgb(211, 211, 211);
}

.awpcp-classifieds-search-bar--advanced-search-link>a {
    color: white;
    display: inline-block;
    margin-top: .5rem;
    font-size: 1.2rem;
}

.awpcp-classifieds-search-bar--advanced-search-link>a::before {
    content: "*";
    margin-right: .25rem;
}

.awpcp-classifieds-search-bar--advanced-search-link>a:focus {
    outline: 1px dotted;
}

/* _________________ */

/* |---------------| */

/* | Category List | */

/* |---------------| */

/* ----------------- */

#awpcpcatlayout {
    margin-bottom: 2rem;
}

p.maincategoryclass {
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#awpcpcatlayout .showcategoriesmainlist li.chi-classified-category {
    display: flex;
    flex-flow: row nowrap;
}

#awpcpcatlayout .showcategoriesmainlist li.columns-2 {
    width: 50%;
}

#awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul li {
    font-size: 1rem;
    margin: .25rem 0;
}

#awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul li a {
    font-size: 1.35rem;
    font-weight: 600;
}

#awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul li a:active {
    color: var(--theme-primary-color);
}

p.maincategoryclass img {
    margin-bottom: .75rem;
}

p.maincategoryclass {
    font-size: 1.5rem;
}

#awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul {
    display: flex;
    flex-flow: column wrap;
}

li.showcategoriessublist.view-more {
    color: var(--theme-primary-color);
    display: none;
}

img.awpcp-category-icon-image {
    width: 50px;
    height: 50px;
}

@media(max-width: 767.98px) {
    /* #awpcpcatlayout {
        margin: 2rem auto;
    } */
    ul.sub-categories {
        display: none;
    }
    #awpcpcatlayout ul.showcategoriesmainlist.top-level-categories {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: space-between;
    }
    #awpcpcatlayout ul.showcategoriesmainlist.top-level-categories:first-child {
        margin-bottom: 4% !important;
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category {
        width: 48%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        margin: 0px;
        border-radius: 5px;
        background-color: white;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.12);
        padding: 1rem;
        /* height: 100%; */
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category:first-child {
        /* margin-right: 2%;  */
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul.showcategoriessublist {
        display: none;
    }
    .clearfix::after {
        /* override plugin (awpcp) style */
        display: none;
    }
    a.toplevelitem {
        font-size: 1.2rem;
    }
    a.toplevelitem>.awpcp-category-count {
        margin-top: .25rem;
        font-size: inherit;
        display: block;
    }
}

@media(min-width: 767.99px) and (max-width: 991.98px) {
    #awpcpcatlayout ul.showcategoriesmainlist.top-level-categories {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category {
        max-width: 693px;
        height: 150px;
        width: -moz-available;
        width: -webkit-fill-available;
        width: fill-available;
        margin: 0px 0px 1rem;
        border-radius: 5px;
        background-color: white;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.12);
        padding: 2rem;
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category:first-of-type {
        margin-right: 1rem;
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul.showcategoriessublist {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
    }
    p.maincategoryclass {
        padding: 1rem;
        margin: 1rem;
    }
    li.showcategoriessublist.view-more:not(.not-991) {
        display: list-item;
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul.showcategoriessublist li:nth-child(n+5) {
        display: none;
    }
}

@media(min-width: 991.99px) {
    div#awpcpcatlayout {
        margin: 2rem auto;
        max-width: 1140px;
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul li {
        width: 50%;
    }
    p.maincategoryclass {
        width: 30%;
        margin-right: 1rem;
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul {
        display: flex;
        flex-flow: column wrap;
        height: 11rem;
        flex-grow: 3;
        margin: 2rem 1rem;
    }
    li.chi-classified-category {
        border: 1px solid #979797;
    }
    #awpcpcatlayout .showcategoriesmainlist:nth-of-type(1) .chi-classified-category:nth-child(1) {
        border-right: 1px solid #979797;
        border-bottom: none;
        border-top-left-radius: 6px;
    }
    #awpcpcatlayout .showcategoriesmainlist:nth-of-type(1) .chi-classified-category:nth-child(2) {
        border-left: none;
        border-bottom: none;
        border-top-right-radius: 6px;
    }
    #awpcpcatlayout .showcategoriesmainlist:nth-of-type(2) .chi-classified-category:nth-child(1) {
        border-right: 1px solid #979797;
        border-bottom-left-radius: 6px;
    }
    #awpcpcatlayout .showcategoriesmainlist:nth-of-type(2) .chi-classified-category:nth-child(2) {
        border-left: none;
        border-bottom-right-radius: 6px;
    }
    #awpcpcatlayout .showcategoriesmainlist li {
        margin: 0;
    }
    li.showcategoriessublist.view-more:not(.not-991) {
        display: none;
    }
    li.showcategoriessublist.view-more.not-991 {
        display: list-item;
    }
    #awpcpcatlayout .showcategoriesmainlist li.chi-classified-category ul.showcategoriessublist li:nth-child(n+10) {
        display: none;
    }
}

/* Buttons */

.awpcp-custom-buttons {
    background: transparent;
    border: 1px solid black;
    border-radius: 5px;
}

.awpcp-custom-buttons:focus, .awpcp-custom-buttons:active {
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.12);
}

/* ______________ */

/* |------------| */

/* |------------| */

/* |  Place Ad  | */

/* |------------| */

/* |------------| */

/* ~~~~~~~~~~~~~~ */

/* ______________ */

/* |------------| */

/* |------------| */

/* |  Ad Cards  | */

/* |------------| */

/* |------------| */

/* ~~~~~~~~~~~~~~ */

/* Desktop Rules for Classified Ad Cards */

@media(min-width: 991.99px) {
    #ad-listing-feed {
        padding-right: 1rem;
    }
}

div#ad-listings-feed {
    font-size: 1rem;
}

article.classified-ad-card:first-of-type {
    margin-top: 0px;
}

article.classified-ad-card {
    background-color: white;
    color: #4b4b4b;
    margin: 3em 0px;
    font-family: 'Poppins', sans-serif;
}

div#classified-ad-card--main-content {
    flex-direction: column;
}

div.main-content {
    height: 90%;
    padding-bottom: 0px;
}

div.main-content>div.text {
    flex: 10;
    order: 2;
    padding: 1.5em;
    padding-bottom: 0px;
}

div.main-content>div.text h2 {
    font-size: 1.8em;
    font-weight: 600;
}

div.main-content>div.text h2:active {
    color: var(--theme-primary-color);
}

p.excerpt {
    font-size: 1.2em;
    margin-bottom: 1rem;
    max-width: 90%;
}

p.price, p.contact {
    background-repeat: no-repeat;
    background-position: left center;
    font-weight: 600;
    line-height: 23px;
    padding: 5px 0px;
    padding-left: 30px;
    font-size: 1.4em;
    margin-bottom: 5px;
}

p.price {
    background-image: url(/assets/img/price-tag.svg);
    background-size: 25px;
    margin-bottom: 0px;
    margin-left: -1px;
    min-height: 25px;
}

p.contact {
    background-image: url(/assets/img/icon-user-circle-colored.svg);
    background-size: 20px;
}

div.main-content>img, div.main-content>a, div.awpcp-ad-primary-image {
    flex-grow: 1;
    width: 100%;
    order: 1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.classified-ad-card>footer {
    line-height: 4em;
    border-top: 1px solid #E0E0E0;
    padding: 0px 1.5em;
}

div.category-list {
    color: var(--theme-primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1em;
}

div.date-posted {
    font-size: 1.2em;
    color: #7B7B7B;
}

/* *************** *\
|*  Featured Ads   *|
\* *************** */

article.classified-ad-card.featured-ad, article.classified-ad-card.awpcp_featured_ad_wrapper {
    background-color: var(--theme-primary-transparent);
}

article.classified-ad-card.featured-ad .category-list, article.classified-ad-card.awpcp_featured_ad_wrapper .category-list {
    padding-left: 2.75em;
    background-image: url(/assets/img/featured-ribbon.svg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 2.5em;
    margin-left: -3px;
}

@media(min-width: 575.99px) {
    div#classified-ad-card--main-content {
        flex-direction: row;
    }
    div.main-content>div.text {
        order: 1;
        padding: 0px;
    }
    div.main-content>img, div.main-content>a, div.awpcp-ad-primary-image {
        flex-grow: 1;
        height: 148px;
        max-width: 227px;
        margin-left: 1em;
        margin-bottom: 1em;
        order: 2;
        border-radius: 0px;
        object-fit: contain;
    }
    div.main-content {
        padding: 3em;
        padding-bottom: 0px;
    }
    .classified-ad-card>footer {
        padding: 0px 3em;
    }
}

/*           \\\\\   
\*            \\\\\  
/*             \\\\\ 
\* -> Category Sidebar
/*  \\\\\
\*   \\\\\
/*    \\\\\
\* ----------------- */

aside#awpcp-category-sidebar {
    background-color: white;
    padding: 2rem 0px;
}

aside#awpcp-category-sidebar header {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--theme-primary-color);
}

aside#awpcp-category-sidebar h3 {
    color: var(--theme-secondary-color);
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 2.8rem;
    padding-bottom: /* border-bottom: 2px solid; */
}

div#awpcp-sidebar-category ul>li {
    padding: 0px;
}

ul.awpcp-sidebar-all-categories {
    padding: 3rem 1.5rem;
}

li.awpcp-sidebar-parent>button, ul.awpcp-sidebar-all-categories>li.awpcp-sidebar-view-all>a {
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2.5rem;
    color: var(--theme-secondary-color);
}

ul.awpcp-sidebar-all-categories>li.awpcp-sidebar-view-all>a {
    padding-left: 1.74333rem;
}

ul.awpcp-sidebar-children {
    padding-left: 3rem;
}

li.awpcp-sidebar-child>a, li.awpcp-sidebar-view-all>a {
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 2.4rem;
}

.arrow-forward, .arrow-backward, .arrow-upward {
    transition: transform 0.15s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
}

.arrow-forward {
    transform: rotate(0deg);
}

.arrow-backward {
    transform: rotate(90deg);
}

.arrow-upward {
    transform: rotate(-90deg);
}

@media(min-width: 767.99px) and (max-width: 991.98px) {
    span.awpcp-category-count {
        font-size: 1rem;
    }
}

span.awpcp-category-count {
    font-size: 1.2rem;
    font-weight: 400;
}

/* Mobile Classified Dropdown */

@media(max-width: 991.98px) {
    /* div.sidebar-hook.row>div:first-child {
        order: 2;
    } */
    aside#awpcp-category-sidebar {
        background-color: transparent;
        box-shadow: none;
        display: flex;
        justify-content: start;
    }
    aside#awpcp-category-sidebar h3 {
        border-bottom: none;
        text-align: start;
        width: max-content;
        margin-right: 1.5rem;
    }
    /* This div needs as much width as it can get so that it doesn't jump around when expanding */
    div#awpcp-categories--main-content {
        width: -moz-available;
        /* For Mozilla-based browsers */
        width: -webkit-fill-available;
        /* For Webkit-based browsers */
        width: fill-available;
    }
    button#all-categories {
        color: var(--theme-secondary-color);
        font-size: 1.5rem;
        font-weight: 600;
        line-height: 2.3rem;
        padding-bottom: .725rem;
    }
    button#all-categories>span[class^="arrow"] {
        margin-left: 1rem;
        font-size: 1.6rem;
    }
    ul.awpcp-sidebar-all-categories {
        padding: 0px;
    }
    ul.awpcp-sidebar-all-categories li {
        padding-top: .25rem;
        padding-bottom: .25rem;
        margin-bottom: .25rem;
    }
}

#sidebar-post-new-classified {
    background-color: var(--theme-primary-color);
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    padding: 1.5rem 0px;
    margin: 3rem 0px;
    font-weight: 500;
}

#sidebar-post-new-classified:hover {
    color: rgb(211, 211, 211);
}

/* Classified Category Page */

div.awpcp-ad-primary-image {
    height: auto;
    padding: 1.5em 1.5em 0px;
}

img.thumbshow {
    background: none;
    border: none;
    display: block;
    padding: 0px;
    object-fit: contain;
}

.awpcp_featured_ad_wrapper {
    border: none!important;
    /* If you want to insert a backround image, uncomment the following line of CSS and replace with the path to your image: /
    / background-image: url("featured_ads.jpg") repeat scroll 0 0 transparent; /
    / To change the background color, change the hex code in the following css rule. */
    background-color: #FFFF8E;
}

body .awpcp-ad-primary-image .enlarge, #showawpcpadpage .awpcp-ad-primary-image .enlarge {
    margin: .5rem 0px;
    font-size: 1.2em;
}

.awpcp-listings {
    font-size: 1rem;
    /* margin: 0px 1.5em; */
}

.search-results.container {
    padding: 1rem 2rem;
}

.awpcp-pagination.pager {
    float: none;
    margin: 0px 1.5em;
}

form.awpcp-pagination-form select {
    background: transparent;
    border: 1px solid black;
    border-radius: 5px;
}

form.awpcp-pagination-form select:focus, .awpcp-custom-buttons:active {
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.12);
}

form.awpcp-category-switcher {
    margin: 1.5em;
}

.awpcp-category-dropdown-container {
    max-width: max-content;
}

.awpcp-category-dropdown-container .select2-container--default .select2-selection--single .select2-selection__clear {
    margin-left: 5px;
    margin-right: 2.5px;
}

.awpcp-category-switcher .awpcp-category-dropdown-container .awpcp-category-dropdown-label {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--theme-primary-color);
}

div.awpcp-category-dropdown-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--theme-secondary-color);
    text-transform: uppercase;
    font-weight: 600;
}

div.awpcp-category-dropdown-container .select2-container--default .select2-selection--single {
    background-color: transparent;
    border: none;
    border-radius: none;
}

div.awpcp-category-dropdown-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
}

div.awpcp-category-dropdown-container .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: unset;
    border-style: unset;
    border-width: unset;
    height: unset;
    left: unset;
    margin-left: unset;
    margin-top: unset;
    position: unset;
    top: unset;
    width: unset;
    transform: rotate(90deg);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.arrow-up {
    transform: rotate(270deg) !important;
}

div.awpcp-category-dropdown-container .select2-container--default .select2-selection--single .select2-selection__arrow b::after {
    content: ">";
    font-weight: 500;
    font-size: 20px;
}

.select2-results>ul>li:hover {
    background-color: var(--theme-primary-color);
}

.awpcp-listings>p {
    font-size: 1.5em;
}

body .awpcp-ad-primary-image, #showawpcpadpage .awpcp-ad-primary-image {
    text-align: start;
}

@media(min-width: 575.99px) {
    a.awpcp-listing-primary-image-thickbox-link.thickbox.thumbnail {
        display: flex;
        justify-content: end;
justify-content: flex-end;
    }
    body .awpcp-ad-primary-image .enlarge, #showawpcpadpage .awpcp-ad-primary-image .enlarge {
        text-align: end;
    }
    img.thumbshow {
        width: unset;
    }
}

/* Single Classified Ad */

.single-classified-ad--main-content {
    padding: 1.5rem;
}

.single-classified-ad.container {
    margin-bottom: 2rem;
}

@media(min-width: 767.99px) {
    .single-classified-ad--main-content {
        padding: 3rem;
    }
    .single-classified-ad.container {
        margin-bottom: 4rem;
    }
}

.gallery > img {
    margin: .5rem auto;
}

/* View Dropdown */

.view-dropdown {
    margin-bottom: 1.5rem;
}

.view-dropdown:hover {
    color: rgb(211, 211, 211);
}

@media(min-width: 991.99px) {
    .view-dropdown {
        margin-bottom: 2.3rem;
    }
}

.view-toggler {
    width: 100%;
    background-color: var(--theme-primary-color);
    color: white;
    font-size: 1.8rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0px;
    border-radius: 5px;
}

.view-toggler img {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

h3.menu-title {
    color: var(--theme-primary-color);
    margin-right: 1rem;
    font-weight: 600;
    width: max-content;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.menu-placeholder {
    color: var(--theme-secondary-color);
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 600;
}

span.dropdown[class^="arrow"] {
    margin-left: .5rem;
}

li.mobile-category-view-all {
    padding-bottom: 10px;
}

.dropdown-item {
    font-size: 1.2rem;
    line-height: 2rem;
    font-weight: 500;
    padding-top: 5px;
    padding-bottom: 5px;
}

ul.mobile-category-children {
    padding-bottom: 10px;
}
/* Mobile Category Dropdown */



#mobile-category-dropdown--container {
    position: relative;
}

#mobileCategoryDropdownButton {
    background-color: white;
    border-radius: 5px;
    margin-top: .5rem;
    padding: 1rem 2rem;
    width: 100%;
    border: 1px solid #E2E2E2;
}
#mobileCategoryDropdownButton>.menu-placeholder {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.mobile-category-parent {
    font-weight: bolder;
}

ul.mobile-category-children {
    padding-left: .5rem;
}

.mobile-category-view-all {
    font-weight: bolder;
}

#mobile-post-new-classified-button {
    /* padding-right: 2.1rem; */
    margin-bottom: 1.2rem;
}

#mobile-post-new-classified-button > a {
    color: white;
    background-color: var(--theme-primary-color);
    text-align: center;
    margin: 0px;
    height: 40px;
    border-radius: 5px;
}

.breadcrumb-trail {
    display: none;
}

.browse-ads-result {
    margin-top: 2rem;
    padding: 0px 2rem;
}

@media(min-width: 991.98px) {
    .browse-ads-result {
        margin-top: 4rem;
    }
    .breadcrumb-trail {
        font-size: 2.4rem;
        font-weight: 600;
        line-height: 4.7rem;
        margin-bottom: 2.3rem;
        color: var(--theme-secondary-color);
    }
}

/* Moving Over From Removing from JQuery */

.awpcp-classifieds-menu, form#awpcp-region-control-selector, .awpcp-category-switcher, .uiwelcome, .awpcp-classifieds-search-bar:not(.custom) {
    display: none;
}

.awpcp-return-to-search-link { 
    display: none;
}

.search-results.row {
    margin-bottom: 1rem;
}

h1.search-result {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 2.3rem;
    color: var(--theme-secondary-color);
}

small.search-result {
    font-size: 1rem;
    font-weight: 400;
}

.search-result.col-sm-4 {
    justify-content: start;
}

@media(min-width: 991.98px) {
    h1.search-result {
        font-size: 2.4rem;
        line-height: 4.7rem;
    }

    small.search-result {
        font-size: 1.2rem;
    }
    .search-results.row {
        margin-bottom: 2.3rem;
    }
}

@media(min-width: 575.98px) {

    .search-result.col-sm-4 {
        justify-content: end;
justify-content: flex-end;
    }
}

.awpcp-category-dropdown-option-level-1 {
    font-weight: 600;
}

.edit-ad-button {
    color: var(--theme-primary-color);
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 1rem;
    font-size: 1.5rem;
    line-height: 1.8rem;
    display: inline-block;
    text-align: start;
    padding-left: 1.5rem;
}

@media(min-width: 767.99px) {
    .edit-ad-button {
        padding-left: 3rem;
    }
}

@media(min-width: 991.99px) {
    .edit-ad-button {
        text-align: end;
        padding-left: 0px;
    }
}

.edit-ad-button:hover {
    color: var(--theme-primary-color);
}

/* Pagination */
#post-nav {
    padding-top: 1rem;
    padding-bottom: 2rem;
}