/*******************/
/********Fonts******/
/*******************/

@import url(//fonts.googleapis.com/css?family=Lora|Handlee);


html{
    font-size: 1em;
}

body {
    background: url('/Images/wood-background.jpg') repeat;
    overflow-x:hidden;
}

/*******************/
/*****Typography****/
/*******************/

h1,
h2,
h3,
h4{
    font-family:'Handlee', sans-serif;
    font-weight:700;
    line-height:100%;
    text-align:center;
}

h1{
    margin:5px 0;
    font-size:3.375em;
}

h2{
    font-size:2.25em;
    margin:0;
}

h3{
    font-size: 1.5em;
    margin:0;
}

h4{
    font-size: 1.2em;
    margin:2em 0 0 0;
}

.wrapper {
    display: block;
    margin: auto;
    max-width: 900px;
    width: 100%;
}

.iframe {
    aspect-ratio: 16/9;
    box-shadow: 0 5px 8px rgba(0,0,0,.5);
    margin: 0 auto 2rem;
    width: 100%;
}

.home h1{
    color:#ed1d24;
}

.home header h1{
    color:white;
}

.about h1{
    color:#ee8423;
}

.blog h1{
    color:#a98935;
}

.creative-team h1{
    color:#92c83e;
}

.project-partners h1{
    color:#56c5e9;
}

.contact h1{
    color:#a7489b;
}

.home h2{
    color:#ed1d24;
}

.about h2{
    color:#ee8423;
}

.blog h2{
    color:#a98935;
}

.creative-team h2{
    color:#92c83e;
}

.project-partners h2{
    color:#56c5e9;
}

.contact h2{
    color:#a7489b;
}

.home h3{
    color:#ed1d24;
}

.about h3{
    color:#ee8423;
}

.blog h3{
    color:#a98935;
}

.creative-team h3{
    color:#92c83e;
}

.project-partners h3{
    color:#56c5e9;
}

.contact h3{
    color:#a7489b;
}

p,
.contact-form label{
    font-family:'Lora', serif;
    font-weight:400;
    color:black;
    margin:1em 0;
    line-height:1.5;
}

.largeText{
    font-size:1.2em;
    font-weight:700;
}

.red{
    color:#ed1d24;
    font-weight:bold;
    font-size:.8em;
}

/*******************/
/**Buttons & Links**/
/*******************/

a,
a:visited{
    text-decoration:none !important;
    transition:all .25s ease;
}

section a{
    font-family:'Handlee', sans-serif;
    font-weight:700;
    text-decoration:underline;
    color:initial;
}

section a:hover{
    text-decoration:underline;
}

section a:visited{
    text-decoration:underline;
}

.buttonWrp{
    padding:1em 0;
}
.buttonWrp:first-child{
    padding-top:0;
}
.buttonWrp:last-child{
    padding-bottom:0;
}

    .buttonWrp .button{
        display:block;
        width:100%;
        margin:1rem 0;
    }
    .buttonWrp .button:first-child{
        margin-top:0;
    }
    .buttonWrp .button:last-child{
        margin-bottom:0;
    }
    .mobileBookWrp .buttonWrp .button{
        display:inline-block;
        width:auto;
    }

.button{
    display:inline-block;
    cursor:pointer;
    color:white !important;
    font-family:'Handlee', sans-serif;
    font-weight: 700;
    line-height:100%;
	text-decoration:none;
    text-align:center;
    padding:20px;
    border:none;
    margin:0;
    border-radius:20px;
    box-shadow:0 5px 5px rgba(0,0,0,.5);
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -ms-transition: all 0.25s;
    transition: all 0.25s;
}

.button.whiteBtn{
    color:#ed1d24 !important;
    background:url('/Images/white-paper.jpg') repeat !important;
}

.button:hover{
    text-decoration:none;
    transform:translateY(-5px);
    -webkit-transform:translateY(-5px);
    -moz-transform:translateY(-5px);
    -o-transform:translateY(-5px);
    -ms-transform:translateY(-5px);
    box-shadow:0 10px 8px rgba(0,0,0,.5);
}

.button:active{
    text-decoration:none;
    transform:translateY(0);
    -webkit-transform:translateY(0);
    -moz-transform:translateY(0);
    -o-transform:translateY(0);
    -ms-transform:translateY(0);
    box-shadow:0 1px 1px rgba(0,0,0,.5);
}

.button.selected{
    border: 15px solid transparent;
    padding:5px;
}

.button-content p{
    margin:0;
}

.selected .tape{
    top:-15px;
}

.closeBtn{
    cursor:pointer;
    width:50px;
    height:50px;
    border-radius:15px;
    background:url('/Images/red-paper.jpg') repeat;
    position:relative;
}
    .closeBtn span{
        display:block;
        width:50%;
        height:4px;
        background:#ffffff;
        border-radius:2px;
        position:absolute;
        top:50%;
        left:50%;
        transform:translate(-50%, -50%) rotate(45deg);
    }
    .closeBtn span + span{
        transform:translate(-50%, -50%) rotate(-45deg);
    }

.lbButton{
    cursor:pointer;
}

.upBtn:before,
.backBtn:before{
    display:inline-block;
    margin-right:.5em;
    font-family:FontAwesome !important;
    color:inherit;
    font-size:inherit;
    vertical-align:baseline;
}

.upBtn:before{
    content:'\f139';    
}
.backBtn:before{
    content:'\f137';
}


/*******Home*********/



.home a,
.home a:visited{
    color:#ed1d24;
}

.home .button{
    background:url("/Images/red-paper.jpg") repeat;
    font-size:1.2em;
}

/*******About*********/


.about a,
.about a:visited{
    color:#ee8423;
}

.about .button{
    background:url("/Images/orange-paper.jpg") repeat;
}

.about .selected{
    border-color:#ee8423;
}

/*******Blog*********/

.blog a,
.blog a:visited{
    color:#a98935;
}

.blog .button{
    background:url("/Images/yellow-paper.jpg") repeat;
}

/*******Creative Team********/

.creative-team a,
.creative-team a:visited{
    color:#92c83e;
}

.creative-team .selected{
    border-color:#92c83e;
}

.creative-team .body-content .button{
    background:url("/Images/green-paper.jpg") repeat;
    font-size:1.2em;
}


/*********Project Partners********/

.project-partners a,
.project-partners a:visited{
    color:#56c5e9;
}

.project-partners .selected{
    border-color:#56c5e9;
}

.project-partners .selected:hover{
    box-shadow:0 5px 5px rgba(0,0,0,.4);
    transform:translateY(0);
}

.project-partners .selected .button-content{
    cursor:default;
    padding:0;
    width:170px;
    height:70px;
}

.project-partners .body-content .button{
    background:url("/Images/blue-paper.jpg") repeat;
    font-size:1.2em;
}


/*********Contact*******/

.contact a,
.contact a:visited{
    color:#ed1d24;
    text-decoration:none;
}

.contact .button{
    background:url("/Images/violet-paper.jpg") repeat;
    box-shadow:0 5px 5px rgba(0,0,0,.4);
}

/*******************/
/******GENERAL******/
/*******************/
html,
html *{
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

.clear{
    clear:both;
}

.contentWrp{
    width:100%;
    max-width:1200px;
    /*padding: 0 1em;*/
    margin:0 auto;
    position:relative;
}

.own-size .paper-texture:first-of-type{
    z-index:2;
}

.overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: all .5s ease;
    visibility: hidden;
    opacity: 0;
}
.letterWrp{
    margin-top:75px;
}

.letter{
    width:100%;
    max-width:650px;
    height:400px;
    margin:0 auto;
    position:relative;
    transform:rotate(-5deg);
}

.letter-content{
    background:url("/Images/lined-paper.jpg") repeat-y center top / 100%;
    background-attachment:local !important;
    box-shadow:0 10px 5px rgba(0,0,0,.5);
    width:94%;
    height:90%;
    margin:0 auto;
    padding:2em 2em 2em 13%;
    text-align:left;
    overflow:hidden;
    position:relative;
    z-index:1;
}
    .letter-content *{
        text-align:left;
    }

.letter-content p{
    margin-bottom:1.7em;
}

.letter-content img{
    float:left;
    position:relative;
    left:-40px;
    margin:0 -50px -30px 0 !important;
}

.envelope,
.envelope-open{
    width:100% !important;
    height:auto;
    z-index:20;
}

.envelope{
    pointer-events:none;
    position:absolute;
    bottom:0;
    left:0;
    right:0;
}

.envelope-open{
    display:none;
}

.bookmark{
    cursor:pointer;
    color:#ffffff;
    z-index:10;
    position:absolute;
    right:65px;
    top:-40px;
    z-index:2;
    height:400px;
    width:125px;
    box-shadow:0 10px 5px 3px rgba(0,0,0,.5);
    border-radius:20px;
    transition: all .25s ease;
}

.redMark{
    background:url("/Images/red-paper.jpg") repeat;
}

.violetMark{
    background:url("/Images/violet-paper.jpg") repeat;
}

.bookmark:hover{
    transform:rotate(-3deg);
    margin-top:-10px;
    box-shadow:0 15px 8px 5px rgba(0,0,0,.5);
}

.bookmark h2,
.bookmark h3{
    font-size:1.5em !important;
    padding:1rem .5rem;
    color:white;
    text-align:center;
}

/********************/
/******LIGHTBOX******/
/********************/

.lightboxWrp{
    opacity:0;
    visibility:hidden;
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:100;
    transition:all .5s ease;
}
    .lightboxWrp .closeBtn{
        position:absolute;
        top:1em;
        right:1em;
        z-index:3;
    }

    .lightbox{
        width:100%;
        max-width:900px;
        max-height:calc(100vh - 2em);
        padding:0 1em;
        overflow-y:auto;
        overflow-x:hidden;
        position:absolute;
        top:50%;
        left:50%;
        z-index:2;
        transform:translate(-50%, -50%);
        -webkit-overflow-scrolling: touch;
    }
        .lightbox img{
            display:block;
            max-width:100%;
            margin:0 auto;
        }

        .lightbox .slick-slide{
            background:#ffffff;
            box-shadow:0 6px 24px rgba(0,0,0,.2);
        }

    .lightboxWrp .overlay{
        position:absolute;
        z-index:1;
    }

/*----- LIGHTBOX SLIDER -----*/
.lightboxWrp .sliderNav{
    pointer-events:none;
    padding:0 1em;
    display:none;
    align-items:center;
    justify-content:space-between;
    flex-wrap:nowrap;
    position:absolute;
    top:50%;
    left:0;
    right:0;
    z-index:3;
    transform:translateY(-50%);
}
    .lightboxWrp .sliderNav .arrow{
        pointer-events:auto;
    }

.isSlider .lightbox{
    padding:1em 3em;
}
.isSlider .lightbox img{
    width:100%;
}

/*----- LIGHTBOX CONTENT -----*/

.lightbox .letter-content{
    width:100%;
    height:auto;
    box-shadow:none;
}

/*----- REVEAL LIGHTBOX -----*/

.lightboxWrp.isSlider .sliderNav{
    display:flex;
}

.showLightbox .lightboxWrp,
.showLightbox .lightboxWrp .overlay{
    opacity:1;
    visibility:visible;
}

/*******************/
/******HEADER*******/
/*******************/

header .headingWrp{
    position:absolute;
    top:15px;
    left:0;
    right:0;
    z-index:2;
}

.home header .headingWrp{
    top:0;
}

header a.logo
{
    display: block;
	width:240px;
    margin:0 auto;
    transition:all .25s ease;
    transform:none;
}
header a.logo:hover{
    transform:scale(1.02);
}

header{
    text-align:center;
}

/*Home Page*/

.home header a.logo
{
	width:646px;
    top:10px;
    left:-323px;
}
    .home header a.logo img{
        display:block;
        width:100%;
        height:auto;
    }


.home header .heading{
    margin-top:-.5em;
    font-family:'Handlee', sans-serif;
    font-size:3.375em;
    font-weight:700;
    line-height:100%;
    text-align:center;
    color:white;
    text-shadow:0 5px 5px rgba(0,0,0,.4);
}


/*******************/
/*******BODY********/
/*******************/

/*********School Items**********/

.schoolItems{
    width:80%;
    text-align:center;
    margin:0 auto;
    overflow:hidden;
}

.schoolItems img{
    width:100%;
}

.schoolItems img + img{
    display:none;
}

/*******************/
/******Footer*******/
/*******************/

footer{
    padding:2em 1em;
    color:white;
}

footer .contentWrp{
    display:flex;
    flex-wrap:nowrap;
    align-items:flex-end;
    justify-content:space-between;
}

footer .icons{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    text-shadow:0 3px 3px rgba(0,0,0,.3);
}

footer .icons a{
    display:block;
    margin:0 1.5em;
    color:#ffffff;
    transition: all 0.25s ease;
}

footer .icons a:first-child{
    margin-left:0;
}
footer .icons a:last-child{
    margin-right:0;
}

footer .icons span{
    color:inherit;
    font-size:36px;
}

footer .icons a:hover,
footer .icons a:active{
    color:#ed1c24;
    text-shadow:0 5px 5px rgba(0,0,0,.3);
    transform: translateY(-5px);
}

footer .copyright{
    display:flex;
    flex-wrap:nowrap;
    justify-content:flex-end;
    align-items:center;
}

footer .legalCopy{
    text-align:right;
    font-family:'Lora', serif;
    font-weight:700;
    text-shadow:0 1px 1px rgba(0,0,0,.5);
}

footer .legalCopy a:hover{
    color:red;
    text-decoration:none;
}

/*****************************/
/***********HOME PAGE*********/
/*****************************/

.home .book .front-side img,
.home .front-side .bookPreview{
    display:none;
}

.home .p3 > p{
    font-family:'Handlee', sans-serif;
    font-weight:700;
    font-size:1.5em;
    width:450px;
    margin:100px auto;
    text-align:center;
}

.home .buy.button{
    position:absolute;
    right:-10px;
    bottom:-20px;
}

/*****************************/
/********ABOUT PAGE*********/
/*****************************/

.about .book-content img{
    box-shadow:0 2px 2px rgba(0,0,0,.4);
    width:100%;
}


/*****************************/
/********BLOG PAGE*********/
/*****************************/
.blog .paper-texture.heading{
    width:100%;
    max-width:600px;
    margin:20px auto;
    z-index:10;
}
    .blog .heading h1,
    .blog .heading h2{
        text-align:center;
    }
    .blog .heading h1{
        display:flex;
        flex-wrap:nowrap;
        justify-content:center;
        align-items:center;
    }

.blog header{
    background:url("/Images/open-book.png") no-repeat center bottom / 100% auto;
}

.blog .book-content img{
    margin-bottom:-10px;
}

.blog .letter-content{
    margin:0 auto 50px auto;
    padding:2em 2em 4em 10%;
    width:100%;
    max-width:650px;
    height:auto;
    overflow:visible;
}

.blog-entry h2,
.blog-entry h3{
    text-align:left;
    line-height:1.25;
}

.blog h2{
    font-size:1.5em;
}
.blog h3{
    font-size:1em;
}

.authorRow{
    display:flex;
    flex-wrap:nowrap;
    align-items:flex-end;
    justify-content:space-between;
    padding:1em 0;
}

.blog .letter{
    max-width:960px;
    height:auto;
    margin:4em auto;
    position:relative;
}

.blog-entry .letter:nth-of-type(odd){
    transform:rotate(1deg);
}

.blog-entry .letter:nth-of-type(even){
    transform:rotate(-1deg);
}

.blog .read-more{
    position:absolute;
    right:-.5em;
    bottom:-.5em;
}

.blog .read-more h3{
    padding:0 !important;
}
/*****************************/
/********CONTACT PAGE*********/
/*****************************/

.contact .book{
    background:url("/Images/open-book.jpg") no-repeat top center / contain;
    width:100%;
    max-width:1200px;
    min-height:800px;
    padding:20px 0;
    position:relative !important;
    left:0;
    transform:none !important;
}

.contact .paper-texture.heading{
    width:50%;
    margin:20px 0;
}

.contact .pencil-eraser{
    pointer-events:none;
    background:url("/Images/pencil-eraser.png");
    position:absolute;
    right:50px;
    bottom:100px;
    width:475px;
    height:400px;
}

.contact .schoolItems img:first-of-type{
    display:none;
}

.contact .schoolItems img + img{
    display:block;
    width:50%;
}

.contact .heading p{
    font-size:1.5em;
    margin:0;
}

.contact .email:before{
    font-family:FontAwesome !important;
    content:'\f0e0';
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    left:0;
    color:#a7489b;
    margin-right:1em;
}

.contact .phone:before{
    font-family:FontAwesome !important;
    content:'\f095';
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    left:0;
    color:#a7489b;
    margin-right:1em;
}

/********Contact Form***********/

.contact-form{
    padding-top:3em;
    padding-bottom:3em;
}

.contact-form label{
    margin:0 0 .5em 0;
}

.contact-form .editor-label{
    margin-bottom:5px;
}

.contact-form .editor-field{
    margin-bottom:12px;
}

.contact-form input[type="text"],
.contact-form textarea{
    width:100%;
    padding:1em;
    border:5px solid #a7489b;
    border-radius:15px;
    background:white;
    font-family:'Handlee', sans-serif;
    font-weight:700;
    font-size:16px;
    color:black;
}
    .contact-form input:focus,
    .contact-form textarea:focus{
        outline:0;
    }

.contact-form textarea{
    min-height:200px;
    margin-bottom:20px
}

#submitBtn{
    padding:.5em 1em;
    border:none;
    border-radius:5px;
    background:url("/Images/violet-paper.jpg") repeat;
    color:white;
    font-size:1.5em;
    margin-top:1em;
    box-shadow:0 5px 5px rgba(0,0,0,.5);
    transition: all 0.25s;
}

#submitBtn:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 8px rgba(0,0,0,.5);
}


/*******************************/
/********THANK YOU PAGE*********/
/*******************************/
.thankYouPg .letter{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    height:auto;
    min-height:300px;
    padding:2em;
    background:url('/Images/envelope-front.png') no-repeat center center / 100% 100%;
}