*, *::before, *::after{box-sizing:border-box;margin: 0;padding: 0; font-family: "Arial", sans-serif;}


html{
     display: flex;
    justify-content: center;align-items: flex-start;flex-direction: column;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    width: 100%;
     min-height: 100vh;
     /* border: 4px solid red; */
} 

body {
    display: flex;
    justify-content: flex-start;align-items: flex-start;flex-direction: column;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(45deg, rgba(4, 200, 254, 0.8), rgba(46, 4, 254, 0.8), rgba(4, 4, 254, 0.8), rgba(4, 200, 254, 0.8));  
    padding: 0;
    margin:0;
    background-size: cover; 
    background-position: center;  
    background-repeat: no-repeat; 
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    scroll-behavior: smooth;
/* border: 4px solid black;  */
  
}


.nav-main {
display:flex;justify-content: center;align-items: center; 
 min-width: 100%;
 right: 0;
 top: 0;
 left: 0;
z-index: 3000;
/* border: 4px solid green; */
}

.nav-main-sub {
 min-width: 100%;
 /* border: 4px solid whitesmoke; */
}

.header-menu {
     display:flex;justify-content: space-evenly;align-items: center; 
     position: relative;
     width: 100%;
      right: 0;
} 

.marketpl-main {
    display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    gap: 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 4px solid lime;
}

.central-main-home {
    color: white;
    border-bottom: 4px solid lime;
}

.central-main-user {
    color: white;
}

.central-admin {
    color: white;
     border-bottom: 4px solid gold;
}

.central-new-item {
    color: white;
    border-bottom: 4px solid gold;
}

.central-categories {
    color: white;
    border-bottom: 4px solid red;
}

.central-log-out {
    color: white;
    border-bottom: 4px solid gold;
}


.custom-label {
    font-size: 18px;  
    color: #ef0b0b;   
    font-weight: bold; 
    margin-bottom: 0.5rem; 
}

/* Start of  The alert TOAST MESSAGE */ /* Start of  The alert TOAST MESSAGE */

#message-custom-alert {
    position: fixed;
    top: 20px; /* Distance from top */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 300px;
    z-index: 9999; /* Sit on top of everything */
    display: flex;
    justify-content: center;
    pointer-events: none; /* Allows clicking things behind it */
}

.messages-alert-front {
    list-style: none;
    padding: 15px 25px;
    border-radius: 12px;
    background-color: #16a34a; /* Success Green */
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* If the message is an error, change color */
.messages-alert-front li.error {
    background-color: #dc2626;
}

/* End of  The alert TOAST MESSAGE */



.selected-currency {
    background: red;
}

.image-detail {
    display:inline-flex;
    flex: 1;
   
    /* border: 4px solid red; */
    width: 100%;
}

.container {
    border-bottom: 4px solid red;
}


.marketpl-categories {
    display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
     width: 100%;
    border: 4px solid green;
}

.marketpl-ribbon {
    display: flex;justify-content: space-around;align-items: center;flex-direction: row;flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    border: 4px solid white;
}

.marketpl-upload {
    display: flex;justify-content: flex-start;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: auto;
    margin-top: 0.5em;
    margin-left: 0.5em;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    padding-right: 0.1em;
    padding-left: 0.4em;
    color: blue;
    background: rgb(180, 242, 118);
    border-radius: 5px;
    /* border-top: 4px solid blue; */
}

.marketpl-files {
    font-weight: bold;
}

.marketpl-upload input {
    padding:0.2em;
    width: auto;
    background: rgb(237, 255, 182);
    /* border: 3px solid red; */
}

#customToyotaFilename {
    padding:0.4em;
}

.upload-file {
    padding-left:0.2em;
    padding-right:0.2em;
    font-size: 22px;
    cursor: pointer;
    transition: 1s;
    color: rgb(245, 245, 251);
    border-radius: 30%;
    /* border: 3px solid yellow; */
}

.marketplace_image {
    width: 58px;
    height: 58px; 
    padding: 4px;
    transition: 0.8s;
}

.marketplace_image:hover {
    padding: 0px;
    transition: 0.8s;
    box-shadow: 1px 1px 9px 9px lime; 
    /* border: 3px solid red;  */
}

