/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* .loyalty-card-wrap{
    padding: 15px;
    border: 2px dashed #7ab51d;
    border-radius: 5px;
    border-spacing: 10px;
}*/

.loyalty-coupon{
    padding: 15px 20px;
    background: #7ab51d1c;
    border-radius: 10px;
    margin-bottom: 10px;
    position: relative;
}
.loyalty-coupon-title p{
    font-size: 24px;
    font-weight: bold;
    margin: 0px;
}
.flex-sb{
    justify-content: space-between;
}
.loyalty-coupon-data{
    margin: 10px 0px;
}
.coupon-user-data svg{
    height: 40px;
    width: auto;
}
.coupon-price span{
    font-size: 21px;
    vertical-align: bottom;
    font-weight: bold;
}
.coupon-price svg{
    height: 40px;
    width: auto;
}
.coupon-price{
    position: absolute;
    top: 15px;
    right: 10px;
}
.coupon-user-data h3{
    margin: 0px;
}
.coupon-user-data span{
    vertical-align: top;
    font-size: 24px;
    margin-left: 10px;
    font-weight: bolder;
}
.loyalty-coupon.inactive{
    pointer-events: none;
    user-select: none;
}
.loyalty-coupon.inactive::before {
    background: #cbcbcb85;
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    border-radius: 10px;

}
.loyalty-coupon button{
    border-radius: 5px;
}
.remove-loyalty-coupon{
    text-decoration: underline;
    cursor: pointer;
}
.loyalty-wrap h2{
    color:#ffffff;
}
.loyalty-wrap{
    background: #fbfbfb;
    border-radius: 0px 0px 10px 10px;
}
.loyalty-wrap .loyalty-content{
    padding: 15px 10px;
}
.loyalty-wrap .loyalty-header{
    background: #8cc63e;
    padding: 20px 10px;
    color: #fff;
    border-radius: 10px 10px 0px 0px;
}
.loyalty-header .loyalty-icon img{
    height:26px;
}
.loyalty-content table td .loyalty-icon img{
    height: 24px;
}
.loyalty-content table thead th{
    width: 50%;
}
.loyalty-content table thead tr{
    background: #e9e9e9;
}
.loyalty-content table tbody tr:nth-child(odd) td{
    background: #f0f0f0;
}
.loyalty-content table tbody tr:nth-child(even) td{
    background: #e9e9e9;
}
.loyalty-icon img{
    display: inline-block;
    vertical-align: middle;
    height: 32px;
}
span.loyalty-icon{
    margin-left: 5px;
}
.coupon-user-data h2{
    font-size: 24px;
}
.coupon-user-data h3{
    font-size: 24px;
}
.coupon-user-data span{
    font-size: 24px;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--loyalty a:before{
    background: url(https://dev.jasmin-maziva.hr/wp-content/plugins/woocommerce-loyalty/public/icons/Jasmin-Maziva-Loyalty-Matica.png);
    background-size: cover;
}
.loyalty-header h2, .loyalty-header p{
    margin-bottom: 0px;
}
@media (max-width:768px){
    .coupon-user-data h2{
        font-size: 16px;
    }
    .coupon-user-data h3{
        font-size: 16px;
    }
    .coupon-user-data span{
        font-size: 16px;
    }
    .coupon-user-data .loyalty-icon img{
        height: 24px;
        vertical-align: top;
    }
}