@charset "UTF-8";

/*
Theme Name: Auto Handel
Theme URI:
Author: CODECK Adrian Kiełczykowski
Author URI: https://codeck.pl/
Description: Custom WordPress theme designed for <code>Auto Handel</code>.
Version: 1.0
Tags: auto, company, custom, handel, auto handel
*/

@font-face {
    font-family: 'Ubuntu';
    src: url('./assets/fonts/Ubuntu-Light.woff2');
    font-weight: 300;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./assets/fonts/Ubuntu-Regular.woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./assets/fonts/Ubuntu-Medium.woff2');
    font-weight: 500;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./assets/fonts/Ubuntu-Bold.woff2');
    font-weight: 700;
}

html {
    background-color: #1E1E1E;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Ubuntu';
    overflow-x: hidden;
    position: relative;
    background-color: #F5F5F5;
    color: #1E1E1E;
    width: 100vw;
    max-width: 100vw;
}

@media (max-width: 767px) {
    body.blocked {
        overflow-y: hidden;
    }
    body.blocked::before {
        content: '';
        position: absolute;
        z-index: 10;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-color: rgba(30, 30, 30, 0.8);
    }
    #menu {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
    }
    #menu.hidden-menu {
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
    }
}
@media (min-width: 1280px) {
    .container {
        max-width: 1024px !important;
    }
    .container-lg {
        max-width: 1280px !important;
    }
}
@media (min-width: 1536px) {
    .container {
        max-width: 1024px !important;
    }
    .container-lg {
        max-width: 1280px !important;
    }
}

.vehicle-item {
    position: relative;
}
.vehicle-item::after {
    content: '';
    width: 36px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: rgba(30, 30, 30, 0.4);
    background-image: url('./assets/img/icons/arrow-right.svg');
    background-repeat: no-repeat;
    background-size: 14px;
    background-position: center;
    transition: all .2s ease;
    translate: 100% 0;
}
.vehicle-item:hover::after {
    translate: 0 0;
}

/* Custom select */
.select2-container {
    width: 100% !important;
}
.select2-container--default .select2-selection--single {
    background: #F5F5F5;
    padding: 14px;
    border-radius: 8px;
    color: #7B7B7B;
    cursor: pointer;
    z-index: 10;
    font-size: 14px;
    height: auto;
    border: 0;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 16px;
    height: 16px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    width: 16px;
    height: 16px;
    background-image: url('./assets/img/icons/arrow-down.svg');
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: rotate(180deg);
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 24px;
    position: absolute;
    right: 20px;
    top: 2px;
    bottom: 0;
}
.select2-dropdown {
    background-color: #FFFFFF;
    box-shadow: 0px 12px 12px rgba(30, 30, 30, 0.05);
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    color: #7B7B7B;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #1A73E8;
    color: #FFFFFF;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: none;
    border-radius: 4px;
}
.select2-results__option {
    padding: 6px 14px;
}

@media (max-width: 767px) {
    #filters-list {
        height: auto;
        transition: all .3s ease;
    }
    #filters-list.hidden {
        height: 0;
    }
}

#cdk-select-sort-wrapper {
    position: relative;
}
#cdk-select-sort {
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    text-align: right;
    text-align-last: right;
}
#cdk-select-sort-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 0;
    width: 14px;
    height: 14px;
    background-image: url('./assets/img/icons/select-ico.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.parameter {
    border-bottom: 0.5px solid #7B7B7B;
}

.iwt {
    grid-template-columns: 20px 1fr;
}

.footer-banner {
    position: relative;
}
.footer-banner::before {
    content: '';
    opacity: 0.3;
    background-color: #1E1E1E;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}