/*
1. Main Screen Width Sizes:
    max-width: 497px;
    (min-width: 498px) and (max-width: 640px) - when Listed items collapse into two Boxed items, and sidebars move below the main content
    (min-width: 641px) and (max-width: 768px)
    (min-width: 769px) and (max-width: 968px) OR (min-width: 769px) and (max-width: 980px)
    (min-width: 969px) OR (min-width: 981px)

2. Main CSS selectors by default:
    .archive is used by category and location pages
    .search is used by search pages
3. Custom CSS selectors:
    .archive is used mainly for specific category pages created for companies
    .term-property, term-property-for-rent, term-property-sale, term-services, term-cars, etc. are used for general category pages
    .tax-ait-locations is used by location pages
    .archive must be above all other CSS selectors mentioned above
*/
/* Hide CSS blocks for Property pages in WP Admin --> Appearance --> Customize --> Additional CSS
li.blockFFeatures, li.blockflat, li.blockHFeatures, li.blockhouse, li.blocklandType, li.blockOFeatures, li.blockCFeatures, li.blockcondo, li.blockVFeatures, li.blockvilla,  li.blockRFeatures, li.c_location_l  {
    display: none;
}
.data-sort-value .bedSort,.data-sort-value .floorSort {
    display:none;
}
li.allinonesBrandBlock, li.allinonesConditionBlock, li.desktopsBrandBlock, li.desktopsConditionBlock, li.laptopsBrandBlock, li.laptopsConditionBlock, li.partsTypeBlock, li.partsConditionBlock, li.printersscannersBrandBlock, li.printersscannersConditionBlock, li.softwareTypeBlock { display: none; }
*/

.select2-container--default .select2-results__option:hover {
    background-color: #a9a9a9 !important;   /* original color: #5897fb */
    color: white !important;
}
.select2-container--default .select2-results__option:active {
    background-color: #35cbc9 !important;
    color: white !important;
}
/*
.select2-container--default .select2-results__option--highlighted[aria-selected] { /* Highlighted background color when users howver on an item in Select2 dropdown menu - NOT WORKING ON MOBILE
    background-color: #35cbc9 !important;
    color: white !important;
}
*/
.select2-container--default .select2-results__option[aria-selected=true] { /* Highlighted background color after users click on an item in Select2 dropdown menu */
    background-color: #35cbc9 !important;
    color: white !important;
}
.lang-en_US .select2-container--default .select2-results>.select2-results__options {
    font-family: Roboto !important;
    font-size: 13px;
}
.lang-km .select2-container--default .select2-results>.select2-results__options {
    font-family: content !important;
    font-size: 13px;
}
.select2-container .select2-selection--single .select2-selection__rendered {    /* Centre text in Sorter dropdown */
    text-align: center;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    font-size: 15px !important;
    font-family: content !important;
}
.lang-km .select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 13px !important;
}
.select2-container .select2-selection--single, .select2-dropdown {
    min-width: 165px !important;
}
/* Fixing position of language switcher back to the right corner */
h1, h2, h3, h4, h5, h6 { 
    color: #000000; 
    font-weight: 600 !important;
    font-family: Roboto;
}
.lang-en_US h3, .lang-en_US h4, .lang-en_US h5 {
    font-family: Roboto;
}
.lang-en_US h1, .lang-km h1 {
    font-size: 24px;
    font-weight: 600 !important;
}
.elm-rule-main .rule-shadow .rule-wrap { margin-top: -40px; }
.elm-rule-main { padding-bottom: 0; }
.top-bar-tools {
    margin-right: 0;
    margin-left: auto;
}
.language-icons__list {
    z-index: 999;
    list-style: none;
}
.language-icons > a {
    background: #ffffff;
    color: #27A0B2 !important;
    border: 2px solid #F1921A !important;
    border-radius: 5px;
}
.language-icons.hover > a {
    background: #b0a565;
    color: #ffffff !important;
    border: 2px solid #27A0B2 !important;
}

/* SEARCH FORM */
/* Normal search */
.search-form-type-1 .elm-search-form .radius-toggle.radius-input-visible {
    display: none;
}
.search-form-type-1 .elm-search-form {
    background-color: #5a6055;       /* previous: #054c58, default: #27A0B2; */
}
@media (min-width:498px) and (max-width:980px) {
    .search-form-type-1 .elm-search-form .search-content, .search-form-type-2 .elm-search-form .search-content {
    padding-top: 10px;          /* default: 30px */
    padding-bottom: 10px;       /* default: 30px */
}
    .search-form-type-1 .elm-search-form .searchsubmit-wrapper, .search-form-type-2 .elm-search-form .searchsubmit-wrapper {
    padding-top: 10px;  /* default: 36px */
    padding-bottom: 10px;   /* default: 36px */
}
    .search-form-type-1 .elm-search-form .search-inputs-wrap {
    width: 100%;    /* default: calc(100% - 60px); when Search Radius feature is displayed */
}
}
@media (max-width:640px) {
    .toggle-search.ait-toggle-area-group {
        background: #5a6055;
        display: none;
    }
    #elm-items-_eb8b13a2f0ba738-main {
        margin-bottom: 50px;
    }
}
@media (max-width: 497px) {
.toggle-search.ait-toggle-area-group {
   display: none;
}
.search-form-type-1 .elm-search-form .search-content, .search-form-type-2 .elm-search-form .search-content {
    padding-top: 10px;
    padding-bottom: 10px;
}
.search-form-type-1 .elm-search-form .searchsubmit-wrapper, .search-form-type-2 .elm-search-form .searchsubmit-wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
}
}
.ait-toggle-area-group .ait-toggle-area-btn:only-child {
    text-transform: capitalize;
}
.toggle-search .ait-toggle-area-btn {
    color: #999999 !important;
    font-weight: 400 !important;
}
@media (min-width: 641px) and (max-width: 980px) {
    .elm-search-form .inputs-container {
        display: flex;
    }
    .search-form-type-1 .elm-search-form .search-content, .search-form-type-2 .elm-search-form .search-content {
        order: 1;
    }
    .search-form-type-1 .elm-search-form .searchsubmit-wrapper, .search-form-type-2 .elm-search-form .searchsubmit-wrapper {
        order: 2;
        background: unset;
    }
    .search-form-type-1 .elm-search-form .category-search-wrap, .search-form-type-1 .elm-search-form .location-search-wrap {
        width: 28%;
    }
}
/* Button search - issue with background when refreshing a pag
.toggle-search.ait-toggle-area-group, .ait-toggle-area-group .ait-toggle-area-btn:only-child { 
    display: none !important;
    background: #51564c;
}
@media (max-width:640px) {
    .search-form-type-3 .search-collapsed .header-search-wrap { display: none !important; }
}
.search-form-type-3 .search-collapsed .header-search-wrap .elm-search-form { padding: 0; }
.search-form-type-3 .search-collapsed .header-search-wrap .elm-wrapper, .search-form-type-3 .search-collapsed .header-search-wrap {
    background: #51564c;
}
.search-form-type-3 .elm-search-form .searchinput { 
    height: 40px;
    font-size: 14px;
    box-shadow: none;
}
.search-form-type-3 .elm-search-form .submit-main-button .searchsubmit2 { 
    height: 43px;
    font-size: 15px;
    font-weight: normal;
}
.search-form-type-3 .elm-search-form .submit-main-button input.searchsubmit { height: 44px; }
.search-form-type-3 .elm-search-form .search-inputs-buttons-wrap { display: none; }
#elm-search-form-e53cfa6898d992 { padding: 0; }
.search-form-type-3 .elm-search-form .search-inputs-wrap { margin-bottom: 10px; }
.search-form-type-3 .search-collapsed .header-search-wrap .elm-wrapper {
    padding-top: 10px;
    padding-bottom: 0;
}
*/
/* AIT DEFAULT MEDIA SIZES: max:640px, 641px-968px, min:969px */
/* BELOW IS EDITABLE WITH OWN MEDIA SIZES: 497px, 768px and 980px */
.top-bar {
    background:#F5F5F5; /*  #F5FAFA; #E2E9E1;    default: #f7f7f7 */
    border:0;         /* Remove top border of top bar */
}

/* HOME PAGE */
/* LOGO: there are 3 layouts of Logo, Menu and Search Form set designed by AIT: 640px, 641px - 968px and above 968px which cannot be changed when styling logo, menu and search form */
.site-logo {
    width: 30%; /* default 24%; it seems max width is 41% */
}
@media (min-width:969px) {
    .header-container {
        height: 70px;  /* reduce space below main menu; default: 126px; */
    }
    .site-logo {
        margin: 0;
        line-height: 70px;
    }
    .main-nav-wrap {
        margin: 0;
    }
    .header-container .menu-container > * {
        margin-top: -27px;
    }
}
@media (min-width:498px) and (max-width: 968px) {   /* medium screen for mobile */
.header-container .site-logo {
    padding: 0;    /* default: 20px */
}
}
@media (max-width: 497px) { /* smallest screen for mobile */
.header-container .site-logo {
    padding-top: 0;   /* default: 20px */
    padding-bottom: 0;    /* default: 20px */
    padding-left: 0;
    padding-right: 0;
}
}

/* CUSTOM MAIN MENU */
/* Firstly remove this line from header.php:  <nav class="main-nav menu-hidden" role="navigation" data-menucollapse={$options->theme->header->menucollapse}>  - this line causes the main menu to load very slow after the content */
.site-header {
    background: #1f4287;     /* #46b5d1  #36454F */
}
.sticky-menu.menu-container {
    background: #1f4287;
}
.sticky-menu.menu-container .custom-main-nav-wrap {
    position: relative;
    padding-top: 10px;
}
.search-form-type-1 .elm-search-form {
    background-color: #51564c;
}
.elm-search-form .submit-main-button .searchsubmit2 {   /* hover is set for search form button at WP Admin --> Theme Admin --> General */
    background: #5a6055;
}
.elm-search-form .inputs-container {
    padding: 0;
}
.search-form-type-1 .elm-search-form .search-content, .search-form-type-2 .elm-search-form .search-content {
    padding: 10px 0;
}
.search-form-type-1 .elm-search-form .searchsubmit-wrapper, .search-form-type-2 .elm-search-form .searchsubmit-wrapper {
    padding: 10px 0;
}
.ubermenu-skin-charcoal .ubermenu-item-level-0.ubermenu-current-menu-item > .ubermenu-target, .ubermenu-skin-charcoal .ubermenu-item-level-0.ubermenu-current-menu-parent > .ubermenu-target, .ubermenu-skin-charcoal .ubermenu-item-level-0.ubermenu-current-menu-ancestor > .ubermenu-target {
    color: #fff !important;
    background: #0d7685 !important;
}
.ubermenu .ubermenu-item.ubermenu-item-level-0 {
    background: #5a6055;    /* background color of ubermenu */
}
@media (min-width:641px) and (max-width:968px) {
    .ubermenu {
        margin-bottom: 10px !important;
    }
    .custom-menu-container {    /* horizontally  center align ubermenu */
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
    }
}
@media (min-width:641px) {
    .header-container.toggle-menu {
        display: none !important;
    }
    .ubermenu .ubermenu-target-text {
        font-size: 15px;
        font-weight: 400 !important;
        text-transform: capitalize;
    }
    .header-container.custom-menu { /* vertical alignment for Main Menu */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .header-container.custom-menu .site-logo { /* vertical alignment for logo */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    h1 {
        font-size: 25px;
    }
}
@media (max-width:640px) {
    .header-container.custom-menu {
        display: none !important;
    }
    .header-container.grid-main {
        display: none !important;
    }
    .header-container.toggle-menu {
        display: flex !important;
    }
    .header-container.toggle-menu .custom-menu-container {
        display: inline-block;
        width: 15%;
    }
    .header-container.toggle-menu .custom-site-logo {
        display: inline-block;
        width: 64%;
        display: flex;                  /* horizontal alignment for logo */
        flex-direction: row;
        justify-content: center;
        padding-top: 0;              /* vertical alignment for logo */
        margin-bottom: -10px;
    }
    .header-container.toggle-menu .custom-top-bar {
        display: inline-block;
        width: auto;
    }
    .ubermenu-skin-charcoal.ubermenu-responsive-toggle {
        background: #1f4287 !important;     /* #36454F; */
        color: #eee;
        border: 0;
        padding-top: 17px;
        font-size: 14px !important;
        height: 52px;
    }
    .ubermenu-skin-charcoal.ubermenu-responsive-toggle:hover {
        background: #1f4287 !important;     /* #494949; */
        color: #fff;
    }
    .ubermenu.ubermenu-mobile-modal {
        width: 150px !important;
        height: auto !important;
    }
    .ubermenu .ubermenu-target-text {
        text-transform: capitalize;
        font-size: 14px;
        font-weight: 300 !important;
    }
    .ubermenu-responsive-toggle-icon-only .fab, .ubermenu-responsive-toggle-icon-only .far, .ubermenu-responsive-toggle-icon-only .fas, .ubermenu-responsive-toggle-icon-only .svg-inline--fa .ubermenu-responsive-toggle-icon-only .ubermenu-icon-essential {
        width: auto;
    }
    .lang-en_US .language-icons > a {
        font-size: 10px;
        padding: 0 10px;
    }
    .language-icons__list li a {
        height: 30px;
        width: 65px;
        text-align: center;
    }
    .language-icons__list li img {
        margin-top: -3px;
        margin-right: 0;
    }      
}
@media (max-width:560px) {
    .header-container.toggle-menu .custom-site-logo {
        width: 62%;
    }
}
@media (max-width:500px) {
    .header-container.toggle-menu .custom-site-logo {
        width: 60%;
    }
}
@media (max-width:640px) {
    .header-container.grid-main {
        height: 53px;
    }
    .header-container.toggle-menu .custom-site-logo {
        display: inline-block;
        vertical-align: top;                /* vertical alignment for logo */
    }
    .custom-site-logo a {           /* horizontal alignment for logo */
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    h1 {
        font-size: 20px;
        font-weight: 400 !important;
    }
    #elm-text-_e2ee3eef445773-main {
        padding-top: 7px;
        margin-bottom: 50px;
    }
}
@media (max-width:460px) {
    .header-container.toggle-menu .custom-site-logo {
        width: 58%;
    }
}
@media (max-width:430px) {
    .header-container.toggle-menu .custom-site-logo {
        width: 56%;
    }
}
@media (max-width:400px) {
    .header-container.toggle-menu .custom-site-logo {
        width: 54%;
    }
}
@media (max-width:370px) {
    .header-container.toggle-menu .custom-site-logo {
        width: 52%;
    }
}
.ubermenu-responsive-toggle-icon-only .fab, .ubermenu-responsive-toggle-icon-only .far, .ubermenu-responsive-toggle-icon-only .fas, .ubermenu-responsive-toggle-icon-only .svg-inline--fa .ubermenu-responsive-toggle-icon-only .ubermenu-icon-essential {
    margin-left: -5px;
}
@media (max-width:350px) {
    .header-container.toggle-menu .custom-site-logo {
        margin-left: 5px;
        width: 50%;
    }
}
@media (max-width:330px) {
    .header-container.toggle-menu .custom-site-logo {
        margin-left: 8px;
        width: 48%;
    }
}
@media (max-width:330px) {
    .ubermenu-responsive-toggle-icon-only .fab, .ubermenu-responsive-toggle-icon-only .far, .ubermenu-responsive-toggle-icon-only .fas, .ubermenu-responsive-toggle-icon-only .svg-inline--fa .ubermenu-responsive-toggle-icon-only .ubermenu-icon-essential {
        margin-left: -8px;
    }
}
/* End of CUSTOM MAIN MENU */


/* FOOTER WIDGET */
.footer-widgets-container {
    display:flex !important;
    flex-wrap:wrap;
    flex-direction:row;
}
.footer-widgets-container .widget-area-1 { /* See Reordering columns on mobile in media section above */
    width:25%;  /* default: 21%; */
}
.footer-widgets-container .widget-area-2 {
    width:25%;  /* default: 30%; */
}
.footer-widgets-container .widget-area-3 {
    width:25%;  /* default: 20%; */
}
.footer-widgets-container .widget-area-4 {
    width:25%;  /* default: 29%; */
}
.footer-widgets .widget-title h3, .footer-widgets .widget-title h3 a {
    color:#131010;
}
.textwidget p {
    margin-bottom: 5px;
}
.footer-widgets .widget_text .textwidget {
    margin-top: 0;
}
@media (max-width:968px) {
.footer-widgets-wrap {
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}
}
@media (min-width:969px) {
.footer-widgets-wrap {
    padding-top: 20px;
    padding-bottom: 0;
    overflow: hidden;
}
}
.footer-widgets a {
    color:#777777;  /* default: #ff9c00; and #777777 is default text colour */
}
.footer-widgets a:hover {
    color:#131010;  /* default: #ff9c00; and #777777 is default text colour */
}
.site-footer a {
    color:#0d7685;  /* #ff9c00; */
}
@media (min-width:345px) and (max-width: 497px) { /* referred to responsive.less */
.footer-widgets .widget-container { margin-bottom: 20px; }
.footer-widgets-container       { margin-right: 0; }
.footer-widgets .widget-area    { width: 100%; float: none; padding-right: 0; }
.footer-widgets .widget-area:last-child .widget-container   { margin-bottom: 10px; }


.footer-widgets .widget-area:nth-child(2n-1)                { float: none; width: 50%; clear: both; }
.footer-widgets .widget-area:nth-child(2n)                  { float: none; width: 50%;  }
.footer-widgets .widget-area:nth-child(2n-1):last-child     { width: 100%; float: none; }
}
@media (min-width:498px) and (max-width:768px) {    /* referred to responsive.less */
.footer-widgets .widget-container { margin-bottom: 0; margin-top: 20px; }
.footer-widgets-container       { margin-right: 0; }
.footer-widgets .widget-area    { width: 100%; float: none; padding-right: 0; }
.footer-widgets .widget-area:last-child .widget-container   { margin-bottom: 10px; }


.footer-widgets .widget-area:nth-child(2n-1)                { float: none; width: 50%; clear: both; }
.footer-widgets .widget-area:nth-child(2n)                  { float: none; width: 50%;  }
.footer-widgets .widget-area:nth-child(2n-1):last-child     { width: 100%; float: none; }
}
@media (min-width:769px) and (max-width:968px) {    /* referred to responsive.less */
.footer-widgets-container {
    width: 100%;
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
}
.footer-widgets-container .widget-area-1 { /* See Reordering columns on mobile in media section above */
    width:25% !important;   /* default: 21%; */
    order:1;
    }
.footer-widgets-container .widget-area-2 {
    width:25% !important;   /* default: 30%; */
    order:2;
}
.footer-widgets-container .widget-area-3 {
    width:25% !important;   /* default: 20%; */
    order:3
}
.footer-widgets-container .widget-area-4 {
    width:24% !important;   /* default: 29%; */
    order:4;
}
.footer-widgets .widget-container {
    margin-bottom: 30px;    /* default */
    margin-top: 20px;       /* default: 0px */
}
.footer-widgets .widget-container .widget-title h3, .footer-widgets .widget_rss .widget-title {
    padding-bottom: 10px;   /* default: 12px */
}
}
@media (max-width:640px) {
    .site-footer .footer-text {
        display: none;
    }
    .site-footer .nav-menu-footer {
        width: 100%;
        position: fixed;
        bottom: 0;
        margin-left: -20px;
        margin-bottom: -20px;
        padding-top: 5px;
        background-color: white;
        z-index: 999;
    }
}
@media (min-width:641px) {
    .site-footer .nav-menu-footer {
        display: none;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .footer-widgets-wrap {
        padding-bottom: 90px !important;
    }
}
.dashicons, .dashicons-before:before {
    color: gray;
    margin-bottom: 2px;
}
.site-footer .nav-menu-footer ul li a {
    color: black;
}
@media (max-width:344px) {
    .footer-widgets-container {
        margin-bottom: 90px;
    }
    .footer-widgets .widget-area:nth-child(2n-1) {
        margin-bottom: -40px;
    }
    .footer-widgets .widget-area:nth-child(2n) {
        margin-bottom: -40px;
    }
}
@media (min-width:345px) and (max-width:497px) {
    .footer-widgets-container {
        margin-bottom: 40px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .footer-widgets-container {
        margin-bottom: 10px;
    }
}
/* END OF FOOTER */

/* ACCOUNT, LOGIN AND REGISTER PAGES */
.entry-content .apps-account .apps-button {
    display: block;
    width: 100%;
  border: none;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}
.entry-content .apps-account .apps-button a {
    color: #bb1924;
}
.entry-content .apps-account .apps-button.login {
    background-color: #e4e4e4;
}
.entry-content .apps-account .apps-button.login:hover {
    background-color: #ffc045;
}
.entry-content .apps-account .apps-button.register {
    background-color: #b9d2d2;
}
.entry-content .apps-account .apps-button.register:hover {
    background-color: #00adb5;
}


@media (min-width:641px) {
    .entry-content .apps-account {
        display: none;
    }
}
@media (max-width:497px) {
    .footer-widgets {
        display: none;
    }
}

.dig_pgmdl_2 .button[type=submit], .dig_pgmdl_2 .transupbutton[type=submit] {
    height: 46px;
    line-height: 0;
    padding: 10px 20px;
    margin-left: auto;
    margin-right: auto;
    background-color: #4ecca3 !important;
    font-size: 16px !important;
    font-weight: 400;
    width: 100%;
}
.dig_pgmdl_2 .button[type=submit]:hover {
    background-color: #219897 !important;
}
.backtoLoginContainer a {
    color: #c70039;
    margin-top: 5px;
}
.backtoLoginContainer a:hover {
    color: #ff9c00;
}
.dig-elem .digits_login {
    color: #777777;
}
.signupbutton .dig_pgmdl_2 .button, .dig_pgmdl_2 .transupbutton {
    color: white;
    background-color: #ff6464;
}
.signupbutton .dig_pgmdl_2 .button, .dig_pgmdl_2 .transupbutton:hover {
    background-color: #c72c41;
}
.dig-elem .dig_reg_btn_password, .dig-elem .digits_login .button {
    background-color: #ff6464;
}
.dig-elem .dig_reg_btn_password, .dig-elem .digits_login .button:hover {
    background-color: #c72c41;
}
.dig-elem .digits_login .loginviasmsotp {
    color: white;
    display: none;
}
.forgotpasswordaContainer a {
    color: #c70039;
}
.forgotpasswordaContainer a:hover {
    color: #ff9c00;
}
@media (min-width:641px) {
    #elm-text-_e0a8c7a45e2025-main {
        display: none;
    }
    #elm-text-_edce9057d04b52-main {
        display: none;
    }
}
.dig_pgmdl_2 .dig_opt_mult_con, .dig_pgmdl_2 .digits-form-select, .dig_pgmdl_2 .minput .digits-input-wrapper {
    background: #F3F2B1;
}
#dig_billing_otp_field .woocommerce-input-wrapper, .digcon {
    display: none;
}
#elm-text-_e759ac674a54308-main, #elm-text-_e71a0d7b97c87f-main { /* En & Km */
    background-color: #F3F3F3;
    border: 1px solid #CDDFF0;
    padding: 0 15px 15px 15px;
    margin-top: 10px;
    border-radius: 5px;
 }
 #elm-text-_e11e7c6e4540bc8-main, #elm-text-_e21b3b19a93f2e-main {
    background-color: #fafafa;
    border: 1px solid #CDDFF0;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
}
h5 { color: #131010; }
#elm-text-_edee5e24dd71c2-main, #elm-text-_e55b99050ab62e8-main {
    background-color: #fafafa;
    border: 1px solid #CDDFF0;
    padding: 0 20px 20px 20px;
    margin-top: 10px;
    border-radius: 5px;
}
#elm-text-_ef6a531c40a5238-main, #elm-text-_e3b968adb2b95e-main {
    background-color: #fafafa;
    border: 1px solid #CDDFF0;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
}
/* EN Register/login page */

/* CONTACT US */
div.wpcf7 {
    border: 1px solid #6faf49 !important;
    border-radius: 5px !important;
    background-color: #F3F3F3;
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 5px;
    padding-left: 25px;
    margin-bottom: 20px;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
    background: #F3F2B1 !important;
    font-style: normal !important;
    color: black !important;
}
.wpcf7 input[type="submit"], .wpcf7 input[type="button"] {
    background-color: #27A0B2 !important;
}
.wpcf7 input[type="submit"]:hover, .wpcf7 input[type="button"]:hover {
    background-color: #0d7685 !important;
}
.wpcf7 textarea {
    height: 120px !important;
}
#elm-text-_e12b3349eeb0f28-main, #elm-text-_e4c9e33ca88426-main {
    border: 1px solid #6faf49 !important;
    border-radius: 5px !important;
    background-color: #F3F3F3;
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 5px;
    padding-left: 25px;
    margin-bottom: 20px;
}
/* CONTACT FORM 7 */
div.wpcf7 { 
background-color: #fbefde;
border: 1px solid #f28f27;
padding:20px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
width: 100%;
background:#725f4c;
color:#FFF;
/* font-family:lora, sans-serif;  */
font-style:italic;    
}
.wpcf7 input[type="submit"],
.wpcf7 input[type="button"] { 
background-color:#725f4c;
width:100%;
text-align:center;
text-transform:uppercase;
}
/* Style individual contact forms - NEED TO CHECK WITH BROWSER INSPECTOR */
div#wpcf7-f201-p203-o1{ 
background-color: #fbefde;
border: 1px solid #f28f27;
padding:20px;
}
#wpcf7-f201-p203-o1 input[type="text"],
#wpcf7-f201-p203-o1 input[type="email"],
#wpcf7-f201-p203-o1 textarea {
background:#725f4c;
color:#FFF;
/* font-family:lora, "Open Sans", sans-serif; */
font-style:italic;    
}
#wpcf7-f201-p203-o1 input[type="submit"],
#wpcf7-f201-p203-o1 input[type="button"] { 
background-color:#725f4c;
width:100%;
text-align:center;
text-transform:uppercase;
}
@media only screen and (max-width: 768px) {     /* EN: Display the right hand side of ContactUs page on top of the left hand side on mobile devices */
#elm-columns-_e3a33b9646b3658-main {
    display:flex !important;
    flex-wrap:wrap;
    flex-direction:column;  /* to make columns to be stacked on each other on mobile devices */
}
#elm-columns-_e3a33b9646b3658-main .column-first {
    order:2;    /* move the second column/sidebar to the right */
}
#elm-columns-_e3a33b9646b3658-main .column-last {    
    order:1;    /* move the second column/sidebar to the right */
}
}
@media only screen and (max-width: 768px) {     /* KM: Display the right hand side of ContactUs page on top of the left hand side on mobile devices */
#elm-columns-_e2824b0ff252c28-main {
    display:flex !important;
    flex-wrap:wrap;
    flex-direction:column;  /* to make columns to be stacked on each other on mobile devices */
}
#elm-columns-_e2824b0ff252c28-main .column-first {
    order:2;    /* move the second column/sidebar to the right  */
}
#elm-columns-_e2824b0ff252c28-main .column-last {    
    order:1;    /* move the second column/sidebar to the right */
}
}

.nav-single .nav-previous a, .nav-single .nav-next a, .nav-single .page-numbers, .nav-pagination .nav-previous a, .nav-pagination .nav-next a, .nav-pagination .page-numbers {
    background: #27A0B2;
}
.nav-single:hover .nav-pagination:hover {
    background: #27A0B2;
}
.nav-single .current, .nav-pagination .current {
    background: #bb1924;
}
/* End of CONTACT US */

/* TAXONOMY ICON LIST on home page */
.elm-main .loading .ait-preloader { /* Disable preloader */
    display: none;
}
#elm-taxonomy-list-_e3132aaec15f0b-main, #elm-taxonomy-list-_eda871438983268 {
    padding: 0;
    margin: 0;
}
#elm-taxonomy-list-_e3132aaec15f0b-main.layout-icon .item-box, #elm-taxonomy-list-_eda871438983268.layout-icon .item-box { 
    width: 150px !important; }


/* Dev CSS */
/* Styling Boxed items folded from Listed items under Main Advertising */
.elm-items-main .layout-list .item .item-location p:before, .items-container .layout-list .item .item-location p:before {
    color: #BB1924; /* colour of location icon */
    font-size: 14px;
}
.elm-items-main .layout-list .item-content, .items-container .layout-list .item-content { /* Styling boxed items under Main advertising on homepage */
    padding: 15px 20px;     /* size of thumbnail; default 25px 20px */
}
@media (max-width:640px) {
    .elm-items-main .layout-list .item .item-location p:before, .items-container .layout-list .item .item-location p:before {
        display: block;
        margin-top: -5px;
        margin-bottom: -5px;
        margin-right: 0;
    }
    .elm-items-main .layout-list .item-content, .items-container .layout-list .item-content {
        text-align: center !important;
    }
}
@media only screen and (max-width:968px) { /* 968px instead of 768px is used for both mobile and ipad */
.elm-items-main .layout-list .item, .items-container .layout-list .item {
   margin-bottom:10px;  /* space between listed items on mobile and ipad */
}
}
.carousel-bottom-arrows {
    background: #F0F0F0;    /* this is required when setting margin-bottom:10px between listed items to make colour of navigation's background the same as its top */
}
@media (min-width:981px) {  /* Listed items */
    .column .elm-items-main .layout-list .item .item-info-wrap {    /* heigth of info wrap on listed items for mobile and ipad; cant be adjusted on PC due to distortion of the width of listed items */
        padding: 10px 15px;  /* default: 15px 20px */
    }
}
@media (min-width:641px) and (max-width:980px) {  /* Listed items */
    .column .elm-items-main .layout-list .item .item-info-wrap {
        padding: 8px 15px;  /* default: 15px 20px */
    }
}
@media (max-width:640px) {  /* Boxed items */
    .column .elm-items-main .layout-list .item .item-info-wrap {
        padding: 5px 10px;
    }
}

/* Hide category icons and description in Boxed items when items are BOXED */
@media (max-width: 640px) {
    .elm-items-main .layout-list .item .taxonomy-icon, .items-container .layout-list .item .taxonomy-icon { display: none; }
    .elm-items-main .layout-list .item .item-text, .items-container .layout-list .item .item-text { display: none; }
}

