@media only screen and (max-width: 1600px) {
	
    #top_banner {
    position: relative;
    width: 100%;
    display: block;
    min-height: auto;
    padding: 120px 0;
}
     .home   #top_banner {
        position: relative;
        width: 100%;
        display: block;
        min-height: auto;
        padding: 90px 0 150px 0;
    }
    
    #top_banner h1 {
    margin-top: 0;
    font-size: 55px;
}
    
    .wrapper {
    max-width: 90%;
    }
    
}


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

    #top_banner h1 {
        margin-top: 0;
        font-size: 50px;
    }
    
    #top_banner p {
    font-size: 18px;
    margin: 0 0 30px 0;
    max-width: 800px;
}
    
}


@media only screen and (max-width: 1399px) {
#menu a {
    color: #000;
    font-size: 16px;
    margin-left: 25px;
}
    
    
    
  .home #top_banner {
        position: relative;
        width: 100%;
        display: block;
        min-height: auto;
        padding: 60px 0 150px 0!important;
    }
    
    #top_banner {
        position: relative;
        width: 100%;
        display: block;
        min-height: auto;
        padding: 60px 0 120px 0!important;
    }
    
}

@media only screen and (max-width: 1024px) {
    
    
    #gallery .wrapper > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
    
    #mobile_menu > img{position: absolute;
bottom: 20px;
left: 50%;
        width:200px;
transform: translateX(-50%);}
    
    
    #mobile_menu #menu{ position: absolute;
  top: 50%;
  left: 50%;
        width:90%;
  transform: translate(-50%, -50%);}
    
    #mobile_menu #menu a{color:#fff; display:block;}
    #gallery .wrapper > div a {
    position: relative;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}
    #mobile_open {
        display: block !important;
        background: url(https://rpkernowgarden.co.uk/wp-content/uploads/2025/09/openey_new.fw_.png);
        position: absolute;
        width: 60px;
        height: 60px;
        background-size: contain;
        background-repeat: no-repeat;
        top: 4px;
        right: 6px;
        z-index: 40;
    }
    
    #mobile_menu > a{
        
        position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 20px;
        
    }
    
        #mobile_menu #menu a {
        color: #fff;
        display: block;
        font-size: 25px;
        margin-bottom: 15px;
        text-align: left;
    }
    
    #mobile_menu #menu a:last-child{padding:0; background:none;}
    
       #mobile_close{
        display:block!important;
        background:url(https://rpkernowgarden.co.uk/wp-content/uploads/2025/09/ChatGPT-Image-Jun-24-2025-12_01_45-PM.png);
        position: absolute;
        width:50px;
        height:50px;
        background-size:contain;
        background-repeat:no-repeat;
       top: 4px;
        right: 6px;
        
    }
    
    #mobile_menu{
        
        position: fixed;
        background:linear-gradient(135deg, hsl(150 45% 25%), hsl(150 50% 35%));;
        height:100%; width:100%;
        z-index: 100;
        top: 0;
        left: 0;
        
    }
    
        #top_banner h1 {
        margin-top: 0;
        font-size: 43px;
    }
    
    .gform_wrapper.gravity-theme .gfield textarea.large {
    height: 288px;
    max-height: 200px;
}
    
    .home #top_banner {
        position: relative;
        width: 100%;
        display: block;
        min-height: auto;
        padding: 60px 0 100px 0 !important;
    }
   #top_banner{   padding: 50px 0 50px 0 !important;}

    #top_banner a {
    padding: 10px 30px;
    display: inline-block;
    border-radius: 8px;
    margin-right: 0;
    font-size: 19px;
    margin-bottom: 15px;
}
    
        #alternating .wrapper > div {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
    h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
}
    h3 {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 18px;
}
    
    #top_banner a:last-child{margin-bottom:0;}
#foot_1 img {
    width: 200px;
}
    
    .wrapper.smallest {
    max-width: 90%;
}
    input#gform_submit_button_1 {
    background: linear-gradient(135deg, hsl(150 45% 25%), hsl(150 50% 35%)) !important;
    color: #fff;
    text-align: center;
    padding: 5px 30px ! Important;
    border-radius: 8px;
    font-size: 18px !important;
    margin: 0 auto;
}
    #alternating .alternating_tile:nth-child(even) .text{order:0!important}
    
    #alternating .alternating_tile .text {
    padding: 0;
}
    #copyright a {
    color: orange;
    display: block;
    margin-top: 10px;
}
    
    #foot_1 a {
    font-size: 16px;
    color: #fff;
    display: block;
    margin-bottom: 15px;
}
    
    #alternating {
    padding: 50px 0;
    width: 100%;
    display: block;
    background: #fff;
}
    
    #footer .wrapper > div {
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
}
    

    #alternating .wrapper > div > div {
    position: relative;
    min-height: 250px;
}
    #service_grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
    
    .wave {
    position: absolute;
    width: 100%;
    height: 190px;
 
    bottom: -2px;
    background-size: cover !important;
    left: 0;
    background-position: 75% 100% !important;
}
    
    #logo {
    width: 220px;
}
    #header #menu{display:none;}
    
}