#customToyotaFilename::placeholder {
    color: #f00606; 
    font-size: 20px; 
    font-weight: normal;
    padding-left: 4px;
    opacity: 1;
}

input:focus {
    color: #0404f8; 
    font-size: 16px; 
    font-weight: normal;
    padding-left: 4px;

}

 /*START OF CLOCK 2 DAILY TASKS STYLE*/

.header-clock {
    display: flex;justify-content: center;align-items:center;flex-direction: row;flex-wrap:nowrap;
    flex:1;
    padding-top: 0em;
    padding-bottom: 0em;
    padding-right: 0.2em;
    margin: 0;
    min-width: 100%; 
}


.dtclock-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding-left: 0.3em;
    padding-right: 0.3em;
    padding-top: 0.1em;
    padding-bottom: 0.2em;
    margin-left: 0.5em;
    font-size: 24px;
    letter-spacing: 1px;
    font-family: 'Arial Narrow';
    font-weight: bold;
    transition: 1s all ease-in-out;
    color: white;
    background: darkmagenta;
    border-radius: 10px;
    box-shadow: 0.3px 0.3px 6px 6px rgb(221, 4, 249); 
    border: 2px solid white;
}

 /*END OF CLOCK 2 DAILY TASKS STYLE*/

/* START OF CALENDAR */

.calendar {
    font-size: 35px;
    padding: 3px;
    z-index: 30;
    background: blue;
    color: white;
    border-radius: 5px;
}

#start-date {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
  }
.button-range {
    display: flex; align-items: center;
    position:fixed;
    right:0;
    top: 0;
    margin-right: 2rem;
    margin-top: 0.8rem;
    z-index: 30;
    background: transparent;
    font-size: 18px; 
    outline: none; 
    /* border:2px solid red; */
    border-radius: 5px;
    /* border:3px solid lime; */
    box-shadow: 0 0 3px 3px white;
    transition: 0.6s;
}

.button-range:hover {
    background: transparent;
    font-size: 18px; 
    outline: none; 
    border-radius: 5px;
    transition: 0.6s;
}

button, input {
    cursor: pointer;
    outline: none; 
    border:none; 
}

button:focus, input:focus {
    outline: none; 
    border:none; 
    
} 

/* END OF CALENDAR */


/* START OF ITEM / ITEMS.HTML */


/* Start of Front page */


.base-items-body {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(min-content, max-content));
   width: 100%;
   height: 100%;
   margin: 0;
    /* border: 6px solid red; */
}

/* START OF CATEGORIES WHOLE VIEW FRONT PAGE */

.master-wrap {
    display: flex;
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-column: span 2; */
    width: 100%;
    height: 100%;
    margin: 0;
    /* border: 5px solid black; */
}

/* START OF CATEGORIES SIDE MENU FRONT PAGE */

.category-side-master {
 display: flex; justify-content: center;align-items: baseline;flex-direction: row;flex-wrap: wrap;
  width: 100%;  
    /* border: 4px solid violet; */
}

.category-side-submaster {
 display: flex; justify-content:space-around;align-items: baseline;flex-direction: row;flex-wrap: wrap;
 width: 100%;  
    /* border: 4px solid orange; */
}

.category-items-found {
  display: flex; justify-content:center;align-items: baseline;flex-direction: row;flex-wrap: wrap;
  width: auto; 
  padding: 0.4em; 
  font-size: 18px;
  font-weight: bold;
  background: lime;
  color: blue;
  border-radius: 20px;
  letter-spacing: 1px;
  /* border: 3px solid red; */
}

/*  #- whole side menu */

.sub-master-wrap { 
    display: block; 
    width: 100%;
    padding-left: 0.1em;
    padding-right: 0.2em;
      border-right: 4px solid transparent;
      /* border: 4px solid orange; */
}

.sub-sub-master-wrap {
    display: block; justify-content: center;align-items: flex-start;flex-direction: row;flex-wrap: wrap;
    flex: 2.5;
    /* max-width:25vw; */
    width: 100%;
    padding: 0;
    border: 1px transparent;
    /* border: 4px solid white; */
}

.master-container {
    display: flex;justify-content: flex-start;align-items:flex-start ;flex-direction: column;flex-wrap: wrap;
    flex: 7.5;
    width: 100%;
    padding: 3px;
    margin: 0;
    border-bottom: 3px solid lime;
    /* border: 4px solid orange; */
}