/* Fixing space for title on custom category pages */
@media (min-width:769px) {
    .page-title .entry-title-wrap {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .page-title .entry-title-wrap {
        padding: 8px 0;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .page-title .entry-header-left {
        padding: 0;
    }
    .page-title {
        padding: 0;
    }
    .page-title .entry-title-wrap {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}
@media (max-width: 497px) {
    .page-title .entry-title-wrap {
        padding: 0;
    }
    .tax-ait-locations .page-title .entry-title-wrap {
        padding: 20px 0;
    }
    .search-results .page-title .entry-title-wrap {
        margin-top: 10px;
        padding: 12px 0 20px 0;
    }
    .elm-items-main .layout-list .item .item-title .subtitle, .items-container .layout-list .item .item-title .subtitle {
        font-size: 13px;
    }
    .elm-items-main .layout-box .item .subtitle, .items-container .layout-box .item .subtitle {
        font-size: 13px;
        font-weight: 500;
        margin-bottom: -3px;
    }
}


/* Font size of title in boxed items */
.elm-items-main .layout-box .item .item-title h3, .items-container .layout-box .item .item-title h3 {
    font-size: 15px;    /* Default: 15px for PC */
    margin-top: -10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
@media (max-width:640px) {
    .elm-items-main .layout-box .item .item-title h3, .items-container .layout-box .item .item-title h3 {
        font-size: 13px;    /* Default: 15px for PC */
        text-transform: capitalize;
    }
}
@media (min-width:641px) and (max-width:980px) {
    .elm-items-main .layout-box .item .item-title h3, .items-container .layout-box .item .item-title h3 {
        font-size: 14px;    /* Default: 15px for PC */
        text-transform: capitalize;
    }
}
@media (min-width:641px) { /* LISTED items starts from 641px */
    .elm-item-organizer .layout-list .image-present .item-title, .elm-item-organizer .layout-list .image-present .item-text {
        text-align: left; 
        width: 100%;
    }
}

/* STYLING LISTED/BOXED ITEMS ON HOMEPAGE/CATEGORY/LOCATION PAGE WHEN USING WITH A RIGHT SIDEBAR - 2-COLUMN LAYOUT WITH LISTED ITEMS AND DEFAULT RIGHT SIDEBAR IS SHOWN BELOW */
.column .elm-items-main .layout-list .item .item-content-wrap { 
    text-align: center;
}
.elm-item-organizer .item-text .item-excerpt.txtrows-1 {
    height: 55px;   /* 3 lines of text */
}
.elm-item-organizer .item-text .item-excerpt.txtrows-3 {
    height: 40px;   /* 2 lines of text */
}
#elm-columns-_e448213d9c90168-main { 
    margin-top: 70px;
    margin-bottom: -30px;
}
#elm-columns-_edecdefe9f0fa38-main {
    margin-top: 70px;
    margin-bottom: -30px;
}
.elm-items-main .layout-list .item .item-title h3, .items-container .layout-list .item .item-title h3 {     /* make title hidden and block so that subtitle is dropped below it on all listed items */
    display: block; /* to make subtitle not lined up with title; default font size is used */
/*  width: 600px;   /* this is not required for h3 on PC which does not use Flexbox  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 15px;
    margin: 0;
}
#elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p {   /* EN HOMEPAGE - Main Advertising */
    font-size: 13px !important; /* not woring for responsive */
    max-width: 480px;   /* for listed items on homepage */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -8px; /* move ago text to inline with location text */
    margin-top: 0;
}
#elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-location p {  /* KM HOMEPAGE - Main Advertising */
    font-size: 13px !important; /* not woring for responsive */
    max-width: 480px;   /* for listed items on homepage */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -8px; /* move ago text to inline with location text */
    margin-top: 0;
}
.right-sidebar .elements-with-sidebar .elm-items-main .layout-list .item .item-location p, .items-container .layout-list .item .item-location p {   /* EN & KM CATEGORY/LOCATION PAGE WITH DEFAULT RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 13px !important;
    max-width: 220px !important;    /* for listed items on category/location pages */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -8px; /* move ago text to inline with location text */
}
#elm-columns-_e73f067da5d7288-main .elm-items-main .layout-list .item .item-location p {  /* EN & KM SEARCH/CATEGORY PAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 13px !important; /* not woring for responsive */
    max-width: 200px;   /* for listed items on PC homepage */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -8px; /* move ago text to inline with location text */
}
.elm-items-main .layout-list .item, .items-container .layout-list .item .ago {
    display: inline;
}
@media (max-width:640px) { /* time ago is not displayed */
    #elm-columns-_e448213d9c90168-main span.ago, #elm-columns-_edecdefe9f0fa38-main  span.ago {
        display: none;
    } 
}
@media (min-width:641px) and (max-width:768px) { /* time ago is not displayed */
    #elm-columns-_e448213d9c90168-main span.ago {
        font-size: 12px;
        margin-top: 15px;
    } 
}
@media (min-width:969px) {
    #elm-columns-_e448213d9c90168-main span.ago, #elm-items-_e259806e4ef2098-main span.ago {
        margin-left: 10px !important;
        font-size: 13px;
    }
}
@media (min-width:1051px) {
#elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p, #elm-columns-_e384e97682f197 .elm-items-main .layout-list .item .item-location p {   /* EN HOMEPAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 12px !important; /* not woring for responsive */
    max-width: 280px;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 9px; /* move ago text to inline with location text */
}
#elm-columns-_e448213d9c90168-main span.ago {
    font-size: 12px;
    margin-top: 11px;
}
#elm-columns-_e384e97682f197 span.ago {
    font-size: 12px;
    margin-top: 12px;
}
}
@media (min-width:969px) and (max-width:1050px) {
#elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p, #elm-columns-_e384e97682f197 .elm-items-main .layout-list .item .item-location p {   /* EN HOMEPAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 12px !important; /* not woring for responsive */
    max-width: 240px;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 9px; /* move ago text to inline with location text */
}
#elm-columns-_e448213d9c90168-main span.ago, #elm-columns-_e384e97682f197 span.ago {
    font-size: 12px;
    margin-top: 12px;
}
}
@media (min-width:769px) and (max-width:968px) {
.elm-items-main .layout-list .item .item-title h3, .items-container .layout-list .item .item-title h3 {     /* make title hidden and block so that subtitle is dropped below it on all listed items */
    font-size: 15px !important;
    display: block; /* to make subtitle not lined up with title */
    max-width: 1000px;  /* required to set max width of text before it is hidden so that it wont cause the mess (by nowrap) in Right Sidebar; it is cut automatically when reaching end of div if the width of div is smaller than 1000px  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
} 
#elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p {   /* EN HOMEPAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 12px !important; /* not woring for responsive */
    max-width: 200px;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -9px; /* move ago text to inline with location text */
}
#elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-location p {   /* EN HOMEPAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 12px !important; /* not woring for responsive */
    max-width: 200px;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -9px; /* move ago text to inline with location text */
}
#elm-columns-_e448213d9c90168-main span.ago { 
        font-size: 12px;
        margin-top: 11px !important;
}
#elm-columns-_edecdefe9f0fa38-main span.ago { 
        font-size: 12px;
        margin-top: 12px !important;
}
.right-sidebar .elements-with-sidebar .elm-items-main .elm-items-main .layout-list .item .item-location p {   /* CATEGORY/LOCATION PAGE WITH DEFAULT RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 13px !important;
    max-width: 130px;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -9px; /* move ago text to inline with location text */
}
/* Also CUSTOM CATEGORY PAGES FOR WIDTH OF BETWEEN 769px AND 1010px */
#elm-columns-_e73f067da5d7288-main .elm-items-main .layout-list .item .item-location p {
    font-size: 12px !important; /* not woring for responsive */
    max-width: 130px !important;    /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -9px; /* move ago text to inline with location text */
}
}
@media (min-width:769px) and (max-width:825px) { /* Adjusting location width on mobile devices - needed to be below 769px & 1010px */
    #elm-columns-_e73f067da5d7288-main .elm-items-main .layout-list .item .item-location p {  /* SEARCH/CATEGORY PAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 12px !important; /* not woring for responsive */
    max-width: 120px !important;    /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -9px; /* move ago text to inline with location text */
}
}
@media (min-width:498px) and (max-width:640px) {
    #elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p {   /* EN HOMEPAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
        font-size: 12px !important; /* not woring for responsive */
        max-width: 180px !important;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-bottom: -9px; /* move ago text to inline with location text */
        margin-top: -5px;
    }
    #elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-location p {  /* KM HOMEPAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
        font-size: 13px !important; /* not woring for responsive */
        max-width: 180px;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-bottom: -9px; /* move ago text to inline with location text */
    }
}
@media (min-width:641px) and (max-width:700px) {
    #elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p {
        font-size: 11px !important; /* not woring for responsive */
        max-width: 150px !important;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-bottom: -9px; /* move ago text to inline with location text */
        margin-top: 5px;
    }
    #elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-location p {
        font-size: 11px !important; /* not woring for responsive */
        max-width: 150px !important;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    #elm-columns-_ed16e0b821a5278 span.ago { 
        font-size: 11px;
        margin-top: 15px !important;
    }
    #elm-columns-_edecdefe9f0fa38-main span.ago { 
        font-size: 11px;
        margin-top: 12px !important;
    }
}
@media (min-width:701px) and (max-width:768px) {
    #elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p {
        font-size: 12px !important; /* not woring for responsive */
        max-width: 180px !important;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-bottom: -9px; /* move ago text to inline with location text */
        margin-top: 5px;
    }
    #elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-location p {
        font-size: 12px !important; /* not woring for responsive */
        max-width: 180px !important;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    #elm-columns-_ed16e0b821a5278 span.ago { 
        font-size: 12px;
        margin-top: 15px !important;
    }
    #elm-columns-_edecdefe9f0fa38-main span.ago { 
        font-size: 12px;
        margin-top: 12px !important;
    }
}
@media (min-width:498px) and (max-width:768px) {
.elm-items-main .layout-list .item .item-title h3, .items-container .layout-list .item .item-title h3 {     /* make title hidden and block so that subtitle is dropped below it on all listed items */
    font-size: 14px !important;
    display: block; /* to make subtitle not lined up with title */
    max-width: 1000px;  /* for this width, it's required to set max width of text before it is hidden so that it wont cause the mess (by nowrap) in Right Sidebar */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
}
.right-sidebar .elements-with-sidebar .elm-items-main .layout-list .item .item-location p {   /* CATEGORY/LOCATION PAGE WITH DEFAULT RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 13px !important; /* not woring for responsive */
    max-width: 250px;   /* this is required for MOBILE devices to determin max width of text before it is hidden so that it wont cause the mess in Default Right Sidebar  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -9px; /* move ago text to inline with location text */
}
}
@media (max-width:497px) {
.elm-items-main .layout-list .item .item-title h3, .items-container .layout-list .item .item-title h3 {     /* make title hidden and block so that subtitle is dropped below it on all listed items */
    display: block; /* to make subtitle not lined up with title */
    max-width: 1000px;  /* required to set max width of text before it is hidden so that it wont cause the mess (by nowrap) in Right Sidebar; it is cut automatically when reaching end of div if the width of div is smaller than 1000px  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    margin: 0;
}
#elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p {   /* EN HOMEPAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 11px !important; /* not woring for responsive */
    max-width: 160px;   /* not required for PC which does not use Flexbox; however, because inline-block is used in template for parent div to horizontally with ago text after location text, this is now required  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -17px; /* move ago text to inline with location text */
    padding-bottom: 15px;
}
#elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-location p {  /* KM HOMEPAGE WITH CUSTOM RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 12px !important; /* not woring for responsive */
    max-width: 160px;   /* not required for PC which does not use Flexbox; however, because inline-block is used in template for parent div to horizontally with ago text after location text, this is now required  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -17px; /* move ago text to inline with location text */
}
.right-sidebar .elements-with-sidebar .elm-items-main .layout-list .item .item-location p {   /* CATEGORY/LOCATION PAGE WITH DEFAULT RIGHT SIDEBAR: Make location text hidden on listed items */
    font-size: 13px !important; /* not woring for responsive */
    max-width: 210px;   /* not required for PC which does not use Flexbox; however, because inline-block is used in template for parent div to horizontally with ago text after location text, this is now required  */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -8px; /* move ago text to inline with location text */
}
}
@media (max-width:420px) {
    #elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p, #elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-location p {
        max-width: 130px !important;
    }
}
@media (max-width:370px) {
    #elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-location p, #elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-location p {
        max-width: 120px !important;
    }
}
/* End of STYLING LISTED ITEMS ON HOMEPAGE/CATEGORY/LOCATION PAGE WHEN USING WITH A RIGHT SIDEBAR */

/* Featured items on homepage */
.elm-main .elm-mainheader.align-center {
    margin-bottom: -10px;
}
#elm-columns-_e448213d9c90168-main {
        margin-bottom: -30px;
        margin-top: 0;
}
#elm-columns-_edecdefe9f0fa38-main {
        margin-bottom: -30px;
        margin-top: 0;
}
.elm-items-main .layout-box .item .item-categories, .items-container .layout-box .item .item-categories { display: none; }
#elm-items-_e72a1eeea57ab2-main, #elm-items-_eae13b3f9813e08-main {
    background-color:#FBFCFE !important;
    margin: 0;
    padding-top: 10px;
}
.elm-items-main .layout-box .item .item-title, .items-container .layout-box .item .item-title {
    padding: 20px 20px 10px 20px;
}
.elm-items-main .layout-box .item .item-location, .items-container .layout-box .item .item-location {
    padding: 0 !important;
    margin-top: 0;
}
@media (min-width:498px) and (max-width:640px) {
    .elm-items-main .layout-box .item .item-location, .items-container .layout-box .item .item-location {
        margin-top: -5px;
    }
}

/* Custom CSS on Boxed items */
.elm-items-main .layout-box a .item-text, .items-container .layout-box a .item-text {
    padding: 15px 10px;   /* default: 25px 20px 40px 20px; */
    color: #ffffff !important;
    background-color: #1f4287 !important;
}
.elm-items-main .layout-box .item .item-title, .items-container .layout-box .item .item-title {
    padding: 20px 20px 20px 20px;
}
.elm-items-main .layout-box .item .item-title, .items-container .layout-box .item .item-title {
    padding: 20px 20px 5px 20px;
}
.elm-items-main .layout-box .item .item-location:before, .items-container .layout-box .item .item-location:before {
    color: #BB1924; /* colour of location icon */
}
/* Location text & icon in Listed items */
.elm-items-main .layout-list .item-content > * + *, .elm-items-main .layout-list .item-info-wrap > * + *, .items-container .layout-list .item-content > * + *, .items-container .layout-list .item-info-wrap > * + * {
    text-align: left;
}
@media (max-width:640px) {
    .elm-items-main .layout-list .item-content > * + *, .elm-items-main .layout-list .item-info-wrap > * + *, .items-container .layout-list .item-content > * + *, .items-container .layout-list .item-info-wrap > * + * {
        text-align: center;
    }
}
@media (min-width:641px) {
    .elm-items-main .layout-list .item-content > * + *, .elm-items-main .layout-list .item-info-wrap > * + *, .items-container .layout-list .item-content > * + *, .items-container .layout-list .item-info-wrap > * + * {
        float: left;
    }
}

/* LAYOUT for GENERAL BOXED ITEMS including Boxed items under FEATURED items and Featured properties, and Boxed items in the right sidebar on Hompage */
.elm-items-main .layout-box .item .item-location p.txtrows-2, .items-container .layout-box .item .item-location p.txtrows-2 {
    font-size: 13px;
    height: 28px;   /* Default: 48px for PC */
    margin-top: -5px;
    overflow: hidden;   /* To overflow with dotdot, three settings are required */
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 10px;
    display: grid;      /* In Boxed items displaying location text without 3 dots and center it */
}
@media (max-width:980px) {
    .elm-items-main .layout-box .item .item-location p.txtrows-2, .items-container .layout-box .item .item-location p.txtrows-2 {
        font-size: 12px;    /* Default: 14px for PC */
        height: 28px;   /* Default: 48px for PC */
        margin-top: -7px;
        overflow: hidden;   /* To overflow with dotdot, three settings are required */
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-left: 10px;
        margin-right: 10px;
        padding-bottom: 10px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .elm-items-main .layout-box .item .item-location p.txtrows-2, .items-container .layout-box .item .item-location p.txtrows-2 {
        margin-top: -5px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .elm-items-main .layout-box .item .item-location p.txtrows-2, .items-container .layout-box .item .item-location p.txtrows-2 {
        font-size: 12px;    /* Default: 14px for PC */
        height: 28px;   /* Default: 48px for PC */
        margin-top: -7px;
        overflow: hidden;   /* To overflow with dotdot, three settings are required */
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-left: 10px;
        margin-right: 10px;
        padding-bottom: 10px;
    }
}

/* 2-COLUMN LAYOUT OF BOXED ITEMS FOR FEATURED ITEMS IN THE SLIDE AND FEATURED PROPERTIES ON HOMEPAGE */
@media (max-width:640px) { 
    .organizer-alt .carousel-disabled.column-5 .item:nth-child(2n+1) {
        margin-bottom: 0;
    }
}
@media (min-width:1200px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-left { left: 0; }
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-right { right: 0; }
}
@media (min-width:1161px) and (max-width:1219px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-left { left: 25px; }
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-right { right: 25px; }
}
@media (min-width:821px) and (max-width:1160px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-left { left: 20px; }
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-right { right: 20px; }
}
@media (min-width:769px) and (max-width:820px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-left { left: 10px; }
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-right { right: 10px; }
}
@media (min-width:651px) and (max-width:768px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-left { left: 20px; }
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-right { right: 20px; }
}
@media (min-width:550px) and (max-width:650px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-left { left: 10px; }
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-right { right: 10px; }
}
@media (max-width:497px) {
/* 2-column layout of boxed items/categories/locations in disabled carousel - homepage and all categories page; .column-4 and .column-5 are created by 4-column layout and 5-column layout respectively for PC */
.elm-item-organizer .carousel-disabled.column-5 { 
    display:flex !important;
    flex-wrap:wrap;
    flex-direction:row !important;   /* to make column display items inline on mobile devices */
}
.elm-item-organizer .carousel-disabled.column-5 .item                   { width: 50%; margin-right: 0 !important; display: inline !important; }
.elm-item-organizer .carousel-disabled.column-5 .item:nth-child(2n)     { width: 50%; margin-right: 0 !important; display: inline !important; }

/* 2-column layout of inboxed items in slides in enabled carousel */
.elm-item-organizer .carousel-container.column-5 .item-box  { width: 50%; }

/* 2-column layout of sub-category icons */
.categories-container ul.column-4 li    { width: 50% !important; }

/* Search page - items are automatically displayed as BOXED in 4-column layout set in Page Builder */
.organizer-alt .carousel-disabled.column-4 {    /* Change one-column layout on mobile devices to 2-column layout */
    display:flex !important;
    flex-wrap:wrap;
    flex-direction:row !important;   /* to make column display items inline on mobile devices */
}
.organizer-alt .carousel-disabled.column-4 .item                { width: 50%; margin-right: 0 !important; display: inline !important; }
.organizer-alt .carousel-disabled.column-4 .item:nth-child(2n)  { width: 50%; margin-right: 0 !important; display: inline !important; }

.elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow   { width: 20px;}
.elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow:before { font-size: 15px; }
.elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-left { left: 0; }
.elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-right { right: 0; }

.elm-items-main .layout-box .item .item-location p.txtrows-2, .items-container .layout-box .item .item-location p.txtrows-2 {
    font-size: 11px;    /* Default: 14px for PC */
    height: 28px;   /* Default: 48px for PC */
    margin-top: -7px;
    overflow: hidden;   /* To overflow with dotdot, three settings are required */
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 10px;
    margin-right: 10px;
}
}
@media (min-width:385px) and (max-width:403px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-left { left: -5px; }
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-right { right: -5px; }
}
@media (min-width:361px) and (max-width:384px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-left { left: -10px; }
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow-right { right: -10px; }
}
@media (min-width:498px) and (max-width:768px) {    /* 968px can be used, instead of 768px, for covering both mobile and ipad in landscap position - in this case ipad landscap will display 3 columns instead of 5 (default) */
/* 3-column layout of boxed items/categories/locations in disable carousel - homepage and all categories page */
.elm-item-organizer .carousel-disabled.column-5 { 
    display:flex !important;
    flex-wrap:wrap;
    flex-direction:row !important;   /* to make columns to be stacked on each other on mobile devices */
}
.elm-item-organizer .carousel-disabled.column-5 .item                   { width: 33.3%; margin-right: 0 !important; display: inline !important; }
.elm-item-organizer .carousel-disabled.column-5 .item:nth-child(2n)     { width: 33.3%; margin-right: 0 !important; display: inline !important; }
.elm-item-organizer .carousel-disabled.column-5 .item:nth-child(2n+1)   { width: 33.3%; margin-right: 0 !important; display: inline !important; }

/* 3-column layout of inboxed items in enable-carousele in slides */
.elm-item-organizer .carousel-container.column-5 .item-box  { width: 33.4% }

/* 3-column layout of sub-category icons */
.categories-container ul.column-4 li    { width: 33.33%; }

/* Search page - items are automatically displayed as BOXED in 4-column layout */
.organizer-alt .carousel-disabled.column-4 {    /* Change 2-column layout on mobile devices to 3-column layout */
    display:flex !important;
    flex-wrap:wrap;
    flex-direction:row !important;   /* to make column display items inline on mobile devices */
}
.organizer-alt .carousel-disabled.column-4 .item                    { width: 33.3%; margin-right: 0 !important; display: inline !important; }
.organizer-alt .carousel-disabled.column-4 .item:nth-child(2n)      { width: 33.3%; margin-right: 0 !important; display: inline !important; }
.organizer-alt .carousel-disabled.column-4 .item:nth-child(2n+1)    { width: 33.3%; margin-right: 0 !important; display: inline !important; }
}
/* the display of 4 boxed items in a row causes issues with the display of category and location taxonomies
@media (min-width:769px) and (max-width:980px) {
    .elm-item-organizer .carousel-disabled.column-5 .item                   { width: 25%; margin-right: 0 !important; display: inline !important; }
    .elm-item-organizer .carousel-disabled.column-5 .item:nth-child(2n)     { width: 25%; margin-right: 0 !important; display: inline !important; }
    .elm-item-organizer .carousel-disabled.column-5 .item:nth-child(2n+1)   { width: 25%; margin-right: 0 !important; display: inline !important; }

}
*/
/* END of LAYOUT for GENERAL BOXED ITEMS including Boxed items under FEATURED items and Featured properties, and Boxed items in the right sidebar on Hompage */

/* HOMEPAGE: Taxonomy list CATEGORY space & border */
/* space below of text in listed icons of Item Categories on homepage */
.page-id-86 .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow:before { margin-top: -30px; color: black }
.page-id-5613 .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow:before { margin-top: -18px; }
#elm-taxonomy-list-_e3132aaec15f0b-main {   /* EN - Taxonomy list CATEGORY space when it is displayed as icons instead of list (default) */
  margin-top: -10px;
  margin-bottom: -20px;
/*  border:  1px solid #CDDFF0;      not needed because it is not on the border after setting margin-bottom: -15px; previously used: #27A0B2; */
  background-color:#FBFCFE;     /* #F5F5F5;  #F5FAFA;    #EBF2EA;   */
}
#elm-taxonomy-list-_eda871438983268 {   /* KM */
    margin-top: -10px;
 /*   margin-bottom: -20px;     not working for KM homepage; see below this CSS selector */
    background-color:#FBFCFE;     /* #F5F5F5;  #F5FAFA;    #EBF2EA;   */
}
.lang-km:not(#ecwid_html) [class^="icon-"], .lang-km:not(#ecwid_html) [class*=" icon-"], .lang-km section:not(.elm-content-main) [class^="icon-"], .lang-km section:not(.elm-content-main) [class*=" icon-"] {
    margin-bottom: -10px;
}

/* HOMEPAGE: space below taxonomy list above */
.main-sections > .elm-main:first-child { /* as above for KM home page */
  padding-bottom:0;
  padding-top:2px;
}
.lang-km .elm-taxonomy-list-main.layout-icon .elm-taxonomy-list-wrapper .item-title h3 {
    font-family: content;
}
/* HOMEPAGE: RESPONSIVE CATEGORY ICONS (150px set in Page Builder) */
/* EN */
@media (max-width:359px) {
    .lang-en_US .categories-container li a .cat-ttl {
        font-size: 12px;
        font-weight: 500;
    }
    .lang-km .categories-container li a .cat-ttl {
        font-size: 14px;
        font-weight: 500;
    }
}
@media (min-width:360px) and (max-width:404px) {
    .lang-en_US .categories-container li a .cat-ttl {
        font-size: 13px;
        font-weight: 500;
    }
    .lang-km .categories-container li a .cat-ttl {
        font-size: 15px;
        font-weight: 500;
    }
}
@media (max-width:360px) {
    #elm-taxonomy-list-_e3132aaec15f0b, #elm-taxonomy-list-_eda871438983268 { width: 150px !important; } /* 1 category icon */
}
@media (min-width: 361px) and (max-width: 462px) {
    #elm-taxonomy-list-_e3132aaec15f0b, #elm-taxonomy-list-_eda871438983268 { width: 301px !important; } /* 2 category icons */
}
@media (min-width: 463px) and (max-width: 610px) { /* 3 category icons */
    #elm-taxonomy-list-_e3132aaec15f0b, #elm-taxonomy-list-_eda871438983268 {
        width: 362px !important;
    }
    #elm-taxonomy-list-_e3132aaec15f0b .elm-item-organizer-container, #elm-taxonomy-list-_eda871438983268 .elm-item-organizer-container {
        width: 4530px !important;       /* Switch between 4530px and 3624px to adjust the whole width of all icon containers */
        margin-left: -121px !important;
    }
    .elm-taxonomy-list-main.layout-icon .item-thumbnail img {
        width: 44px;
        height: 44px;
    }
    #elm-taxonomy-list-_e3132aaec15f0b-main.layout-icon .item-box, #elm-taxonomy-list-_eda871438983268-main.layout-icon .item-box {
        width: 120px !important;        /* Switch between 120px and 150px to adjust icon container's width */
    }
}
@media (min-width:611px) and (max-width:768px) {
    #elm-taxonomy-list-_e3132aaec15f0b, #elm-taxonomy-list-_eda871438983268 { width: 452px !important; } /* 3 category icons */
}
@media (min-width:769px)  and (max-width:911px) {
    #elm-taxonomy-list-_e3132aaec15f0b, #elm-taxonomy-list-_eda871438983268 { width: 603px !important; } /* 4 category icons */
}
@media (min-width:912px) and (max-width:1075px) {
    #elm-taxonomy-list-_e3132aaec15f0b, #elm-taxonomy-list-_eda871438983268 { width: 754px !important; } /* 5 category icons */
}
@media (min-width:1076px) and (max-width:1219px) {
    #elm-taxonomy-list-_e3132aaec15f0b, #elm-taxonomy-list-_eda871438983268 { width: 905px !important; } /* 6 category icons */
}
@media (min-width:1220px)  {
    #elm-taxonomy-list-_e3132aaec15f0b, #elm-taxonomy-list-_eda871438983268 { width: 1056px !important; } /* 7 category icons */
}
/* Arrow sizes */
@media (max-width:497px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow:before {
        font-size: 18px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow:before {
        font-size: 22px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow:before {
        font-size: 24px;
    }
}
@media (min-width:769px) and (max-width:980px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow:before {
        font-size: 26px;
    }
}
@media (min-width:981px) {
    .elm-taxonomy-list-main.layout-icon .carousel-icon-arrows .icon-arrow:before {
        font-size: 30px;
    }
}/* END of HOMEPAGE: Responsive category icons (150px set in Page Builder) */

/* HOMEPAGE: FEATURED ITEMS - BOXED IN SLIDES */
/* use smaller windows of crome to see this css which is applied to only all mobile devices determined by AIT when NAVIGATION is dropped below Enabled Carousel */
.elm-items-main .layout-box ~ .carousel-bottom-arrows, .items-container .layout-box ~ .carousel-bottom-arrows {
    margin-top: -20px !important;
    margin-bottom: 0 !important;
}
#elm-items-_e6ec4a725a0a24-main {
  background-color:#FBFCFE !important;     /* default background color: #F7F7F7; */
  padding-top:0;              /* space above the title of carousel of boxed items in the slide */
  margin-bottom: 0;           /* space below carousel of boxed items in the slide */
}
#elm-items-_e52601bc1a43c7-main {
  background-color:#FBFCFE !important;     /* default background color: #F7F7F7; */
  padding-top:0;              /* space above the title of carousel of boxed items in the slide */
  margin-bottom: 0;           /* space below carousel of boxed items in the slide */
}
.elm-main .elm-mainheader { /* space below the title of carousel of boxed items in the slide */
    padding-bottom: 0;    /* default: 10px */
}
.elm-items-main .elm-item-organizer.elm-items.layout-box, .items-container .elm-item-organizer.elm-items.layout-box {
    margin-bottom: 20px;
    margin-right: 0 !important;
    padding-left: 0 !important;
    margin-top: -20px;
}
.elm-items-main .layout-box .item .taxonomy-icon, .items-container .layout-box .item .taxonomy-icon {
    position: relative;
    display: inline-block;
    vertical-align: top;
    display: none;
}
@media (max-width:640px) {
    .elm-items-main .elm-item-organizer.elm-items.layout-box, .items-container .elm-item-organizer.elm-items.layout-box {
        margin-top: 2px;
    }
}
.custom_filter_section {
   float: left;
   width: 100%;
   margin: 0;
   overflow: hidden;
}

/* HOMEPAGE - RESPONSIVE DESIGN: a SINGLE BOXED ITEMS ARE CHANGED TO 2 BOXED ITEMS under 497px */
@media (max-width:497px) {  /* En homepage */
    .elm-items-main .layout-list .item .item-location p:before, .items-container .layout-list .item .item-location p:before {
        display: block; /* display location icon in block so that location text drops under it */
        font-size: 14px;
        margin: 0;
        margin-bottom: -6px;
        margin-top: -2px;
    }
    .elm-items-main .layout-list .item-content, .items-container .layout-list .item-content {
        text-align: center; /* ceter all content horizontally */
        padding: 15px 10px 10px 10px;
    }
    .archive .elm-items-main .layout-list .item-content, .archive .items-container .layout-list .item-content {
        padding-bottom: 5px;
        padding-top: 5px;
    }
    #elm-items-_e10989ef380aa2-main .elm-item-organizer-container, #elm-items-_e259806e4ef2098-main .elm-item-organizer-container { /* Main advertising */
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
    }
    .elm-item-organizer .carousel-disabled.column-1 .item {     /* for en & km homepages as well as all custom category pages */
        width: 48%;
        margin-right: 2% !important;
        height: auto !important;
    }
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {
        font-size: 11px;
    }
    #elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-info-wrap, #elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-info-wrap {
        padding: 5px;
    }
    .elm-items-main .layout-list .item .item-info-wrap, .archive .items-container .layout-list .item .item-info-wrap {
        padding: 5px;
    }
    .items-container .layout-list .item .item-location p {
        font-size: 11px !important;
        max-width: 250px !important;
    }
    #elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item .item-title h3, #elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item .item-title h3 {
        margin-top: -10px;
        margin-bottom: -5px;
    }
    #elm-columns-_e448213d9c90168-main .elm-items-main .layout-list .item-content > * + *, #elm-columns-_edecdefe9f0fa38-main .elm-items-main .layout-list .item-content > * + * {
        margin-top: 2px;
        margin-bottom: 15px;
        display: none;
    }
    .elm-items-main .layout-box .item .item-location:before, .items-container .layout-box .item .item-location:before {
        font-size: 14px;
    }
    /* Right side bar */
    #elm-items-_e6f4978907e686-main {
        margin-right: -20px;
    }
    #elm-items-_e6f4978907e686-main .elm-item-organizer-container, #elm-items-_eac94ccc73fd6b8-main .elm-item-organizer-container {  /* Right sidebar */
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
    }
    .column-span-1 .elm-items-main .elm-item-organizer.elm-items .layout-box .item {
        width: 48% !important;
        margin-right: 0 !important;
    }
    #elm-columns-_e448213d9c90168-main {
        margin-top: 5px;
    }
    #elm-items-_e10989ef380aa2 {
        margin-top: 10px;
    }
    #elm-items-_e259806e4ef2098-main {
        margin-top: 5px;
    }
    #elm-items-_e259806e4ef2098 {
        margin-top: 10px;
    }
}
.lang-en_US .single-ait-item .address-name h5 {
    text-transform: capitalize;
}
.single-ait-item .row-gps {
    display: none;
}
/* Homepage - Main Advertising/Right sidebar: changing a single Boxed items from Listed/Boxed items to 3 boxed items */
@media (min-width:498px) and (max-width:640px) {
     #elm-items-_e10989ef380aa2-main .elm-item-organizer-container, #elm-items-_e259806e4ef2098-main .elm-item-organizer-container { /* Main advertising */
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
    }
    .elm-item-organizer .carousel-disabled.column-1 .item {
        width: 48.5% !important;
        margin-right: 1.5% !important;
        padding: 0 !important;
        height: auto !important;
    }
    #elm-items-_e6f4978907e686-main .elm-item-organizer-container, #elm-items-_eac94ccc73fd6b8-main .elm-item-organizer-container { /* Right sidebar */
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
    }
    #elm-columns-_e448213d9c90168-main {
        margin-top: 5px;
    }
    #elm-items-_e10989ef380aa2 {
        margin-top: 10px;
    }
    #elm-items-_e259806e4ef2098-main {
        margin-top: 5px;
    }
    #elm-items-_e259806e4ef2098 {
        margin-top: 10px;
    }
}
.column-grid-3 .column-span-1 { margin-top: 30px; } /* KM */
#elm-columns-_e448213d9c90168-main .column-grid-3 .column-span-1 {  /* EN */
    margin-top: 90px;
}
@media (min-width:641px) and (max-width:968px) { /* Display Listed items and right sidebar in Flex 2-column as PC style */
    .column-grid-3 {
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
    }
    .column-grid-3 .column-span-2 {
        order: 1;
        width: 66.2% !important;
        float: left !important;
        margin-right: 2.4% !important;
    }
    .column-grid-3 .column-span-1 {
        order: 2;
        width: 30.4% !important;
        float: right !important;
        margin-right: 0 !important;
    }
}

