.modal-popup {
    display: none;
    position: fixed;
    z-index: 99;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);

  }


  .modal-promo {
    position: relative;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    top: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.6s;
    animation-name: animatetop;
    animation-duration: 0.6s;
    width: 100%;
    max-width: 410px;
    border-radius: 8px;
  }

  

  .promo-popup {
    padding: 0;
    max-width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 19%;
    left: 0;
    width: 100%;
  }

  .modal-promo ul {
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
    text-align: center;

  }

  .modal-promo ul li {
    padding: 2px 0;
    margin-bottom: 1px !important;
  }


  .promo-footer {
    display: block;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }


  .button-violet {
    color: #fff !important;
    border-color: #8d6dc4;
    background-color: #8d6dc4 !important;
  }

  .button-white,
  .button-violet {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.5s ease 0.1s;
    border-radius: 4px;
    margin: 20px;
    padding: 12px;
    font-size: 12px;
    display: block;
    max-width: 250px;
    cursor: pointer;
    text-align: center;
  }




  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {
      top: -400px;
      opacity: 0
    }

    to {
      top: 0;
      opacity: 1
    }
  }

  @keyframes animatetop {
    from {
      top: -400px;
      opacity: 0
    }

    to {
      top: 0;
      opacity: 1
    }
  }

  .modal-promo.promostyle3 {
    background: url('https://www.cartomanzia.blue/minipress/themes/theme_1/banner-bg.png') no-repeat center center / cover;
    max-width: 100%;
  }

  @media (min-width:768px) {
    .modal-promo.promostyle3 {
      max-width: 400px !important;
    }

    .promo-popup {
      padding: 1em;
      top: 50%;
      left: 50%;
      margin-top: -200px;
      margin-left: -200px;


    }
  }

  .absolute-element {
    position: absolute;
    top: -108px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }


  .modal-promo h2 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
  }


  .closepopuppromo{
      position: absolute;
      right: 3px;
      top: 2px;
      z-index: 1000;
      cursor: pointer;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      padding: 5px 0px 0px 11px;
      font-weight: bold;
}

.closepopuppromo :hover{
    color: red;
}

  @media(min-width:768px) {



    .close-banner {
      position: absolute;
      right: 10px;
      top: 0;
      z-index: 1000;
      cursor: pointer;
    }



    .lasthalf,
    .firsthalf {
      font-size: 15px;
    }

    .middlehalf {
      font-size: 40px;
      font-weight: bold;
    }
  }