:root {
--eac-primary-color: #FF5B2E;
}
.sp-blocks-preview-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
gap: 22px;
align-items: start;
}
.sp-block-card {
background-color: #FAE9E8;
width: 100%;
height: auto;
text-align: center;
border-radius: 10px;
padding: 35px 0;
position: relative;
}
.sp-block-name {
font-size: 20px;
font-weight: 500;
margin: 12px 0;
text-align: center;
}
.sp-block-demo-link {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #ff5b2eb3;
border-radius: 10px;
justify-content: center;
align-items: center;
display: flex;
opacity: 0;
transition: opacity 0.3s ease;
}
.sp-block-card:hover .sp-block-demo-link {
opacity: 1;
z-index: 1;
}
.sp-block-tags {
position: absolute;
top: 6px;
right: 10px;
z-index: 2;
}
.sp-block-tags span {
font-size: 11px;
font-weight: 500;
color: #ffffff;
border-radius: 10px;
padding: 3px 9px;
}
.block-tag-new {
background: #0ACF83;
}
.block-tag-hot {
background: #E63946;
}
.block-tag-upcoming {
background: #A300EF;
}
.sp-block-image {
display: flex;
justify-content: center;
} .sp-demo-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
display: none;
}
.sp-demo-modal::after {
position: fixed;
content: "";
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
opacity: 0.6;
}
.sp-demo-container {
width: 95%;
border-radius: 8px;
position: relative;
z-index: 9;
height: 95%;
margin: auto;
overflow: auto;
top: 50%;
transform: translateY(-50%);
background: #fff;
}
.sp-demo-header {
display: flex;
justify-content: space-between;
background: #FAE9E8;
padding: 0 20px;
position: sticky;
top: 0;
z-index: 10;
}
.sp-demo-responsive-btn button,
.sp-demo-close-btn,
.sp-demo-back-btn {
display: flex;
justify-content: center;
align-items: center;
font-size: 14px;
background: transparent;
border: none;
color: #2F2F2F;
cursor: pointer;
transition: all 0.3s ease;
}
.sp-demo-responsive-btn button:hover,
.sp-demo-back-btn:hover {
color: var(--eac-primary-color);
}
.sp-demo-close-btn:hover {
background-color: var(--eac-primary-color);
}
.sp-demo-responsive-btn {
display: flex;
padding-top: 25px;
}
.sp-demo-responsive-btn button {
padding: 11px 14px;
border: 1px solid transparent;
border-bottom: none;
border-radius: 4px 4px 0 0;
min-width: 55px;
}
.sp-demo-back-btn:focus,
.sp-demo-back-btn:focus,
.sp-demo-responsive-btn button:focus {
outline: none;
}
.sp-demo-back-btn {
padding: 0;
align-self: center;
}
.sp-demo-back-btn span {
margin-left: 6px;
font-size: 16px;
font-weight: 600;
}
.sp-demo-responsive-btn button.active {
color: var(--eac-primary-color);
border-color: var(--eac-primary-color);
background: #fff;
}
.sp-demo-close-btn {
padding: 9px;
background-color: #2F2F2F;
border-radius: 4px;
align-self: center;
color: #fff;
}
.sp-demo-wrapper {
width: 100%;
height: 100%;
background: #fff;
}
.sp-demo-modal-body { margin: 0 auto;
display: block;
height: 100%;
border: none;
position: relative;
}
iframe#sp-demo-iframe {
width: 100%;
height: 100%;
border: none;
}
.hidden {
display: none;
} .sp-demo-preloader {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000000d4;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 10;
transition: opacity 0.3s ease;
}
.sp-demo-preloader.hidden {
opacity: 0;
pointer-events: none;
}
.sp-preloader-spinner {
width: 40px;
height: 40px;
border: 4px solid #f3f3f3;
border-top: 4px solid var(--eac-primary-color);
border-radius: 50%;
animation: sp-spin 1s linear infinite;
margin-bottom: 15px;
}
.sp-demo-preloader p {
color: #666;
font-size: 14px;
margin: 0;
font-weight: 500;
}
@keyframes sp-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}