

.popup {
    /*position: relative;*/
    visibility: hidden;
    position: fixed;
    top: 30%;
    left: 30%;
    /*width: 300px;*/
    /*height: 300px;*/
	/*margin: 200px;*/
	padding: 50px;
    border-radius: 6px;
    border-style: solid;
    border-width: 5px;
    border-color: #aaf;
    background-color: #faa;
    color: #fff;
    
    display: inline-block;
    /*cursor: pointer;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Toggle this class - hide and show the popup */
.popupShow {
	/*visibility: animatable;*/
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* text */
.popup .text {
    /*visibility: hidden;*/
    visibility: inherit;
    /*width: 160px;*/
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    /*position: absolute;*/
    /*z-index: 1;*/
    /*bottom: 125%;*/
    /*left: 50%;*/
    /*margin-left: -80px;*/
}

/* button */
.popup a.button {
    visibility: inherit;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 8px;
    cursor: pointer;
}

.popup div.frame{
    border-style: solid;
    border-width: 2px;
    border-color: black;
	margin: 20px;
	padding: 20px;
    border-radius: 6px 6px 6px 6px;
}


/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}