.container-ribbon {
    display:flex; justify-content:space-between; align-items:center; flex-direction:row; flex-wrap:wrap;
    width:100%;
    /* border: 4px solid red; */
}

.container-goback {
    border: 1px solid transparent;
    /* border: 4px solid red; */
}

.container-changesubcat {
    display: flex;justify-content:center; align-items:center; flex-direction:row; flex-wrap:wrap;
    /* border: 4px solid red; */
}

/* SUBCATEGORY CHANGE START */

.rename-box {
    display: flex;justify-content:center; align-items:center; flex-direction:row; flex-wrap:wrap;
    width: auto;
    position: absolute;
    max-height: 0;
    margin-top: 10rem;
    /* padding: 10px; */
    /* overflow: hidden; */
    opacity: 0;
    transform: translateY(0px);
    transition: all 1s ease-in-out;
    z-index: 999;
    /* background: #7d03f7; */
    border-radius: 15px;
    /* border: 4px solid green; */
}

/* OPEN STATE */
.rename-box.open {
    display: flex;justify-content:center; align-items:center; flex-direction:row; flex-wrap:wrap;
    width: auto;
    position:absolute;
    margin-top: 10rem;
    /* padding: 10px; */
    max-height: 200px;
    font-size: 30px;
    opacity: 1;
    transform: translateY(0);
    z-index: 999;
    background: #03f713;
    border-radius: 15px;
    border: 4px solid red;
}



.rename-box-wrap {
    display: flex;justify-content:center; align-items:center; flex-direction:row; flex-wrap:wrap;
    width: auto;
    /* border: 4px solid green; */
}

.rename-sub-btn {
    display: flex;justify-content:space-evenly; align-items:center; flex-direction:row; flex-wrap:wrap;
    width:100%;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    /* border: 4px solid blue; */
}

.subcat-change-box {
    display: flex;justify-content:center; align-items:center; flex-direction:row; flex-wrap:wrap;
    margin-top: 0.2em;
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
     border: 4px solid transparent;
}

.subcat-change-type {
    width: 100%;
    font-size: 20px;
    overflow: hidden;
    transition: font-size 0.2s ease;
    height: 50px;         
    line-height: 50px;     
    box-sizing: border-box;
    color: white;
    background-color: red !important;
    /* border: 4px solid magenta; */
}

.subcat-change-type:focus {
    background: red !important;
    color: white !important;
    outline: none;
}

.subcat-change-type:-webkit-autofill {
    background-color: red !important;
    -webkit-box-shadow: 0 0 0px 1000px red inset !important;
    -webkit-text-fill-color: white !important;
}

.subcat-change-type::selection {
    background: red;
    color: white;
}

.subcat-change-type::placeholder {
   /* width: fit-content; */
   width: 100%;
   overflow: hidden;
   color: white;
   background: #e1e5ed;
   font-size: 20px;
   letter-spacing: 1px;
   padding: 5px;
   line-height: normal;
   /* border: 4px solid yellow; */
}


/* SUBCATEGORY CHANGE END */

.container-search {
    width: auto;
    /* border: 4px solid green; */
}

.items-categories-found {
    border: 4px solid green;
}

.form-master-wrap {
    display: flex; justify-content: center;align-items: baseline;flex-direction: row;flex-wrap: wrap;
    width: auto;
    padding: 5px;
    /* border: 4px solid violet; */
}

.form-submaster-wrap {
    display: flex; justify-content: center;align-items: baseline;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    padding: 0;
    margin-top: 0.2em;
    /* border: 5px solid blue; */
}
 
.sub-sub-master-buttonswrap {
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: none; 
    padding: 4px;
    background: rgb(152, 4, 250);
    border-radius: 10px;
    /* border: 4px solid lime; */
}

.sub-sub-master-buttons {
    display: flex; justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    margin-top: 0.5em;
     margin-bottom: 0.5em;
      border-radius: 10px;
      padding: 4px;
      color: blue;
      font-size: 20px;
      font-weight: bold;
      transition: 1s;
     border: 3px solid white;
}

.sub-sub-master-buttons:hover {
      color: white;
      background: red;
     border: 3px solid blue;
}

