/* ________________________________________________________
   ------------------------------------------------------
		Fonts					
*/

@font-face {
    /*	Casper Regular	*/
    font-family: Casper;
    src: url('./fonts/casper/Casper.eot');
    src: url('./fonts/casper/Casper.eot?#iefix') format('embedded-opentype'), url('./fonts/casper/Casper.woff') format('woff'), url('./fonts/casper/Casper.ttf') format('truetype'), url('./fonts/casper/Casper.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    /*	Casper Bold	*/
    font-family: Casper;
    src: url('./fonts/casper/Casper Bold.eot');
    src: url('./fonts/casper/Casper Bold.eot?#iefix') format('embedded-opentype'), url('./fonts/casper/Casper Bold.woff') format('woff'), url('./fonts/casper/Casper Bold.ttf') format('truetype'), url('./fonts/casper/Casper Bold.svg') format('svg');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    /*	Casper Italic	*/
    font-family: Casper;
    src: url('./fonts/casper/Casper Italic.eot');
    src: url('./fonts/casper/Casper Italic.eot?#iefix') format('embedded-opentype'), url('./fonts/casper/Casper Italic.woff') format('woff'), url('./fonts/casper/Casper Italic.ttf') format('truetype'), url('./fonts/casper/Casper Italic.svg') format('svg');
    font-style: italic;
    font-display: swap;
}

@font-face {
    /*	Casper Bold Italic	*/
    font-family: Casper;
    src: url('./fonts/casper/Casper Bold Italic.eot');
    src: url('./fonts/casper/Casper Bold Italic.eot?#iefix') format('embedded-opentype'), url('./fonts/casper/Casper Bold Italic.woff') format('woff'), url('./fonts/casper/Casper Bold Italic.ttf') format('truetype'), url('./fonts/casper/Casper Bold Italic.svg') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    /* Blair ITC Medium	*/
    font-family: Blair;
    src: url('./fonts/blair/Blair ITC Medium.eot');
    src: url('./fonts/blair/Blair ITC Medium.eot?#iefix') format('embedded-opentype'), url('./fonts/blair/Blair ITC Medium.woff') format('woff'), url('./fonts/blair/Blair ITC Medium.ttf') format('truetype'), url('./fonts/blair/Blair ITC Medium.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* ________________________________________________________
   ------------------------------------------------------
		Text				
*/

t1 {
    font-family: Casper, sans-serif;
    font-size: 100%;
}

t2
/* "Jump to:" text */

{
    font-family: Casper, sans-serif;
    font-weight: bold;
    font-size: 80%;
    line-height: 20px;
}

t3 {
    font-family: Casper, sans-serif;
    font-size: 80%;
    line-height: 20px;
}

h1 {
    letter-spacing: 0.01em;
    font-family: Casper, sans-serif;
    font-weight: bold;
    font-size: 200%;
    text-align: center;
}

h2 {
    font-family: Casper, sans-serif;
    font-weight: bold;
    font-size: 150%;
    line-height: 120%;
}

h3 {
    font-family: Casper, sans-serif;
    font-weight: bold;
    font-size: 120%;
}

body {
    font-family: Casper, sans-serif;
}

.jumpto {
    font-weight: bold;
    font-size: 80%;
    line-height: 20px;
}

.smalltext {
    font-family: Casper, sans-serif;
    font-size: 80%;
    line-height: 20px;
}


/*-----------------------------------------------
|	Lansdale Colors
|
| Putty 		- #BEB7A0 
| Jasmine Yellow 	- #F5D258
| Terra Cotta (orange)	- #D1692E
| Light Blue		- #C0E1ED
| Sky Blue (medium blue)- #2B74B7
| Dark Blue		- #1B4677
|----------------------------------------------*/

body {
    max-width: 1000px;
    /* background gradient */
    background: rgb(192, 225, 237);
    /* Old browsers */
    background: -moz-linear-gradient(top, rgba(192, 225, 237, 1) 0%, rgba(255, 255, 255, 1) 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(192, 225, 237, 1)), color-stop(52%, rgba(255, 255, 255, 1)));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(192, 225, 237, 1) 0%, rgba(255, 255, 255, 1) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(192, 225, 237, 1) 0%, rgba(255, 255, 255, 1) 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(192, 225, 237, 1) 0%, rgba(255, 255, 255, 1) 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, rgba(192, 225, 237, 1) 0%, rgba(255, 255, 255, 1) 100%);
    /* W3C */
    /* color after the gradient */
    background-color: #FFFFFF;
    /* gradient size */
    background-size: 100% 500px;
    background-repeat: no-repeat;
}

html,
body {
    margin-left: auto;
    margin-right: auto;
}

body.white {
    background-color: #FFFFFF;
}

div.white {
    background-color: #FFFFFF;
    padding: 10px;
    border: 2px solid #FFFFFF;
    border-radius: 3px 3px 2px 2px;
}


/* generic shadows */

div.white {
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.largeTable {
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

#header {
    -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 1);
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 1);
    box-shadow: 0 0 2px rgba(0, 0, 0, 1);
}