/* Fixing the display of BOXED items "running from top to bottom on custom category pages" to "showing all together on the left and right column for both EN and KM above*/
@media (max-width:497px) {
    #item_sections > div.items-container.elm-item-organizer > div.elm-item-organizer-container.carousel-disabled.layout-list.column-1.custom_filter_section {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        height: auto !important;     /* make both two columns of BOXED items display at the same time */
    }
    .elm-item-organizer .carousel-disabled.column-1 .item {
        width: 48%!important;
        margin-right: 2%!important;
        position: unset !important;
        height: auto !important;               /* make both two columns of BOXED items display at the same time */
    }
}
/* End of Homepage - Main Advertising/Right sidebar: changing a single Boxed items from Listed/Boxed items to 3 boxed items */

/* Styling Boxed/Listed items */
@media (min-width:981px) {
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {
        font-size: 13px;
    }
}
@media (min-width:769px) and (max-width:980px) {
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {
        font-size: 12px;
    }
}
@media (min-width:498px) and (max-width:768px) {        /* font size of location text of listed items - see Listed Items in Notepad+ in relation to /portal/parts/item-container.php */
    .elm-items-main .layout-list .item .item-location p, .items-container .layout-list .item .item-location p { /* font size of location of listed items */
    font-size: 12px !important; /* not woring for responsive */
    }
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {   /* font size of info (phone, email) on listed items */
        font-size: 11px;
    }
}
@media only screen and (max-width:640px) {  /* Hide email address on listed items if both phone and email are entered, or display only either of them if only one is entered */
    .elm-items-main .layout-list .item .icon-label + .icon-label, .items-container .layout-list .item .icon-label + .icon-label {
        display: none;
    }
/* Display info (phone, email and category icon) on listed items in Flex - one line */
    .item-info-wrap {
        display:flex !important;
        flex-wrap:wrap !important;
        flex-direction:row !important;   /* to make column display items inline on mobile devices */
    }
    .item-info-wrap .item-telephone {
        order: 1 !important;
        float: left !important;

    }
    .item-info-wrap .item-mail {
        order: 2 !important;
        float: left !important;
        margin-right: 0 !important;   /* Make sure there is no right margin */
    }
    .item-info-wrap .item-categories {
        order: 3 !important;
        float: right !important;
        margin-right: 0 !important;   /* Make sure there is no right margin */
    }
}

/* Rightside bar on homepage */
#elm-advertising-spaces-_e4addbcc693d238-main {
    margin-bottom: 60px;
    margin-top: -60px;
}
.elm-items-main .elm-item-organizer.elm-items .layout-box .item, .items-container .elm-item-organizer.elm-items .layout-box .item {
    margin-bottom: 0;
}
@media (min-width:641px) {
    #elm-columns-_e448213d9c90168 .elm-items-main .elm-item-organizer.elm-items .layout-box .item, .items-container .elm-item-organizer.elm-items .layout-box .item, #elm-columns-_edecdefe9f0fa38-main .elm-items-main .elm-item-organizer.elm-items .layout-box .item, .items-container .elm-item-organizer.elm-items .layout-box .item {
        padding: 0;
    }
}
#elm-advertising-spaces-_e4494edd6d732f-main {
    margin-bottom: 60px;
}
.elm-advertising-spaces-main .adSpace-item img.ads-image {
    width: 100%;
    margin: 0;
}
#elm-items-_e6f4978907e686-main h5 { margin-bottom: 15px; } /* Title of Boxed items in the right sidebar on homepage */
#elm-items-_e6f4978907e686-main { margin-top: -70px; }
#elm-items-_eac94ccc73fd6b8-main { margin-top: -10px; }

/* Customising Listed items */
.items-container .layout-list .item .item-web.icon-label i {
        font-size: 17px;
    }
@media (min-width:1101px) {
    .elm-items-main .layout-list .item-content-wrap, .items-container .layout-list .item-content-wrap { width: calc(100% - 250px); }
    .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap { width: 250px; }
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {
        font-size: 13px;
    }
}
@media (min-width:981px) and (max-width:1100px) {
    .elm-items-main .layout-list .item-content-wrap, .items-container .layout-list .item-content-wrap { width: calc(100% - 230px); }
    .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap { width: 230px; }
    .elm-items-main .layout-list .item .icon-label i, .items-container .layout-list .item .icon-label i {
        width: 11px;
        font-size: 13px;
    }
    .items-container .layout-list .item .item-web.icon-label i {
        font-size: 16px;
    }
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {
        font-size: 12px;
    }
}
@media (min-width:841px) and (max-width:980px) {
    .elm-items-main .layout-list .item-content-wrap, .items-container .layout-list .item-content-wrap { width: calc(100% - 200px); }
    .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap { width: 200px; }
    .elm-items-main .layout-list .item .icon-label i, .items-container .layout-list .item .icon-label i {
        width: 10px;
        font-size: 12px;
    }
    .items-container .layout-list .item .item-web.icon-label i {
        font-size: 15px;
    }
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {
        font-size: 11px;
    }
    .elm-items-main .layout-list .item .item-taxonomy-icon-wrap img, .items-container .layout-list .item .item-taxonomy-icon-wrap img {
        max-width: 28px;
    }
}
@media (min-width:769px) and (max-width:840px) {
    .elm-items-main .layout-list .item-content-wrap, .items-container .layout-list .item-content-wrap { width: calc(100% - 170px); }
    .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap { width: 170px; }
    .elm-items-main .layout-list .item .icon-label i, .items-container .layout-list .item .icon-label i {
        width: 9px;
        font-size: 11px;
    }
    .items-container .layout-list .item .item-web.icon-label i {
        font-size: 14px;
    }
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {
        font-size: 10px;
    }
    .elm-items-main .layout-list .item .item-taxonomy-icon-wrap img, .items-container .layout-list .item .item-taxonomy-icon-wrap img {
        max-width: 24px;
        max-height: 24px;
    }
}
.widget_items .item-container, .widget_newest_item .item-container {
    padding: 0 !important;
}
.widget_items .item-container span, .widget_newest_item .item-container span {
    display: none;
}
.elements-sidebar-wrap .widget-container .widget-title h3, .elm-widget-area-main .widget-container .widget-title h3 {
    padding: 15px 10px 15px 10px;
    text-align: center;
}
.entry-content + .items-container, .entry-content + .events-pro-container {
    margin-top: 0;
}
.elements-sidebar-wrap #elm-content-4-main .entry-content {
    display: none;
}
.widget_items .layout-list .item-container h4, .widget_newest_item .layout-list .item-container h4 {
    margin-top: -10px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500 !important;
}
@media (min-width:769px) {
    .widget_items .layout-list .item-container .thumb-icon, .widget_newest_item .layout-list .item-container .thumb-icon {
        margin: 0 0 5px 0;
    }
}
/* END OF SEARCH/LOCATION PAGES AND DEFAULT CATEGORY PAGE - Set Listed Items at Theme Admin --> Theme Option --> Item Category/Location Options */
.page-title h1 { font-weight: 600 !important; }

/* ITEM CATEGORY PAGE */
#elm-content-4-main {   /* space above and below the content of listed items */
    margin-top: -20px;      /* default 0px */
    padding-bottom: 20px;    /* default 30px */
}
#elm-content-4-main .entry-content {    /* hide description on item category pages */
    display:none;
}
.categories-container li .cat-desc.txtrows-3 {
    height: 0;    /* Hide description of sub-categories */
    overflow: hidden;
}
.categories-container {
    background: #F5F5F5;    /* default color */
    padding-bottom: 15px;
   float: left;
   width: 100%;
}

/* FIXING CUSTOM DROPDOWN MENUS ON PROPERTY/ARCHIVE PAGES FROM 498px-640px */
@media (max-width: 980px) {
    .archive .filter_box button.button {
        font-size: 13px;
    }
    .lang-km .archive .filter_box button.button {
        padding: 3px 5px;
    }
}
@media (max-width: 640px) {
    .archive .filter_box button.button {
        font-size: 10px !important;
    }
}
@media (max-width: 380px) {
    .archive .filter_box button.button {
        font-size: 9px !important;
    }
}
.archive .c_price_li {
    z-index: 20;
}
@media (max-width: 497px) {
    .archive .filter_box, .archive .c_filter_box {
        width: 100%;
        min-height: 100px;
        padding-top: 18px;
    }
    .term-computers-parts .filter_box, .archive .c_filter_box {
        min-height: 160px;
        padding-top: 35px;
    }
    .lang-km .archive .filter_box, .lang-km .archive .c_filter_box {
        min-height: 160px;
        padding-top: 30px;
    }
    .archive .c_location_r .filter_box, .archive .c_location_r .c_filter_box {
        min-height: 285px;
        padding-top: 37px;
        padding-bottom: 50px;
    }
    .lang-km .archive .c_location_r .filter_box, .archive .c_location_r .c_filter_box {
        min-height: 370px;
        padding-top: 45px;
    }
    .archive .c_location_l .filter_box, .archive .c_location_l .c_filter_box {
        min-height: 325px;
        padding-top: 37px;
    }
    .lang-km .archive .c_location_l .filter_box, .archive .c_location_l .c_filter_box {
        min-height: 370px;
        padding-top: 45px;
    }
    .archive .c_features_li .filter_box, .archive .c_features_li .c_filter_box {
        left: 0;
        right: auto;
        min-height: 125px;
        padding-top: 40px;
    }
    .archive .c_features_li_r .filter_box, .archive .c_features_li_r .c_filter_box {
        min-height: 155px;
        padding-top: 40px;
    }
    .lang-km .archive .c_features_li_r .filter_box, .lang-km .archive .c_features_li_r .c_filter_box {
        min-height: 175px;
        padding-top: 40px;
    }
    .lang-km .archive .c_features_li_r .filter_box, .lang-km .archive .c_features_li_r .c_filter_box {
        min-height: 170px;
        padding-top: 40px;
    }
    .archive .blockpropertyType .filter_box, .archive .blockpropertyType .c_filter_box { 
        width: 100%;
        min-height: 105px;
        padding-top: 35px;
        padding-bottom: 45px;
    }
    .lang-km .archive .blockpropertyType .filter_box, .lang-km .archive .blockpropertyType .c_filter_box { 
        width: 100%;
        min-height: 175px;
        padding-top: 40px;
    }
    .term-jobs .blockpropertyType .filter_box, .term-jobs .blockpropertyType .c_filter_box { 
        width: 100%;
        min-height: 185px;
        padding-top: 35px;
    }
    .lang-km .term-jobs .blockpropertyType .filter_box, .lang-km .term-jobs .blockpropertyType .c_filter_box { 
        width: 100%;
        min-height: 205px;
        padding-top: 40px;
    }
    .term-services .blockpropertyType .filter_box, .term-services .blockpropertyType .c_filter_box { 
        min-height: 270px;
        padding-top: 35px;
    }
    .lang-km .term-services .blockpropertyType .filter_box, .lang-km .term-services .blockpropertyType .c_filter_box { 
        min-height: 305px;
        padding-top: 42px;
    }
    .archive .blocklocation .filter_box, .archive .blocklocation .c_filter_box {
        min-height: 315px;
        padding-top: 35px;
    }
    .lang-km .archive .blocklocation .filter_box, .lang-km .archive .blocklocation .c_filter_box {
        min-height: 345px;
        padding-top: 40px;
    }
    .term-jobs .blocklocation .filter_box, .term-jobs .blocklocation .c_filter_box {
        min-height: 325px;
        padding-top: 35px;
    }
    .lang-km .term-jobs .blocklocation .filter_box, .lang-km .term-jobs .blocklocation .c_filter_box {
        min-height: 345px;
        padding-top: 40px;
    }
}
@media (min-width: 421) and (max-width: 497px) {
    .archive .blocklocation .filter_box, .archive .blocklocation .c_filter_box {
        min-height: 345px;
        padding-top: 37px;
    }
}
@media (max-width: 364px) {
    .archive .c_features_li .filter_box, .archive .c_features_li .c_filter_box {
        min-height: 155px;
    }
}
@media (min-width: 498px) and (max-width: 640px) {
    .archive .filter_box, .archive .c_filter_box {
        width: 380px;
        min-height: 305px;
        padding-top: 40px;
        padding-bottom: 50px;
    }
    .term-computers-parts .filter_box, .archive .c_filter_box {
        min-height: 170px;
    }
    .archive .c_price_li .filter_box, .archive .c_price_li .c_filter_box {
        min-height: 160px;
        padding-top: 30px;
    }
    .lang-km .archive .c_price_li .filter_box, .lang-km .archive .c_price_li .c_filter_box {
        padding-top: 30px;
    }
    .term-property-for-rent .c_price_li .filter_box, .term-property-for-rent .c_price_li .c_filter_box {
        left: 0;
        right: auto;
        min-height: 110px;
        padding-top: 30px;
    }
    .term-property-for-sale .c_price_li .filter_box, .term-property-for-sale .c_price_li .c_filter_box {
        left: 0;
        right: auto;
        min-height: 110px;
        padding-top: 30px;
    }
    .archive .c_rooms_li .filter_box, .archive .c_rooms_li .c_filter_box {
        min-height: 90px;
        padding-top: 30px;
    }
    .archive .c_features_li .filter_box, .archive .c_features_li .c_filter_box {
        left: 0;
        right: auto;
        min-height: 90px;
    }
    .lang-km .archive .c_features_li .filter_box, .lang-km .archive .c_features_li .c_filter_box {
        left: 0;
        right: auto;
        min-height: 170px;
        padding-top: 50px;
    }
    .lang-km .archive .blocklocation .filter_box, .lang-km .archive .blocklocation .c_filter_box {
        min-height: 330px;
        padding-top: 48px;
    }
    .lang-km .term-jobs .blocklocation .filter_box, .lang-km .term-jobs .blocklocation .c_filter_box {
        min-height: 330px;
        padding-top: 48px;
    }
    .archive .blockpropertyType .filter_box, .archive .blockpropertyType .c_filter_box {
        left: 0;
        right: auto;
        min-height: 155px;
        padding-top: 40px;
    }
    .lang-km .archive .blockpropertyType .filter_box, .lang-km .archive .blockpropertyType .c_filter_box {
        left: 0;
        right: auto;
        min-height: 175px;
        padding-top: 48px;
    }
    .term-property-for-rent .blockpropertyType .filter_box, .term-property-for-rent .blockpropertyType .c_filter_box {
        right: 0;
        left: auto;
        min-height: 110px;
        padding-top: 40px;
        padding-bottom: 45px;
    }
    .term-property-for-sale .blockpropertyType .filter_box, .term-property-for-sale .blockpropertyType .c_filter_box {
        right: 0;
        left: auto;
        min-height: 110px;
        padding-top: 40px;
    }
    .term-jobs .blockpropertyType .filter_box, .term-jobs .blockpropertyType .c_filter_box {
        left: 0;
        right: auto;
        min-height: 180px;
        padding-top: 40px;
    }
    .lang-km .term-jobs .blockpropertyType .filter_box, .lang-km .term-jobs .blockpropertyType .c_filter_box {
        left: 0;
        right: auto;
        min-height: 205px;
        padding-top: 48px;
    }
    .term-services .blockpropertyType .filter_box, .term-services .blockpropertyType .c_filter_box {
        min-height: 260px;
        padding-top: 42px;
    }
    .lang-km .term-services .blockpropertyType .filter_box, .lang-km .term-services .blockpropertyType .c_filter_box {
        min-height: 295px;
        padding-top: 48px;
    }
    .blocklocation .filter_box, .blocklocation .c_filter_box {
        left: 0;
        right: auto;
    }
    .archive .c_features_li_r .filter_box, .archive .c_features_li_r .c_filter_box {
        min-height: 145px;
        padding-top: 45px;
    }
    .lang-km .archive .c_features_li_r .filter_box, .lang-km .archive .c_features_li_r .c_filter_box {
        min-height: 175px;
        padding-top: 45px;
    }
    .archive .c_location_r .filter_box, .archive .c_location_r .c_filter_box {
        right: 0;
        left: auto;
        min-height: 275px;
    }
    .archive .c_location_l .filter_box, .archive .c_location_l .c_filter_box {
        left: 0;
        right: auto;
        min-height: 310px;
    }
    .lang-km .archive .c_location_r .filter_box, .lang-km .archive .c_location_r .c_filter_box {
        min-height: 330px;
        padding-top: 50px;
    }
    .lang-km .archive .c_location_l .filter_box, .archive .c_location_l .c_filter_box {
        min-height: 350px;
        padding-top: 50px;
    }
}
@media (min-width: 641px) {
    .archive .c_location_r .filter_box, .archive .c_location_r .c_filter_box {
        min-height: 375px;
    }
    .lang-km .archive .c_location_r .filter_box, .archive .c_location_r .c_filter_box {
        min-height: 420px;
        padding-top: 50px;
    }
    .archive .c_location_l .filter_box, .archive .c_location_l .c_filter_box {
        min-height: 375px;
    }
    .lang-km .archive .c_location_l .filter_box, .archive .c_location_l .c_filter_box {
        min-height: 420px;
        padding-top: 50px;
    }
    .term-services .blockpropertyType .filter_box, .term-services .blockpropertyType .c_filter_box {
        min-height: 300px;
        padding-top: 40px;
    }
    .lang-km .term-services .blockpropertyType .filter_box, .lang-km .term-services .blockpropertyType .c_filter_box {
        min-height: 350px;
        padding-top: 50px;
    }
    .archive .blocklocation .filter_box, .archive .blocklocation .c_filter_box {
        min-height: 350px;
        padding-top: 40px;
    }
    .term-property-for-sale .blocklocation .filter_box, .term-property-for-sale .blocklocation .c_filter_box {
        min-height: 350px;
    }
    .lang-km .archive .blocklocation .filter_box, .lang-km .archive .blocklocation .c_filter_box {
        min-height: 410px;
        padding-top: 45px;
    }
    .archive .blockpropertyType .filter_box, .archive .blockpropertyType .c_filter_box {
        min-height: 120px;
        padding-top: 40px;
        padding-bottom: 45px;
    }
    .term-services .blockpropertyType .filter_box, .term-services .archive .blockpropertyType .c_filter_box {
        min-height: 290px;
        padding-top: 40px;
    }
    .lang-km .archive .blockpropertyType .filter_box, .lang-km .archive .blockpropertyType .c_filter_box {
        min-height: 205px;
        padding-top: 45px;
    }
    .lang-km .term-services .blockpropertyType .filter_box, .lang-km .term-services .blockpropertyType .c_filter_box {
        min-height: 340px;
        padding-top: 45px;
    }
    .term-jobs .blockpropertyType .filter_box, .term-jobs .blockpropertyType .c_filter_box {
        min-height: 210px;
        padding-top: 40px;
    }
    .lang-km .term-jobs .blockpropertyType .filter_box, .lang-km .term-jobs .blockpropertyType .c_filter_box {
        min-height: 240px;
        padding-top: 45px;
    }
    .archive .c_features_li_r .filter_box, .archive .c_features_li_r .c_filter_box {
        min-height: 160px;
        padding-top: 50px;
    }
    .lang-km .archive .c_features_li_r .filter_box, .lang-km .archive .c_features_li_r .c_filter_box {
        min-height: 185px;
        padding-top: 50px;
    }
    .archive .c_features_li .filter_box, .archive .c_features_li .c_filter_box {
        min-height: 160px;
        padding-top: 50px;
    }
    .lang-km .archive .c_features_li .filter_box, .lang-km .archive .c_features_li .c_filter_box {
        min-height: 170px;
        padding-top: 50px;
    }
}

.archive .filters-wrap h2 {
    font-weight: 500 !important;
    font-size: 20px;
}
@media (max-width:497px) {
    .filters-wrap h2 {
        font-size: 14px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .filters-wrap h2 {
        font-size: 16px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .filters-wrap h2 {
        font-size: 18px;
    }
}
@media (max-width:497px) {
    .term-cars .categories-container {
        margin-bottom: 15px;
    }
}
@media (min-width:498px) and (max-width:768px) {
    .term-cars .categories-container {
        margin-bottom: 30px;
        margin-top: -30px;
    }
    .term-property .categories-container { margin-top: -30px; }
}
@media (min-width:498px) and (max-width:640px) {
    .term-property #item_sections .item-location {
        display: block !important;
    }
}

@media (min-width:498px) and (max-width:768px) {
    .page-title {
        margin-bottom: 30px;
    }
}

.categories-container li a {
    margin-bottom: -30px;
    padding-bottom: 10px;

}
/* Sub-CATEGORIES on ITEM CATEGORY/LOCATION PAGES */
#main .lang-km .cat-tabs-menu a, .lang-km .categories-container li a .cat-ttl {
    padding-top: 5px !important;    /* to make sure km font is not cut off on top */
}
@media (max-width: 768px) {
.categories-container li a {
    padding-bottom: 0;
}
}
@media (min-width:754px) and (max-width: 768px) {
.term-motorbikes .categories-container li a {
    padding-bottom: 15px;
}
}

/* STYLING ALL CATEGORIES PAGE */
#elm-taxonomy-list-_eec0d621cda25c-main {  /* en */
    background-color: #F1F2F4;
    padding-bottom: 0;
}
#elm-taxonomy-list-_eec0d621cda25c-main {  /* en */
    padding-bottom: 0;
}
#elm-taxonomy-list-_e33ba3ed35ebe5-main {   /* km */
    background-color: #F1F2F4;
    padding-bottom: 0;
    padding-top: 20px;
}
#elm-taxonomy-list-_e2b0aaca8d813c-main {  /* km */
    padding-bottom: 0;
    padding-top: 20px;
}
.elm-taxonomy-list-main .layout-box .item-thumbnail .item-thumbnail-wrap {
    margin-bottom: 10px;
}
.elm-item-organizer .layout-box .item {
    margin-bottom: 20px;
}

/* EXCERPT/TEXT on Listed Items */
#elm-items-_e6f4978907e686-main .elm-item-organizer .item-text .item-excerpt { /* Right sidebar on homepage */
  height: 40px !important;
}
/* EXCERPT/TEXT on All Categories/locations page */
#elm-text-_e93df950e91262-main { margin-bottom: 0; }
#elm-text-_e05553ff060f02-main { margin-bottom: 0; }
@media (max-width:497px) {
    .elm-item-organizer .item-text .item-excerpt.txtrows-3 {
        display: none;
    }
    .elm-item-organizer .carousel-disabled.column-5 .item {
        margin-bottom: 5px;
    }
}
.elm-taxonomy-list-main .elm-taxonomy-list-wrapper .elm-taxonomy-list .layout-box .item-title h3 {  /* Styling layout of all categories */
    padding-top: 0;   /* to make sure km font is not cut off on top */
    font-weight: 400 !important;
    font-size: 16px;
    margin-bottom: -10px;
}
@media (max-width:497px) {
    .elm-taxonomy-list-main .elm-taxonomy-list-wrapper .elm-taxonomy-list .layout-box .item-title h3 {  /* Styling layout of all categories */
        line-height: 20px;
        font-size: 16px;
        margin-top: -15px;
        margin-bottom: 7px;
        padding-top: 10px;   /* to make sure km font is not cut off on top */
    }
    .lang-km .elm-taxonomy-list-main .elm-taxonomy-list-wrapper .elm-taxonomy-list .layout-box .item-title h3 {  /* Styling layout of all categories */
        line-height: 20px;
        font-size: 14px;
        margin-top: -15px;
        margin-bottom: 7px;
        padding-top: 10px;   /* to make sure km font is not cut off on top */
    }
}
@media (min-width:498px) {
    .elm-taxonomy-list-main .elm-taxonomy-list-wrapper .elm-taxonomy-list .layout-box .item-title h3 {
        font-size: 18px;
        margin-top: -5px;
    }
    .lang-km .elm-taxonomy-list-main .elm-taxonomy-list-wrapper .elm-taxonomy-list .layout-box .item-title h3 {
        font-size: 16px;
        margin-top: -5px;
    }
}
@media (min-width:641px) {
    .elm-taxonomy-list-main .elm-taxonomy-list-wrapper .elm-taxonomy-list .layout-box .item-title h3 {
        font-size: 18px;
    }
}

/* END OF ITEM CATEGORY PAGE */


/* Below are CSS for all custom category pages */
/* RESPONSIVE DESIGNS FOR ALL SCREEN SIZES ON HOMEPAGE AND ALL CATEGORY/CUSTOM CATEGORY/LOCATION PAGES
** Break points: 0-497px, 498px-640px, 641px-768px, 769px-980px, 981px-1127px, from 1128px upwards for laptop and PC **
*** LISTED ITEMS: CSS class .archive is used for all Category/Custom Category/Location/ pages, and these page css settings must be below css settings for Homepage
*** LISTED ITEMS: CSS class .search is used for Search pages
*** LISTED ITEMS: CSS Class .home cannot be used for Homepage only as it is the parent CSS selector for other custom pages too
*** at 969px Logo moves from Top of the main menu to its paralleled position
*/
.elm-items-main .layout-list .item, .items-container .layout-list .item {
   background:#F5F5F5;  /* background colour of normal items */
   margin-bottom:10px;  /* space between listed items - cant reduce to 10px from 20px (default) due to distortion of the width of listed items on PC */
}
.archive .elm-items-main .layout-list .item, .items-container .layout-list .item {
   background:#F5F5F5;  /* background colour of normal items */
   margin-bottom:10px;  /* space between listed items - cant reduce to 10px from 20px (default) due to distortion of the width of listed items on PC */
}
.archive .items-container .layout-list .item .item-taxonomy-icon-wrap img {
    height: 32px;
    max-width: 32px;
}
.archive .items-container .layout-list .item .item-location p {
    margin-top: 0;
}
#item_sections span.ago {
  margin: 11px 0 0 0 !important;
  font-size: 11px !important;
  float: left;
}
/* Width of location text on Boxed/Listed items - Custom Category Pages */
.archive .items-container .layout-list .item .item-location p {
    font-size: 11px !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: -8px;
}
@media (min-width:641px) and (max-width:768px) {
    .items-container .layout-list .item .item-location p {  /* this CSS selector is different from that on Homepage */
        max-width: 160px !important;
    }
}
@media (min-width:769px) and (max-width:780px) {
    .archive .items-container .layout-list .item .item-location p {
        font-size: 10px !important;
        max-width: 95px !important;
    }
    .archive #item_sections span.ago {
        font-size: 10px !important;
    }
}
@media (min-width:781px) and (max-width:800px) {
    .archive .items-container .layout-list .item .item-location p {
        font-size: 10px !important;
        max-width: 100px !important;
    }
    .archive #item_sections span.ago {
        font-size: 10px !important;
    }
}
@media (min-width:801px) and (max-width:820px) {
    .archive .items-container .layout-list .item .item-location p {
        max-width: 105px !important;
    }
}
@media (min-width:821px) and (max-width:850px) {
    .archive .items-container .layout-list .item .item-location p {
        max-width: 120px !important;
    }
}
@media (min-width:851px) and (max-width:870px) {
    .archive .items-container .layout-list .item .item-location p {
        max-width: 130px !important;
    }
}
@media (min-width:871px) and (max-width:968px) {
    .archive .items-container .layout-list .item .item-location p {
        max-width: 150px !important;
    }
}
@media (min-width:969px) and (max-width:1100px) {
    .archive .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 170px !important;
    }
    .archive #item_sections span.ago {
        font-size: 12px !important;
    }
}
@media (min-width:1101px) and (max-width:1150px) {
    .archive .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 190px !important;
    }
    .archive #item_sections span.ago {
        font-size: 12px !important;
    }
}
@media (min-width:1151px) and (max-width:1200px) {
    .archive .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 220px !important;
    }
    .archive #item_sections span.ago {
        font-size: 12px !important;
    }
}
@media (min-width:1201px) {
    .archive .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 260px !important;
    }
    .archive #item_sections span.ago {
        font-size: 12px !important;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .archive .item-web { display: none; }
}
@media (min-width:498px) and (max-width:640px) {
    .archive .items-container .layout-list .item .item-location p {
        max-width: 200px !important;
    }
    #item_sections .item-location {
        float: unset !important;
    }
    #item_sections span.ago {
        display: none;
    }
    .archive .items-container .layout-list .item .item-title .subtitle {
        font-size: 13px;
    }
    .archive .items-container .layout-list .item .item-info-wrap {
        padding: 5px 5px;
    }
    .archive .items-container .layout-list .item .icon-label i {
        margin-right: 0;
    }
}
.filters-wrap h2 {  /* for all pages */
    margin-bottom: 20px;
}
.archive .page-title .page-description {
    display: none;
}
.search .page-title .page-description {
    display: none;
}
.archive .content-wrap div#sorts {     /* Sorter dropdown width on all custom pages for all screen sizes */
    width: 165px !important;
}
.archive div#sorts {    /* Sorter dropdown width on all custom pages for all screen sizes */
    width: 165px !important;
}
@media (max-width:497px) {
    .archive .items-container .layout-list .item .item-location p {
        max-width: 160px !important;
    }
}
@media (max-width:420px) {
    .archive .items-container .layout-list .item .item-location p {
        max-width: 130px !important;
    }
}
@media (max-width:370px) {
    .archive .items-container .layout-list .item .item-location p {
        max-width: 120px !important;
    }
}

.archive .filters-wrap {
    margin-top: 35px;
}
.search .filters-wrap {
    margin-top: 15px;
}

@media (max-width: 497px) {
    .archive .top-left-categories-filters {
        margin-top: 40px;
        margin-left: 15px;
        max-width: 94%;
        margin-bottom: 1px;
        min-height: 95px;
    }
    .term-vans-trucks .top-left-categories-filters {
        margin-bottom: -40px;
        min-height: 95px;
    }
    .term-trucks-for-sale .top-left-categories-filters {
        margin-bottom: 1px;
        min-height: 228px;
    }
    /* fixing Sorters' displayed on Location page */
    .archive .elm-content-main .filters-wrap {
        display: block;
    }
    .archive .filters-wrap {
        margin-top: 40px;
    }
    .archive .filters-wrap h2 {
        float: left;
        font-size: 14px;
        margin-top: -30px;
    }
    .archive .filters-wrap .filters-container {
        float: right;
    }
    .archive .ait-toggle-area-btn {
        float: right;
        width: 50%;
        margin-top: -7px;
        margin-bottom: 15px;
        font-size: 12px;
    }
    .search .ait-toggle-area-btn {
        font-size: 12px;
    }
    .archive .content-wrap div#sorts {
        margin-top: 10px;
    }
    /* End of fixing Sorters displayed on Location page */
    /* fixing Sorters displayed on Search page */
    .search .elm-content-main .filters-wrap {
        display: block;
    }
    .search .filters-wrap h2 {
        font-size: 18px;
        float: left;
        margin-top: 0;
    }
    .search .ait-toggle-area-btn {
        float: right;
        width: 50%;
        margin-bottom: 15px;
    }
}
@media (min-width:361px) and (max-width:400px) {
    .archive .ait-toggle-area-btn, .search .ait-toggle-area-btn {
        font-size: 10px;
    }
}
@media (max-width:360px) {
    .archive .ait-toggle-area-btn, .search .ait-toggle-area-btn {
        font-size: 9px;
    }
}
@media (min-width: 498px) and (max-width: 640px) {  /* fixing sorter displays on Location pages */
    .archive .elm-items-main .layout-list .item, .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
    .archive .top-left-categories-filters {
        max-width: 22%;
        margin-top: 10px;
        margin-bottom: 1px;
        min-height: 155px;
    }
    .term-vans-trucks .top-left-categories-filters {
        margin-bottom: 55px;
        min-height: 53px;
    }
    .term-trucks-for-sale .top-left-categories-filters {
        margin-bottom: 1px;
        min-height: 228px;
    }
    .term-computers-parts .top-left-categories-filters {
        margin-bottom: 55px;
        min-height: 95px;
    }
    .term-phones-tablets .top-left-categories-filters {
        margin-bottom: 55px;
        min-height: 94px;
    }

    .archive .filters-wrap h2 {
        float: left !important;
        font-size: 16px;
        margin-right: 10px;
        margin-top: -30px;
    }
    .archive .content-wrap div#sorts {
        margin-top: 7px;
    }
    .archive .filters-wrap .filter-container {
        margin: 0 4px 5px 0 !important;
    }
    .archive .filters-wrap .filters-container .content {
        text-transform: capitalize;
    }
    .archive .lang-en_US .filters-wrap .content .selected:first-child, .lang-en_US .filters-wrap .content .title {
        font-weight: 500;
    }
    /* fixing Sorters displayed on Location page */
    .archive .elm-content-main .filters-wrap {
        display: block;
        margin-top: 20px;
    }
    .archive .ait-toggle-area-btn {
        float: right;
        width: 50%;
        margin-top: -5px;
        margin-bottom: 15px;
        font-size: 13px;
    }
    .search .ait-toggle-area-btn {
        font-size: 13px;
    }
    .search .elm-content-main .filters-wrap {
        display: block;
        margin-top: 15px;
    }
    .search .filters-wrap h2 {
        float: left;
        font-size: 18px;
        margin-top: 0;
    }
    .search .ait-toggle-area-btn {
        float: right;
        width: 50%;
    }
    .archive .elm-content-main .filters-wrap {
        margin-top: 40px;
    }
}
@media (min-width: 641px) and (max-width: 768px) {
    .elm-items-main .layout-list .item-content-wrap, .items-container .layout-list .item-content-wrap { /* for homepage */
        height: 160px !important;
    }
    .archive .elm-items-main .layout-list .item-content-wrap, .items-container .layout-list .item-content-wrap {   /* for all custom category pages */
        height: 155px !important;
    }
    .elm-items-main .layout-list .item-content, .items-container .layout-list .item-content {   /* for all custom category pages and homepage */
        padding: 15px 15px !important;
    }
    .elm-items-main .layout-list .item .item-info-wrap, .items-container .layout-list .item .item-info-wrap { /* for homepage */
        padding: 10px 15px !important;   /* default 15px 20px - reducing info wrap height */
    }
    .archive .elm-items-main .layout-list .item .item-info-wrap, .items-container .layout-list .item .item-info-wrap {   /* for all custom category pages */
        padding: 8px 15px !important;   /* default 15px 20px - reducing info wrap height */
    }
    /* fixing Sorters displayed on Location page */
    .archive .elm-items-main .layout-list .item, .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
    .archive .elm-content-main .filters-wrap {
        display: block;
        margin-top: 20px;
    }
    .archive .filters-wrap .filters-container {
        float: right;
        margin-right: 0;
        margin-top: -35px;
        margin-bottom: 5px;
    }
    .archive .filters-wrap .filter-container .content .selected:first-child, .filters-wrap .filter-container .content .title {
        text-transform: capitalize;
    }
    .archive .top-left-categories-filters {
        margin-top: 13px;
    }
    .archive .custom_filter_section {
        margin-top: -20px;
    }
    .term-cars .custom_filter_section, .term-cars-for-sale .custom_filter_section {
        margin-top: -35px;
    }
    .term-cars-for-rent .custom_filter_section {
        margin-top: -40px;
    }
    .archive .content-wrap div#sorts {
        margin-top: 7px;
    }
    /* End of fixing Sorters displayed on Location page */
    /* fixing Sorters displayed on Search page */
    .search .elm-content-main .filters-wrap {
        display: block;
        margin-top: -10px;
    }
    .seardh .filters-wrap {
        margin-top: 20px;
    }
    .search .filters-wrap h2 {
        float: left;
        font-size: 18px;
        margin-top: 0;
    }
    .search .filters-wrap .filters-container {
        float: right;
    }
    .search .filters-wrap .filter-container .content .selected:first-child, .filters-wrap .filter-container .content .title {
        text-transform: capitalize;
    }
    .archive .elm-content-main .filters-wrap {
        margin-top: 70px;
    }
}

