﻿
  /* The Modal (background) */
  .popup {
    display: none; /* Hidden by default */
    position: absolute; /* Stay in place */
    z-index: 3; /* Sit on top */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background: white;
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,.6); /* Black w/ opacity */
  }

  /* Modal Content (image) */
  .popup-content {
    margin: auto;
    display: none;
    background: white;
    width: 300px; /* Full width */
    height: 200px; /* Full height */
    text-align: justify;
    font-weight: 500;
    background-image: url(images/kleckse_opac.png);
    background-repeat: no-repeat;
    background-size: 200px auto; 
    background-position: center center;
  }

  .solid{
  border-style: solid;
  border-width: 2px;
  }

  /* The Close Button */
.popup-close {
  position: absolute;
  top: 0px;
  right: 10px;
  color: black;
  font-size: 35px;
  font-weight: bold;
  transition: 0.3s;
}

.popup-close:hover,
.popup-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

  /* Add Animation */
  .popup-content { 
    -webkit-animation-name: open;
    -webkit-animation-duration: 0.6s;
    animation-name: open;
    animation-duration: 0.6s;
  }

  @-webkit-keyframes open {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }

  @keyframes open {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }

/* No popup on larger screens */
@media screen and (min-width: 450px){
  .popup {
    display: none;
  }
  .popup-content {
    display: none;
  }
}

/* Popup appears on Smaller Screens */
@media screen and (max-width: 450px){
  .popup {
    display: block;
  }
  .popup-content {
    display: table;
  }
}