

@media only screen and (max-width: 1200px) {
    .full-width-video {
        height: initial;
        margin-top: 112px
    }
    .video-fluid , .video_header {
        height: initial!important;
    }
    
    #scroll-down-animation {
        display: none;
    }
    .link {
        font-size: 1.25rem;
        margin: initial;
    }

    .link2 {
        display: inline-block;
        color: white;
        /* font-weight: bold; */
        font-size: 1rem;
        margin: initial;
    }

    .logo-menu {
        display: none !important
    }

    .close {
        position: absolute;
        top: 10px;
        right: 10px;
        color: white;
        font-size: 90px;
        background: none;
        border: none;
    }

    .text-header {
        font-size: 10px !important;
    }

    .navbar-brand img {
        width: auto;
        height: 60px;
        transition: width .5s ease-in-out;
    }

    #about .col-xl-9.pr-0 {
        padding-right: 15px !important;
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .gray-background .container-right {
        background-color: white;
        height: unset;
        margin-right: initial;
        max-width: 100%;
    }

    .container-custom {
        margin-left: 0;
        margin-right: 0;
        background-color: white;
        padding-left: 15px;
        padding-right: 0;
        max-width: 100%;
        margin: 0 auto;
    }

    .container-custom .p-5 {
        padding-right: 15px;
        padding-left: 15px;
    }

    p:not(.text-right) {
        text-align: initial !important;
    }

    .content-item {
        height: 150px;
    }

    .production_section {
        padding-bottom: 0 !important;
    }

    .destra {
        padding-top: 0 !important;
    }

    .bg-image {
        height: initial;
        padding-right: 0 !important;
    }

    .solar_panel_img {
        height: 40vh;
        width: 100%;
        bottom: 0;
        left: 0;
        object-fit: cover;
        object-position: bottom;
        z-index: -1;
        position: initial !important;
    }

    .icon_section {
        position: initial !important;
    }

    .certifications {
        right: unset !important;
        bottom: unset;
        position: initial !important;
    }

    #sostenibilita .col-xl-7 {
        padding-right: 15px;
        padding-left: 15px;
    }

    .logo_certificazioni {
        margin: 0 !important;
    }

    #sostenibilita .row .col-xl {
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 25%;
        max-width: 100%;
        padding: 10px !important
    }

    #sostenibilita .row .col-xl img {
        max-width: 100%;
        display: block;
    }

    .text-right {
        text-align: left !important;
    }

    .position-absolute.icon_section.mt-4 .col-xl-2 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .position-absolute.icon_section.mt-4 .col-xl-10 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .icon_section .text-left.mb-0.ml-4 {
        margin-left: 0 !important;
    }

    .solar_panel_img {
        margin-top: 30px;
    }

    .d-flex.pt-3.pt-xl-5,
    footer {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }

    .footer-column {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .logofoot {
        padding: 0 !important;
    }

    .foot-col {
        padding-left: 0 !important;
    }


    /*  ________ */
    .video_header,
    .img_head {
        margin-top: 112px !important;
    }

    .company-info {
        padding-left: 0;
        padding-right: 0;
    }

    .logo-top-right { 
        right: -10px;
        top: 155px;
    }

    .form-container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .nav-tabs {
        padding-bottom: 20px;
    }

    .nav-tabs .nav-item {
        margin-bottom: 0;
        width: 100%;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link {
        width: 100%;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        border-color: #dee2e6 !important;
    }

    .tab-content>.tab-pane {
        padding: 1.5rem !important;
    }

    .tab-content>.tab-pane>div>div:first-of-type {
        padding-right: 0 !important;
    }

    .tab-content>.tab-pane>div>div:last-of-type {
        padding-left: 0 !important;
        padding-top: 1.5rem !important;
    }

    .white-bg .btn-primary {
        margin-top: 1.5rem !important;
    }

    .sinistra>.container {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .grey-line {
        display: none;
    }

    .destra {
        width: 100%;
        margin-left: 0;
    }

    .history .img_show_text_story .title_story {
        margin-top: 1.5rem;
        padding: 10px;
    }

    .history .img_show_text_story p {
        margin-top: 5px;
        padding: 0.5rem;
    }


    .history .date_story_sx_desk {
        transform: translateX(0%) !important;
        color: #343a40 !important;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .history .date_story_dx_desk {
        margin-top: 5px;
        padding: 0.5rem;
        transform: translateX(0%) !important;
        color: #343a40 !important;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .history .row .col .row .row .col-xl-1 {
        position: absolute;
    }

    .history .row .col .row {
        margin-top: 1.5rem;
    }

    .logo-linea-top-right {
        top: 217px;
        right: 0px;
    }
    .img-full-linee{
        width: 100%;
    }
    .loghi{
        padding-top: 2rem;
        padding-bottom: 3.5rem;
    }
    .loghi .image-container{
       height: 100%;
    }

    .loghi  .bg_img{
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center ;
    }
    .loghi .bg_img h4{
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        margin: 0 !important;
    }
}
.date_story_dx_desk , .date_story_sx_desk {
    -webkit-text-stroke: 1px #343a40;
}


@media only screen and (max-height: 600px) {
    
    .navbar-brand img {
        height: 30px!important;
    }
    .navbar {
        padding-top: 10px!important;
        padding-bottom: 10px!important;
    }
    .video_header, .img_head  , .full-width-video {
        margin-top: 70px!important;
        height: calc(100vh - 70px)!important;
        object-fit: contain!important;
        
    }
     .video-fluid {
        
        height: calc(100vh - 70px)!important;
        object-fit: contain!important;
     }
}