/* ----------  1.  RESET / BASE  ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    font-family: system-ui, sans-serif, Georgia, 'Times New Roman', Times, serif, Arial;
    background: #f6f7f9;
    height: 100%;
    margin: 0 auto;
    padding: 0 auto;
    color: #337ab7;
    box-sizing: border-box;
}

/***********************************MAIN CONTAINER******************************/
.main_container{
    background-color: #fff;
    width: 100%;
    margin: 0 auto;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    /*border:2px solid red;*/
}
/****************************END MAIN CONTAINER********************************/


/*****************************NAV LOGO*****************************************/
header {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 10px; */
    /* border: 1px solid rgb(17, 51, 247); */
}

    /* ----- A.  TOP BAR LAYOUT  ----- */
    .nav_logo {
        display: grid;
        align-items: center;
        gap: 1rem;
        padding: 0.5rem 1rem;
    
        /* default = 1 column on phones */
        grid-template-areas:
            "logo"
            "search"
            "nav";
        background: #f1f1f1;
        border-bottom: 1px solid #337ab7;
    }

    /* ----- B.  AREAS  ----- */
    .nav_logo header      { grid-area: logo;  display: flex; align-items: center; }
    .nav_logo .nav-search { grid-area: search; }
    .nav_logo nav         { grid-area: nav;   display: flex; justify-content: center; }
    

    /* ----- C.  LOGO & SLOGAN  ----- */
    .nav_logo .logo {
        height: 50px;
        max-width: 100%;
        display: block;
    }
    .nav_logo .slogan {
        margin-left: 0.75rem;
        color: #337ab7;
        font: italic 13px/1 Georgia, serif;
    }


    /* ----- D.  SEARCH FORM  (mobile first)  ----- */
    .nav-search .search-form {
        display: grid;
        gap: 0.5rem;
        grid-template-columns: 1fr;
    }

    .nav-search input,
    .nav-search select,
    .nav-search button {
        padding: 0.6rem 0.75rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 0.9rem;
    }
    
    .nav-search button {
        background: #337ab7;
        color: #fff;
        cursor: pointer;
    }
    .nav-search button:hover { background: #0056b3; }
    

/* ----- E.  NAV LINKS  ----- */
.nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.nav_list a {
    display: block;
    padding: 0.4rem 0.6rem;
    font-size: 12px;
    color: #337ab7;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.2s;
}
.nav_list a:hover {
    background: #337ab7;
    color: #fff;
}

/* ----- F.  RESPONSIVE ≥ 768 px  ----- */
@media (min-width: 768px) {
    .nav_logo {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo search nav";
        gap: 1.5rem;
    }
    .nav-search .search-form {
        grid-template-columns: 2fr 1fr auto;
        align-items: center;
    }
    .nav_list { justify-content: flex-end; }
}
/*****************************END NAV LOGO**************************************/



/**********************************SEARCH**************************************/
/* ----------  A.  RESET  ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: system-ui, Arial, sans-serif;
}

/* ----------  B.  SEARCH WRAPPER  ---------- */
.search-box {
    --radius: 8px;
    --gap: 0.5rem;

    background: #f1f1f1;
    padding: var(--gap);
    border-radius: var(--radius);
    display: grid;
    gap: var(--gap);
}

/* ----------  C.  FORM LAYOUT  ---------- */
.search-form {
    display: grid;
    gap: var(--gap);
    grid-template-columns: 1fr;          /* mobile = stack */
}

/* ----------  D.  SHARED INPUT / SELECT / BUTTON  ---------- */
.search-form input,
.search-form select,
.search-form button {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
}
.search-form button {
    background: #337ab7;
    color: #fff;
    cursor: pointer;
    transition: background 0.25s;
}
.search-form button:hover {
    background: #0056b3;
}

/* ----------  E.  RESPONSIVE BREAKPOINTS  ---------- */

/* ≥ 480 px */
@media (min-width: 480px) {
    .search-form {
        grid-template-columns: 2fr 1fr auto;   /* input | select | button */
        align-items: center;
    }
}

/* ≥ 768 px – optional: make it even wider */
@media (min-width: 768px) {
    .search-box {
        max-width: 700px;
        margin: 0 auto;
    }
}

/*******************CONTAINER***************************************************/
.container{
    width: 100% !important;
    min-width: 100%;
    max-width: 100% !important;
    /* margin: 0 auto;*/ 
    margin: 0 auto !important; /* Center the container*/
    padding: 0 !important;
    /*border: 2px solid blue;*/
}
/*******************END CONTAINER**********************************************




#cityy_dropdown {
    padding: 5px;
    margin-bottom: 2px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.search_noResult{
    width: 80%;
    margin: 50px auto;
    padding-top: 80px;
    text-align: center;
    border: 2px solid #fff;
}
.search_noResult h3{
    color: #337ab7;
    font-family: Georgia, 'Times New Roman', Times, serif; 
    font-size: 13px;
}
.search_noResult a{
    /* color: #337ab7; */
    color: #3347b7;
    font-family: Georgia, 'Times New Roman', Times, serif; 
    font-size: 13px;
}
/**********************************END SEARCH**********************************/