@media (min-width:969px) and (max-width:980px) {
    .search .filters-wrap .filters-container {
        float: right;
        margin-top: -40px;
    }
}
@media (min-width:755px) and (max-width:768px) {
    .search .elm-content-main .filters-wrap {
        margin-top: 10px;
    }
}
@media (min-width:739px) and (max-width:768px) {
    .archive .filters-wrap .filters-container {
        margin-top: -8px;
    }
}
@media (min-width:641px) and (max-width:768px) { /* targeting mobile devices */
    .archive .top-left-categories-filters {
        max-width: 24%;
        margin-left: 0;
    }
    .archive .filters-wrap .filters-container {
        float: right;
        margin-right: 0;
        margin-top: -5px;
        margin-bottom: 5px;
    }
    .archive .filters-wrap h2 {
        font-size: 16px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation: landscape) { /* targeting mobile devices */
    .archive .top-left-categories-filters {
        max-width: 25.5%;
        margin-left: 0;
    }
    .archive .filters-wrap .filters-container {
        float: right;
        margin-right: 0;
        margin-top: -5px;
        margin-bottom: 5px;
    }
    .archive .filters-wrap h2 {
        font-size: 16px;
    }
}
@media (max-width:497px) {
    #item_sections span.ago {
        display: none;
    }
}
@media (min-width: 969px) {
    .column .elm-items-main .layout-list .item .item-content-wrap {     /* for Listed Items on homepage */
        width: 100% !important;
        height: 160px !important;
    }
}
@media (min-width: 769px) and (max-width: 968px) {
    .column .elm-items-main .layout-list .item .item-content-wrap {     /* for Listed Items on homepage */
        width: 100% !important;
        height: 160px !important;
    }
    .archive .elm-item-organizer .carousel-disabled.column-1 .item .elm-items-main .layout-list .item-content-wrap, .archive .items-container .layout-list .item-content-wrap {   /* all custom category pages */
        width: calc(100% - 210px) !important;
        height: 155px !important;
    }
    .archive .grid-main .elements-area {    /* Fixing messed up displays of Listed Items and Default Side Bar on Location pages */
        margin-right: -210px !important;
        margin-top: -20px !important;
    }
    .archive .grid-main .sidebar-right-area {     /* Fixing messed up displays of Listed Items and Default Side Bar on Location pages */
        max-width: 210px !important;
        border: 0;
    }
    .elm-items-main .layout-list .item-content, .items-container .layout-list .item-content {   /* homepage */
        padding: 15px 15px !important;  /* default 25px 20px */
    }
    .archive .elm-items-main .layout-list .item-content, .items-container .layout-list .item-content {  /* all custom category pages */
        padding: 10px 10px !important;  /* default 25px 20px */
    }
    
    .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap {   /* homepage */
        width: 100% !important;
        padding: 15px 15px !important;  /* default 25px 20px */
    }
    .archive .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap {   /* all custom category pages */
        width: 210px !important;
        padding: 10px 10px !important;  /* default 25px 20px */
    }
    
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {   /* homepage */
        font-size: 12px !important; /* font size of info wrap */
    }
    .archive .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {  /* all custom category pages */
        font-size: 11px !important; /* font size of info wrap */
    }
    .archive .top-left-categories-filters {
        margin-top: 43px;
        margin-left: 20px !important;
    }
    .archive div#sorts {
        margin-top: 37px;
    }  

    /* fixing Sorters displayed on Location page */
    .archive .elm-items-main .layout-list .item, .items-container .layout-list .item .ago {
        font-size: 11px !important;
    }
    .archive .filters-wrap {
        margin-top: -5px;
    }
    .archive .filters-wrap .filters-container .content {
        text-transform: capitalize;
    }
    .archive .filters-wrap h2 {
        float: left;
        font-size: 18px;
        margin-top: 40px;
    }
    .archive .filters-wrap .filters-container {
        float: right;
        margin-top: 20px;
    }
    /* End of fixing Sorters displayed on Location page */
    /* fixing Sorters displayed on Search page */
    .search .filters-wrap {
        margin-top: -15px;
    }
    .search .filters-wrap h2 {
        float: left;
        font-size: 20px;
        margin-top: 0;
    }
    .search .filters-wrap .filters-container {
        float: right;
    }
    .search .filters-wrap .filter-container .content .selected:first-child, .filters-wrap .filter-container .content .title {
        text-transform: capitalize;
    }
    /* End of fixing Sorters displayed on Location page */
}
@media (min-width: 969px) {
    .archive .filters-wrap h2 {
        margin-top: -20px;
        font-size: 20px;
    }
    .archive .filters-wrap .filters-container {
        margin-top: 20px;
    }
    .archive .top-left-categories-filters{
        margin-top: 45px;
    }
    .archive div#sorts {
        margin-top: 20px;
    }
    .search .filters-wrap h2 {
        margin-top: 0;
        font-size: 20px;
    }
}
@media (min-width: 641px) {
    .archive .top-left-categories-filters {
        margin-bottom: -60px;
    }
}
    
    .archive .filters-wrap .filter-container .content .selected:first-child, .filters-wrap .filter-container .content .title {
        text-transform: capitalize;
    }
    .search .filters-wrap .filter-container .content .selected:first-child, .filters-wrap .filter-container .content .title {
        text-transform: capitalize;
    }

@media (min-width: 1101px) {
    .archive .filters-wrap .filter-container .content .selected:first-child, .filters-wrap .filter-container .content .title {
        text-transform: capitalize;
    }
    .search .filters-wrap .filter-container .content .selected:first-child, .filters-wrap .filter-container .content .title {
        text-transform: capitalize;
    }
}
@media (min-width: 1101px) and (max-width: 1200px) {
    .elm-items-main .layout-list .item-content-wrap, .items-container .layout-list .item-content-wrap {
        width: 100% !important;
    }
    .archive .elm-items-main .layout-list .item-content-wrap, .items-container .layout-list .item-content-wrap {
        width: calc(100% - 260px) !important;
    }
    .elm-items-main .layout-list .item-content, .items-container .layout-list .item-content {   /* all pages */
            padding: 15px 15px !important;
            font-size: 12px !important;
    }
    .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap {
        width: 100% !important;
        padding: 15px 15px !important;
    }
    .archive .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap {
        width: 260px !important;
        padding: 15px 15px !important;
    }
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {   /* all pages */
        font-size: 12px !important;
    }
}
@media (min-width: 1201px) and (max-width: 1300px) {
    .elm-items-main .layout-list .item-content, .items-container .layout-list .item-content {   /* for all pages */
            padding: 15px 15px !important;
            font-size: 13px !important;
    }
    .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap {   /* for all pages */
        padding: 15px 15px !important;
    }
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {   /* for all pages */
        font-size: 13px !important;
    }
}
@media (min-width: 1301px) {
    .elm-items-main .layout-list .item-content, .items-container .layout-list .item-content { /* for homepage */
            padding: 20px 20px !important;
            font-size: 13px !important;
    }
    .archive .elm-items-main .layout-list .item-content, .items-container .layout-list .item-content {   /* for all custom category pages */
            padding: 20px 15px !important;
            font-size: 13px !important;
    }
    .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap {   /* for homepage */
        padding: 20px 20px !important;
    }
    .archive .elm-items-main .layout-list .item-info-wrap, .items-container .layout-list .item-info-wrap {   /* for all custom pages */
        padding: 20px 15px !important;
    }
    .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {   /* for homepage and all custom category pages */
        font-size: 13px !important;
    }
}
@media (min-width: 769px) {
    .elm-items-main .layout-list .item .item-title h3, .items-container .layout-list .item .item-title h3 { /* all custom pages and homepage have this same CSS selector - see also above */
        display: block;     /* to make subtitle not lined up with title */
        max-width: 1000px;  /* required to set max width of text before it is hidden so that it wont cause the mess (by nowrap) in Right Sidebar; it is cut automatically when reaching end of div if the width of div is smaller than 1000px  */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        margin-top: -3px !important;
    }
}
/* END OF RESPONSIVE DESIGNS FOR ALL SCREEN SIZES ON HOMEPAGE AND ALL CATEGORY/CUSTOM CATEGORY/LOCATION PAGES */

/* FLEX DISPLAY (641px-980px) for default sidebar set at Page Builder Layout Options */
.widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img { width: 350px; }
.widget_items .layout-list .item-container .thumb-icon, .widget_newest_item .layout-list .item-container .thumb-icon { width: 100% !important; }
@media (min-width:641px) and (max-width:980px) {
    .right-sidebar .elements-sidebar-wrap {
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
    }
    .right-sidebar .elements-area {
        order: 1;
        width: 66.2% !important;
        float: left !important;
        margin-right: 2.4% !important;
    }
    .right-sidebar .sidebar-right-area {
        order: 2;
        width: 30.4% !important;
        float: right !important;
        margin-right: 0 !important;
    }
    .elements-sidebar-wrap .widget-container {
        flex: unset;
    }
    .tax-ait-locations .grid-main .elements-area { /* Flex display of default sidebar on location page */
        order: 1;
        width: 66.2% !important;
        float: left !important;
        margin-right: 2.4% !important;
    }
    .tax-ait-locations .right-sidebar .sidebar-right-area {
        order: 2;
        width: 30.4% !important;
        float: right !important;
        margin-right: 0 !important;
    }
}
.widget_items .items-container, .widget_newest_item .items-container {
    margin-top: -15px;
}
@media (min-width:768px) and (max-width:980px) {
    .tax-ait-locations .grid-main .sidebar-right-area {
        max-width: unset !important;
    }
}
/* END of FLEX DISPLAY (641px-980px) for default sidebar set at Page Builder Layout Options */
/* Use below when Listed Items are set at Theme Admin */
/* SEARCH/LOCATION PAGES AND DEFAULT CATEGORY PAGE - Set Listed Items at Theme Admin --> Theme Option --> Item Category/Location Options */
.right-sidebar .elements-sidebar-wrap { padding-top: 20px; }
.search .elm-item-organizer-container, .tax-ait-locations .elm-item-organizer-container {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
}
/* Default Right Sidebar (Widget area Element) - Responsive design */
/* Search page */
@media (min-width:498px) and (max-width:640px) {
    #ait-items-2 .content, #ait-items-3 .content, #ait-items-13 .content, #ait-items-22 .content { /* search, location, and single item pages */
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
        /*     align-items: center;  */    /* vertical center */
        justify-content: center;    /* horizontal center */
    }
    .widget_items .item-container, .widget_newest_item .item-container {
        width: 48.5% !important;
        margin-right: 1.5% !important;
        padding: 0 !important;
    }
}
@media (max-width:497px) {
    #ait-items-2 .content, #ait-items-3 .content, #ait-items-13 .content, #ait-items-22 .content {
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
        /*     align-items: center;  */
        justify-content: center;
    }
    .widget_items .item-container, .widget_newest_item .item-container {
        width: 48% !important;
        margin-right: 2% !important;
        padding: 0 !important;
    }
}
/* Location page */
@media (min-width:498px) and (max-width:640px) {
    #ait-items-18 .content {
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
        /*     align-items: center;  */
        justify-content: center;
    }
}
@media (max-width:497px) {
    #ait-items-18 .content {
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
   /*     align-items: center;  */
        justify-content: center;
    }
}
.elements-sidebar-wrap .widget-container .widget-content, .elm-widget-area-main .widget-container .widget-content {
    border: 1px solid #f7f7f7;
    padding-bottom: 0 !important;
}
@media (min-width:769px) and (max-width:810px) {
    .search .items-container .layout-list .item-content-wrap {
        width: calc(100% - 150px) !important;
        height: 155px !important;
    }
    .search .items-container .layout-list .item-info-wrap {
        width: 150px !important;
        padding: 8px 8px !important;
    }
    .tax-ait-locations .items-container .layout-list .item-content-wrap {
        width: calc(100% - 150px) !important;
        height: 155px !important;
    }
    .tax-ait-locations .items-container .layout-list .item-info-wrap {
        width: 150px !important;
        padding: 8px 8px !important;
    }
}
@media (min-width:811px) and (max-width:870px) {
    .search .items-container .layout-list .item-content-wrap {
        width: calc(100% - 170px) !important;
        height: 155px !important;
    }
    .search .items-container .layout-list .item-info-wrap {
        width: 170px !important;
        padding: 10px 10px !important;
    }
    .tax-ait-locations .items-container .layout-list .item-content-wrap {
        width: calc(100% - 170px) !important;
        height: 155px !important;
    }
    .tax-ait-locations .items-container .layout-list .item-info-wrap {
        width: 170px !important;
        padding: 10px 10px !important;
    }
}
@media (min-width:871px) and (max-width:920px) {
    .search .items-container .layout-list .item-content-wrap {
        width: calc(100% - 200px) !important;
        height: 155px !important;
    }
    .search .items-container .layout-list .item-info-wrap {
        width: 200px !important;
        padding: 10px 10px !important;
    }
    .tax-ait-locations .items-container .layout-list .item-content-wrap {
        width: calc(100% - 200px) !important;
        height: 155px !important;
    }
    .tax-ait-locations .items-container .layout-list .item-info-wrap {
        width: 200px !important;
        padding: 10px 10px !important;
    }
}
@media (min-width:921px) and (max-width:968px) {
    .tax-ait-locations .items-container .layout-list .item-content-wrap {
        width: calc(100% - 220px) !important;
        height: 155px !important;
    }
    .tax-ait-locations .items-container .layout-list .item-info-wrap {
        width: 220px !important;
        padding: 10px 10px !important;
    }
    .tax-ait-locations .items-container .layout-list .item-content-wrap {
        width: calc(100% - 220px) !important;
        height: 155px !important;
    }
    .tax-ait-locations .items-container .layout-list .item-info-wrap {
        width: 220px !important;
        padding: 10px 10px !important;
    }
}

.categories-container .grid-main .content {
    margin-bottom: 0; /* space below item category icons */
    padding-top: 10px;  /* space above item category element */
}
.categories-container .content {
    padding-bottom: 0;
}
.categories-container {
    background: #F5F5F5;    /* background colour of item category element */
}
#elm-items-_eaee2db4c21cbd8-main {
    padding-top: 20px;  /* default: 40px; space above the title (Popular Items) of a disabled carousel of boxed Item in 5-column layout */
    border:  1px solid #CDDFF0;
    border-width: 0 0 1px;
}
#elm-items-_e288e1595f0b398-main {
    padding-top: 0;       /* space above Popular Items on Category page */
    background-color: #F6F8FA;
}
.right-sidebar .elements-sidebar-wrap {
    padding-top: 20px;  /* space below Share this */
}
.entry-content + .items-container, .entry-content + .events-pro-container {
    margin-top: 20px;   /* space above the taxonomy */
}
.elements-area, .sidebar-right-area, .sidebar-left-area {
    padding-bottom: 0;    /* space below taxonomy */
}
.ajax-container .items-container ~  .nav-single.pagination-below {
    margin-top: 0;    /* space above navigator */
}
/* ITEM LOCATION PAGE */
#elm-items-_e4d3faad2185a8-main {
    padding-top: 0;   /* Default: 70px; space above title of boxed items in disabled carousel with 5-column layout */
    background-color: #F6F8FA;
}

.search .items-container .layout-list .item .item-location p {
    font-size: 11px !important;
}
.search .items-container .layout-list .item .ago {
        font-size: 11px !important;
}
.search .items-container .layout-list .item .item-taxonomy-icon-wrap img {
    max-height: 32px;
    max-width: 32px;
}
.search .page-title h1 {
    font-weight: 600 !important;
    font-size: 22px;
}
.tax-ait-locations .items-container .layout-list .item .item-location p {
    font-size: 11px !important;
}
.tax-ait-locations .items-container .layout-list .item .ago {
    font-size: 11px !important;
}
@media (min-width:641px) and (max-width:768px) {
    .search .elm-content-main .filters-wrap {
        margin-top: 15px;
    }
}
@media (max-width:640px) {
    .search .items-container .layout-list .item .ago {
        display: none;
    }
    .items-container .layout-list .item .item-info-wrap {
        padding: 5px 5px;
    }
    .items-container .layout-list .item .icon-label i {
        margin-right: 0;
    }
    .search .filters-wrap .filter-container {
        width: 50%;
        float: right;
        margin: 0 1px 5px 0;
    }
    .search .ait-toggle-area-btn {
        margin-bottom: 10px;
    }
}
@media (min-width:498px) and (max-width:768px) {
    .search .page-title {
        margin-bottom: 5px;
    }
}
@media (max-width:640px) {
    .search .page-title {
        padding: 0 !important;
        height: 55px;
    }
}
@media (max-width:497px) {
    .search .elm-content-main .filters-wrap {
        margin-top: 15px;
    }
}
@media (min-width:498px) and (max-width:560px) {
    .search .items-container .layout-list .item .item-location p {
        max-width: 170px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        max-width: 170px !important;
    }
}
@media (min-width:561px) and (max-width:640px) {
    .search .items-container .layout-list .item .item-location p {
        max-width: 180px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        max-width: 180px !important;
    }
}
@media (min-width:769px) and (max-width:780px) {
    .search .items-container .layout-list .item .item-location p {
        font-size: 10px !important;
        max-width: 95px !important;
    }
    .search .items-container .layout-list .item .ago {
        font-size: 10px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        font-size: 10px !important;
        max-width: 95px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .ago {
        font-size: 10px !important;
    }
}
@media (min-width:781px) and (max-width:800px) {
    .search .items-container .layout-list .item .item-location p {
        font-size: 10px !important;
        max-width: 100px !important;
    }
    .search .items-container .layout-list .item .ago {
        font-size: 10px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        font-size: 10px !important;
        max-width: 100px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .ago {
        font-size: 10px !important;
    }
}
@media (min-width:801px) and (max-width:820px) {
    .search .items-container .layout-list .item .item-location p {
        max-width: 105px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        max-width: 105px !important;
    }
}
@media (min-width:821px) and (max-width:900px) {
    .search .items-container .layout-list .item .item-location p {
        max-width: 115px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        max-width: 115px !important;
    }
}
@media (min-width:900px) and (max-width:925px) {
    .search .items-container .layout-list .item .item-location p {
        max-width: 125px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        max-width: 125px !important;
    }
}
@media (min-width:926px) and (max-width:968px) {
    .search .items-container .layout-list .item .item-location p {
        max-width: 140px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        max-width: 140px !important;
    }
}
@media (min-width:969px) and (max-width:1050px) {
    .search .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 150px !important;
    }
    .search .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 150px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
}
@media (min-width:1051px) and (max-width:1100px) {
    .search .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 160px !important;
    }
    .search .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 160px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
}
@media (min-width:1101px) and (max-width:1150px) {
    .search .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 180px !important;
    }
    .search .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 180px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
}
@media (min-width:1151px) and (max-width:1200px) {
    .search .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 210px !important;
    }
    .search .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 210px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
}
@media (min-width:1201px) {
    .search .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 250px !important;
    }
    .search .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        font-size: 12px !important;
        max-width: 250px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .ago {
        font-size: 12px !important;
    }
}
@media (max-width:497px) {
    .search .items-container .layout-list .item .item-location p {
        max-width: 160px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        max-width: 160px !important;
    }
}
@media (max-width:420px) {
    .search .items-container .layout-list .item .item-location p {
        max-width: 130px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        max-width: 130px !important;
    }
}
@media (max-width:370px) {
    .search .items-container .layout-list .item .item-location p {
        max-width: 120px !important;
    }
    .tax-ait-locations .items-container .layout-list .item .item-location p {
        max-width: 120px !important;
    }
}
/* Location page */
.tax-ait-locations .page-title h1 {
    font-weight: 600 !important;
    font-size: 22px !important;
}
@media (min-width:641px) and (max-width:768px) {
    .tax-ait-locations .page-title h1 {
        margin-bottom: 10px !important;
    }
}
@media (max-width:497px) {
    .page-title .entry-title-wrap h1 {
        padding: 0;
    }
    .tax-ait-locations .page-title .entry-title-wrap h1 {
        margin-top: -20px;
        height: 20px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .tax-ait-locations .page-title {
        margin-bottom: 5px;
    }
    .tax-ait-locations .filters-wrap .filter-container {
        width: 50%;
        float: right !important;
        margin: 0 1px 5px 0 !important;
    }
}
@media (max-width:640px) {
    .tax-ait-locations .items-container .layout-list .item .ago {
        display: none;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .tax-ait-locations .filters-wrap .filters-container {
        margin-top: -10px;
    }
    .entry-content + .items-container, .entry-content + .events-pro-container {
        margin-top: -40px;
    }
}
@media (min-width:769px) and (max-width:980px) {
    .tax-ait-locations .filters-wrap .filters-container {
        margin-top: 20px;
    }
}
@media (min-width:981px) {
    .tax-ait-locations .filters-wrap .filters-container {
        margin-top: 20px;
    }
}
/* END of SEARCH/LOCATION PAGES AND DEFAULT CATEGORY PAGE - Set Listed Items at Theme Admin --> Theme Option --> Item Category/Location Options */

/* EN FONT */
.lang-en_US h1 strong, .lang-en_US h2 strong, .lang-en_US h3 strong, .lang-en_US h4 strong, .lang-en_US h5 strong, .lang-en_US h6 strong {
    font-family: roboto;
}

/* TO FIX SPECIFY IMAGE DIMENSIONS AT GTMETRIX.COM */
.elm-taxonomy-list-main.layout-icon .item-thumbnail img {   /* category icons on homepage */
    max-width: 48px;
    max-height: 48px;
}
.elm-items-main .layout-list .item .item-taxonomy-icon-wrap img, .items-container .layout-list .item .item-taxonomy-icon-wrap img { /* category icons on listed items on homepage */
    max-height: 32px;
    max-width: 32px;
}
.elm-items-main .layout-box .item .item-taxonomy-icon-wrap img, .items-container .layout-box .item .item-taxonomy-icon-wrap img {   /* category icons (even they are not displayed) on boxed items in a slide */
    max-width: 48px;
    max-height: 48px;
}
/* for default_featured)_imag.jpg and all images in Cache folder, use Specify Image Dimensions plugins by By Fact Maven */

/* HIDE PAGE SHARES and PAGE BREADCRUMB IN PAGE TITLE */
.page-title.subtitle-missing .page-title-social {   /* hide page shares */
    display: none;
}
.page-title .breadcrumb {   /* hide breadcrumb */
    display: none;
}
/* reduce the height of page title */
.single-ait-item.breadcrumbs-enabled .page-title.subtitle-missing .entry-title-wrap, .tax-ait-items.breadcrumbs-enabled .page-title.subtitle-missing .entry-title-wrap {
    padding-bottom: 20px;   /* default 45px */
}

/* TOGGLE TEXT IN SEARCH FORM ON SMALL MOBILE */
.ait-toggle-area-group .ait-toggle-area-btn {
    text-transform: none !important;
    font-weight: normal !important;
}

/* CUSTOM FILTERS & SORTERS FOR CARS CATEGORY */
.dropdown_group {
    z-index: 11;
}
.custom_catlist {
    position: relative;
    z-index: 111;
}
.custom_catlist ul.column-4 li a {
   display: none;
}

.custom_catlist .content.filters {
   float: left;
   width: 100%;
   padding: 0 !important;
}

.filter_box button {
   background: #f1f1f1;
   border-radius: 2px;
   margin:2px;
   font-size: 12px;
   padding: 5px 9px;
}
.filter_box button.is-checked {
   background: #35cbc9;
   color: #fff;
}
.custom_catlist .button-group.js-radio-button-group.current .filter_box {
   display: block !important;
}
button.close {
    position: absolute;
    right: 9px;
    top: 6px;
    border-radius: 50px;
    padding: 3px 10px;
    background: #35cbc9;
    color: #fff;
    font-weight: bold;
    cursor: pointer !important;
    font-size: 13px;
}
button.close i {
    margin-right: 3px;
}
button.close:hover{background:orange;}

.custom_catlist .dropdown_block select{width:100%;}

label.c_title:before {
   position: absolute;
   width: 100%;
   content: "";
   height: 100%;
   left: 0;
   top: 0;
}

.custom_catlist.categories-container li{position: static;margin-right: 7px;}
.c_range {
    display: flex;
    justify-content: space-between;
    margin-right: 24px;
    border: 1px solid #eee;
    padding: 5px 15px;
}
.c_range.current .c_filter_box {
    opacity: 1;
    display: block;
}
.c_filter_box .button-group.js-radio-button-group {
    width: 39%;
    float: left;
    border: none;
}
@media (max-width:497px)  {
    .c_filter_box .button-group.js-radio-button-group {
        width: 43%;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
    }
}
@media (min-width:498px) and (max-width:768px)  {
    .c_filter_box .button-group.js-radio-button-group{
        width: 45%;
    }
}
@media (min-width: 641px) {
    .c_filter_box .button-group.js-radio-button-group {
        margin-top: 20px;
        padding-bottom: 40px;
    }
    .term-property-for-sale .c_filter_box .button-group.js-radio-button-group {
        margin-top: 20px;
        margin-bottom: 40px;
    }
}
.c_filter_box .button-group.js-radio-button-group label {
    margin-right: 16px;
    margin-top: 2px;
}
@media (max-width:497px) {
    .term-cars-for-sale .c_filter_box .button-group.js-radio-button-group label {
        z-index: 99;
        order: 1;
        position: absolute;
        margin-top: -45px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-cars-for-sale .c_filter_box .button-group.js-radio-button-group label {
        z-index: 99;
        order: 1;
        position: absolute;
        margin-top: -25px;
    }
}
.custom_catlist .c_filter_box .button-group.js-radio-button-group.current:after {
    display:none;
}
.sort_by {
    display: none;
}
.fuel-type-item input[type="checkbox"] {
    position: relative;
    opacity: 1;
    cursor: pointer;
    z-index: 11;
}
@media (min-width:497px) and (max-width:640px) {
    .make_block {
        z-index: 99;
    }
    .model_block, .price_block {
        z-index: 15;
    }
    .year_block, .fuel_type_block {
        z-index: 14;
    }
    .gearbox_block, .engine_size_block {
        z-index: 13;
    }
    .c_filter_box .button-group.js-radio-button-group {
        display: flex;
        flex-direction: column;
        margin-top: -10px;
        margin-bottom: 0;
    }
}

.fuel-type-item input[type="checkbox"]:checked + span + label{color:#fff !important;}
.fuel-type-item {
    position: relative;
}
.fuel-type-item.is-checked {
    background: #f1f1f1 !important;
    color: #222 !important;
}
#sorts select.data-sort-value {
    font-family: content;
    border: 1px solid #eee;
    color: #fff;
    border-radius: 4px;
    background: #35cbc9;
    min-width: 165px !important;    /* Fix horizontal CSL of custom Sorter dropdown menu */
    text-align: center !important;  /* Fix horizontal CSL font (text) inside custom Sorter dropdown menu */
} 
.custom_catlist .button-group.current:after {
    content: "";
    border: 1px solid #e7e7e7;
    position: absolute;
    width: 8px;
    height: 8px;
    transform: rotate(44deg);
    border-bottom: none;
    border-left: none;
    background: #fff;
    margin-top: 10px;
    z-index: 111;
    right: -5px;
}
.sf-flyout__clear-button.js-clear-button {
    position: absolute;
    bottom: 0;
    border: 1px solid #222;
    padding: 5px 6px;
    border-radius: 50px;
    min-width: 58px;
    text-align: center;
    margin-bottom: 11px;
    height: auto;
    min-height: auto;
    line-height: normal;
    color: #222;
    cursor: pointer;
    font-size: 14px;
}
.fuel-type-item span {
    width: 100%;
    height: 100%;
    background: #35cbc9;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: none;
}
.fuel-type-item input[type="checkbox"]:checked + span {
    display: block;
}
.sf-flyout__clear-button.js-clear-button:hover {
    background: #000;
    color: #fff;
}
.fuel-type-item span + label {
    position: relative;
    z-index: 11;
}
.car-for_sale.custom_catlist.categories-container li {
width: 11%;
}

.term-cars-for-rent .top-right-items .items-container.elm-item-organizer {
position: relative;
/* margin-top: 40px; */
}
.car-for_sale.custom_catlist.categories-container li a {
   display: none;
}

/* Width of custom filters' box on PC */
.top-left-categories-filters {
   width: 100%;
   max-width: 25%;
   float: left;
   position: relative;
}
/* Width of custom content container on PC */
.top-right-items {
   float: right;
   width: 72%;
   position: relative;
}
.archive .top-right-items { margin-top: 20px; }
@media (max-width:968px) { .archive .top-right-items {margin-top: 0; } }
.categories-container.custom_catlist ul li {
   flex-direction: column;
}

.categories-container.custom_catlist ul {
   flex-direction: column;
}

.car-for_sale.custom_catlist.categories-container li {
   width: 100%;
}

div#sorts {
   position: absolute;
   top:0;
   right: 0;
}

label.c_title:before{display:none !important; }

.categories-container.custom_catlist li a {
    display: none;
}

.left-sort-value button.button {
    padding: 7px 50px;
    background: #f3f3f3;
    border-bottom: 2px solid transparent;
}
.left-sort-value button.button.is-checked {
    background: #ff9c00 !important;
    border-bottom: 2px solid #ff9c00;
    color: #fff;
}
.left-sort-value {
    margin-bottom: 10px;
}
.top-right-items .left-sort-value button {
    text-transform: capitalize;
    font-size: 14px;
}


@media (max-width:768px)  {
    .top-left-categories-filters .content.filters li.has-title.has-icon {
    float: left;
    width: 46%;
}
.top-left-categories-filters .categories-container.custom_catlist ul {
    flex-direction: unset;
}
    .top-right-items .left-sort-value button {
    margin-bottom: 10px;
    padding: 8px 42px;
}
    .top-right-items div#left-sorts {
    width: 100%;
}
    .top-right-items .left-sort-value {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
    div#sorts {
    position: static;
    top: 0;
    margin-bottom: 8px!important;
    width: 100%;
    right: 0;
    text-align: center;
    margin: 0 auto;
    float: left;
}

.isotope-pager button#prev {
    margin-bottom: 20px;
}
.isotope-pager button#more {
    margin-top: 20px;
}   
}

