/* ==================================================================================================
Theme Name:     Mobile mowers theme
Description:    custom theme running genesis framework
Author:         visualisecreative
Template:       genesis
====================================================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Phudu:wght@300;400;500;600;700;800;900&display=swap');

/* ===================================================================================
Site wide and Basics [body, .entry-content, h1 - h6 etc]
=================================================================================== */
body {
    line-height:1.4;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6, p {
    margin-bottom:20px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Phudu', cursive;
}
a, a:hover {
    text-decoration:none;
}

.post-edit-link,
.entry-header {
    display:none;
}

/* ===================================================================================
Custom classes - site wide [Layouts, alignments, spans, headers, link classes etc]
=================================================================================== */
.clearfix {
    clear:both;
    overflow:hidden;
}

.pagewrap {
    max-width:1600px;
    margin:auto;
}

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

.margin-b-0 {
    margin-bottom:0;
}
.margin-b-20 {
    margin-bottom:20px;
}
.margin-b-50 {
    margin-bottom:50px;
}
.margin-b-100 {
    margin-bottom:100px;
}

.inlinelist li {
    display:inline-block;
}

.green {
    color:#198942;
}

.button {
    background-image:url(https://www.mowbilemowers.co.uk/wp-content/uploads/2023/03/buttonbg.png);
    background-repeat:no-repeat;
    background-position:center;
    background-size:auto;
    border-radius:35px;
    color:#fff;
    font-weight:bold;
    -webkit-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.75);
}
.button1 {
    font-size:36px;
    padding:10px 30px;
}
.button2 {
    font-size:22px;
    padding:5px 20px;
}

.flexwrap {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* ===================================================================================
Custom Header
=================================================================================== */

.site-header {
    position:fixed;
    width:100%;
    top:0;
    z-index: 99;
    background-image:url(https://www.mowbilemowers.co.uk/wp-content/uploads/2023/03/header-bg.png);
    background-repeat:no-repeat;
    background-position:center;
    background-size:auto;
    height:135px;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.75);
}
.logged-in .site-header {
    top:32px;
}
.site-header .wrap {
    max-width:100%;
    margin:0 auto;
}
.site-header #info {
    text-align:right;
}
.site-header #info ul {
    display:inline-block;
    background-color:#0c8436;
    margin-top: 32px;
}
.site-header #info li {
    padding:5px;
}
.site-header #info li a {
    padding:5px;
    color:#fff;

}
.site-header #info li:first-of-type img {
    /*max-width:15px;*/
}
.site-header #info li:first-of-type {
    font-size:26px;
    font-weight:bold;
}
.site-header #logo {
    display:block;
    margin:0 auto;
    max-width: 100%;
}

.site-header .flexbox {
    width:33.33333333333%;
}

/* ===================================================================================
Navigation menu
=================================================================================== */



/* ===================================================================================
Custom Footer
=================================================================================== */
.site-footer {
    background-color:#198942;

}
.site-footer .wrap {
    max-width:100%;
}
.site-footer .flexwrap {
    max-width:1600px;
    padding:50px 10px;
    margin:auto;
}
.site-footer,
.site-footer a {
    color:#fff;
}
.site-footer #after {
    font-size:13px;
    background-color:#dce9ae;
    padding:10px;
}
.site-footer #after,
.site-footer #after a {
    color:#000;
}
.site-footer h3 {
    color:#dce9ae;
}
.site-footer .flexbox {
    width:31%;
    margin:1%;
}
.site-footer .flexbox .inlinelist li {
    padding:0 5px;
}

.site-footer #grass {
    margin:auto;
    display:block;
    width:100%;
}

/* ===================================================================================
Page specific content
=================================================================================== */
#homepage #intro,
#homepage #servicesintro,
#homepage #otherintro {
    padding:50px 10px;
}
#homepage #intro .flexbox {
    width:46%;
    margin:2%;
}

#homepage #servicesintro .flexbox {
    width:31%;
    margin:1%;
}

#about .flexbox {
    width:46%;
    margin:2%;
}
#about .flexbox #one {
    width:50%;
    margin-left: 50%;
}
#about .flexbox #one h2 {
    background-color:#198942;
    color:#fff;
    padding: 5px 25px;
}
#about .flexbox #one img {
    display:block;
}
#about .flexbox #two {
    position:relative;
    background-color:#198942;
    color:#fff;
    padding: 5px 25px;
}
#about .flexbox #two .centered {
    max-width:50%;
}
#about .flexbox #two img {
    position:absolute;
    top:0;
    bottom:0;
    right:100px;
    margin:auto;
    max-width:40%;
}
#about .flexbox #inner {
    padding-right: 40%;
}

.post .entry-header {
    display:block;
}
.post .entry-header .entry-title a {
    color:#198942;
}
.post a {
    color:#198942;
}
.blog .post {
    padding:20px;
    -webkit-box-shadow: 0px 0px 5px 5px rgba(25,137,66,0.75);
    -moz-box-shadow: 0px 0px 5px 5px rgba(25,137,66,0.75);
    box-shadow: 0px 0px 5px 5px rgba(25,137,66,0.75);
    margin-bottom:50px;
}
.blog .post .post-image {
    width:100%;
}
.blog .content,
.single .content {
    margin-bottom:50px;
}
.blog .post .button {
    color:#fff;
}


