.etv3-templates-wrap {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4,1fr);
    padding: 10px;
    box-sizing: border-box;
    height: 50vh;
    overflow-y: scroll
}

.aria-admin-notice-info p {
    text-align: right
}

.etv3-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e2e2;
    padding: 10px;
    box-shadow: 0 2px 5px rgb(0 0 0 / .05);
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: fit-content
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px !important;
    border-radius: 8px;
    border: 1px solid #e2e2e2
}

.loader-wrap {
    display: none;
    background: #ffffff9e;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0
}

.image-wrapper.scroll-hover img.etv3-card-img {
    transform: translateY(calc(-100% + 275px))
}

.etv3-card h4 {
    margin: 10px 0 !important;
    margin-top: 0;
    font-size: 16px;
    font-weight: 700
}

button.button-primary.etv3-import-btn {
    background-color: #efefef;
    color: #9b9b9b;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    border-radius: 12px 12px 12px 12px;
    padding: 10px 15px;
    text-decoration: none;
    border: unset;
    cursor: pointer
}

.etv3-card img.etv3-card-img {
    width: 100%;
    transition: transform 2.5s ease-in-out;
    border-radius: 8px
}

.etv3-type {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    background: #f3c623;
    padding: 5px;
    border-radius: 4px
}

.etv3-card a.button.button-secondary {
    background-color: #19266a;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    fill: #fff;
    color: #fff;
    border-radius: 12px 12px 12px 12px;
    padding: 10px 15px;
    text-decoration: none
}

@media (max-width:1199px) {
    .etv3-templates-wrap {
        grid-template-columns: repeat(3,1fr)
    }
}

@media (max-width:991px) {
    .etv3-templates-wrap {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width:767px) {
    .etv3-templates-wrap {
        grid-template-columns: 1fr
    }
}

.loader {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: relative;
    background: #fff;
    box-shadow: -24px 0 #fff,24px 0 #fff;
    box-sizing: border-box;
    animation: shadowPulse 1.3s linear infinite
}

@keyframes shadowPulse {
    33% {
        background: #fff;
        box-shadow: -24px 0 #444,24px 0 #fff
    }

    66% {
        background: #444;
        box-shadow: -24px 0 #fff,24px 0 #fff
    }

    100% {
        background: #fff;
        box-shadow: -24px 0 #fff,24px 0 #444
    }
}

span.loader {
    position: absolute;
    top: 40%;
    right: 45%
}
