/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

.btn {
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  padding: 16px 20px;
  border-radius: 5px;
  width: 275px;
  max-width: 100%;
  font-family: 'Open Sans', sans-serif;
  position: relative;
  border: 0;
}

.btn, .btn.btn-style-1 {
  background-color: #e9584d;
  color: #ffff;
}

.btn:hover, .btn.btn-style-1:hover {
  background-color: #dd443b;
  color: #fff;
}

.btn.btn-style-2 {
  background-color: #5882B7;
  color: #fff;
}

.btn.btn-style-2:hover {
  background-color: #3A669F;
  color: #fff;
}

a {
  text-decoration: none;
  color: #5882B7;
}

a:hover {
  text-decoration: underline;
  color: #5882B7;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Hind Guntur', sans-serif;
  font-weight: 600;
  line-height: 1.25;
}

h1, .h1 {
  font-size: 40px;
}

h2, .h2 {
  font-size: 36px;
}

h3, .h3 {
  font-size: 32px;
}

h4, .h4 {
  font-size: 28px;
}

h5, .h5 {
  font-size: 24px;
}

h6, .h6 {
  font-size: 18px;
}

.form-control {
  border: 0;
  background-color: #fff;
  padding: 5px 10px;
  height: auto;
  border-radius: 0;
  box-shadow: inset 0px 2px 3px #dddddd;
  -webkit-box-shadow: inset 0px 2px 3px #dddddd;
  -moz-box-shadow: inset 0px 2px 3px #dddddd;
  border: 1px solid #bbb;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
  font-weight: 700;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.35;
  color: #33363e;
}

p:last-of-type {
  margin-bottom: 0;
}

a, input[type=button], input[type=submit], button, .btn {
  transition: all .4s ease;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -o-transition: all .4s ease;
}

ol, ul, dl {
  margin-bottom: 0;
}

ul li, ol li {
  margin-bottom: 5px;
}

ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

audio, canvas, iframe, img, svg, video {
  border: 0;
  background-color: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 25px;
}

.section-header .section-header-text {
  font-size: 36px;
  font-weight: 700;
}

#headline-section {
  background-color: #ebebeb;
}

#headline-section .headline-text {
  width: 380px;
  max-width: 100%;
}

#headline-section .headline-text .header-text-1 {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  font-family: 'Open Sans', sans-serif;
}

#headline-section .headline-text .header-text-2 {
  font-size: 65px;
  font-weight: 700;
}

#headline-section .text-col {
  position: relative;
}

#headline-section .headline-person {
  position: absolute;
  bottom: 0;
  left: 350px;
}

#headline-section .headline-text .header-subtext-2 {
  color: #5882b7;
  font-size: 18px;
}

#headline-section .headline-form .form-text {
  margin-top: 0;
  background-color: #5882B7;
  padding: 30px;
}

#headline-section .headline-form .form-text * {
  color: #fff;
}

#headline-section .headline-form .form-text .text-center.form-header {
  font-size: 28px;
  margin-bottom: 0;
}

#headline-section .headline-form .form-text .form-subheader {
  font-family: 'Hind Guntur', sans-serif;
  font-weight: 600;
  font-size: 20px;
}

#headline-section .contact-form {
  background-color: #fff;
  padding: 30px;
}

#headline-section .contact-form button {
  width: 100%;
  text-transform: uppercase;
}

#headline-section .contact-form .form-attribution {
  font-size: 12px;
  margin-top: 15px;
}

.accreditation-entry {
  text-align: center;
}

.accreditation-entry .icon-container {
  margin-bottom: 20px;
}

.accreditation-entry .icon-container img {
  height: 80px;
  width: auto;
}

.accreditation-entry .desc-container h3 {
  font-size: 20px;
}

#cases-handled-section {
  background-image: url(../img/legal-pi-template-img-2.jpg);
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#cases-handled-section:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(21,35,54,0.89);
  z-index: 0;
}

