Larticle,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}
html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
a{color:#069}a:focus{outline:0}
a:hover,a:active{outline:0}
sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}
sup{top:-0.5em}sub{bottom:-0.25em}
img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;}
body {
    color: #3C4858;
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    direction: ltr;
    height: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    background:rgba(233, 236, 239,0.5);
    margin-top: 70px;    
}
html{
    height: 100%;
}
body.hidden, html.hidden{
    overflow: hidden;
    height: 100%;
    width: 100%;
}
section.full{
    align-items: center;
    justify-content: center;
    display: flex;
    flex: 1 0 auto;
}
section.full.userss{
    align-items: flex-start;
}
a{
    color: #03A9F4;
}
h1, h2, h3, h4{
font-weight: 700;
}
h5, h6{
font-weight: 600;
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: transparent;
}
button, html [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    outline: 0;
    color: #fff;
    background-color: #0076CE;    
    border-radius: 16px;
}
button, select {
    text-transform: none;
}
body.overflow{
    overflow: hidden;
    position:fixed;
    height: 100%;
    width: 100%;
}
select {
    background-image: url(../images/select-arrow.png);
    background-position: 97% center;
    background-repeat: no-repeat;
    border: none;
    outline: 0;
    cursor: pointer;
    -moz-appearance: none;
    text-indent: 0.01px;
    -o-text-overflow: '';
       text-overflow: '';
    -ms-appearance: none;
    appearance: none !important;
    -webkit-appearance: none;
    background-color: #fff;
}
select::-ms-expand {
	display: none;
}
select::-webkit-scrollbar { width: 3px; height: 3px;}
select::-webkit-scrollbar-button {  background-color: #666; }
select::-webkit-scrollbar-track {  background-color: #999;}
select::-webkit-scrollbar-track-piece { background-color: #ffffff;}
select::-webkit-scrollbar-thumb { height: 50px; background-color: #666; border-radius: 3px;}
select::-webkit-scrollbar-corner { background-color: #999;}
select::-webkit-resizer { background-color: #666;}
input[type=radio], input[type=checkbox] {
    border: 1px solid #b4b9be;
    background: #fff;
    color: #555;
    clear: none;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    line-height: 0;
    height: 16px;
    outline: 0;
    padding: 0!important;
    text-align: center;
    vertical-align: middle;
    width: 16px!important;
    min-width: 16px;
    -webkit-appearance: none;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    -webkit-transition: .05s border-color ease-in-out;
    -o-transition: .05s border-color ease-in-out;
    transition: .05s border-color ease-in-out;
    border-radius: 2px;
}
input[type=checkbox]:checked:before, input[type=radio]:checked:before {
    content: "\2714";
    color: #1e8cbe;
    display: inline-block;
    font-family: LineAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
ul,li{
    list-style: none;
    margin: 0;
    padding: 0;
}
#flashmessage{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    padding: 0 10px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    -webkit-transform: translate(-50%, 0) scale(1);
        -ms-transform: translate(-50%, 0) scale(1);
            transform: translate(-50%, 0) scale(1);
    border-radius: 4px;
    opacity: 1;
}
#flashmessage.scale{
    -webkit-transform: translate(-50%, 0) scale(0);
        -ms-transform: translate(-50%, 0) scale(0);
            transform: translate(-50%, 0) scale(0);
    -webkit-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
    opacity: 0;
}
#flashmessage .close{
    text-decoration: none;
    cursor: pointer;
    margin-left: 10px;
    padding: 5px;
    color: #333;
    opacity: .8;
}
#flashmessage .close:hover{
    opacity: 1;
}
#flashmessage.success{
    background: #8BC34A;
    color: #fff;
}
#flashmessage.home-flash{
    position: initial;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    -webkit-transform: translate(0, 0) scale(1);
        -ms-transform: translate(0, 0) scale(1);
            transform: translate(0, 0) scale(1);
}
#flashmessage.warning{
    background: #F44336;
    color: #fff;
}
#flashmessage.alert{
    background: #CDDC39;
    color: #333;
}
#flashmessage.info{
    background: #8BC34A;
    color: #fff;
}
.wrapper{
    display: block;
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    position: relative;
}
button, [type="submit"]{
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit;
    background: #0a9bdc;
    width: 100%;
    height: 35px;
    font-weight: 700;
    transition: background .25s ease-in;
}
button:hover, button:active, [type="submit"]:hover, [type="submit"]:active{
    background: #04AA6D;
}
header{
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    background: #fff;
    z-index: 999;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    box-shadow: 0 4px 6px rgba(0, 71, 171, 0.1);
}
section.srch{
    background: url(../images/cover.jpg) 0 center/cover no-repeat fixed;
    width: 100%;
    height: auto;
    padding: 1px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.srch::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(51, 51, 51, 0.47843137254901963);
    height: 100%;
    width: 100%;
    z-index: 1;
}
section.srch h1, section.srch h2{
    color: #fff;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 3;
    border: none;
    display: block;
}
section.srch h1{
    font-size: 40px;
    padding: 5% 0 0;
    font-weight: 700;
    color: #f5f5f5;
    text-shadow: 1px 1px 9px #333;
}
section.srch h2{
    font-size: 14px;
    font-weight: 400;
    color:  #f5f5f5;
}
.header, .header-nav, .header-nav a, .main-search, .header-nav .first {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-nav a{
    border-radius: 4px;
    height: 33px;
    padding: 0 20px;
    margin: 10px 4px;
    color:  rgb(102, 117, 127);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .4px;
    background: #fff;
    font-weight: 700;
    transition: all .25s ease-in;
    position: relative;
    
}
.header-nav a:hover, .header-nav a:active{
    background: #03a9f4;
    color: #fff;
}
.header-nav .publish a{    
    color: #rgb(102, 117, 127);/* Hex is #66757f */
    font-size: 15px;
    margin-top: 13px;
}
.user-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 2px;
}
.header-nav .fa {
    font-size: 23px; 
    margin-right: 2px; 
}
.header-nav a .count {
    position: absolute;
    display: block;
    top: -2px;
    right: -1px;
    background-color: #03A9F4;
    color: white;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    font-size: 18px;
    padding: 2px 1px;
    font-weight: bold;
    min-width: 10px;
    text-align: center;
    line-height: 1;
}
/*Styling for instant messenger*/
.im-user-account-count{
  position: relative;
  display: inline-block; 
  top: -5px;
  right: -5px;
  background-color: #666; 
  color: white;
  border-radius: 50%;
  padding: 3px 5px; 
  font-size: 12px; 
  font-weight: bold;
  min-width: 15px;
  text-align: center;
  line-height: 1;
}
/* Style for the message counter bubble */
.counter {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #04AA6D; 
  color: white;
  border-radius: 50%;
  padding: 3px 5px; 
  font-size: 12px; 
  font-weight: bold;
  min-width: 15px;
  text-align: center;
  line-height: 1;
}

