* {
    box-sizing: border-box;
}

html { overflow: hidden; overflow-y: auto;margin-top: 0 !important;}

body {
    color: #fff;
    font-family: 'Livory', serif;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    height: 100%;
}

body#index br {
    display: none;
}

header, nav, section, article, aside, footer {
   display:block;
}

#logo .toggle-menu {
    top: 22px;
}

#menu-main {
    margin-top: -15px;
    display: block;
}

p#logo a, #logo img {
    display: none;
}

.hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
    color: transparent;
}

section img {
    pointer-events: none;
    max-width: 500% !important;
}
/*-----------------------------------------------------------------------------------*/
/* Type */
/*-----------------------------------------------------------------------------------*/

h2, h2:first-child {
    font-size: 3em;
    text-align: left;
    text-transform: none;
    line-height: 110%;
    margin-top: 1em;
}

.paper h2:first-child, div.index-footer h2:first-child {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
}

div.index-footer h2:first-child {
    margin-top: 50px;
    margin-bottom: 15px;
}

.paper h2 {
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
    text-align: center;
}

.paper h3 {
    margin-top: 0;
    font-size: 2.25em;
    font-family: Livory, serif;
    font-weight: bold;
    margin-top: 0.25em;
    margin-bottom: 1em;
    color: #4B7FA4;
}

p {
    line-height: 140%;
    font-size: 1.26em;
}

.paper p {
    margin-bottom: 0;
    font-size: 1.75em;
    color: #6EA98E;
}

.paper p + p {
    margin-top: 0;
}
/*-----------------------------------------------------------------------------------*/
/* Links */
/*-----------------------------------------------------------------------------------*/

a {
    transition: all 0.2s ease-in-out;
}

div.index-footer a {
    display: inline-block;
    width: 70px;
    height: 70px;
    border-radius: 35px;
    margin-right: 15px;
    background: #99cc33;
    color: #fff;
}

div.index-footer a:hover {
    background: #034d83;
}

