/* cda at chuckswebgarage.com */
/*
  revised site 2/2016

*/

/* ----------------------
   page and site level setup
*/

/*
centered with a maxwidth
*/
html {
    max-width:1024px;
    margin:auto;
    /*background-color: rgba(246, 243, 10, 0.05);
    */
    /*background-image:url("../images/phi/phi_seq--1024-png24.png") ;
    background-position: center;
    */
}

/*
links
*/
.mylink{
    text-decoration:none;
    color: #107a98;
}
.mylink:hover{
    color: #2aba76;
}
p a {
    text-decoration:none;
    color: #107a98;
}
p a:hover{
    color: #2aba76;
}

li a {
    text-decoration:none;
    color: #107a98;
}
li a:hover{
    color: #2aba76;
}
#contents a {
    text-decoration:none;
    color: #107a98;
}
#contents a:hover{
    color: #2aba76;
}

/*
wraps each page providing a page outline and box shadow
*/
#page-container {
    outline:1px solid rgba(0, 77, 64, 0.73);

    -webkit-box-shadow: 0 0 15px 5px #DADFE3;
    box-shadow: 0 0 15px 5px #DADFE3;
}

img.centered-image{
    display:block;
    margin-left: auto;
    margin-right: auto
}

#cover-image{
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto
}


