/**
 * Render-blocking, high priority stylesheet for attorney bios
 *
 * @format
 */

/* This file should be SMALL; delete CSS of bio templates you are not using */

/*
ATTORNEY BANNER TEMPLATE A
ATTORNEY BANNER TEMPLATE B
ATTORNEY TEMPLATE C
ATTORNEY BANNER TEMPLATE D
*/

.single-attorneys .banner {
  padding-top: 10px;
  height: auto;
  padding-bottom: 25px;
}

.single-attorneys .banner:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(14, 49, 90, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

@media screen and (min-width: 1025px) {
  .single-attorneys .banner:after {
    width: 60%;
  }
}

.single-attorneys .attorney-banner-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 7px;
}

.single-attorneys .attorney-banner-large-left {
  text-align: center;
  position: relative;
  z-index: 1;
}
.single-attorneys .attorney-banner-large-right {
  position: relative;
  margin-bottom: -20px;
}

.single-attorneys .attorney-banner-large-right:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -30px;
  width: calc(100% + 60px);
  height: 40%;
  background: linear-gradient(to top, rgba(14, 49, 90, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

.single-attorneys .attorney-banner-large-buttons {
  justify-content: center;
}

.single-attorneys .attorney-banner-name h1 {
  font-size: 50px;
  margin-bottom: 8px;
  line-height: 1;
}

.single-attorneys .attorney-banner-large-info {
  margin-bottom: 20px;
}

.single-attorneys .attorney-banner-large-info p {
  font-size: 0.938rem;
  font-weight: 600;
  margin-bottom: 0;
}

.single-attorneys .attorney-banner-position {
  color: var(--color-secondary);
}

.single-attorneys .attorney-banner-large-buttons {
  margin-bottom: 0;
}

.single-attorneys .attorney-banner-large-buttons a {
  padding: 5px 11px;
  font-size: 12px;
  color: var(--color-white);
  text-transform: inherit;
  letter-spacing: 0;
  border-radius: 2px;
  margin-bottom: 12px;
}

.single-attorneys .banner-social {
  position: absolute;
  bottom: 160px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.single-attorneys .banner-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  text-decoration: none;
}

.single-attorneys .banner-social a:hover,
.single-attorneys .banner-social a:focus {
  background-color: var(--color-secondary);
}

.attorney-banner-name h1 {
  margin-bottom: 10px;
  font-size: 2.2rem;
  color: var(--color-white);
}

.attorney-banner-left {
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.attorney-banner-left img {
  max-width: 300px;
}

.attorney-banner-right {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.attorney-banner-phone-fax,
.attorney-banner-info p {
  margin-bottom: 15px;
}

.attorney-banner-info p,
.attorney-banner-info a {
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-white);
}

.attorney-banner-info > p:last-child {
  margin: 0;
}

.attorney-banner-info .divider-span {
  display: none;
}

.attorney-banner-position {
  text-transform: uppercase;
  color: var(--color-white);
}

body.single-attorneys main {
  padding: 30px 0;
}

@media screen and (min-width: 720px) {
  .single-attorneys .banner {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .single-attorneys .banner:after {
    background: linear-gradient(to right, rgba(14, 49, 90, 1) 50%, rgba(0, 0, 0, 0) 100%);
  }

  .single-attorneys .attorney-banner-large-left {
    text-align: inherit;
  }

  .single-attorneys .attorney-banner-large-info {
    margin-bottom: 30px;
  }

  .single-attorneys .attorney-banner-large-info p {
    margin-bottom: 4px;
  }

  .single-attorneys .attorney-banner-name {
    margin-bottom: 13px;
  }

  .single-attorneys .attorney-banner-large-buttons {
    justify-content: inherit;
  }

  .single-attorneys .attorney-banner-large-right {
    margin-bottom: 0;
  }

  .single-attorneys .attorney-banner-large-right:after {
    display: none;
  }

  .single-attorneys .banner-social {
    bottom: 0;
  }
}

@media screen and (min-width: 1025px) {
  .attorney-banner-flex-row {
    display: flex;
    align-items: center;
  }

  .attorney-banner-flex-row p {
    margin: 0 24px 0 0;
  }

  .attorney-banner-name h1 {
    font-size: 2.8rem;
  }

  .attorney-banner-left img {
    width: auto;
    max-width: none;
  }

  .attorney-banner-right {
    margin-left: 40px;
    min-width: 50%;
    text-align: left;
  }

  .single-attorneys .banner {
    padding-top: 10px;
    height: auto;
  }

  .single-attorneys .banner-inner {
    flex-wrap: nowrap;
  }
  .single-attorneys .attorney-banner-large-buttons a {
    margin-bottom: 0;
  }
}

/* Attorney Banner Template D */
.attorney-banner-large-left {
  order: 2;
}

.attorney-banner-large-right {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  order: 1;
  width: 300px;
  text-align: center;
}

.attorney-banner-large-name,
.attorney-banner-large-buttons,
.attorney-banner-large-info {
  margin-bottom: 35px;
}

.attorney-banner-large-info a,
.attorney-banner-large-info p {
  color: var(--color-white);
}

.attorney-banner-large-info p {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.attorney-banner-large-right img {
  /* width: 400px; */
  width: auto;
  max-width: 100%;
}

.attorney-banner-large-buttons {
  display: flex;
  flex-wrap: wrap;
}

.attorney-banner-large-buttons a {
  margin-right: 12px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.single-attorneys-template-d .banner:before {
  display: none;
}

@media screen and (min-width: 900px) {
  .attorney-banner-large-left {
    margin-right: 8%;
    flex: 1;
    align-self: center;
    order: 0;
  }

  .attorney-banner-large-right {
    margin: 0;
    flex: 1;
    align-self: flex-end;
    width: auto;
    background: none;
  }

  .attorney-banner-large-right img {
    height: auto;
  }
}