.filter_box, .c_filter_box {
    width: 250%;
    background: #fff;
    border: 1px solid #eee;
    padding: 38px 0 10px 0;
    position: absolute;
    left: calc(100% + 15px);
    display: none;
    box-sizing: border-box;
    border-radius: 0;
    min-height: 200px;
    overflow-y: auto !important;
    overflow-x: hidden;
    top: 0;
    z-index: 111;
    background: #F7F7F7;
}
/* Fixing drop down lists closed to filter drop down */
@media (max-width:497px)  {
    .filter_box, .c_filter_box {
        width: 100%;
        left: 0;
        min-height:160px;
        top: 44px;
    }
    .term-cars-for-rent .make_block .filter_box, .term-cars-for-rent .make_block .c_filter_box {
        min-height: 163px;
        padding-top: 35px;
    }
    .lang-km .term-cars-for-rent .make_block .filter_box, .lang-km .term-cars-for-rent .make_block .c_filter_box {
        min-height: 175px;
        padding-top: 40px;
    }
    .model_block .filter_box, .model_block .c_filter_box {
        min-height: 160px;
        padding-top: 35px;
        top: 94px;
    }
    .price_block .filter_box, .price_block .c_filter_box {
        min-height: 160px;
        padding-top: 35px;
        top: 94px;
    }
    .term-services .price_block .filter_box, .term-services .price_block .c_filter_box {
        top: 45px;
    }
    .year_block .filter_box, .year_block .c_filter_box {
        top: 94px;
        min-height: 160px;
    }
    .fuel_type_block .filter_box, .fuel_type_block .c_filter_box {
        min-height: 145px;
        padding-top: 35px;
        top: 144px;
    }
    .lang-km .fuel_type_block .filter_box, .lang-km .fuel_type_block .c_filter_box {
        min-height: 165px;
        padding-top: 40px;
    }
    .gearbox_block .filter_box, .gearbox_block .c_filter_box {
        min-height: 110px;
        padding-top: 35px;
        top: 45px;
    }
    .term-services .gearbox_block .filter_box, .term-services .gearbox_block .c_filter_box {
        min-height: 265px;
    }
    .lang-km .gearbox_block .filter_box, .lang-km .gearbox_block .c_filter_box {
        min-height: 130px;
        padding-top: 40px;
    }
    .locations_block .filter_box, .locations_block .c_filter_box {
        min-height: 320px;
        padding-top: 35px;
    }
    .term-property .locations_block .filter_box, .term-property .locations_block .c_filter_box {
        min-height: 315px;
    }
    .term-cars-for-sale .make_block .filter_box, .term-cars-for-sale .make_block .c_filter_box {
        min-height: 323px;
        padding-top: 35px;
    }
    .lang-km .term-cars-for-sale .make_block .filter_box, .lang-km .term-cars-for-sale .make_block .c_filter_box {
        min-height: 365px;
        padding-top: 40px;
    }
    .term-cars-for-sale .model_block .filter_box, .term-cars-for-sale .model_block .c_filter_box {
        min-height: 270px;
    }
    .lang-km .term-cars-for-sale .model_block .filter_box, .lang-km .term-cars-for-sale .model_block .c_filter_box {
        min-height: 290px;
        padding-top: 40px;
    }
    .term-cars-for-sale .price_block .filter_box, .term-cars-for-sale .price_block .c_filter_box {
        min-height: 150px;
        padding-top: 70px;
    }
    .term-cars-for-sale .year_block .filter_box, .term-cars-for-sale .year_block .c_filter_box {
        padding-top: 70px;
    }
    .term-cars-for-sale .engine_size_block .filter_box, .term-cars-for-sale .engine_size_block .c_filter_box {
        padding-top: 70px;
        top: 194px;
    }
    .term-cars-for-sale .locations_block .filter_box, .term-cars-for-sale .locations_block .c_filter_box {
        top: 244px;
    }
    .lang-km .term-cars-for-sale .locations_block .filter_box, .lang-km .term-cars-for-sale .locations_block .c_filter_box {
        min-height: 370px;
        padding-top: 40px;
    }
    .lang-km .model_block .filter_box, .lang-km .model_block .c_filter_box {
        min-height: 175px;
        padding-top: 40px;
        top: 94px;
    }
    .lang-km .archive .locations_block .filter_box, .lang-km .archive .locations_block .c_filter_box {
        min-height: 345px;
        padding-top: 40px;
    }
    
    .term-motorbikes-for-rent .make_block .filter_box, .term-motorbikes-for-rent .make_block .c_filter_box {
        min-height: 150px;
        padding-top: 40px;
    }
    .term-motorbikes-for-sale .make_block .filter_box, .term-motorbikes-for-sale .make_block .c_filter_box {
        min-height: 150px;
        padding-top: 40px;
    }
    .term-motorbikes-for-sale .make_block .filter_box, .term-motorbikes-for-sale .make_block .c_filter_box {
        min-height: 320px;
        padding-top: 37px;
    }
    .term-motorbikes-for-sale .model_block .filter_box, .term-motorbikes-for-sale .model_block .c_filter_box {
        min-height: 270px;
        padding-top: 37px;
    }
    .term-motorbikes .locations_block .filter_box, .term-motorbikes .locations_block .c_filter_box {
        top: 44px;
    }
}
@media (max-width:420px) {
    .locations_block .filter_box, .locations_block .c_filter_box {
        min-height: 325px;
        padding-top: 35px;
    }
}
@media (min-width:421px) and (max-width:497px) {
    .term-cars-for-sale .make_block .filter_box, .term-cars-for-sale .make_block .c_filter_box {
        min-height: 343px;
    }
    .term-cars-for-sale .model_block .filter_box, .term-cars-for-sale .model_block .c_filter_box {
        min-height: 285px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .filter_box, .c_filter_box {
        width: 380px;
        min-height: 130px;
        top: 44px;
        padding: 17px 0 10px 0;
        right: 0;
        left: auto;
        background: #F7F7F7;
    }
    .term-computers-parts .filter_box, .c_filter_box {
        right: auto;
        left: 0;
    }
    .term-cars-for-sale .filter_box, .term-cars-for-sale .c_filter_box {
        padding-top: 50px;
        min-height: 160px;
    }
    .model_block .filter_box, .model_block .c_filter_box {
        min-height: 155px;
        padding-top: 40px;
        left: 0;
        right: auto;
    }
    .lang-km .model_block .filter_box, .lang-km .model_block .c_filter_box {
        min-height: 175px;
        padding-top: 45px;
        left: 0;
        right: auto;
    }
    .term-cars-for-sale .model_block .filter_box, .term-cars-for-sale .model_block .c_filter_box {
        min-height: 250px;
        padding-top: 40px;
        left: 0;
        right: auto;
    }
    .lang-km .term-cars-for-sale .model_block .filter_box, .lang-km .term-cars-for-sale .model_block .c_filter_box {
        min-height: 275px;
        padding-top: 45px;
    }
    .year_block .filter_box, .year_block .c_filter_box {
        left: 0;
        right: auto;
        min-height: 160px;
        padding-top: 30px;
    }
    .fuel_type_block .filter_box, .fuel_type_block .c_filter_box {
        min-height: 145px;
        padding-top: 40px;
    }
    .lang-km .fuel_type_block .filter_box, .lang-km .fuel_type_block .c_filter_box {
        min-height: 165px;
        padding-top: 42px;
    }
    .gearbox_block .filter_box, .gearbox_block .c_filter_box {
        min-height: 110px;
        padding-top: 40px;
        left: 0;
        right: auto;
    }
    .lang-km .gearbox_block .filter_box, .lang-km .gearbox_block .c_filter_box {
        min-height: 120px;
        padding-top: 40px;
        left: 0;
        right: auto;
    }
    .term-cars-for-rent .make_block .filter_box, .term-cars-for-rent .make_block .c_filter_box {
        min-height: 150px;
        padding-top: 40px;
    }
    .lang-km .term-cars-for-rent .make_block .filter_box, .lang-km .term-cars-for-rent .make_block .c_filter_box {
        min-height: 170px;
        padding-top: 45px;
    }
    .term-cars-for-sale .make_block .filter_box, .term-cars-for-sale .make_block .c_filter_box {
        min-height: 300px;
        padding-top: 40px;
    }
    .lang-km .term-cars-for-sale .make_block .filter_box, .lang-km .term-cars-for-sale .make_block .c_filter_box {
        min-height: 345px;
        padding-top: 45px;
    }
    .locations_block .filter_box, .locations_block .c_filter_box {
        min-height: 275px;
        padding-top: 40px;
    }
    .lang-km .locations_block .filter_box, .lang-km .locations_block .c_filter_box {
        min-height: 335px;
        padding-top: 50px;
    }
    
    .term-motorbikes-for-rent .make_block .filter_box, .term-motorbikes-for-rent .make_block .c_filter_box {
        min-height: 150px;
        padding-top: 40px;
    }
    .term-motorbikes-for-rent .model_block .filter_box, .term-motorbikes-for-rent .model_block .c_filter_box {
        left: 0;
        right: auto;
        min-height: 160px;
        padding-top: 40px;
    }
    .term-motorbikes-for-rent .year_block .filter_box, .term-motorbikes-for-rent .year_block .c_filter_box {
        left: 0;
        right: auto;
        min-height: 160px;
        padding-top: 40px;
    }
    .term-motorbikes-for-sale .make_block .filter_box, .term-motorbikes-for-sale .make_block .c_filter_box {
        min-height: 150px;
        padding-top: 40px;
    }
    .term-motorbikes-for-sale .make_block .filter_box, .term-motorbikes-for-sale .make_block .c_filter_box {
        min-height: 300px;
        padding-top: 40px;
    }
    .term-motorbikes-for-sale .model_block .filter_box, .term-motorbikes-for-sale .model_block .c_filter_box {
        min-height: 250px;
        padding-top: 40px;
    }
}
@media (min-width:641px) {
    .term-property-for-rent .filter_box, .term-property-for-rent .c_filter_box {
        min-height: 120px;
        padding-top: 50px;
        padding-bottom: 45px;
    }
    .term-cars-for-sale .filter_box, .term-cars-for-sale .c_filter_box {
        min-height: 120px;
        padding-top: 50px;
    }
    .make_block .filter_box, .make_block .c_filter_box {
        min-height: 200px;
        padding-top: 50px;
    }
    .term-cars-for-sale .make_block .filter_box, .term-cars-for-sale .make_block .c_filter_box {
        min-height: 365px;
        padding-top: 40px;
    }
    .lang-km .term-cars-for-sale .make_block .filter_box, .term-cars-for-sale .make_block .c_filter_box {
        min-height: 420px;
        padding-top: 50px;
    }
    .model_block .filter_box, .model_block .c_filter_box {
        min-height: 210px;
        padding-top: 50px;
    }
    .term-cars-for-sale .model_block .filter_box, .term-cars-for-sale .model_block .c_filter_box {
        min-height: 310px;
        padding-top: 50px;
    }
    .lang-km .term-cars-for-sale .model_block .filter_box, .lang-km .term-cars-for-sale .model_block .c_filter_box {
        min-height: 350px;
        padding-top: 50px;
    }
    .locations_block .filter_box, .locations_block .c_filter_box {
        min-height: 350px;
        padding-top: 40px;
    }
    .lang-km .locations_block .filter_box, .lang-km .locations_block .c_filter_box {
        min-height: 415px;
        padding-top: 45px;
    }
    .fuel_type_block .filter_box, .fuel_type_block .c_filter_box {
        min-height: 160px;
        padding-top: 50px;
    }
    .gearbox_block .filter_box, .gearbox_block .c_filter_box {
        min-height: 180px;
        padding-top: 40px;
    }
    .term-services .gearbox_block .filter_box, .term-services .gearbox_block .c_filter_box {
        min-height: 310px;
    }
    .lang-km .term-cars-for-rent .make_block .filter_box, .lang-km .term-cars-for-rent .make_block .c_filter_box {
        min-height: 210px;
        padding-top: 50px;
    }
    
    .term-motorbikes-for-rent .make_block .filter_box, .term-motorbikes-for-rent .make_block .c_filter_box {
        min-height: 150px;
        padding-top: 40px;
    }
    .term-motorbikes-for-rent .model_block .filter_box, .term-motorbikes-for-rent .model_block .c_filter_box {
        min-height: 180px;
        padding-top: 40px;
    }
    .term-motorbikes-for-sale .make_block .filter_box, .term-motorbikes-for-sale .make_block .c_filter_box {
        min-height: 350px;
        padding-top: 40px;
    }
    .term-motorbikes-for-sale .model_block .filter_box, .term-motorbikes-for-sale .model_block .c_filter_box {
        min-height: 295px;
        padding-top: 40px;
    }
}

@media (min-width:641px) and (max-width:968px) {
    .filter_box, .c_filter_box {
        left: calc(100% + 15px);
        min-height: 200px;
    }
}
@media (min-width:969px) {
    .filter_box, .c_filter_box {
        width: 200%;
        min-height: 200px;
    }
}

.custom_catlist .button-group {
   display: flex;
   justify-content: space-between;
   margin-right:0;
   border: 1px solid #eee;
   padding: 5px;
   position: relative;
}
@media (max-width:497px)  {
  .custom_catlist .button-group {
    position: static;
}   
}

@media  (min-width:498px) and (max-width:768px)  {
    .top-right-items .left-sort-value {
       flex-wrap: wrap;
    }
    .top-right-items .left-sort-value button {
       margin-right: 4px;
       width: 100%;
       max-width: 80px;
       padding: 5px 0;
       text-align: center;
       font-size: 14px !important;
    }
    .main-sections > .elm-main:first-child {
       padding-top: 0 !important;
    }
    .top-left-categories-filters .content.filters li.has-title.has-icon {
    float: left;
    width: 100%;
    }
    .elm-item-organizer .item-title h3 {
    font-size: 15px;
    line-height: normal;
    }
}
@media (min-width:351px) and (max-width:497px) {
    .lang-km .top-right-items .left-sort-value button {
        padding: 5px 30px;
    }
}
@media (max-width:350px) {
    .lang-km .top-right-items .left-sort-value button {
        padding: 5px 25px;
    }
}

@media (min-width:498px) and (max-width:768px) and (orientation:portrait){
    .isotope-pager .pager {
        padding: 6px;
    }
}

/* Additional CSS */
@media (max-width:497px) {
    .term-cars-for-rent #elm-content-4-main {
        margin-top: -20px;
    }
}
@media (max-width:497px) {
    .term-cars-for-sale #elm-content-4-main {
        margin-top: 0;
    }
}
.search-results #elm-content-4-main {
       margin: 0 0;
    }
@media (min-width:769px) and (max-width:968px) {
    .term-cars-for-rent #elm-content-4-main {
        margin-top: 0 !important;
    }
    .search-results #elm-content-4-main {
        margin-top: 30px;
    }
}
.term-cars-for-rent .categories-container, .term-cars-for-sale .categories-container, .search-results .categories-container {
   background: none !important;
}

/* Fixing CSS for Location & Time Ago */
#item_sections .item-location {
  width: auto;
  float: left;
}
@media (min-width:981px) {
    #item_sections .item-location {
        margin-bottom: 15px;
    }
}
@media (max-width:497px) {
    #item_sections .item-location {
        display: inline-block !important;
        float: none;
        margin-top: 5px;
    }
}
#item_sections  span.ago:before {
  content: "";
  font-family: fontawesome;
  margin-left: 10px;
}
div#sorts {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 11;
}

/* Making Make and Model filter lists 3-column wide */
.filter_box button.button {
    float: left;
    width: 32%;
    text-align: left;
    font-weight: 300;
}
@media (min-width:422px) and (max-width:497px) {
    .lang-km .filter_box button.button {
        padding: 1px 3px;
    }
}
@media (max-width:421px) {
    .lang-km .filter_box button.button {
        padding: 3px 3px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .filter_box button.button {
        width: 32%;
        font-size: 11px !important;
        margin: 1px;
    }
}

@media (max-width: 768px) {
    
.filters-wrap h2{font-size:18px;}

/* Fixing bad displays of Sorter drop down on mobile devices */
.content-wrap div#sorts {
   float: right;
   width: auto;
}
.elm-content-main .filters-wrap {
   display: flex;
   width: auto;
}
.term-cars-for-sale div#sorts {
   position: absolute;
   top: 53px;
}
.term-cars-for-sale div#item_sections {
   position: relative;
}
.search-results .top-right-items .row > #sorts {
   position: static;
}
}

/* Fixing thumbnail distortion on listed items on mobile devices */
@media screen and (min-width: 498px) and (max-width:768px) and (orientation: landscape) {
.items-container .layout-list.custom_filter_section .item .item-content-wrap {height: 180px;}
.items-container .layout-list.custom_filter_section .item .item-info-wrap {
   float: left;
}
}

/* Remove listing style from cars/trucks page */
.categories-container ul.column-4 li.empty-box-2 {
    width: 75%;
    list-style-type: none;
}

.div1 #divselect{
    display:block !important;
}
.div1 .sbHolder{
    display:none !important;
}
.div1.cars_dropdown select {
   width: 45%;
   justify-content: center;
   align-items: center;
   float: left;
   padding: 11px 15px;
   margin: 0 5px;
   border: 1px solid #eee;
   height: 43px;background:#fff;
}
.categories-container .grid-main .content{width:100%;}
.div1.cars_dropdown {
   float: left;
   width: 100%;
   padding: 10px 0;
}

.div1.sdbar_slct {
   float: left;
   width: 100%;
   margin-bottom: 13px;
}
.custom_catlist button.reset-btn {
background: #35cbc9;
color: #fff;
min-width: 80px;
text-align: center;
padding: 5px 11px;
border-radius: 3px;
}
@media(max-width:497px){
.div1.cars_dropdown select {
   width: 100%;
   margin-bottom: 13px;
}
}

.sdbar_slct select {
   width: 100%;
   /*float: left;
   margin: 0 -20px;*/
   padding: 10px 9px;
   border: 1px solid #eee;
   color: #777;
   background: #fff;
}
@media (min-width:498px) and (max-width:768px){
    .sdbar_slct select {
       width: 100%;
       margin: 0;
    }
}
@media (min-width:498px) and (max-width:768px) and (orientation:landscape){
    .sdbar_slct select {
        width: 100%;
        margin: 0;
    }
    .categories-container.custom_catlist ul { padding-left: 20px; padding-right: 10px; }
}

.categories-container.custom_catlist.car-for_sale { background: transparent; margin: 0; }
.term-cars-for-sale .categories-container.custom_catlist.car-for_sale {
    margin-top: 20px;
}
@media (min-width:498px) {
    .term-cars-for-rent .categories-container.custom_catlist.car-for_sale { margin-top: 0; }
}

/* Width adjustments for custom filters and conent containers on Custom Pages */
@media (min-width:498px) and (max-width:640px) {
    .top-right-items {
        width:70%;
    }
    .term-property .top-right-items {
        margin-top: 30px;
    }
    .top-left-categories-filters {
        max-width:23%;
        margin-left: 15px;
    }
}
@media (min-width: 641px) and (max-width: 768px) {
    .top-left-categories-filters {
        max-width: 22%;
        margin-left: 15px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .top-right-items {
        width:74%;
    }
    .top-left-categories-filters {
        max-width: 21%;
        margin-top: -5px;
        margin-left: 0 !important;
    }
    /* Cars pages */
    .term-cars .top-right-items {
        width:73%;
    }
    .term-cars .top-left-categories-filters {
        max-width:21%
    }
    .term-cars-for-sale .top-right-items {
        width:73%;
    }
    .term-cars-for-sale .top-left-categories-filters {
        max-width:21%
    }
    /* End of Cars pages */
}
@media (min-width:969px) and (max-width:980px) {
    .term-property-for-rent .top-right-items {
        margin-top: 15px;
    }
}
@media (min-width: 969px) {
    .top-left-categories-filters {
        max-width: 24%;
        margin-top: -5px;
        margin-left: 15px;
    }
}
/* End of width adjustments for custom filters and conent containers on Custom Pages */

/* Space above and below the container of custom filters for Cars category */
.term-cars .page-title .entry-title-wrap {
    display: none;
}
.term-cars .categories-container ul {
    margin-top: 0;
}
@media (max-width: 497px) {
    .term-cars .categories-container ul {
        margin-top: -15px;
        padding-bottom: 5px;
    }
    .term-cars .page-title {
        display: none;
    }
}
.term-cars-for-rent .page-title .page-description {
    display: none;
}
.term-cars-for-sale .page-title .page-description {
    display: none;
}
@media (max-width:497px) {
    .term-cars .top-left-categories-filters {
        margin-bottom: 20px;
        margin-top: 15px;
        min-height: 75px;
    }
    .term-cars .content-wrap div#sorts {
        margin-top: 0;
    }
    .term-cars .top-right-items {
        margin-top: -20px;
    }
    .term-cars .custom_filter_section {
        margin-top: -20px;
    }
    .term-cars .custom_filter_section {
        margin-top: 0;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-cars .top-left-categories-filters {
        max-width: 22%;
        margin-top: 0;
        min-height: 135px;
    }
    .term-cars .filters-wrap h2 {
        margin-top: -40px !important;
        font-size: 16px;
    }
    .term-cars .custom_filter_section {
        margin-top: -5px;
    }
    .term-cars .content-wrap div#sorts {
        margin-top: 0;
    }
    .term-cars .page-title .entry-title-wrap {
        padding: 0 0;
    }
    .term-cars .categories-container ul {
        margin-top: -10px;
        padding-bottom: 5px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .term-cars .top-left-categories-filters {
        margin-top: 0;
    }
    .term-cars .filters-wrap h2 {
        margin-top: -80px;
        font-size: 18px;
    }
    .term-cars .content-wrap div#sorts {
        margin-top: -8px;
    }
     .term-cars .categories-container ul {
        margin-top: -10px;
        padding-bottom: 5px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation:landscape) {   /* targeting mobile devices when displays on pc and mobile are different */
    .term-cars .top-left-categories-filters {
        max-width: 25.5%;
        margin-left: 0 !important;
        margin-top: 0;
    }
    .term-cars .filters-wrap h2 {
        font-size: 16px;
        margin-top: -80px;
    }
    .term-cars .content-wrap div#sorts {
        margin-top: -8px;
    }
    .term-cars .categories-container ul {
        margin-top: -10px;
        padding-bottom: 5px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-cars .top-left-categories-filters {
        margin-top: 20px;
    }
    .term-cars .filters-wrap h2 {
        margin-top: 25px;
        font-size: 18px;
    }
    .term-cars div#sorts {
        margin-top: 20px;
    }
}
@media (min-width: 969px) {
    .term-cars .top-left-categories-filters {
        max-width: 22.5%;
        margin-top: 25px;
    }
    .term-cars .filters-wrap h2 {
        margin-top: -15px;
        font-size: 20px;
    }
    .term-cars div#sorts {
        margin-top: 22px;
    }
    .term-cars .top-right-items {
        margin-top: 0;
    }
}

@media (max-width:497px) {
    .term-cars-for-rent .top-left-categories-filters {
        margin-bottom: 20px;
        margin-top: 20px;
        min-height: 230px;
    }
    .term-cars-for-rent .content-wrap div#sorts {
        margin-top: 0;
    }
    .term-cars-for-rent .custom_filter_section {
        margin-top: -5px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-cars-for-rent .top-left-categories-filters {
        max-width: 22.5%;
        margin-top: -10px;
        min-height: 290px;
    }
    .term-cars-for-rent .content-wrap div#sorts {
        margin-top: 10px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .term-cars-for-rent .top-left-categories-filters {
        margin-top: -5px;
    }
    .term-cars-for-rent .content-wrap div#sorts {
        margin-top: -10px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation: landscape) {   /* targeting mobile devices when displays on pc and mobile are different */
    .term-cars-for-rent .top-left-categories-filters {
        max-width: 25.5%;
        margin-left: 0 !important;
        margin-top: 10px;
    }
    .term-cars-for-rent .filters-wrap h2 {
        margin-top: -70px;
        font-size: 20px;
    }
    .term-cars-for-rent .content-wrap div#sorts {
        margin-top: 5px;
    }
}
@media (min-width:754px) and (max-width:768px) {
    .term-cars-for-rent .custom_filter_section {
        margin-top: -40px;
    }
    .term-cars-for-rent .filters-wrap h2 {
        margin-top: -60px;
    }
    .term-cars-for-rent .content-wrap div#sorts {
        margin-top:  -12px;
    }
    .term-cars-for-rent .top-left-categories-filters {
        margin-top: -8px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-cars-for-rent .top-left-categories-filters {
        max-width: 20.5%;
        margin-top: 20px;
    }
    .term-cars-for-rent .filters-wrap h2 {
        margin-top: 20px;
        font-size: 20px;
    }
    .term-cars-for-rent div#sorts {
        margin-top: 20px;
    }
}
@media (min-width: 969px) {
    .term-cars-for-rent .top-left-categories-filters {
        max-width: 23.5%;
        margin-top: 25px;
    }
    .term-cars-for-rent div#sorts {
        margin-top: 22px;
    }
    .term-cars-for-rent .top-right-items {
        margin-top: 0;
    }
}
@media (min-width: 641px) {
    .term-cars-for-rent .top-left-categories-filters {
        margin-bottom: -60px;
    }
}
@media (max-width:497px) {
    .term-cars-for-sale .custom_catlist .content.filters {
        margin-top: -25px !important;
        margin-bottom: 0 !important;
    }
    .term-cars-for-sale .top-left-categories-filters {
        margin-bottom: 10px;
        margin-top: 20px;
        min-height: 295px;
    }
    .term-cars-for-sale .filters-wrap {
        margin-top: -5px;
    }
    .term-cars-for-sale .top-right-items div#left-sorts {
        margin-top: -12px;
    }
    .term-cars-for-sale .filters-wrap h2 {
        font-size: 14px;
        margin-top: -3px;
        margin-bottom: 30px;
    }
    .term-cars-for-sale div#sorts {
        margin-top: 5px;
    }
    .term-cars-for-sale .content-wrap div#sorts {
        margin-top: -7px;
    }
    .term-cars-for-sale .custom_filter_section {
        margin-top: -15px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-cars-for-sale .top-left-categories-filters {
        max-width: 22.5%;
        margin-top: -25px;
        margin-bottom: 60px;
        min-height: 300px;
    }
    .term-cars-for-sale .top-right-items div#left-sorts {
        margin-top: 10px;
    }
    .lang-km .term-cars-for-sale .filters-wrap h2 {
        margin-top: -48px;
    }
    .term-cars-for-sale .content-wrap div#sorts {
        margin-top: -3px;
    }
    .lang-km .term-cars-for-sale .content-wrap div#sorts {
        margin-top: 5px;
    }
    .term-cars-for-sale .custom_filter_section {
        margin-top: -10px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .term-cars-for-sale .top-left-categories-filters {
        margin-top: -25px;
    }
    .term-cars-for-sale .top-right-items div#left-sorts {
        margin-top: -8px;
    }
    .term-cars-for-sale .filters-wrap h2 {
        margin-top: -80px;
    }
    .lang-km .term-cars-for-sale .filters-wrap h2 {
        margin-top: -77px;
    }
    .term-cars-for-sale .content-wrap div#sorts {
        margin-top: -27px;
    }
    .lang-km .term-cars-for-sale .content-wrap div#sorts {
        margin-top: -20px;
    }
}
@media (min-width:641px) and (max-width:753px) {
    .lang-km .term-cars-for-sale .content-wrap div#sorts {
        margin-top: -15px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation: landscape) {   /* targeting mobile devices */
    .term-cars-for-sale .top-left-categories-filters {
        max-width: 25.5%;
        margin-left: 0 !important;
        margin-top: -10px;
    }
    .term-cars-for-sale div#item_sections {
        margin-top: 25px;
    }
    .term-cars-for-sale .top-right-items div#left-sorts {
        margin-top: -14px;
    }
    .term-cars-for-sale .filters-wrap h2 {
        margin-top: -80px;
    }
    .lang-km .term-cars-for-sale .filters-wrap h2 {
        margin-top: -77px;
    }
    .term-cars-for-sale .content-wrap div#sorts {
        margin-top: -27px;
    }
    .lang-km .term-cars-for-sale .content-wrap div#sorts {
        margin-top: -20px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-cars-for-sale .top-left-categories-filters {
        max-width: 20.5%;
        margin-top: 0;
    }
    /* To center All New Used sorters */
    .term-cars-for-sale .pull-left {
        margin-top: 17px;
        width: 100%;
    }
    .term-cars-for-sale .left-sort-value {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    /* End of To center All New Used sorters */
    .term-cars-for-sale .filters-wrap h2 {
        margin-top: 0;
        font-size: 20px;
    }
    .lang-km .term-cars-for-sale .filters-wrap h2 {
        margin-top: 8px;
    }
    .term-cars-for-sale .pull-right {
        margin-top: 22px;
    }
    .term-cars-for-sale div#sorts {
        margin-top: 60px;
    }
    .lang-km .term-cars-for-sale div#sorts {
        margin-top: 70px;
    }
}
@media (min-width: 969px) {
    .term-cars-for-sale .top-left-categories-filters {
        max-width: 22.5%;
        margin-top: 0;
    }
    /* To center All New Used sorters */
    .term-cars-for-sale .pull-left {
        margin-top: 17px;
        width: 100%;
    }
    .term-cars-for-sale .left-sort-value {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    /* End of To center All New Used sorters */
    .term-cars-for-sale .filters-wrap h2 {
        margin-top: -40px;
    }
    .lang-km .term-cars-for-sale .filters-wrap h2 {
        margin-top: -35px;
    }
    .term-cars-for-sale div#sorts {
        margin-top: 57px;
    }
    .lang-km .term-cars-for-sale div#sorts {
        margin-top: 68px;
    }
    .term-cars-for-sale .top-right-items {
        margin-top: 0;
    }
}
@media (min-width: 641px) {
    .term-cars-for-sale .top-left-categories-filters {
        margin-bottom: -60px;
    }
}

/* Colour of cars dropdown text */
.div1 #divselect {
    color: brown;
    font-weight: 500;
}

/* down arrow of custom filters on Cars category pages */
.custom_catlist .button-group {
    font-weight: 300;
    font-size: 14px;
    font-family: content;
}
@media (min-width:969px) and (max-width:1200px) {
    .custom_catlist .button-group {
        font-size: 15px;
    }
}
@media (min-width:1201px) {
    .custom_catlist .button-group {
        font-size: 16px;
    }
}
.c_any {
   font-weight: 300;
   font-family: content;
}
.c_any:after, .p_any:after, .fuel_type_any:after, .mileage_any:after, .e_any:after, .locations_any:after, .e_any:after {
   color: #9d9595;
   margin-left: 4px;
   content: "\f078";
   font-family: fontawesome;
   font-size: 9px;
}

.filter_box button {
    padding: 5px 5px;
}

/* END OF CUSTOM FILTERS & SORTERS FOR CARS CATEGORY */