/* Ensure envelope icon wrapper is positioned correctly */
.messages {
  position: relative;
  display: inline-block;
}
.header-nav a i{
    margin-right: 5px;
    }
    
    
.header-logo a
{
color: #0047AB;
text-decoration: none;
font-weight: bold;
font-size: 26px;
}    

/* For large screens (upto 1024px and above) */
@media (min-width: 768px) {
    .header-logo {
        width: 200px;
    }
    .nav-item span {
    display: inline;
    }
}
    .search{
    margin-top:50px;
    }

/* For mobile screens (up to 768px) */
@media (max-width: 768px) {
    .header-logo {
        width: 130px;
    }
    .nav-item span {
    display: none; !important
    }
    .header-nav a span{
    display: none;
    }
}
.main-search{
    width: 60%;
    margin: 2% auto 10%;
    background: #0a9bdc;
    padding: 2px;
    border-radius: 4px;
    z-index: 2;
    position: relative;
}
.main-search .coll{
    width: 100%;
}
.main-search .coll:nth-last-child(1){
    width: 31%;
}
.main-search input, .main-search  select {
    height: 35px;
    width: 100%;
    border: none;
    outline: 0;
    padding: 0 5px;
    font-family: inherit;
}
.main-search input{
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #eee;
}
/* Off-canvas menu container */
.off-canvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.3s;
    z-index: 1000;
    border-right: 2px solid #efefef;
}

