.custom-banner{
    display: block;
}

.ajax-banner{
    width: 100%;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.header-banner{
    height: 50px;
}

.footer-banner{
    height: 100px;
}

.ajax-banner div{
    max-width: 1200px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.ajax-banner img{
    width: 100%;
    height: 100%;
    max-width: 1200px;
    object-fit: cover;
}

.footer-banner{
    position: fixed;
    bottom: 0;
    z-index: 9999;
}

.footer-banner-close {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
    position: fixed;
    right: 90px;
    bottom: 75px;
    z-index: 9999;
}

.footer-banner-close::before,
.footer-banner-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: #000;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: background-color 0.3s;
}

.footer-banner-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.footer-banner-close:hover {
    background-color: #000;
}

.footer-banner-close:hover::before,
.footer-banner-close:hover::after {
    background-color: #fff5f5;
}

.single-banner{
    margin: 10px 0;
    height: 300px;
}

@media (max-width: 1200px){
    .header-banner{
        max-height: 50px;
    }

    .footer-banner-close {
        right: 70px;
        bottom: 75px;
    }
}

@media (max-width: 768px){

    .footer-banner {
        height: auto;
        display: flex;
    }
}