/* CUSTOM FILTERS & SORTERS FOR PROPERTY CATEGORY */
.term-property .page-title .entry-title-wrap {
    display: none;
}
.term-property .categories-container ul {
        margin-top: 0;
}
@media (max-width:497px) {
    .term-property .page-title {
        display: none;
    }
    .term-property .categories-container ul {
        margin-top: -10px;
        padding-bottom: 5px;
    }
}
@media (min-width:498px) and (max-width:768px) {
    .term-property .categories-container ul {
        margin-top: -10px;
        padding-bottom: 5px;
    }
}
@media (min-width:498px) and (max-width:768px) and (orientation:landscape) {
    .term-property .categories-container ul {
        margin-top: -10px;
        padding-bottom: 5px;
    }
}
.term-property-for-rent .page-title .page-description {
    display: none;
}
.term-property-for-sale .page-title .page-description {
    display: none;
}
@media (max-width:497px) {
    .term-property .top-left-categories-filters {
        margin-top: 25px;
        margin-bottom: 20px;
        min-height: 72px;
    }
    .term-property .content-wrap div#sorts {
        margin-top: 0;
    }
    .term-property .custom_filter_section {
        margin-top: -10px;
    }
    .term-property .top-right-items {
        margin-top: -15px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-property .top-left-categories-filters {
        margin-top: 30px;
        margin-bottom: 80px;
        min-height: 72px;
    }
    .term-property .content-wrap div#sorts {
        margin-top: -25px;
    }
    .term-property .custom_filter_section {
        margin-top: -20px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .term-property .top-left-categories-filters {
        margin-top: 30px;
    }
    .term-property .content-wrap div#sorts {
        margin-top: 18px;
    }
    .term-property .custom_filter_section {
        margin-top: -10px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation: landscape) {
    .term-property .top-left-categories-filters {
        max-width: 25.5%;
        margin-left: 0;
        margin-top: 30px;
    }
    .term-property .top-right-items {
        margin-top: 10px;
    }
    .term-property .filters-wrap h2 {
        margin-top: -80px !important;
        font-size: 18px;
    }
    .term-property .content-wrap div#sorts {
        margin-top: 10px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-property .top-left-categories-filters {
        max-width: 20%;
        margin-top: 25px;
   /*     margin-bottom: -20px; */
    }
    .term-property .filters-wrap h2 {
        margin-top: 0;
        font-size: 20px;
    }
    .term-property .filters-wrap {
        margin-top: 20px;
    }
    .term-property div#sorts {  /* Sorter dropdown menu for div instead of select */
        margin-top: 20px;
    }
}
@media (min-width:969px) {
    .term-property .top-left-categories-filters {
        margin-left: 15px !important;
        max-width: 23%;
        margin-top: 25px;
    }
    .term-property div#sorts {
        margin-top: 22px;
    }
    .term-property .top-right-items {
        margin-top: 0;
    }
}
#elm-items-_ef8eaefd4b30e-main {
    margin-top: -30px;
}
@media (max-width:497px) {
    .term-property-for-rent .top-left-categories-filters {
        margin-top: 40px;
        margin-bottom: 40px;
        min-height: 126px;
    }
    .lang-km .term-property-for-rent .filters-wrap h2 {
        margin-top: -30px;
    }
    .term-property-for-rent .content-wrap div#sorts {
        margin-top: -10px;
    }
    .term-property-for-rent .top-right-items {
        margin-top: -15px;
    }
}
@media (min-width:0) and (max-width:497px) {     /* because this setting: @media (max-width:497px) not working for some reasons, but it works for property-for-sale */
    .term-property-for-rent .top-left-categories-filters {
        margin-top: 40px;
        margin-bottom: 40px;
        min-height: 127px;
    }
    .term-property-for-rent .filters-wrap h2 {
        margin-top: -60px;
    }
    .term-property-for-rent .content-wrap div#sorts {
        margin-top: -10px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-property-for-rent .top-left-categories-filters {
        max-width: 22.5%;
        margin-top: 12px;
        margin-bottom: 50px;
        min-height: 127px;
    }
    .term-property-for-rent .content-wrap div#sorts {
        margin-top: 8px;
    }
    .term-property-for-rent .custom_filter_section {
        margin-top: -10px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .term-property-for-rent .top-left-categories-filters {
        margin-top: 15px;
    }
    .term-property-for-rent .content-wrap div#sorts {
        margin-top: 10px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation: landscape) {
    .term-property-for-rent .top-left-categories-filters {
        margin-top: 15px;
    }
    .term-property-for-rent .filters-wrap h2 {
        margin-top: -60px;
        font-size: 18px;
    }
    .term-property-for-rent .content-wrap div#sorts {
        margin-top: 10px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-property-for-rent .top-left-categories-filters {
        margin-top: 40px;
    }
    .term-property-for-rent .filters-wrap h2 {
        margin-top: 40px;
        font-size: 20px;
    }
    .term-property-for-rent div#sorts {
        margin-top: 37px;
    }
}
@media (min-width:969px) {
    .term-property-for-rent .top-left-categories-filters {
        max-width: 23.5%;
        margin-top: 43px;
    }
    .term-property-for-rent div#sorts {
        margin-top: 20px;
    }
}
@media (min-width: 641px) {
    .term-property-for-rent .top-left-categories-filters {
        margin-bottom: -60px;
    }
}
@media (max-width:497px) {
    .term-property-for-sale .top-left-categories-filters {
        margin-top: 40px;
        margin-bottom: 8px;
        min-height: 127px;
    }
    .term-property-for-sale .content-wrap div#sorts {
        margin-top: 15px;
    }
    .term-property-for-sale .custom_filter_section {
        margin-top: -10px;
    }
    .term-property-for-sale .top-right-items {
        margin-top: -15px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-property-for-sale .top-left-categories-filters {
        margin-top: 15px;
        margin-bottom: 120px;
        min-height: 127px;
    }
    .term-property-for-sale .content-wrap div#sorts {
        margin-top: -50px;
    }
    .term-property-for-sale .custom_filter_section {
        margin-top: -45px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .term-property-for-sale .top-left-categories-filters {
        margin-top: 13px;
    }
    .term-property-for-sale .filters-wrap h2 {
        margin-top: -60px;
        font-size: 18px;
    }
    .term-property-for-sale .content-wrap div#sorts {
        margin-top: 10px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation: landscape) {   /* target mobile devices */
    .term-property-for-sale .top-left-categories-filters {
        max-width: 25.5%;
        margin-left: 0;
    }
    .term-property-for-sale .content-wrap div#sorts {
        margin-top: 10px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-property-for-sale .top-left-categories-filters {
        max-width: 21%;
    }
    .term-property-for-sale .filters-wrap h2 {
        margin-top: 40px;
        font-size: 20px;
    }
    .term-property-for-sale div#sorts {
        margin-top: 37px;
    }
}
@media (min-width:969px) {
    .term-property-for-sale .top-left-categories-filters {
        margin-top: 45px;
    }
    .term-property-for-sale div#sorts {
        margin-top: 20px;
    }
}
@media (min-width: 641px) {
    .term-property-for-sale .top-left-categories-filters {
        margin-bottom: -60px;
    }
}

/* down arrow of custom filters on Property category pages */
.c_all {
   font-weight: 300;
   font-family: content;
}

.c_all:after {
   color: #9d9595;
   margin-left: 4px;
   content: "\f078";
   font-family: fontawesome;
   font-size: 9px;
}

/* Space above & below AddToAny */
#elm-text-_eea8275b969b958-main {
    margin-top: -35px;
    margin-bottom: -20px;
}

/* Fixing Khmer font in Cars/Property or custom dropdown menu and Sorter dropdown list on Property & Cars category pages */
.div1 #divselect {
    height: 38px;
    padding-top: 5px;
    padding-bottom: 5px;
}
 .lang-km select {
    font-family: content;
}
/* End of Fixing Khmer font in Cars/Property or custom dropdown menu and Sorter dropdown list on Property & Cars category pages */

/* fixing shadow of custom filters' box */
.custom_catlist {
    background: none;
}
/* END OF CUSTOM FILTERS & SORTERS FOR PROPERTY CATEGORY */

/* fixing sorters (All New Used) not clickable in portrait position of mobile on Sale pages such Cars for sale and Motorbike for sale */



/* Fixing Featured sorters not clickable */
@media (max-width:497px)  {
.top-left-categories-filters {
    width: 100%;
    max-width: 100%;
    float: left;
    position: relative;
    margin-bottom: 0;
    margin-top: -5px;
    z-index: 111;
}
.custom_catlist .content.filters {  /* remove this css selector from individual custom pages to fix Featured sorter not clickable */
   float: left;
   width: 100%;
   padding: 0 !important;
   margin: 0 0 -20px 0 !important;     /* fixing Featured sorter not clickable; it was 40px in individual custom category page */  
}
.top-right-items {
    float: left;
    width: 100%;
    margin-top: -25px;      /* for all custom pages */
}
}
/* End of Fixing Featured sorters not clickable */

/* CUSTOM FILTERS FOR MOTORBIKES CATEGORY */
.term-motorbikes .page-title .entry-title-wrap {
    display: none;
}
.term-motorbikes .categories-container ul {
    padding-bottom: 5px;
    margin-top: 15px;
}
@media (min-width:754px) {
    .term-motorbikes .categories-container ul {
        margin-top: -10px;
        margin-bottom: -10px;
    }
}
@media (max-width:696px) {
    .term-motorbikes .categories-container ul {
        margin-top: -15px;
    }
}
@media (max-width:497px) { 
    .term-motorbikes .content-wrap div#sorts {
        margin-top: 0;
    }
    .term-motorbikes .top-left-categories-filters {
        margin-top: 25px;
        margin-bottom: 30px;
        min-height: 68px;
    }
    .term-motorbikes .page-title {
        margin-top: -20px;
    }
    .term-motorbikes .top-right-items {
        margin-top: -20px !important;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-motorbikes .top-left-categories-filters {
        max-width: 22.5%;
        margin-top: 30px;
        margin-bottom: 65px;
        min-height: 67px;
    }
    .term-motorbikes .content-wrap div#sorts {
        margin-top: 3px;
    }
    .term-motorbikes .page-title {
        margin-top: -30px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .term-motorbikes .top-left-categories-filters {
        max-width: 22%;
        margin-top: 5px;
    }
    .term-motorbikes .content-wrap div#sorts {
        margin-top: 18px;
    }
    .term-motorbikes .custom_filter_section {
        margin-top: -8px;
    }
     .term-motorbikes .page-title {
        margin-top: -60px;
    }
}
@media (min-width:641px) and (max-width:696px) {
    .term-motorbikes .page-title {
        margin-top: -30px;
    }
    .term-motorbikes .top-left-categories-filters {
        margin-top: 35px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation:landscape) {    /* target mobile devices */
    .term-motorbikes .top-left-categories-filters {
        max-width: 25%;
        margin-top: 0;
    }
    .term-motorbikes .filters-wrap h2 {
        margin-top: -50px;
    }
    .term-motorbikes .content-wrap div#sorts {
        margin-top: 18px;
    }
    .term-motorbikes .custom_filter_section {
        margin-top: -8px;
    }
    .term-motorbikes .categories-container ul {
        margin-top: 20px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-motorbikes .top-left-categories-filters {
        max-width: 20%;
        margin-top: 30px;
    }
    .term-motorbikes .filters-wrap h2 {
        margin-top: 25px;
    }
    .term-motorbikes .content-wrap div#sorts {
        margin-top: 20px;
    }
}
@media (min-width:969px) {
    .term-motorbikes .top-left-categories-filters {
        margin-top: 30px;
        max-width: 23%;
    }
    .term-motorbikes div#sorts {
        margin-top: 20px;
    }
    .term-motorbikes .top-right-items {
        margin-top: 0;
    }
}
@media (max-width:497px) {
    .term-motorbikes-for-rent .top-left-categories-filters {
        margin-top: 40px;
        margin-bottom: 20px;
        min-height: 178px;
    }
    .term-motorbikes-for-rent .archive .content-wrap div#sorts {
        margin-top: 0;
    }
    .term-motorbikes-for-rent .content-wrap div#sorts {
        margin-top: -10px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-motorbikes-for-rent .top-left-categories-filters {
        max-width: 22.5%;
        margin-top: 15px;
        margin-bottom: 55px;
        min-height: 179px;
    }
    .term-motorbikes-for-rent .filters-wrap h2 {
        margin-top: -27px;
    }
    .term-motorbikes-for-rent .content-wrap div#sorts {
        margin-top: 12px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .term-motorbikes-for-rent .top-left-categories-filters {
        margin-top: 15px;
    }
    .term-motorbikes-for-rent .filters-wrap h2 {
        margin-top: -60px;
    }
    .term-motorbikes-for-rent .content-wrap div#sorts {
        margin-top: 12px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation:landscape) {
    .term-motorbikes-for-rent .top-left-categories-filters {
        margin-top: 15px;
    }
    .term-motorbikes-for-rent .content-wrap div#sorts {
        margin-top: 10px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-motorbikes-for-rent .top-left-categories-filters {
        margin-top: 45px;
    }
    .term-motorbikes-for-rent .filters-wrap h2 {
        margin-top: 25px;
    }
    .term-motorbikes-for-rent .content-wrap div#sorts {
        margin-top: 40px;
    }
}
@media (min-width:981px) {
    .term-motorbikes-for-rent .top-right-items {
        margin-top: 0;
    }
    .term-motorbikes-for-rent div#sorts {
        margin-top: 20px;
    }
}
@media (min-width:969px) {
    .term-motorbikes-for-rent .top-left-categories-filters {
        max-width: 23.5%;
        margin-top: 20px;
    }
    .term-motorbikes-for-rent .filters-wrap h2 {
        margin-top: 0;
    }
}
@media (min-width:969px) and (max-width:980px) {
    .term-motorbikes-for-rent .filters-wrap h2 {
        margin-top: -15px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-motorbikes-for-rent .filters-wrap h2 {
        margin-top: 45px;
    }
}
@media (max-width:497px) {
    .term-motorbikes-for-sale .top-left-categories-filters {
        margin-top: 20px;
        margin-bottom: 20px;
        min-height: 178px;
    }
    .term-motorbikes-for-sale .content-wrap div#sorts {
        margin-top: 45px;
    }
    .term-motorbikes-for-sale .top-right-items {
        margin-top: -10px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .term-motorbikes-for-sale .top-left-categories-filters {
        max-width: 22.5%;
        margin-top: -10px;
        margin-bottom: 55px;
        min-height: 178px;
    }
    .term-motorbikes-for-sale .pull-left {
        margin-top: 10px;
    }
    .term-motorbikes-for-sale .custom_filter_section {
        margin-top: -5px;
    }
    .term-motorbikes-for-sale .content-wrap div#sorts {
        margin-top: 50px;
    }
    .lang-km .term-motorbikes-for-sale .content-wrap div#sorts {
        margin-top: 57px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .term-motorbikes-for-sale .top-left-categories-filters {
        margin-top: 12px;
    }
    .term-motorbikes-for-sale .pull-left {
        margin-top: 10px;
    }
    .term-motorbikes-for-sale .custom_filter_section {
        margin-top: -35px;
    }
    .term-motorbikes-for-sale .content-wrap div#sorts {
        margin-top: 50px;
    }
    .lang-km .term-motorbikes-for-sale .content-wrap div#sorts {
        margin-top: 57px;
    }
}
@media (min-width:641px) and (max-width:768px) and (orientation:landscape) {
    .term-motorbikes-for-sale .top-left-categories-filters {
        margin-top: 12px;
    }
    .term-motorbikes-for-sale .pull-left {
        margin-top: 10px;
    }
    .term-motorbikes-for-sale .filters-wrap h2 {
        margin-top: -80px;
    }
    .term-motorbikes-for-sale .custom_filter_section {
        margin-top: -35px;
    }
    .term-motorbikes-for-sale .content-wrap div#sorts {
        margin-top: 50px;
    }
}
@media (min-width:641px) and (max-width:753px) {
    .term-motorbikes-for-sale .top-left-categories-filters {
        margin-top: 12px;
    }
}
@media (min-width:769px) and (max-width:968px) {
    .term-motorbikes-for-sale .top-left-categories-filters {
        max-width: 20%;
        margin-top: 40px;
    }
    /* To center All New Used sorters */
    .term-motorbikes-for-sale .pull-left {
        margin-top: 45px;
        width: 100%;
    }
    .term-motorbikes-for-sale .left-sort-value {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    /* End of To center All New Used sorters */
    .term-motorbikes-for-sale .filters-wrap h2 {
        margin-top: -40px;
    }
    .term-motorbikes-for-sale div#sorts {
        margin-top: 85px;
    }
    .lang-km .term-motorbikes-for-sale div#sorts {
        margin-top: 95px;
    }
    .term-motorbikes-for-sale .filters-wrap {
        margin-top: 40px;
    }
}
@media (min-width:969px) {
    .term-motorbikes-for-sale .top-left-categories-filters {
        max-width: 23%;
        margin-top: 55px;
    }
    /* To center All New Used sorters */
    .term-motorbikes-for-sale .pull-left {
        margin-top: 42px;
        width: 100%;
    }
    .term-motorbikes-for-sale .left-sort-value {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    /* End of To center All New Used sorters */
    .term-motorbikes-for-sale div#sorts {
        margin-top: 85px;
    }
    .lang-km .term-motorbikes-for-sale div#sorts {
        margin-top: 95px;
    }
    .term-motorbikes-for-sale .top-right-items {
        margin-top: 0;
    }
}

/* END OF CUSTOM FILTERS FOR MOTORBIKES CATEGORY */

@media (min-width:498px) and (max-width:640px) {
    .custom_catlist .content.filters {
        margin-bottom: -20px;
    }
}

/* Custom filters' dropdown menu */
.filter_box button {      /* For Property dropdown menu after changing from <select> to <div> dropdown */
    font-weight:300;
    font-family: content;
}
@media (max-width:394px) {
    .filter_box button {
        font-weight: 300 !important;
        font-size: 11px;
    }    
}
@media (min-width:395px) and (max-width:421px) {
    .filter_box button {
        font-weight: 300 !important;
        font-size: 11px;
    }    
}
@media (min-width:422px) and (max-width:497px) {
    .filter_box button {
        font-weight: 300 !important;
        font-size: 11px;
    }
}
@media (min-width:498px) and (max-width:523px) {
    .filter_box button {      /* For Property dropdown menu after changing from <select> to <div> dropdown */
        font-size: 12px;
    }
}
@media (min-width:524px) and (max-width:570px){
    .filter_box button {
        font-size: 13px;
    }
}
@media (min-width:571px) and (max-width:640px){
    .filter_box button.button {
        font-size: 13px;
    }
    .filter_box button {
        font-size: 13px;
    }
}
@media (min-width:641px) and (max-width:768px){
    .filter_box button.button {
        font-size: 13px;
    }
    .filter_box button {
        font-size: 13px;
    }
}
@media (min-width:769px) {
    .filter_box button.button {
        font-size: 13px;
    }
    .filter_box button {
        font-size: 14px;
    }
    .lang-km .filter_box button.button {
        padding: 3px 5px;
        font-size: 13px;
    }
}

@media (max-width:497px) {
    .property_filter {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    padding-left: 5px !important;
    padding-right: 9px !important;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .property_filter {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    padding-left: 5px !important;
    padding-right: 8px !important;
    }
}
@media (min-width:641px) and (max-width:685px) {
    .filter_box, .c_filter_box {
    padding-left: 5px;
    padding-right: 2px;
    }
    .property_filter {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    padding-left: 5px !important;
    padding-right: 10px !important;
    }
}
@media (min-width:686px) and (max-width:824px) {
    .filter_box, .c_filter_box {
    padding-left: 5px;
    padding-right: 0;
    }
    .property_filter {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    padding-left: 5px !important;
    padding-right: 10px !important;
    }
}
@media (min-width:825px) and (max-width:860px) {
    .filter_box, .c_filter_box {
    padding-left: 8px;
    padding-right: 2px;
    }
    .property_filter {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    padding-left: 5px !important;
    padding-right: 9px !important;
    }
}
@media (min-width:861px) and (max-width:940px) {
    .filter_box, .c_filter_box {
    padding-left: 8px;
    padding-right: 0;
    }
    .property_filter {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    padding-left: 5px !important;
    padding-right: 9px !important;
    }
}
@media (min-width:941px) and (max-width:968px) {
    .filter_box, .c_filter_box {
    padding-left: 9px;
    padding-right: 0;
    }
    .property_filter {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    padding-left: 5px !important;
    padding-right: 9px !important;
    }
}
@media (min-width:969px) and (max-width:1060px) {
    .filter_box, .c_filter_box {
    padding-left: 10px;
    padding-right: 2px;
    }
    .property_filter {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    padding-left: 5px !important;
    padding-right: 9px !important;
    }
}
@media (min-width:1061px) and (max-width:1211px) {
    .filter_box, .c_filter_box {
    padding-left: 10px;
    padding-right: 0;
    }
    .property_filter {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    padding-left: 5px !important;
    padding-right: 9px !important;
    }
}
@media (min-width:1212px) {
    .filter_box, .c_filter_box {
    padding-left: 12px;
    padding-right: 0;
    }
}
.block10 {  /* For Property dropdown menu after changing from <select> to <div> dropdown */
    margin-bottom: 0 !important;
    color: brown;
}
/* End of Custom filters' dropdown menu */

/* button font - use  .filter_box to set font size for both Eng and Khmer - see above */
.lang-en_US .button {
    font-family: Roboto;
}
.lang-km .button {
    font-family: content;
}
.lang-en_US .filter_box button {
    font-family: Roboto;
}
.lang-km .filter_box button {
    font-family: content;
}
.filter_box button:visited {
    background-color: #35cbc9;
}
.filter_box button:hover {
    background-color: #a9a9a9;
    color: white;
}
.filter_box button:active {
    background-color: #35cbc9;
    color: white;
}
.lang-en_US .custom_catlist .button-group {
    font-family: Roboto;
    font-weight: 500;
}
.lang-km .custom_catlist .button-group {
    font-family: content;
    font-weight: 500;
}
.lang-en_US .filters-wrap h2 {
    font-family: Roboto !important;
}
.lang-km .filters-wrap h2 {
    font-family: content !important;
}
@media (min-width:422px) and (max-width:497px) {
    .lang-en_US .button {
        font-size: 13px !important;
    }
    .lang-km .button {
        font-size: 13px !important;
    }
}
@media (min-width:498px) and (max-width:500px) {
    .lang-en_US .button {
        font-size: 11px !important;
    }
    .lang-km .button {
        font-size: 11px !important;
    }
}
@media (min-width:501px) and (max-width:523px) {
    .lang-en_US .button {
        font-size: 11px !important;
    }
    .lang-km .button {
        font-size: 12px !important;
    }
}
@media (min-width:524px) and (max-width:570px) {
    .lang-en_US .button {
        font-size: 11px !important;
    }
    .lang-km .button {
        font-size: 11px !important;
    }
}
@media (min-width:571px) and (max-width:640px) {
    .lang-en_US .button {
        font-size: 12px !important;
    }
    .lang-km .button {
        font-size: 12px !important;
    }
}

/* Remove social icons from item single page */
.social-container {
    display: none !important;
}

/* Item title in Widget on Sidebar */
.widget-container a {
    font-size: 15px;
    color: black;
    font-weight: bold;
}
.footer-widgets a {
    font-size: 14px !important;
    font-weight: 400 !important;
}
.widget-content .tptn_posts {
    width: 100% !important;
}
#secondary-right .widget-container .widget-title h3 {   /* Sidebar with custom category */
    padding-left: 8px !important;
    padding-right: 8px !important;
    text-align: center !important;
}
@media (min-width:498px) and (max-width:669px) {
    #secondary-right .widget-container .widget-title h3 {
        font-size: 16px;
    }
    .widget-content .tptn_posts a {
        font-size: 13px;
    }
}
@media (min-width:670px) and (max-width:768px) {
    #secondary-right .widget-container .widget-title h3 {
        font-size: 18px;
    }
     .widget-content .tptn_posts a {
        font-size: 14px;
    }
}
@media (min-width:641px) {
.right-sidebar .sidebar-right-area {    /* Sidebar without custom category */
    padding-top: 30px;
    margin-top: 0;
}
}
.single-ait-item .main-sections > .elm-main:first-child, .single-ait-item.right-sidebar .elements-sidebar-wrap {
    padding-top: 30px;
}

#secondary-right #author_special_cat .widget .company_logo {
    text-align: center;
    background: #f7f7f7;
}
#secondary-right #author_special_cat .widget .company_info {
    padding-left: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
    background: #f7f7f7;
    margin-top: -30px;
 /*   height: 96px; */
}
#secondary-right #author_special_cat .widget .company_info .author_contacts .author_phone a, #secondary-right #author_special_cat .widget .company_info .author_contacts .author_email a, #secondary-right #author_special_cat .widget .company_info .author_contacts .author_web a {
    font-weight: 300;
}
#secondary-right #author_special_cat .widget .company_info .author_name {
    text-transform: capitalize;
    color: black;       /* #35cbc9; */
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.widget-container {
    margin-bottom: 50px;
}
#secondary-right .widget-container .widget-title h3 {
    margin-top: -30px !important;
}

.categories-container ul.column-4 li {
    list-style: none;
}
.categories-container.custom_catlist ul li {
    list-style: none;
}

/* Hide search form on mobile portait */
@media (max-width:640px) {
    .header-layout {
        display: none;
    }
    .single .column-grid, .single .elm-content-main .map-container {
        display: none;
    }
}

/* CONTACT BUTTON MENU */
.entry-content .contact_buttons {
        display: block;
        width: 100%;
        position: fixed;
        bottom: 47px;
        z-index: 99;
}
.entry-content .contact_buttons .btn.phone {
  width: 33.33%;
  background-color: #f6e9e9;
  border: none;
  padding: 10px 16px;       /* Original size: 12px 16px */
  font-size: 16px;
  cursor: pointer;
  margin-right: -5px;

  border-right-style: solid;
  border-right-color: white;
}
.entry-content .contact_buttons .btn.phone:hover {
  background-color: #dbd8e3;
}
.entry-content .contact_buttons .btn.message {
  width: 33.33%;
  background-color: #f6e9e9;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
  margin-right: -5px;

  border-right-style: solid;
  border-right-color: white;
}
.entry-content .contact_buttons .btn.message:hover {
  background-color: #dbd8e3;
}
.entry-content .contact_buttons .btn.chat {
  width: 33.33%;
  background-color: #f6e9e9;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
  margin-right: -5px;
}
.entry-content .contact_buttons .btn.chat:hover {
  background-color: #dbd8e3;
}
.entry-content .contact_buttons a {
    color: black;
}
.entry-content .contact_buttons a:hover {
    color: black;
}

@media (max-width:411px) {
    .entry-content .contact_buttons .btn.phone {
      font-size: 13px;
    }
    .entry-content .contact_buttons .btn.message {
      font-size: 13px;
    }
    .entry-content .contact_buttons .btn.chat {
      font-size: 13px;
    }
    .entry-content .contact_buttons .btn.phone .fa, .fas {
        font-size: 16px;
    }
    .entry-content .contact_buttons .btn.message .fa, .fas {
        font-size: 16px;
    }
    .entry-content .contact_buttons .btn.chat .fa, .fas {
        font-size: 16px;
    }
}
@media (min-width:412px) and (max-width:430px) {
    .entry-content .contact_buttons .btn.phone {
      font-size: 14px;
    }
    .entry-content .contact_buttons .btn.message {
      font-size: 14px;
    }
    .entry-content .contact_buttons .btn.chat {
      font-size: 14px;
    }

    .entry-content .contact_buttons .btn.phone .fa, .fas {
        font-size: 17px;
    }
    .entry-content .contact_buttons .btn.message .fa, .fas {
        font-size: 17px;
    }
    .entry-content .contact_buttons .btn.chat .fa, .fas {
        font-size: 17px;
    }
}
@media (min-width:431px) and (max-width:449px) {
    .entry-content .contact_buttons .btn.phone {
      font-size: 15px;
    }
    .entry-content .contact_buttons .btn.message {
      font-size: 15px;
    }
    .entry-content .contact_buttons .btn.chat {
      font-size: 15px;
    }

    .entry-content .contact_buttons .btn.phone .fa, .fas {
        font-size: 18px;
    }
    .entry-content .contact_buttons .btn.message .fa, .fas {
        font-size: 18px;
    }
    .entry-content .contact_buttons .btn.chat .fa, .fas {
        font-size: 18px;
    }
}
@media (min-width:450px) and (max-width:550px) {
    .entry-content .contact_buttons .btn.phone {
      font-size: 16px;
    }
    .entry-content .contact_buttons .btn.message {
      font-size: 16px;
    }
    .entry-content .contact_buttons .btn.chat {
      font-size: 16px;
    }

    .entry-content .contact_buttons .btn.phone .fa, .fas {
        font-size: 19px;
    }
    .entry-content .contact_buttons .btn.message .fa, .fas {
        font-size: 19px;
    }
    .entry-content .contact_buttons .btn.chat .fa, .fas {
        font-size: 19px;
    }
}
@media (min-width:551px) and (max-width:640px) {
    .entry-content .contact_buttons .btn.phone {
      font-size: 17px;
    }
    .entry-content .contact_buttons .btn.message {
      font-size: 17px;
    }
    .entry-content .contact_buttons .btn.chat {
      font-size: 17px;
    }

    .entry-content .contact_buttons .btn.phone .fa, .fas {
        font-size: 20px;
    }
    .entry-content .contact_buttons .btn.message .fa, .fas {
        font-size: 20px;
    }
    .entry-content .contact_buttons .btn.chat .fa, .fas {
        font-size: 20px;
    }
}

@media (max-width:318px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 31.4%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 31.4%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 31.4%;
    }
}
@media (min-width:319px) and (max-width:321px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 31.2%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 31.2%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 31.2%;
    }
}
@media (min-width:322px) and (max-width:324px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.9%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.9%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.9%;
    }
}
@media (min-width:325px) and (max-width:327px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.6%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.6%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.6%;
    }
}
@media (min-width:328px) and (max-width:329px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.4%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.4%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.4%;
    }
}
@media (min-width:330px) and (max-width:332px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.1%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.1%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.1%;
    }
}
@media (min-width:333px) and (max-width:335px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 29.9%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 29.9%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 29.9%;
    }
}
@media (min-width:336px) and (max-width:343px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 29.6%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 29.6%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 29.6%;
    }
}
@media (min-width:344px) and (max-width:351px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 29.7%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 29.7%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 29.7%;
    }
}
@media (min-width:352px) and (max-width:369px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 29.8%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 29.8%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 29.8%;
    }
}
@media (min-width:370px) and (max-width:380px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 29.9%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 29.9%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 29.9%;
    }
}

@media (min-width:381px) and (max-width:391px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30%;
    }
}
@media (min-width:392px) and (max-width:400px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.1%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.1%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.1%;
    }
}
@media (min-width:401px) and (max-width:415px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.2%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.2%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.2%;
    }
}
@media (min-width:416px) and (max-width:442px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.4%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.4%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.4%;
    }
}
@media (min-width:443px) and (max-width:457px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.5%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.5%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.5%;
    }
}
@media (min-width:458px) and (max-width:471px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.6%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.6%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.6%;
    }
}
@media (min-width:472px) and (max-width:490px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.7%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.7%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.7%;
    }
}
@media (min-width:491px) and (max-width:509px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.8%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.8%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.8%;
    }
}
@media (min-width:510px) and (max-width:529px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 30.9%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 30.9%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 30.9%;
    }
}
@media (min-width:530px) and (max-width:551px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 31%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 31%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 31%;
    }
}
@media (min-width:552px) and (max-width:575px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 31.1%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 31.1%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 31.1%;
    }
}
@media (min-width:576px) and (max-width:601px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 31.2%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 31.2%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 31.2%;
    }
}
@media (min-width:602px) and (max-width:630px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 31.3%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 31.3%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 31.3%;
    }
}


@media (min-width:631px) and (max-width:640px) {
    .entry-content .contact_buttons .btn.phone {
        max-width: 31.4%;
    }
    .entry-content .contact_buttons .btn.message {
        max-width: 31.4%;
    }
    .entry-content .contact_buttons .btn.chat {
        max-width: 31.4%;
    }
}
@media (min-width:641px) {
    .entry-content .contact_buttons {
        display: none;
    }
    #elm-text-_e11fd3fae4e43e-main {
        display: none;
    }
}
/* END 0F CONTACT BUTTON MENU */

/* FOOTER MENU */

/* END OF FOOTER MENU */

/* TOGGLE MAIN MENU */
@media (max-width:640px) {
    .main-nav-wrap .menu-toggle {
        line-height: 30px;
        font-size: 20px;
    }
 /*   .main-nav-wrap .menu-toggle {
        display: none; 
    }                          need to place a language switcher along Logo first before hiding Toggle menu  */
}
/* END OF TOGGLE MAIN MENU */