/***********************************CATEGORIES LINK****************************/
/* ----------  VARIABLES  ---------- */
:root {
  --clr-bg: #f6f7f9;
  --clr-primary: #337ab7;
  --clr-active: #0056b3;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}

/* ----------  CATEGORY NAV  ---------- */
.category-nav {
  position: relative;
  /*background: var(--clr-bg);*/
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow);
}
/* list is horizontal on tablets+ */
.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;        /* Firefox */
}

.category-list::-webkit-scrollbar { height: 4px; }
.category-list::-webkit-scrollbar-thumb { background: var(--clr-primary); }

.category-list a {
  display: block;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  color: var(--clr-primary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.category-list .active,
.category-list a:hover {
  background: var(--clr-active);
  color: #fff;
}

/* ----------  HAMBURGER (hidden on ≥768)  ---------- */
.category-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.category-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px 0;
  background: var(--clr-primary);
  transition: .3s;
}

/* ----------  MOBILE  ---------- */
@media (max-width: 767px) {
  .category-list {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .category-nav.open .category-list {
    max-height: 50vh;             /* enough to show all items */
  }

  .category-toggle {
    display: flex;
  }
}

/**********************************END CATEGORIES LINK*************************/


/*********************************CAROUSEL*************************************/
/* ----------  VARIABLES  ---------- */
:root {
  --carousel-radius: 8px;
  --carousel-shadow: 0 2px 8px rgba(0,0,0,.12);
  --control-bg: rgba(0,0,0,.45);
  --control-hover: rgba(0,0,0,.65);
  --caption-bg: rgba(0,0,0,.55);
}

/* ----------  WRAPPER  ---------- */
.carousel-section {
  container-type: inline-size;   /* enables @container queries in modern browsers */
  margin: 1rem 0.5rem;
}
.carousel {
  position: relative;
  border-radius: var(--carousel-radius);
  overflow: hidden;
  max-height: 240px;
  width: 100%;
  box-shadow: var(--carousel-shadow);
  /* 16:9 aspect ratio trick → always responsive height */
  aspect-ratio: 16 / 9;
}
/* ----------  SLIDES  ---------- */
.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.carousel-item.active {
  opacity: 1;
  z-index: 2;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ----------  CAPTION  ---------- */
.carousel-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 1rem;
  background: var(--caption-bg);
  color: #fff;
  font-size: clamp(0.75rem, 1.2cqi, 1rem);  /* shrinks/grows with container */
  text-align: center;
}

/* ----------  CONTROLS  ---------- */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--control-bg);
  color: #fff;
  cursor: pointer;
  transition: background .25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control.prev { left: 0.5rem; }
.carousel-control.next { right: 0.5rem; }

.carousel-control:hover,
.carousel-control:focus {
  background: var(--control-hover);
}

/* ----------  FADE ↔ SLIDE TOGGLE  ---------- */
/*   UNCOMMENT the next block if you want a *slide* instead of fade */

.carousel-inner {
  display: flex;
  transition: transform .6s ease;
}
.carousel-item {
  position: relative;
  flex: 0 0 100%;
  opacity: 1;
}
.carousel-inner { transform: translateX(calc(-100% * var(--slide,0))); }


/* ----------  MOBILE HINT  ---------- */
@media (max-width: 480px) {
  .carousel-control { width: 36px; height: 36px; font-size: 14px; }
}
/************************************END CAROUSEL*******************************/



/************************************GRID**************************************/
/* ----------  2.  GRID CONTAINER  ---------- */
/* By default we want one column on phones. */
.item-grid {
    display: grid;                 /* activates CSS Grid */
    gap: 1.5rem;                   /* space between cards */
    padding: 1rem;                 /* space around the whole grid */
    border: 2px solid green;
}

/* ----------  3.  INDIVIDUAL CARDS  ---------- */
.item-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    overflow: hidden;              /* keeps images inside rounded corners */
    display: grid;                 /* card itself is a nested grid */
    grid-template-columns: 1fr;    /* 1-column stack inside card */
}

