﻿      .overlayp {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index:999;

}
.overlayp:target {
  visibility: visible;
  opacity: 1;

}

.popup {
  margin: 30px auto;
  padding: 10px;
  background: #fff;
  border-radius: 25px;
  width: 85%;height:auto;max-width:600px;
  position: relative;top:-28px;
  transition: all 2s ease-in-out;
 
}
.popup .close {
  position: absolute;
  top: 5px;
  left: 5px;
  transition: all 200ms;
  border-radius: 15px;
  font-family: arial;
  cursor: pointer;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  color: red;
}

.close {
  position: absolute;
  top: 5px;
  left: 5px;
  transition: all 200ms;
  border-radius: 20px;
  font-family: arial;
  cursor: pointer;
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  color: red;
}

.close:hover {
  font-weight: 700;
 text-decoration: none;
  color: darkred;
}
.contentpop {
position:relative;
top:5px;
  font-size:19px;
  max-height: 80%;
position:relative;
margin-left:30px;margin-right:30px;
border-radius:10px;

}

.popup .content {
  max-height: 100%;
 
}

a.pop:link { color:#FF0000; text-decoration:none; font-weight:normal; }
a.pop:visited { color: #FF0000; text-decoration:none; font-weight:normal; }
a.pop:hover { color: #006aff; text-decoration:underline; font-weight:600; }
a.pop:active { color: #FF00FF; text-decoration:none; font-weight:normal; }