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

    h1 {
        font-size: 1em;
        margin-top: -10px;
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1.2em;
    }

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

    .hrmobile {
        border-top: 1px solid #002650;
        width: 100%;
        margin: 0px;
        padding: 0px;
        margin: 0 auto;
    }

    #menup {
        display: none;
    }

    .text-40 {
        font-size: 26px;
    }

    .text-center {
        text-align: center;
    }

    .mr20 {
        margin-right: 0px;
    }    
    
    /* Menu mobile -------------------------------------------------------------------------------------- Menu mobile */

.nav__container {
    position: absolute;
    padding: 0px 20px 30px;
    /* il primo valore è il margine superiore del menu mobile */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* These 2 below are all the magic: */
    overflow-y: auto;
    z-index: 9999;
    /* L’immagine + overlay trasparente */
    background-image: 
      linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), /* overlay nera 50% */
      url('../media/bg-cover.jpg');
    background-size: cover;
    background-position: center;
}  
    
#headerhome, .header {
    position: fixed;
    width: 100%;
    top: -80px;
    left: 0px;
    height: 80px;
    z-index: 9998;
    background: rgba(0,0,0,0.9);
    transition: 0.2s; /* Add a transition effect (when scrolling - and font size is decreased) */
    box-shadow: 0px 5px 8px -1px rgba(0,0,0,0.77);
}    
    
.mobile {
    display: block;
    margin-top: 120px;
}
    
#menupage {
    display: none;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100px;
    background: #ffffff;
    border-bottom: 3px solid #759b52;
    z-index: 90;
    transition: 0.5s;
    -webkit-box-shadow: 0px 5px 8px -1px rgba(0,0,0,0.77); 
    box-shadow: 0px 5px 8px -1px rgba(0,0,0,0.77);
}

.menuh {
    width: 65%;
    text-align: right;
}

#menup {
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.3);
    z-index: 9999;
}
    
    .menu {
        display: none;
        margin: 0 0 80px;
    }    

    .menu-item {
        font-size: 22px;
        font-weight: 300;
    }
    .menu-item a {
        padding: 10px 0;
    }
    
    
    
    #logomenu {
        display: block;
        height: 50px;
        margin-left: -10px;
        margin-top: 12px;
    }
    
    #logomenu1 {
        display: block;
        height: 50px;
        margin-left: -10px;
        margin-top: 0px;
    }
    
    
    #bg-menu-white {
        display: block;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 80px;
        background: #000000;
        text-align: left;
        padding-top: 3px;
        padding-left: 30px;
        border-bottom: 3px solid #29ccff;
        box-shadow: 0px 5px 8px -1px rgba(0,0,0,0.77);
    }
    
    #logomobile {
        display: block;
        position: relative;
        text-align: left;
        padding-left: 30px;
        padding-top: 0px;
    }
    
    .menumobile-item {
        color: #ffffff;
        font-size: 1.2em;
        padding: 25px;
        margin-bottom: 5px;
        border-radius: 0px;
    }    

    .mmobile-wrap {
        width: 100%;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }
    
    .menumobile-item-sub {
        font-size: 0.8em;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
/* HAMBURGER -------------------------------------------------------------------------------*/
    
    #hambhome {
        display: block;
    }    
    
.hamburger__container {
    display: block;
    position: fixed;
    float: right;
    width: 60px;
    height: 60px;
    cursor: pointer;
    top: 40px;
    right: 0px;
    z-index: 9999;
}

.hamburger {
    width: 1.20rem;
    height: 0.9375rem;
    position: fixed;
    top: 30px;
    right: 0px;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: rotate(0deg);
}
.hamburger i {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 0.1875rem;
    background: #ffffff;
    opacity: 1;
    transform: rotate(0deg);
    transition: all 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger i:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}
.hamburger i:nth-of-type(2) {
    top: 0.375rem;
    width: 1rem;
    transform-origin: left center;
}
.hamburger i:nth-of-type(3) {
    top: 0.75rem;
    transform-origin: left center;
}
.hamburger.open i:nth-of-type(1) {
    transform: rotate(45deg) translate(0, -0.0625rem);
    background: #ffffff;
}

.hamburger.open i:nth-of-type(2) {
    opacity: 0;
    width: 0%;
}
.hamburger.open i:nth-of-type(3) {
    transform: rotate(-45deg) translate(0, 0.0625rem);
    background: #ffffff;
} 
    
/* HAMBURGER 1 HOME -------------------------------------------------------------------------*/
    
    #hambhome1 {
        display: none;
    }        
    
.hamburger__container1 {
    display: block;
    position: fixed;
    float: right;
    width: 60px;
    height: 60px;
    cursor: pointer;
    top: 10px;
    right: 0px;
    z-index: 9999;
}