/* ------------------------------------*/
/* slick slider section */
/* overrides rules in the slick-slider  release package */
.slick-prev:before,
.slick-next:before
{
    font-family: 'slick',sans-serif;
    font-size: 36px;
    line-height: 1;

    /* changed from white to blue* opacity from .75 to .50 */
    opacity: .5;
    color: #016bb6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ---------------------------------------------------------------------- */
/* responsive text technique */
/* found at http://www.codenorris.com/responsive-text-css-only-method/  */

/* set up baseline for the responsive text container */
.responsiveText {
    font-size: 14px;
}

.responsiveText h1, h2, h3 {
    margin: 0;
    text-align: center;
    line-height: 100%;
}

/* determine and define the largest size font for each element */
.responsiveText h1 {    font-size: 2.0em;  }
.responsiveText h2 {    font-size: 1.5em;  }
.responsiveText h3 {    font-size: 1.2em;  }


/* set media breakpoints, adjusting the text size as needed */
@media all and (max-width: 2400px) {
    .responsiveText {
        font-size: 18px;
    }
}
@media all and (max-width: 1280px) {
    .responsiveText {
        font-size: 16px;
    }
}
@media all and (max-width: 1024px) {
    .responsiveText {
        font-size: 14px;
    }
}
@media all and (max-width: 768px) {
    .responsiveText {
        font-size: 12px;
    }
}
@media all and (max-width: 568px) {
    .responsiveText {
        /*
        font-size: 10px;
        */
        font-size: 12px;
    }
}
/* repeat as necessary */
/* end responsive text technique */
/* -------------------------------------------------------- */


/* --------------------------------
pure-css section
*/
/* color overrides for pure menu support */
.pure-menu-heading  { color: #2595db;  /*color: #1706ff*/
}
.pure-menu-link {  color:#2595db;  /* color:2595db;  this gave interesting results...*/ /* #1706ff*/
}
.pure-menu-active > .pure-menu-link, .pure-menu-link:hover, .pure-menu-link:focus {
    /* background-color: rgba(198, 238, 255, 0.93)*/
    background-color: rgba(198, 238, 255, 0);
    color: #202a2f;

}

/* change links to match color specified above
need to add hover and selected features as above. ......*/
.pure-menu-active > .pure-menu-link, .pure-menu-link:hover, .pure-menu-link:focus
 a {
    color: #202a2f;
    font-size:102%;
    /*color:#25b;*/
}

/* change links to match color specified above
need to add hover and selected features as above. ......*/
div.footer-container   a {
 color:#2595db;
}

div.footer-container   a:hover {
    color: #202a2f;
    font-size:102%;
    /*color:#25b;*/
}
/* *********************************************************
pure-css top line responsive menu support */
.custom-wrapper {
    background-color: rgba(15, 135, 255, 0.16);
    margin-bottom: 1em;
    -webkit-font-smoothing: antialiased;
    height: 2.1em;
    overflow: hidden;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
    padding-top:.35em;
}

.custom-wrapper.open {
    height: 16em;
}

.custom-menu-3 {
    text-align: right;
}

.custom-toggle {
    width: 34px;
    height: 34px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

.custom-toggle .bar {
    background-color: rgb(23, 6, 255);
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 18px;
    right: 7px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

@media (max-width: 47.999em) {
    .custom-menu-3 {
        text-align: left;
    }
    .custom-toggle {
        display: block;
    }
}

/*
When setting the primary font stack, apply it to the Pure grid units along
with `html`, `button`, `input`, `select`, and `textarea`. Pure Grids use
specific font stacks to ensure the greatest OS/browser compatibility.
*/
html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    /* Set your content font stack here: */
    font-family: Karma, "Times New Roman", serif;
}


/*  ----------------------------------------------------------------- */
/* --------------------------------------
    site level elements,
    created from arough analysis of existing site's content */

/*  site headings  */
h1.site-heading {
    font-family:Philosopher, "Times New Roman",serif;
    font-weight:400;
    font-size:270%;
}

span.net-aside{
 display:inline;
    font-size:60%;
    font-weight:200;
}

p.subtitle.site-tag-line{
    font-family:Philosopher, "Times New Roman",serif;
    font-weight:400;
    font-style:italic;
    font-size: 110%;
    color: #ff7010;
}


/* this font is only used on page 1 need not load it elsewhere */
h2.site-subheading{
    font-family:'Merienda One', "Times New Roman",serif;
    font-weight:400;
    font-size:100%;
    /*
    font-family:'Merienda One', "Times New Roman", serif;
    */
}

/* --------------------
page level elements
*/
h1.page-heading{
    font-size:250%;
}

.page-subheading{
    font-weight:300;
}


/* this font is used on all pages but only for this same phrase */
/* can optimize by loading only those characters in this phrase */
p.special-exhortation-large{
    font-family:'Alegreya SC',serif;
    color: #ff7010;
    font-size: 200%;
    line-height: 1em;
    }

p.special-exhortation{
    font-family:'Alegreya SC',serif;
    color: #ff7010;
    /*color: #ff1313;*/
    font-size: 120%;
    line-height: 1em;
}



/* --------------------------------------
BOOKS
*/
/* working up a book cover thumbnail size constraint*/
.book-cover-thumbnail{
    max-height: 200px;
    padding-bottom:4px;
    }

.thumbnail-book-cover{
    max-height: 200px;
    padding-bottom:4px;
}

p.thumbnail-book-title{
    font-size: 85%;
}

h2.thumbnail-book-heading{
    padding-top:.2em;
    padding-bottom:.5em;
    font-family: "Noto Sans","Open Sans","adagio_sansitalic", sans-serif;
    font-weight: 400;
    font-style:italic;
}

div.pure-u-20-24.book-border{
    margin:2px;
    padding-left:4px;
    border-width:1px;
    border-style: solid;
    border-color: rgba(255, 112, 16, 0.74);
    /*#cfcdbd;*/
}

.book-column-left{
    padding-right:4px;
    padding-left:4px}

.book-column-right{
        padding-left:4px}

.left-column-border{
    margin-left:2px;
    padding-left:5px;
    padding-right:0;

    border-left:1px;
    border-right:0;

    margin-top:2px;
    margin-bottom: 2px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-top:1px;
    border-bottom:1px;

    border-style:solid;
    border-color: #cfcdbd;}

.gutter-border{
    margin-left:0;
    margin-right:0;
    padding-left:0;
    padding-right:0;
    border-left:0;
    border-right:0;

    margin-top: 2px;
    margin-bottom: 2px;
    padding-top:5px;
    padding-bottom:5px;
    border-top:1px;
    border-bottom:1px;
    border-style:solid;
    border-color: #cfcdbd;
}

.right-column-border {
    margin-right:2px;
    padding-right:5px;
    border-right:1px;
    border-left:0;

    margin-top:2px;
    margin-bottom:2px;
    padding-top:5px;
    padding-bottom:5px;
    border-top:1px;
    border-bottom:1px;
    border-color: #cfcdbd;
    border-style: solid;
}

/* -------------------
buttons for book actions
these styles are added to a buttin with the pure-button class
 -----------------------
 */
.my-buy-it-button {
    font-size: 80%;
    line-height: 100%;
    font-family: "Noto Sans","adagio_sansitalic", sans-serif;
    color:white;
    background-color:#ff7010;
    border-radius: 2px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.my-read-more-button{
    font-size: 80%;
    line-height: 100%;
    font-family: "Noto Sans","adagio_sansitalic", sans-serif;
    color:white;
    background-color:#2595db;
    border-radius: 2px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.bottom-column-border{
    margin-bottom:2px;
    padding-bottom:5px;
    border-left:0;
    border-top:0;
    border-bottom:1px;
    border-right:0;

    border-color:#ff7010;
    /* #cfcdbd;*/

    border-style: solid;
}

p.book-edition-details{
    font-family:"noto sans",adagio_sansregular, sans-serif;
    font-size:80%;
    font-weight:300;
}



/* *****************************************
sticky footer support
this css is copied from sticky footer css example
at http://mystrd.at/modern-clean-css-sticky-footer/
*/
html {
  /*  position: relative; */
    min-height: 100%;
}
body {
    margin: 0 0 3em; /* bottom = footer height */
}
footer {
    /*
    position: absolute;
    left: 0;
    bottom: 0;
    */
    /*height: 6.5em;*/
    width: 100%;
    background-color: rgba(15, 135, 255, 0.16);

   /* background-color: rgba(15, 135, 255, 0.36); */
   /* background-color: rgba(0, 0, 0, 0.65);*/
}
/* end sticky footer code snip  */



/* ************************************
  footer styling
   */
.footer-container{
    padding-top:.8em;
    padding-bottom:.5em;
    font-family:"noto sans",adagio_sansregular, "Open Sans", sans-serif;
    font-weight:300;
    line-height: 110%;
    color: #000000;
}
.footer-container a {
    text-decoration: none;
    font-family:"noto sans",adagio_sansregular, "Open Sans", sans-serif;
    font-weight:300;
    font-size:80%;
    color: #2595db;
}

/*
section
article
item
*/

/* ****************************************************
this section defines borders for the content sections
*/
/* includes rules for split columns */
section.full-border{
    margin:2px;
    padding:5px;
    border-width:1px;

    border-style: solid;
    border-color: #cfcdbd;
}

.book-summary > h2{
    margin-top:.5em;
    margin-bottom:.5em;

    text-align:center;
    font-family: "noto sans",adagio_sansregular,sans-serif;
    font-weight:300;
    font-size:200%;
}

.book-summary > h3{
    margin-top:.5em;
    margin-bottom:.5em;

    text-align:center;
    font-family: "noto sans",adagio_sansregular,sans-serif;
    font-weight:400;
    font-size:200%;
}

section > h2{
    margin-top:.5em;
    margin-bottom:.5em;

    text-align:center;
    font-family: "noto sans",adagio_sansregular,sans-serif;
    font-weight:300;
    font-size:250%;
}

section > h3{
    margin-top:.5em;
    margin-bottom:.5em;

    text-align:center;
    font-family: "noto sans",adagio_sansregular,sans-serif;
    font-weight:400;
    font-size:200%;
}

article > h3{
    margin-top:.5em;
    margin-bottom:.5em;
    text-align:center;
    font-family: "noto sans",adagio_sansregular,sans-serif;
    font-weight:400;
    font-size:150%;
    line-height: 130%;

}
/* this nets out to a paragraph heading */
article > h4 {
    margin-top:.5em;
    margin-bottom: .5em;
    text-align:center;
    font-family:"noto sans",adagio_sansregular, sans-serif;
    font-weight: 300;
    line-height:135%;
    font-size: 100%;

}

article div.two-column{
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count:2;
    column-gap:1.5em;
}
/* required to tweak space taken up by the leading dev used to specify multi-column paragraphs. */
article div.two-column  p.multi-column-lead{
   margin-top:.02em;
}

article div.two-column p {
    margin-top:0em;
}



article div.three-column{
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count:3;
    column-gap:1.5em;
}
article div.three-column {
    margin-top:0;
}


article div.four-column{
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count:4;
    column-gap:1.5em;
    font-size:80%;
}
/* required to tweak space taken up by the leading dev used to specify multi-column paragraphs. */
article div.four-column  p.multi-column-lead{
    margin-top:0;
}
/* line height is 1.4 em so this keeps the vertical rythmn */
article div.four-column p {
    margin-top:0;
    margin-bottom:1.4em;
}



/* this div container class specifies that all contained paragraphs have the first line indented */
article div.indented {
     text-indent:1.5em;
 }


/* this specifies that only this paragraoh be indented */
p.indented{
    text-indent:1.5em;
}

/* this div container class specifies that all contained paragraphs have the first line indented */
article div.italic {
    font-style:italic;

}

/* single paragraph italic */
p.italic-paragraph{
    font-style:italic;
    line-height:1.1em;
}

/* in line paragraph heading */
span.inline-heading{
   font-weight:600;
}

span.italic { font-style:italic;}


p.nav-by-month a{
    font-size:120%
}
.event-location-callout{
    font-family:"Noto Sans","adagio_sansitalic",sans-serif;
    color:rgb(77,0,0);
    font-size:150%;
    text-align:left;
    margin-top:0;
    margin-bottom:.2em;
}
.event{
     padding-top:1em;
    /*background-image: url(../images/backgrounds/blue.gif);
    */
    margin-bottom:1em;
    background-color: rgba(135, 201, 255, 0.19);

    font-family:"Noto Sans","adagio_sansitalic",sans-serif;
    color:rgb(77,0,0);

    text-align:center;

    border:1px solid #f07146;
    border-radius:3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}

h3.event-title {
    font-weight:200;
    font-size:200%;
    text-align:center;
    line-height: 150%;
}

h4.event-subtitle{
    margin:4px;
    font-size:150%;
    font-weight:200;
}

p.event-location  {
    margin:0;
    padding:4px;

    font-size:130%;
    font-style:italic;
    background-color: rgba(135, 201, 255, 0.19);

    border:1px solid rgba(240, 113, 70, 0.64);
    border-radius:3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}
/* ff7010 */

p.event-dates{
    margin:0;
    padding:4px;

    font-size:130%;
    font-style: italic;
    background-color: rgba(135, 201, 255, 0.19);

    border:1px solid rgba(240, 113, 70, 0.64);
    border-radius:3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}

p.event-description{
    text-align:left;
    margin-left:2em;
    margin-right:2em;
    font-family:"karma","Times New Roman", "serif";
    color:black;
}

p.event-description.centered{
    text-align:center;
}

/* ************ tab support from pure-css components */
/*
@media (max-width:$screen-xs-max){}
@media (min-width:$screen-sm){}
@media (min-width:$screen-sm){}
*/
.tab{
    position:relative
}
.tab-painel{
    display:inline-block;
    min-height:150px;
}
.tab-painel .tab-open {
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0,0,0,0);
    border:0
}
.tab-nav{
    /*
    border:#aaa solid 1px;
    */
    border-bottom:#aaa solid 1px;
    cursor:pointer;
    font-size:1rem;
    display:inline-block;
    padding:5px 10px;
    margin-right:10px
}
.tab-nav:hover {
    background-color: #fdffdc;
    border-bottom:#0000ff solid 2px;
}

.tab-open,
.tab-open:checked ~ .tab-nav{
   /* background-color: #fcff85; */
    border-bottom:#0000ff solid 2px;
}
/*
.tab-open:focus:checked ~ .tab-nav{
    outline:thin dotted
}
*/
.tab-open:checked ~ .tab-inner{
    opacity:100;
    visibility:visible;
    transition:opacity .6s ease
}
.tab-inner{
    opacity:0;
    margin-top:20px;
    position:absolute;
    left:0;
    transition:opacity .1s;
    visibility:hidden
}

.responsive-pic { width:100%; height:auto;}