/* ------------------- 4.  SECTIONS INSIDE A CARD  --------------------- */
.user-info,
.item-details {
    padding: 1rem;
}
.user-info {
    border-bottom: 1px solid green;
    height: 200px;
}
.item-details {
    border: 1px solid green;
    /*height: 200px;*/
    margin-top: 10px;
}

/* USER INFO */
.user-info h1 {
    font-size: 1.25rem;
    margin: 0 0 0.25rem;
}
.user-info h2 {
    font-size: 1rem;
    font-weight: normal;
    margin: 0 0 0.75rem;
    color: #666;
}
.user-info a {
    color: #007bff;
    text-decoration: none;
}
.user-info a:hover {
    text-decoration: underline;
}


.icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    align-items: center; /* Align icons vertically--FROM OLD CSS FILE*/
}
.icon {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    color: #666;
}
.icon:hover {
    color: #000;
}


/* 4-B.  HAVE / WANT SECTIONS  */
.item-details {
    display: grid;
    gap: 1rem;
   /* background-color: gray;*/
}
.item-have,
.item-want {
    display: grid;
    gap: 0.5rem;
}
/**************************/
.item-have{
    background-color: #f0fff0; /* Light green background for "Have" */
}
.item-have .testimgdiv {
    background-color: #f0fff0; /* Light green background for "Have" */
}
.item-want{
    background-color: #f0f8ff; /* Light blue background for "Want" */
}
.item-want .testimgdiv {
    background-color: #f0f8ff; /* Light blue background for "Want" */
}
.item-have h3, .item-want h3 {
    font-size: 16px;
    margin: 0 0 10px 0;
}
.item-have h1, .item-want h1 {
    font-size: 16px;
    margin: 0 0 5px 0;
}
.item-have p, .item-want p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
}
.item-have h3, 
.item-want h3,
.item-have h1, 
.item-want h1,
.item-have p, 
.item-want p {
    padding: 0 5px; /* Small side padding for text */
}
/****************************/



/*******************************TESTIMGDIV****************************************/
/* Base image container styles (applies to all screens) CAME FROM OLD CSS FILE*/
.testimgdiv {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin: 0 0 20px 0; /* 0 left/right, 20px bottom */
    padding: 0; /* Ensure no internal spacing */
    width: 100%; /* Ensure full width */
    margin-top: auto; /* Pushes image to bottom */
}
.testimgdiv img {
    width: 100%;
    /*height: auto;*/
    height: 200px;
    max-height: 200px;
    display: block;
    border-radius: 0.25rem;
    
    object-fit: cover;
    object-position: center;
    margin: 0; /* Remove any default image margins */
    transition: transform 0.3s ease; /* Optional: hover effect */
}

/* ----------  5.  RESPONSIVE BREAKPOINTS  ---------- */

