/*
Theme Name: Materia Prima
Author: Lj
*/

html, body{
    width: 100%;
    height: auto;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
}

.grecaptcha-badge {
    display: none !important;
}

:root {
    --full-width: 100%;
    --static-width: 1440px;
    --main-width: calc(100% - 100px);
}

.h1 {
    font-size: 3.5rem;
    line-height: 4rem;
    font-family: 'Playfair Display', serif;
    color: #2da749;
}

.h2 {
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2da749;
}

.h3 {
    font-size: 2rem;
    line-height: 3rem;
    font-family: 'Playfair Display', serif;
    color: #2da749;
}

p, span, ul li, ol li {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.7rem;
    color: #6d6d6d;
}

.d_flex {
    display: flex;
}

.d_desk {
    display: block;
}

.d_mobile {
    display: none;
}

a.primary_button {
    color: #fff;
    position: relative;
    background-color: #2da749;
    width: 210px;
    height: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 40px;
    text-transform: uppercase;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

a.primary_button:hover {
    background-color: #2da749;
}

main {
    padding-top: 100px;
}

:focus {
    outline: none;
}

/*RULES FOR HOME*/

.box_home {
    width: var(--main-width);
    height: 900px;
    margin: 0 auto 75px auto;
    position: relative;
    overflow: hidden;
}

.overlay_home {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--full-width);
    height: 100%;
    background-color: rgb(0, 0, 0, 0.2);
    z-index: 1;
}

.box_home .box_link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.box_home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    transition: 0.9s;
    -webkit-transition: 0.9s;
}

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

.box_home_container.d_flex {
    width: var(--main-width);
    height: 100%;
    margin: 0 auto;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.box_logo.d_flex {
    width: 320px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.box_logo.d_flex svg {
    width: 100%;
    flex: 1 100%;
    padding-bottom: 10px;
}

.box_logo.d_flex svg .cls-1 {
    fill: #fff;
}

.box_home_container.d_flex .box_logo.d_flex span {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    flex: 0 60%;
    letter-spacing: 2px;
}

.box_logo.d_flex hr {
    flex: 0 18%;
    background-color: #fff;
    height: 3px;
    border: 0;
    border-radius: 3px;
}

.box_home_container.d_flex h2 {
    font-size: 3.5rem;
    line-height: 4rem;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.box_home_container.d_flex a.primary_button {
    margin: 50px 0;
}

.box_home_container.d_flex span {
    font-size: 0.8rem;
    letter-spacing: 1px;
    line-height: 1.2rem;
    font-weight: 400;
    color: #2da749;
    text-transform: uppercase;
}

.box_home_container.d_flex .arrow_first_box {
    transform: rotate(90deg);
    height: 200px;
    display: flex;
    position: relative;
}

.box_home_container.d_flex .arrow_first_box a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.box_home_container.d_flex .arrow_first_box svg {
    width: 150px;
}

.box_home_container.d_flex .arrow_first_box svg .cls-3 {
    fill: transparent;
    stroke-width: 5px;
}

.box_home_container.d_flex .arrow_cont {
    height: 100px;
}



/*RULES FOR BANNER FIERA*/

#fiera {
    width: var(--main-width);
    margin: 0 auto 75px auto;
}


#fiera img{
    max-width: 100%;
    height: auto;
}

/* container per IMAGE */
#banner_fiera_cont_img {
	width: 100% !important;
    height: auto !important;
    display: block !important;
    line-height: 0;
}
#banner_fiera_cont_img img {
	width: 100%;
    height: auto;
    display: block;
    transition: transform 0.9s ease; /* Assicura una transizione fluida */
}

/* container per TEXT */
#banner_fiera_cont{
    width: var(--main-width);
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
    padding-bottom: 80px;	
    color: #fff;
}
#banner_fiera_cont h3{
    margin:0px;
}

#banner_fiera_left{
    border-right: 1px solid #fff;
    flex: 0 50%;
    padding-top: 10px;
    padding-bottom: 20px;
}
#banner_fiera_left h3{
    font-size: 5em;
    padding-bottom: 10px;
}
#banner_fiera_left span{
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: 100;
    padding-bottom: 30px;
}
#banner_fiera_left a.button {
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    display: inline-block;
    width: 200px;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
}

#banner_fiera_right{
    padding-left: 50px;
    flex: 0 40%;
}
#banner_fiera_right b{
    text-transform: uppercase;
    font-size: 1.5em;
}
#banner_fiera_right h3{
    font-size: 3em;
    padding-bottom: 20px;
    line-height: 1em;
}
#banner_fiera_right a{
    color: #fff;
    text-decoration: underline;
}

/*RULES FOR MATERIA PRIMA*/

.title_section {
    width: var(--main-width);
    height: auto;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
}

.title_section .h1 {
    margin-top: 0;
}

.banner_full_width {
    width: var(--full-width);
    height: 800px;
    position: relative;
}

.banner_full_width.desktop {
    display: block;
}

.banner_full_width.mobile {
    display: none;
}

.banner_full_width img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    z-index: 1;
}

.text_section.d_flex {
    width: var(--static-width);
    height: auto;
    margin: 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    padding: 75px 0 130px 0;
}

.text_section.d_flex h2 {
    flex: 1 100%;
}

.text_section.d_flex .text_section_left, .text_section.d_flex .text_section_right {
    flex: 0 45%;
}

.third_materia_section.d_flex {
    width: var(--full-width);
    height: 1200px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.third_materia_section.d_flex .image_left {
    flex: 0 60%;
    height: 100%;
    position: relative;
}

.third_materia_section.d_flex .image_left img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: right;
}

