@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');


body{
    background-color: #f4f4f4;
    color: #333;
    font-family: 'Source Sans Pro', sans-serif;
    min-height: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    line-height: 1.6;
    font-size: 15px;
}

h1, h2, h3{
line-height: 1.2;
font-family: 'Raleway', sans-serif;
}

h1{
font-size: 32px;
margin: 0;
padding: 0;
}


h3{
font-size: 21px;
margin: 15px 0;
}

h2{
font-size: 24px;
}

html{
scroll-behavior: smooth;
width: 100%;
}

a, div, :hover, img{
transition: all 0.3s ease-out;
}

:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}


* { box-sizing: border-box; }

button {
    outline: 0;
    cursor: pointer;
}

a {
color: #333;
}
a:hover {
    text-decoration: none;
}

img, video{
max-width: 100%;
}

/*start from here*/

.container{
    max-width: 1200px;
}

.header img{
    width: 100%;
    max-width: 80px;
}

.header{
    background: #004CA9;
    padding: 10px 0;
}

.header--container{
    display: flex;
    align-items: center;
}

.header--link{
    display: flex;
    width: 80%;
    max-width: 240px;
}

#footer ul{
    margin-bottom: 8px;
    padding-bottom: 0;
}

#footer a:hover{
    text-decoration: underline;
}

.splide__pagination__page.is-active{
    background: #004CA9;
}

#footer a{
    color: #fff;
    margin-bottom: 0;
    padding-bottom: 0;
}

#footer p{
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 12px;
}

#footer{
    padding: 20px 0;
    background: #004CA9;
    text-align: center;
    color: #fff;
}

#footer .logo{
    width: 80%;
    max-width: 80px;
    margin-bottom: 10px;
}

.list-unstyled{
    display: flex;
    list-style: none;
    gap: 10px;
    justify-content: center;
    padding-left: 0;
}

.terms{
    padding: 60px 0;
}

.opt{
    display: flex;
    justify-content: center;
}

.homepage .header{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homepage .header--container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage #footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: none;
}

.homepage #footer .col-md-4{
    display: none;
}

.homepage #footer .col-md-8{
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.homepage .list-unstyled{
    justify-content: center;
}

.list-in{
    column-count: 5;
    list-style: none;
    padding: 0;
    padding-left: 15px;
    width: 100%;
    padding-bottom: 30px;
}

.splide__slide{
    position: relative;
}

.splide__slide h3{
    padding: 15px 30px;
    background-color: #004CA9;
    color: #fff;
    max-width: 70%;
    margin: 0;
    height: 50%;
    position: absolute;
    z-index: -1;
}

.splide__slide img{
    margin-top: 50px;
    padding: 30px;
}

.hero-out{
    background-color: #004CA9;
    padding: 15px 0 25px 0;
}

.hero img{
    display: block;
    margin: 0 auto;
    max-width: 80px;
}

.hero h1{
    text-align: center;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    padding: 15px 0;
}

.btn{
    background-color: #0BB978;
    border-color: #0BB978;
    color: #fff;
    width: 100%;
}

.search{
    margin-top: 15px;
    margin-bottom: 15px;
}

.container{
    max-width: 1000px;
}

.list .carlisting{
    max-width: 1200px;
}

.cars{
    padding-top: 60px;
    padding-bottom: 60px;
}

.cars h2{
    text-align: center;
    margin-bottom: 40px;
}

