/* Legacy Impreza footer styles, limited to the banner. */
/*Растяжки*/

.banner__wrapper {

	position: fixed!important;
    left: 0!important;
    bottom: 0!important;
    z-index: 100!important;

/*    position: relative;*/
	width:100%;
    display: flex;
    max-height: 77px;
    gap: 20px;
    cursor: pointer;
}
.banner__wrapper picture {
    display: flex;
}

.banner__wrapper .image-sticky-bottom {
    align-self: end;
}

.banner__wrapper .image-sticky-center {
    align-self: center;
}

.banner__wrapper .image-centered {
    margin-left: 50px;
}

.banner__control {
    position: absolute;
    top: 3px;
    right: 10px;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.banner__content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.banner__img {
    position: relative;
    bottom: 0;
    width: auto;
    height: 67px;
}

.banner__wrapper .biology__img {
    width: auto;
    height: 87px;
}

.banner__wrapper .offset-0 {
    position: relative;
    bottom: 0;
}

.banner__wrapper .offset-1 {
    position: relative;
    bottom: 20px;
}

.banner__title {
    font-size: 28px;
    font-weight: bold;
    max-width: 505px;
	line-height: 100%;
}

.banner__date {
    font-size: 20px;
	line-height: 100%;
}

.banner__button {
    text-decoration: none;
    padding: 10px 40px;
    border-radius: 4px;
    font-size: 18px;
    margin-right: 50px;
    transition: all 0.3s ease-in-out;
}

.banner__button:hover {
    filter: brightness(0.8);
}

.banner__wrapper.blue-bg {
    background-color: #d5eefd;
}

.banner__wrapper.green-bg {
    background-color: rgb(236, 252, 213);
}

.banner__wrapper.purple-bg {
    background-color: #e4d3ff;
}

.banner__wrapper.intensive-yellow-bg {
    background-color: #ffda00;
}

.banner__wrapper.black-bg {
    background-color: #000;
    color: #fff;
}

.banner__wrapper.light-yellow-bg {
    background-color: #f8e181;
}

.banner__wrapper .blue-btn {
    background-color: #a9d6fd;
    color: #000;
}

.banner__wrapper .yellow-btn {
    background-color: #ffda00;
    color: #000;
}

.banner__wrapper .red-btn {
    background-color: #ff3130;
    color: #fff;
}

.banner__wrapper .animated {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s ease-in-out;
}

.banner__wrapper .fade-left {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .banner__title {
        font-size: 21px;
    }
    .banner__date {
        font-size: 18px;
    }

    .banner__button {
        font-size: 16px;
        padding: 5px 20px;
    }
}

@media (max-width: 800px) {
    .banner__title {
        font-size: 18px;
    }
    .banner__date {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .banner__img {
        height: 67px;
        width: auto;
        object-fit: contain;
    }

    .banner__wrapper .biology__img {
        height: 67px;
    }

    .banner__wrapper .offset-1 {
        bottom: 0;
    }
    .banner__title {
        font-size: 16px;
    }
    .banner__date {
        font-size: 14px;
    }

    .banner__title > br {
        display: none;
    }
    .banner__button {
        font-size: 14px;
        padding: 5px 15px;
    }
}

@media (max-width: 576px) {
    .banner__wrapper {
        padding: 0 10px 0 0;
        gap: 10px;
        max-height: 57px;
    }
    .banner__content {
        justify-content: flex-end;
        gap: 10px;
    }
    .banner__img {
        height: 47px;
        position: relative;
    }

    .banner__img--left {
        margin-left: -50px;
    }

    .banner__title > br {
        display: none;
    }
    .banner__title {
        font-size: 14px;
        max-width: 300px;
        position: relative;
        z-index: 3;
    }
    .banner__date {
        font-size: 12px;
    }

    .banner__date > br {
        display: none;
    }

    .banner__button {
        font-size: 12px;
        padding: 4px 10px;
        margin-right: 0;
    }

    .banner__wrapper .image-centered {
        margin-left: 0;
    }

    .banner__control {
        display: none;
    }
}

@media (max-width: 370px) {
    .banner__wrapper {
        gap: 0;
    }
    .banner__img--left {
        margin-left: -55px;
    }

    .banner__button {
        padding: 5px 5px;
        font-size: 10px;
    }
}