/* Header layout to handle logo and other items */
.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

/* Close icon styling */
.close-icon i, .close-btn i {
    font-size: 20px;
    color: grey;
    cursor: pointer;
}

/* Logo styling to occupy 50% of the total width */
.offcanvas-logo {
    flex-grow: 0;
    flex-basis: 50%;
    text-align: center;
}

.offcanvas-logo a {
    font-weight: bold;
    color: #222;
    font-size: 24px;
    text-decoration: none;
}
.offcanvas-header a {
    display: inline-block;
    width: auto;
    text-align: center;
}

/* Divider styling */
.menu-divider {
    margin: 0;
    border: 1px solid #ddd;
}

/* Menu items styling */
.menu-items {
    list-style-type: none;
    padding: 20px 0;
    margin: 0;
}

.menu-items li {
    padding: 10px 20px;
    border-bottom: 1px solid #d5d5d5;
}

.menu-items li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.3s;
}

.menu-items li a:hover {
    color: #007bff;
}

.header-logo img {
    /*width: 60%;*/
    max-width: 200px;
    height: 30px;
    margin: 0 auto; 
    align-items: left;
    text-align: left;
} 
/* Ensure proper spacing on mobile screens */
@media screen and (max-width: 768px) {
    .header-logo img {
        width: 60%;
        max-width: 150px;
        height: auto;
        align-items: left;
        text-align : left;
    }
}
/* Media query for larger screens */
@media (min-width: 1024px) {
    .header {
        padding-left: 20px;
    }
    .header-logo img {
        width: 150px;
        height: 30px;
        max-width: 200px;
    }

    .header-menu {
        margin-right: 20px;
    }
}

/* Header elements (Logo, Menu, and Hamburger icon) */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex: 1;
    align-items: left;
    text-align: left;
    margin-left: 0; /* Adjust as needed */
}

.header-menu {
    margin-right: 10px;
}

.hamburger-icon {
    margin-right: 10px;
    display: inline-block;
    font-size: 20px;
    color: grey;
    cursor: pointer;
}

