/* START OF DELETE HTML */

.form-delete-wrap {
    display: flex;justify-content:space-around;align-items:flex-start ;flex-direction: row;flex-wrap: wrap;
    margin-top: 1em;
    /* border-bottom: 4px solid orange; */
}

.form-delete-cancel {
  margin-bottom: 0.5em;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  color: lime;
  background: green;
  border-radius: 15px;
}

.form-delete-delete {
  margin-bottom: 0.5em;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  background: red;
  border-radius: 15px;
  border: none;
  cursor: pointer;
}

/* keep same style when clicked */
.form-delete-delete:active {
  padding: 10px;
  font-size: 20px;
  color: white;
  background: darkred;
  transform: none;
}

/* prevent browser focus override */
.form-delete-delete:focus {
  padding: 10px;
  font-size: 20px;
  outline: none;
  color: white;
}

/* END OF DELETE HTML */


/* START OF DETAIL.HTML */

.details-ribbon {
    display: flex;justify-content: center;align-items:flex-start ;flex-direction: row;flex-wrap: wrap;
    flex: 7.5;
    width: 100%;
    padding: 3px;
    margin: 0;
    /* border: 4px solid orange; */
}

.detail-top-items-count {
    display: flex;justify-content: center;align-items:center ;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    /* padding: 5px; */
    color: white;
     background: linear-gradient(45deg, rgba(4, 8, 254, 0.8), rgba(175, 4, 254, 0.8), rgba(175, 4, 254, 0.8), rgba(4, 8, 254, 0.8));  
    /* border: 4px solid red; */
}

.top-img-detail {
    display: flex;justify-content: center;align-items:center ;flex-direction: row;flex-wrap: wrap;
    width: auto;
     /* border: 4px solid yellow;  */
}

/* CAROUISEL START */

.carousel {
    width: 100%;
    max-width: auto;
    margin: auto;
}

.carousel-main {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
     /* border: 4px solid grey; */
}

.carousel-image {
     display: flex;flex-direction: row;flex-wrap: wrap;
     justify-self: center;
     align-self: center;
    /* position: absolute; */
    position: relative;
   
    width: auto;
    height: auto;
    /* min-height:auto;
    max-height: 80vh; */
    object-fit: cover;
    display: none;
    /* border: 4px solid white; */
    pointer-events: none;
}

.carousel-image.active {
    width: auto;
    min-height:auto;
    max-height: 60vmax;
    display: block;
   
    /* border: 4px solid maroon; */
}

/* Arrows */
.carousel-btn {
    display: flex;justify-content: center;align-items:center ;flex-direction: row;flex-wrap: wrap;
    position: absolute;
    
    width: auto;
    top: 1.4rem;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 18px;
    z-index: 999;
}

.carousel-btn.prev {
  
    font-size: 30px;
    padding-top: 25px;
     left: 0px; 
      z-index: 999;
    }
.carousel-btn.next {
    font-size: 30px;
    padding-top: 25px;
     z-index: 999;
     right: 0px; 
    }


.master-img-detail {
    display: flex;justify-content: center;align-items:center ;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    height: auto;
    /* background: #3c6af3; */
    /* border: 4px solid orange;  */
}

/* CAROUSEL END */

.detail-top-items-subcount {
    margin-right: 0.3em;
}

.detail-main-items-click {
    display: inline-flex;justify-content: center;align-items:baseline ;flex-direction: row;flex-wrap: nowrap;
    width: auto;
    word-break: break-all;
    color: white;
    transition: 1s ease-in-out;
    /* border: 4px solid orange;  */
}

.detail-top-items-click {
    display: inline-flex;justify-content: center;align-items:baseline ;flex-direction: row;flex-wrap: nowrap;
    width: auto;
    margin-right: 0.3em;
    margin-bottom: 0.5em;
    padding: 5px; 
    word-break: break-all;
    color: white;
    background: #3c98f3;
    transition: 1s ease-in-out;
    border-radius: 15px;
    border-bottom: 4px solid lime;
    border-top: 4px solid transparent;
}

.detail-top-items-click:hover {
   background: #cf09ed;
    border-bottom: 4px solid white;
    border-top: 4px solid white;
}

.detail-related-items-pdf {
    display: flex;justify-content: center;align-items: center; flex-direction: row;flex-wrap: wrap;
    /* word-break: break-all; */
    width: 100%;
    padding: 2px;
    /* border: 4px solid yellow; */
}

.file-icon-underline {
    transition: 1s;
    width: auto;
    word-break: none !important;
    font-weight: bold;
     color: lime;
     /* border: 3px solid red; */
}

.file-icon-underline:hover {
     color: white;
}


.detail-go-middle {
    margin-right: 1em;
    font-size: 30px;
    font-weight: bold;
    padding-right: 8px;
    padding-left: 8px;
    color: black;
    background: #dee2e6;
    transition: 1s ease-in-out;
    border-radius: 15px;
  
    /* border: 4px solid lime; */
}

.detail-go-middle:hover {
    color: blue;
    background: lime;
    border-radius: 15px;

    /* border: 4px solid red; */
}

