/* -------------------------------------------------------------------------- *
 *
 * $Date: 2019-02-02 10:32 +0000 $
 *
 *  The style definition for the Plain Source website.
 *
 * COLOURS:
 *
 * Plain Source dark brown:             hsla(13, 19%, 38%, 1)  or   #75574f;
 * Plain Source light brown:            hsl(30, 90%, 98%)
 * Pal Grey used for footer:            hsl(60, 14%, 97%) or #f9f9f7;
 * Bright blue used for URL font:       #006FF5
 * Red used for the URL decoration:     #EA215A
 *
 * -------------------------------------------------------------------------- */

html,
body {
    overflow-x: hidden;
}
:root {
    font-size: 100%;
}

body {
    color: #444;
    background-color: #fff;
    font: 125%/1.5 "proxima-nova",Georgia,Times,"Times New Roman",serif;
    font-weight: 400;
    text-align: left;
    padding: 1em;
    margin: 0 auto;
    font-variant-ligatures: common-ligatures;
    font-feature-settings: "kern", "liga";
}
img,
video,
iframe {
    width: 100%;
    vertical-align: middle;
    height: auto;
}
/*
----------------------------------------------------------------
    L I S T
---------------------------------------------------------------- */
ul,
dd,
ol {
    list-style: none;
    margin: 0;
    padding: 0 0 1em;
}
ul li li,
ol li li {
    margin: 0 0 0 1em;
}
main {
    padding: 2em 0em 2em 0em; 
}
main ul, ol {
  margin-left: 1.5em;
}
main ul li::before {
  content: "\2022";  
  color: #c33;
  font-weight: bold; 
  display: inline-block; 
  width: 1em; 
  margin-left: -1.3em; 
}

main ol {
   counter-reset: li;
  }

main ol li::before {
    content: counter(li);
    color: #c33;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.3em;
}

main ol li {
    counter-increment: li
}


/*
----------------------------------------------------------------
    H E A D E R S
---------------------------------------------------------------- */

main img {
    margin: 2em 0;
}
h1,
h2,
h3 {
    font-weight: 700;
        margin: 0;
    /*
    padding: 0;
    */
}
h1 {
    letter-spacing: -0.03em;
    margin: 0.5em 0;
    font-size: 2em;
    line-height: 1;
    text-align: left;
}
h2 {
    letter-spacing: -0.02em;
    font-size: 1.2em;
}
h3 {
    letter-spacing: -0.02em;
    font-size: 1em;
    margin: 1.5em 0 0.3em;
    line-height: 1;
}
p {
    margin: 0 0 1em;
}
.copyright {
    text-align: center;
    font-size: 0.7em;
    font-weight: 300;
}
.wrap {
    justify-content: center;  
    padding: 1em 0em 1em 0em; 
    background:#f9f9f9
}

aside h1 {
    font-size:.6em;
    font-weight: 400;
    text-transform:uppercase;
    text-align:left;
}

aside ul {
    font-size:.7em;
}

/*
----------------------------------------------------------------
    U R L   D E C O R A T I O N
---------------------------------------------------------------- */
a {
    color: #CD5C5C;
    text-decoration: none;
}
a:visited {
    color: #CD5C5C;
}
a:hover {
    color: #444;
}
a {
    transition: all 0.5s ease;
}
a img {
    transition: opacity 0.2s ease-in-out;
}
a:hover img {
    opacity: 0.7;
}

body.about #aboutLink a, body.services #servicesLink a, body.approach #approachLink a,   body.contact #contactLink a {
    color:#75574f;
    border-bottom: 3px solid #75574f;
}
a[href$=".pdf"]:before
{
  content:"\f1c1  ";
  font-family: fontawesome;
}
a[href*="amzn"]:before
{
  content:"\f270  ";
  font-family: fontawesome;
}
a:hover[href^="http"]
{
  border-bottom: 1px solid #444;
}

a.email {
    padding: 1px 25px;
    background: url("/img/email.svg") no-repeat left center;
    background-size: 16px 16px;
    }
a.phone {
    padding: 1px 25px;
    background: url("/img/phone.svg") no-repeat left center;
    background-size: 16px 16px;
    }


/*
----------------------------------------------------------------
     N A V I G A T I O N
---------------------------------------------------------------- */

.site-header ul {
    list-style-type:none;
}