.third_materia_section.d_flex .text_right {
    flex: 0 35%;
    text-align: right;
}

.text_right_container {
    width: var(--main-width);
}

/*RULES FOR CONNESSIONI*/

.first_section_connection.d_flex {
    width: var(--full-width);
    height: 1200px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.first_section_connection.d_flex .image_left {
    flex: 0 50%;
    height: 100%;
    position: relative;
}

.first_section_connection.d_flex .image_left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.first_section_connection.d_flex .text_right {
    flex: 0 40%;
}

.first_section_connection.d_flex .text_right .text_right_container {
    width: var(--main-width);
    text-align: right;
}

.case_history_section.d_flex {
    width: var(--static-width);
    height: auto;
    margin: 150px auto;
    flex-direction: column;
}

.case_history_project_section.d_flex {
    width: var(--full-width);
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.project_text {
    flex: 0 45%;
    height: auto;
    text-align: left;
}

.project_photos {
    flex: 0 50%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.projects_photos_content {
    flex: 0 45%;
    height: 325px;
    margin: 0 auto 30px auto;
    overflow: hidden;
}

.projects_photos_content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
    -webkit-transition: 0.6s;
}

.projects_photos_content:hover img {
    transform: scale(1.1);
    cursor: pointer;
}

.connessioni_last_section.d_flex {
    width: var(--static-width);
    height: 900px;
    margin: 0 auto 150px auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.connessioni_last_section.d_flex .last_section_text {
    flex: 0 60%;
    position: relative;
}

.connessioni_last_section.d_flex .last_section_text a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.connessioni_last_section.d_flex .last_section_text p {
    font-size: 3.5rem;
    line-height: 4rem;
    font-family: 'Playfair Display', serif;
    color: #2da749;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

.connessioni_last_section.d_flex .last_section_text:hover p {
    opacity: 0.7;
}

.connessioni_last_section.d_flex .last_section_image {
    flex: 0 40%;
    height: 100%;
    position: relative;
}

.connessioni_last_section.d_flex .last_section_image img {
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.arrow_connection {
    height: 100px;
    margin-bottom: 30px;
}

.arrow_connection svg {
    width: auto !important;
}

/*RULES FOR CAROUSEL CASE HISTORY*/

.carousel_container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: -300%;
    left: 0;
    background-color: rgb(0, 0, 0, 0.7);
    transition: 0.3s;
    -webkit-transition: 0.3s;
    z-index: 9;
}

.carousel_container_active {
    top: 0;
}

.carousel_invisible {
    display: none !important;
}

.item_case_history {
    width: 1280px;
    height: 700px !important;
    margin: 0 auto;
    position: relative;
    top: 100px;
}

.item_case_history img {
    width: 100% !important;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
}

.carousel-closure {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #2da749;
    color: #fff;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    cursor: pointer;
}

/*RULES FOR AZIENDA*/

.second_section_connection.d_flex {
    width: var(--full-width);
    height: 1200px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 75px;
    margin-bottom: 150px;
}

.second_section_connection.d_flex .image_right {
    flex: 0 50%;
    height: 100%;
    position: relative;
}

.second_section_connection.d_flex .image_right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.second_section_connection.d_flex .text_left {
    flex: 0 40%;
}

.second_section_connection.d_flex .text_left .text_left_container {
    width: var(--main-width);
    text-align: left;
    margin-left: auto;
}

/*RULES FOR ARCHIVE BLOG*/

.blog_container {
    width: 100%;
    height: auto;
}

.blog_container_title {
    text-align: center;
    margin: 50px auto;
}

.main_blog_article_content.d_flex {
    width: var(--main-width);
    height: auto;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog_article_content.d_flex {
    width: var(--main-width);
    height: 400px;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 75px 0;
    border-bottom: 1px solid #cecece;
    position: relative;
}

.blog_article_content.d_flex:first-of-type {
    padding-top: 0;
}

.blog_article_content.d_flex .blog_article_left {
    flex: 0 30%;
    position: relative;
}

.blog_article_content.d_flex .blog_article_left a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.blog_article_content.d_flex .blog_article_left span.date {
    font-size: 0.8rem;
    letter-spacing: 1px;
    line-height: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2da749;   
}

.blog_article_content.d_flex .blog_article_left h3 {
    margin-top: 15px;
    padding-right: 40px;
    line-height: 2.5rem;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

.blog_article_content.d_flex .blog_article_left:hover h3 {
    opacity: 0.5;
}

.blog_article_content.d_flex .blog_article_left .arrow_blog, .blog_article_content.d_flex .blog_article_left_request .arrow_blog_request {
    height: 70px;
}

.blog_article_content.d_flex .blog_article_left .arrow_blog svg, .blog_article_content.d_flex .blog_article_left_request .arrow_blog_request svg {
    width: auto !important;
}

.blog_article_content.d_flex .blog_article_right {
    flex: 0 60%;
    height: 100%;
    background-color: #2da749;
}

.blog_article_right {
    overflow: hidden;
}

.blog_article_right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.6s;
    -webkit-transition: 0.6s;
}

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

.load_more_container {
    width: var(--full-width);
    height: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    padding: 75px 0;
    position: relative;
}

.load_more_container img {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.load_more_container a.primary_button {
    display: inline-block;
    margin: 0 auto;
}

#loading {
    display: none;
    width: 100%;
    height: 100px;
}

/*RULES FOR SINGLE BLOG ARTICLE*/

.banner_single_blog_article {
    width: var(--full-width);
    height: 900px;
    background-color: grey;
}

.banner_single_blog_article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.single_blog_article_cont {
    width: var(--static-width);
    height: auto;
    margin: 0 auto;
}

.single_blog_article_title.d_flex {
    width: var(--full-width);
    height: auto;
    flex-direction: row;
    align-items: flex-end;
    padding-bottom: 50px;
    justify-content: space-between;
    border-bottom: 1px solid #cecece;
}

.single_blog_article_title.d_flex .left_side_title, .single_blog_article_title.d_flex .right_side_title {
    flex: 0 50%;
}

.single_blog_article_title.d_flex .right_side_title {
    text-align: right;
}

.single_blog_article_title.d_flex .right_side_title span.date {
    font-size: 0.8rem;
    letter-spacing: 1px;
    line-height: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2da749;   
}

.single_blog_article_text {
    width: 1000px;
    margin: 100px auto 75px auto;
}

.single_blog_article_text figure.wp-block-image.size-large {
    width: 100%;
    margin: 30px 0;
}

.single_blog_article_text figure.wp-block-image.size-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single_blog_article_text p:first-of-type::first-letter {
    font-size: 2rem;
}

/*RULES FOR CONTATTI*/

.contact_title {
    margin-top: 45px;
    text-align: center;
}

.contact_info.desktop {
    display: block;
}

.contact_info.mobile {
    display: none;
}

.contact_info {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #cecece;
    padding: 30px 0;
}

.contact_info p {
    color: #2da749;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact_info a {
    text-decoration: none;
    font-size: 0.8rem;
    margin-right: 10px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    cursor: pointer;
    color: #6d6d6d;
}

.contact_info a:hover {
    opacity: 0.7;
}

.contact_info span:last-of-type {
    margin-right: 0;
}

.contact_info a::first-letter {
    font-weight: 800;
}

.contact_container.d_flex {
    width: var(--static-width);
    height: auto;
    margin: 0 auto 75px auto;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
}

.contact_container.d_flex .contact_container_left, .contact_container.d_flex .contact_container_right {
    flex: 0 50%;
} 

.contact_container.d_flex .contact_container_right p {
    text-align: right;
    font-size: 3rem;
    line-height: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: #2da749;
}

.wpcf7-list-item {
    margin: 0;
    line-height: 1.2rem;
}

div.wpcf7 .ajax-loader {
    color: #2da749 !important;
    background-color: transparent;
}

label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 400;
    color: #2da749;
}

.primary_text_form, .primary_area_form {
    background-color: #e7e7e7;
    border: 0;
    border-radius: 0;
}

.wpcf7-form p:first-of-type {
    display: block;
    width: 300px;
    float: left;
    margin-right: 30px;
    height: 60px;
}

.wpcf7-form p:nth-of-type(2) {
    display: block;
    width: 300px;
    float: left;
    margin-top: 19px;
    height: 60px;
}

.wpcf7-form-control-wrap.your-name input, .wpcf7-form-control-wrap.your-company input {
    width: 100%;
}

.wpcf7-form p:nth-of-type(3) {
    display: inline-block;
}

.wpcf7-form-control-wrap.your-email input, .wpcf7-form-control-wrap.your-message textarea {
    display: block;
    width: 630px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #2da749;
    font-weight: 400;
}

span.wpcf7-list-item-label {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    text-transform: initial;
    color: #6d6d6d;
    font-size: 0.7rem;
    line-height: 1.2rem;
}

span.wpcf7-list-item-label a {
    color: #6d6d6d;
}

input.primary_button:disabled {
    background-color: #6d6d6d !important;
    cursor: not-allowed !important;
}

input.primary_button[type=submit] {
    -webkit-appearance: none;
    color: #fff;
    position: relative;
    background-color: #2da749;
    width: 210px;
    height: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 40px;
    text-transform: uppercase;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    cursor: pointer;
    border: 0;
    font-family: 'Montserrat', sans-serif;
}

input.primary_button[type=submit]:hover {
    cursor: pointer;
    background-color: #2da749;
}

label input[type=checkbox] {
    display: inline-block;
    height: 26px;
    width: 26px;
    border: 1px solid; 
    margin: 0;
    position: relative;
    top: 5px;
}

label input[type="checkbox"]::before,
label input[type="checkbox"]::after {
    position: absolute;
    content: "";
    display: inline-block;
}

input[type="checkbox"]:checked {
    content: '\2713';
    background: #2da749;
}

input[type=checkbox]:checked + label:before {
    border: 1px solid red;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output {
    border-color: #2da749;
    color: #6d6d6d;
    font-size: 0.8rem;
    width: 600px;
}

.wpcf7-not-valid-tip {
    color: #6d6d6d;
    font-size: 0.8rem;
}

/*RULES FOR CATALOGO*/

.no_result {
    width: var(--static-width);
    height: auto;
    text-align: center;
    display: none;
    padding-bottom: 50px;
}

.no_result h3 {
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    color:#6d6d6d;
    text-transform: initial;
}

.no_result a {
    text-decoration: none;
    display: inline-block;
    width: auto;
    padding: 0 20px;
}

.search_click {
    display: none;
}

.search_result {
    width: var(--static-width);
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 30px;
}

.search_result p {
    padding: 0 15px;
}

.search_result span.search_text {
    color: #6d6d6d;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.search_result span {
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    color:#2da749;
    text-transform: lowercase;
}

.search_result span.span_category_name {
    padding: 3px 10px;
    background: #2da749;
    color: #fff;
}

.search_result span.span_category_value {
    padding: 2px 10px;
    border: 1px solid #2da749;
    color: #2da749;
}

#filtri_catalogo {
    position: fixed;
    top: 100px;
    z-index: 1;
    background-color: #fff;
    width: var(--full-width);
    border-top: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
}

.filtri_container.d_flex {
    padding: 30px 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.filter_voice {
    width: 33.3%;
    text-align: center;
}

.filter_voice p {
    font-size: 2rem;
    line-height: 2rem;
    font-family: 'Playfair Display', serif;
    color: #6d6d6d;
    text-transform: capitalize;
    margin: 0;
    padding: 10px 0;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

p.filter_voice_active {
    color: #2da749;
    text-decoration: underline;
}

.filter_voice p:hover {
    color: #2da749;
    cursor: pointer;
}

.filter_voice p {
    border-right: 1px solid #cecece;
}

.filter_voice:last-of-type p {
    border-right: 0;
}

#product_container {
    width: var(--static-width);
    height: auto;
    margin: 150px auto 0 auto;
}

.products {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
}

.product_content {
    flex: 0 30%;
    margin: 0 5% 75px 0;
    text-align: center;
}

.product_content_image {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    background-color: #cecece;
    overflow: hidden;
}

.product_content_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

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

.product_content:nth-of-type(3n+3) {
    margin-right: 0;
}

.product_title {
    width: 400px;
    margin: 0 auto;
}

.product_title a {
    text-decoration: none;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

.product_title a:hover {
    opacity: 0.7;
}

.product_content p {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.product_content a.primary_button {
    display: block;
    width: 400px;
    margin: 0 auto;
}

#main_loading_icon {
    display: none;
    width: 100%;
    height: 100vh;
}

#loading_icon {
    display: none;
    width: 100%;
    height: 100px;
    padding: 0 0 50px 0;
}

/*RULES FOR SINGOLO PRODOTTO*/

.image_content {
    width: 100%;
    height: calc(100vw / 2);
    object-fit: cover;
}

.image_caption {
    position: relative;
    width: 100%;
    height: auto;
    padding: 30px 0 0 0;
    text-align: center;
    bottom: 0;
    color: #2da749;
}

#single_product_container {
    width: var(--full-width);
    height: auto;
}

.single_product_cont.d_flex {
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.single_product_cont.d_flex .single_product_left {
    width: 50%;
    height: 100%;
}

.single_product_cont.d_flex .single_product_left img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

/*RULES FOR OWL CAROUSEL*/

.single_product_cont.d_flex .single_product_left .owl-carousel, .owl-carousel .owl-stage-outer, .owl-stage, .owl-item, .item {
    height: 100%;
    position: relative;
}

.owl-controls {
    width: 600px;
    margin: 0 auto;
    position: relative;
}

.owl-nav {
    position: absolute;
    bottom: 25px;
    width: 100%;
    height: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    bottom: 0;
    left: -2px;
}

.owl-carousel .owl-nav button.owl-prev span, .owl-carousel .owl-nav button.owl-next span  {
    font-size: 3rem;
    color: #2da749;
    position: absolute;
    z-index: 4;
    bottom: 25px;
    line-height: 0;
}

.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    bottom: 0;
    right: 15px;
}

.owl-dots {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 30px;
    text-align: center;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-dot {
    width: 15px;
    height: 15px;
    border: 2px solid #2da749 !important;
    border-radius: 30px !important;
    background-color: rgb(255, 255, 255, 0) !important;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    margin: 0 10px;
}

.owl-dot.active {
    background-color: rgb(65, 37, 35, 0.8) !important;
}

/**/

.single_product_container_mobile {
    display: none;
}

.single_product_cont.d_flex .single_product_right {
    width: 50%;
}

.single_product_right_content {
    width: var(--main-width);
    margin: 0 auto;
    text-align: center;
}

.single_product_right_content .h1 {
    margin-bottom: 100px;
}

.single_product_right_content .h2 {
    color: #000;
    font-size: 0.8rem;
}

.category_cont, .destination_cont {
    width: 100%;
    padding: 25px 0;
    border-bottom: 1px solid #cecece;
}

.category_cont:last-of-type {
    border-bottom: 0;
}

.category_cont p, .destination_cont p  {
    display: inline;
    color: #000;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0;
    font-size: 0.9rem;
    padding-right: 5px;
}

.category_cont a,.category_cont span, .destination_cont a, .destination_cont span {
    display: inline;
    color: #6d6d6d;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0;
    font-size: 0.9rem;
    font-weight: 400;
}

.category_cont a, .destination_cont a {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.category_cont a:after, .destination_cont a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 1px;
    left: 50%;
    position: absolute;
    background: #cecece;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.category_cont a:hover:after, .destination_cont a:hover:after {
    width: 100%; 
    left: 0; 
}

@media screen and (max-width: 1440px) {

    :root {
        --static-width: 1280px;
    }

    /*RULES FOR MATERIA PRIMA*/

    .third_materia_section.d_flex .image_left {
        flex: 0 60%;
    }
    
    .third_materia_section.d_flex .text_right {
        flex: 0 40%;
        text-align: right;
    }

    .third_materia_section.d_flex .text_right .text_right_container {
        margin: 0 auto;
    }

    /*RULES FOR CONNESSIONI*/

    .third_materia_section.d_flex {
        height: 1050px;
    }

    .first_section_connection.d_flex .image_left {
        flex: 0 50%;
    }

    .first_section_connection.d_flex .text_right {
        flex: 0 45%;
    }

    .connessioni_last_section.d_flex .last_section_text p {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    /*RULES FOR ARCHIVE BLOG ARTICLE*/

    .blog_article_content.d_flex {
        height: 350px;
    }

    .blog_article_content.d_flex .blog_article_left {
        flex: 0 40%;
    }

    /*RULES FOR CONTATTI*/

    .contact_container.d_flex .contact_container_right p {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    /*RULES FOR CATALOGO*/

    #product_container.d_flex {
        margin: 0 auto;
    }

    .search_result p {
        padding: 0;
    }

    .product_content {
        margin: 0 3% 75px 0;
    }

    /*RULES FOR SINGOLO PRODOTTO*/

    #single_product_container {
        padding-bottom: 50px;
    }

}

@media screen and (max-width: 1280px) {

    :root {
        --static-width: 1024px;
    }

    #banner_fiera_cont{
        width: var(--static-width);
    }
    #banner_fiera_left h3{
        font-size: 3.5em;
    }
    #banner_fiera_left span {
        font-size: 1.5em;
    }
    
    /*RULES FOR HOME*/

    .box_home {
        height: 700px;
    }

    /*RULES FOR MATERIA PRIMA*/

    .third_materia_section.d_flex {
        height: auto;
        flex-wrap: wrap;
    }

    .third_materia_section.d_flex .image_left {
        flex: 0 80%;
        height: 700px;
    }

    .third_materia_section.d_flex .text_right {
        text-align: right;
        margin: 75px 50px 0 auto;
        flex: 0 75%;
    }

    .text_right_container {
        width: var(--full-width);
        margin: 0 auto;
    }

    /*RULES FOR CONNESSIONI*/

    .connessioni_last_section.d_flex .last_section_image {
        flex: 0 45%;
    }

    .case_history_project_section.d_flex {
        flex-direction: column;
    }

    .project_photos {
        justify-content: space-between;
    }

    .projects_photos_content {
        height: 460px;
        margin: unset;
        margin-top: 50px;
    }

    /*RULES FOR ARCHIVE BLOG ARTICLE*/
    
    .blog_article_content.d_flex .blog_article_left h3 {
        padding-right: 15px;
    }

    /*RULES FOR SINGLE BLOG ARTICLE*/

    .banner_single_blog_article {
        height: 700px;
    }

    /*RULES FOR CONTATTI*/

    .contact_container.d_flex {
        width: var(--main-width);
    }

    .contact_container.d_flex .contact_container_right p {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .contact_info a {
        margin-right: 5px;
    }

    /*RULES FOR CATALOGO*/

    .search_result p {
        padding: 0 25px;
    }

    .product_content {
        flex: 0 45%;
    }

    .product_content:nth-of-type(2n+1) {
        margin: 0 5% 75px 0;
    }

    .product_content:nth-of-type(2n+2) {
        margin: 0 0 75px 5%;
    }

    /*RULES FOR CAROUSEL*/

    .owl-dot {
        margin: 0 15px;
    }

}

@media screen and (max-width: 1024px) {

    main {
        padding-top: 120px;
    }

    /*RULES FOR HOME*/

    .box_home {
        width: var(--full-width);
        height: 900px;
    }

    .box_home img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /*RULES FOR MATERIA PRIMA*/

    .text_section.d_flex {
        width: var(--main-width);
        text-align: left;
        padding: 75px 0;
    }

    .text_section.d_flex .text_section_left, .text_section.d_flex .text_section_right {
        flex: 0 100%;
    }

    .text_section.d_flex .text_section_left p {
        margin-bottom: 0;
    }

    .text_section.d_flex .text_section_right p {
        margin-top: 0;
    }

    .banner_full_width.desktop {
        display: none;
    }

    .banner_full_width.mobile {
        display: block;
    }

    .third_materia_section.d_flex .text_right {
        width: var(--main-width);
        margin: 75px 50px 75px auto;
    }

    .text_section.d_flex h2 {
        text-align: left;
    }

    /*RULES FOR CONNESSIONI*/

    .first_section_connection.d_flex {
        width: var(--main-width);
        height: auto;
        flex-direction: column;
        margin: 0 auto;
    }

    .first_section_connection.d_flex .image_left {
        flex: unset;
        width: var(--full-width);
        height: 900px;
    }

    .first_section_connection.d_flex .text_right {
        flex: unset;
        width: var(--main-width);
        margin-left: auto;
        margin: 50px 0 50px auto;
    }

    .first_section_connection.d_flex .text_right .text_right_container {
        width: var(--full-width);
    }

    .case_history_section.d_flex {
        width: var(--main-width);
    }

    .projects_photos_content {
        height: 415px;
    }

    .connessioni_last_section.d_flex {
        margin-bottom: 0;
    }

    .connessioni_last_section.d_flex {
        width: var(--full-width);
        margin-bottom: 0;
        height: auto;
        flex-direction: column;
    }

    .connessioni_last_section.d_flex .last_section_text {
        flex: unset;
        width: var(--main-width);
        text-align: left;
    }

    .connessioni_last_section.d_flex .last_section_image {
        flex: unset;
        width: var(--full-width);
        height: 900px;
    }

    /*RULES FOR CASE HISTORY CAROUSEL*/

    .item_case_history {
        width: var(--main-width);
    }

    /*RULES FOR AZIENDA*/

    .second_section_connection.d_flex {
        width: var(--main-width);
        height: auto;
        flex-direction: column;
        margin: 0 auto;
    }

    .second_section_connection.d_flex .image_right {
        flex: unset;
        width: var(--full-width);
        height: 900px;
        order: 1;
        -webkit-order: 1;
    }

    .second_section_connection.d_flex .text_left {
        flex: unset;
        width: var(--main-width);
        margin-right: auto;
        margin-top: 50px;
        order: 2;
        -webkit-order: 2;
    }

    .second_section_connection.d_flex .text_left .text_left_container {
        width: var(--full-width);
    }

    /*RULES FOR ARCHIVE BLOG ARTICLE*/

    .main_blog_article_content.d_flex {
        width: var(--full-width);
    }

    .blog_article_content.d_flex {
        width: var(--full-width);
        height: auto;
        flex-direction: column;
        border-bottom: 0;
    }

    .blog_article_content.d_flex .blog_article_left {
        flex: unset;
        width: var(--main-width);
        height: auto;
        text-align: left;
        order: 2;
        -webkit-order: 2;
        padding: 50px 0;
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-end;
        border-bottom: 1px solid #cecece;
    }

    .blog_article_content.d_flex .blog_article_left .left_blog_article_left {
        flex: 0 30%;
        text-align: right;
        position: relative;
        bottom: 25px;
    }

    .blog_article_content.d_flex .blog_article_left .right_blog_article_left {
        flex: 0 70%;
    }

    .blog_article_content.d_flex .blog_article_left h3 {
        padding-right: 0;
    }

    .blog_article_content.d_flex .blog_article_right {
        flex: unset;
        width: var(--full-width);
        height: 450px;
    }

    .load_more_container {
        padding: 0 0 75px 0;
    }

    /*RULES FOR SINGLE BLOG ARTICLE*/

    .single_blog_article_cont {
        width: var(--full-width);
    }

    .single_blog_article_title.d_flex {
        width: var(--main-width);
        margin: 50px auto;
    }

    .single_blog_article_title.d_flex .left_side_title {
        flex: 0 70%;
    }

    .single_blog_article_title.d_flex .right_side_title {
        flex: 0 30%;
    }

    .single_blog_article_text {
        width: var(--main-width);
    }

    /*RULES FOR CONTATTI*/

    .contact_info.desktop {
        display: none;
    }
    
    .contact_info.mobile {
        display: block;
    }

    .contact_info {
        width: var(--main-width);
        margin: 0 auto;
        text-align: center;
    }

    .contact_info a {
        margin-right: 10px;
    }

    .contact_container.d_flex {
        flex-direction: column;
    }

    .contact_container.d_flex .contact_container_left, .contact_container.d_flex .contact_container_right {
        flex: unset;
        width: 100%;
    }

    .contact_container.d_flex .contact_container_right p {
        font-size: 2.5rem;
        line-height: 3rem;
        text-align: left;
    }

    .contact_container.d_flex .contact_container_left {
        order: 1;
        -webkit-order: 1;
    }

    .wpcf7-form p:nth-of-type(3) {
        width: 700px;
    }

    .wpcf7-list-item {
        width: 650px;
    }

    /*RULES FOR CATALOGO*/

    #product_container {
        width: var(--main-width);
    }

    .search_result, .no_result {
        width: var(--full-width);
    }

    .search_result p {
        padding: 0 10px;
    }

    #filtri_catalogo {
        top: 120px;
        transition: 0.6s;
        -webkit-transition: 0.6s;
    }

    .filter_voice p {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .filter_scroll {
        top: 0 !important;
    }

    #product_container.d_flex {
        width: var(--main-width);
        margin: 20px auto 0 auto;
    }

    .product_content {
        flex: 0 40%;
    }

    .product_content:nth-of-type(2n+1) {
        margin: 0 0 75px 0;
    }

    .product_content:nth-of-type(2n+2) {
        margin: 0 0 75px auto;
    }

    .product_content .product_content_image {
        width: 350px;
        height: 350px;
    }

    .product_content a.primary_button {
        width: 350px;
    }

    .product_content .product_title {
        width: 350px;
    }

    /*RULES FOR SINGOLO CATALOGO*/

    .single_product_container_mobile {
        display: block;
        width: var(--main-width);
        margin: 0 auto;
        text-align: center;
    }

    .single_product_container_mobile .h2 {
        color: #000;
        font-size: 0.9rem;
    }

    .single_product_cont.d_flex {
        width: var(--main-width);
        height: auto;
        margin: 0 auto;
        flex-direction: column;
    }

    .desktop_single_product_title, .desktop_single_product_description, .desktop_single_product_utilizzo {
        display: none;
    }

    .single_product_cont.d_flex .single_product_left {
        width: var(--full-width);
        height: auto;
    }

    .single_product_cont.d_flex .single_product_right {
        width: var(--full-width);
        margin: 0 0 75px 0;
    }

    .image_content {
        height: 900px;
    }

    /*RULES FOR OWL CAROUSEL*/

    .single_product_cont.d_flex .single_product_left .owl-carousel, .owl-carousel .owl-stage-outer, .owl-stage, .owl-item, .item {
        height: auto;
    }

    .owl-nav {
        width: 90%;
        position: relative;
        bottom: -35px;
    }

    .owl-dots {
        bottom: 33px;
    }

}

@media screen and (max-width: 834px) {

    html, body {
        font-size: 18px;
    }

    /*RULES FOR MATERIA PRIMA*/

    .banner_full_width {
        height: 700px;
    }

    /*RULES FOR CONNESSIONI*/

    .case_history_section.d_flex {
        margin: 75px auto;
    }

    .projects_photos_content {
        height: 330px;
    }

    /*RULES FOR CATALOGO*/

    .search_result p {
        padding: 0;
    }

    .filtri_container.d_flex {
        padding: 25px 0;
    }

    .filter_voice p {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .product_content .product_content_image {
        width: 300px;
        height: 300px;
    }

    .product_content .product_title {
        width: 300px;
    }

    .product_content a.primary_button {
        width: 300px;
    }

    /*RULES FOR SINGOLO PRODOTTO*/

    .image_content {
        height: 730px;
    }

} 

@media screen and (max-width: 768px) {

    .h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    #banner_fiera_cont{
        width: 100%;
        font-size: 0.9em;
    }
    #banner_fiera_left{
        flex: 100%;
        padding: 0px;
        padding-bottom: 50px;
        text-align: center;
    }
    #banner_fiera_left a.button{
        margin: auto;
    }
    #banner_fiera_right{
        flex: 100%;
        padding: 0px;
        text-align: center;
    }

    /*RULES FOR HOME*/

    .box_home_container.d_flex h2 {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    /*RULES FOR ARCHIVE BLOG*/

    .blog_article_content.d_flex {
        padding: 50px 0;
    }

    .load_more_container {
        padding: 0 0 50px 0;
    }

    /*RULES FOR CONTATTI*/

    .wpcf7-form p:first-of-type, .wpcf7-form p:nth-of-type(2), .wpcf7-form p:nth-of-type(3), .wpcf7-form p:nth-of-type(4), .wpcf7-list-item {
        width: 98%;
    }

    .wpcf7-form-control-wrap.your-email input, .wpcf7-form-control-wrap.your-message textarea {
        width: 100%;
    }

    .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
        width: 90%;
        margin: 40px 0 0 0;
    }

    /*RULES FOR CATALOG*/

    #product_container {
        margin: 120px auto 0 auto;
    }

    .search_text {
        padding-bottom: 30px;
    }

    .search_result {
        text-align: center;
        margin-bottom: 0;
        margin-top: 150px;
    }

    .filter_voice {
        padding: 0 20px;
        border-right: 1px solid #cecece;
    }

    .filter_voice:last-of-type {
        border-right: 0;
    }

    .filter_voice p {
        border-right: 0;
    }

    #product_container.d_flex {
        width: var(--main-width);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 30px auto 0 auto;
    }

    .product_content:nth-of-type(2n+1), .product_content:nth-of-type(2n+2) {
        margin: 0 auto 50px auto;
        flex: unset;
        width: 100%;
    }

    .product_content .product_content_image {
        width: 350px;
        height: 350px;
    }

    .product_content a.primary_button {
        width: 350px;
    }

    .product_content .product_title {
        width: 350px;
    }

    /*RULES FOR SINGOLO CATALOGO*/

    .single_product_cont.d_flex .single_product_left {
        height: auto;
    }

    .image_content {
        height: 670px;
    }

    .single_product_cont.d_flex .single_product_right {
        margin: 0 0 75px 0;
    }

    /*RULES FOR CONNESSIONI*/

    .projects_photos_content {
        height: 300px;
    }

    /*RULES FOR OWL CAROUSEL*/

    .owl-controls, .owl-nav {
        width: 100%;
    }

    .owl-nav {
        bottom: -32px;
    }

    .owl-dot {
        margin: 0 10px;
    }

}