div.index-footer a i.fa {
    padding: 15px;
    font-size: 40px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
/*-----------------------------------------------------------------------------------*/
/* Containers & Objects */
/*-----------------------------------------------------------------------------------*/

section {
    width: 70%;
    max-width: 1000px;
    margin: 50px auto;
    padding: 50px;
}

.doodles {
    position: absolute;
    opacity: 0.3;
    z-index: -1;
}

.doodles:before,
.doodles:after {
    position: absolute;
    display: block;
    content: '';
}

.paper section {
    background: url(/images/handmade-paper.png) #eee;
    border-image: url(/images/handmade-paper-border.png) 5 5 5 5 repeat repeat;
    background-clip: padding-box;
    color: #604a27;
    text-align: center;
    position: relative;
}

.paper img {
    position: absolute;
    z-index: 10;
}

.paper .lavender {
    left: -255px;
    top: -225px;
}

.paper .smoothie {
    right: -200px;
    bottom: -220px;
}

.paper .red-berries {
    left: -201px;
    bottom: -450px;
}

.plate {
    position: relative;
    margin-top: 200px;
    min-height: 600px;
}

.plate img {
    position: absolute;
}

.plate .logo-on-plate {
    right: -150px;
    pointer-events: all;
}

.plate .carrot {
    left: -50px;
    bottom: -105px;
}

.plate .beetroot {
    right: -225px;
    bottom: -105px;
}

.board {
    padding: 0;
    margin-bottom: 150px;
    position: relative;
}

.chopping-board {
    margin-top: 100px;
    width: 100%;
}

.fruit-on-bg {
    position: relative;
    min-height: 550px;
    padding-left: 0;
    padding-right: 0;
    overflow: visible !important;
}

.fruit-on-bg img {
    position: absolute;
}

.fruit-on-bg .strawberries {
    right: -400px;
    top: -50px;
}

.fruit-on-bg .orange {
    top: -185px;
    left: -310px;
}

.fruit-on-bg .cashews {
    left: -200px;
}

.text-container {
    width: 510px;
    margin-bottom: 50px;
}

div.index-footer {
    text-align: center;
    background: repeat-x url(/images/wood.png) center bottom -530px;
}

div.index-footer section {
    margin-bottom: 0;
    padding-bottom: 50px;
}

/* Modal */

.modal-header button.close {
    background-color: transparent;
    margin-top: -2px;
    margin-bottom: 0;
    min-width: 0;
    font-family: Lato;
    color: #ccc;
    top: 5px;
    right: 0px;
    text-shadow: none;
}

.modal-content {
    color: #FDFDFD;
    background-color: #034d83 !important;
}

.modal-body {
    padding: 20px 30px 0 !important;
    font-size: 1rem;
    font-weight: normal;
}

.modal-body h1 {
    text-align: center;
    font-size: 3.25em;
    margin-bottom: 0.25em;
}

.modal-body label {
    position: absolute;
    left: -99999;
    top: -99999;
}

.modal-header {
    border: 0 !important;
    padding: 0 !important;
}

.modal-body .wpcf7-form p span:last-of-type {
    margin-bottom: 0;
}

.modal-body form {
    margin-top: 2rem;
}

.modal-body input[type=submit]:hover {
    background: #6EA98E;
}

/*-----------------------------------------------------------------------------------*/
/* Media Queries */
/*-----------------------------------------------------------------------------------*/

@media (min-width: 1001px) {
    section {
        width: 800px;
    }
    .plate .logo-on-plate {
        right: -50px;
    
}
    .plate .beetroot {
        right: -125px;
    }
    .plate .carrot {
        left: -115px;
    }
    /*--- Doodles --*/
    
    .paper section {
        background: no-repeat url(/images/paper-doodles-large.png) center 25px, url(/images/handmade-paper.png) #eee;
        background-clip: padding-box;
    }
    .paper .doodles {
        background: no-repeat url(/images/smoothie-doodle-large.png);
        bottom: -386px;
        right: -176px;
        width: 539px;
        height: 314px;
    }
    .paper .doodles:after {
        background: no-repeat url(/images/red-berries-doodle-large.png);
        width: 256px;
        height: 215px;
        left: -675px;
        bottom: -180px;
    }
    .board .doodles {
        background: no-repeat url(/images/chopping-board-doodles-large.png);
        width: 1599px;
        height: 1172px;
        left: -433px;
        top: -138px;    
        z-index: -1;
     }
    .fruit-on-bg .doodles {
        background: no-repeat url(/images/fruit-on-bg-doodles-large.png);
        width: 1756px;
        height: 830px;
        top: 77px;
        left: -378px;
    }
}

@media (max-width: 1000px) {
    .doodles {
        opacity: 0.4;
    }

    .paper section {
        padding-bottom: 100px;
    }

    .paper .smoothie {
        bottom: -275px;
    }
    .plate {
        margin-top: 365px;
        min-height: 700px;
    }
    .plate .carrot {
        left: -175px;
        bottom: -80px;
    }
    .plate .beetroot {
        right: -25px;
        bottom: -85px;
    }
    .fruit-on-bg .strawberries {
        right: -320px;
        width: 485px;
    }
    .fruit-on-bg .orange {
        width: 290px;
        left: -250px;
    }
}

@media (min-width: 701px) and (max-width: 1000px) {
    section {
        width: 600px;
    }

    .paper section {
        background: no-repeat url(/images/paper-doodles-medium.png) center -41px, url(/images/handmade-paper.png) #eee;
        background-clip: padding-box;
    }

    .paper section h2 {
        margin-top: 1em;
    }
    .board {
        margin-bottom: 200px;
    }
    .plate .logo-on-plate {
        right: 16px;
        top: 100px;
    }

    .plate .doodles {
          background: no-repeat url(/images/logo-on-plate-doodles-medium.png);
          width: 1006px;
          height: 1444px;
          top: -545px;
          right: -213px;
    }

    .fruit-on-bg .doodles {
        background: no-repeat url(/images/fruit-on-bg-doodles-medium-top.png), no-repeat url(/images/fruit-on-bg-doodles-medium-bottom.png) left bottom;
        width: 1006px;
        height: 1266px;
        top: -190px;
        right: -205px;
    
        overflow: visible !important;
}
    .text-container {
        width: 400px;
    }
    div.index-footer h2 {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 700px), (max-device-width: 480px) {
    section {
        padding-left: 20px;    
        padding-right: 20px;
    }

    section, .paper {
        max-width: 400px;    
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .doodles {
        opacity: 1;
    }

    .paper section {
        background: no-repeat url(/images/paper-doodles-small.png) right 10px, url(/images/handmade-paper.png) #eee;
        background-clip: padding-box;    
        min-width: 320px;
        max-width: 100%;
    }
    .paper section h2 {
        margin-top: 1em;
    }
    
    .paper .red-berries {
        width: 580px;
        bottom: -370px;
        right: 63px;
        left: inherit;
    }
    .paper .smoothie {
        width: 300px;
        bottom: -205px;
    }
    .plate {
        min-height: 850px;
    }
    .plate .logo-on-plate {
        right: initial;
        transform: translateX(-25%);
    }
    .plate .beetroot {
        right: -50px;
        bottom: 70px;
    }

    .plate .doodles {
          background: no-repeat url(/images/logo-on-plate-doodles-small.png);
          width: 707px;
          height: 1480px;
          top: -545px;
          right: -164px;
    }
    .fruit-on-bg .orange {
        left: -90px;
        top: -110px;
        width: 250px;
    }
    .fruit-on-bg .strawberries {
        top: -135px;
        width: 350px;
        right: -180px;
    }
    .fruit-on-bg .cashews {
        right: -100px;
        left: initial;
    }

    .fruit-on-bg > .doodles {
        background: no-repeat url(/images/fruit-on-bg-doodles-small.png);
        width: 366px;
        height: 330px;
        top: -138px;
        right: 153px;
    }
    .text-container {
        margin-top: 180px;
        width: 100%;
        position: relative;
    }

    .text-container .doodles {
        background: no-repeat url(/images/text-container-doodles-small.png);
        width: 707px;
        height: 310px;
        bottom: -305px;
        right: -155px;
    }
    
    div.index-footer {
        margin-top: 200px;
    }

    div.index-footer h2 {
        font-size: 1.5em;
    
        margin-top: 4em;
    }

    .modal-body {
        font-size: 0.8rem;
    }
}

 @media only screen and (max-device-width: 480px) {
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    section {
        width: 100%;    
        max-width: 100% !important;
    }

    .paper section {
        width: calc(100% - 40px);    
        min-width: 0;
        font-size: 0.85em;
    }

    section.board {
        padding-left: 20px;
        padding-right: 20px;
    }

    .text-container {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .plate .logo-on-plate {
        right: -25%;
        transform: none;    
        width: 150%;
    }

    .plate .carrot {
        bottom: -140px;
        z-index: 2;
    }

    .fruit-on-bg .orange {
        left: -148px;
    }

    .fruit-on-bg .cashews {
        right: -80px;
    }
}

@media (max-width: 700px) {
    .row-main {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* IE8 */

.ie8 body {
    overflow: auto;
    font-family: Livory, serif;
    font-style: normal;
    width: 1024px;
}

.ie8 #menu-main {
    width: 100%;
    position: absolute;
    top: 20px;
    text-align: center;
}

.ie8 #menu-main li {
    display: inline;
}

.ie8 #menu-main .current-menu-item a {
    color: #5BC0B2;
}

.ie8 section {
    margin-left: 50px;
    margin-right: 50px;
    display: block;
}

.ie8 .paper,
.ie8 section.board,
.ie8 section.fruit-on-bg {
    width: 800px;
}

.ie8 section.board {
    margin-top: 465px;
}

.ie8 .paper section {
    margin-left: 0;
    margin-right: 0;
    width: 90%;
}

.ie8 .text-container h2 {
    color: #fff;
}

.ie7 #loader,
.ie8 #loader ,
.ie8 .index-footer {
    display: none;
}

.ie8 .beetroot, .ie8 .orange, .ie8 .carrot {
    display: none;
}

.ie8 .plate .logo-on-plate {
        right: 150px;
        top: -10px;  
}

.ie8 #myModal1 {
    display: block !important;
}

.ie8 .modal-content, .ie8 #myModal1 {    
    background: transparent !important;
    border: 0 !important;
    text-align: center;
}

.ie8 .modal-header button.close {
    display: none;
}