html, body { height: 100%; margin: 0; } 
.page-wrap { height: 100%; }

.overlay {
  display: none;
	background-color: rgba(0,0,0,0.2);
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0;
}
#button {
  z-index: 10;
  position: absolute;
}

.icon-list {
 
  width: 370px;
  margin: 0 auto;
  margin-top: 250px;
  padding: 0;
  list-style: none;
}

.icon-list li {
  display: inline;
  margin: 0;
  cursor: pointer;
}


.icon-list li > div {
  width: 80px;
  min-height: 15px;
  position: absolute;
  display: inline;
  margin-left: -110px;
  padding: 5px;
  visibility:hidden;
  opacity: 0;
  margin-top: -30px;

  font-size:1em;
  text-align: center;
  overflow: hidden;

  /* Setting the border-radius property for all Browsers */
  -moz-border-radius: 5px; /* Firefox */
  -webkit-border-radius: 5px; /* Safari and Chrome */
  border-radius: 5px; /* Browsers that Support it like Opera */


  /* Setting the transition property for all Browsers */
  -moz-transition: all 0.2s ease-in-out; /* Firefox */
  -webkit-transition: all 0.2s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.2s ease-in-out; /* Opera */
  transition: all 0.2s ease-in-out; /* Browsers that Support it */


}
            
      
.icon-list li:hover > div {
  visibility:visible;
  opacity: 1;
  margin-top: 33px;


}

.modal-close {
  width: 30px;
  height: 30px;
  text-indent: -9999px;
  background: url(close.png) no-repeat;
  display: block;
  position: absolute;
  top: -15px;
  right: -15px;
  border: none !important;
}

.modal {
  width: 660px;
  height: 380px;
  margin: -190px 0 0 -330px;

  position: fixed;
  top: 50%;
  left: 50%;

  background: url(like-bg.png) no-repeat;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);

  /* Embiggen */
  -webkit-transform: scale(1.5);
     -moz-transform: scale(1.5);
      -ms-transform: scale(1.5);
       -o-transform: scale(1.5);
          transform: scale(1.5);

  opacity: 0;
  pointer-events: none;
  z-index: 99999;
	}


.dialogIsOpen .page-wrap {

  /* Blur and de-color */
  -webkit-filter: blur(5px) grayscale(5%);
     -moz-filter: blur(5px) grayscale(5%);
      -ms-filter: blur(5px) grayscale(5%);
       -o-filter: blur(5px) grayscale(5%);
          filter: blur(5px) grayscale(5%);

  /* Recede */
  -webkit-transform: scale(0.9);
     -moz-transform: scale(0.9);
      -ms-transform: scale(0.9);
       -o-transform: scale(0.9);
          transform: scale(0.9);
}

.dialogIsOpen .modal {
  
  /* Regular size and visible */
  -webkit-transform: scale(1);
     -moz-transform: scale(1);
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1);
  
  opacity: 1;

  /* Clickable */
  pointer-events: auto;

}

.dialogIsOpen .overlay {
  
  opacity: 1;
}


.overlay, .icon-list li img {
  -webkit-transition: opacity 0.3s ease;
     -moz-transition: opacity 0.3s ease;
      -ms-transition: opacity 0.3s ease;
       -o-transition: opacity 0.3s ease;
          transition: opacity 0.3s ease;
} 

.icon-list li:hover img {
  opacity: 0.2;
}

.page-wrap, .modal {
  

  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;

  -moz-backface-visibility: hidden;
  -moz-perspective: 1000;

  -webkit-transition: all 0.4s ease;
     -moz-transition: all 0.4s ease;
      -ms-transition: all 0.4s ease;
       -o-transition: all 0.4s ease;
          transition: all 0.4s ease;
}
