

/* Start:/local/templates/autosalon/components/bitrix/catalog.section.list/autosalon/style.css?17537727074207*/

div.brand_filter > .container {
    display: grid;
    flex-wrap: wrap;
    padding: 60px 50px 0;
    grid-template-columns: repeat(auto-fill,270px);
    justify-items: stretch;
    align-items: stretch;
    justify-content: center;
}
div.brand_filter > .container > .brand {
    background-color: #fff;
    position: relative;
    display: flex;
    /*width: 20%;
    border-right: 1px solid var(--color-gray);
    border-bottom: 1px solid var(--color-gray);*/
    outline: 1px solid var(--color-gray);
    justify-content: center;
    align-items: center;
    padding: 30px 15px;	
    box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
    transition-duration: 0.1s;
    width: 270px;
    height: 120px;
    color: var(--color-black);
    text-decoration: none;
}
div.brand_filter > .container > .brand:nth-child(5n) {
    border-right: none;
}
div.brand_filter > .container > .brand:hover {
    background-color: var(--color-black);
    color: #fff;
}
div.brand_filter > .container > .brand.expand:hover {
    background-color: #fff;
	color: var(--color-black);
}
div.brand_filter > .container > .brand > img {
    height: 55px;
    width: 55px;
    margin: 0 20px 0 0;
    filter: drop-shadow(0px 0px 3px #fff);
}
div.brand_filter > .container > .brand > div > p {
    margin: 0;
    font-size: 30px;
}
div.brand_filter > .container > .brand > div > p.count {
    font-size: 18px;
}

div.brand_filter > .container > .brand:hover > div.models {
    max-height: 400px;
    overflow: auto;
    transition: max-height 0.2s ease-in;
}
div.brand_filter > .container > .brand > div.models {
    width: 100%;
    height: auto;
    max-height: 400px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(100%);
    background-color: #fff;
    color: var(--color-black);
    z-index: 1000;
    transition-duration: 0.2s;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    max-height: 0;
    scrollbar-color: var(--color-light-gray) #fff;
    scrollbar-width: thin;
}
div.brand_filter > .container > .brand.expand > div.models {
    display: block;
}
div.brand_filter > .container > .brand > div.models > a {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 18px;
    text-decoration: none;
    padding: 15px;
    color: var(--color-black);
    border-left: 1px solid var(--color-light-gray);
    border-right: 1px solid var(--color-light-gray);
    border-bottom: 1px solid var(--color-light-gray);
}
div.brand_filter > .container > .brand > div.models > a:hover {
    background-color: var(--color-black);
    color: #fff;
    border: none;
}
div.brand_filter > .container > .brand > div.models > a > p {
    margin: 0;
}
div.brand_filter > .container > .brand > div.models > a > p.name {
    font-size: 26px;
}

@media all and (max-width: 700px) {
    div.brand_filter > .container {
        padding: 30px 0;
        /*grid-template-columns: repeat(2,1fr);*/
    }
    div.brand_filter > .container > .brand > img {
        height: 40px;
        width: 40px;
        margin: 0 15px 0 0;
    }
    div.brand_filter > .container > .brand > div > p {
        font-size: 24px;
    }
    div.brand_filter > .container > .brand > div > p.count {
        font-size: 16px;
    }
    div.brand_filter > .container > .brand {
        padding: 20px 5px;
    }
}
@media all and (max-width: 560px) {
    div.brand_filter > .container {
        grid-template-columns: repeat(auto-fill, 50%);
    }
    div.brand_filter > .container > .brand {
        padding: 0;
        width: 100%;
        height: 100px;
    }
    div.brand_filter > .container > .brand > img {
        height: 28px;
        width: 28px;
    }
    div.brand_filter > .container > .brand > div > p,
    div.brand_filter > .container > .brand > div.models > a > p.name {
        font-size: 20px;
    }
    div.brand_filter > .container > .brand > div > p.count {
        font-size: 12px;
    }
}
@media all and (max-width: 300px) {
    div.brand_filter > .container {
        grid-template-columns: repeat(auto-fill,100%);
    }
    div.brand_filter > .container > .brand {
        width: 100%;
    }
}
/* End */


/* Start:/local/templates/autosalon/components/bitrix/news.list/.default/style.css?17544871201523*/
section.cars_container {
    margin: 0 50px 0;
    padding: 60px 0 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 1%;
    row-gap: 30px;
    overflow: hidden;
    scroll-snap-align: start;
}

/*div.brand_filter + section.cars_container {
    padding: 0 0 60px;
}*/
section.cars_container > .card {
    color: #fff;
    /*border: 1px solid #fff;*/
    border-radius: 15px;
    margin: 0;
    max-width: 400px;
    overflow: hidden;
	text-decoration: none;
    background: #2b2b2b;
}
section.cars_container > .card > .photos {
    width: 100%;
    height: 295px;
    position: relative;
}
section.cars_container > .card > .photos img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
section.cars_container > .card > .photos > p.price {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 35px;
    font-weight: 700;
    z-index: 1000;
    margin: 15px;
    color: #fff;
    text-shadow: 1px 1px 10px #000, -1px -1px 10px #000;
}

section.cars_container > .card > p {
    margin: 7px 10px;
}
section.cars_container > .card > p.name {}
section.cars_container > .card > p.specs {
    font-size: 14px;
}

div.pager {
    display: flex;
    justify-content: center;
    padding: 0 0 60px;
}

@media all and (max-width: 700px) {
    section.cars_container {
        margin: 0;
    }
    section.cars_container > .card {
        max-width: unset;
        width: 90%;
    }
    section.cars_container {
        padding: 30px 0 30px;
    }
}
/* End */
/* /local/templates/autosalon/components/bitrix/catalog.section.list/autosalon/style.css?17537727074207 */
/* /local/templates/autosalon/components/bitrix/news.list/.default/style.css?17544871201523 */