/* ≥ 480 px – small tablets / large phones */
@media (min-width: 480px) {
    .item-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ≥ 768 px – tablets / small laptops */
@media (min-width: 768px) {
    .item-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ≥ 1024 px – desktops */
@media (min-width: 1024px) {
    .item-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ≥ 1200 px – wide screens */
@media (min-width: 1200px) {
    .item-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ----------  6.  OPTIONAL – DENSE PACKING  ---------- */
/* If you want the grid to “fill holes” when cards have very different heights
   uncomment the next line inside each media-query block:
   grid-auto-flow: dense;
*/





/*********************START PAGINATION****************************/
/* ----------  PAGER  ---------- */
.pager {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.pager-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.875rem;
}

/* shared button / number styles */
.pager-btn,
.pager-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;        /* touch target */
  height: 44px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, color .2s;
}

/* buttons (Prev / Next) */
.pager-btn {
  background: #337ab7;
  color: #fff;
  font-weight: 600;
  padding: 0 0.75rem;
}
.pager-btn:hover   { background: #0056b3; }
.pager-btn.disabled {
  background: #d0d0d0;
  color: #666;
  cursor: not-allowed;
}

/* numbered links */
.pager-num {
  background: #f1f1f1;
  color: #337ab7;
}
.pager-num:hover   { background: #e0e0e0; }
.pager-num.current {
  background: #337ab7;
  color: #fff;
  font-weight: 700;
}

/* ellipsis */
.pager-ellipsis {
  padding: 0 0.25rem;
  color: #666;
}

/* ----------  MOBILE  ---------- */
@media (max-width: 480px) {
  .pager-list {
    justify-content: space-between;
    width: 100%;
  }
  .pager-num:not(.current),
  .pager-ellipsis {
    display: none;          /* hide numbers on phones */
  }
}
/*********************END PAGINATION****************************/


/***************************COUNTRY DROPDOWN***********************************/
/* === country / city selects === */
#countrySelect, #citySelect { font-size: 0.875rem; }
@media(max-width:480px){
  #countrySelect, #citySelect { width: 100%; }
}
/***************************END COUNTRY DROPDOWN*******************************/



/************************UPLOAD********************************/
.upload{
    margin: 20px auto;
    padding: 10px;
    /* width: 95%; */
    max-width: 98%;
    /* min-height: 900px; */
    min-height: 1200px;
    background-color: #f1f1f1;/* #6abadeba*/;
    text-align: center;
    border-radius: 5px; 
}

#upload_username_container{
    margin-top: 20px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    text-align: center;
    float: center;
    width: 80%;
    height: 100px;
    border: 1px solid #f1f1f1;
    color: #337ab7;
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.1);
}
.upload_formContainer{
    width: 85%;
    margin: 10px auto;
    min-height: 800px;
    background: #fff;
    border-radius: 5px; 
   padding: 20px;
    /*border: 1px solid #e80606; */
   box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.upload_formContainer form{
    margin: 10px auto;
    padding: 10px;
    background-color: #fff;
    width: 95%; 
    min-height: 750px;
    color: #337ab7;
    border: none;
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.1);
}
/*********************************END UPLOAD***********************************/



/***************************LOGIN**********************************************/
.barter_login{
   background-color: #f1f1f1; /* #6abadeba*/;
   min-height: 600px;
   width: 90%;
    max-width: 650px;
    padding: 0 50px;
    margin: 100px auto;
    color: #337ab7;
    font-size: 15px;
    font-style: italic;
    text-align: center;
}
.barter_login h2{
    color: #337ab7; 
    font-size: 15px; 
    font-style: italic; 
    font-variant: small-caps; 
    text-align: center;
    padding: 20px;
}
.barterlogin_formContainer{
    width: 100%;
    background: #fff;
    padding: 20px;
    min-height: 300px;
    margin-bottom: 5px;
}
.barterlogin_formContainer form{
    padding: 30px 25px 25px 25px;
    border: 1px solid #f1f1f1;
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.1);
}
.barterlogin_formContainer form .input-box input{
    width: 100%;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    margin: 5px;
    height: 45px;
    padding: 12px 12px;
    box-sizing: border-box;
    /*color: #337ab7;*/
}
.barterlogin_formContainer form .input-box input:focus{
    border-color: #9999FF;
}
.barterlogin_formContainer form .pass{
  margin: 8px 0 20px 0;
}
.barterlogin_formContainer form .pass a{
  color: grey; 
  font-size: 17px;
  text-decoration: none;
}
.barterlogin_formContainer form .pass a:hover{
  text-decoration: underline;
  color: grey;
}
.barterlogin_formContainer form .button{
    height: 60px;
    width: 180px;
    margin: 5px auto;
    background: #f1f1f1;
}
.barterlogin_formContainer form .signup-link{
  text-align: center;
  margin-top: 20px;
  font-size: 17px;
}
.barterlogin_formContainer form .signup-link a{
  color: grey; /*#16a085;*/
  text-decoration: none;
}
.barterlogin_formContainer form .signup-link a:hover{
  text-decoration: underline;
}
.barterlogin_formContainer form .barterlogin_button{
    background: #337ab7;
    cursor: pointer;
    font-size: 15px; 
    font-style: italic; 
    text-align: center;
    margin: 0 auto;
    width: 50%;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
}
.barterlogin_formContainer form .barterlogin_button:hover{
  background: #337ab7;
  border: 2px solid #fff;
}
 
/*******************************END LOGIN**************************************/


/**********************REGISTRATION*****************************/
.barter_registration{
    background-color: #f1f1f1;
    min-height: 800px;
    width: 90%;
    max-width: 650px;
    padding: 0 50px;
    margin: 100px auto;
    color: #337ab7;
    font-size: 15px;
    font-style: italic;
    text-align: center;
}
.barter_registration h2{
    color: #337ab7; 
    font-size: 15px; 
    font-style: italic; 
    font-variant: small-caps; 
    text-align: center;
    padding: 20px;
}
.barterRegistration_formContainer{
     min-width: 100%;
     min-height: 100%;
    background: #fff;
    padding: 20px;
    margin-bottom: 5px;
}
.barterRegistration_formContainer form{
    padding: 30px 25px 25px 25px;
    border: 1px solid #f1f1f1;
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.1);
    width: 100%;
    height: 100%
}
.barterRegistration_formContainer form .input-box input{
    width: 100%;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    margin: 5px;
    height: 45px;
    background-color: #fbfdfd;
    padding: 12px 12px;
    box-sizing: border-box;
    border-radius:5px;
}
.barterRegistration_formContainer form .input-box input:focus{
    border-color: #9999FF;
}
.barterRegistration_formContainer form .pass{
  margin: 8px 0 20px 0;
}
.barterRegistration_formContainer form .pass a{
  color: grey; 
  font-size: 17px;
  text-decoration: none;
}
.barterRegistration_formContainer form .pass a:hover{
  text-decoration: underline;
  color: grey;
}
.barterRegistration_formContainer form .input-box select{
  min-height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  margin-bottom: 5px;
  transition: all 0.3s ease;
   background-color: #fbfdfd;
}
.barterRegistration_formContainer form .barterRegistration_button{
    background: #337ab7;
    cursor: pointer;
    font-size: 15px; 
    font-style: italic; 
    text-align: center;
    margin: 0 auto;
    width: 50%;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
}
.barterRegistration_formContainer form .barterRegistration_button:hover{
  background: #337ab7;
  border: 2px solid #fff;
}
  
/**********************END REGISTRATION*****************************/


/**********************SIGNUP OR SIGN IN*****************************/
.upload_registrationSignin_mainContainer{
    margin: 20px auto;
    /* margin-top: 5px; */
    padding: 0 10px 0 10px;
    min-height: 600px;
    width: 90%;
    background-color: #f1f1f1;
    /* border-radius: 15px; */
    text-align: center;
}
.upload_registrationSignin_mainContainer h2{
    /*padding-top: 20px;*/
    color: #337ab7; 
    font-size: 14px; 
    font-style: italic; 
    font-variant: small-caps; 
    text-align: center;
    padding: 20px;
}
.upload_registration{
    margin: 0 auto;
    padding: 8px;
     /*background-color: #6abadeba; */
    min-height: 400px;
    width: 100%;
    border-radius: 15px ;   
    margin-top: 30px;
}
.upload_registration_formContainer{
    width: 100%;
    background: #fff;
    padding: 20px;
    min-height: 300px;
    margin-bottom: 5px;
}
.upload_registration_formContainer form{
    padding: 30px 25px 25px 25px;
    border: 1px solid #f1f1f1;
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.1);
}
.upload_registration_formContainer form .input-box input{
    width: 100%;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    margin: 5px;
    height: 45px;
    background-color: #fbfdfd;
    padding: 12px 12px;
    box-sizing: border-box;
    border-radius:5px;
}
.upload_registration_formContainer form .input-box select{
  min-height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  margin-bottom: 5px;
  transition: all 0.3s ease;
   background-color: #fbfdfd;
}
.upload_registration_formContainer form .upload_registration_button{
    background: #337ab7;
    cursor: pointer;
    font-size: 15px; 
    font-style: italic; 
    text-align: center;
    margin: 0 auto;
    width: 50%;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
}
.upload_registration_formContainer form .upload_registration_button:hover{
  background: #337ab7;
  border: 2px solid #fff;
}


