/*
  starter boilerplate
*/

::-moz-selection {
  background: rgba(5, 66, 102, 0.1);
  text-shadow: none;
}

::selection {
  background: rgba(5, 66, 102, 0.1);
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/*
  sticky footer
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
height: 100%;
}

body{
display: flex;
flex-direction: column;
height: 100%;
}

.rapper {
  flex: 1 0 auto;
}

footer {
  flex: 0 0 auto;
}

/*
  stylizzzin
*/

a {
  color: #004568;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #7E9A9B;
}

body {
  color: #222;
  font-size: 14px;
  line-height: 150%;
  font-family: 'Open Sans', sans-serif;
}

.container {
  max-width:800px;
  margin:0 auto;
}

  h1, h2, h3, h4, h5 {
    color: #064367;
  }

  h1 {
    text-transform: uppercase;
    font-size:22px;
  }

  p {
    margin-bottom: 10px;
  }

  .align-right {
    float: right;
  }

  .align-left {
    float: left;
  }
  
  .frame {
    padding: 5px;
    margin: 5px;
    border: 1px solid rgba(0, 0, 0, 0.15);
  }

  header {
    width:100%;
    display:block;
    text-align: center;
    padding-bottom:10px;
  }

  .rapper {
    padding-top:50px;
  }

  .nav {
    text-align: right;
    max-width:250px;
    display: inline-block;
    vertical-align: top;
    font-size: 15px;
    margin-right:50px;
  }

  .nav li:last-child {
    margin-bottom:15px;
  }

  .nav li {
    margin:5px 0;
  }

  .nav li a {
    text-transform: lowercase !important;
    /*font-weight:600;*/
    display:block;
    color: #737373;
    margin:10px 0 0;
  }

    .nav li a:hover {
      text-decoration: none;
    }

  .nav li.active > a {
    color: #064469;
  }

  .nav li > li {
    padding:0;
    margin:0;
  }

  .nav li li a {
    text-transform: initial;
    color: #7e9a9b;
    font-weight: normal;
    font-size:13px;
    margin:0;
  }

  .nav a {
    text-decoration: none;
  }

    .nav li li {
      margin:2px 0;
    }

    .nav li li a:hover {
      text-decoration: underline;
    }

  .nav ul {
    list-style: none;
  }

  .nav ul > li > ul {
    display: none;
  }

  .nav ul > li.expanded > ul,
  .nav ul > li.active > ul {
    display: block;
  }

  .content {
    max-width:500px;
    display: inline-block;
    padding:10px 0 30px;
  }

  .content ul {
    margin-left:20px;
    padding:10px 0;
  }

    .content section {

    }

  .content .audio {
    margin:20px 0 0 0;
    padding:15px;
  }

  .content .audio .title a {
    font-weight:bold;
  }

    .content .audio .notice {
      font-size:12px;
      color: #67686A;
    }

  .scripture {
    /*padding:15px 15px 15px 130px;*/
    height:139px;
    padding:5px;
    margin-top:40px;
  }

    .verse-image {
    }

    #cross {
      background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%), url('../images/home/cross.jpg') top left no-repeat;
      width:160px;
      height:128px;
      background-size:100%;
      display:inline-block;
      background-repeat: repeat-y;
      float:left;      
    }
    #feather {
      background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%), url('../images/home/feather.jpg') top left no-repeat;
      width:160px;
      height:128px;
      background-size:100%;
      display:inline-block;
      background-repeat: repeat-y;
      float:left;      
    }
    #salt {
      background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%), url('../images/home/salt.jpg') top left no-repeat;
      width:160px;
      height:128px;
      background-size:100%;
      display:inline-block;
      background-repeat: repeat-y;
      float:left;      
    }
    #pearl {
      background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%), url('../images/home/pearl.jpg') top left no-repeat;
      width:160px;
      height:128px;
      background-size:100%;
      display:inline-block;
      background-repeat: repeat-y;
      float:left;      
    }
    #gold {
      background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%), url('../images/home/gold.jpg') top left no-repeat;
      width:160px;
      height:128px;
      background-size:100%;
      display:inline-block;
      background-repeat: repeat-y;
      float:left;      
    }
    #gift {
      background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%), url('../images/home/gift.jpg') top left no-repeat;
      width:160px;
      height:128px;
      background-size:100%;
      display:inline-block;
      background-repeat: repeat-y;
      float:left;      
    }
    #lighthouse {
      background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%), url('../images/home/lighthouse.jpg') top left no-repeat;
      width:160px;
      height:128px;
      background-size:100%;
      display:inline-block;
      background-repeat: repeat-y;
      float:left;      
    }
    #hands {
      background:linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 90%), url('../images/home/hands.jpg') top left no-repeat;
      width:160px;
      height:128px;
      background-size:100%;
      display:inline-block;
      background-repeat: repeat-y;
      float:left;      
    }

    .verse {
      max-width:310px;
      display:inline-block;
      float:left;
      margin-left:20px;
      margin-top:20px;
    }

    .scripture .verse .attribute {
      margin:5px 0;
      display:inline-block;
    }

    .scripture .verse .quote {
      font-style: italic;
      display:inline-block;
    }

    .border {
      position: relative;
    }

    .border:before, .border:after {
      content: "";
      position: absolute;
    }

    .border:before {
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background-image: -webkit-gradient(radial, left top, 10, 90% 0%, 150, from(#D4D4D4), to(transparent));
      background-image: -webkit-radial-gradient(left top, 150px 230px, #D4D4D4, transparent);
      background-image: -moz-radial-gradient(left top, farthest-corner, #D4D4D4 0%, transparent 72%);
      z-index: -2;
    }

    .border:after {
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      background: #fff;
      z-index: -1;
    }

  footer {

  }

    #address {
      padding:39px 0 25px 100px; /* 225px */
      font-size:12px;
      text-transform: uppercase;
      color: #044469;
      background: url('../images/home/nelson-law-group-footer-logo.png') bottom right no-repeat;
      background-size:30%;
    }

    #address a {
      color: #044469;
      text-decoration: none;
    }

    #logo {
      
    }

    footer p span {
      color: #D4D4D4;
    }

    #copyright {
      padding:15px 0 20px;
      font-size:11px;
      background-color: #054266;
      color: #fff;
      text-align: center;
      line-height:150%;
    }

    footer h1 {
      margin:0 0 5px;
      color: #044469;
      font-weight: normal;
    }
      footer h1 span {
        font-size:13px;
      }

    #copyright {
      text-align: center;
    }

    #copyright a {
      color: #fff;
    }

    #legal {
      font-size:10px;
      color: #A8B9C2;
    }

      #legal a {
        color: #A8B9C2;
      }