.text-sub-master {
    display: flex; justify-content: flex-start;align-items: baseline;flex-direction: row;flex-wrap: wrap;
    font-size: 20px;
    width: auto;
     /* border: 4px solid blue; */
}

.text-point-master {
    display: flex; justify-content: flex-end;align-items: baseline;flex-direction: row;flex-wrap: wrap;
    font-size: 20px;
    width: 100%;
     /* border: 4px solid blue; */
}

.text-sub-submaster {
    display: flex; justify-content: flex-end;align-items: baseline;flex-direction: row;flex-wrap: wrap;
    flex: 1;
    /* min-width: 24vw;
    max-width:100%; */
    width: 100%;
    height: 2rem;
    margin-right: 0.2em;
  
    /* font-size: 20px; */
    color: blue;
    border-radius: 10px;
     /* border: 4px solid red; */
}
/* END OF CATEGORIES SIDE MENU FRONT PAGE */

/* MESSAGE UPLOAD */

#messages-container {
    display: flex; justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
    position: absolute;
    min-width: 100%;
    /* border: 4px solid black; */
}

.flash-message {
    display: flex; justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: auto;
    font-size: 25px;
    font-weight: bold;
    padding: 12px 16px;
    position: absolute;
    background: red;
    color: white;
    opacity: 0;
    z-index: 9999;
    border-radius: 15px;
    box-shadow: 1px 1px 9px 9px rgb(248, 246, 247);
    animation: fadeInOut 10s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* .flash-message.show {
    opacity: 1;
    transform: translateY(0);
}

.flash-message.hide {
    opacity: 0;
} */

/* END OF MESSAGE UPLOAD */

.search-master-wrap {
     display: flex; justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
     flex: 1;
     padding: 5px;
     border-radius: 10px;
      /* border: 4px solid green; */

}

/* Target the div holding the buttons */
.sub-master-wrap .flex {
    display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    flex-wrap: nowrap;
    flex: 1; 
    width: auto;
    gap: 0.5rem; 
    /* border: 4px solid red; */
}

.form-master-wrap-findsee {
    display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    margin-top: 0.2em;
    border-bottom: 3px solid transparent;
}

.form-master-wrap-find {
  display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
  font-size: 20px;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  color: blue;
  background: lime;
  border-radius: 20px;
  border: 4px solid blueviolet;
}

.form-center-findsee {
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    /* border: 4px solid blue; */
}

.form-master-wrap-seeall {
 font-size: 20px;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  padding-right: 15px;
  color: blue;
  background: yellow;
  border-radius: 20px;
  /* border: 4px solid red; */
}

.gallery-grid {
     
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-column: span 4;
    grid-auto-rows: max-content;
    align-content: start;
    column-gap: 0.3rem;
    row-gap: 0.5rem;
    flex-direction: row;
    width: 100%;
    height: 86vh;
    overflow-y: auto;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    margin: 0;
    padding: 2px;
    /* border: 6px solid black; */
}

.all-items-grandmaster {
    display: flex;justify-content:center;align-items:flex-start;flex-direction:row;flex-wrap: wrap;
    /* border: 6px solid orange; */
}

.all-items-master {
    display: flex;justify-content:center;align-items:flex-start;flex-direction:row;flex-wrap: wrap;
    flex-grow: 1;
    width: auto;
    /* height: fit-content;  */
    height: 100%; 
    overflow: hidden;
    padding: 0;
    background: rgb(4, 204, 249);
    border-radius: 15px;
    /* border: 4px solid blue; */
}

.items-top-count {
    font-size: 14px;
    color: white;
}

.all-items-image {
    display: flex;justify-content: center;align-items: center; flex-direction: row;flex-wrap: wrap;
    width: 100%;
    /* border: 3px solid yellow; */
}

.all-items-pdf {
    display: flex;justify-content: center;align-items: center; flex-direction: row;flex-wrap: wrap;
    width: 100%;
    /* border: 3px solid yellow; */
}

.image-item-underdetail {
    color: white;
    /* border: 4px solid red; */
}

.image-item-folder {
   width: 100%;
   height: auto;
    font-size: 14px;
    color: white;
}

.image-item-nofile {
    font-size: 14px;
    color: white;
}

.image-item-pdf {
    font-size: 16px;
    color: white;
    /* border: 4px solid red; */
}

.image-items-xlsx {
    font-size: 16px;
    color: white;
}

.image-items-docx {
    font-size: 16px;
    color: white;
}

.image-item-txt {
    font-size: 16px;
    color: white;
}

.all-items-submaster {
    display: flex;justify-content: center;align-items: center;flex-direction:row;flex-wrap: wrap;
    width: 100%;
    /* border: 4px solid red; */
}

.all-items-secondmaster {
    display: flex;justify-content: center;align-items: center;flex-direction:row;flex-wrap: wrap;
    width: 100%;
    padding: 2px;
    color: blue;
    background:wheat;
    /* border: 4px solid red; */
}

.items-category-wrap {
    display: flex;justify-content: center;align-self:center;flex-direction:row;flex-wrap: wrap;
    margin-left: 0.3em;
    margin-top: 0.3em;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    font-weight: 600;
    background: #007bff;
    color: white;
    width: auto;
    border-radius: 15px;
    /* border: 4px solid red; */
}

.items-subcategory-wrap {
    display: flex;justify-content: center;align-self:center;flex-direction:row;flex-wrap: wrap;
    margin-left: 0.3em;
    margin-top: 0.3em;
     padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    font-weight: 600;
    background: #03f713;
    color: rgb(65, 15, 245);
    width: auto;
     border-radius: 15px;
    /* border: 4px solid red; */
}

.all-items-name {
    display: flex;justify-content: center;align-items: center;flex-direction:row;flex-wrap: wrap;
    width: 100%;
    padding: 4px;
    color: white;
    background: #6319ad;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    border-top: 3px solid white;
}

.all-items-price {
    width: 100%;
    color: white;
    font-size: 14px;
    padding: 3px;
    /* border: 4px solid orange; */
}

.cat-items-view {
    display: flex;justify-content: center;align-self: flex-start;flex-direction:row;flex-wrap: wrap;
    position: relative;
    /* margin-top: 0.3em; */
    padding: 0px;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: blue;
    background: rgb(44, 7, 230);
    /* border: 4px solid white; */
}

.cat-items-view-detail {
    display: flex;justify-content: center;align-self: flex-end;flex-direction:row;flex-wrap: wrap;
    margin-top: 0.3em;
    padding: 3px;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: blue;
    background: lime;
    /* border: 4px solid violet; */
}


.all-item-category {
    display: flex;justify-content: center;align-items: center; flex-direction: column;flex-wrap: wrap;
    align-self: flex-start;
    margin-top: 3px;
    margin-bottom: 3px;
    gap: 4px;
    /* border: 4px solid violet; */
}

.category-items-view {
    display: flex;justify-content: center;align-items: center;flex-direction:row;flex-wrap: wrap;
    position: relative;
    /* margin-top: 0.3em; */
    width: 100%;
    /* padding: 0.5em; */
    font-size: 20px;
    font-weight: bold;
    color: blue;
    background: lime;
    border: 4px solid violet;
}


.item-empty {
     display: flex;justify-content: center;align-items: center; flex-direction: row;flex-wrap: wrap;
     width: 100%;
     height: auto;
     /* padding: 1em; */
     /* margin-top: 0.5em; */
     color: blue;
     background: lime;
     font-size: 20px;
     font-weight: bold;
     border-radius: 15px;
     /* border: 3px solid blue; */
}



.main-folder-buttons {
     display:flex;justify-content: flex-start;align-items: center;flex-direction: row;flex-wrap: wrap;
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-flow: row;
    grid-column:auto;
    grid-template-rows: auto;  */
    width: fit-content;
    max-width: 100%;
    height: auto;
    padding-left: 0.3em;
    padding-top: 0.2em;
    column-gap: 0.5rem;
    row-gap: 0.5rem;
    scroll-behavior: auto;
    border: 4px solid transparent;
}

.main-folder-underbuttons {
    display:inline-flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    white-space: nowrap;
    width: auto;
    height: auto;
    margin-top: 0.5em;
    margin-right: 0.5em;
    margin-bottom: 0.3em;
    padding: 3px;
    font-weight: bold;
    background: lime;
    color: #0404f8;
    border-radius: 10px;
    transition: 1s;
    box-shadow: 1px 1px 4px 4px whitesmoke, 1px 1px 4px 4px whitesmoke;
}

.main-folder-underbuttons:hover {
    background: rgb(255, 0, 242);
    color: white;
     box-shadow: 1px 1px 4px 4px lime, 1px 1px 4px 4px lime;
}

.subfolder-main-button{
    display:inline-flex;justify-content: space-evenly;align-items: center;
    /* margin-right: 0.5em; */
    white-space: nowrap;
    width: auto;
    height: auto;
    padding: 3px;
    font-weight: bold;
    
    /* background: lime; */
    /* border-radius: 10px; */
    /* border: 3px solid red; */
}

.main-inside-button {
    display: flex;justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: auto;
    padding: 2px;
    /* background: #03faa8; */
    border-radius: 10px;
    /* border: 4px solid red;  */
}

.sub-inside-button {
    display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    border: 3px solid orange; 
}

.sub-inside-subbutton {
   display: flex;justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
   width: auto;
    padding-left: 4px;
     padding-right: 4px;
    background: lime;
    border-radius: 10px;
   border: 3px solid red;  
}

.back-cat-button {
    display: flex;justify-content: end;align-items: baseline;
    width: auto;
    padding: 4px;
    font-size: 18px;
    font-weight: bold;
    background: lime;
    border-radius: 10px;
    border: 3px solid red;
}

/* End of Front page */

/* END OF ITEM / ITEMS.HTML */


/* START OF LOG IN SECTION */

.master-login {
    padding: 5px;
    background: #007bff;
    color: #dee2e6;
    border: 4px solid white;
}

/* END OF LOG IN SECTION */

/* START OF SIGN UP SECTION */

.master-signup {
    padding: 5px;
    background: #007bff;
    color: #dee2e6;
    border: 4px solid white;
}

.submaster-signup {
    display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    gap: 0.5em;
    /* border: 4px solid red; */
}

.submaster-signup-create {
    padding: 0.5em;
    background: #7eabff;
    color: blue;
    border-radius: 20px;
border: 4px solid lime;
}

.submaster-signup-login {
    padding: 0.5em;
    background: #7eabff;
    color: blue;
    border-radius: 20px;
border: 4px solid lime;
}

/* END OF SIGN UP SECTION */

@media (max-width: 900px) {

    #main-top {
    display: none;
}

.sub-sub-master-buttonswrap {
   display: none;
}

.central-admin {
    display: none;
}

.central-new-item {
    display: none;
}

.central-categories {
    display: none;
}

.central-log-out {
    display: none;
}

.form-center-findsee {
    display: none;
}

.form-submaster-wrap {
      display: none;
}


    /* START OF ITEM / ITEMS.HTML */

    .master-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-column: span 4;
    /* border: 4px solid orange; */
}

    .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-column: span 4;
    grid-auto-rows: min-content;
    column-gap: 0.3rem;
    row-gap: 0.5rem;
    margin: 0;
    width: 100%;
    height: 75vh;
    overflow-y: auto;
    padding: 2px;
    /* border: 4px solid red; */
}

