/* Additional styles */

/* Crop products title on 2 line height */
.product .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 54px;
}

/* Equal height for different size image */
.product .product-image img {
    width: auto;
    max-height: 245px;
    margin: 0 auto;
}

/* Estimate delivery time add shadow */
.timing {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Top Cart customs */
.top-cart-item-remove-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    transition: opacity 0.2s ease-in-out;
}

.top-cart-item-remove-btn:hover {
    opacity: 1
}

.top-cart-items {
    max-height: 60vh;
    overflow-y: auto;
}

.top-cart-item-desc {
    padding-right: 20px;
}

.top-cart-item-desc a {
    display: block;
}

#top-cart > a > span {
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

#top-cart .top-cart-item-desc a {
    line-height: normal;
}

/* Checkout cart customs */
.checkout-go {
    top: -14px;
}

.pac-container {
    z-index: 1051 !important;
}

/* Type Ahead style */
.tt-input{
    width: 500px !important;
}
.tt-suggestion{
    background-color: #fff;
    color:#828585;
    margin-top: 4px;
    padding: 14px 10px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    min-width: 500px;
}
div.tt-dataset > div.tt-suggestion:first-child{
    display: none;
}
.tt-suggestion .map-marker{
    margin-right: 8px;
}
.tt-suggestion i{
    color: #3cba63;
    font-size: 24px;
}
#search-pharmacy{
    cursor: pointer;
}

.tt-dataset {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Home page customs */

.pharmacies-block-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Receipt scan */
.informations-header .ordo-container .ordo-block .ordo-type {
    width: 50%
}

/* pharmacy-ajax */
#action-btn{
    text-align: center;
}
#loading-image, #spiner, #load-more-div, #loading-image{
    margin: auto;
}

/* Sticky footer on cart */
.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.footer {
    margin-top: auto;
}

/* Checkout Cart customs */
.top-cart-item-count {
    position: absolute;
    right: 40px;
    bottom: 0;
}

.top-cart-item-button {
    font-size: 12px;
    width: 20px;
    border: 1px solid #CCC;
    cursor: pointer;
}

.top-cart-item-button:hover {
    border: 1px solid #545b62;
    background-color: #545b62;
    color: white;
    transition: all 0.2s ease-in-out;
}

.top-cart-item-count-input {
    font-size: 12px;
    width: 20px;
    height: 20px;
    text-align: center;
    border: none;
}

.loading-image {
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.cart-loading:after {
    content: '';
    background-color: rgba(0,0,0,0.2);
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

/* Receipt order page */
.order-title {
    text-align: center;
}