.upload_login{
    margin: 0 auto;
    padding: 8px;
    min-height: 400px;
    width: 100%;
    border-radius: 15px ;   
    margin-top: 30px;
}
.uploadlogin_formContainer{
    width: 100%;
    background: #fff;
    padding: 20px;
    min-height: 400px;
    margin-bottom: 5px;
}
.uploadlogin_formContainer form{
    padding: 30px 25px 25px 25px;
    border: 1px solid #f1f1f1;
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.1);
}

.uploadlogin_formContainer form .input-box input{
    width: 100%;
    outline: none;
    font-size: 16px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    margin: 5px;
    height: 45px;
    background-color: #fbfdfd;
    padding: 12px 12px;
    box-sizing: border-box;
    border-radius:5px;
}
.uploadlogin_formContainer form .uploadlogin_button{
    background: #337ab7;
    cursor: pointer;
    font-size: 15px; 
    font-style: italic; 
    text-align: center;
    margin: 10px auto;
    width: 50%;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
}
.uploadlogin_formContainer form .uploadlogin_button:hover{
  background: #337ab7;
  border: 2px solid #fff;
}
.uploadlogin_formContainer form .pass a{
  color: grey; 
  font-size: 17px;
  text-decoration: none;
}
.uploadlogin_formContainer form .pass a:hover{
  text-decoration: underline;
  color: grey;
}