.cars__btn{
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    padding: 50px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cars__btn:hover{
    transform: scale(1.1);
}

.splide__slide:hover img{
    transform: scale(1.1);
}

.cars__btn p{
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 20px;
}

.slider{
    padding-bottom: 50px;
}

.slider h2{
    text-align: center;
    margin-bottom: 30px;
}

.list-in a{
    color: #004CA9;
}

.list-in a:hover{
    text-decoration: underline;
}

.e404{
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 80vh;
}

.zip{
    color: #ffeb3b;
    text-decoration: underline;
}

.hero .hero__title-small{
    font-size: 24px;padding-bottom: 5px;
}

.carlisting{
    padding-top: 40px;
    padding-bottom: 40px;
}
.carlisting.fix{
    padding-top: 20px;
}

.carlisting.fix2{
    padding-top: 20px;
    padding-bottom: 0;
}

.carlisting__title{
    text-align: left;
    padding-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.carlisting__p{
    font-weight: 600;
    font-size: 13px;
    line-height: 14px;
}

.carlisting__h1{
    font-weight: 800;
    font-size: 21px;
    line-height: 29px;
    margin-bottom: 6px;
}

.carlisting__h1.rec{
    margin-bottom: 20px;
}

.card, .car{
    position: relative;
    height: 100%;
}

.card--link, .car--link{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-img-top, .car-img-top{
    object-fit: cover; 
}

.card-title{
    font-weight: bold;
    min-height: 50px;
}

.car-title{
    font-weight: bold;
}

.card-img-out, .car-img-out{
    position: relative;
}

.icon{
    position: relative;
    padding-left: 22px;
}

.icon-business:before{
    position: absolute;
    top: 5px;
    left: 0px;
    content: '';
    background: url('/images/business.svg');
    background-size: contain;
    background-position: bottom;
    width: 15px;
    height: 15px;
    display: block;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.icon-miles:before{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
    content: '';
    background: url('/images/speed.svg');
    background-size: contain;
    background-position: bottom;
    width: 15px;
    height: 15px;
    display: block;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.card-out{
    margin-bottom: 25px;
}

.num{
    color: #0BB978;
}

.card-img-out:before, .car-img-out:before{
    position: absolute;
    bottom: 10px;
    right: 10px;
    content: '';
    background: url('/images/logo.svg');
    background-size: contain;
    background-position: bottom;
    width: 40px;
    display: block;
    height: 40px;
    background-repeat: no-repeat;
}

.btn{
    text-transform: uppercase;
}

.card-text--bold{
    font-weight: bold;
    margin: 0;
}

.card-price, .car-price{
    color: #004CA9;
    font-weight: bold;
    margin-bottom: 0;
    font-size: 32px;
}

.car-details{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.car-details p{
    margin: 0;
}

.car-details--left, .car-details--right{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.car-details--right{
    text-align: right;
}

.contact{
    padding-top: 80px;
    padding-bottom: 160px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.contact .logo{
    max-width: 200px;
    width: 90%;
    display: block;
    margin: 0 auto;
}
.contact a{
    color: #004CA9;
}

.contact h1{
    margin-bottom: 20px;
}

.logo--link{
    margin-bottom: 40px;
    display: block;
}

.car__card{
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    margin-top: 15px;
}

.hero-out.fix{
    padding-bottom: 15px;
}

.car__card--img{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
}

.car__card--img img{
    width: 100%;
    max-height: 100%;
}

.car__card-name{
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    padding: 0;
    margin: 0;
}

.car__card-location{
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    padding: 0;
    margin: 0;
}

.car__link{
    width: 100%;
    border: 1px solid #004CA9;
    border-radius: 3px;
    font-weight: 600;
    font-size: 18px;
    line-height: 34px;
    color: #004CA9;
    display: block;
    text-align: center;
    padding: 5px;
    position: relative;
    margin-bottom: 15px;
}

.car__link::before{
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    content: '';
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='16' viewBox='0 0 11 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L8 8L2 14' stroke='%23004CA9' stroke-width='3'/%3E%3C/svg%3E%0A");
}

.descr{
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    color: #AAAAAA;
}


@media(max-width: 768px){
    .sub{
        padding: 0;
    }

    .search input,.search select{
        margin-bottom: 10px;
    }

    .cars {
        padding: 30px 15px;
    }
    .cars__btn-inner{
        margin-bottom: 15px;
    }

    .cars__btn-inner:nth-child(1),.cars__btn-inner:nth-child(3){
        padding-right: 5px;
    }
    .cars__btn-inner:nth-child(2),.cars__btn-inner:nth-child(4){
        padding-left: 5px;
    }
    .list-in{
        column-count: 3;
    }
    .list-unstyled{
        flex-direction: column;
    }

    .form-control{
        width: 100%;
        border-radius: 6px!important;
    }
}

@media(min-width: 768px){
    .i1{
        border-radius: 6px 0 0 6px!important;
    }
    .i2{
        border-radius: 0!important;
    }
    .i3{
        border-radius: 0px 6px 6px 0px!important;
    }
    .btn{
        padding-left: 20px;
    }
    .selector{
        padding-left: 0;
    }
}