#cases-handled-section .container {
  position: relative;
  z-index: 1;
}

#cases-handled-section * {
  color: #fff;
}

.case-entry {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  width: 550px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.case-entry h3 {
  font-size: 36px;
  margin-bottom: 20px;
}

.wmud-col {
  margin-bottom: 30px;
}

.wmud-entry {
  border: 1px solid #9d9d9d;
  padding: 50px;
  text-align: center;
  background-color: #ebebeb;
  position: relative;
  height: 100%;
}

.wmud-entry .icon-container {
  margin-bottom: 25px;
}

.wmud-entry .icon-container img {
  height: 74px;
  width: auto;
}

.wmud-entry .wmud-desc h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.wmud-entry .wmud-desc p {
  font-size: 14px;
}

.cta-banner-section {
  background-color: #364F70;
}

.cta-banner-section * {
  color: #fff;
}

.cta-banner-section .cta-header {
  font-weight: 800;
}

.cta-banner-section .cta-subheader {
  margin-bottom: 35px;
}

.btn-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 800px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.btn-container .btn-entry {
  padding-left: 15px;
  padding-right: 15px;
}

.btn-container .btn-entry .btn {
  width: 370px;
  max-width: 100%;
}

.testimonials-row {
  margin-top: 20px;
  margin-bottom: 50px;
}

.testimonial-entry {
  text-align: center;
  background-color: #fff;
  border: 1px solid #9D9D9D;
  padding: 50px 25px;
  position: relative;
  height: 100%;
}

.testimonial-entry .author-img {
  margin-bottom: 20px;
}

.testimonial-entry .testimonial-details {
  margin-bottom: 25px;
}

.testimonial-entry .testimonial-details .author-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.testimonial-entry .testimonial-details .author-address {
  font-size: 14px;
}

.testimonial-entry .testimonial-par {
  font-style: italic;
}

.accreditations-list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 620px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.accreditations-list .accreditation-entry {
  padding-left: 25px;
  padding-right: 25px;
}

.accreditations-list .accreditation-entry img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

#map-section .content {
  height: 500px;
  background-color: #fafafa;
  font-size: 30px;
}

#map-section .content * {
  top: 50%;
  position: relative;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

footer#main-footer {
  background-color: #262627;
}

footer#main-footer * {
  color: #fff;
}

footer#main-footer .footer-top {
  background-color: #414042;
}

footer#main-footer .footer-top .address-content {
  font-size: 18px;
  text-align: center;
  padding: 20px 0 40px;
}

footer#main-footer .footer-top .address-content .icon-container {
  margin-bottom: 30px;
}

footer#main-footer .footer-top .address-content .info-header {
  font-family: 'Hind Guntur', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-bottom {
  font-size: 14px;
}

.footer-bottom a {
  text-decoration: underline;
}

.footer-menu-content .footer-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-menu-content .footer-menu li {
  margin: 0;
  display: inline-block;
  margin-right: 25px;
}

.footer-menu-content .footer-menu li:last-child {
  margin-right: 0;
}

#privacy-policy-section {
  font-size: 12px;
}

#privacy-policy-section .section-header {
  font-size: 28px;
  color: #585858;
  font-weight: 800;
}

header#main-header .mid-content-container {
  margin-top: 35px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  #privacy-policy-section .container {
      max-width: 718px;
  }
}

@media (max-width: 1199px) {
  #headline-section .headline-form .form-text .text-center.form-header {
      font-size: 24px;
  }

  #headline-section .headline-form .form-text .form-subheader {
      font-size: 16px;
  }

  #headline-section .headline-form .form-text {
      padding: 20px;
  }

  #headline-section .contact-form {
      padding: 20px;
  }

  #headline-section .headline-text .header-text-2 {
      font-size: 58px;
  }

  #headline-section .headline-text {
      width: 330px;
  }

  #headline-section .headline-person {
      left: 270px;
  }

  #testimonials-section .col-md-3 {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
      margin-bottom: 30px;
  }

  .testimonials-row {
      margin-bottom: 20px;
  }

  .footer-bottom {
      font-size: 12px;
  }

  .footer-menu-content .footer-menu li {
      margin-right: 15px;
  }
}

