﻿/* Popup container - can be anything you want */
.popup {
   position:relative;
    display: inline-block;
    /*cursor: pointer;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

/* The actual popup EDITED IGP */
.popup .popuptext {
    visibility: hidden;
    width: 50%; /*was 40%;*/
    background-color: #929292;/*was #7d7c7c;*/
	color: #fff;
    text-align: left;
    border-radius: 10px;/*was 6*/
    padding: 15px 15px;
    height:300px;/*was 30% then 40%;*/
	/*max-height:50%; /*added IGP Feb 2019*/
    overflow:auto;
    /*set pop up positioning*/
    z-index: 1;
    position:fixed;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%,-50%);
    -moz-transform:translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
     transform: translate(-50%,-50%);
}

/* Popup arrow - hidden due to design
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
*/
/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}