#tabs.ui-tabs{
    border: none;
    padding: 0;
    margin: 10px 0;
}
#tabs.ui-tabs .ui-tabs-nav{
    display: flex;
    justify-content: space-between;
    background: transparent!important;
    padding: 0;
    border: none;
}
#tabs.ui-tabs .ui-tabs-nav li{
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    background: #03a9f4;
}
#tabs.ui-tabs .ui-tabs-nav li:not(:nth-last-child(1)) {
    border-right: 1px solid #fff;
}
#tabs.ui-tabs .sybcat{
    border: 1px solid #03a9f4;
}
#tabs.ui-tabs .ui-tabs-nav li span{
    font-size: 14px;
    font-weight: 700;
}
#tabs.ui-tabs .ui-tabs-nav li a{
    width: 100%;
    transition: background .24s ease-in, color .24s ease-in;
}
#tabs.ui-tabs .ui-tabs-nav li.ui-tabs-active a, #tabs.ui-tabs .ui-tabs-nav li.ui-state-disabled a, #tabs.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{
    background: #fff;
}
#tabs .ui-state-hover a, #tabs .ui-state-hover a:hover, #tabs .ui-state-hover a:link, #tabs .ui-state-hover a:visited{
    background: #fff;
    color: #03a9f4;
}
#tabs.ui-tabs .ui-tabs-panel {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 10px 0;
    margin: 0 10px;
}
.sybatlist{
    width: 20%;
    display: flex;
    align-items: center;

}
.sybatlist a{
    padding: 10px;
    text-decoration: none;
    font-size: 12px;
    display: block;
    font-family: "Segoe UI", Arial, sans-serif;
}
.sybatlist:hover{
    background: #f5f5f5;
}
 h2{
    color: #03A9F4;
    font-size: 20px;
    border-bottom: 1px solid #eee;
    margin: 40px 0 20px;
    padding: 3px 2px;
    text-align: center;
}
.main-items{
    width: auto;
    margin: auto;
}
.main-items.justify{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.main-items.justify .info{
    margin: 37px auto;
    text-align: center;
    position: relative;
}
.main-items.justify .info .ads_300{
    width: 300px;
    height: 250px;
    background: #eee;
    position: sticky;
    top: 10px;
}

.main-items.justify .latest_ads{
    width: 65%;
}
.main-items .actions{
    text-align: left;
}
.main-items .actions .doublebutton {
    display: flex;
}
.main-items .actions .doublebutton >*{
    text-decoration: none;
    padding: 10px 20px;
    display: flex;
    border-bottom: 1px solid transparent;
    transition: all .25s;
}
.main-items .actions .doublebutton >*:hover, .main-items .actions .doublebutton >*.active{
    background: #fff;
    border-bottom: 1px solid #eee;
}
.main-items .actions .doublebutton i{
    margin-right: 5px;
}
.listing-card-list{
    display: flex;
    flex-direction: column;
}
.listing-card-list.listing-grid{
    flex-direction: row;
    flex-wrap: wrap;
}
.listing-card-list.listing-grid .listing-card{
    flex-direction: column;
    width: 33%;
    align-items: center;
}
.listing-card-list.listing-grid .listing-basicinfo a{
    margin: 10px 0 0;
    display: block;
}
.listing-card-list .listing-card{
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #e6ecf0;
    background: #fff;
    transition: all .25s ease-out;
}
.listing-card-list .listing-card:hover{
    background: #f5f8fa;
}
.listing-card-list .listing-thumb{
    margin-right: 15px;
}
.listing-card-list .listing-attributes{
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}
.listing-card-list .listing-basicinfo a{
    font-size: 16px;
    font-weight: 700;
    color: rgb(20, 23, 26);
    text-decoration: none;
}
.listing-card-list .listing-basicinfo a:hover{
    text-decoration: underline;
}
.listing-card-list .currency-value{
    color: #0a9bdc;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}
.listing-card-list .category, .listing-card-list  .location{
    color: #616060;
    font-weight: 300;
    font-style: 12px;
}
.see_more_link{
    text-align: center;
    margin: 30px 0 20px;
}
.see_more_link a{
    text-decoration: none;
    background: #03a9f4;
    padding: 8px 27px;
    border-radius: 50px;
    text-align: center;
    display: inline-flex;
    color: #ffff;
    font-size: 16px;
    align-items: center
}
.see_more_link a i{
    margin-left: 10px;
}
.see_more_link a:hover{
    background: #0a9bdc;
}
.widget{
    display: flex;
    justify-content: center;
}
.widget p{
    padding: 10px 0;
}
.list-loc{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.list-loc li{
    width: 20%;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 10px;
}
div.breadcrumb{
    margin: 10px 0;
}
ul.breadcrumb{
    display: flex;
}
ul.breadcrumb a{
    margin-right: 5px;
}
div.search{
    display: flex;
    justify-content: space-between;
}
.search-sidebar{
    width: calc(25% - 15px);
}
.search-content{
    width: calc(75% - 15px);
}
.search-content h1{
    font-size: 17px;
    color: #a5a5a5;
    font-weight: 700;
}
.serch-box{
    background: #f5f5f5;
    padding: 10px;    
    border-radius: 2px;
    margin-bottom: 30px;
}
.serch-box input, .serch-box select, .form-container input, .form-container textarea{
    width: 100%;
    padding: 8px 10px;
    margin: 0;
    outline: 0;
    border: 1px solid #eeeeee;
    background-color: #fff;
    border: 1px solid #e6ecf0;
    border-radius: 3px;
    margin-bottom: 5px;
    font-family: "Segoe UI", Arial, sans-serif;
}
.form-container textarea{
    resize: vertical;
}
.serch-box fieldset{
    margin-bottom: 10px;
}
.serch-box .plugin-hooks h3{
    text-align: center;
    border-bottom: 1px solid #eee;
}
.serch-box h3, .serch-box h6{
    padding: 3px;
    font-weight: 700;
    color: #66757f;
    font-size: 14px;
}
.price-slice{
    display: flex;
    justify-content: space-between;
}
.price-slice .row{
    width: 46%;
}
.price-slice .row span{
    margin-bottom: 3px;
    padding: 3px;
    display: block;
}
.search-content .actions{
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-radius: 2px;
    align-items: center;
}
.search-content .actions .doublebutton a{
    padding: 10px;
    text-decoration: none;
    color: rgb(102, 117, 127);
    font-weight: 700;
    transition: background .25s ease-in;
}
.search-content .actions .doublebutton a:hover, .search-content .actions .doublebutton a:active{
    background: #eee;
}
.see_by ul{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    transition: all .3s ease-in;
    padding: 7px 10px;
    background: #fff;
}
.search-content .actions .see_by{
    position: relative;
    cursor: pointer;
    padding: 10px;
    transition: background .25s ease-in;
    font-weight: 700;
    color: #66757f;
}
.search-content .actions .see_by label{
    cursor: pointer;
}
.search-content .actions .see_by ul a{
    text-decoration: underline;
    color: #66757f;
}
.search-content .actions .see_by:hover ul{
    top: 40px;
    opacity: 1;
    visibility: visible;
}
.search-content .actions .see_by:hover{
    background: #eee;
}
.search-content  .counter-search{
    margin: 0 0 3px;
    padding: 3px;
    display: block;
}
ul.category a{
    padding: 3px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}
ul.category a:hover, ul.category a:active{
    text-decoration: underline;
}
.search-content h2{
    margin-top: 10px;
}
.search-content .listing-card-list.listing-grid .listing-card{
    border: 1px solid #eee;
}
.empty{
    background: #6AEBB1;
    padding: 10px;
    margin-top: 10px;
}
.full .form-container{
    width: 25%;
    margin: auto;
}
.full.userss .form-container{
    width: 100%;
}
.full .form-container h1{
    color: rgb(102, 117, 127);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    display: block;
    width: 100%;
    margin-bottom: 20px;
}
.full .form-container .actions{
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}
.full .form-container label{
    padding: 3px;
    display: inline-block;
    margin-bottom: 3px;
}
.full .form-container a{
    text-decoration: none;
}
#error_list li{
    background: #FF5722;
    color: #fff;
    padding: 3px;
    margin-bottom: 5px;
}
#error_list li label{
    color: #fff;
}
.item-post .form-container{
    margin: 0 auto 20px;
    width: 40%;
}
.item-post  button{
    margin: 10px 0;
}
.item-post h2{
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}
.item-post  select{
    width: 100%;
    padding: 8px 10px;
    margin: 0;
    outline: 0;
    background-color: #fff;
    border: 1px solid #e6ecf0;
}
.item-post .full .form-container label{
    color: rgb(102, 117, 127);
    font-weight: 700;
}
.item-post #restricted-fine-uploader{
    padding: 0;
    margin: 10px 0;
}
.item-post  .photos_div div, .item-post  .ajax_preview_img {
    padding: 5px;
    border: none;
    width: auto;
    height: auto;
    margin: 10px auto;
    background: transparent
}
.item-post .qq-upload-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.item-post .qq-upload-list li{
    width: 49%;
    margin: 0;
    background-color: #ffffff!important;
    margin-bottom: 5px;
    min-height: inherit;
    height: inherit;
}
.paginate{
    display: inline-block;
    width: 100%;
    text-align: center;
}
.paginate ul{
    list-style: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    margin: 26px 0;
}
.paginate ul li{
    display: block;
}
.paginate a, .paginate span{
    cursor: pointer;
    position: relative;
    float: left;
    padding: 8px 16px;
    line-height: 1.6;
    text-decoration: none;
    color: #444649;
    background-color: #e9eaeb;
    border: 1px solid #e9eaeb;
    font-weight: 500;
    font-size: 14px;
}
.paginate a.searchPaginationSelected:hover,
.paginate a.searchPaginationNonSelected:hover,
.paginate span.searchPaginationNonSelected:hover,
.paginate a.searchPaginationNext:hover, .paginate a.searchPaginationPrev:hover,
.paginate a.searchPaginationLast:hover, .paginate a.searchPaginationFirst:hover,
.paginate a.searchPaginationNonSelected:focus,
.paginate a.searchPaginationSelected:focus,
.paginate span.searchPaginationNonSelected:focus,
.paginate span.searchPaginationSelected:focus {
    color: #222324;
    background-color: #dcddde;
    border-color: #dcddde;
}
.paginate span.searchPaginationSelected, .paginate a.searchPaginationSelected{
    color: #222324;
    background-color: #cfd0d2;
    border-color: #cfd0d2;
    cursor: default;
}
.similar_ads{
    margin-bottom: 50px;
}
.item-box{
    display: flex;
    justify-content: space-between;
}
.item-content{
    width: calc(70% - 10px)
}
.item-sidebar{
    width: calc(30% - 10px)
}
.item-price{
    display: flex;
    background: #fff;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    border: 1px solid #04AA6D;
    border-radius: 14px;
    color: #222;
    margin-top: 29px;
    font-size: 18px;
    font-weight: 700;
}
.item-sidebar h2{
    margin-top: 0;
}
#contact{
    padding: 10px;
    background: #eee;
    border: 1px solid #555;
    border-radius: 12px;
}
.item-mark{
    text-align: right;
}
.item-mark select{
    padding: 5px 10px;
}
.item-content h1{
    color: #222;
    font-size: 25px;
    font-weight: 700;
    white-space: normal;
    overflow: visible;
    display: block;
    position: relative;
    text-overflow: clip;
}
.item-header{
    display: flex;
    margin: 5px 0;
}
.item-header .li{
    margin-right: 5px;
    background: #fff;
    padding: 3px 7px;
    border-radius: 2px;
}
.item-header .li i{
    margin-right: 5px;
}
.item-photos{
    display: flex;
    flex-direction: column;
}
.item-boxer{
    background: #fff;
    border-radius: 2px;
    padding: 10px;
}
.item-boxer h2{
    margin-top: 5px;
    color: #222;
    font-weight: 700;
    text-align: left;
    padding-left: 10px;
}
.item-photos > a{
    text-align: center;
}
.item-photos > a img{
    border: 2px solid #fff;
}
.item-photos .thumbs{
    display: flex;
    overflow-x: scroll; 
}
.item-photos .thumbs a{
    margin: 5px;
}
.user{
    display: flex;
    justify-content: space-between;
}
.user-sidebar{
    width: calc(30% - 15px);
}
.user-content{
    width: calc(70% - 15px);
    margin-bottom: 50px;
}
.user-content select, .user-content input{
    width: 100%;
    padding: 8px 10px;
}
.user  h2{
    margin-top: 20px;
}
.user-sidebar{
    margin-top: 10px;
}
.user_menu a{
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    width: 100%;
    text-decoration: none;full
    font-weight: 700;
}
.link-404{
    margin-top: 60px;
    display: flex;
    justify-content: center;
}
.flashmessage-404{
    text-align: center;
}
.flashmessage-404{
    font-size: 18px;
    font-weight: 700;
}
.link-404 a{
    margin: 0 5px;
}
.static{
    background: #fff;
    padding: 10px;
}
.user-card{
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 2px;
    display: inline-flex;
    margin: 0 auto;
    padding: 0 10px;
}
.show_fil{
    display: none;
    margin-top: 10px;
    color: rgba(0,0,0,0.60);
    font-weight: normal;
    background-color: #fff;
    border: 1px solid #777;
    padding: 10px;
    border-radius: 25px;

}
.search-sidebar .show_fil{
   background-color: #fff;
   font-weight: normal;
}
.search-content .counter-search{
    text-align: center;
}
.item-box p{
    background: #fff;
    padding: 10px;
    font-size: 14px;
    border-radius: 2px;
}
.user-card img{
    margin-right: 10px;
    overflow: hidden;
    position: relative;
    border-radius: 50%;
}
/*.listing-card-list.listing-grid .listing-card{
    width: 100%;
}*/

