/* GENERALI */
:root {
    --rstore_blue: rgb(0, 151, 196);
    --rstore_grey: rgb(229, 229, 225);
    --rstore_blue_hover: rgb(0, 151, 196, 0.3);
}

@font-face {
    font-family: Light;
    src: url("./fonts/SF-Pro-Display-Light.otf");
}

@font-face {
    font-family: Regular;
    src: url("./fonts/SF-Pro-Display-Regular.otf");
}

@font-face {
    font-family: ProximaNova;
    src: url("./fonts/ProximaNova.ttc");
}

@font-face {
    font-family: ProximaNovaBold;
    src: url("./fonts/Proxima\ Nova\ Bold.otf");
}

* {
    margin: 0;
    padding: 0;
    font-family: ProximaNova;
}

/* style per le immagini a pieno div */
img {
    width: 100%;
    height: 100%;
}

#trf_ul_container {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: scroll;
}

#trf_ul_container li {
    padding: 5px;
    cursor: pointer;
}

#trf_ul_container li:hover {
    background-color: #f0f0f0;
}

.trf_ul_border_bottom {
    border-bottom: 1px solid #ccc;
}

/* classe per rendere visibile la scelta effettuata */
.trf_selected {
    background-color: var(--rstore_blue_hover);
    border: 1px solid var(--rstore_blue);
    opacity: 1;
}

/******* style per il primo div *******/
.trf_header {
    margin: 30px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* contenitore */
.trf_header_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* prima riga  */
.trf_header_primariga {
    font-size: 40px;
    text-align: center;
    font-family: Regular;
    margin: 0;
    letter-spacing: 2px;
}

/* prima riga (seconda parte colorata) */
.trf_header_primariga_secondaparte {
    color: var(--rstore_blue);
    font-family: ProximaNovaBold;
    letter-spacing: 1px;
}

/* seconda riga */
.trf_header_secondariga {
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    font-family: ProximaNova;
    margin: 10px 0;
}

/******* style per il secondo div: CATEGORIE *******/
.trf_categories {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* singolo bottone */
.trf_category {
    width: 200px;
    height: 200px;
    margin: 10px;
    text-align: center;
    line-height: 200px;
    border: 1px solid black;
    border-radius: 5%;
    padding: 30px;
}

.trf_category {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.trf_category img {
    max-width: 70%;
    max-height: 80%;
    margin-top: 20px;
    display: block;
    margin: auto;
}

.span_on_category_trf {
    position: absolute;
    bottom: -70px;
    left: 0;
    right: 0;
    font-weight: 900;
    font-size: 1.3em;
    font-family: ProximaNova, sans-serif;
}

/* hover sul singolo bottone */
.trf_category:hover {
    background-color: rgb(231, 246, 250);
    opacity: 0.3;
    border: 1px solid var(--rstore_blue);
    cursor: pointer;
    opacity: 1;
}

/******* style per il terzo div: BRAND *******/
.trf_blocco {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 900;
}

.trf_blocco_label {
    font-size: 24px;
    font-family: ProximaNovaBold;
    letter-spacing: 0.5px;
    color: var(--rstore_blue);
    text-align: center;
}

.trf_blocco_select {
    width: 800px;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    background-color: var(--rstore_grey);
    border: none;
}

.trf_blocco_input {
    width: 800px;
    padding: 10px 0;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    background-color: var(--rstore_grey);
    border: none;
}

ul {
    list-style-type: none;
    background-color: white;
}

li {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-family: ProximaNova;
}

/******* style per il quarto div: Products *******/
.trf_products {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

/******* style per il quinto div: Valutazione *******/
#trf_blocco_valutazione {
    width: 300px;
    padding: 10px 0;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    background-color: white;
    border: 1px solid var(--rstore_blue);
}

.trf_spazio {
    margin: 10px 0;
}

.trf_info_result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    margin: 30px 0;
}

.trf_store_vicino {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    margin: 60px 0;
}

.trf_button_link {
    background-color: var(--rstore_blue);
    color: white;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 1px;
    line-height: 25px;;
}

.trf_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;

    text-align: center;
    margin: 60px 0;
}

.trf_hr {
    width: 1000px;
    border-bottom: 1px solid var(--rstore_blue);
    margin: 20px 0;
}

.trf_footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    margin: 60px 0;
}

