.home-slider {
    position: relative;
}

.home-slider .slider-item__content {
    position: absolute;
    bottom: 5%;
    left: 48px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-family: "Helvetica-Light", sans-serif;
}

.home-slider .slider-item__content img {
    margin-right: 22px;
}

.home-slider .slider-item>img {
    width: 100%;
}

.home-slider .slider-item {
    max-height: 43vw;
}

.slide__tagline {
    position: absolute;
    left: 50%;
    bottom: 15%;
    transform: translate(-50%, 0);
    background: linear-gradient(89.95deg, #E21F25 0.04%, rgba(255, 255, 255, 0) 99.95%);
    border-radius: 5px;
    padding: 13px 4.16%;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 48px;
    width: fit-content;
}



.home-slider .slider-item video {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    /* transform: translate(0px, -22%); */
}

.home-slider .slick-dots {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translate(-50%, 0);
    list-style-type: none;
    padding: unset;
    margin: unset;
}

.home-slider .slick-dots li {
    display: inline-block;
    margin-right: 9px;
}

.home-slider .slick-dots button {
    border-radius: 3px;
    background-color: #ffffff;
    color: #ffffff;
    border: unset;
    width: 13px;
    height: 13px;
    max-width: 13px;
    max-height: 13px;
    overflow: hidden;
    cursor: pointer;
    font-size: 0px;
    border-radius: 100%;
}

.home-slider .slick-dots button:focus {
    outline: none;
}

.home-slider .slick-dots .slick-active button {
    background-color: var(--main-color);
    color: var(--main-color);
}

.home-slider .slick-dots li:last-child {
    margin-right: unset;
}



.catalog {
    display: flex;
    flex-wrap: wrap;
}

.catalog__item {
    width: 50%;
    height: 36.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 100% 100%;
    background-position: center;
    transition: background-size .5s ease;
    cursor: pointer;
}

.catalog__item:hover {
    background-size: 120% 120%;
    transition: background .5s ease;
}

.catalog__content {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    max-width: 380px;
    max-height: 270px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(226, 31, 37, 0.8) 0%, rgba(0, 0, 0, 0.8) 68.75%);
    
}

.catalog__title {
    margin-bottom: 35px;
    font-size: 36px;
    font-weight: 400;
    text-align: center;
}

.catalog__button:hover{
    background-color: #121212;
    color: #ffffff;
}

.catalog .button {
    margin: 0 auto;
}



.calculator {
    max-width: 587px;
    margin: 0 auto;
    padding: 0 20px;
}

.calculator .button {
    margin: 0 auto;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
}


.input-group_double-inputs {
    justify-content: space-between;
}

.input-group_double-inputs input {
    width: calc(50% - 48px - 50px);
}

#input_port,
#input_state {
    text-transform: uppercase;
}


.seo {
    background-image: url('../images/home/seo-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.seo__content {
    max-width: 1575px;
    margin: 0 auto;
    padding: 60px;
    color: rgb(255, 255, 255);
}

.seo__content p{
    font-family: "GothamPro-Light", sans-serif;
}




.results {
    max-width: 1210px;
    padding: 0 20px;
    margin: 40px auto;
    font-family: "GothamPro", sans-serif;
}

.calculator__results,
.results__wrapper_gasoline,
.results__wrapper_el , .results__wrapper_euro_gasoline, .results__wrapper_euro_el{
    overflow: hidden;
    max-height: 0;
    -webkit-transition: max-height .5s;
    transition: max-height .5s;
}



.calculator__results.active,
.results__wrapper_gasoline.active,
.results__wrapper_el.active , .results__wrapper_euro_gasoline.active, .results__wrapper_euro_el.active{
    max-height: 5000px;
    -webkit-transition: max-height .5s;
    transition: max-height .5s;
}







.results__wrapper_margin {
    margin: 40px 0;
}

.results__title {
    background-color: #e9e9e9;
    padding: 25px 0;
    font-family: "GothamPro-Medium", sans-serif;
    text-align: center;
}

.results__title_section {
    font-family: "GothamPro-Medium", sans-serif;
    text-align: center;
    margin: 40px 0;
}

.results__items {
    padding: unset;
    margin: unset;
    list-style-type: none;
}

.results__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

.results__item_border-bottom {
    border-bottom: 1px solid rgb(177, 178, 178);
}

.result {}

.result__description {
    margin: unset;
    padding: 25px 0;
}

.result__price {
    margin: unset;
}

.results__item_total {
    background-color: #e9e9e9;
    font-weight: 500;
}

.results__info {
    font-weight: bold;
    padding: 0 5%;
}


.tabs {
    max-width: 849px;
    margin: 0 auto;
    border: 1px solid var(--main-color);
}

.product__tabs {
    margin-bottom: 20px;
}

.tabs__nav {
    display: flex;
    flex-wrap: wrap;
}

.tab {
    padding: 13px 20px;
    cursor: pointer;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--main-color);
    text-transform: uppercase;
}

