.close-app-icon {
  position: absolute;
 top: 7px;
 width: 16px;
 height: 16px;
 background: url(../img/map/close-tooltip.png);
 background-size: 100% auto;
 background-repeat: no-repeat;
 right: 5%;
}

@media (max-width: 768px){
  	.close-app-icon {
	   position: absolute;
	   top: 25px;
	   width: 16px;
	   height: 16px;
	   background: url(../img/map/close-tooltip.png);
	   background-size: 100% auto;
	   background-repeat: no-repeat;
	   right: 86%;
	}

	.tooltip-container .tooltip-text a {
	    width: 33% !important;
	    margin-top: -17% !important;
	    margin-left: 65% !important;
	}
	.tooltip-container.top-arrow {
		height: 7em !important;
	  	position: relative !important;
	  	width: 100% !important;
	  	top: 12% !important;
	  	left: -4% !important;
	  	border-width:0px 0px 1px 0px !important;
		border-style:solid solid solid solid !important;
		border-color:#2eb9ce #2eb9ce #cccccc #2eb9ce !important;
	}

	.tooltip-container .tooltip-text span {
		float: left;
		width: 47% !important;
		margin-bottom: 4% !important;
		word-wrap: break-word !important;
		padding-right: 1% !important;
	}
	.tooltip-container a.tooltip-close-button {
		position: relative !important;
		width: 5% !important;
		height: 20px !important;
		margin-left: 5% !important;
		background-size: 100% auto;
		background-repeat: no-repeat;
		float: left !important;
	}
	.eroski-app-close-wrapper{
		float: left;
		margin-right: 25px;
		margin-top: 5px;
		margin-left: 25px;
	}
}