footer{
    background: #314552;
    padding: 10px 0;
}
.footer{
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}
.footer-top, .footer-boot{
    display: flex;
    justify-content: space-between;
}
.footer-box{
    display: flex;
    color: #fff;
    margin: 5px 0;
}
.footer-box a{
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}
.footer-box .publish a{
    background: #03a9f4;
    padding: 3px 10px;
    border-radius: 3px;
}
.footer-box a:hover, .footer-box a:active{
    text-decoration: underline;
}
footer .widget p{
    color: #fff;
}

/*MAIN CSS ENDS HERE*/

/* General listing styles */
#listing-card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adjusts spacing between items */
    padding: 0; /* Remove default padding */
    list-style: none; /* Remove bullet points */
}

/* Grid View Styles */
.listing-card-list.listing-grid .listing-card {
    width: calc(16.66% - 10px); /* 100% / 6 columns for grid view */
    margin-bottom: 10px; /* Space between rows */
}

/* Mobile Styles for Grid View */
@media (max-width: 768px) {
    .listing-card-list.listing-grid .listing-card {
        width: calc(50% - 2px); /* 50% width for 2 columns */
    }
}

/* Adjust for larger tablets/small laptops (3 columns) */
@media (min-width: 769px) and (max-width: 1024px) {
    .listing-card-list.listing-grid .listing-card{
        width: calc(33.33% - 10px); /* 100% / 3 columns */
    }
}