.hamburger1 {
    width: 1.20rem;
    height: 0.9375rem;
    position: fixed;
    top: 30px;
    right: 0px;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: rotate(0deg);
}
.hamburger1 i {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 0.1875rem;
    background: #ffffff;
    opacity: 1;
    transform: rotate(0deg);
    transition: all 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger1 i:nth-of-type(1) {
    top: 0;
    transform-origin: left center;
}
.hamburger1 i:nth-of-type(2) {
    top: 0.375rem;
    width: 1rem;
    transform-origin: left center;
}
.hamburger1 i:nth-of-type(3) {
    top: 0.75rem;
    transform-origin: left center;
}
.hamburger1.open i:nth-of-type(1) {
    transform: rotate(45deg) translate(0, -0.0625rem);
    background: #ffffff;
}

.hamburger1.open i:nth-of-type(2) {
    opacity: 0;
    width: 0%;
}
.hamburger1.open i:nth-of-type(3) {
    transform: rotate(-45deg) translate(0, 0.0625rem);
    background: #ffffff;
}     
    
/* HOMEPAGE --------------------------------------------------------------------------------*/

.video-container {
  width: 100%;
  height: 100vh;
}    
    
    #callnow {
        position: fixed;
        bottom: 0px;
        left: 0px;
        display: flex;
        width: 100%;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        background-color: #000000;
        z-index: 9989;
    }    
    
    .callnow-div {
        width: 50%;
        padding: 10px;
    }
    
    .callnow-button {
        width: 100%;
        height: 50px;
        background-color: #29ccff !important;
        line-height: 35px;
    }
    
#home-title {
    padding: 0px 20px 0px 20px;
    font-size: 0.9em;
}

#home-title-logo {
    width: 50%;
    margin-bottom: 0px;
}

#home-text {
    width: 90%;
    text-align: center;
    margin: 0 auto;
    font-size: 1.3em;
    font-weight: 500;
    padding-top: 60px;
}

.block-grey {
    display: none;
}

.block-blue {
    width: 100%;
    min-height: 120px;
    padding: 0px;
    padding-top: 30px;
}
    
.block-hour {
    width: 100%;
    min-height: 120px;
    padding: 0px;
    padding-top: 30px;
    background: none;
}    

.block-content {
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
    font-size: 16px;
}

.block-text {
    font-size: 24px;
    font-weight: 500;
}

#block-icon1 {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 34px;
}

#block-icon2 {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 36px;
}

#block-icon3 {
    position: absolute;
    top: 5px;
    left: 0px;
    font-size: 36px;
}

#bg-home {
    position: relative;
    width: 100%;
    /*height: 500px;*/
    height: 100vh;
    background-position: center;
    background-size: cover;
}

.services {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 30px;
}

.service-wrap {
    position: relative;
    width: 90%;
    margin: 0 auto;
    height: auto;
    border-radius: 8px;
    border: 3px solid #ffffff;
    background: #ffffff;
    margin-bottom: 60px;
    overflow:hidden;
    font-size: 18px;
}

.service-content {
    position: relative;
    width: 100%;
    top: 0px;
    padding: 30px;
    text-align: center;
    transition: 0.5s;
}

.service-img {
    height: auto;
    width: 100%;
}

.service-title {
    margin-top:20px;
}

.service-bar {
    border-top: 5px solid #0053ac;
    width: 70px;
    margin: 0px;
    padding: 0px;
    margin: 0 auto;
    margin-top: 20px;
}

.service-text {
    margin-top: 30px;
}

.service-wrap:hover {
    cursor: pointer;
    border: 3px solid #0053ac;
    background: #d6f3ff;
}

.service-wrap:hover .service-content {
    top: 0px;
}

.service-button {
    background: #0053ac;
    color: #ffffff;
    margin-top: 25px;
}



/* PAGE CONTENT ---------------------------------------------------------------------------------------*/

.content {
    margin-top: 80px;
}
    
.wrapper-full-green {
    min-height: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.wrapper-45,
.wrapper-full-green {
    position: relative;
    width: 100%;
}

.wrapper-1200 {
    position: relative;
    width: 90%;
}
    
.wrapper-1000 {
    width: 90%;
    padding-top: 0px;
    padding-bottom: 30px;
}

.wrapper-50 {
    width: 100%;
    margin-bottom: 50px;
}    

.wrapper-full {
    padding-top: 0px;
    padding-bottom: 24px;
}

.wrapper-45 {
    margin: 20px;
}

.wrapper-rw {
    width: 90%;
}

.wrapper-list {
    width: 100%;
}

.wrapper-list-check {
    width: 100%;
    text-align: center;
}  
    
#logorw {
    width: 90%;
    margin: 30px 0px;
}    
    
#wrap-remote {
    height: 700px;
    text-align: center;
}
    
.logo-div {
    width: 25%;
    margin-bottom: 30px;
}    
    
.h2-bar {
    border-top: 5px solid #3a5025;
    width: 70px;
    margin: 0px;
    padding: 0px;
    margin-top: 10px;
}

#pageheader {
    margin-top: 80px;
    width: 100%;
    height: 290px;
    background-position: center;
    background-size: cover;
}

.pageheader-top {
    height: 290px;
}

#pageheader-company {
    width: 90%;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
}
    
    #pageheader-company h1 {
        font-size: 30px;
    }    

.page-content {
    padding-top: 60px;
    padding-bottom: 60px;
}

.img-round {
    width: 100%;
    border-radius: 70% 30% 70% 30%;
}

.img-round-h {
    height: auto;
    width: 90%;
    border-radius: 70% 30% 70% 30%;
}

.text-cont {
    text-align: center;
}
    
    .contacts-button {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 20px;
    }    

.wrapper-form {
    padding: 20px;
}
  
    
/* FORM contatti */


.form-wrap {
    width: 90%;
    padding-top: 60px;
    padding-bottom: 80px;
}

.form-title {
    font-size: 30px;
}

.form-subtitle {
    font-size: 20px;
}

    /* Footer */

    footer {
        padding-top: 80px;
        padding-bottom: 0px;
    }

    .footer-wrap {
        width: 95%;
        padding-bottom: 80px;
    }
}