/**********************END SIGNUP OR SIGN IN***********************************/


/***************************CONTACT USER****************************************/
.barter_contactUser{
   background-color: #f1f1f1;
   min-height: 600px;
   width: 90%;
    max-width: 660px;
    padding: 0 50px;
    margin: 20px auto;
    color: #337ab7;
    font-size: 15px;
    font-style: italic;
    text-align: center;
}
.barter_contactUser h2{
    color: #337ab7; 
    font-size: 15px; 
    font-style: italic; 
    font-variant: small-caps; 
    text-align: center;
    padding: 20px;
}
.barter_contactUser_formContainer{
    width: 100%;
    background: #fff;
    padding: 20px;
    min-height: 300px;
    margin: 5px 5px;
}
.barter_contactUser_formContainer form{
    padding: 30px 25px 25px 25px;
    border: 1px solid #f1f1f1;
    box-shadow: 0px 4px 10px 1px rgba(0,0,0,0.1);
}
.barter_contactUser_formContainer form .input-box input{
    width: 100%;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    margin: 5px;
    height: 45px;
    padding: 12px 12px;
    box-sizing: border-box;
    /*color: #337ab7;*/
}
.barter_contactUser_formContainer form .input-box input:focus{
    border-color: #9999FF;
}
.barter_contactUser_formContainer form .input-box input{
    width: 100%;
    outline: none;
    font-size: 16px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    margin: 5px;
    height: 45px;
    background-color: #fbfdfd;
    padding: 12px 12px;
    box-sizing: border-box;
    border-radius:5px;
}
.barter_contactUser_formContainer form .barter_contactUser_txt{
    background: #fff;
    cursor: pointer;
    font-size: 15px; 
    font-style: italic; 
    margin: 10px auto;
    width: 100%;
    min-height: 250px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}
