@media only screen and (max-width: 1599px) {
    body .transcy-switch .default-template[positon-float="Top-right"] {
        right: calc(50% - 48.5%);
    }
}
/*ipad-land*/
@media only screen and (max-width: 1199px) {
    .desktop-left .nv-top-bar ul#secondary-menu li:first-child {
        margin: 0;
        padding: 0;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1199px) {}
@media only screen and (max-width: 1024px) {
    /*--safari*/
    html::-webkit-scrollbar {
        display: block;
        position: absolute;
        background: transparent;
        width: 3px;
        bottom: 0;
        top: 0px;
        right: 1px;
        left: auto;
    }
    html::-webkit-scrollbar-thumb {
        position: absolute;
        right: 1px;
        left: auto;
        background: #000;
        border-radius: 5px;
        opacity: 0.5;
    }
    /*--safari*/
    body .nav-ul>li {
        margin: 0 10px;
    }
    body .elementor-widget-tabs .elementor-tab-content.elementor-active {
        padding: 0 15px;
    }
    body .elementor-widget-tabs .elementor-tab-content a {
        width: 22%;
    }
}
/*ipad-view*/
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    /* 16-01-2023*/
    .wp-block-image img {
        max-width: none;
    }
    .inner-contact-detail-wrap {
        padding: 0;
        margin: 0;
    }
    .inner-contact-detail-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px 50px;
    }
}
@media only screen and (max-width:1023px) {
    /*--menu-css--*/
    body .header-menu-sidebar {
        left: auto !important;
        transform: none !important;
        transition: all .5s;
        width: 0;
        right: 0;
    }
    body button.navbar-toggle {
        background: transparent;
        padding: 0;
        border: 0;
        box-shadow: none;
    }
    body.is-menu-sidebar.menu_sidebar_slide_left .header-menu-sidebar {
        width: 360px !important;
    }
    body .icon-bar {
        width: 33px;
        height: 2px;
        background: #E6B003;
    }
    body .icon-bar:nth-child(2) {
        margin: 8px 0;
    }
    body.is-menu-sidebar .navbar-toggle .icon-bar:nth-child(3) {
        bottom: 6px;
    }
    body.is-menu-sidebar .navbar-toggle .icon-bar:nth-child(1) {
        top: 14px;
    }
    body .header-menu-sidebar .navbar-toggle-wrapper button.navbar-toggle:hover,
    body button.navbar-toggle:hover {
        background-color: transparent !important;
        background: transparent !important;
        border: 0;
    }
    body .header-menu-sidebar .navbar-toggle-wrapper button.navbar-toggle {
        height: 30px;
        background-color: transparent;
    }
    button.hamburger span.bars {
        height: 100%;
    }
    div.header-menu-sidebar-inner .builder-item {
        padding: 0;
        margin: 0;
    }
    .attivita-inner-section h6 br {
        display: none;
    }
    body .header-menu-sidebar .nav-ul li:not([class*=block])>a {
        padding: 10px 0;
        white-space: unset;
        font-size: 14px;
        line-height: 100%;
        color: #4c4c4c;
        border-bottom: 1px solid #4c4c4c;
    }
    .attivita-inner-section h6 {
        font-size: 15px;
        word-break: break-all;
    }
    .attivita-inner-section .left-img {
        min-width: 50px;
    }
    body footer .footer--row-inner .row {
        grid-template-columns: 230px 1fr !important;
    }
    body .nv-footer-content.hfg-grid-bottom.row--wrapper.row {
        grid-template-columns: 1fr !important;
    }
    footer.site-footer {
        padding: 60px 0 20px;
    }
    body header .header-top {
        display: block;
    }
    .nv-navbar .hfg-slot.right {
        display: flex;
    }
    body .elementor-widget-tabs .elementor-tab-content a img {
        padding: 14px;
    }
    body .elementor-widget-tabs .elementor-tab-content a {
        height: 100px;
    }
    body .nav-ul li.dove-siamo a {
        line-height: 100%;
        background: none;
        border-radius: 0;
    }
    body .nav-ul>li {
        margin: 0;
        padding: 0 0 0 10px;
    }
    body .elementor-widget-tabs .elementor-tab-content a {
        width: 21.5%;
    }
    footer .footer-bottom .container {
        padding-top: 20px;
    }
    .cosa-column div {
        word-break: break-all;
    }
    .company-profile-section>div::before {
        right: calc(50% - 532px);
    }
    body .transcy-switch .default-template[positon-float="Top-right"] {
        top: 72px;
        right: 70px;
    }
    /*---menu-page--*/
    body main#content .border-design-left .team-content::after {
        left: -15px;
    }
    body main#content .border-design-left .team-content::before {
        left: -7px;
        top: 7px;
    }
    body.admin-bar .transcy-switch .default-template[positon-float="Top-right"],
    body.admin-bar .transcy-switch .default-template[positon-float="Top-left"] {
        top: 73px;
    }
}
/*phone-view*/
@media only screen and (max-width: 767px) {
    body header .header-top div[data-section="hfg_header_layout_top"] .left {
        display: none;
    }
    body header .right a {
        font-size: 15px;
    }
    .banner-section .common-arrow a::before {
        right: 52px;
    }
    .banner-small-text p::before,
    .banner-small-text p::after {
        display: none;
    }
    .attivita-inner-section .left-img {
        min-width: 70px;
    }
    .attivita-inner-section h6 {
        font-size: 22px;
    }
    .attivita-inner-section h6 br {
        display: block;
    }
    .elementor-tabs-content-wrapper {
        padding-top: 0;
    }
    body .elementor-widget-tabs .elementor-tab-content.elementor-active {
        grid-template-columns: 1fr 1fr;
        grid-gap: 16px;
    }
    body .elementor-widget-tabs .elementor-tab-content a img {
        padding: 22px;
    }
    body .elementor-widget-tabs .elementor-tab-content a {
        height: 110px;
        box-shadow: rgb(0 0 0 / 10%) 2px 3px 14px 0px;
    }
    .elementor-tab-title.elementor-tab-mobile-title {
        position: relative;
    }
    body footer .footer--row-inner .row {
        grid-template-columns: 1fr !important;
    }
    body footer .c-left {}
    body footer .container .left .menu-social-container {
        padding-top: 5px;
        padding-bottom: 10px;
    }
    body footer .container .left figure {
        margin-bottom: 15px;
    }
    footer#site-footer .inner-contact-sub-title,
    footer .inner-contact-sub-title h2,
    body footer .widget .widget-title {
        margin-bottom: 21px;
    }
    footer .inner-contact-address-wrap {
        padding-right: 26px;
    }
    .footer--row-inner .nv-footer-content .left,
    .footer--row-inner .nv-footer-content .c-right,
    .footer--row-inner .nv-footer-content .c-left,
    .footer--row-inner .nv-footer-content .center {
        padding-right: 0;
    }
    body footer .footer--row .hfg-slot {
        margin-bottom: 0;
    }
    footer.site-footer {
        padding: 50px 0 0px;
    }
    footer .footer-bottom {
        padding-top: 29px;
    }
    /*--tab---*/
    .elementor-tab-mobile-title {
        display: none;
    }
    body .elementor-tabs .elementor-tabs-wrapper {
        display: flex;
        padding-bottom: 37px;
        text-align: center;
        justify-content: center;
    }
    /*--tab---*/
    .error404 h1.section-heading {
        font-size: 60px;
        line-height: 120%;
    }
    .error404 h2,
    .error404 p {
        font-size: 18px;
    }
    .error404 p {
        font-size: 16px;
    }
    section.page-not-found-section {
        padding: 60px 0;
    }
    body .elementor-widget-tabs .elementor-tab-content a {
        width: 47%;
    }
    footer .footer-bottom .container {
        padding-top: 20px;
    }
    .site-logo a {
        max-width: 160px;
    }
    .nav-ul li.dove-siamo a:hover,
    .nav-ul li.dove-siamo.active a {
        background: transparent;
        color: #e8b954 !important;
    }
    body.admin-bar .transcy-switch .default-template[positon-float="Top-right"],
    body.admin-bar .transcy-switch .default-template[positon-float="Top-left"] {
        top: 66px;
    }
    body.sticky_header .transcy-switch .default-template[positon-float="Top-right"] {
        top: 31px !important;
    }
    div.wpcf7 .wpcf7-spinner {
        right: 6px;
    }
    .company-profile-section>div::before {
        width: 100%;
        height: 69px;
        right: 0;
        bottom: -116px;
        background-size: cover;
    }
    .inner-contact-detail-wrap {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 25px 0px;
        padding-top: 25px;
    }
    .hfg-slot.c-left {
        margin-left: 0;
    }
}
@media only screen and (min-width: 580px) and (max-width: 767px) {
    .image-block {
        max-width: 350px;
        margin: 0 auto;
    }
    .profile-inner-section {
        justify-content: center;
    }
    body .cosa-column {
        width: 49.1%;
    }
}
/***************************************************************************************/
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .hfg-slot.c-left {
        width: 100%;
        margin-left: -15px;
    }
}
@media only screen and (min-width: 393px) and (max-width: 851px) {
    /*31-10-2023*/
    /*.inner-contact-wrap {
        padding-left: 100px !important;
        bottom: -2px;
    }
    .inner-contact-wrap {
        padding-left: 100px !important;
        bottom: -2px;
    }*/
    /*31-10-2023*/
    footer .inner-contact-detail-wrap .inner-contact-wrap::before {
        background-position: 14px -153px;
        margin-left: -2px;
    }
    body footer .container .left figure {
        max-width: 170px;
        margin-top: 7px;
    }
    footer.site-footer .footer-top-inner .row {
        grid-template-columns: 1fr 2fr;
        width: 101%;
    }
    .footer--row .builder-item {
        width: 100%;
    }
    footer .inner-contact-detail-wrap .inner-contact-mail-wrap::before {
        background-position: 16px -213px;
        margin-left: -2px;
    }
    .emails-wrap {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-left: -2px;
    }
}
@media only screen and (min-width: 375px) and (max-width: 667px) {
    footer .inner-contact-detail-wrap .inner-contact-wrap::before {
        background-position: 14px -153px;
        margin-left: -2px;
    }
    body footer .container .left figure {
        max-width: 170px;
        margin-top: 7px;
    }
    footer.site-footer .footer-top-inner .row {
        grid-template-columns: 1fr 2fr;
        width: 101%;
    }
    .footer--row .builder-item {
        width: 100%;
    }
    footer .inner-contact-detail-wrap .inner-contact-mail-wrap::before {
        background-position: 16px -213px;
        margin-left: -2px;
    }
    .emails-wrap {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-left: -2px;
    }
}
@media only screen and (min-width: 360px) and (max-width: 740px) {
    footer .inner-contact-detail-wrap .inner-contact-wrap::before {
        background-position: 14px -153px;
        margin-left: -2px;
    }
    body footer .container .left figure {
        max-width: 170px;
        margin-top: 7px;
    }
    footer.site-footer .footer-top-inner .row {
        grid-template-columns: 1fr 2fr;
        width: 101%;
    }
    .footer--row .builder-item {
        width: 100%;
    }
    footer .inner-contact-detail-wrap .inner-contact-mail-wrap::before {
        background-position: 16px -213px;
        margin-left: -2px;
    }
    .emails-wrap {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-left: -2px;
    }
}
@media only screen and (min-width: 280px) and (max-width: 653px) {
    footer .inner-contact-detail-wrap .inner-contact-wrap::before {
        background-position: 14px -153px;
        margin-left: -2px;
    }
    body footer .container .left figure {
        max-width: 170px;
        margin-top: 7px;
    }
    footer.site-footer .footer-top-inner .row {
        grid-template-columns: 1fr 2fr;
        width: 101%;
    }
    .footer--row .builder-item {
        width: 100%;
    }
    footer .inner-contact-detail-wrap .inner-contact-mail-wrap::before {
        background-position: 16px -213px;
        margin-left: -2px;
    }
    .emails-wrap {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-left: -2px;
    }
}