/* Adjust for medium to large desktops (4 columns) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .listing-card-list.listing-grid .listing-card {
        width: calc(25% - 10px); /* 100% / 4 columns */
    }
}

/* Adjust for very large desktops (6 columns) */
@media (min-width: 1441px) {
    .listing-card-list.listing-grid .listing-card {
        width: calc(16.66% - 10px); /* 100% / 6 columns */
    }
}

/* List View Styles */
#listing-card-list.list-view {
    display: block; /* Ensure block display for list view */
}

/* Styles for List View items */
#listing-card-list.list-view li {
    width: 100%; /* Full width for list view */
    margin-bottom: 10px; /* Space between list items */
}

.item, .login{
margin-top: 70px;
}

.flashmessage{
background-color: #fff;
border: 2px solid #0047AB;
color: #000;
z-index: 99999;
}

/* Wrapper for premium items */
.premium-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between items */
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100% !important; /* Force the wrapper to full width */
}

/* Premium items in two columns */
.premium-items-wrapper .listing-card {
    width: calc(50% - 7px); /* Two items per row */
    margin-bottom: 20px; /* Space between rows */
    max-width: none !important; /* Remove any max-width constraint */
    flex: 1 1 calc(50% - 7px); /* Ensure flexibility */
}

/* Responsive styling: single column on mobile */
@media (max-width: 767px) {
    .premium-items-wrapper .listing-card {
        width: 100%; /* Full width for mobile */
        margin-bottom: 20px; /* Space between items */
    }
}
/*Additional CSS for the header-nav.php file*/
.category-menu {
    display: flex; /* Align items horizontally */
    overflow-x: scroll; /* Allow horizontal scrolling */
    background-color: #f9f9f9; /* Light background color */
    border-bottom: 1px solid #ddd; /* Light bottom  border for separation */
    border-top: 1px solid #ddd; /* Light top border for separation */
    padding: 10px 0; /* Vertical padding */
    scrollbar-width: none; /* For Firefox */
}
.category-menu::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Edge */
}