.sub-master-wrap {
    display: flex; justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    border-bottom: 3px solid lime;  
    /* border: 4px solid green; */
}

.form-master-wrap {
    display: flex; 
    /* padding: 5px; */
    
} 

.search-master-wrap {
     display: flex; justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
     flex:1;
     padding: 5px;
     border-radius: 10px;
     border: 3px solid red;

}

.text-sub-submaster {
    display: flex; justify-content: center;align-items: baseline;flex-direction: row;flex-wrap: wrap;
    margin-left: 0.3em;
    max-width:50%;
    height: 2rem;
    font-size: 16px;
    color: blue;
    border-radius: 10px;
     /* border: 4px solid red; */
}

/* Target the div holding the buttons */
.sub-master-wrap .flex {
    display: flex;justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
    flex-wrap: nowrap;
    flex: 0.4; 
    width: auto;
    margin-right: 2px;
    gap: 0.5rem; 
    /* border: 3px solid green; */
}

.sub-sub-master-wrap {
    display: flex;
    width: 100%;
}

/* END OF ITEM / ITEMS.HTML */

}

@media (max-width: 600px) {

    #main-top {
    display: none;
}

.sub-sub-master-buttonswrap {
   display: none;
}

.central-admin {
    display: none;
}

.central-new-item {
    display: none;
}

