<script type="text/javascript" src="https://code.jquery.com/jquery-1.8.2.js"></script>
<style type="text/css">
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
filter:alpha(opacity=70);
-moz-opacity:0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
z-index: 100;
display: none;
}
.popup a{
text-decoration: none;
font-weight: 700;
font-size: 25px;
position: absolute;
top: 0;
right: 0;
padding: 10px 20px;
}
.pop_container{
width: 100%;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
position: fixed;
z-index: 101;
}
.popup{
width: 400px;
min-height: 150px;
margin: 50px auto;
background: #fff;
position: relative;
z-index: 103;
padding: 45px 10px 10px 10px;
border-radius: 5px;
box-shadow: 0 2px 5px #000;
text-align: center;
}
.popup a img{
width: 95%;
padding-top: 35px;
}
.popup img{
width: 100%;
padding-top: 2px;
}
@media (max-width:767px){
.popup {
width: 280px !important;
height: 350px !important;
left: 0% !important;
}
}
.popup p{
clear: both;
color: #555555;
/ text-align: justify; /
font-size: 20px;
font-family: sans-serif;
}
.popup p a{
color: @primary;
font-weight: bold;
}
.popup .x{
float: right;
height: 35px;
left: 22px;
position: relative;
top: -25px;
width: 34px;
}
.popup .x:hover{
cursor: pointer;
}
</style>
<script type='text/javascript'>
$(function(){
var overlay = $('<div id="overlay"></div>');
overlay.show();
overlay.appendTo(document.body);
$('.pop_container').show();
$('.close').click(function(){
$('.pop_container').hide();
overlay.appendTo(document.body).remove();
return false;
});
$('.x').click(function(){
$('.pop_container').hide();
overlay.appendTo(document.body).remove();
return false;
});
});
</script>
<div class='pop_container'>
<div class='popup'>
<!-- Insert content below -->
<img src="/files/theme/campaign-thumbnail.jpg">
<br><br>
<div class="wsite-button wsite-button-small wsite-button-highlight"
onclick="location.href='https://www.flipcause.com/secure/cause_pdetails/MTU0OTk0'">
<span class="wsite-button-inner">
Sponsor a Backpack
</span>
</div>
<a href='' class='close'>✕</a>
<!-- end of content -->
</div>
</div>
<style type="text/css">
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
filter:alpha(opacity=70);
-moz-opacity:0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
z-index: 100;
display: none;
}
.popup a{
text-decoration: none;
font-weight: 700;
font-size: 25px;
position: absolute;
top: 0;
right: 0;
padding: 10px 20px;
}
.pop_container{
width: 100%;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
position: fixed;
z-index: 101;
}
.popup{
width: 400px;
min-height: 150px;
margin: 50px auto;
background: #fff;
position: relative;
z-index: 103;
padding: 45px 10px 10px 10px;
border-radius: 5px;
box-shadow: 0 2px 5px #000;
text-align: center;
}
.popup a img{
width: 95%;
padding-top: 35px;
}
.popup img{
width: 100%;
padding-top: 2px;
}
@media (max-width:767px){
.popup {
width: 280px !important;
height: 350px !important;
left: 0% !important;
}
}
.popup p{
clear: both;
color: #555555;
/ text-align: justify; /
font-size: 20px;
font-family: sans-serif;
}
.popup p a{
color: @primary;
font-weight: bold;
}
.popup .x{
float: right;
height: 35px;
left: 22px;
position: relative;
top: -25px;
width: 34px;
}
.popup .x:hover{
cursor: pointer;
}
</style>
<script type='text/javascript'>
$(function(){
var overlay = $('<div id="overlay"></div>');
overlay.show();
overlay.appendTo(document.body);
$('.pop_container').show();
$('.close').click(function(){
$('.pop_container').hide();
overlay.appendTo(document.body).remove();
return false;
});
$('.x').click(function(){
$('.pop_container').hide();
overlay.appendTo(document.body).remove();
return false;
});
});
</script>
<div class='pop_container'>
<div class='popup'>
<!-- Insert content below -->
<img src="/files/theme/campaign-thumbnail.jpg">
<br><br>
<div class="wsite-button wsite-button-small wsite-button-highlight"
onclick="location.href='https://www.flipcause.com/secure/cause_pdetails/MTU0OTk0'">
<span class="wsite-button-inner">
Sponsor a Backpack
</span>
</div>
<a href='' class='close'>✕</a>
<!-- end of content -->
</div>
</div>
<style type="text/css">
.popup {
opacity: 1;
width: 970px;
height: 290px;
margin-top: -320px!important;
margin-left: -485px!important;
top: 50%;
left: 50%;
margin: 0 auto;
display: flex;
position: fixed;
z-index: 1000001;
}
.cnt223 {
display: flex;
width: 970px;
height: 290px;
background: #f3f3f3;
position: relative;
z-index: 103;
padding: 20px 30px;
border-radius: 5px;
box-shadow: 0 2px 5px #000;
align-items: center;
}
.left-panel {
width: 30%;
padding-right: 40px;
}
.left-panel img {
object-fit: cover;
height: 260px;
width: 260px;
}
.right-panel {
width: 70%;
}
h3.title {
font-size: 52px;
color: #FA9F1D;
margin-bottom: 15px;
}
.right-panel paragraph {
color: #313131;
}
.cnt223 .x{
float: right;
height: 35px;
left: 22px;
position: relative;
top: -25px;
width: 34px;
}
.cnt223 .x:hover{
cursor: pointer;
}
</style>
.popup {
opacity: 1;
width: 970px;
height: 290px;
margin-top: -320px!important;
margin-left: -485px!important;
top: 50%;
left: 50%;
margin: 0 auto;
display: flex;
position: fixed;
z-index: 1000001;
}
.cnt223 {
display: flex;
width: 970px;
height: 290px;
background: #f3f3f3;
position: relative;
z-index: 103;
padding: 20px 30px;
border-radius: 5px;
box-shadow: 0 2px 5px #000;
align-items: center;
}
.left-panel {
width: 30%;
padding-right: 40px;
}
.left-panel img {
object-fit: cover;
height: 260px;
width: 260px;
}
.right-panel {
width: 70%;
}
h3.title {
font-size: 52px;
color: #FA9F1D;
margin-bottom: 15px;
}
.right-panel paragraph {
color: #313131;
}
.cnt223 .x{
float: right;
height: 35px;
left: 22px;
position: relative;
top: -25px;
width: 34px;
}
.cnt223 .x:hover{
cursor: pointer;
}
</style>