/* end generic shadows */

html {
    font-family: Casper, sans-serif;
}

.clear {
    clear: both;
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}


/* ________________________________________________________
   ------------------------------------------------------
		Header styling					
*/

#header {
    border-radius: 2px;
    /*background-color:#1B4677;*/
    background: url('/images/fullbkg3.webp');
    background-position: 0 -40px;
    color: #E0E0E0;
}

#header a {
    color: #EEEEEE;
    text-decoration: none;
    font-weight: bold;
    transition: .2s;
}

#header a:hover {
    transition: .2s;
    text-shadow: 0 0 5px #FFFFFF;
    text-decoration: none;
    color: #EEEEEE;
}

#LPL {
    text-shadow: 1px 1px 3px rgba(10, 10, 10, .4);
    margin-top: 0;
    line-height: .9em;
    font-family: Blair, Casper, sans-serif;
    font-weight: normal;
}

#headerbottom {
    width: 100%;
    text-align: center;
    padding-top: 5px;
    background: -moz-linear-gradient(top, rgba(53, 53, 53, 0) 0%, rgba(53, 53, 53, 0.6) 7%, rgba(53, 53, 53, 0.6) 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(53, 53, 53, 0)), color-stop(7%, rgba(53, 53, 53, 0.6)), color-stop(100%, rgba(53, 53, 53, 0.6)));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(53, 53, 53, 0) 0%, rgba(53, 53, 53, 0.6) 7%, rgba(53, 53, 53, 0.6) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(53, 53, 53, 0) 0%, rgba(53, 53, 53, 0.6) 7%, rgba(53, 53, 53, 0.6) 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(53, 53, 53, 0) 0%, rgba(53, 53, 53, 0.6) 7%, rgba(53, 53, 53, 0.6) 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, rgba(53, 53, 53, 0) 0%, rgba(53, 53, 53, 0.6) 7%, rgba(53, 53, 53, 0.6) 100%);
    /* W3C */
}

#headerinfo {
    text-align: center;
}


/* end header styling */


/* ________________________________________________________
   ------------------------------------------------------
		Main page block layout					
*/

.categoryblock,
.categoryblock2 {
    float: left;
    height: 210px;
    border-style: solid;
    background-color: #DEE;
    /* generic light blue */
    margin: 3px;
    /* fancy stuff*/
    border-width: 1px;
    border-color: #C0D0D0;
    border-radius: 2px;
    transition: .15s;
    -moz-box-shadow: inset 0 0 40px #D4E5E5, 0 4px 2px -2px #DDD;
    -webkit-box-shadow: inset 0 0 40px #D4E5E5, 0 4px 2px -2px #DDD;
    box-shadow: inset 0 0 40px #D4E5E5, 0 4px 2px -2px #DDD;
}

.categoryblock img {
    width: 100%;
    height: 160px;
}