.trf_footer_paragh {
    font-family: ProximaNovaBold;
}

.trf_footer_images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 50px 0;
}

.trf_footer_image_elem {
    width: 300px;
    height: 300px;
    margin: 10px;
    text-align: center;
    background-color: rgb(246, 246, 243);
    border-radius: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trf_header_image {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.trf_header_image_elem1 {
    color: var(--rstore_blue);
    font-family: ProximaNovaBold;
    font-size: 40px;
    letter-spacing: 1px;
}

.trf_header_image_elem2 {
    font-size: 22px;
    text-align: center;
    font-family: Regular;
    margin: 0;
}

.trf_header_image_elem3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 30px 0;
}

.trf_header_image_elem4 {
    color: var(--rstore_blue);
    font-family: ProximaNovaBold;
    font-size: 36px;
    letter-spacing: 1px;
    margin-top: 30px;
}

.trf_header_image_elem5 {
    font-size: 22px;
    text-align: center;
    font-family: ProximaNova;
    margin: 0;
}

.trf_header_image_elem6 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    margin: 60px 0;
}

.trf_header_image_single_elem6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 300px;
    height: 200px;

    border-radius: 10px;
    margin: 10px;
    background-color: rgb(80, 163, 218);
}

.trf_header_image_single_num {
    font-size: 34px;
    font-family: ProximaNovaBold;
    color: white;
}

.trf_header_image_single_text {
    text-align: center;
    margin: 30px;
    color: white;
}

.trf_header_image {
    display: none;
}

.valutazione_blocco {
    line-height: 25px;
    width: 80%;
}

.img_trf_footer {
    width: 90px;
    height: 90px;
}

.txt_trf_footer {
    padding: 20px;
    line-height: 25px;
}

@media (max-width: 1150px) and (min-width: 950px){
    /** {
        color: green;
    }*/

    .span_on_category_trf {
        font-size: 1.2em;
    }

    .trf_hr {
        width: 800px;
        border-bottom: 1px solid var(--rstore_blue);
        margin: 20px 0;
    }

    .trf_category {
        width: 170px;
        height: 170px;
        margin: 5px;
        text-align: center;
        line-height: 200px;
        border: 1px solid black;
        border-radius: 5%;
        padding: 20px;
    }

    .trf_categories {
        flex-wrap: wrap;
    }

    .trf_blocco_input {
        width: 700px;
        padding: 10px 0;
        font-size: 18px;
    }

    .trf_blocco_select {
        width: 700px;
        padding: 10px 0;
        font-size: 18px;
    }

}

@media (max-width: 950px) and (min-width: 780px) {
    /** {
        color: red;
    }*/

    .span_on_category_trf {
        font-size: 1em;
    }

    .trf_hr {
        width: 700px;
        border-bottom: 1px solid var(--rstore_blue);
        margin: 20px 0;
    }

    .trf_category {
        width: 150px;
        height: 150px;
        margin: 3px;
        text-align: center;
        line-height: 200px;
        border: 1px solid black;
        border-radius: 5%;
        padding: 15px;
        flex-wrap: wrap;
    }

    .trf_footer_image_elem {
        width: 250px;
        height: 250px;
        margin: 8px;
    }

    .trf_footer_paragh {
        width: 80%;
    }

    .trf_categories {
        flex-wrap: wrap;
    }

    .img_trf_footer {
        width: 70px;
        height: 70px;
    }

    .txt_trf_footer {
        padding: 15px;
        line-height: 22px;
        font-size: 18px;
    }

    .trf_blocco_input {
        width: 550px;
        padding: 10px 0;
        font-size: 18px;
    }

    .trf_blocco_select {
        width: 550px;
        padding: 10px 0;
        font-size: 18px;
    }


}

@media (max-width: 780px) and (min-width: 660px) {
    /** {
        color: pink;
    }*/

    .trf_footer_paragh {
        width: 80%;
    }

    .trf_hr {
        width: 600px;
        border-bottom: 1px solid var(--rstore_blue);
        margin: 20px 0;
    }

    .trf_categories {
        flex-wrap: wrap;
    }

    .trf_footer_image_elem {
        width: 210px;
        height: 210px;
        margin: 5px;
    }

    .img_trf_footer {
        width: 60px;
        height: 60px;
    }

    .txt_trf_footer {
        padding: 12px;
        line-height: 20px;
        font-size: 16px;
    }

    .trf_blocco_input {
        width: 550px;
        padding: 10px 0;
        font-size: 18px;
    }

    .trf_blocco_select {
        width: 550px;
        padding: 10px 0;
        font-size: 18px;
    }
}