.advantages__title{
    display:none !important;
}
.tooltip-container{
    display: inline-block;
    text-align: left;
    vertical-align: super;
    margin: 0 auto;
    padding: 2.5rem 1rem 1rem;
    border: 1px solid #d7d5d5;
    box-shadow: 0 16px 12px -17px rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 99;
    right: 0;
    top: 1.5em;
    background-color: white;
    width: 17%;
    height: auto;
}
.tooltip-container a.tooltip-close-button {
    position: absolute;
    top: 7px;
    width: 16px;
    height: 16px;
    background: url(../img/map/close-tooltip.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    right: 5%;
}

.header-menu-wrapper .tooltip-container .tolltip-text__description, .tooltip-container .tolltip-text__description {
    font-family: 'ITCAvantGardeStd-Demi';
    font-size: 13px;
    line-height: 1.2;
    color: #393d49;
}
.tooltip-container .tooltip-text span{
    float:left;
    width: 100%;
    margin-bottom: 4%;
}

.tooltip-container .tooltip-text a{
    min-width: 130px;
    width: 50%;
    height: auto;
    background: none;
    background-color: #393d49;
    color: #ffffff !important;
    font-family: 'ITCAvantGardeStd-bk';
    font-size: 13px;
    text-align: left;
    text-indent: inherit;
    text-decoration: none;
    padding: 9px 8px;
    margin: 0;
    display: inline-block;
    line-height: 13px;
    text-transform: inherit;
    float: left;
}

.tooltip-container .tooltip-text a::after{
    content: '';
    background: url(../img/base/arrow-right-white.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 8px;
    height: 12px;
    display: inline-block;
    right: 15px;
    -webkit-transition: right ease .2s;
    -moz-transition: right ease .2s;
    -o-transition: right ease .2s;
    -ms-transition: right ease .2s;
    transition: right ease .2s;
    margin-left: 45%;
    margin-top: 1%;
    float: right;
}

.tooltip-container .tooltip-text a:hover{
    zoom: 105%;
}

.tooltip-container .tooltip-info-icon {
    content: '';
    background-position: center center;
    background: url(../imgs/base/info-tooltip.svg) no-repeat;
    background-size: cover;
    cursor: pointer;
    display: inline-block;
    height: 1.8rem;
    vertical-align: super;
    width: 1.8rem;
}
.tooltip-container::before {
    content: '';
    border-bottom: 12px solid #FFF;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 0;
    left: 5.5%;
    position: absolute;
    top: -1.25em;
    bottom: unset;
    z-index: 22;
}
.tooltip-container::before {
    display: block;
}
.tooltip-container::before {
    content: '';
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #fff;
    left: 3%;
    position: absolute;
    z-index: 22;
    text-align: left;
}
.top-arrow.tooltip-container::before {
    bottom: unset;
}
.top-arrow.tooltip-container::before {
    content: '';
    border-bottom: 12px solid #FFF;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 0;
    left: 4.5%;
    position: absolute;
    top: -1.25em;
    z-index: 22;
}
.tooltip-container::before {
    display: block !important;
}
@media (min-width: 1800px){
    .tooltip-container {
        width: 16%;
    }

}
@media (max-width: 768px){
    .top-arrow.tooltip-container::before {
        display: none !important;
    }

    .tooltip-container{
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
    }

}

/*----------------------------------------tooltip  mastercard-------------------------------------*/

.tooltip-container-mastercard{


z-index: 99;
right: 0;
top: 10px;
background-color: white;

height: auto;
}

.tooltip-container-mastercard .tooltip-icon{
  display:inline-block;top:-.1em;
}

.tooltip-container-mastercard .tooltip-info-icon {
  content:'';
  background-position:center center;
  background-size:cover;cursor:pointer;
  display:inline-block;
}

.tooltip-container-mastercard::after,.tooltip-container-mastercard::before {
  content:'';
  position:absolute;
  display:none;
  top:-1rem;
}
.tooltip-container-mastercard::before {
  border-left:12px solid transparent;
  border-right:12px solid transparent;
  border-top:12px solid #fff;left:3%;
  z-index:22;
  text-align:left;
}

.tooltip-container-mastercard::after {
  border-left:13px solid transparent;
  border-right:13px solid transparent;
  border-top:14px solid rgba(0,0,0,.1);
  left:-2%;
  z-index:21;
}
.tooltip-container-mastercard.visible::after,.tooltip-container-mastercard.visible::before: {
  display:block;
}

.top-arrow.tooltip-content::after,.top-arrow.tooltip-content::before {
  border-top:0;
  /*top:auto;*/
  position:absolute;
  /*bottom:-.35rem;*/
  content:'';
}



.top-arrow.tooltip-content{
    content: '';
    border-bottom: 12px solid #000000;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 0;
    left: 4.5%;
    position: absolute;
    top: -1.25em;
    z-index: 22;
  visibility: visible;
}





.tooltip-container-mastercard::before {
  content: '';
  border-top: 16px solid transparent;
  border-left: 16px solid #000000;
  border-right: 16px solid transparent;
  border-bottom: 0;
  left: 10%;
  position: absolute;
  top: -30px;
  bottom: unset;
  z-index: 20;
  visibility: hidden;
  transform: rotate(-45deg);
  box-shadow: -6px -4px 0px -1px rgba(0,0,0,0.15);
}
.tooltip-container-mastercard::before {
    display: block;
}
.tooltip-container-mastercard:hover::before {
  content: '';
  border-top: 16px solid transparent;
  border-left: 16px solid #000000;
  border-right: 16px solid transparent;
border-bottom: 0;
  left: 10%;
  position: absolute;
  top: -30px;
  bottom: unset;
  z-index: 20;
  visibility: visible !important;
  transform: rotate(-45deg);
  box-shadow: -6px -4px 0px -1px rgba(0,0,0,0.15);
}
.tooltip-container-mastercard:hover::before {
    display: block !important;
}
@media (max-width: 375px){
  .tooltip-container-mastercard {
    z-index: 99;
    right: 0;
    top: 10px;
    background-color: white;
    height: auto;
    visibility: hidden;
}
}