.general-detail-wrap {
     display: block;
     /* overflow: hidden; */
     width: 100%;
   
   /* border: 4px solid orange;  */
}

.master-detail-wrap {
     display: flex;justify-content: center;align-items:center ;flex-direction: row;flex-wrap: wrap;
    /* grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
    grid-column: span 2; */
    margin: 0;
    /* border: 4px solid red; */
}

.master-image-detail {
    display: flex;
     z-index: 0;
     /* border: 4px solid green; */
}

.master-image-newtab {
    display: flex;
    padding: 4px;
    color: #e9ecef;
    border-bottom: 3px solid lime;    
}

.master-name-detail {
    display: flex;justify-content: flex-start;align-items:center ;flex-direction: column;flex-wrap: wrap;
    width:100%;
    margin-top: 0.5em;
    padding: 5px;
    background: wheat;
    border-radius: 15px;
     border: 4px solid transparent;
}

.master-name-main {
    color: blue;
    font-size: 20px;
    font-weight: bold;
    /* border: 4px solid red; */
}

.master-name-incategory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
    width: 100%;
    border-top: 3px solid lime;
    /* border: 4px solid red; */
    
}

.master-name-data {
    border: 1px solid transparent;
}

.master-name-created {
     display: flex;justify-content: flex-start;align-items: center;flex-direction: row;flex-wrap: wrap;
     width: 100%;
    padding: 0.2em;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1.2px;
    line-height: 1.2em;
    hyphenate-character: calc(12x2px);
    color: blue;
    border-bottom: 2px solid lime;
    /* border: 4px solid black; */
}

.master-name-web {
    display: flex;justify-content: flex-start;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    font-weight: 600;
    min-height: auto;
    max-height: 30vh;
    padding: 0.2em;
    letter-spacing: 1.2px;
    line-height: 1.2em;
    hyphenate-character: calc(12x2px);
    line-break: anywhere;
    overflow-y: auto;
    /* word-break: break-all; */
    color: blue;
    border-bottom: 2px solid lime;
    /* border: 4px solid black; */
}

.master-name-buttons {
  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 black; */
}

.master-name-underbuttons {
    display: flex;justify-content: flex-start;align-items: center;flex-direction:row; flex-wrap: wrap;
    width: 100%;
    gap: 0.5em;
    padding: 5px;
    /* border:4px solid white; */
}

.master-name-individual {
    display: flex;justify-content: center;align-items: center;flex-direction:row; flex-wrap: wrap;
    color: blue;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;
    background: lime;
  border: 4px solid whitesmoke;  
  border-radius: 10px;
}

.file-icon-placeholder {
    display: flex;justify-content: center;align-items: center;flex-direction:row; flex-wrap: wrap;
    margin-right: 0.3em;
    margin-bottom: 0.5em;
    margin-top: 0.3em;
    padding-right: 8px;
    padding-left: 8px;
    padding-top: 4px;
    padding-bottom: 2px;
    color: white;
    background: #3c98f3;
    border-radius: 15px;
    border-bottom: 3px solid lime;
    /* border: 4px solid red;  */
}

.file-icon-svg {
    width: 30px;
    height: 30px;
    color: red;
}

.file-icon-cl {
    margin-right: 0.3em;
    padding-bottom: 4px;
     padding-top: 4px;
    font-size: 25px;
    background-color: aquamarine;
    border-radius: 30px;
}

.detail-items-nofile {
    padding-left: 4px;
     font-size: 14px;
    color: white;
}




 /* <!-- START OF OTHER ITEMS IN THIS CATEGORY --> */

.other-item-detail {
    display: flex;justify-content: center;align-items:center ;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    /* border-top: 3px solid red; */
}

.other-item-subdetail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-column: span 5;
    grid-template-rows:repeat(auto-fill, minmax(auto, max-content));
    grid-auto-rows: max-content;
    gap: 3px;
    justify-content: flex-start;
    overflow-y: auto;
    width: 100%;
    min-height: auto;
    max-height: 80vh;
    margin: 0;
    padding: 3px;
    border-bottom: 4px solid lime;
    /* border: 5px solid red; */
}

.image-item-subdetail {
  display: flex;justify-content: center;align-items:flex-start ;flex-direction: row;flex-wrap: wrap;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: #a47cee;
  border-radius: 30px;
  border: 2px solid lime;
}

.cat-items-detail {
    display: flex;justify-content: center;align-items:center;flex-direction: column;flex-wrap: wrap;
    align-self: flex-end;
    width: 100%;
    padding: 5px;
    color: blue;
    background: lime;
    /* border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px; */
}
.related-items-detail {
    display: flex;justify-content: center;align-items:flex-start ;flex-direction: column;flex-wrap: wrap;
    width: auto;
    /* border: 5px solid orange; */
}


.detail-image-underdetail {
    color: white;
    /* border: 4px solid blue; */
}

.related-items-pdf {
   font-size: 16px;
    color: white;
    /* border: 4px solid blue; */
}

.detail-related-items-txt {
   font-size: 16px;
    color: white;
}