.category-item {
    margin: 0 10px; /* Spacing between items */
    font-size: 14px; /* Font size */
    font-weight: bold; /* Bold text */
    color: rgba(0, 0, 0, 0.7); /* Softer black color */
    cursor: pointer; /* Pointer cursor on hover */
    display: flex; /* Flexbox for icon and text alignment */
    align-items: center; /* Center items vertically */
    white-space: nowrap; /* Prevents text from wrapping */
}

.category-item i {
    margin-right: 5px; /* Space between icon and text */
}

.subcategory-menu {
    display: none; /* Initially hidden */
    position: absolute; /* Overlapping other content */
    background-color: #fff; /* Background color for dropdown */
    border: 1px solid #ddd; /* Border around dropdown */
    z-index: 1000; /* Ensures dropdown appears above content */
    padding: 10px; /* Padding for dropdown items */
}

.subcategory-item {
    padding: 5px 10px; /* Padding for dropdown items */
    cursor: pointer; /* Pointer cursor on hover */
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Top border for separation */
    font-weight: bold; /* Bold text for subcategory items */
    border-bottom: 1px solid #ddd; /* Thin line separating items */
}

.subcategory-item:first-child {
    border-top: none; /* Remove border from the first item */
}

.subcategory-item:hover {
    color:#0076CE;
    background-color: rgba(233, 236, 239,0.25);/* Highlight on hover */
}
.category-item:hover{
    color: #0076CE;
}