.site-header{
    -webkit-transition:-webkit-transform .2s ease;
    -moz-transition:-moz-transform .2s ease;
    transition:transform .2s ease;
        -webkit-transition-property:-webkit-transform,box-shadow;
        -moz-transition-property:-moz-transform,box-shadow;
        transition-property:transform,box-shadow;
        position:absolute;
        top:0;
        right:0;
        left:0;
        z-index:2;
background-color:white}
.site-header.headroom{
        position:fixed;
        top:0;
        right:0;
        left:0;
box-shadow:0 1px 4px rgba(0,0,0,0.15)}
.site-header.headroom--pinned{
        -webkit-transform:translateY(0%);
        -moz-transform:translateY(0%);
        -ms-transform:translateY(0%);
        -o-transform:translateY(0%);
transform:translateY(0%)}
.site-header.headroom--unpinned{
        -webkit-transform:translateY(-100%);
        -moz-transform:translateY(-100%);
        -ms-transform:translateY(-100%);
        -o-transform:translateY(-100%);
transform:translateY(-100%)}

.site-header.headroom--not-top.headroom--unpinned,.site-header.headroom--top{
    box-shadow:none
}

.site-header-wrapper{
    margin:0 auto;
    padding:.125rem .9375rem 
}
.site-header-logo{
    display:inline-block;
    font-size:1.5rem;
    font-weight:800;
    letter-spacing:-.01875rem;
    margin-top:10px;
}

.site-header-logo a:hover {
    color:#c33
}

.site-header-logo .logo-wrap {
    position:relative;
    top:.125rem;
    margin-right:-.1875rem
}
.logo-wrap-right:before{
    content: url(/img/ps-128x64.png)
}
.site-header-nav-button  { 
    letter-spacing: -0.01em;
    float:right;
    text-transform:uppercase;
    font-size: 65%;
    margin-top: 15px;
    padding: 5px 3px 0px 7px; 
    color: #75574f;
    border-radius: 22%; 
    border: 2px solid #75574f;
    width: 40px;
    height: 23px;
    cursor:pointer
}

.site-header-nav-button a {
    color: #75574f;
}

.site-nav-item{
    font-weight:700;
    text-transform:uppercase;
}

.site-nav-item a {
    color:#75574f;
    font-size: 75%;
}

.site-nav-item a:hover {
    color:#c33;
}

.site-header-nav-button:hover{
    color:#c33;
}

/*
----------------------------------------------------------------
     M E D I A 
---------------------------------------------------------------- */

/* small screens */
@media screen and (max-width: 47.9375rem){
    .site-nav{
        display:none;
        margin:.625rem -.9375rem -.625rem;
        border-top:1px solid #ddd
    }
    .site-nav.on{
        display:block
    }
    .site-nav-item {
        display:block;
        border-bottom:1px solid #ddd;
        line-height:1
    }
    .site-nav-item a {
        display:block;
        padding:.9375rem;
    }
    .site-nav-item a:after {
        content:""
    }   
    body.about #aboutLink a, body.services #servicesLink a, body.approach #approachLink a,  body.contact #contactLink a {
        border-bottom: 0;
        padding:.9375rem;
    }
    aside h2{
        font-size:.6em;
        text-transform:uppercase;
    }
    .site-header-logo {
        font-size:2.25rem;
    }
}

/* large screens */
@media screen and (min-width: 48rem){
    .site-nav{
        float:right;
         margin-top:.999rem 
    } 
    .site-header-nav-button{
        display:none
    }
   .site-nav-item{
      display:inline-block;
      padding-left:1em;
    }
   .site-nav-item:not(:first-child):before{
      color:#ccc;
      content:"";
    }
    .site-nav-item a {
        display:block;
        padding:0;
        margin:0;
    }
    .site-nav-item a:after {
        display:block;
        margin:-3px;
        content: '';
        border-bottom: solid 3px #75574f;
        transform: scaleX(0);
        transition: transform 200ms ease-in-out;
    }
    .site-nav-item a:hover:after {      
        transform: scaleX(1);
        transform-origin:  0% 50%;
    }

}
@media only screen and (min-width: 40em) {
    main,
    aside,
    footer {
        max-width: 40em; 
        margin: auto;
    }
    aside,footer,.wide { 
        padding:1em 2em;
        max-width:70em
    }
    .grid3{            
        display:grid;
        grid-template-columns:1fr 1fr;
        grid-template-columns:1fr 1fr 1fr;
        column-gap:2em
    }
    .site-header-wrapper{
        padding:.125rem 1.875rem
    }
    .site-header-logo {
        font-size:2.25rem;
    }
    h1{
        font-size:4em;
        text-align: center;
    }
    h2{
        font-size:1.5em;
    }
    h3{
        font-size:1em
    }
    aside h2{
        font-size:.6em;
        text-transform:uppercase;
    }

}