/*
  mobile
*/

.slicknav_menu {
  display:none;
}

@media screen and (max-width: 56em) {
  /* #menu is the original menu */
  .js #menu {
    display:none;
  }

  .js .slicknav_menu {
    display:block;
  }

  .rapper {
    width:100%;
    clear:both;
    padding-top:0;
  }

  .container {
    width:90%;
    padding:10px;
  }

  #cross {
    width:130px;
    height:100px;
  }
  feather {
    width:130px;
    height:100px;
  }
  #salt {
    width:130px;
    height:100px;
  }
  #pearl {
    width:130px;
    height:100px;
  }
  #gold {
    width:130px;
    height:100px;
  }
  #gift {
    width:130px;
    height:100px;
  }
  #lighthouse {
    width:130px;
    height:100px;
  }
  #hands {
    width:130px;
    height:100px;
  }

  .scripture {
    height:111px;
    margin-top:20px;
  }

  .verse {
    width: 60%;
    margin-top:5px;
    float:right;
    margin-left:0;
  }

  #copyright {
    font-size:9px;
  }

  #legal {
    font-size:8px;
  }

  #address {
    padding:20px 0;
    font-size:9px;
    background-position:bottom right;
    background-size: 140px;
  }

  #footer .container {
    padding:0;
  }

  #address p {
    line-height:190%;
  }

  footer h1 {
    font-size:18px;
  }

  header {
    padding-left:0;
    /*text-align:center;*/
  }

    header h1 {
      margin-bottom:0;
      margin-top:0;
    }

  .nav {
    width:100%;
    max-width:100%;
    text-align: left;
    border-bottom:1px solid #D7D7D7;
  }
}

@media print,
     (-o-min-device-pixel-ratio: 5/4),
     (-webkit-min-device-pixel-ratio: 1.25),
     (min-resolution: 120dpi) {

}

/*
  getting it
*/

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
 Print styles
 ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
      background: transparent !important;
      color: #000 !important;
      box-shadow: none !important;
      text-shadow: none !important;
  }

  a,
  a:visited {
      text-decoration: underline;
  }

  a[href]:after {
      content: " (" attr(href) ")";
  }

  abbr[title]:after {
      content: " (" attr(title) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
      content: "";
  }

  pre,
  blockquote {
      border: 1px solid #999;
      page-break-inside: avoid;
  }

  thead {
      display: table-header-group;
  }

  tr,
  img {
      page-break-inside: avoid;
  }

  img {
      max-width: 100% !important;
  }

  p,
  h2,
  h3 {
      orphans: 3;
      widows: 3;
  }

  h2,
  h3 {
      page-break-after: avoid;
  }
}