@media (max-width: 660px) and (min-width: 600px) {
    /** {
        color: yellow;
    }*/

    .trf_header_primariga {
        font-size: 36px;
    }

    .trf_header_secondariga {
        font-size: 20px;
    }


    .trf_footer_paragh {
        width: 80%;
    }

    .trf_hr {
        width: 500px;
        border-bottom: 1px solid var(--rstore_blue);
        margin: 20px 0;
    }

    .trf_categories {
        flex-wrap: wrap;
    }

    .trf_footer_image_elem {
        width: 190px;
        height: 190px;
        margin: 5px;
    }

    .img_trf_footer {
        width: 50px;
        height: 50px;
    }

    .txt_trf_footer {
        padding: 10px;
        line-height: 18px;
        font-size: 14px;
    }

    .trf_blocco_input {
        width: 500px;
        padding: 10px 0;
        font-size: 16px;
    }

    .trf_blocco_select {
        width: 500px;
        padding: 10px 0;
        font-size: 16px;
    }

    .valutazione_blocco {
        font-size: 20px;
        line-height: 22px;
    }
}

@media (max-width: 600px) and (min-width: 540px) {
    /** {
        color: orange;
    }*/

    .span_on_category_trf {
        font-size: 0.9em;
    }

    .trf_header_primariga {
        font-size: 20px;
    }

    .trf_header_secondariga {
        font-size: 16px;
    }

    .trf_category {
        width: 170px;
        height: 170px;
        margin: 3px;
        text-align: center;
        line-height: 200px;
        border: 1px solid black;
        border-radius: 5%;
        padding: 15px;
        flex-wrap: wrap;
    }

    .trf_header_primariga {
        font-size: 33px;
    }

    .trf_hr {
        width: 350px;
        border-bottom: 1px solid var(--rstore_blue);
        margin: 20px 0;
    }

    .trf_header_secondariga {
        font-size: 17px;
    }

    .trf_footer_paragh {
        width: 80%;
    }

    .trf_footer_images {
        flex-wrap: wrap;
    }

    .trf_blocco_input {
        width: 400px;
        padding: 10px 0;
        font-size: 16px;
    }

    .trf_blocco_select {
        width: 400px;
        padding: 10px 0;
        font-size: 16px;
    }

    .valutazione_blocco {
        font-size: 18px;
        line-height: 20px;
    }
}

@media (max-width: 540px) {
    /** {
        color: blue;
    }*/

    .span_on_category_trf {
        font-size: 0.9em;
    }

    .trf_header_primariga {
        font-size: 16px;
    }

    .trf_header_secondariga {
        display: none;
    }

    .trf_category {
        width: 170px;
        height: 170px;
        margin: 3px;
        text-align: center;
        line-height: 200px;
        border: 1px solid black;
        border-radius: 5%;
        padding: 15px;
        flex-wrap: wrap;
    }

    .trf_header_primariga {
        font-size: 33px;
    }

    .trf_hr {
        width: 350px;
        border-bottom: 1px solid var(--rstore_blue);
        margin: 20px 0;
    }

    .trf_header_secondariga {
        font-size: 17px;
    }

    .trf_footer_paragh {
        width: 80%;
    }

    .trf_footer_images {
        flex-wrap: wrap;
    }

    .trf_blocco_input {
        width: 300px;
        padding: 10px 0;
        font-size: 16px;
    }

    .trf_blocco_select {
        width: 300px;
        padding: 10px 0;
        font-size: 16px;
    }

    .valutazione_blocco {
        font-size: 16px;
        line-height: 17px;
    }

}

.div_prima_riga {
    text-align: center;
}


.select-wrapper {
    position: relative;
}

select {
    -webkit-appearance: none;
    appearance: none;
}


.select-wrapper::after {
    content: "\276F";
    transform: rotate(90deg);
    font-size: 1rem;
    top: 13px;
    right: 30px;
    position: absolute;
}





