.modalButton
{
  cursor: pointer;
  text-align: center;
  z-index: 2;
  transform: translate(0, 0);
  animation-fill-mode: forwards;
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.55, 0, 0.1, 1);
  animation-direction: alternate;
}
.modalOverlay
{
	display: none;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    position: fixed;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 1000000;
}
.modalContent
{
  opacity: 0;
  visibility: hidden;
  transition: all 0s ease-out;
  transition-delay: 0s;
  line-height: 1.5;
}
.modalContent.active
{
	opacity: 1;
	visibility: visible;
	transition: all 1s ease-out;
	transition-delay: 0.5s;
  	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.23), 0 3px 12px rgba(0, 0, 0, 0.16);
}
.modalAnimate {
  animation-name: modalGo;
}

@keyframes modalGo
{
	from
	{
		width: 50px;
		height: 50px;
		border-radius: 50%;
		top: 50px;
		left: 50px;
		transform: translate(0, 0);
	}
	to
	{
		width: 250px;
		height: 250px;
		border-radius: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		background-color: white;
	}
}

.modalAnimateBack
{
  animation-name: modalGoBack;
}
@keyframes modalGoBack
{
	from
	{
		width: 250px;
		height: 250px;
		border-radius: 0;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	to
	{
		width: 50px;
		height: 50px;
		border-radius: 50%;
		top: 50px;
		left: 50px;
		transform: translate(0, 0);
	}
}

.cerrar {
    text-align: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
    position: relative;
    top: -65px;
    right: -10px;
    margin-left: auto;
}