@media screen and (max-width: 600px) {

    :root {
        --main-width: calc(100% - 50px);
    }

    /*RULES FOR HOME*/

    .box_home {
        height: 700px;
    }

    .box_home_container.d_flex h2 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .box_logo.d_flex {
        width: 260px;
    }

    /*RULES FOR MATERIA PRIMA*/

    .banner_full_width {
        height: 450px;
    }

    .text_section.d_flex {
        padding: 50px 0;
    }

    .third_materia_section.d_flex .image_left {
        height: 550px;
    }

    .third_materia_section.d_flex .text_right {
        margin: 50px 25px 50px auto;
        flex: 0 85%;
    }

    /*RULES FOR CONNESSIONI*/

    .first_section_connection.d_flex .image_left {
        height: 700px;
    }

    .projects_photos_content {
        height: 250px;
    }

    .connessioni_last_section.d_flex .last_section_text p {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .connessioni_last_section.d_flex .last_section_image {
        height: 600px;
    }

    /*RULES FOR AZIENDE*/

    .second_section_connection.d_flex .image_right {
        height: 700px;
    }

    /*RULES FOR ARCHIVE BLOG*/

    .blog_article_content.d_flex .blog_article_left {
        flex-wrap: wrap;
    }

    .blog_article_content.d_flex .blog_article_left .left_blog_article_left {
        flex: 0 100%;
        text-align: left;
        order: 1;
        -webkit-order: 1;
        bottom: 0;
    }

    .blog_article_content.d_flex .blog_article_left .right_blog_article_left {
        flex: 0 100%;
        order: 2;
        -webkit-order: 2;
    }

    /*RULES FOR SINGLE BLOG ARTICLE*/
    
    .banner_single_blog_article {
        height: 450px;
    }

    .single_blog_article_title.d_flex {
        margin: 50px auto 0 auto;
        flex-direction: column;
    }

    .single_blog_article_title.d_flex .left_side_title {
        text-align: left;
        order: 1;
        -webkit-order: 1;
        flex: unset;
        width: 100%;
    }

    .single_blog_article_title.d_flex .right_side_title {
        text-align: left;
        order: 2;
        -webkit-order: 2;
        flex: unset;
        width: 100%;
    }

    .single_blog_article_text {
        margin: 50px auto;
    }

    /*RULES FOR CONTATTI*/

    .contact_info a {
        display: block;
        padding-bottom: 15px;
        font-size: 1rem;
        margin-right: 0;
    }

    .contact_info a:first-of-type {
        padding-top: 15px;
    }

    .contact_container.d_flex .contact_container_right p {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    /*RULES FOR CATALOGO*/

    .search_result {
        margin-top: 100px;
    }

    .filter_voice p {
        font-size: 1rem;
        line-height: 1rem;
        padding: 0;
    }    

    /*RULES FOR SINGOLO PRODOTTO*/

    .image_content {
        height: 550px;
    }

    /*RULES FOR CAROUSEL*/

    .owl-dot {
        margin: 0 5px;
    }

}

@media screen and (max-width: 414px) {

    html, body {
        font-size: 16px;
    } 

    main {
        padding-top: 100px;
    }
    
    .h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .d_desk {
        display: none;
    }
    
    .d_mobile {
        display: block;
    }

    /*RULES FOR HOME*/

    .box_home_container.d_flex .arrow_cont {
        height: 50px;
    }

    /*RULES FOR MATERIA PRIMA*/

    .third_materia_section.d_flex .image_left {
        height: 450px;
    }
    
    .text_section.d_flex {
        padding: 50px 0;
    }

    .third_materia_section.d_flex .text_right {
        margin-top: 50px;
    }

    /*RULES FOR CONNESSIONI*/

    .case_history_section.d_flex {
        margin: 0px auto 50px auto;
        width: var(--full-width);
    }

    .case_history_title {
        width: var(--main-width);
        margin: 0 auto;
    }

    .project_text {
        margin-bottom: 50px;
    }

    .project_text_content_mobile {
        width: var(--main-width);
        margin: 0 auto;
    }

    .projects_photos_content {
        height: 207px;
        flex: 0 50%;
        margin: 0;
    }

    .connessioni_last_section.d_flex .last_section_image {
        height: 250px;
    }

    .arrow_connection {
        height: 50px;
    }

    /*RULES FOR CASE HISTORY CAROUSEL*/

    .item_case_history {
        top: 0;
    }

    /*RULES FOR ARCHIVE BLOG ARTICLE*/

    .blog_article_content.d_flex .blog_article_right {
        height: 350px;
    }

    /*RULES FOR CATALOGO*/

    .no_result h3  {
        margin-top: 0;
    }

    .search_result {
        margin: 0 auto;
        padding-top: 90px;
        padding-bottom: 30px;
    } 

    #product_container {
        margin: 10px auto 0 auto;
    }

    #filtri_catalogo {
        top: 100px;
    }

    .filtri_container.d_flex {
        padding: 15px 0;
    }

    .filter_voice p {
        font-size: 0.9rem;
        line-height: 0.9rem;
        padding: 10px 0;
    }

    .filter_scroll p {
        font-size: 0.6rem;
    }

    .product_content .product_content_image {
        width: 300px;
        height: 300px;
    }

    .product_content a.primary_button {
        width: 300px;
    }

    .product_content .product_title {
        width: 300px;
    }

    /*RULES FOR SINGOLO PRODOTTO*/

    #single_product_container {
        padding-bottom: 0;
    }

    .image_content {
        height: 360px;
    }

    /*RULES FOR CONTATTI*/

    label input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    .contact_info a {
        font-size: 0.9rem;
    }

}

