/**
Reserve a product styles
Author: Hanna Hansson
Text Domain: hh_reserve
*/

.reservation-thumbnail {
    max-width: 50px;
}

.woocommerce-js div.product form.cart #reserveProduct,
.woocommerce-js div.product form.cart .cart-anonymous
{
    margin-left: 16px;
    padding: 10px 20px;
   
}
.woocommerce-js div.product form.cart #reserveProduct,
.woocommerce-js div.product form.cart .button.single_add_to_cart_button,
.woocommerce-js div.product form.cart .cart-anonymous
{
     line-height: 22px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--reservations a:before{
    content: "\f079";
    font-family: FontAwesome;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--reservations svg
{
    display:none;
}

.reservations p {
    margin-bottom: 0;
}
.reservations thead th
{
    text-align:left;
}

.reservations th.reservation-quantity {
    white-space: nowrap;
}
.reservations .reservation-quantity {
    max-width: 100px;
    text-align: center;
}
.reservations .reservation-add-to-cart
{
    text-align: right;
}
.reservations .reservation-date {
    width: 400px;
}

span.all_reserved
{
    float: right;
    margin-top: 6px;
    border:1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 5px;
    position: relative;
}

span.all_reserved:hover .ast-card-action-tooltip
{
    visibility: visible;
    opacity: 1;
    top: 3px;
}

span.ast-shop-product-out-of-stock,
p.stock.out-of-stock  {
    display: none;
}

.ast-card-action-tooltip:after
{
    right:-9px;
}

form.variations_form.cart {
    display: inline-block;
}

#reserveProduct.variationButton {
    top: -32px;
}

.hh-all-reserved {
    position: absolute;
    z-index: 1;
    top: 3.5em;
    left: 0.5em;
    display: inline-flex;
    background-color: #ffffff;
    justify-content: center;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    text-align: center;
    color: #000;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

.hh-all-reserved i {
    display: inline-block;
    align-self: center;
    position: relative;
}
.hh-all-reserved:hover .hh-tool-tip-reserved
{
    visibility: visible;
    opacity: 1;
    margin-left: 10px;
    left: 100%;
}
.hh-tool-tip-reserved {
	position: absolute;
	min-width: 10px;
	min-height: 10px;
	width: max-content;
	padding: 0.7em 0.9em;
	content: "";
	background: #000;
	color: #fff;
	border-radius: 3px;
	font-size: 0.8em;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s;
	line-height: 1;
	top: auto;
}
.hh-tool-tip-reserved:after
{
    right: 100%;
    left: unset;
    border-left-color: transparent; 
    top: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0);
    border-width: 6px;
    margin-top: -6px;
    border-right-color: #000;
}

.hh-all-reserved:hover {
    background-color: #8ca6b0;
    cursor: pointer;
}

.hh-all-reserved:hover i
{
    color: #ffffff;
}

.woocommerce-js .woocommerce-result-count {
    margin: 1em 0 1.5em !important;
}

