.container-filtrare{
    width: 100%;
    display: flex;
    flex-direction: column;
    height: fit-content;
    color: white;
    margin-top: 20px;
}

.tab-filtrare{
    display: flex;
    background-color: #EFFAFD;
}

.filtrare-dim,
.filtrare-car{
    width: 17em;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    font-size: 16px;
    line-height: 1.1em;
    padding: 5px;
    align-self: flex-end;
    cursor: pointer;
    box-shadow: -1px -3px 4px rgba(0, 0, 0, 0.1);
}
.filtrare-car{
    color: black;
}

.filtrare-dim{
    background-color: #5EA4F6;
}
.filtrare-dim,
.filtrare-car{
    background-color: #c9d8ec;
    color: black;
}

.filtrare-dim span,
.filtrare-car span{
    margin-right:15px;
    margin-left:15px;
}
.selectat{
    font-size: 18px;
    padding: 10px 0;
    cursor: auto;
    margin-bottom: -2px;
    z-index: 1;
    background-color: #5EA4F6;
    color:white;
}

#poza-filtre{
    display:flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding:10px;
    padding-left: 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    height: 170px;
    background-color: #5EA4F6;
    border-radius: 5px;
    border-top-left-radius: 0px;
}
.poza-si-dim{
    display: flex;
    height: 100%;
    width: 23em;
    flex-direction: column;
    justify-content: flex-end;
    margin-top:20px;
}
#anvelopa-filtrare img{
    height: 100%;
    width: 100%;
}

#desc-poza{
    display: flex;
    position: absolute;
    top: 47px;
    left: 75px;
    font-size: 25px;
    font-weight: bold;
    color: white;
}

.hidden{
    display: none;
}

.cifre-latime,
.cifre-inaltime,
.slash,
.cifre-diametru{
    margin-left: 15px;
}
.cifre-latime{
    transform: rotate(-29deg);
    align-self: flex-end;
    margin-top: 17px;
}
.cifre-inaltime{
    transform: rotate(3deg);
    justify-self: center;
    align-self: flex-start;
}
.slash{
    transform: rotate(5deg);
    justify-self: flex-start;
    align-self: flex-start;
}
.cifre-diametru{
    transform: rotate(25deg);
    align-self: flex-end;
    margin-bottom:4px;
}
#car-filtrare{
    position: absolute;
    bottom: -20px;
}

.container-filtre{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    height:100%;
}
.form-cauta-anvelope{
    height: 100%;
}
.filtre-db-dim{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.flex-sb{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.selector{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 17%;
}
.selector-car{
    width: 22%;
}
.selector span{
    margin-bottom: 3px;
    font-size: 14px;
}
.selector select{
    font-size: 16px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    outline: none;
    width: 100%;
    font-size: 14px;
}
.form-cauta-masina{
    height: 100%;
}
.filtre-db-car{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.filtre-db-car-second-row{
    margin-top: 10px;
}
.dimensiune-spate{
    visibility: hidden;
}



.rand-cauta{
    display: flex;
    width: 100%;
    justify-content:space-between;
}
.help-more-filters{
    display: flex;
    margin-left: 20px;
    flex-basis: 64%;
    justify-content: space-between;
}
.help-cautare{
    display: flex;
    align-items: flex-end;
}
.help-icon img{
    height: 15px;
    width: 15px;
    margin-right: 5px;
}
.text-help{
    font-style: italic;
}
.more-filters {
    justify-content: center;
    align-self: flex-end;
}
.more-filters a{
    text-decoration: none;
    color:black;
    font-style: italic;
}


.container-buton-cautare i{
    padding-right: 5px;
}
.buton-cauta{
    border: none;
    border-radius: 5px;
    font-size: 22px;
    text-align: center;
    line-height: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    color:white;
    padding:7px 40px;
    cursor: pointer;
}
.bg-buton-filtrare-dim{
    background-color: #A0006D;
}

.selector.sezon-mobile{
    display: none;
}
.filtre-db-car-top-row.flex-sb{
    flex-wrap: wrap;
}


@media screen and (max-width: 1024px){
    .help-more-filters{
        flex-basis: 50%;
    }
    .poza-si-dim{
        width: 14em;
        position: absolute;
        margin:0;
    }
    .poza-car{
        position: static;
        flex-basis: 30%;
    }
    #desc-poza{
        display: flex;
        position: absolute;
        top:100px;
        left: 35px;
        font-size: 16px;
        font-weight: bold;
    }
    .cifre-latime,
    .cifre-inaltime,
    .slash,
    .cifre-diametru{
        margin-left: 13px;
    }
    .cifre-latime{
        transform: rotate(-32deg);
        margin-top: 15px;
    }
    .cifre-inaltime{
        transform: rotate(7deg);
        margin-top: 2px;
    }
    .cifre-diametru{
        transform: rotate(32deg);
        margin-bottom:0px;
    }


    .buton-cauta{
        font-size: 14px;
        padding:7px 15px;
    }
    .rand-cauta{
        justify-content: flex-end;
    }
    .help-more-filters{
        margin-right: 28px;
        justify-content: flex-end;
    }
    .help-cautare{
        margin-right: 28px;
    }
}

@media screen and (max-width:950px){
    .poza-car{
        flex-basis: 35%;
    }
}
@media screen and (max-width:840px){
    .poza-car{
        display: none;
    }
    .container-filtre{
        margin-left: 10px;
    }
}


@media screen and (max-width: 600px){
    .poza-si-dim{
        display: none;
    }
    #poza-filtre{
        height: fit-content;
        padding:10px;
    }

    .container-filtre{
        align-items: center;
        margin:0;
    }
    .filtre-db-dim,
    .filtre-db-car{
        margin: 0 auto;
        justify-content: space-between;
        width: 85%;
        flex-wrap: wrap;
    }
    .form-cauta-anvelope{
        width: 100%;
        justify-content: center;
    }
    .selector{
        width: 30%;
        margin-top:10px;
    }
    .selector.sezon{
        width: 100%;
        align-self: center;
        justify-self: center;
    }
    .selector.brand{
        width: 100%;
        align-self: center;
        justify-self: center;
    }
    .rand-cauta{
        flex-direction: column;
        align-items: center;
    }
    .container-buton-cautare{
        width: 85%;
    }
    .buton-cauta{
        font-size: 18px;
        width: 100%;
        align-self: center;
        justify-self: center;
    
    }
    .help-more-filters{
        margin-top: 20px;
        width: 85%;
        justify-content: space-around;
        margin-bottom:10px;
        font-size: 12px;
    }
    .selector.sezon-mobile{
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .checkbox-sezon-mobile{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30%;
    }
    .selector.sezon-mobile img{
        margin-right:5px;
        width: 30px;
        height: 30px;
    }
    .selector.sezon-mobile input{
        width: 25px;
        height: 25px;
    }
    .motorizare-generatie{
        justify-content: space-between;
    }
    .generatie-mobile{
        flex-basis: 30%;
        flex-grow: 0;
    }
    .motorizare{
        flex-basis: 65%;
        flex-grow: 0;
    }
    .vehicul-selectat{
        margin-top: 20px;
    }
    .vehicul-selectat{
        text-align: center;
    }

    .selector-car{
        width: 48%;
    }
    .dimensiune-anvelopa{
        width: 100%;
    }
    .dimensiune-spate{
        display: none;
    }
    .filtre-db-car-second-row{
        margin-top: 0px;
    }
    
    .selector span,
    .selector-car span,
    .help-more-filters{
        font-size: 16px;
    }
}