/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
body {
    font-size:0.9rem;
}
a, .btn-link {
    color:#158ae2;
}

a:hover, .btn-link:hover  {
    color:#f07c00;
    text-decoration:none;
}

a.btn-primary {
    color:white!important;
}

textarea {
    resize: none;
}

hr {
    color:#6f6f6f;
    background-color:#c0c0c0;
    height:1px;
    border: none;
}

#detailImage {
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.modal {
    text-align: center;
}

.border-primary {
    border: 1px solid #f07c00;
}

#ecom-mainarea{
    padding:10px;
    margin-top:20px;
    position:relative;
    text-align:left;
    flex:1;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.card {
    margin-bottom:20px!important;
}

.card-header {
    background:#f0f0f0;
}

.d-flex.justify-content-center a {
    margin-bottom: 10px;
}

.card .card-img-top {
    height: 100px;
    width: 100px;
    object-fit: cover;
}

.card-body ul {
    padding : 0px;
}

.card-text-fixed-height {
    min-height:13rem;
    overflow:hidden;
    display: -webkit-box;
    -webkit-line-clamp: 10; /* number of lines to show */
    line-clamp: 10; 
    -webkit-box-orient: vertical;
}

.card-footer {
    background:none;
    border:none;
}

.products-card .card-title a {
    min-height:5.5rem;
    white-space: normal;
}

.gallery {
    white-space: nowrap;
    margin-top: 10px;
    overflow-x: auto;
}

.detail-image {
    height: 300px!important;
    width: auto!important;
    max-width: 300px!important;
}

.quick-links a, #paginationBox a {
    color: #000000;
}

.footer-block {
    color: #6f6f6f;
    background: #f0f0f0;
}

.cart-image {
    width:100px;
    height:100%;
}

label.required:after {
    content:"*";
    color: #ff0000;
    font-size: larger;
    margin-left:2px;
}

.amount {
    text-align:right;
}

.navbar-dark {
    background:#6f6f6f!important;
}

.navbar-dark .navbar-nav .nav-link {
    color:#ffffff;
}

.navbar-dark .nav-item:hover, .navbar-dark .nav-item .nav-link:hover{
    /*background: #a0a0a0!important;*/
    color:#f07c00;
}

#parentContainer {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.jGrowl {
  z-index: 9999;
  color: #ffffff;
  font-size: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  position: fixed;
}

.jGrowl.center {
  top: 10px;
  width: 50%;
  left: 25%;
}

button.jGrowl-close {
    float: right;
}

.hidden {
    height: 0;
    visibility: hidden;
}

.promotion-products .products-card {
    width: 100%;
    max-width: 100%;
}

.cart-notification {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}
 
.cart-notification .badge {
    position: absolute;
    top: 20px;
    right: -10px;
    padding: 5px 10px;
    border-radius: 50%;
    background: #6f6f6f;
    color: white;
}

.required-field:after {
    content:" *";
    color: red;
    display: inline;
  }

/*set Jgrowl css here to avoid side effect with other class*/
.jGrowl-notification .jGrowl-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #f0f0f0;
    font-size: 1.5rem;
    font-weight: 300;
    border: none;
    background: none;
}

.errorMessageJGrowl {
    background: rgba(240, 124, 0, .95);
    opacity: 0.9;
    border: none;
    color: #f0f0f0;
    font-size: 1.3em;
    font-weight: 500;
    padding: 2rem;
    line-height: 1.5em;
    max-width: 600px;
    word-wrap: break-word;
    box-shadow: 0 0 50px 0 rgba(82, 63, 105, .15);
    text-overflow: ellipsis;
    font-family: 'Quicksand', sans-serif !important;

}

.eventMessageJGrowl {
    background: rgba(111, 111, 111, .8);
    border: none;
    color: #f0f0f0;
    font-size: 1.2em;
    font-weight: 500;
    padding: 2rem;
    line-height: 1.5em;
    max-width: 500px;
    word-wrap: break-word;
    box-shadow: 0 0 50px 0 rgba(82, 63, 105, .15);
    text-overflow: ellipsis;
    font-family: 'Quicksand', sans-serif !important;
}

@media screen and (max-width: 600px) {
  .eventMessageJGrowl {
    max-width: 275px;
    min-height: 150px;
  }
  .errorMessageJGrowl {
    max-width: 300px;
    min-height: 175px;
  }
}

.closeAllJGrowl {
    min-width: 350px;
    padding: 5px 5px 5px 50px;
    border: 1px solid #f0f0f0;
}

.content-messages p {
    display: none;
}