.popup {
	display:none;
  position: absolute;
  padding: 10px;
  width: 600px;
  cursor: pointer;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-border-radius: 20px 0 20px 0;
  -webkit-border-radius: 20px;
  border-radius: 20px 0 20px 0;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMDQ3MjEiIHkxPSItMC4wMzk2MTQiIHgyPSIwLjk1Mjc5IiB5Mj0iMS4wMzk2MTQiPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIi8+PHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiNlODZjOGQiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
  background-size: 100%;
  background-image: -moz-linear-gradient(310deg, #ffffff 50%, #e86c8d 50%);
  background-image: -webkit-linear-gradient(310deg, #ffffff 50%, #e86c8d 50%);
  background-image: linear-gradient(140deg, #ffffff 50%, #e86c8d 50%);
}
.popup:before {
  content: '';
  position: absolute;
  left: 5%;
  top: 5%;
  width: 90%;
  height: 90%;
  -moz-border-radius: inherit;
  -webkit-border-radius: inherit;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.1);
  -moz-transform: translateZ(-100px);
  -ms-transform: translateZ(-100px);
  -webkit-transform: translateZ(-100px);
  transform: translateZ(-100px);
}

.popup-content {
  padding: 20px;
  background: #444;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-border-radius: 10px 0 10px 0;
  -webkit-border-radius: 10px;
  border-radius: 10px 0 10px 0;
}

.popup-text {
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  line-height: 30px;
  font-weight: 100;
  text-align: center;
  -moz-transform: translateZ(15px);
  -ms-transform: translateZ(15px);
  -webkit-transform: translateZ(15px);
  transform: translateZ(15px);
  /** Buttons **/
  /** Button hover animation **/
}
.popup-text b {
  color: #E86C8D;
  font-weight: 300;
}
.popup-text p {
  margin-bottom: 20px;
}
.popup-text div.button {
	height: 30px;
  margin-top: 10px;
  padding: 5px 23px;
  border: 1px solid #666;
  background-color: #666;
  color: #fff;
  display: inline-block;
  font-size: 20px;
  position: relative;
  overflow: hidden;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.popup-text div.default {
  border: 1px solid #E86C8D;
  background-color: #E86C8D;
}
.popup-text div.button.line span.animator {
  width: 300px;
  height: 100%;
  position: absolute;
  background-color: #fff;
  top: 0;
  left: -10px;
  transition: all 0.5s;
  transform: skewX(-20deg);
  z-index: 5;
}
.popup-text div.button.line span.content {
  transition: all 0.4s;
  position: relative;
  z-index: 10;
}
.popup-text div.button.line span.animator {
  transform: translateX(-300px) skewX(-20deg);
}
.popup-text div.button.line:hover {
  cursor: pointer;
}
.popup-text div.button.line:hover span.animator {
  transform: translateX(0) skewX(-20deg);
}
.popup-text div.button.line:hover span.content {
  color: #E86C8D;
}