.barter_contactUser_formContainer .barter_contactUser_txt:focus{
    outline: none !important;
    border: #9999FF;
    box-shadow: 0 0 10px #9999FF;
}
.barter_contactUser_formContainer form .input-box .barter_contactUser_button{
    background: #337ab7;
    cursor: pointer;
    font-size: 15px; 
    font-style: italic; 
    text-align: center;
    margin: 10px auto;
    width: 50%;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
}
.barter_contactUser_formContainer form .input-box .barter_contactUser_button:hover{
  background: #337ab7;
  border: 2px solid #fff;
}

/*********************************END CONTACT USER*********************************/


/***************************ITEM DETAILS****************************************/
.item_details{
    background-color: #f1f1f1;
    height: 1100px;
    min-height: 1000px;
    width: 100%;
    max-width: 90%;
    padding: 0 50px;
    margin: 15px auto;
    color: #337ab7;
    font-size: 15px;
    font-style: italic;
    text-align: center;
    border:1px solid #f1f1f1;
}
.item_details_formContainer{
    min-width: 85%;
    background: #fff;
    padding: 20px;
    min-height: 900px;
    margin: 30px auto;
    /*border:1px solid green;*/
}
.listed_by{
    margin: 5px auto;
    width: 100%;
    height: auto;
    max-height: 80px;
    padding: 5px;
    background-color: #f1f1f1;
    text-align: center;
    color: #337ab7;
    font-weight: 600;
    border-radius: 0.375rem;
    align-items: center;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.details_imgs{
    margin: 5px auto;
    padding: auto;
    width: 100%;
    min-height: 850px;
    border-radius: 5px;
}
.have_img{
    margin-bottom: 10px;
    min-height: auto;
    max-height: 400px;
    width: 100%;
}
#haveCarousel .carousel-inner{
    width:100%;
    /*border: 2px solid rgb(246, 6, 110); */
    max-height:500px !important; 
    margin: 0px auto;
    border-radius: 10px;
}
#haveCarousel .carousel-inner img {
   width: 100%;
   height: auto; /* Ensure images maintain aspect ratio */
   max-height: 300px; /* Adjust this value as needed */
   border-radius: 10px;
}
.details_have_description{
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5px;
    width: 100%;
    height: 80px;
    text-align: center;
    color: #337ab7;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    border-radius: 5px;
    background-color: #f0fff0;
}
.want_img{
    margin: 10px auto;
    height: auto;
    max-height: 400px;
    width: 100%;
}
#wantCarousel .carousel-inner{
    width:100%;
    /*border: 2px solid rgb(246, 6, 110); */
    max-height:500px !important; 
    margin: 0px auto;
    border-radius: 10px;
}
#wantCarousel .carousel-inner img {
    width: 100%;
    height: auto; /* Ensure images maintain aspect ratio */
    max-height: 300px; /* Adjust this value as needed */
    border-radius: 10px;
}
.details_want_description{
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5px;
    width: 100%;
    height: 80px;
    text-align: center;
    color: #337ab7;
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    border-radius: 5px;
    background-color: #f0f8ff;
}

/***************************END ITEM DETAILS************************************/


/***************************ITEM DETAILS USER LISTING**************************/
.item_details_userListing{
    background-color: #f1f1f1;
    height: 1100px;
    min-height: 1000px;
    width: 100%;
    max-width: 90%;
    padding: 0 50px;
    margin: 15px auto;
    color: #337ab7;
    font-size: 15px;
    font-style: italic;
    text-align: center;
    /*border:1px solid #f1f1f1;*/
     border:1px solid red;
}
.item_details_userListing_formContainer{
    min-width: 85%;
    background: #fff;
    padding: 20px;
    min-height: 900px;
    margin: 30px auto;
    border:1px solid green;
}
.item_details_userListingCarousel{
    height:250px;
    width: 100%;
    border:1px solid red;
}
.listed_by{
    margin: 5px auto;
    width: 100%;
    height: auto;
    max-height: 80px;
    padding: 5px;
    background-color: #f1f1f1;
    text-align: center;
    color: #337ab7;
    font-weight: 600;
    border-radius: 0.375rem;
    align-items: center;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.user-listing-card {
    border: 1px solid #ddd;
     border: 1px solid red;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px 2px; /* Add spacing between cards */
}
.item-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    /*background-color: grey;*/
}