@media (max-width: 991px) {
  header#main-header .col-md-4 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
  }

  header#main-header .logo-container {
      text-align: center;
  }

  header#main-header .mid-content-container {
      display: none;
  }

  header#main-header .header-cta-container {
      display: none;
  }

  #headline-section .text-col {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
  }

  #headline-section .form-col {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      padding-top: 0!important;
  }

  #accreditation-section .col-md-3 {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
      margin-bottom: 30px;
  }

  .wmud-col {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
  }

  .wmud-col:last-child {
    margin-bottom: 0;
  }

  .btn-container .btn-entry {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      text-align: center;
      margin-bottom: 20px;
  }

  .btn-container .btn-entry:last-child {
      margin-bottom: 0;
  }

  .footer-bottom .col-md-4 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
  }

  .footer-bottom .col-md-4 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 30px;
      text-align: center;
  }

  .footer-bottom .col-md-4:last-child {
    margin-bottom: 0;
  }

  .footer-bottom {
      font-size: 14px;
  }

  .footer-bottom .copyright-content * {
      text-align: center!important;
  }
}

@media (max-width: 767px) {
  #headline-section .headline-person {
      display: block;
      position: relative;
      left: auto;
      margin-left: auto;
      margin-right: auto;
  }

  #headline-section .headline-text .header-text-1 {
      text-align: center;
  }

  #headline-section .headline-text .header-text-2 {
      text-align: center;
      font-size: 45px;
      width: 420px;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
  }

  #headline-section .headline-text .header-subtext-1 {
      text-align: center;
  }

  #headline-section .headline-text .header-subtext-2 {
      list-style-type: none;
      padding: 0;
      margin: 0;
      text-align: center;
  }

  #headline-section .text-col {
      padding-bottom: 0!important;
  }

  #accreditation-section .col-md-3 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
  }

  #accreditation-section .col-md-3:last-child {
      margin-bottom: 0;
  }

  .case-entry {
      border-bottom: 1px dotted #fff;
  }

  .col-md-6:last-child .case-entry {
      border-bottom: 0;
  }

  #testimonials-section .col-md-3 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
  }

  .accreditations-list .accreditation-entry {
      max-width: 100%;
      flex: 0 0 100%;
      -ms-flex: 0 0 100%;
      margin-bottom: 30px;
  }

  .accreditations-list .accreditation-entry:last-child {
      margin-bottom: 0;
  }

  footer#main-footer .footer-top .address-content .info-header {
      font-size: 24px;
  }

  footer#main-footer .footer-top .address-content {
      font-size: 16px;
  }

  footer#main-footer .footer-top .address-content .icon-container img {
      height: 40px;
      width: auto;
  }

  #headline-section .headline-text {
      width: 100%;
  }
}

@media (max-width: 575px) {
  .wmud-entry {
      padding: 30px;
  }

  .section-header .section-header-text {
      font-size: 30px;
  }

  .testimonial-entry {
      padding: 30px;
  }

  #map-section .content {
      height: 250px;
  }

  #headline-section .headline-text .header-text-2 {
      font-size: 38px;
  }

  .case-entry h3 {
      font-size: 30px;
  }

  .case-entry {
      padding-top: 30px;
      padding-bottom: 30px;
  }

  .col-md-6:first-child .case-entry {
      padding-top: 0;
  }

  .col-md-6:last-child .case-entry {
      padding-bottom: 0;
  }

  .wmud-entry .wmud-desc h3 {
      font-size: 24px;
  }

  .cta-banner-section .cta-header {
      font-size: 28px;
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !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) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