@media screen and (max-width: 360px) {

    .h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    /*RULES FOR HOME*/

    .box_home_container.d_flex h2 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .box_logo.d_flex {
        width: 220px;
    }

    .box_home_container.d_flex .box_logo.d_flex span {
        font-size: 0.6rem;
    }

    /*RULES FOR CONNESSIONI*/

    .projects_photos_content {
        height: 180px;
    }

    .connessioni_last_section.d_flex .last_section_text p {
        font-size: 1.6rem;
        line-height: 2.1rem;
    }

    .connessioni_last_section.d_flex .last_section_image {
        height: 200px;
    }

    /*RULES FOR CONTATTI*/

    .contact_container.d_flex .contact_container_right p {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    /*RULES FOR CATALOGO*/

    .filter_voice p {
        font-size: 0.8rem;
        line-height: 0.8rem;
    }

    /*RULES FOR SINGOLO PRODOTTO*/

    .image_content {
        height: 310px;
    }

}

@media screen and (max-width: 320px) {

    main {
        padding-top: 80px;
    }

    /*RULES FOR HOME*/

    .box_home_container.d_flex h2 {
        font-size: 1.6rem;
        line-height: 2.1rem;
    }

    /*RULES FOR CONNESSIONI*/

    .projects_photos_content {
        height: 160px;
    }

    /*RULES FOR CASE HISTORY CAROUSEL*/

    .item_case_history {
        height: 550px !important;
    }

    /*RULES FOR CATALOGO*/
    
    #filtri_catalogo {
        top: 80px;
    }

    .filter_voice p {
        font-size: 0.7rem;
    }

    .product_content .product_content_image {
        width: 250px;
        height: 250px;
    }

    .product_content a.primary_button {
        width: 250px;
    }

    .product_content .product_title {
        width: 250px;
    }

}