.central-categories {
    display: none;
}

.central-log-out {
    display: none;
}

.form-center-findsee {
    display: none;
}

.form-submaster-wrap {
      display: none;
}

    /* START OF ITEM / ITEMS.HTML */

    .master-wrap {
    display: flex;justify-content: center;align-items: center;flex-direction: column;
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); */
    width: fit-content;
    height: 100%;
    /* border: 4px solid red; */
}

    .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-column: span 2;
    grid-auto-rows: min-content;
    column-gap: 0.2rem;
    row-gap: 0.5rem;
    width:100%;
    height: 85vh;
    overflow-y: auto;
    padding: 2px;
    /* border: 4px solid green; */
}

.sub-master-wrap {
    display: flex; justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: 98vw;
    /* border: 4px solid green; */
      
}

.form-master-wrap {
    display: none; 
   /* border: 3px solid red;  */
}

.search-master-wrap {
     display: flex; justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
     flex: 1;
     padding: 5px;
     border-radius: 10px;
     
 /* border: 3px solid red; */
}

/* Target the div holding the buttons */
.sub-master-wrap .flex {
    display: flex;justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
    flex-wrap: nowrap;
    flex: 1; 
    width: auto;
    gap: 0.5rem; 
     /* border: 3px solid green; */
}

.sub-sub-master-wrap {
    display: flex;
     width: 100%;
}