#contact .flexbox {
    width:46%;
    margin:2%;
}
#contact .flexbox a {
    color:#000;
}

/* ===================================================================================
Widgets and page Addons
=================================================================================== */

.pricelist {
    border:4px solid #dce9ae;
    padding:4px;
    margin-bottom: 50px;
}
.pricelist .inner {
    background-color:#198942;
    color:#fff;
    padding: 50px;
}
.pricelist .inner h1 {
    color:#dce9ae;
}
.pricelist .inner .flexwrap {
    align-items: center;
}
.pricelist .inner .flexbox h2 span{
    font-weight:400;
    font-size:18px;
}
.pricelist .inner .one {
    width:20%;
}
.pricelist .inner .two {
    width:65%;
}
.pricelist .inner .three {
    width:15%;
}

/* ===================================================================================
Sliders + Featured Images
=================================================================================== */
#feature {
    height:100vh;
    background-image:url(https://www.mowbilemowers.co.uk/wp-content/uploads/2023/05/feature2.png);
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
    position:relative;
    background-attachment:fixed;
}
#feature #text {
    position:absolute;
    top:80px;
    bottom:0;
    right:50px;
    margin:auto;
    height:fit-content;
    width:fit-content;
}
#featuredimage {
    margin-bottom:25px;
}

/* ===================================================================================
Forms
=================================================================================== */
.nf-form-fields-required {
    display:none;
}
.checkbox-wrap label {
    font-size:12px!important;
    font-weight:normal!important;
}
.nf-form-title {
    text-align:center!important;
    font-size:36px!important;
    color:#fff!important;
}
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
    background-image:url(https://www.mowbilemowers.co.uk/wp-content/uploads/2023/03/buttonbg.png)!important;
    background-repeat:no-repeat!important;
    background-position:center!important;
    background-size:auto!important;
    border-radius:35px!important;
    color:#fff!important;
    font-weight:bold!important;
    -webkit-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.75)!important;
    -moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.75)!important;
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.75)!important;
    font-size:36px!important;
    padding:10px 30px!important;
    height:auto!important;
    width: 70%;
}
#nf-form-1-cont {
    background-color:#198942!important;
    padding:35px;
}
#nf-form-1-cont p,
#nf-form-1-cont .checkbox-wrap label {
    color:#fff;
}

/* ===================================================================================
Animations
=================================================================================== */
.arrow{
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.arrow span{
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid #fff;
    border-right: 5px solid #fff;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}
.arrow span:nth-child(2){
    animation-delay: -0.2s;
}
.arrow span:nth-child(3){
    animation-delay: -0.4s;
}
@keyframes animate {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-20px,-20px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(20px,20px);
    }
}


/* ===================================================================================
Responsive CSS
=================================================================================== */

@media only screen and (max-width: 1700px) {
    .site-header #info ul {
        background-color:transparent;
        margin-top:0;
    }
    .site-header #info li {
        background-color: #0c8436;
    }
    #feature #text {
        right: 0;
        left: 0;
    }
}
@media only screen and (max-width: 1200px) {
    .site-header #info {
        display:none;
    }
    .site-header .flexbox {
        width:100%;
    }
    .site-header #logo {
        max-width:300px;
    }

    .button1 {
        font-size:26px;
    }

    #homepage #intro .flexbox,
    #about .flexbox,
    #contact .flexbox {
        width:98%;
    }
    #homepage #servicesintro .flexbox,
    .site-footer .flexbox {
        width:99%;
    }
    #homepage #servicesintro .flexbox,
    #contact .flexbox {
        margin-bottom:35px;
    }
    .wrap {
        padding:0;
    }
    #about .flexbox #one {
        width:100%;
        margin-left:0;
        text-align:center;
    }
    #about .flexbox #two .centered {
        width:100%;
        max-width:100%;
    }
    #about .flexbox #two img {
        position:unset;
        display:block;
    }
    #about .flexbox #inner {
        padding-right:0;
    }
}
@media only screen and (max-width: 960px) {
    .nav-primary {
        left: -100%;
        width: 100%;
        background-image: none;
    }
}

@media only screen and (max-width: 800px) {
    .pricelist .inner {
        padding:15px 15px 30px 15px;
    }
    .pricelist .inner .one {
        display:none;
    }
    .pricelist .inner .two {
        width:75%;
    }
    .pricelist .inner .three {
        width:25%;
    }

    /*#featuredimage img {
        display:none;
    }
    #featuredimage {
        height: 135px;
    }*/

    #featuredimage {
        display:none;
    }
    .site-header {
        margin-bottom:35px;
    }
    .home .site-header {
        margin-bottom:0;
    }

    #feature {
        background-attachment:unset;
        background-image:url(https://www.mowbilemowers.co.uk/wp-content/uploads/2023/05/sf.png);
    }
    #feature #text img {
        margin-bottom:10px;
    }
}

@media only screen and (max-width: 600px) {
    .site-header {
        position: relative;
    }
    .logged-in .site-header {
        top:0;
    }
    #featuredimage {
        margin-bottom:50px;
        height: 135px;
    }
}