.categoryblock.taller,
.categoryblock2.taller {
    height: 280px;
}

.categoryblock.st,
.categoryblock2.st {
    height: 240px;
}

.categoryblock:hover:not(.double)
/*, .categoryblock2:hover*/

{
    background-color: #C0E1ED;
    /*border-color:#A0C1CD;*/
    -moz-box-shadow: inset 0 0 40px #B5D6E2, 0 4px 2px -2px #DDD, 0 0 5px 0 #DDD;
    -webkit-box-shadow: inset 0 0 40px #B5D6E2, 0 4px 2px -2px #DDD, 0 0 5px 0 #DDD;
    box-shadow: inset 0 0 40px #B5D6E2, 0 4px 2px -2px #DDD, 0 0 5px 0 #DDD;
}

.categoryblock {
    width: 30%;
    text-align: center;
    line-height: 18px;
}

.categoryblock.double {
    width: 60.5%;
}

.categoryblock.full {
    height: 400px;
    width: 100%;
}

.categoryblocktext {
    letter-spacing: 0.02em;
    line-height: 1.1em;
    color: #222;
    font-size: 1.1em;
    padding-top: 1px;
    text-decoration: none;
}

.categoryblock2 {
    padding-top: 10px;
    text-align: center;
    width: 39%;
    line-height: 115%;
}

.ie .categoryblock {
    width: 29%;
}

.ie .categoryblock.double {
    width: 58.6%
}

.ie .categoryblock.full {
    width: 100%
}

.ie .categoryblock2 {
    width: 40%;
}


/* Block margins */

.leftblock {
    margin-left: 0;
    margin-right: .25%;
    /* make the width attribute count the border of the box, important for this setup */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.centerblock {
    margin-left: .25%;
    margin-right: .25%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.rightblock {
    margin-left: .25%;
    margin-right: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


/* end block margins */


/* end block page layout */


/* 
   largeTable .withHeaderCol:

   First column: Dark blue with white text
   Other columns: Light blue with black text
   White borders 
*/

.largeTable {
    border-collapse: collapse;
    padding-top: 10px;
}

.largeTable.withHeaderCol td {
    -moz-box-shadow: 0 5px 5px -5px #666;
    -webkit-box-shadow: 0 5px 5px -5px #666;
    box-shadow: 0 5px 5px -5px #666;
}

.largeTable td {
    padding: 8px 10px 8px 10px;
    background-color: #FFFFFF;
    vertical-align: top;
    line-height: 120%;
    border-radius: 2px;
    border: 2px solid #FFF;
}

.large3Column td {
    -moz-box-shadow: 7px 0 7px -7px #666;
    -webkit-box-shadow: 7px 0 7px -7px #666;
    box-shadow: 7px 0 7px -7px #666;
    border: 1px solid #DDD;
}

.largeTable .tableHeader,
.largeTable.withHeaderCol tr td:first-child {
    width: 25%;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #FFFFFF;
    background-color: #1B4677;
    font-style: italic;
    text-align: center;
    vertical-align: middle;
    /* gradient */
    background: rgb(33, 86, 140);
    /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, rgba(33, 86, 140, 1) 0%, rgba(27, 70, 119, 1) 100%);
    /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0%, rgba(33, 86, 140, 1)), color-stop(100%, rgba(27, 70, 119, 1)));
    /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover, rgba(33, 86, 140, 1) 0%, rgba(27, 70, 119, 1) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover, rgba(33, 86, 140, 1) 0%, rgba(27, 70, 119, 1) 100%);
    /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover, rgba(33, 86, 140, 1) 0%, rgba(27, 70, 119, 1) 100%);
    /* IE10+ */
    background: radial-gradient(ellipse at center, rgba(33, 86, 140, 1) 0%, rgba(27, 70, 119, 1) 100%);
    /* W3C */
    -moz-box-shadow: 4px 0 4px -4px #666;
    -webkit-box-shadow: 4px 0 4px -4px #666;
    box-shadow: 4px 0 4px -4px #666;
}