.category-item.active {
    color: #0076CE; /* Change color for active item */
}

.search {
margin-top: 40px;
}

.subcategory-link {
    font-weight: bold; /* Make the link bold */
    color: rgba(0, 0, 0, 0.7); /* Softer black color */
    text-decoration: none; /* Remove underline */
}

.subcategory-link:hover {
    color: #0076CE; /* Change color on hover */
}
.contact_button {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
}

.contact_button .contact-item {
    text-align: center;
    flex: 1;
    margin: 0 10px;
}

.contact_button .contact-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 10px;
}

.contact_button .contact-item i {
    display: block;
    margin-bottom: 8px;
    color: #333; /* You can change the icon color */
}

.contact_button .contact-item span {
    display: block;
    font-size: 14px; /* Adjust label font size */
    color: #333; /* You can change label color */
}

.contact_button .contact-item a:hover i {
    color: #007bff; /* Change icon color on hover */
}

.contact_button .contact-item a:hover span {
    color: #007bff; /* Change label color on hover */
}

.contact_button .contact-item a:focus {
    outline: none;
}

.contact_button .contact-item .watchlist i {
    margin-top: 10px;
    margin-bottom: 0;
}

.item-description{
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
}


.item-description {
    position: relative;
}

.read-more-toggle {
    display: none; /* Hide the checkbox */
}

.description-text {
    overflow: hidden;
    max-height: 100px; /* Set collapsed height */
    position: relative;
    padding-bottom: 20px;
    transition: max-height 0.3s ease;
}

.description-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
    display: block;
}

.read-more-link {
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
}

.read-more-link:hover {
    text-decoration: underline;
}

/* Expand description when checkbox is checked */
.read-more-toggle:checked + .description-text {
    max-height: none; /* Show full content */
}

/* Toggle label text based on checkbox state */
.read-more-link::before {
    content: "Show More"; /* Default 'Read More' text */
}

.read-more-toggle:checked + .description-text + .read-more-link::before {
    content: "Show Less"; /* Change to 'Show Less' when expanded */
    color: #555;
}





