
.popup-wrap {
  width: 100%;
  height: 100%;
  display: none;
  z-index:999999;
  position: absolute;
  top: 0px;
  left: 0px;
  content: '';
  background: rgba(0, 0, 0, 0.85);
}

.popup-box {
  width: 400px;
  z-index:9999999;
  padding: 50px 75px;
  transform: translate(-50%, -50%) scale(0.5);
  position: absolute;
  top: 50%;
  left: 50%;
  box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  background: #fff;
  text-align: center;
}
.popup-box h2 {
  color: #1a1a1a;
}
.popup-box h3 {
  color: #888;
}
.popup-box .close-btn {
  width: 30px;
  height: 30px;
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 10px;
  -webkit-transition: all ease 0.50s;
  transition: all ease 0.75s;
  border-radius: 1000px;
  background: #d75f70;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  line-height: 160%;
}
.popup-box .close-btn:hover {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.transform-in, .transform-out {
  display: block;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
}

.transform-in {
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}

.transform-out {
  -webkit-transform: translate(-50%, -50%) scale(0.5);
  transform: translate(-50%, -50%) scale(0.5);
}

.p1
{
        font-size: 14px;
    font-weight: 800;
    /* background-color: #f5f5f5; */
    color: #515365;
    
}

/* Full-width input fields */
input[type=text], input[type=password] {
      width: 100%;
    padding: 19px 4px;
    font-size: 14px;
    margin: 6px 0;
    color: #31708f;
    font-style: italic;
    display: inline-block;
    border: 1px solid #999999;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button {
    background-color:#31708f;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
       text-align: center;
    margin: 0px 0 0px 0;
    position: relative;
    font-family: 'Nunito', sans-serif;
    font-size: 23px;
    padding: 11px;
    background: #5d8aa8;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    color: white;
}


.container{
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color:#464a4cd1;/* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
     background-color: #fefefe;
    margin: -3% auto 15% auto;
    border: 2px solid #3f4257;
    border-radius: 9px;
    width: 28%;
}

/* The Close Button (x) */
.close {
         position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    font-size: 23px;
    font-weight: bold;
}
.close2 {
    position: absolute;
    right: 19px;
    top: -9px;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close3 {
    position: absolute;
    right: 19px;
    top: 8px;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}
    
@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
       display: block;
       float: none;
    }
    .cancelbtn {
       width: 100%;
    }
}
