.photo{
  position:relative;
}

.photo img{
    position: relative;
    padding: 5px;
    width: 100%;    
    border-radius: 20px;
}
.photo img:hover{
  cursor: pointer;
}
.photo_open{
    position: absolute;
    padding: 5px;
    width: 100%;    
    left: 0%;
    top: 40px;
    right: 0px;
    bottom : 0px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.photo_open:hover{
    cursor: pointer;
}

.photo_icon {
    left: 0%;
    top: 0%;
    padding-right: 10px;
    height: 35px;
    position: absolute;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.5);
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 15px;    
    color:#CCCCCC;
    opacity: 1;
  }

  @media all and (min-width: 600px) 
  {
    .photo_icon {
      opacity: 0;
    }
  }

/* When you mouse over the container, fade in the overlay icon*/
.photo:hover .photo_icon {
  opacity: 1;
}


  .photo span{
    color:#CCCCCC;
    font-size: 22px;
    padding:5px;
}

.photo_trophy_area{
    display:block;
    position: absolute;
    top: 5px;
    right : 5px;
    width:100%;
    height:100%;
    border-top-right-radius: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    clip-path: polygon(80% 0, 100% 25%, 100% 0);
    z-index: 900;
  }  

  .photo_trophy_icon{
    display:block;
    position: absolute;
    font-size: 20px;
    right: 5px;
    top: 0px;
    color: #CCCCCC;
    z-index: 999;
  }  

  .photo_trophy_icon_info{
    display:block;
    position: absolute;
    font-size: 20px;
    right: 27px;
    top: 10px;
    color: #CCCCCC;
    z-index: 999;
  }  
  .photo_trophy_icon_info:hover{
    cursor: help;
}
