/*base tooltip style*/
a[tooltip]{
	cursor: pointer;
	position: relative;
}

.tooltip-wrapper{
	position: fixed;
	background: rgba(0, 0, 0, 0.4);
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 11;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding: 30px;
	border: none;
	cursor: auto;
	display: none;
}

.tooltip-wrapper .tooltip{
	border: 1px solid #fff;
	min-height: 200px;
	max-width: 450px;
	display: inline-block;
	margin: auto;
	width: 100%;
	background: #fff;
    text-align: left;
    padding: 20px;
    color: #000
}

.tooltip-wrapper .tooltip-title{
	font-size: 14px;
	font-weight: bold;
}

.tooltip-wrapper .tooltip-close{
	height: 20px;
	width: 20px;
	float: right;
	cursor: pointer;
	background-position: center;
	background-image: url("/themes/amex/base/images/x.svg");
  border: 0;
  background-color: white;
}


.tooltip-wrapper .tooltip-body{
	margin-top: 10px;
	overflow-y: auto;
	max-height: 70vh;
}


.tooltip-spinner-wrapper{
	margin-top: 40px;
}

.tooltip-spinner {
    display: inherit;
margin: 0 auto;

  -webkit-animation: rotator 1.4s linear infinite;
          animation: rotator 1.4s linear infinite;
}

@-webkit-keyframes rotator {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(270deg);
            transform: rotate(270deg);
  }
}

@keyframes rotator {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(270deg);
            transform: rotate(270deg);
  }
}
.tooltip-spinner .path {
  stroke-dasharray: 187;
  stroke-dashoffset: 0;
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
          animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}

@-webkit-keyframes colors {
  0% {
    stroke: #4285F4;
  }
  25% {
    stroke: #DE3E35;
  }
  50% {
    stroke: #F7C223;
  }
  75% {
    stroke: #1B9A59;
  }
  100% {
    stroke: #4285F4;
  }
}

@keyframes colors {
  0% {
    stroke: #4285F4;
  }
  25% {
    stroke: #DE3E35;
  }
  50% {
    stroke: #F7C223;
  }
  75% {
    stroke: #1B9A59;
  }
  100% {
    stroke: #4285F4;
  }
}
@-webkit-keyframes dash {
  0% {
    stroke-dashoffset: 187;
  }
  50% {
    stroke-dashoffset: 46.75;
    -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    -webkit-transform: rotate(450deg);
            transform: rotate(450deg);
  }
}
@keyframes dash {
  0% {
    stroke-dashoffset: 187;
  }
  50% {
    stroke-dashoffset: 46.75;
    -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    -webkit-transform: rotate(450deg);
            transform: rotate(450deg);
  }
}


main[aria-hidden='true'] { pointer-events: none;}