.detail-related-items-nofile {
     font-size: 16px;
    color: white;
}



.image-detail-underdetail {
    color: white;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    /* border: 5px solid orange; */
}

.related-items-count {
    width: 100%;
    padding-left: 5px;
    padding-right: 3px;
    font-size: 14px;
    font-weight: 600;
    color: blue;
    background: #dee2e6;
    /* border: 5px solid orange; */
}

.other-item-text {
    display: flex;justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
    color: aliceblue;
    padding: 4px;
    width: 100%;
    border-bottom: 5px solid lime;
    /* border: 5px solid orange; */
}

.other-item-relatedname {
    padding: 5px;
    background: lime;
    font-size: 18px;
    font-weight: bold;
    color: blue;
    border-radius: 10px;
    /* border: 2px solid blue; */
}

.other-item-names {
    display: flex;justify-content: center;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    padding: 4px;
    background: rgb(247, 5, 194);
    font-size: 14px;
    letter-spacing: 1px;
    color: white;
     border-top: 2px solid blue;
}

.detail-items-price {
    width: 100%;
    color: white;
    font-size: 14px;
    padding: 3px;
    /* border: 4px solid orange; */
}

.master-item-loadnext {
    display: flex;justify-content: space-around;align-items: center;flex-direction: row;flex-wrap: wrap;
    gap:0.5em;
    /* border: 2px solid red;  */
}
.other-item-loadnext {
  padding: 5px;
    background: lime;
    font-size: 18px;
    font-weight: bold;
    color: blue;
    border-radius: 10px;
    border: 2px solid blue;  
}

.other-item-arrow {
    display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    /* border: 5px solid orange; */
}

 /* <!-- START OF  PAGINATION --> */

.pagination-wrap {
  display: flex;justify-content: center;align-items: flex-start;flex-direction: column;
  width: 100%;
  height: 100%;
  /* border: 4px solid white; */
}

.pagination-links {
    display: flex;justify-content: center;align-items: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 1vh;
    font-family: sans-serif;
    /* border: 4px solid black; */
}

/* Styling the links as buttons */
.pagination-links a {
    background-color: #f8f9fa;
    color: #007bff;
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
     /* border: 4px solid orange; */
}

.pagination-links a:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Styling the current page indicator */
.pagination-links .current {
    padding: 8px 16px;
    color: #6c757d;
    font-weight: bold;
    background: #e9ecef;
    border-radius: 5px;
}

 /* <!-- END OF PAGINATION --> */

 .other-item-backtotop {
    display: flex;justify-content: space-between;align-items: center;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    padding-left: 0.5em;
    padding-right: 0.5em;
 }

 /* <!-- END OF OTHER ITEMS IN THIS CATEGORY --> */
/* END OF DETAIL.HTML */

@media (max-width: 900px) {

/* START OF DETAIL.HTML @media (max-width: 900px) */

.other-item-detail {
    display: flex;justify-content: center;align-items:center ;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    border-top: 3px solid lime;
    /* border: 5px solid red; */
}


.other-item-subdetail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    width: 100%;
    margin: 0;
    /* border: 5px solid black; */
}

.image-item-subdetail {
    display: flex;
  width: 100%;
    margin: 0;
    
    /* border: 5px solid red; */
}

}

/* END OF DETAIL.HTML @media (max-width: 900px) */

@media (max-width: 600px) {

/* START OF DETAIL.HTML @media (max-width: 600px) */

.other-item-detail {
    display: flex;justify-content: center;align-items:center ;flex-direction: row;flex-wrap: wrap;
    width: 100%;
    /* border: 5px solid white; */
}

.other-item-subdetail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-column: span 2;
    width: 100%;
    margin: 0;
    /* border: 5px solid black; */
}

.image-item-subdetail {
    display: flex;
  width: 100%;
    margin: 0;
}

.detail-top-items-count {
    display: flex;justify-content: center;align-items:center ;flex-direction: column;flex-wrap: wrap;
    width: 100%;
    /* padding: 5px; */
    color: white;
     background: linear-gradient(45deg, rgba(4, 8, 254, 0.8), rgba(175, 4, 254, 0.8), rgba(175, 4, 254, 0.8), rgba(4, 8, 254, 0.8));  
    /* border: 4px solid red; */
}

.detail-top-items-click {
    display: inline-flex;justify-content: center;align-items:baseline ;flex-direction: column;flex-wrap: nowrap;
    width: auto;
    margin-right: 0.3em;
    margin-bottom: 0.5em;
    padding: 5px; 
    word-break: break-all;
    color: white;
    background: #3c98f3;
    transition: 1s ease-in-out;
    border-radius: 15px;
    border-bottom: 4px solid lime;
}

/* <!-- START OF  PAGINATION --> */

/* Styling the links as buttons */
.pagination-links a {
    background-color: #f8f9fa;
    color: #007bff;
    padding: 4px 8px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
     /* border: 4px solid orange; */
}

 /* <!-- END OF PAGINATION --> */
 /* END OF DETAIL.HTML @media (max-width: 600px) */

}