﻿.panel {
  position: fixed;
  -webkit-overflow-scrolling: touch;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  visibility: hidden;
  transition: all 0.2s 0.6s;
  z-index: 1006;
  background: rgba(0,0,0,0);
}
.panel.is-visible {
  visibility: visible;
  transition: all 0.3s 0s;
  background: rgba(0,0,0,0.6);
}
.panel header,
.panel .popupHeader {
  position: fixed;
  width: 800px;
  max-height: 78px;
  background: rgba(255, 255, 255, 0.96);
  z-index: 2;
  border: 1px solid #E1E1E4;
  transition: top 0.3s 0s;
  right: 0;
  top: -78px;
}
.pageContent .panel header h1 {
  font-weight: normal;
  color: #000;
  display: inline-block;
  width: 90%;
  margin: 10px 0 10px 18px;
  line-height: 1.8em;
  font-size: 1.8em;
}
.panel header h1 span{
	color: #7D8A97;
	font-size: .6em;
	font-weight: normal;
}
.panel h2.popupHeader  {
  font-weight: 400;
  color: #000;
  display: inline-block;
  line-height: 1.2em;
  font-size: 1.8em;
  padding: 18px;
}
.is-visible.panel header,
.is-visible.panel .popupHeader {
  top: 0;
  transition: top 0.3s 0.3s;
}
.panel-close,
.panel .popupExit {
  float: right;
  color: #5E656C;
  font-family: "iCons";
  font-size: 1.2em;
  vertical-align: middle;
  margin: 25px 16px 25px 0px;
}
.panel .popupExit {
	position: fixed;
	z-index: 9999;
	top: 24px;
	right: -60px;
	margin: 0;
}
.panel.is-visible .popupExit {
	right: 24px;
	transition: right 180ms 560ms ease-in;
}
.panel .popupExit:before {
	content: 'ø';
	font:normal 24px iCons;
}
.panel.is-visible .panel-close:hover,
.panel.is-visible .popupExit:hover {
  animation: close 360ms 80ms;
}
@keyframes close {
  0%{
    transform: rotate(0);
  }
  100% {
    transform: rotate(90deg);
  }
 }
.panel-content,
.panel .popupContent {
  position: fixed;
  width: 800px;
  height: 100vh;
  max-height: none;
  top: 0;
  background: #fff;
  z-index: 1;
  transition-property: transform;
  transition-duration: 0.3s;
  transition-delay: 0.3s;
  right: 0;
  transform: translate3d(100%, 0, 0);
  border: 1px solid #E1E1E4;
  overflow-y: auto;
}
.my-account .panel-content,
.my-account .panel .popupContent {
  padding: 96px 24px 0;
}
.my-account .panel .popupContent .wallet-item-edit {
  padding-top: 72px;
}
.is-visible .panel-content,
.is-visible .popupContent {
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}
.my-account .is-visible .popupContent {
	transform: translate3d(0,70px,0);
}


.panel300 .popupHeader,
.panel300 .popupContent {
	width: 300px;
}
.panel400 .popupHeader,
.panel400 .popupContent {
	width: 400px;
}
.panel500 .popupHeader,
.panel500 .popupContent {
	width: 500px;
}
.panel600 .popupHeader,
.panel600 .popupContent {
	width: 600px;
}
.panel900 .popupHeader,
.panel900 .popupContent {
	width: 900px;
}
.panel1020 .popupHeader,
.panel1020 .popupContent {
	width: 1020px;
}

/* !--- rwd: medium & Small--- */
@media screen and (max-width:801px) {
	.panel-content,
	.panel header,
	.panel .popupHeader,
	.panel .popupContent {
		width: 100%;
	}
	.pageContent .panel header h1 {
		max-width: 80%;
		font-size: 1.8em!important;
		white-space: nowrap;
		margin: 10px 0 10px 10px;
	}
	.panel header,
	.panel h2.popupHeader {
		padding-left: 2vw;
	}
	.panel-content,
	.panel .popupContent {
		padding: 96px 2vw 60px;
	}
	.stick-cta .item-tab, .back-to-top, .stick-tab .back-to-top{
		z-index: 74;
	}
	.panel .availability .product-shipping{
		margin-top: 0;
	}
}

/* !--- rwd: small --- */
@media screen and (max-width:599px) {
	.panel header h1 span{
		display: none;
	}
}