.largeTable tr td:first-child img {
    box-shadow: 0 0 2px #80919D;
}

.centered {
    text-align: center;
}

table.invis,
table.invis>td,
div.invis {
    padding: 0;
    padding-right: 10px;
    border: 0;
}

.centerh2s h2 {
    text-align: center;
}


/* smallTable - white bkg with horiz. lines separating rows */

.smallTable td,
.smallTable tr,
.smallTable {
    border-collapse: collapse;
    border-bottom: 1px solid #AAA;
    border-top: 1px solid #AAA;
    padding: 7px;
}

tr.smallTableHeader {
    font-weight: bold;
}


/* specific page styling */


/* kids page */

table.kidsbooks td {
    text-align: center;
    padding: 10px;
}

table.kidsbooks img {
    height: 120px;
}

img.readinglistimg,
.readinglistheaderimg img,
img.readinglistheaderimg {
    height: 120px;
    -webkit-box-shadow: 0 0 3px #111;
    -moz-box-shadow: 0 0 3px #111;
    box-shadow: 0 0 3px #111;
    transition: .2s;
}

img.readinglistheaderimg:hover,
.readinglistheaderimg img:hover {
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
}

.footertext {
    font-size: 80%;
    color: #999;
    font-weight: bold;
}

.footertext a {
    color: #67F;
}

.kidsbooks td {
    border: 0 solid #FFF;
    -moz-box-shadow: 0 0 0 #FFF;
    -webkit-box-shadow: 0 0 0 #FFF;
    box-shadow: 0 0 0 #FFF;
}


/*
  _____________________________________
  -----------------------------------
  Begin layout for smaller screens
  -----------------------------------
*/

@media (max-width: 850px) {
    .categoryblock.double,
    .categoryblock2.rightblock.taller,
    .categoryblock.full {
        display: block;
        width: 100%;
    }
    .extraSpace {
        display: none;
    }
}

@media (max-width: 600px) {
    /* Begin small screen header styling */
    #headerbottom {
        /* font-size:1.5em;*/
        line-height: 1.2em;
    }
    td.headerimagebox {
        display: none;
        /* hide logos from header */
    }
    #headerinfo {
        font-size: 0.7em;
        text-align: center;
    }
    .languageTD {
        position: absolute;
        margin-left: -40px;
        margin-top: -22px;
    }
    /* end small screen header styling */
    .largeTable.withHeaderCol tr td:first-child {
        display: none;
    }
    .largeTable.large3Column td {
        width: 95% !important;
        margin: auto;
        display: block;
        -moz-box-shadow: 0 0 3px #666;
        -webkit-box-shadow: 0 0 3px #666;
        box-shadow: 0 0 3px #666;
    }
    .splitTD {
        width: 95% !important;
        margin: auto;
        display: block;
    }
    .largeTable.large3Column {
        border: 0 solid #FFF;
        -moz-box-shadow: 0 0 0 #FFF;
        -webkit-box-shadow: 0 0 0 #FFF;
        box-shadow: 0 0 0 #FFF;
    }
    .whiteimg {
        display: none;
    }
    .kidsbooks td,
    .kidsbooks tr {
        display: inline-block;
        -moz-box-shadow: 0 0 0 #FFF !important;
        -webkit-box-shadow: 0 0 0 #FFF !important;
        box-shadow: 0 0 0 #FFF !important;
    }
}


/* -------------------------------
   End small screen styling
*/

#google_translate_element div {
    display: inline;
}

#google_translate_element div>div>span {
    vertical-align: initial;
}

.goog-te-gadget-simple {
    font-family: Casper, Arial, sans-serif !important;
    font-size: 15px !important;
    background: transparent !important;
    border: 0px solid #FFF !important;
}

.goog-te-gadget-simple img {
    display: none;
}

.goog-te-menu-value span {
    border-left-width: 0px !important;
}


/* debug help */


/* keep track of dead links*/

a.redlink,
.redlink div {
    color: #EE0000;
}