/**CSS stylings for attorney template pages**/

body {
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(222,222,222,1) 100%);
  padding-bottom: 300px;
}

p#backlink {
  margin-top: 0;
}

.sqs-layout:not(.sqs-editing) .sqs-row .sqs-block:not(.float):not(.sqs-feature-gated-wrapper):first-child {
  padding-top: 17px;
}

.sqs-block.image-block.sqs-block-image.sqs-text-ready {
  border: 1px solid Lightgray;
  box-shadow: 10px 11px 10px #a2a2a2;
  margin-right: 25px;
}

.sqs-block-image .image-block-outer-wrapper:not(.image-block-v2) .intrinsic .image-block-wrapper img {
  left: 0 !important;
  top: 0 !important;
  position: absolute !important;
}

.content-container {
  max-width: 80%;
}

.content-container h1 {
  line-height: 24px;
  font-size: 32px;
}
.content-container h1, .content-container h2 {
  color: rgb(0,104,144);
  margin-bottom: 15px;
  margin-top: 0 !important;
}
.content-container h1 em {
  font-size: 24px;
  font-weight: 600;
  font-style: normal !important;
  font-family: nimbus-sans;
  line-height: 0em;
}
.content-container h2 {
  font-weight: 900;
  font-family: nimbus-sans-condensed;
  font-size: 26px;
  margin: 0;
}
.content-container .sqs-block-content p {
  margin-top: 0;
  margin-bottom: 5px;
  color: Black;
  line-height: 20px;
  font-family: nimbus-sans;
  font-size: 19px;
  text-align: left;
}
.content-container a {
  color: Black;
  text-decoration: none;
}
i.fa-address-card {
  margin-right: 8px;
}
.content-container div.col.sqs-col-12.span-12 div.sqs-block.html-block.sqs-block-html:not(.att-info) p {
  margin-bottom: 1em;
  font-family: "Arial Narrow", nimbus-sans-condensed, sans-serif;
  font-size: 18px;
  line-height: 1.3em;
  text-align: justify;
}
@media only screen and (min-width: 640px) {
  div.col.sqs-col-12.span-12 div.sqs-block.html-block.sqs-block-html:not(.att-info) {
    background-color: White; /*whitesmoke;*/
    box-shadow: 6px 7px 10px 10px lightgrey;
    padding-top: 50px !important;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 80px !important;
    margin-top: 70px;
    font-size: 18px;
    color: Black;
 }

 h1.att-bio {
   margin-bottom: 15px;
 }

 .sqs-block-html .sqs-block-content>*:first-child {
   margin-top: -17px;
 } /*line up text with top of image border*/
}
@media only screen and (max-width: 800px) {
  img.mobile-banner {
    display: none;
  }
  div#top-banner {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(/assets/mobile-banners/attorneys.jpg) no-repeat;
    background-size: 100%;
    height: 350px;
    padding-left: 100%;
  }
}
@media only screen and (max-width: 640px) {
  .sqs-block.image-block.sqs-block-image.sqs-text-ready {
    margin-right: 0;
  }
  #top-banner {
    height: 270px !important;
  }
  .content-container {
    max-width: 100%;
  }

}
