.eb-overlay {
    display: none; 
    background: rgba(0,0,0,0.8);
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    outline: 0;
    z-index: 999;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}
.eb-popup-container-outer {
    display: block;
    position: fixed;
    top: 50%;
    z-index: 999;
    left: 33%;
    /* margin-left: -300px; */
    width: 34%;
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: -o-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0,-25%);
    -ms-transform: translate(0,-25%);
    -o-transform: translate(0,-25%);
    transform: translate(0,-25%);
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
    right: 25%;
}
.eb-popup-container {
    max-height: 80vh;
    overflow-y: auto;
    margin: 30px 0;
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 0;
    border: none;
    position: relative;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
}
.eb-popup-close {font-size: 1.1em;position: absolute;right: 8px;display: block;cursor: pointer;padding: 5px;font-weight: bold; top: 8px;color: gray;}
.eb-popup-container-content {float: left;width: 100%;}
.eb-popup-container-content-text {float: left;}

@media (max-width: 767px) {
.leftpopContent {margin-top:20px;}
.eb-popup-container-content-text h2 {font-size: 1.3em;}
.eb-popup-container-outer {top: 5%;left: 5%;right: 5%;width: 90%;margin-top: unset !important;}
.eb-popup-container-content-text {float: left;width: 100%;padding-right: 0;}
}


@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation : landscape) { 
.eb-popup-container-outer {top: 5%;left: 5%;right: 5%;width: 90%;margin-top: unset !important;}
.eb-popup-container-content-text {float: left;}
}

@media all and (min-width: 721px) and (max-width: 840px) {
.eb-popup-container-outer {width: 80%;left: 10%;right: 10%;top: 20%;margin-top: unset !important;}
.eb-popup-container-content-text {float: left;}
.eb-popup-container-content-text p {font-size: 0.8em;line-height: 1.4em;}
.eb-popup-container-content-text h2 {font-size: 1.2em;}
}

/*IPad/IPad mini landscape mode:*/
@media all and (min-width: 921px) and (max-width: 1040px) {
.eb-popup-container-outer {width: 58%;left: 21%;right: 21%;top: 10%;margin-top: unset !important;}
.eb-popup-container-content-text {float: left;}
}
.eb-overlay h3 {font-size:3.5rem;}
.eb-overlay p {font-size:16px;}
.eb-overlay .rightpopContent {text-align: center;} 
.closeButtonText {font-size: 12px;vertical-align: top;}


@media screen and (min-width: 1366px) and (max-width: 1400px) { 
.eb-popup-container-outer {left: 27%;width: 46%;}
}