#elm-text-_e177240551e667-main {
    background-color: #F3F3F3;
    border: 1px solid #CDDFF0;
    padding: 0 15px 15px 15px;
    margin-top: 10px;
    border-radius: 5px;
}
#elm-text-_ee9062c86fa39f8-main {
    background-color: #fafafa;
    border: 1px solid #CDDFF0;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
}
#elm-text-_e7f2873e95626c-main, #elm-text-_e3004f97c3fa4f-main {
    background-color: #fafafa;
    border: 1px solid #CDDFF0;
    padding: 0 20px 20px 20px;
    margin-top: 10px;
    border-radius: 5px;
}
#elm-text-_e7f2873e95626c-main {
    background-color: #F3F3F3;
}
#elm-text-_e500ea0eb1c7a18-main {
    background-color: #fafafa;
    border: 1px solid #CDDFF0;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;   
}
#elm-text-_e3004f97c3fa4f-main {
    background-color: #F3F3F3;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 0;
}
.rmagic .rmcontent.rm-login-wrapper .rm_forgot_pass {
    margin-bottom: -40px;
}
.rmagic .rmcontent.rm-login-wrapper {
    max-width: 100%;
}
@media (max-width:768px) {
    #elm-text-_e500ea0eb1c7a18-main {
        margin-top: 20px;
    }
}
#elm-text-_e3004f97c3fa4f-main .rmagic .rm-thirdp-login-button-wrap {
    margin-bottom: -15px;
}

/* KM Register/login page */
#elm-text-_ee2ccf1fd09f68-main {
    background-color: #F3F3F3;
    border: 1px solid #CDDFF0;
    padding: 0 15px 15px 15px;
    margin-top: 10px;
    border-radius: 5px;
}
#elm-text-_e6efca1c7c75c1-main {
    background-color: #fafafa;
    border: 1px solid #CDDFF0;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px; 
}
@media (max-width:768px) {
    #elm-text-_e6efca1c7c75c1-main, #elm-text-_ee9062c86fa39f8-main {
        margin-top: 20px !important;
    }
}
#elm-text-_eb0661024464fe8-main {
    background-color: #F3F3F3;
    border: 1px solid #CDDFF0;
    padding: 0 15px 15px 15px;
    margin-top: 10px;
    border-radius: 5px;
}
#elm-text-_e78eed3597be128-main {
    background-color: #fafafa;
    border: 1px solid #CDDFF0;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px; 
}
#elm-text-_ec2fc29846400e8-main {
    background-color: #F3F3F3;
    border: 1px solid #CDDFF0;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;    
}
@media (max-width:768px) {
    #elm-text-_e78eed3597be128-main {
        margin-top: 20px;
    }
}
#elm-text-_ec2fc29846400e8-main .rmagic .rm-thirdp-login-button-wrap {
    margin-top: -15px;
}

#elm-testimonials-_e2e08ffb336e8f8-main, #elm-testimonials-_e531471629cd8c8-main, #elm-testimonials-_e44af4f439b6d5-main, #elm-testimonials-_ec34a5453f297b-main {
    margin-top: 30px;
}
#elm-columns-_ecaf6eb19c5a3b8-main, #elm-columns-_e61abbfa1ec6c18-main {
    margin-top: 0;
}
#elm-taxonomy-list-_e24bdca73dab5a-main, #elm-taxonomy-list-_e4a280b09025768-main, #elm-taxonomy-list-_edde5f3a0f6f228-main, #elm-taxonomy-list-_e75f49c31f02c9-main {
    padding: 15px 10px 15px 10px;
}

@media (max-width:640px) {
    #elm-columns-_ee69cc81c337568-main, #elm-columns-_ef09b691592575-main, #elm-taxonomy-list-_edde5f3a0f6f228-main, #elm-columns-_ea42cfcdc0ae7c8-main, .footer-widgets, #elm-columns-_edd7886f1297c-main {
        display: none;
    }
}
/* END of ACCOUNT, LOGIN AND REGISTER PAGES */

/* Styling Responsive Titles and Categories page */
@media (max-width:497px) {
    .lang-en_US h1, .lang-km h1 {
        margin-bottom: 15px !important;
    }
    #elm-text-_e4d2209dd581b68-main, #elm-text-_e5cc04f8c438688-main, #elm-text-_e6eb5556f8c33c-main {
        padding-top: 5px !important;
    }
    #elm-text-_e2ee3eef445773-main {
        padding-top: 5px !important;
        padding-bottom: 7px !important;
    }
    .elm-item-organizer .layout-box .item-text {
        display: none;
    }
}

#elm-columns-_ef45447efcc22d8-main h5, #elm-columns-_ec302a8629d32-main h5, #elm-columns-_e09fb3d510630e-main h5, #elm-columns-_eb8d8eb04f66be-main h5 {
    margin-bottom: 20px;
}

/* FIXING SINGLE ITEM PAGE */
@media (max-width:497px) {
    #ait-items-13 .content { /* search page and single item page */
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row !important;
        /*     align-items: center;  */    /* vertical center */
        justify-content: center;    /* horizontal center */
    }
}
/* Address box is 100% width */
.right-sidebar .elements-with-sidebar .column-grid-3 .column-span-2 {
    width: 100% !important;
    margin-right: 0 !important;
}
.single-ait-item .address-container {   /* Width of Address box on Single Item page - not working for 497px - 768px? */
    width: 100% !important;
}
/* Fixing #author_special_cat not being 100% widht of sidebar */
@media (max-width: 768px) {
    .sidebar-right-area .widget-container:nth-child(2n-1), .sidebar-left-area .widget-container:nth-child(2n-1) {
        margin-bottom: 35px;
    }
}
@media(min-width:769px) {
    .elements-sidebar-wrap .widget-container {
        float: none;
        width: 100%;
        clear: both;
        margin-bottom: 35px;
    }
}
@media (min-width:641px) and (max-width:980px) {
    .left-sidebar .sidebar-left-area, .right-sidebar .sidebar-right-area {
        display: block !important;  /* fixing mess of right sidebar due to default setting for flex */
        border: unset !important;
    }
    
}
@media (min-width:498px) and (max-width:768px) {
    .single-ait-item .main-sections > .elm-main:first-child, .single-ait-item.right-sidebar .elements-sidebar-wrap {
        padding-top: 0;
    }
}
/* END OF FIXING SINGLE ITEM PAGE */

/* Displaying the content of custom category pages between 498px and 640px in one column */
@media (min-width:498px) and (max-width:640px) {
    .archive .top-left-categories-filters {
        max-width: 96%;
    }
    .archive .top-right-items {
        width: 100%;
        max-width: 99.6%;
        margin-top: -55px;
    }
    div#sorts {
        margin-right: 5px !important;
    }
    .top-left-categories-filters .content.filters li.has-title.has-icon {
        width: 46%;
    }
    .archive #item_sections .item-location {
        display: inline-block;
    }
    .archive .items-container .layout-list .item .item-location p {
        max-width: 170px !important;
    }
}
/* End of Displaying the content of custom category pages between 498px and 640px in one column */

/* Responsive single item page: hide Address box of single item and its map, and show js map on sidebar */
.elements-sidebar-wrap #elm-content-6-main { padding-bottom: 15px }
@media (max-width:640px) {
    .elements-sidebar-wrap #elm-content-6-main { padding-bottom: 10px }
    .sidebar-right-area .widget-container:nth-child(2n), .sidebar-left-area .widget-container:nth-child(2n) {
        padding-top: 10px;
    }
}
@media (min-width:641px) {
    #map { display: none; }
    #secondary-right #author_special_cat .widget .company_info .author_contacts .author_email {
        display: none !important;
    }
    #secondary-right #author_special_cat .widget .company_info .author_contacts .author_web {
        display: none !important;
    }
    .elm-content-main .map-container { margin-top: -20px; }
}
@media (min-width:969px) {
    .elm-content-main .map-container { margin-top: 15px; }
    #elm-content-6-main .column-grid-3 .column-span-1 { display: none; }
}
.right-sidebar .elements-with-sidebar + section { padding-top: 0; }
/* Change Avatar user picture from square to circle - is set in individual sidebars dependent on customer requirements.
.avatar {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}
*/
@media (max-width:968px) {
    #secondary-right #author_special_cat .widget-title h3 { /* This category title comes from theme default codes */
        margin-top: -35px;
    }
}
@media (min-width:969px) {
    #secondary-right #author_special_cat .widget-title h3 {
        margin-top: -35px;
    }
}
#secondary-right #author_special_cat .widget-title h3 {
    color: #007cba !important;
}
#author_special_cat h3 {   /* This category title comes from theme default codes - disabled in php template of each custom and default sidebar */
    text-align: center;
    color: #A0732E;
    margin-bottom: 0;
}

#secondary-right #author_special_cat .widget .cat_icon {
    display: flex;
    flex-direction: row;
    margin-top: -30px;
    margin-bottom: 32px;
    background: #F7F7F7;
    padding: 8px 0 8px 8px;
    height: auto;
    align-items: center;
}
.widget-container a {
    order: 1;
    width: auto;
}
#author_special_cat #company_details {
    order: 2;
    width: 70%;
    padding-top: 8px;
}
@media (max-width:498px) {
    #secondary-right #author_special_cat .widget .cat_icon {
        display: block;
        padding: 8px 0 8px 8px;
    }
    .widget-container a {
        width: 100%;
    }
    #author_special_cat #company_details {
        width: 100%;
    }
    .widget-container .cat_icon a {
        text-align: center;
    }

    #author_special_cat .item-thumbnail-wrap img { 
        width: 80px;
        margin-top: 0px;
    }
    #author_special_cat h3 {
        font-size: 20px;
        margin-top: -8px;
    }
    #company_details .company_ads {
        text-align: center;
    }
    .widget-container .company_ads a {
        font-size: 14px;
        font-weight: 400;
        color: #E29F00;
    }
}
@media (min-width:498px) and (max-width:640px) {
    #author_special_cat .item-thumbnail-wrap img { 
        width: 90px;
        margin-top: 0px;
    }
    #author_special_cat h3 {
        font-size: 20px;
        margin-top: -8px;
    }
    #company_details .company_ads {
        text-align: center;
    }
    .widget-container .company_ads a {
        font-size: 15px;
        font-weight: 400;
        color: #E29F00;
    }
}

@media (min-width:641px) and (max-width:768px) {
    #secondary-right #author_special_cat .widget .cat_icon {
        display: block;
        padding: 8px 0 8px 8px;
    }
    .widget-container a {
        width: 100%;
    }
    #author_special_cat #company_details {
        width: 100%;
        padding-top: 0;
    }
    .widget-container .cat_icon a {
        text-align: center;
    }

    #author_special_cat .item-thumbnail-wrap img { 
        width: 80px;
        margin-top: 0px;
    }
    #author_special_cat h3 {
        font-size: 20px;
        margin-top: -8px;
    }
    #company_details .company_ads {
        text-align: center;
    }
    .widget-container .company_ads a {
        font-size: 13px;
        font-weight: 400;
        color: #E29F00;
    }
}
@media (min-width:769px) and (max-width:980px) {
    #author_special_cat .item-thumbnail-wrap img { 
        width: 80px;
        margin-top: 0px;
    }
    #author_special_cat h3 {
        font-size: 18px;
        margin-top: -8px;
    }
    #company_details .company_ads {
        text-align: center;
    }
    .widget-container .company_ads a {
        font-size: 12px;
        font-weight: 400;
        color: #E29F00;
    }
}
@media (min-width:981px) {
    #author_special_cat .item-thumbnail-wrap img { 
        width: 90px;
        margin-top: 0px;
    }
    #author_special_cat h3 {
        font-size: 20px;
        margin-top: -8px;
    }
    #company_details .company_ads {
        text-align: center;
    }
    .widget-container .company_ads a {
        font-size: 13px;
        font-weight: 400;
        color: #E29F00;
    }
}
.widget-container .company_ads a:hover {
    color: #004FEA;
}
#online {
    color: #2DD49A;
    margin-top: -5px;
    font-size: 14px;
}
#offline { color: #C60000;
    margin-top: -5px;
    font-size: 14px;
 }
 #author_special_cat .company_social {
    text-align: center;
    margin-top: 8px;
}
#author_special_cat .company_social .fab, .far {
    font-size: 18px;
    margin-top: 5px;
}
.company_social ul {
    padding: 0;
}
.single-ait-item .address-data p { /* fix large space between lines in Address box on Single Item page */
    margin: 0;
}
.social-icons-container ul {
    margin: 0;
}
.widget-container #company_details ul li {
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    text-align: center;
    width: 26px;
    border: 2px solid #528749; 
}

/* Post Views Counter on single item */
.ads-info .post-views { display: inline-block; }

.single .page-title h1 {
    font-weight: 600 !important;
    font-size: 26px !important;
    color: black;
    text-transform: capitalize;
}
.elm-items-main .layout-box .item .subtitle, .items-container .layout-box .item .subtitle, .elm-items-main .layout-list .item .item-title .subtitle, .items-container .layout-list .item .item-title .subtitle {
    font-size: 13px;
    color: #0778a4;
    font-weight: 400;
}
.single .page-title .entry-title-wrap .subtitle {
    padding-top: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #0778a4;
    padding-bottom: 5px;
}
@media (min-width: 769px) and (max-width: 980px) {
    .single .page-title h1 {
        font-size: 22px !important;
    }
    .single .page-title .entry-title-wrap .subtitle {
        font-size: 20px;
    }
}
@media (min-width: 641px) and (max-width: 768px) {
    .single .page-title h1 {
        font-size: 20px !important;
    }
    .single .page-title .entry-title-wrap .subtitle {
        font-size: 18px;
    }
}
@media (min-width: 498px) and (max-width: 640px) {
    .single .page-title h1 {
        font-size: 17px !important;
    }
    .single .page-title .entry-title-wrap .subtitle {
        font-size: 16px;
        padding-top: 0;
    }
}
@media (min-width: 421px) and (max-width: 497px) {
    .single .page-title h1 {
        font-size: 16px !important;
    }
    .single .page-title .entry-title-wrap .subtitle {
        font-size: 15px;
        padding-top: 0;
        padding-bottom: 10px;
    }
}
@media (min-width: 371px) and (max-width: 420px) {
    .single .page-title h1 {
        font-size: 14px !important;
    }
    .single .page-title .entry-title-wrap .subtitle {
        font-size: 13px;
        padding-top: 0;
        padding-bottom: 10px;
    }
}
@media (max-width: 370px) {
    .single .page-title h1 {
        font-size: 13px !important;
    }
    .single .page-title .entry-title-wrap .subtitle {
        font-size: 12px;
        padding-top: 0;
        padding-bottom: 10px;
    }
}
#secondary-right .widget-container .widget-title h3 {
    color: black;
}
.elm-items-main .layout-box .item.item-featured .item-box-content-wrap, .items-container .layout-box .item.item-featured .item-box-content-wrap, .elm-items-main .layout-list .item.item-featured, .items-container .layout-list .item.item-featured {
    background: #f3f2b1;
}
.lang-en_US .cat-tabs-menu a, .lang-en_US .categories-container li a .cat-ttl, .elm-taxonomy-list-main.layout-icon .item .item-title h3, .elm-items-main .layout-list .item .icon-label a, .items-container .layout-list .item .icon-label a {
    color: black;
}
.single a {
    color: #777777;
}
.single a:hover {
    color: #ff9c00;
}
#main .lang-km .cat-tabs-menu a, .lang-km .categories-container li a .cat-ttl {
    color: black;
}
.archive .page-title h1 {
    color: black;
    font-weight: 500 !important;
}
.archive .categories-container li a .cat-ttl {
    font-size: 20px;
    font-weight: 500;
}

/* Fixing height of item in a widget on right sidebar of the single item */
.widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
    height: 250px;
}
@media (min-width: 981px) and (max-width: 1099px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 220px;
    }
}
@media (min-width: 901px) and (max-width: 980px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 200px;
    }
}
@media (min-width: 801px) and (max-width: 900px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 180px;
    }
}
@media (min-width: 701px) and (max-width:800px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 160px;
    }
}
@media (min-width: 641px) and (max-width:700px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 150px;
    }
}
@media (min-width: 551px) and (max-width: 640px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 220px;
    }
}
@media (min-width: 498px) and (max-width: 550px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 200px;
    }
}
@media (min-width: 451px) and (max-width: 497px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 180px;
    }
}
@media (min-width: 421px) and (max-width: 450px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 170px;
    }
}
@media (min-width: 371px) and (max-width: 420px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 160px;
    }
}
@media (min-width: 350px) and (max-width: 370px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 150px;
    }
}
@media (max-width: 350px) {
    .widget_items .item-container a .thumb-icon img, .widget_newest_item .item-container a .thumb-icon img {
        height: 140px;
    }
}
/* End of Fixing height of item in a widget on right sidebar of the single item */

@media (max-width: 640px) {
    .column-grid-3 .column-span-1 {
        margin-top: 0 !important;
    }
    #elm-columns-_e448213d9c90168-main .column-grid-3 .column-span-1 {
        margin-top: 60px !important;
    }
}

/* Styling title on category pages */
@media (min-width: 769px) and (max-width: 980px) {
    .archive .categories-container li a .cat-ttl {
        font-size: 18px;
    }
}
@media (min-width: 641px) and (max-width: 768px) {
    .archive .categories-container li a .cat-ttl {
        font-size: 16px;
    }
    .archive .categories-container li img {
        max-width: 40px;
    }
}
@media (min-width: 498px) and (max-width: 640px) {
    .archive .categories-container li a .cat-ttl {
        font-size: 14px;
    }
    .archive .categories-container li img {
        max-width: 38px;
    }
}
@media (min-width: 421px) and (max-width: 497px) {
    .archive .categories-container li a .cat-ttl {
        font-size: 14px;
    }
    .archive .categories-container li img {
        max-width: 36px;
    }
}
@media (min-width: 361px) and (max-width: 420px) {
    .archive .categories-container li a .cat-ttl {
        font-size: 12px;
    }
    .archive .categories-container li img {
        max-width: 34px;
    }
}
@media (max-width: 360px) {
    .archive .categories-container li a .cat-ttl {
        font-size: 11px;
         padding-left: 3px;
    }
    .archive .categories-container li img {
        max-width: 32px;
    }
}
@media (max-width: 497px) {
    .archive .categories-container li a {
        padding-left: 10px;
    }
}

/* Fixing left widget on pages */
.left-sidebar .elements-with-sidebar:first-child .elements-sidebar-wrap {
    display: flex;
    flex-direction: row;
    padding-top: 30px;
}
.left-sidebar .elements-area {
    order: 2;
}
.left-sidebar .sidebar-left-area {
    order: 1;
}
@media (min-width: 641px) and (max-width: 980px) {
    .left-sidebar .sidebar-left-area {
        width: 35% !important;
        margin-right: 20px !important;
    }
}

.widget_items .layout-list .item-container h4, .widget_newest_item .layout-list .item-container h4 {
        padding: 0 8px 0 8px;
    }
@media (min-width: 641px) and (max-width: 768px) {
    .widget_items .layout-list .item-container h4, .widget_newest_item .layout-list .item-container h4 {
        padding: 0 5px 0 5px;
    }
}
@media (min-width: 498px) and (max-width: 640px) {
    #secondary-left .widget_items .item-container, .widget_newest_item .item-container {
        display: inline-block;
    }
    .widget_items .layout-list .item-container h4, .widget_newest_item .layout-list .item-container h4 {
        padding: 0 10px 0 10px;
    }
}
@media (min-width: 421px) and (max-width: 497px) {
    #secondary-left .widget_items .item-container, .widget_newest_item .item-container {
        display: inline-block;
    }
    .widget_items .layout-list .item-container h4, .widget_newest_item .layout-list .item-container h4 {
        padding: 0 5px 0 5px;
    }
}
@media (min-width: 370px) and (max-width: 420px) {
    #secondary-left .widget_items .item-container, .widget_newest_item .item-container {
        display: inline-block;
    }
    .widget_items .layout-list .item-container h4, .widget_newest_item .layout-list .item-container h4 {
        padding: 0 3px 0 3px;
    }
}
@media (min-width: 321px) and (max-width: 370px) {
    #secondary-left .widget_items .item-container, .widget_newest_item .item-container {
        display: inline-block;
    }
    .widget_items .layout-list .item-container h4, .widget_newest_item .layout-list .item-container h4 {
        padding: 0 2px 0 2px;
    }
}
@media (max-width: 320px) {
    #secondary-left .widget_items .item-container, .widget_newest_item .item-container {
        display: inline-block;
    }
    .widget_items .layout-list .item-container h4, .widget_newest_item .layout-list .item-container h4 {
        padding: 0 2px 0 2px;
    }
}
#elm-text-_e76b1e9b2ec7818-main h1, #elm-text-_e23fee988ab2418-main h1  {
    margin-bottom: 10px;
}
@media (max-width:768px) {
    #elm-text-_e190da7cc7d4ab-main, #elm-text-_ef598713c7c3ad8-main, #elm-text-_e68eeea371486e8-main, #elm-text-_e5d7a92479eeac8-main {
        padding-top: 10px !important;
    }
    #elm-text-_eec964e1d9dcde-main {
        padding-top: 8px !important;
    }
    #elm-text-_e49cb6ccd812a4-main, #elm-text-_ea7b0f2c61c5e5-main, #elm-text-_e71854e8b90ad9-main {
        padding-top: 15px !important;
    }
}
@media (max-width: 640px) {
    .left-sidebar .elements-with-sidebar:first-child .elements-sidebar-wrap {
        display: flex;
        flex-direction: column !important;
        padding-top: 0;
        margin-top: -20px;
    }
    #secondary-left .content {
        display: flex !important;
        flex-wrap: wrap;
        flex-direction: row;
        /* align-items: center; */
        justify-content: center;
    }
    #secondary-left .widget_items .item-container, .widget_newest_item .item-container {
        width: 48.5% !important;
        margin-right: 1.5% !important;
        padding: 0 !important;
    }
    .left-sidebar .elements-area {
        order: 1 !important;
    }
    .left-sidebar .sidebar-left-area {
        order: 2 !important;
    }
    .elements-sidebar-wrap #elm-text-_e76b1e9b2ec7818-main {
        margin-top: 1px;
        padding-top: 10px;
    }
    .elements-sidebar-wrap #elm-text-_e6d2f3c5bfe884-main {
        margin-top: -19px;
        margin-bottom: 20px;
        padding-top: 10px;
    }
    .elements-sidebar-wrap #elm-text-_e8010dc065e2c1-main {
        margin-top: 21px;
        margin-bottom: 20px;
        padding-top: 10px;
    }
    .elements-sidebar-wrap #elm-text-_e7ab58aa101626-main {
        margin-bottom: 20px;
        margin-top: 21px;
        padding-top: 10px;
    }
    .elements-sidebar-wrap #elm-text-_e465c8d120f0888-main {
        margin-bottom: 20px;
        margin-top: -19px;
        padding-top: 10px;
    }
    .elements-sidebar-wrap #elm-text-_e97ec9f5fd14768-main {
        padding-top: 10px;
    }
    .elements-sidebar-wrap #elm-text-_e23fee988ab2418-main, .elements-sidebar-wrap #elm-text-_e5027a5fea2a4a-main, .elements-sidebar-wrap #elm-text-_ea8577bd526a-main, .elements-sidebar-wrap #elm-text-_e222712e5e9906-main {
        margin-top: 21px;
    }
    .elements-sidebar-wrap #elm-text-_e72f7b258d6bc1-main {
        margin-top: -19px;
    }
    .lang-en_US h1, .lang-km h1 {
        margin-bottom: 0px !important;
        margin-top: -5px;
        font-size: 20px;
    }
}
.page #author_special_cat, .page #map {
    display: none;
}
.entry-content > ul, .entry-content > ul ul, .entry-content-wrap > ul, .entry-content-wrap > ul ul {
    list-style: disc;
    margin-left: 20px;
}
.entry-content > ul li, .entry-content-wrap > ul li {
    padding-left: 5px;
}
.entry-content > ul li:before, .entry-content-wrap > ul li:before {
    background: none;
}

/* Netend Social Login/Register plugin */
div.nsl-container .nsl-button-default div.nsl-button-label-container {
    text-align: left !important;
    padding: 15px 24px 15px 12px !important;
}

/* Ajax Search Pro plugin */
.tax-ait-items .asp_w {
    display: none !important;
}
@media (max-width: 640px) {
    #ajaxsearchpro3_1, #ajaxsearchpro3_2, div.asp_m.asp_m_3 {
        top: 20px !important;
    }
    .search .page-title h1 {
        font-size: 18px;
    }
    .lang-en_US .search-no-results #content h1, .lang-km .search-no-results #content h1 {
        font-size: 20px;
        margin-top: 40px;
        margin-bottom: -60px !important;
        font-size: 16px;
    }
}
@media (min-width:641px) {
    .asp_w {
        display: none !important;
    }
}

/* Post Views Counter in Widget */
#post_views_counter_list_widget-2 .widget-content img, #post_views_counter_list_widget-3 .widget-content img {
    width: 100%;
    height: 250px;
}
#post_views_counter_list_widget-2 a, #post_views_counter_list_widget-3 a {
        display: block;
        width: auto;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding: 0 8px;
        font-size: 14px;
        text-transform: capitalize;
    }
@media (min-width: 981px) and (max-width: 1099px) {
    #post_views_counter_list_widget-2 .widget-content img, #post_views_counter_list_widget-3 .widget-content img {
        height: 220px;
    }
}
@media (min-width: 901px) and (max-width: 980px) {
    #post_views_counter_list_widget-2 .widget-content img, #post_views_counter_list_widget-3 .widget-content img {
        height: 200px;
    }
}
@media (min-width: 801px) and (max-width: 900px) {
    #post_views_counter_list_widget-2 .widget-content img, #post_views_counter_list_widget-3 .widget-content img {
        height: 180px;
    }
}
@media (min-width: 701px) and (max-width:800px) {
    #post_views_counter_list_widget-2 .widget-content img, #post_views_counter_list_widget-3 .widget-content img {
        height: 160px;
    }
}
@media (min-width: 641px) and (max-width:700px) {
    #post_views_counter_list_widget-2 .widget-content img, #post_views_counter_list_widget-3 .widget-content img {
        height: 150px;
    }
}

#post_views_counter_list_widget-2 .widget-container a, #post_views_counter_list_widget-3 .widget-container a {
    display: block;
    text-align: center;
}
.elements-sidebar-wrap #post_views_counter_list_widget-2 .widget-content, .elements-sidebar-wrap #post_views_counter_list_widget-3 .widget-content,  .elm-widget-area-main #post_views_counter_list_widget-2 .widget-content, .elm-widget-area-main #post_views_counter_list_widget-3 .widget-content {
    padding: 0;
}
#post_views_counter_list_widget-2 .widget-content ul, #post_views_counter_list_widget-3 .widget-content ul {
    padding: 0;
    margin-top: 0;
    list-style: none;
}
#post_views_counter_list_widget-2 .widget-content ul li, #post_views_counter_list_widget-3 .widget-content ul li {
    list-style: none;
    text-align: center;
    margin-bottom: 15px;
}
@media (max-width:640px) {
    #post_views_counter_list_widget-2 .widget-content ul, #post_views_counter_list_widget-3 .widget-content ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
    }
    #post_views_counter_list_widget-2 .widget-content ul li, #post_views_counter_list_widget-3 .widget-content ul li {
        width: 48.5%;
        margin-right: 1.5%;
        padding: 0;
        height: auto;
        list-style: none;
        display: inline-block;
        text-align: center;
    }
    #post_views_counter_list_widget-2 .widget-content img, #post_views_counter_list_widget-3 .widget-content img {
        width: 100%;
        height: 160px;
    }
    #post_views_counter_list_widget-2 .widget-container a, #post_views_counter_list_widget-3 .widget-container a {
        display: block;
        text-align: center;
    }
    #post_views_counter_list_widget-2 a, #post_views_counter_list_widget-3 a {
        font-size: 13px;
        text-transform: capitalize;
    }
    .elements-sidebar-wrap #post_views_counter_list_widget-2 .widget-content, .elements-sidebar-wrap #post_views_counter_list_widget-3 .widget-content, .elm-widget-area-main #post_views_counter_list_widget-2 .widget-content, .elm-widget-area-main #post_views_counter_list_widget-3 .widget-content {
        padding: 0;
    }
}
@media (max-width:497px) {
    #post_views_counter_list_widget-2 .widget-content img, #post_views_counter_list_widget-3 .widget-content img {
        width: 100%;
        height: 140px;
    }
}

/* PHP Code Widget for Social Sharing */
#follow-us {
    display: flex;
    list-style: none;
}
.execphpwidget .fab, .execphpwidget .far {
    font-size: 32px;
}
.execphpwidget ul li {
    margin: 0 10px 0 0;
}
@media (min-width:641px) and (max-width:768px) {
    .execphpwidget .fab, .execphpwidget .far {
        font-size: 30px;
    }
}

/* Fixing KM location icons on all categories page */
.elm-taxonomy-list-main .layout-box.img-type-image.img-size-small .item-thumbnail .item-thumbnail-wrap {
    width: 80px;
    height: 80px;
}
.elm-item-organizer .item a .item-thumbnail img {
    width: 100%;
    height: 100%;
}

.elm-main .elm-mainheader.align-center {
    margin-bottom: -7px;
}
.single .ads-info {
    margin-bottom: 20px;
}
.single .entry-content p {
    margin-bottom: -2px;
}

