@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap');
body {
    font-family: 'Raleway', sans-serif;
    color: #000000;
    background-color: #ffffff;
}

.panel-body {
    font-size: 12px;
}

h4 {
    color: #c82321;
}

#tb .tab {
    background-color: #f7f7f7 !important;
}

.flex_menu {
    display: flex !important;
    align-items: center;
}

@media only screen and (max-width: 768px) {
    .flex_menu {
        flex-direction: column !important;
    }
    .logo_mobile {
        position: absolute;
        max-width: 200px;
        width: 100%;
    }
    .navbar-default .navbar-toggle {
        margin-top: 12px !important;
    }
    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        border: none !important;
    }
}

.social_head {}

.social_head a {
    color: #c82321;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none !important;
    transition: 0.3s;
}

.social_head a:hover {
    color: #ffffff;
}

.social_head i {
    font-family: 'FontAwesome';
}


/*HOME*/

.lista_home .col-sm-12>div .row {
    display: none !important;
}

.lista_home .col-sm-12>div {
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 768px) {
    .lista_home .col-sm-12>div {
        flex-direction: column !important;
        margin: 50px 0px !important;
    }
    .lista_home .col-sm-12>div .carousel {
        min-width: 100%;
    }
    .lista_home .col-sm-12>div .caption {
        min-width: 100%;
        padding: 0 15px;
        text-align: center;
    }
    .lista_home .col-sm-12>div .caption h4 {
        font-size: 35px !important;
    }
    .lista_home .col-sm-12>div .caption p {
        font-size: 18px !important;
    }
    .lista_home .carousel-control>span {
        margin: 0px -40px !important;
    }
}

.lista_home .col-sm-12:nth-child(odd)>div {
    flex-direction: row-reverse;
}

.lista_home .col-sm-12>div .carousel {
    max-width: 40%;
}

.lista_home .col-sm-12>div .carousel img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.lista_home .col-sm-12>div .caption {
    max-width: 60%;
    padding: 0 15px;
}

.lista_home .col-sm-12>div .caption h4 {
    font-size: 5vw;
    font-weight: 900;
    margin-bottom: 12px;
}

.lista_home .col-sm-12>div .caption p {
    font-size: 24px;
}

.lista_home .carousel-control {
    background-image: none !important;
    color: #c82321;
}

.lista_home .carousel-control>span {
    font-size: 50px;
    margin: 0px;
}

.lista_marchi {
    padding: 30px 20px;
}

.lista_marchi .thumbnail {
    border: none;
    background-color: transparent;
    padding: 0px;
    margin: 0px;
    border: none;
}

.lista_marchi .thumbnail h4 {
    display: none;
}


/*Label verticali*/

.label_veticali_sx p {
    writing-mode: vertical-rl;
    transform: rotate(0deg);
    font-size: 7vw;
    color: #c82321;
    opacity: 0.1;
    position: absolute;
    left: 10px;
    white-space: pre;
}

.label_veticali_dx p {
    writing-mode: vertical-lr;
    transform: rotate(0deg);
    font-size: 6vw;
    color: #c82321;
    opacity: 0.1;
    position: absolute;
    right: 0px;
    white-space: pre;
}

.screw_section {
    transform: skewY(-5deg);
}

.screw_section>div {
    transform: skewY(5deg);
}


/*chi siamo*/

.chi_siamo_lista .schede_bootstrap>div:nth-child(odd) .thumbnail {
    flex-direction: row-reverse;
}

.chi_siamo_lista .thumbnail {
    border: none;
    background-color: transparent;
    padding: 0px;
    margin: 0 0 30px 0;
    border: none;
    display: flex;
    align-items: stretch;
}

@media only screen and (max-width: 768px) {
    .chi_siamo_lista .thumbnail {
        flex-direction: column !important;
    }
    .chi_siamo_lista .thumbnail img {
        max-width: 100% !important;
        min-width: 100% !important;
        object-fit: cover;
    }
    .chi_siamo_lista .thumbnail .caption {
        max-width: 100% !important;
        min-width: 100% !important;
    }
}

.chi_siamo_lista .thumbnail .row {
    display: none !important;
}

.chi_siamo_lista .thumbnail .caption {
    padding: 0px 15px;
    max-width: 60%;
    min-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.chi_siamo_lista .thumbnail .caption h4 {
    font-size: 5vw;
    font-weight: 900;
    margin-bottom: 12px;
}

.chi_siamo_lista .thumbnail .caption p {
    font-size: 24px;
}

.chi_siamo_lista .thumbnail img {
    max-width: 40%;
    min-width: 40%;
    object-fit: cover;
}