@media print {
    body {
        width: 100%;
        margin: 0;
        padding: 1em;
        font-size: 12pt;
        line-height: 1.3;
    }
    header h1 {
        font-size: 14pt;
    }
    a:link,
    a:visited {
        color: #333;
        text-decoration: none;
        border: none;
    }
    nav,
    aside {
        display: none;
    }
}

/*
----------------------------------------------------------------
     F O R M 
---------------------------------------------------------------- */
form {
    border-radius: 5px;
    padding: 0px;
}

fieldset {
    border: none;
}

input[type=text], input[type=email], input[type=url], input[type=date], input[type=file], select, textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=file] {
    width: auto;
}

input[type=submit], input[type=button] {
    font-weight: 600;
    text-transform:uppercase;
    background-color:white;
    color: #444;
    font-weight: bold;
    padding: 14px 25px;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover, input[type=button]:hover {
    background-color: #444;
    color:white;

}

input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border: 1px solid #444;
}

.privacy-policy  { 
    letter-spacing: -0.01em;
    float:right;
    text-transform:uppercase;
    font-size: 65%;
}

/*
----------------------------------------------------------------
     A C C O R D I O N    L I S T
---------------------------------------------------------------- */
.a-container input[type=checkbox] {
  display: none;
}

/* style */
.a-container {
  width: 100%;
  margin: 20px auto;
  overflow: hidden;
}

.a-container label {
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  color: #aaa;
  background-color: #eee;
  border-bottom: 1px solid #ddd;

  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

main ul.a-container li {
  margin: 0;
  padding: 0;
  list-style: none;
}
main ul.a-container li::before {
  content: "";
  display: block; 
  }
.a-container label:after {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid #aaa;
  border-right: 6px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 6px solid transparent;
  position: absolute;
  right: 10px;
  top: 16px;
}

.a-container input:checked + label,
.a-container label:hover {
  background-color: #ddd;
  color: #222;
}

.a-container input:checked + label:after {
  border-top: 8px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #222;
  border-left: 6px solid transparent;
  top: 6px;
}

.a-content {
  padding: 0 20px 20px;
  display: none;
}

.a-container input:checked ~ .a-content {
  display: block;
}

/*
----------------------------------------------------------------
     F I L T E R S
---------------------------------------------------------------- */

.filter {
  display: none; /* Hidden by default */
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.filter-btn {
  border: none;
  outline: none;
  padding: 5px 10px;
  margin: 5px 8px 5px 0;
  background-color: #f1f1f1;
  color: #666;
  cursor: pointer;
  -webkit-border-radius: 12px;
   	-moz-border-radius: 12px;
   	-o-border-radius: 12px;
   	-ms-border-radius: 12px;
   	border-radius: 12px;
}

.filter-btn:hover {
  color: #fff;
  background-color: #CD5C5C;
}

.filter-btn.active {
  background-color: #CD5C5C;
  color: #fff;
}

/*
----------------------------------------------------------------
     B O O K S
---------------------------------------------------------------- */
.books .a-container h3 {
    font-size: 80%;
    font-style: italic;
}

a.buy {
  font-size:80%;
  text-transform: uppercase;
}


/*
----------------------------------------------------------------
     U N D E R L I N E
---------------------------------------------------------------- */
.u-underline {
  background: url(data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB3aWR0aD0iMTE5IiBoZWlnaHQ9IjYiIHZpZXdCb3g9IjAgMCAxMTkgNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTE3LjQzNCAzLjg1M0M1OS4wMjcgNS45MzMgODQuNzg0LTIuNDYgMS41NjYgMy40MzYiIHN0cm9rZT0iI2ZjMCIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9zdmc%2BCg%3D%3D) bottom left/100% 0.75rem no-repeat;
  padding-bottom: 0.1rem; 
}

.scribble-underline {
  background: url(data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB2aWV3Qm94PSIwIDAgMjgzLjIyIDE2LjA1IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im0yMC40MyA0LjI1YTIyOTcuNTcgMjI5Ny41NyAwIDAgMCAyNTYuMzItMy4yNWwtMjQ5LjgyIDE0LjA1IDI1NS4yOS02Ljc5Yy05My43NSAzLjMxLTE4Ny40Ni0uMzgtMjgxLjIyIDIuOTQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzFkMmQzNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiLz48L3N2Zz4%3D) bottom center/100% 0.2em no-repeat;
  padding-bottom: 0.05em; }