/* FIXING DEFAULT DISPLAY OF THEME'S CATEGORY PAGE USED BY COMPANIES WITHOUT OWN PAGES - .archive is reserved h2 on companies' page */
@media (min-width: 969px) {
    .archive .filters-wrap h2 {
        margin-top: 15px;
    }
    .term-cars .filters-wrap h2 {
        margin-top: -15px;
    }
    .archive #elm-content-4-main {
        margin-top: -35px;
        padding-bottom: 20px;
    }
    .term-services .filters-wrap h2, .term-computers-parts .filters-wrap h2, .term-education .filters-wrap h2, .term-electronics .filters-wrap h2, .term-farming .filters-wrap h2, .term-food-drink .filters-wrap h2, .term-home-appliances .filters-wrap h2, .term-jobs .filters-wrap h2, .term-phones-tablets .filters-wrap h2, .term-shopping .filters-wrap h2, .term-travel .filters-wrap h2 {
        margin-top: -20px;
        font-size: 20px;
    }
    .term-property .filters-wrap h2 {
        margin-top: -15px;
    }
    .term-property-for-rent .filters-wrap h2 {
        margin-top: -15px;
    }
    .term-property-for-sale .filters-wrap h2 {
        margin-top: -15px;
    }
    .term-cars-for-rent .filters-wrap h2 {
        margin-top: -15px;
    }
    .term-cars-for-sale .filters-wrap h2 {
        margin-top: -40px;
    }
    .term-property-for-rent #elm-content-4-main {
        margin-top: -15px;
    }
    .term-property-for-sale #elm-content-4-main {
        margin-top: -20px;
        padding-bottom: 20px;
    }
    .term-motorbikes .filters-wrap h2 {
        margin-top: -15px;
    }
    .term-motorbikes-for-rent #elm-content-4-main {
        padding-bottom: 20px;
        margin-top: 0;
    }
    .term-motorbikes-for-sale .filters-wrap h2 {
        margin-top: -35px;
    }
    .lang-km .term-motorbikes-for-sale .filters-wrap h2 {
        margin-top: -30px;
    }
    .tax-ait-locations .filters-wrap h2 {
        margin-top: 15px;
    }
    .tax-ait-locations .filters-wrap .filters-container {
        margin-top: 20px;
    }
    .term-motorbikes-for-rent .filters-wrap h2 {
        margin-top: -15px;
    }
    .term-motorbikes-for-rent .content-wrap div#sorts {
        margin-top: 17px;
    }
    .term-motorbikes-for-rent #item_sections .items-container.elm-item-organizer {
        margin-top: -5px;
    }
}
@media (min-width: 769px) and (max-width: 968px) {
    .term-services .filters-wrap h2, .term-computers-parts .filters-wrap h2, .term-education .filters-wrap h2, .term-electronics .filters-wrap h2, .term-farming .filters-wrap h2, .term-food-drink .filters-wrap h2, .term-home-appliances .filters-wrap h2, .term-jobs .filters-wrap h2, .term-phones-tablets .filters-wrap h2, .term-shopping .filters-wrap h2, .term-travel .filters-wrap h2 {
        float: left;
        font-size: 18px;
        margin-top: 40px;
    }
    .archive .filters-wrap .filters-container {
        float: right;
        margin-top: 43px;
    }
    .term-services .filters-container, .term-computers-parts .filters-container, .term-education .filters-container, .term-electronics .filters-container, .term-farming .filters-container, .term-food-drink .filters-container, .term-home-appliances .filters-container, .term-jobs .filters-container, .term-phones-tablets .filters-container, .term-shopping .filters-container, .term-travel .filters-container {
        float: right;
        margin-top: 20px;
    }
    .tax-ait-locations .filters-wrap h2 {
        margin-top: 18px;
    }
    .tax-ait-locations .filters-wrap .filters-container {
        margin-top: 20px;
    }
}
@media (min-width: 641px) and (max-width: 768px) {
    .archive .filters-wrap h2 {
        float: left;
        font-size: 16px;
        margin-right: 10px;
        margin-top: -30px;
    }
    .term-cars .filters-wrap h2 {
        margin-top: -80px;
    }
    .term-services .filters-wrap h2, .term-computers-parts .filters-wrap h2, .term-education .filters-wrap h2, .term-electronics .filters-wrap h2, .term-farming .filters-wrap h2, .term-food-drink .filters-wrap h2, .term-home-appliances .filters-wrap h2, .term-jobs .filters-wrap h2, .term-phones-tablets .filters-wrap h2, .term-shopping .filters-wrap h2, .term-travel .filters-wrap h2 {
        float: left;
        font-size: 16px;
        margin-right: 10px;
        margin-top: -60px;
    }
    .archive .filters-wrap .filters-container {
        float: right;
        margin-right: 0;
        margin-top: -25px;
        margin-bottom: 15px;
    }
    .term-services .filters-wrap .filters-container, .term-computers-parts .filters-wrap .filters-container, .term-education .filters-wrap .filters-container, .term-electronics .filters-wrap .filters-container, .term-farming .filters-wrap .filters-container, .term-food-drink .filters-wrap .filters-container, .term-home-appliances .filters-wrap .filters-container, .term-jobs .filters-wrap .filters-container, .term-phones-tablets .filters-wrap .filters-container, .term-shopping .filters-wrap .filters-container, .term-travel .filters-wrap .filters-container {
        float: right;
        margin-right: 0;
        margin-top: -5px;
        margin-bottom: 5px;
    }
    .term-cars-for-rent .filters-wrap h2 {
        float: left;
        font-size: 16px;
        margin-right: 10px;
        margin-top: -80px;
    }
    .term-cars-for-sale .filters-wrap h2 {
        margin-top: -80px;
    }
    .term-property .filters-wrap h2 {
        margin-top: -50px !important;
        font-size: 18px;
    }
    .term-property-for-rent .filters-wrap h2 {
        margin-top: -60px;
        font-size: 18px;
    }
    .term-property-for-sale .filters-wrap h2 {
        margin-top: -60px;
        font-size: 18px;
    }
    .term-motorbikes .filters-wrap h2 {
        margin-top: -50px;
    }
    .term-motorbikes-for-rent .filters-wrap h2 {
        margin-top: -60px;
    }
    .term-motorbikes-for-sale .filters-wrap h2 {
        margin-top: -80px;
    }
    .tax-ait-locations .filters-wrap h2 {
        margin-top: -10px;
    }
    .tax-ait-locations .filters-wrap .filters-container {
        margin-top: -10px;
    }
}
@media (min-width: 498px) and (max-width: 640px) {
    .archive .filters-wrap h2 {
        float: left !important;
        font-size: 16px;
        margin-right: 10px;
        margin-top: 0;
    }
    .term-services .filters-wrap h2, .term-computers-parts .filters-wrap h2, .term-education .filters-wrap h2, .term-electronics .filters-wrap h2, .term-farming .filters-wrap h2, .term-food-drink .filters-wrap h2, .term-home-appliances .filters-wrap h2, .term-jobs .filters-wrap h2, .term-phones-tablets .filters-wrap h2, .term-shopping .filters-wrap h2, .term-travel .filters-wrap h2 {
        float: left !important;
        font-size: 16px;
        margin-right: 10px;
        margin-top: -30px;
    }
    .elm-item-organizer-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .elm-items-main .layout-list .item, .items-container .layout-list .item .ago {
        display: none;
    }
    .term-services #item_sections span.ago, .term-computers-parts #item_sections span.ago, .term-education #item_sections span.ago, .term-electronics #item_sections span.ago, .term-farming #item_sections span.ago, .term-food-drink #item_sections span.ago, .term-home-appliances #item_sections span.ago, .term-jobs #item_sections span.ago, .term-phones-tablets #item_sections span.ago, .term-shopping #item_sections span.ago, .term-travel #item_sections span.ago {
        display: none;
    }
    .page-title .entry-header-left {
        padding: 0;
        margin: 0;
    }
    .term-cars-for-rent .filters-wrap h2 {
        margin-top: -28px;
        font-size: 16px;
    }
    .term-cars-for-sale .filters-wrap h2 {
        margin-top: -50px;
        margin-bottom: 30px;
        font-size: 16px;
    }
    .term-property .filters-wrap h2 {
        margin-top: -60px;
    }
    .term-property-for-rent .filters-wrap h2 {
        margin-top: -25px;
    }
    .term-property-for-sale .filters-wrap h2 {
        margin-top: -90px;
    }
    .term-motorbikes .filters-wrap h2 {
        margin-top: -40px;
    }
    .term-motorbikes-for-rent .elm-content-main .filters-wrap {
        margin-top: 15px;
    }
    .term-motorbikes-for-sale .filters-wrap h2 {
        margin-top: -50px;
    }
    .term-phones-tablets .top-right-items {
        width: 100%;
        max-width: 99.6%;
        margin-top: -55px;
    }
    .tax-ait-locations .filters-wrap h2 {
        margin-top: 0;
    }
    .term-motorbikes-for-sale #elm-content-4-main {
        padding-bottom: 20px;
        margin-top: 20px;
    }
}
@media (max-width: 497px) {
    .archive .filters-wrap h2 {
        float: left;
        font-size: 14px;
        margin-top: 0;
    }
    .term-services .filters-wrap h2, .term-computers-parts .filters-wrap h2, .term-education .filters-wrap h2, .term-electronics .filters-wrap h2, .term-farming .filters-wrap h2, .term-food-drink .filters-wrap h2, .term-home-appliances .filters-wrap h2, .term-jobs .filters-wrap h2, .term-phones-tablets .filters-wrap h2, .term-shopping .filters-wrap h2, .term-travel .filters-wrap h2 {
        float: left;
        font-size: 14px;
        margin-top: -30px;
    }
    .elm-item-organizer-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .elm-items-main .layout-list .item, .items-container .layout-list .item .ago {
        display: none;
    }
    .term-services #item_sections span.ago, .term-computers-parts #item_sections span.ago, .term-education #item_sections span.ago, .term-electronics #item_sections span.ago, .term-farming #item_sections span.ago, .term-food-drink #item_sections span.ago, .term-home-appliances #item_sections span.ago, .term-jobs #item_sections span.ago, .term-phones-tablets #item_sections span.ago, .term-shopping #item_sections span.ago, .term-travel #item_sections span.ago {
        display: none;
    }
    .page-title .entry-header-left {
        padding: 0;
        margin-top: -20px;
    }
    .term-cars-for-rent .filters-wrap h2 {
        margin-top: -42px;
        margin-bottom: 25px;
        font-size: 14px;
    }
    .term-cars .filters-wrap h2 {
        margin-top: -40px;
        font-size: 14px;
    }
    .term-property .filters-wrap h2 {
        margin-top: -35px;
    }
    .term-property-for-rent .filters-wrap h2 {
        margin-top: -30px;
    }
    .term-property-for-rent .filters-wrap {
        margin-top: 20px;
    }
    .term-property-for-sale .filters-wrap h2 {
        margin-top: -20px;
        margin-bottom: 20px;
    }
    .term-motorbikes .filters-wrap h2 {
        margin-top: -40px;
    }
    .term-motorbikes-for-rent .filters-wrap h2 {
        margin-top: -45px;
    }
    .term-motorbikes-for-sale .filters-wrap h2 {
        margin-top: -50px;
    }
    .tax-ait-locations .filters-wrap h2 {
        margin-top: 0;
    }
    .term-motorbikes-for-sale #elm-content-4-main {
        padding-bottom: 20px;
        margin-top: 0;
    }
}
.term-services #elm-content-4-main, .term-computers-parts #elm-content-4-main, .term-education #elm-content-4-main, .term-electronics #elm-content-4-main, .term-farming #elm-content-4-main, .term-food-drink #elm-content-4-main, .term-home-appliances #elm-content-4-main, .term-jobs #elm-content-4-main, .term-phones-tablets #elm-content-4-main, .term-shopping #elm-content-4-main, .term-travel #elm-content-4-main {
    margin-top: -20px;
    padding-bottom: 20px;
}
.term-cars-for-rent #elm-content-4-main, .term-cars-for-sale #elm-content-4-main {
   margin: 0 0;
}
@media (min-width:754px) and (max-width:768px) {
    .term-cars-for-rent #elm-content-4-main, .term-cars-for-sale #elm-content-4-main {
       margin-top: -20px;
    }
}
/* END OF FIXING DEFAULT DISPLAY OF THEME'S CATEGORY PAGE USED BY COMPANIES WITHOUT OWN PAGES - .archive is reserved h2 on companies' page */

@media (min-width:1101px) {
.search .elm-items-main .layout-box .item a .item-thumbnail-wrap, .search .elm-items-main .layout-box .item a .item-thumbnail-wrap img, .search .items-container .layout-box .item a .item-thumbnail-wrap, .search .items-container .layout-box .item a .item-thumbnail-wrap img {
    width: 100%;
    height: 250px;
    }
}
@media (min-width:981px) and (max-width:1100px) {
    .search .elm-items-main .layout-box .item a .item-thumbnail-wrap, .search .elm-items-main .layout-box .item a .item-thumbnail-wrap img, .search .items-container .layout-box .item a .item-thumbnail-wrap, .search .items-container .layout-box .item a .item-thumbnail-wrap img {
    width: 100%;
    height: 220px;
    }
}
@media (min-width:769px) and (max-width:980px) {
    .search .elm-items-main .layout-box .item a .item-thumbnail-wrap, .search .elm-items-main .layout-box .item a .item-thumbnail-wrap img, .search .items-container .layout-box .item a .item-thumbnail-wrap, .search .items-container .layout-box .item a .item-thumbnail-wrap img {
    width: 100%;
    height: 200px;
    }
}
@media (min-width:641px) and (max-width:768px) {
    .search .elm-items-main .layout-box .item a .item-thumbnail-wrap, .search .elm-items-main .layout-box .item a .item-thumbnail-wrap img, .search .items-container .layout-box .item a .item-thumbnail-wrap, .search .items-container .layout-box .item a .item-thumbnail-wrap img {
    width: 100%;
    height: 180px;
    }
}
@media (min-width:498px) and (max-width:640px) {
    .search .elm-items-main .layout-box .item a .item-thumbnail-wrap, .search .elm-items-main .layout-box .item a .item-thumbnail-wrap img, .search .items-container .layout-box .item a .item-thumbnail-wrap, .search .items-container .layout-box .item a .item-thumbnail-wrap img {
    width: 100%;
    height: 160px;
    }
}
@media (max-width:497px) {
    .search .elm-items-main .layout-box .item a .item-thumbnail-wrap, .search .elm-items-main .layout-box .item a .item-thumbnail-wrap img, .search .items-container .layout-box .item a .item-thumbnail-wrap, .search .items-container .layout-box .item a .item-thumbnail-wrap img {
    width: 100%;
    height: 140px;
    }
}
.elm-items-main.elm-item-organizer .layout-box .item, .items-container.elm-item-organizer .layout-box .item {
    margin-bottom: 0;
}

.entry-content ol.guide_guide {
    list-style-type: decimal;
}
.entry-content .user_guide img {
    width: 100%;
    height: auto;
}
a {
    color: #5485BF;
}

/* CUSTOM FILTERS FOR VAN & TRUCKS CATEGORY */
.term-vans-trucks .page-title .entry-title-wrap {
    display: none;
}
@media (min-width: 969px) {
    .term-vans-trucks .categories-container {
        margin-bottom: -20px;
    }
    .term-vans-trucks .filters-wrap h2 {
        margin-top: -10px;
    }
    .term-trucks-for-rent #elm-content-4-main {
        margin-top: -25px;
    }
    .term-trucks-for-rent .filters-wrap h2 {
        margin-top: -10px;
    }
    .term-trucks-for-rent .top-left-categories-filters {
        max-width: 22%;
    }
    .term-trucks-for-sale #elm-content-4-main {
        margin-top: -20px;
    }
    .term-trucks-for-sale .top-right-items {
        margin-top: 20px;
        margin-top: 35px;
    }
    .term-trucks-for-sale .filters-wrap h2 {
        margin-top: -25px;
    }
    .term-trucks-for-sale div#sorts {
        margin-top: 50px;
    }
    .term-trucks-for-sale .top-left-categories-filters {
        max-width: 22%;
    }
    .term-vans-trucks .top-left-categories-filters {
        margin-left: 15px;
        max-width: 23%;
    }
    .lang-km .term-vans-trucks .categories-container {
        padding-bottom: 30px;
    }
    .lang-km .term-vans-trucks .categories-container .grid-main .content {
        padding-top: 0;
    }
}
@media (min-width: 769px) and (max-width: 968px) {
    .term-vans-trucks .categories-container {
        margin-top: -10px;
        margin-bottom: -20px;
        padding-bottom: 10px;
    }
    .term-vans-trucks .filters-wrap h2 {
        margin-top: 45px;
    }
    .term-trucks-for-rent #elm-content-4-main {
        margin-top: -22px;
    }
    .term-trucks-for-rent .filters-wrap h2 {
        margin-top: 45px;
    }
    .term-trucks-for-rent .top-left-categories-filters {
        max-width: 20%;
    }
    .term-trucks-for-sale .pull-left {
        margin-top: 35px;
    }
    .term-trucks-for-sale .top-left-categories-filters {
        max-width: 20%;
    }
    .term-trucks-for-sale .filters-wrap h2 {
        margin-top: 15px;
    }
    .term-trucks-for-sale div#sorts {
        margin-top: 85px;
    }
    .term-vans-trucks .top-left-categories-filters {
        max-width: 20%;
    }
    .lang-km .term-vans-trucks .categories-container {
        padding-bottom: 30px;
    }
}
@media (min-width: 641px) and (max-width: 768px) {
    .term-vans-trucks .categories-container {
        margin-top: -30px;
        margin-bottom: 10px;
        padding-bottom: 20px;
    }
    .term-vans-trucks .categories-container .grid-main .content {
        padding-top: 0;
    }
    .term-vans-trucks .filters-wrap h2 {
        margin-top: -60px;
    }
    .term-trucks-for-rent .filters-wrap h2 {
        margin-top: -60px;
    }
    .term-trucks-for-sale .filters-wrap h2 {
        margin-top: -80px;
    }
    .term-trucks-for-sale .content-wrap div#sorts {
        margin-top: 40px;
    }
    .term-trucks-for-sale .custom_filter_section {
        margin-top: -35px;
    }
    .term-trucks-for-sale .top-left-categories-filters {
        max-width: 21%;
        margin-left: 15px;
    }
    .term-vans-trucks .top-left-categories-filters {
        max-width: 22%;
        margin-left: 15px;
    }
    .lang-km .term-vans-trucks .categories-container {
        padding-bottom: 40px;
    }
}
@media (min-width: 754px) and (max-width: 768px) {
    .term-trucks-for-rent .top-left-categories-filters {
        max-width: 25% !important;
        margin-left: 0;
    }
}
@media (min-width: 641px) and (max-width: 753px) {
    .term-trucks-for-rent .top-left-categories-filters {
        max-width: 23% !important;
        margin-left: 10px;
    }
}
@media (min-width: 498px) and (max-width: 640px) {
    .term-vans-trucks .categories-container {
        margin-top: -30px;
        margin-bottom: 0;
        padding-bottom: 20px;
    }
    .term-vans-trucks .categories-container .grid-main .content {
        padding-top: 0;
    }
    .term-vans-trucks .filters-wrap h2 {
        margin-top: -40px;
    }
    .term-vans-trucks .content-wrap div#sorts {
        margin-top: 0;
    }
    .term-trucks-for-rent .top-left-categories-filters {
        margin-top: 0;
        margin-bottom: 60px;
        min-height: 228px;
    }
    .term-trucks-for-rent .filters-wrap h2 {
        margin-top: -30px;
    }
    .term-trucks-for-sale .top-right-items {
        margin-top: 10px;
    }
    .term-trucks-for-sale .filters-wrap h2 {
        margin-top: -48px;
    }
    .term-trucks-for-sale .content-wrap div#sorts {
        margin-top: 42px;
    }
    .lang-km .term-vans-trucks .categories-container {
        padding-bottom: 40px;
    }
}
@media (max-width: 497px) {
    .term-vans-trucks .categories-container {
        margin-bottom: -30px;
        margin-top: -20px;
        padding-bottom: 15px;
    }
    .term-vans-trucks .categories-container .grid-main .content {
        margin-top: -15px;
    }
    .term-vans-trucks .filters-wrap h2 {
        margin-top: -40px;
    }
    .term-vans-trucks .content-wrap div#sorts {
        margin-top: 3px;
    }
    .term-trucks-for-rent .top-left-categories-filters {
        margin-top: 30px;
        min-height: 228px;
    }
    .term-trucks-for-rent .filters-wrap h2 {
        margin-top: -25px;
    }
    .term-trucks-for-sale .pull-left {
        margin-top: 10px;
    }
    .term-trucks-for-sale .filters-wrap h2 {
        margin-top: -50px;
    }
    .term-trucks-for-sale .content-wrap div#sorts {
        margin-top: 55px;
    }
    .term-trucks-for-sale .elm-item-organizer-container {
        margin-top: -5px;
    }
    .lang-km .term-vans-trucks .categories-container {
        padding-bottom: 40px;
    }
}

/* End of CUSTOM FILTERS FOR VAN & TRUCKS CATEGORY */

/* Social Superlizer */
ul.the_champ_login_ul {
    display: flex;
    flex-direction: column;
}
ul.the_champ_login_ul li {
    margin-top: 5px !important;
}
div.the_champ_login_container i.theChampFacebookBackground {
    width: 50% !important;
    border: 1px blue solid;
    border-radius: 4px;
}
@media (max-width: 980px) {
    div.the_champ_login_container i.theChampFacebookBackground {
        width: 70% !important;
    }
}
.theChampGoogleBackground {
    width: 50% !important;
    background: lightgrey;
    border: 1px green solid;
    border-radius: 4px;
}
@media (max-width: 980px) {
    .theChampGoogleBackground {
        width: 70% !important;
    }
}
.theChampGoogleLoginSvg {
    background-size: 30px !important;
}
/* End of Social Superlizer */
/* Fix category icon list on homepage when its value has been changed in Page Builder */
.elm-taxonomy-list-main.layout-icon .item-box {
  width: 150px !important;
}

/* Not displaying author's box and embedded map on Location page */
.tax-ait-locations #secondary-right #author_special_cat .widget .author_details, .tax-ait-locations #map {
  display: none;
}
/* Infinite Scrolls plugin and default navigation */
.search-results .items-container ~ .nav-single.pagination-below {
    display: none;
}
.sb-infinite-scroll-load-more a {
  margin-top: 20px;
}
.nav-single .nav-previous a, .nav-single .nav-next a, .nav-pagination .nav-previous a, .nav-pagination .nav-next a {
    min-width: 10px;
}
.nav-single .nav-previous a, .nav-single .nav-next a, .nav-single .page-numbers, .nav-pagination .nav-previous a, .nav-pagination .nav-next a, .nav-pagination .page-numbers {
    background: #dddddd;
    color: #666666;
}
.nav-single .current, .nav-pagination .current {
    background: #5f87ae;
    color: #ffffff;
}
.nav-single a:hover, .nav-single .dots:hover {
    background: #8fc1e3 !important;
}
.nav-single .current:hover {
    background: #31708e !important;
}
.elm-search-form .submit-main-button:hover .searchsubmit2 {
    background: #5f6366 padding-box;
}
/* Fix hidden username field of NextEnd Pro */
body.page-id-8266 form#registerform div.digcon{
  display:block;
}

.single .addtoany_content {
    margin-top: 20px;
    margin-bottom: -10px;
}
.single .elements-sidebar-wrap .widget-container .widget-content {
  padding: 0;
  text-align: center;
}

/* Adjusting images on Single Item page */
.single-ait-item .item-gallery .gallery-slider .slider-items div {
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #0778a4;
}
.single-ait-item .item-gallery .gallery-aside h3 {
    display: none;
}
.single-ait-item .item-gallery .gallery-aside .navigation-list {
  text-align: center;
}
@media (min-width: 260px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 211px;
    }
}
@media (min-width: 339px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 213px;
    }
}
@media (min-width: 341px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 215px;
    }
}
@media (min-width: 345px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 217px;
    }
}
@media (min-width: 347px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 219px;
    }
}
@media (min-width: 349px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 221px;
    }
}
@media (min-width: 352px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 223px;
    }
}
@media (min-width: 355px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 225px;
    }
}
@media (min-width: 357px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 227px;
    }
}
@media (min-width: 361px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 229px;
    }
}
@media (min-width: 363px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 231px;
    }
}
@media (min-width: 365px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 233px;
    }
}
@media (min-width: 368px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 235px;
    }
}
@media (min-width: 371px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 237px;
    }
}
@media (min-width: 373px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 239px;
    }
}
@media (min-width: 377px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 243px;
    }
}
@media (min-width: 381px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 245px;
    }
}
@media (min-width: 381px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 247px;
    }
}
@media (min-width: 387px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 249px;
    }
}
@media (min-width: 389px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 251px;
    }
}
@media (min-width: 393px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 254px;
    }
}
@media (min-width: 396px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 256px;
    }
}
@media (min-width: 399px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 258px;
    }
}
@media (min-width: 401px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 260px;
    }
}
@media (min-width: 404px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 262px;
    }
}
@media (min-width: 406px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 264px;
    }
}
@media (min-width: 409px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 266px;
    }
}
@media (min-width: 412px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 268px;
    }
}
@media (min-width: 415px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 270px;
    }
}
@media (min-width: 417px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 272px;
    }
}
@media (min-width: 420px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 274px;
    }
}
@media (min-width: 422px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 276px;
    }
}
@media (min-width: 425px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 278px;
    }
}
@media (min-width: 428px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 280px;
    }
}
@media (min-width: 431px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 282px;
    }
}
@media (min-width: 433px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 284px;
    }
}

@media (min-width: 436px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 286px;
    }
}
@media (min-width: 438px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 288px;
    }
}
@media (min-width: 441px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 290px;
    }
}
@media (min-width: 444px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 292px;
    }
}
@media (min-width: 447px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 294px;
    }
}
@media (min-width: 449px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 296px;
    }
}
@media (min-width: 452px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 298px;
    }
}
@media (min-width: 454px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 300px;
    }
}
@media (min-width: 456px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 302px;
    }
}
@media (min-width: 460px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 304px;
    }
}
@media (min-width: 464px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 307px;
    }
}
@media (min-width: 467px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 309px;
    }
}
@media (min-width: 469px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 311px;
    }
}
@media (min-width: 473px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 313px;
    }
}
@media (min-width: 474px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 315px;
    }
}
@media (min-width: 477px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 316px;
    }
}
@media (min-width: 479px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 318px;
    }
}
@media (min-width: 481px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 320px;
    }
}
@media (min-width: 484px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 322px;
    }
}
@media (min-width: 486px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 324px;
    }
}
@media (min-width: 489px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 326px;
    }
}
@media (min-width: 492px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 328px;
    }
}
@media (min-width: 495px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 330px;
    }
}
@media (min-width: 498px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 332px;
    }
}
@media (min-width: 500px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 334px;
    }
}
@media (min-width: 502px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 336px;
    }
}
@media (min-width: 505px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 338px;
    }
}
@media (min-width: 508px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 340px;
    }
}
@media (min-width: 512px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 343px;
    }
}
@media (min-width: 514px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 345px;
    }
}
@media (min-width: 517px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 347px;
    }
}
@media (min-width: 519px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 349px;
    }
}
@media (min-width: 522px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 351px;
    }
}
@media (min-width: 525px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 353px;
    }
}
@media (min-width: 528px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 355px;
    }
}
@media (min-width: 530px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 357px;
    }
}
@media (min-width: 533px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 360px;
    }
}
@media (min-width: 537px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 362px;
    }
}
@media (min-width: 540px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 364px;
    }
}
@media (min-width: 543px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 366px;
    }
}
@media (min-width: 545px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 368px;
    }
}
@media (min-width: 548px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 370px;
    }
}
@media (min-width: 550px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 372px;
    }
}
@media (min-width: 553px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 374px;
    }
}
@media (min-width: 556px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 376px;
    }
}
@media (min-width: 559px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 378px;
    }
}
@media (min-width: 561px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 380px;
    }
}
@media (min-width: 564px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 382px;
    }
}
@media (min-width: 566px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 384px;
    }
}
@media (min-width: 569px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 386px;
    }
}
@media (min-width: 572px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 388px;
    }
}
@media (min-width: 575px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 390px;
    }
}
@media (min-width: 577px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 392px;
    }
}
@media (min-width: 580px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 394px;
    }
}
@media (min-width: 582px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 396px;
    }
}
@media (min-width: 585px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 398px;
    }
}
@media (min-width: 588px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 400px;
    }
}
@media (min-width: 591px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 402px;
    }
}
@media (min-width: 593px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 404px;
    }
}
@media (min-width: 596px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 406px;
    }
}
@media (min-width: 598px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 408px;
    }
}
@media (min-width: 601px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 410px;
    }
}
@media (min-width: 604px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 412px;
    }
}
@media (min-width: 607px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 414px;
    }
}
@media (min-width: 609px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 416px;
    }
}
@media (min-width: 612px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 418px;
    }
}
@media (min-width: 614px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 420px;
    }
}
@media (min-width: 617px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 422px;
    }
}
@media (min-width: 619px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 424px;
    }
}
@media (min-width: 623px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 426px;
    }
}
@media (min-width: 625px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 428px;
    }
}
@media (min-width: 628px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 430px;
    }
}
@media (min-width: 630px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 432px;
    }
}
@media (min-width: 633px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 434px;
    }
}
@media (min-width: 636px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 436px;
    }
}
@media (min-width: 639px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 438px;
    }
}
@media (min-width: 641px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 216px;
    }
}
@media (min-width: 643px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 218px;
    }
}
@media (min-width: 649px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 220px;
    }
}
@media (min-width: 649px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 222px;
    }
}
@media (min-width: 660px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 224px;
    }
}
@media (min-width: 663px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 226px;
    }
}
@media (min-width: 670px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 228px;
    }
}
@media (min-width: 672px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 230px;
    }
}
@media (min-width: 678px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 232px;
    }
}
@media (min-width: 683px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 234px;
    }
}
@media (min-width: 688px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 236px;
    }
}
@media (min-width: 693px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 238px;
    }
}
@media (min-width: 700px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 240px;
    }
}
@media (min-width: 704px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 242px;
    }
}
@media (min-width: 711px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 244px;
    }
}
@media (min-width: 716px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 246px;
    }
}
@media (min-width: 722px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 248px;
    }
}
@media (min-width: 726px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 250px;
    }
}
@media (min-width: 733px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 252px;
    }
}
@media (min-width: 738px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 254px;
    }
}
@media (min-width: 743px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 256px;
    }
}
@media (min-width: 749px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 258px;
    }
}
@media (min-width: 754px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 260px;
    }
}
@media (min-width: 758px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 262px;
    }
}
@media (min-width: 764px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 264px;
    }
}
@media (min-width: 769px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 266px;
    }
}
@media (min-width: 775px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 268px;
    }
}
@media (min-width: 780px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 270px;
    }
}
@media (min-width: 786px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 272px;
    }
}
@media (min-width: 789px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 274px;
    }
}
@media (min-width: 796px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 276px;
    }
}
@media (min-width: 802px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 278px;
    }
}
@media (min-width: 808px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 280px;
    }
}
@media (min-width: 812px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 282px;
    }
}
@media (min-width: 818px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 284px;
    }
}
@media (min-width: 821px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 286px;
    }
}
@media (min-width: 828px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 288px;
    }
}
@media (min-width: 833px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 290px;
    }
}
@media (min-width: 840px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 292px;
    }
}
@media (min-width: 845px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 294px;
    }
}
@media (min-width: 851px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 296px;
    }
}
@media (min-width: 855px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 298px;
    }
}
@media (min-width: 861px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 300px;
    }
}
@media (min-width: 866px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 302px;
    }
}
@media (min-width: 871px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 304px;
    }
}
@media (min-width: 877px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 306px;
    }
}
@media (min-width: 883px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 308px;
    }
}
@media (min-width: 886px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 310px;
    }
}
@media (min-width: 893px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 312px;
    }
}
@media (min-width: 897px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 314px;
    }
}
@media (min-width: 904px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 316px;
    }
}
@media (min-width: 909px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 318px;
    }
}
@media (min-width: 915px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 320px;
    }
}
@media (min-width: 918px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 322px;
    }
}
@media (min-width: 925px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 324px;
    }
}
@media (min-width: 929px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 326px;
    }
}
@media (min-width: 936px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 328px;
    }
}
@media (min-width: 941px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 330px;
    }
}
@media (min-width: 948px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 332px;
    }
}
@media (min-width: 951px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 334px;
    }
}
@media (min-width: 957px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 336px;
    }
}
@media (min-width: 962px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 338px;
    }
}
@media (min-width: 969px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 340px;
    }
}
@media (min-width: 973px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 342px;
    }
}
@media (min-width: 980px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 344px;
    }
}
@media (min-width: 981px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 364px;
    }
}
@media (min-width: 984px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 366px;
    }
}
@media (min-width: 990px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 368px;
    }
}
@media (min-width: 993px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 370px;
    }
}
@media (min-width: 999px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 372px;
    }
}
@media (min-width: 1004px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 374px;
    }
}
@media (min-width: 1010px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 376px;
    }
}
@media (min-width: 1014px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 378px;
    }
}
@media (min-width: 1021px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 380px;
    }
}
@media (min-width: 1024px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 382px;
    }
}
@media (min-width: 1030px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 384px;
    }
}
@media (min-width: 1034px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 386px;
    }
}
@media (min-width: 1041px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 388px;
    }
}
@media (min-width: 1045px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 390px;
    }
}
@media (min-width: 1051px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 392px;
    }
}
@media (min-width: 1054px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 394px;
    }
}
@media (min-width: 1061px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 396px;
    }
}
@media (min-width: 1065px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 398px;
    }
}
@media (min-width: 1071px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 400px;
    }
}
@media (min-width: 1076px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 402px;
    }
}
@media (min-width: 1081px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 404px;
    }
}
@media (min-width: 1085px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 406px;
    }
}
@media (min-width: 1091px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 408px;
    }
}
@media (min-width: 1096px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 410px;
    }
}
@media (min-width: 1101px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 412px;
    }
}
@media (min-width: 1106px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 414px;
    }
}
@media (min-width: 1113px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 416px;
    }
}
@media (min-width: 1115px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 418px;
    }
}
@media (min-width: 1121px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 420px;
    }
}
@media (min-width: 1126px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 422px;
    }
}
@media (min-width: 1132px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 424px;
    }
}
@media (min-width: 1137px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 426px;
    }
}
@media (min-width: 1143px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 428px;
    }
}
@media (min-width: 1146px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 430px;
    }
}
@media (min-width: 1152px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 432px;
    }
}
@media (min-width: 1157px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 434px;
    }
}
@media (min-width: 1162px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 436px;
    }
}
@media (min-width: 1167px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 438px;
    }
}
@media (min-width: 1173px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 440px;
    }
}
@media (min-width: 1177px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 442px;
    }
}
@media (min-width: 1182px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 444px;
    }
}
@media (min-width: 1187px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 446px;
    }
}
@media (min-width: 1193px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 448px;
    }
}
@media (min-width: 1197px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 450px;
    }
}
@media (min-width: 1204px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 452px;
    }
}
@media (min-width: 1207px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 454px;
    }
}
@media (min-width: 1213px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 456px;
    }
}
@media (min-width: 1217px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 458px;
    }
}
@media (min-width: 1224px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 460px;
    }
}
@media (min-width: 1229px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 462px;
    }
}
@media (min-width: 1234px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 464px;
    }
}
@media (min-width: 1237px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 466px;
    }
}
@media (min-width: 1244px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 468px;
    }
}
@media (min-width: 1246px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 470px;
    }
}
@media (min-width: 1254px) {
    .single-ait-item .item-gallery .gallery-slider {
        height: 472px;
    }
}
/* End of Adjusting images on Single Item page */
/* Set the min height of the list of items to make sure other items below it dont move up during filtering */
.archive .top-right-items {
  min-height: 450px;
}