input,
textarea,
select {
    width: 100%;
    margin: 0 0 10px;
    padding: 8px;
    outline: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f5f5f5;
}

.modalPopup .tab {
    background-color: #f5f5f5;
    color: #000;
}

.loc {
    position: absolute;
    color: #fff;
    top: 0;
    left: 0;
    width: 100%;
    padding: 9px 9px 15px;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, #e2e2e2 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6026785714285714) 0%, rgba(0, 0, 0, 0) 100%);
}
@media only screen and (min-width: 992px) {
    [cref="108"] .mob 
    {
      display: none;
    }
}

@media only screen and (max-width: 991px) {
     [cref="108"] .mobx,
     [cref="108"] .deks {
       display: none;
     }
     [cref="108"] .mob .btn-gen {
       width: 100%;
       border-radius: 6px;
     }
}

/* change width of qty (50% to 20%) */
    [mn="202"] .set-val input[type="number"] {
        flex: 0 0 20%;
        padding: 0 9px 0 0;
        margin: 0;
        text-align: right;
        border: 0;
    }    


/* resolve issue of quantity */
@media only screen and (max-width: 575px) {

        [mn="202"] button.btn-sub,
        [mn="202"] button.btn-add {
            flex: 0 0 15%;
        }

        [mn="202"] .set-val input[type="number"] {
            flex: 0 0 21%;
        }
    }
    
/* ajust position of button (product-detail.aspx) */    
@media (max-width: 991px) {
        [cref="202"] .rn>div {
            bottom: 60px;
        }
}    
/* adjust position of product name (browse.aspx) */
[mn="600"] .etms .ttl {
        padding: 15px 0 0; 
}

/* bootstrap alert message */
.fade.in {
    opacity: 1;
}

.fade {
    transition: opacity .15s linear;
}

.alert 
{
    position: relative;    
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}    

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* home banner opacity*/
[mn="100"] 
.owl-carousel:after {
    background-color: rgba(0, 0, 0, .30);
}

button.btn-qty {
    flex: 0 0 20%;
    background-color: transparent;
    border: 1px solid #ddd;
    color: var(--clr02);
    font-weight: bold;
    cursor: pointer;
}

.mob-nav .sear-sec .l {
text-align: right;
font-size: 125%;
}

/* ====================================== */
[mn="999"] {
    text-align: center; 
}

[mn="999"] .txt-w {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    max-width: 90%;
    overflow: hidden;
    padding: 15px 0;
    font-family: var(--font-t2);
}

[mn="999"] .txt {
    transform: translate(0, calc(110% + 30px));
    transition: all .4s ease
}

[mn="999"] a:hover .txt {
    transform: translate(0, 0%)
}

[mn="999"] .txt>div {
    color: #fff;
    border: 4px solid #fff;
    border-bottom: 0;
    padding: 25px 9px;
    text-align: center
}



[mn="999"] .txt .ttl>* {
    display: inline-block;
    vertical-align: middle
}

[mn="999"] .txt .ttl span {
    max-width: calc(100% - 35px)
} 
[mn="999"] .txt .ttl {
    line-height: 1.1;
    font-size: 133%;
}

[mn="999"] .taste {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: var(--font-s);
}

[mn="999"] .taste>div {
    display: table;
    position: relative;
    margin: 0 auto;
}

[mn="999"] .taste>div:after,
[mn="999"] .taste>div:before {
    content: '';
    position: absolute;
    display: block;
    background-color: #fff;
    height: 4px;
    width: 180px;
    bottom: 0;
}

[mn="999"] .taste>div:before {
    left: 0;
    transform: translate(calc(-100% - 12px), 0);
}

[mn="999"] .taste>div:after {
    right: 0;
    transform: translate(calc(100% + 12px), 0);
}

[mn="999"] .taste span {
    transform: translate(0, calc(50% - 4px));
    display: table;
    line-height: 1;
}

[mn="999"] .grid .bimg-w {
    padding: 5px;
}

[mn="999"] .grid .bimg:after {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .45);
    z-index: -1;
    opacity: 0;
    transition: all .4s ease
}
/* [mn="999"] .grid .bimg:before {
    content: '';
    display: block;
    position: absolute;
    height: 6px;
    width: 100%;
    left: 0;
    bottom: 0;
    background-color: var(--clr01);
    z-index: 2;
} */
[mn="999"] .gentat {
    margin-top: 50px;
}
[mn="999"] a:hover .bimg:after {
    opacity: 1;
}

[mn="999"] .grid .bimg {
    background-color: #eee;
    z-index: 1
}

[mn="999"] .grid:nth-child(7n+1) {
    width: 50%;
}

[mn="999"] .grid:nth-child(7n+2) {
    width: 25%;
}

[mn="999"] .grid:nth-child(7n+3) {
    width: 25%;
}

[mn="999"] .grid:nth-child(7n+4) {
    width: 50%;
}

[mn="999"] .grid:nth-child(7n+5) {
    width: 25%;
}

[mn="999"] .grid:nth-child(7n+6) {
    width: 25%;
}

[mn="999"] .grid:nth-child(7n+7) {
    width: 50%;
}

[mn="999"] .grid:nth-child(7n+7) .bimg,
[mn="999"] .grid:nth-child(7n+4) .bimg {
    padding-top: calc(50% - 5px);
}

@media only screen and (max-width: 767px) {

    [mn="999"] .grid:nth-child(7n+1),
    [mn="999"] .grid:nth-child(7n+4),
    [mn="999"] .grid:nth-child(7n+7) {
        width: 100%
    }

    [mn="999"] .grid:nth-child(7n+2),
    [mn="999"] .grid:nth-child(7n+3),
    [mn="999"] .grid:nth-child(7n+5),
    [mn="999"] .grid:nth-child(7n+6) {
        width: 50%
    }
}

@media only screen and (max-width: 575px) {}
/* ====================================== */

