/* ------------------------------------------------------------------
Project: Semantic
Place here your custom CSS styles
------------------------------------------------------------------ */

#fbpng {
  position: relative;
  margin: 0 auto;
  top: 35px;
  float: left;
}

#fbpng img {
  position:absolute;
  left:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

#fbpng img.top:hover {
  opacity:0;
}

/* pop up box */

.pbox {
  /*width: 40%;*/
  width: 100%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
  z-index: 999999999;
}

.poverlay {
  min-width: 320px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 999999999;
}
.poverlay:target {
  visibility: visible;
  opacity: 1;
}

.ppopup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  min-width: 320px;
  max-width: 1200px;
  width: 100%;
  /*width: 30%;*/
  position: relative;
  transition: all 5s ease-in-out;
  z-index: 999999999;
}

.ppopup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.ppopup .pclose {
  position: absolute;
  top: -15px;
  right: 5px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  z-index: 9999999999;
}
.ppopup .pclose:hover {
  color: #06D85F;
}
.ppopup .pcontent {
  /*max-height: 30%;*/
  max-height: 100%;
  overflow: auto;
  z-index: 999999999;
}

@media screen and (min-width: 600px){
  .pbox{
    min-width: 600px;
  }
  .ppopup{
    min-width: 600px;
  }
  .poverlay {
    min-width: 600px;
  }
}