/**
*  This module was created by Anastasia Bu and is protected by the laws of Copyright.
*  This source file is subject to a commercial license from Anastasia Bu
*  Use, copy, modification or distribution of this source file without written
*  license agreement from Anastasia Bu <site@web-esse.ru> is strictly forbidden.
*
*
*  @author    Anastasia Bu <site@web-esse.ru>
*  @copyright 2007-2022 Anastasia Bu
*  @license Commercial license
*/

/**GLOBAL**/
.hidden {
	display: none;
}

.visually-hidden {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    word-break: normal;
  }

.ws_loyalty_wrapp {
    background: #ffffff;
}

.paging-container{
	margin-bottom: 14px;
}

.paging-container a {
	border: 1px solid black;
	padding: 4px 8px;
}

.total_ponts_block {
	margin: 14px auto 46px;
    width: 100%;
    text-align: center;
    line-height: 1.8;
    padding: 14px 24px 14px;
}

#total_ponts {
	display: block;
	font-size: 34px;
	line-height: 1.2;
}

#total_ponts b {
	font-size: 42px;	
}

#total_ponts_note{
	color: #98999b;
	font-size: 14px;
}

.loyalty_lvls {
	display: flex;
	justify-content: space-evenly;
    max-width: 846px;
    margin: 0 auto 67px;
}

.loyalty_lvl {
	width: 260px;
	border: 5px solid #e5ebef;
}

.ws_loyalty_wrapp h3 {
	font-size: 25px;
    line-height: 1.4;
    text-align: center;
}

.reward_lvl{
	background: #3dc3e1;
	padding: 14px;
	text-align: center;
    font-size: 30px;
    line-height: 1.2;
    color: #fff;
}

.reward_lvl_val {
	font-weight: bold;
    font-size: 40px;
}

.non-redeem, .redeem {
	text-align: center;
    margin: 12px 20px;
    float: left;	
    padding: 12px;
    color: #000;
}

.redeem {
	color: #fff;
	background: #48b688;
}

.min_points_lvl {
	float: right;
	margin: 24px 24px 0 0;
}

#block-history.hidden {
	display: none;
}

.ws-loyalty__transform-points {
	white-space: normal;
}

.discounts_cards {
    padding: 14px;
}

#discounts_cards_menu {
	display: flex;
    max-width: 416px;
    margin: 0 auto;
    justify-content: space-evenly;
    border-bottom: none;
}

#discounts_cards_menu a {
    color: #000;
    text-align: center;
}

#discounts_cards_menu a.active {
	border-bottom: 2px solid #000;
}

.flex_wrap {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-evenly;
}

.loyalty_av_discount, .loyalty_dis_discount{
	border: 1px solid #e5ebef;
	margin-top: 18px;
	padding: 14px;
    border-radius: 2px;
    display: flex;
    flex-wrap: wrap;
}
.discount_value {
	background: #3dc3e1;
	padding: 14px 7px;
	text-align: center;
    font-size: 21px;
    line-height: 1.2;
    color: #fff;
    width: 83px;
    border-radius: 2px;	
}
.discount_note{
    line-height: 1;
    padding: 0 6px;
    align-self: center;
    max-width: 60%;
    text-align: center;
}
.discount_code {
	border: 1px dashed #e5ebef;
	border-radius: 2px;
	background: #f9fafc;
    padding: 14px 20px;
    display: flex;
}
.discount_code__input{
    max-width: 170px;
}
.ws_tooltip {
  position: relative;
}

.ws_tooltip .ws_tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.ws_tooltip .ws_tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.ws_tooltip:hover .ws_tooltiptext {
  visibility: visible;
  opacity: 1;
}

.ws_copy_btn {
	border: none;
	background: none;
	cursor: pointer;
}

.reached .reward_lvl {
	background-color: #8ac9d7;
}

.redeem:HOVER {
	color: #fff;
	background-color: #10784c;
}

#show_history {
	color: gray;
	font-size: 14px;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    border-bottom: 1px solid inherit;
}

#show_history:HOVER {
	color: black;
}

#loyalty .card-block{
	display: flex;	
}

.ws_points {
    margin-bottom: 8px;
}

.loyalty_wrapp {
    margin-left: 14px;
}

.loyalty_wrapp .ws_transformpoints {
	white-space:normal;
}

@media (max-width: 767px) {
    .ws-mobile-only{
        display: block;
    }
    .points-history-tbl thead {
        display: none;
    }

    .points-history-tbl tbody {
        display: flex;
        flex-wrap: wrap;
    }

    .points-history-tbl tr {
        display: flex;
        flex-wrap: wrap;
        border: 1px solid grey;
    }

    .points-history-tbl td {
        flex-grow: 1;
        text-align: center;
        border: none;
        padding: 2px 8px;
    }

    .points-history-tbl__item-point {
        display: flex;
    }

    .points-history-tbl tr.points-history-tbl__total {
        flex-direction: row;
        background: #e6e6de;
        border: 1px solid grey;
    }

    .ws-loyalty__restriction {
        padding: 14px;
    }
}

@media (min-width: 768px) {
    .ws-mobile-only {
        display: none;
    }
    .total_ponts_block {
        width: 425px;
    }
    .ws_loyalty_wrapp h3 {
        line-height: 2;
    }
    .loyalty_av_discount, .loyalty_dis_discount {
        min-width: 486px;
    }
    .discounts_cards{
        max-width: 1030px;
        margin: 0 auto;
    }
}