#ouibounce-modal {
  font-family: 'Open Sans', sans-serif;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 120;
}
#ouibounce-modal .underlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  cursor: pointer;
  -webkit-animation: fadein 0.5s;
  animation: fadein 0.5s;
}
#ouibounce-modal .modal {
    width:550px;
    height: 480px;
    max-width:96%;
    max-height:96%;
    background: 0;
    z-index: 1;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-animation: popin 0.3s;
    animation: popin 0.3s;
}
#ouibounce-modal img {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
}
#ouibounce-modal .modal-close {
    cursor:pointer;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    position:absolute;
    right:0;
    top:0;
    z-index:20;
    border:0;
    color: #bbb;
    background: 0;
    font: 300 28px/1 'Gill Sans',Arial,sans-serif;
    padding: 5px;
    width:28px;
    text-align: center;
}
#ouibounce-modal .modal-close:hover {
    color: #f00;
}
@-webkit-keyframes popin {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }

    85% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes popin {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0;
    }

    85% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}