/* Item Section (I Have / I Want) */
.item-section {
    margin-bottom: 20px;
    border: 1px solid brown;
    margin: 5px auto;
    padding: auto;
    width: 100%;
    min-height: 300px;
    border-radius: 5px;
}
.item-section h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
}
.item-section h5 {
    font-size: 16px;
    margin: 0 0 5px 0;
}
.item-section p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
}
/* Item Image */
.item-image img {
    width: 200px;
    height: 200px;
    max-height: 250px;
    border-radius: 4px;
    border:1px solid green;
}


/***************************END ITEM DETAILS USER LISTING**********************/



/*********************************START FOOTER*********************************/
.footer{
    margin-top:50px;
	padding: 30px;
	/*text-align: center;*/
	border-bottom: 10px solid #c9c9c9;
	background-color: #f1f1f1/*grey*/;
    /* background-image: linear-gradient(to bottom, rgba(240, 255, 40, 1) 0%, rgba(240, 255, 40, 1) 100%), linear-gradient(to bottom, rgba(240, 40, 40, 1) 0%, rgba(240, 40, 40, 1) 100%);
    background-clip: content-box, padding-box;*/
}
/* Extra Small Devices (Phones, Portrait) */
@media screen and (max-width: 576px) {
    .footer {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
     }
    /* Ensure the elements within the 'user' td are stacked vertically */
    .footer_additionalInfo1, 
    .footer_additionalInfo2,
    .footer_additionalInfo3,
    .copyright,
    h1, 
    a {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-paragraphs{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* Small Devices (Phones, Landscape) */
@media (min-width: 576px) and (max-width: 768px) {
    .footer {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
    }
    /* Ensure the elements within the 'user' td are stacked vertically */
    .footer_additionalInfo1, 
    .footer_additionalInfo2,
    .footer_additionalInfo3,
    .copyright,
    h1, 
    a {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-paragraphs{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* Medium Devices (Tablets) */
@media (min-width: 768px) and (max-width: 992px) {
    .footer {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
    }
    /* Ensure the elements within the 'user' td are stacked vertically */
    .footer_additionalInfo1, 
    .footer_additionalInfo2,
    .footer_additionalInfo3,
    .copyright,
    h1, 
    a {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-paragraphs{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.footer_divider{
	height: 2px;
	background-color:#fff;
	margin-top:20px;
	margin-bottom:20px;
}
.footer h1{
	font-size: 1.8em;
	color: #337ab7;
	padding: 0 0 15px;
	text-align: center;
	/* color: #FBFCFC; */
}
.footer p{
	padding: 10px;
	text-align:justify;
	color: #337ab7; /*color: #FBFCFC;*/
    font-size: 12px;
    overflow-wrap: break-word;
}
.footer a{
    text-decoration: none;
    font-size: 12px;
    color: #03b9fb;
}
.footer h5{
	color: #FBFCFC;
}
.footer_contact_message{
	/*border: 1px solid blue;*/
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.footer_contact_chat{
	/*border: 1px solid blue;*/
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.footer_contact_chat img{
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width:100%;
	/*width: 80%;*/
}
.footer_contact_contactUs{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	/*border: 1px solid blue;*/
}
.footer_contact_locateUs{
	/*border: 1px solid blue;*/
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.footer_contact_locateUs img{
	display: block;
	margin-left: auto;
	margin-right: auto;
	/*width: 80%;*/
	max-width:100%;
}
.footer_contact_socials{
	text-align: center;
}
.footer_additionalInfo1{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.footer_additionalInfo2{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.footer_additionalInfo3{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.footer_additionalInfo3 img{
	width: 17px;
    height: 17px;
}
.footer_stayUpdated{
	text-align: left;
}

.copyright{
	text-align: center;
	color: #337ab7;
	text-decoration: none;
}
.copyright a{
	color: #337ab7;
	text-decoration: none;
}