.text-sub-submaster {
    display: flex; justify-content: flex-end;align-items: baseline;flex-direction: row;flex-wrap: wrap;
    width:100%;
    height: 2rem;
    font-size: 16px;
    color: blue;
    border-radius: 10px;
     /* border: 4px solid red; */
}

.main-inside-button {
    display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: auto;
    /* border: 3px solid white;  */
}

.sub-inside-button {
    display: flex;justify-content:flex-start;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: auto;
    /* border: 3px solid orange;  */
}

.sub-inside-subbutton {
   display: flex;justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
   flex: 1;
   min-width: 20em;
   max-width: auto;
    padding-left: 4px;
     padding-right: 4px;
    background: lime;
    border-radius: 10px;
   /* border: 3px solid red;   */
}

.back-cat-button {
    display: flex;justify-content: center;align-self: flex-end;
    width: auto;
    margin-top: 0.3em;
    /* border: 3px solid red; */
}

.other-item-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
 
    width: 100%;
    /* border: 5px solid white; */
}

.master-name-buttons {
    display: grid;
    
    grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
     /* display: flex;justify-content: flex-start;align-items: center;flex-direction: row;flex-wrap: wrap; */
    /* gap: 0.5em; */
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    width:100%;
    /* border:4px solid white; */
}

.master-name-underbuttons {
    display: flex;justify-content: flex-start;align-items: center;flex-direction:row; flex-wrap: wrap;
     gap: 0.5em;
     /* border: 4px solid red;  */
}

.master-name-individual {
    color: blue;
    padding: 5px;
   
  /* border: 4px solid white;   */
}

.main-folder-underbuttons {
    display:inline-flex;justify-content: space-between;align-items: center;
    /* margin-right: 0.5em; */
    white-space: nowrap;
    width: auto;
    height: auto;
    margin-top: 0.5em;
    padding: 3px;
    font-weight: bold;
    background: lime;
    border-radius: 10px;
    transition: 1s;
    /* border: 3px solid white; */
}

/* .main-folder-underbuttons:hover {
    background: rgb(255, 0, 242);
    color: white;
    border: 3px solid lime;
} */

/*START OF HAMBURGER MENU  */

.list-group-underitem {
    width: 98vw;
    text-decoration: none; 
    list-style: none; 
    font-size: 20px;
    font-weight: bold;
    margin-top: 1vh;
    letter-spacing: 1px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    color: blue;
    background: linear-gradient(45deg, rgb(254, 187, 4),  rgb(254, 187, 4), rgb(163, 250, 2));
    border: 3px solid white; 
    border-radius: 20px;
    }

    /*END OF HAMBURGER MENU  */






/* END OF ITEM / ITEMS.HTML @media (max-width: 600px)*/



}