/* Site specific CSS modifiers  */
/* div{
    border:solid 1px hotpink;
} */

/* standard HTML tags */
body {
    background-color: #eee;
    font-size: 1rem;
}
body{
    color: #444;
}
table{
    color: #555 !important;
}
p{
    margin: 0px;
}
ul, li {
    list-style: none;
}
a:not([class]) {
    color: inherit;
    text-decoration: none;
}
img, picture{
    max-width: 100%;
    display: block;
}

/* placeholders*/
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #aaa;
    opacity: 1; /* Firefox */
    }
    
    :-ms-input-placeholder { /* Internet Explorer 10-11 */
      color: #aaa;
    }
    
    ::-ms-input-placeholder { /* Microsoft Edge */
      color: #aaa;
    }

/* bootstrap & general mods */
.form-control,
.input-group-text{
    border-radius: 0rem;
}
.ftr-small{
    margin: 0.5rem;
}
.text-muted-dk{
    color: rgb(255, 255, 255, 0.55);
}
.op-75,
.bg-dark{
    opacity: 75%;
}
.lleft{
    text-align: start;
    padding-left: var(--bs-gutter-x,1rem);
}
.rright{
    text-align: end;
    padding-right:var(--bs-gutter-x,1rem);
}
.big-b-margin{
    margin-bottom: 3rem !important;
}
.flex{
    display: flex;
    gap: 0.5rem;
}
.carousel-50{
    position:absolute;
    right:0;
    z-index:1;
}

/* MAIN PAGE CSS */
.main-wrap{
    min-height: calc(100vh - 2.5rem);
}
.container-shadow{
    box-shadow:rgb(209, 209, 209) 0px 0px 40px 0px;
}

.banner-wrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.banner-img{
    width: 50%;
}
.banner-text{
    text-align: end;
}

/* PRODUCT GRID */
.grid-container{
    max-width: 100rem;
    margin-inline: auto;
    padding-inline: 2rem;
}
.grid-banner{
    display: grid;
    justify-content: space-between;
    vertical-align: middle;
}
.grid-heading{
    display: flex;
    justify-content: space-between;
}
.grid-heading a,
.grid-heading p{
    color: rgba(0 0 140 / 0.3);
    font-size: 1.1rem;
    margin: 0;
    padding: 0.5em;
}
.grid-heading p.active,
.grid-heading a:hover{
    color: rgba(0 0 140/ 1);
}
.grid-bread-crumb{
    display: flex;
    gap: 0.25rem;
}
.grid-button a{
    color: #fff !important;
    align-content: center;
    vertical-align: middle;
}
.grid-product{
    display: grid;
    gap: 0.5rem;
    padding: 0rem 0.5rem;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
}
.grid-card{
    border: 1px solid #ddd;
    /* border: 1px solid hotpink; */
}
.grid-card-img{
    width:100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.grid-img-tiny{
    width: inherit;
}

.grid-card-content{
    background: white;
    padding:0.5rem;
}
.grid-card-p{
    height: 3rem;
    margin: auto;
}

/* ITEM FLEXBOX */
.item-img{
    width:100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.item-wrap{
    padding: 0.5rem 0.5rem;
}
.item-wrap > *{
    background-color:#fff;
    border: solid 1px #ddd;
    padding: 0.5rem 0.5rem;
    margin-bottom: 0.5rem;
}

.item-heading{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.item-title-wrap{
    width: 100%;
}
.item-code{
    color: #999;
}
.item-main-wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.item-img-main{
    width: 17rem;
}

.item-details-wrap{
    flex-shrink: 1;
    flex-grow: 1;
}

.item-color-wrap{
    display: flex;
    flex-wrap: wrap;
}
.item-color{
    min-width: 12rem;
    display: flex;
    flex-grow: 0;
    flex-shrink: 1;
    align-items: center;
    padding: 0rem 0.3rem;
}
.item-color-chip{
    height: 1rem;
    width: 1rem;
    border: solid 1px #333;
    margin-right: 0.5rem;
}

.item-thumbs-wrap{
    display:flex;
    gap: 1em;
    overflow-x: auto;
}
.item-img-thumb{
    width: 6rem;
    cursor: pointer;
}
.item-submit-wrap{
    display: flex;
    justify-content: space-between;
}
.item-checkbox{
    display:flex;
    gap: 0.25rem;
    align-items: center;
}

.item-img-zoom-wrap{
    position:fixed;
    top:0; left:0;
    background: rgba(0 0 0 / 0.7);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}
.item-img-zoom{
    position:absolute;
    top:50%; left:50%;
    transform: translate(-50%, -50%);
    width: 35rem;
    object-fit: cover;
}

input:hover,
input:focus,
textarea:focus{
    background-color: rgba(0 191 255 / 0.25);
}
input.name{
    width:100%;
    font-size: 2rem;
    font-weight: bold;
}

textarea.detail{
    width: 100%;
}

td.detail {
    padding: 0.25 !important;
    vertical-align: middle;
}
input.detail {
    border: none;
    width:100%;
}

.item-color-section{
    display: flex;
    gap: 0.5rem;
}
.item-color-words{
    width:15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.item-color input{
    margin-right: 7px;
}

.item-thumbs-wrap-edit{
    display:flex;
    gap: 1em;
    flex-wrap: wrap;
}
.item-img-thumb-edit{
    flex: 1 1 25%;
}
.item-img-thumb-edit > * {
    display: flex;
}
.item-img-thumb-tbl:hover{
    border: solid 2px limegreen;
}

/* SECTION */

.section, .section-v{
    width: 100%;
    display: flex;
    gap: 3rem;
    padding: 2rem 0rem;
}
.section{
    height: 60vh;
}
.section > *{
    flex: 1;
}

.section-text{
    width: 100%;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.section-hdr{
    font-size: 2rem;
    font-weight: 600;
}
.section-txt{
    line-height: 1.5;
}
.section-txt p{
    padding-bottom: 0.5rem;
}

.section-image{
    width: 100%;
    height: 100%;
    overflow: hidden;
    
}
.section-img img{
    min-height: 52vh;
    object-fit: cover;
}
.section-img-cvr img{
    min-width: 100%;
    object-fit: cover;
}


.section-filler{
    padding: 2rem 0rem;
}

  .google-maps {
    position: relative;
    padding-bottom: 55%;
    height: 0;
    overflow: hidden;
  }
  .google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }

/* MEDIA QUERIES */
@media only screen and (max-width: 1012px){
    .rright{
        width: 100%;
        text-align: end;
        padding-left:var(--bs-gutter-x,1rem);
        padding-right:var(--bs-gutter-x,1rem);
    }
    .big-b-margin{
        margin-bottom: 2rem !important;
    }
}
@media only screen and (max-width: 512px){
    .banner-img,
    .banner-text{
        width: 100%;
    }
    .big-b-margin{
        margin-bottom: 0.5rem !important;
    }

    .section, .section-v{
        flex-wrap: wrap;
    }
    
}
/*


@media only screen and (max-width: 288px){
    .grid-product{
        grid-template-columns: 1fr;
    }
} */