.tab.active {
    background-color: var(--main-color);
    color: #FFFFFF;
}

.tab__title {
    font-size: 18px;
}

.tabs__content {
    margin-top: 5px;

}

.tab__content {
    display: none;
    padding: 20px 30px;
}

.tab__content.active {
    display: block;
}

.banks{
    max-width: 1575px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.bank{
    width: 31.42%;
    background: #FFFFFF;
    box-shadow: 0px 0px 38px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    box-sizing: border-box;
    padding: 4.95% 3.93% 4.76% 3.93%;
    height: 513px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banks .bank:last-child{
    padding: 2.92% 3.93% 4.76% 3.93%;
}

.bank__logo{
    margin-bottom: 14.01%;
    text-align: center;
}
.bank__offers{
    padding: 0;
    margin: 0 0 12.93% 0;
    list-style-type: none;
    font-family: 'Roboto',sans-serif;
    font-weight: 400;
    font-size: 14px;
}
.bank__offers li+li{
    margin-top: 1em;
}

@media (max-width: 1700px) {
    .slide__tagline{
        font-size: 36px;
        width: max-content;
        width: -moz-max-content;
        width: -webkit-max-content;
        width: -o-max-content;
    }
}

@media (max-width: 1440px) {
    .catalog__title {
        font-size: 28px;
    }

    .catalog__content {
        max-width: 340px;
        max-height: 230px;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 8px 16px;
    }

    .calculator {
        max-width: 487px;
    }

    .slide__tagline {
        bottom: 20%;
    }

    .bank{
        height: auto;
    }


}

@media (max-width: 1024px) {

    .slide__tagline {
        font-size: 28px;
    }

    .home-slider .slider-item__content img {
        height: 40px;
        margin-right: 16px;
    }

    .home-slider .slider-item__content p {
        font-size: 12px;
        line-height: 1.5;
    }

    .catalog__title {
        font-size: 22px;
    }

    .catalog__content {
        max-width: 300px;
        max-height: 190px;
    }

    .calculator {
        font-size: 14px;
    }

    

    .seo__content {
        max-width: 100%;
        padding: 30px 20px;
    }

    


}

@media (max-width: 780px) {
    .home-slider .slider-item__content img {
        height: 25px;
        margin-right: 16px;
    }

    .home-slider .slider-item__content p {
        font-size: 11px;
        line-height: 1.2;
    }

    .catalog__item {
        width: 100%;
        height: 100vw;
        max-height: 390px;
        background-size: cover;
        margin-bottom: 40px;
    }

    .catalog__item:hover {
        background-size: cover;
    }

    

    .slide__tagline {
        font-size: 24px;
    }

    .bank {
        width: 100%;
        padding: 40px;
        height: auto;
    }

    .banks .bank:last-child{
        padding: 40px;
    }

    .bank+.bank{
        margin-top: 20px;
    }


}


@media (max-width: 620px) {

    .home-slider .slider-item__content {
        left: 10px;
        display: block;
    }

    .home-slider .slider-item__content img {
        margin: 0 auto;
    }

    .home-slider .slider-item__content p {
        margin: 5px 0 0 0;
        text-align: center;
    }

    .catalog__content {
        max-width: 280px;
    }

    .calculator{
        max-width: 100%;
        padding: 0;
    }

    .results{
        padding: 0 5px;
    }

    .results__title{
        font-size: 20px;
    }

    .result__description{
        max-width: 80%;
    }

    .results__item{
        font-size: 14px;
    }

    .calculator .button{
        max-width: 100%;
    }



}

@media (max-width: 580px) {

    .input-group_insurance {
        flex-wrap: nowrap;
    }

    .input-group input[type="checkbox"] {
        margin-right: 10px;
    }

    .slide__tagline {
        font-size: 14px;
    }

}

@media (max-width: 360px) {

    .home-slider .slider-item__content img {
        height: 18px;
    }

    .home-slider .slider-item__content p {
        font-size: 8px;
    }

    .slide__tagline {
        font-size: 10px;
    }

    .slide__tagline span {
        padding: unset;
    }

}
