.layout {
  font-size: 1.17em;
  font-weight: bold;
}

.name {
  font-size: 1.3em;
  margin: 0;
}

/* Layout 1 Styles Begin */
.layout1__listing {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.layout1__left {
  display: flex;
}

.layout1__left img {
  height: 100%; /* Works for Safari */
}

/* Works for Chrome */
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { 
  .layout1__left img {
    height: auto !important;
  }
}

.layout1__left-content {
  margin-left: 2rem;
}

.layout1__right {
  text-align: right;
}

.layout1__right .location {
  margin: 0;
}

@media (max-width: 600px) {
  .layout1__listing {
    flex-direction: column;
    border-bottom: 1px solid #f4f4f4;
    margin-bottom: 10px;
  }

  .layout1__listing:last-child {
    border: 0;
  }

  /* .layout1__left img {
    height: 100%;
  } */
}

/* Layout 1 Styles End */

/* Layout 2 Styles Begin */

.layout2 {
  display: flex;
  flex-wrap: wrap;
}

.layout2__listing {
  text-align: center;
  width: 33.3%;
  margin-bottom: 2rem;
}

.layout2__listing a {
  background-color: transparent;
  border-radius: 5px;
  border: 1px solid;
  margin-bottom: 2px;
  text-decoration: underline;
  cursor: pointer;
  padding: 10px 30px;
  margin: 5px;
}

.layout2__listing img.image {
  border-radius: 100px;
  height: 110px;
  width: 110px;
  object-fit: cover;
}

.layout2__listing .img-wrapper {
  height: 120px;
}

.layout2__listing .buttons {
  margin: 15px 0 30px;
}

@media (max-width: 700px) {
  .layout2__listing {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .layout2__listing {
    width: 100%;
  }
}

/* Layout 2 Styles End */

/* Layout 3 Styles Begin */

.layout3 {
  display: flex;
  flex-wrap: wrap;
}

.layout3__listing {
  text-align: center;
  width: 33.3%;
  margin-bottom: 2rem;
}

.layout3__listing p:nth-child(2) {
  margin-bottom: 5px;
}

.layout3__listing p:nth-child(3) {
  margin-bottom: 0;
}

.layout3__listing p:nth-child(4) {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .layout3__listing {
    width: 50%;
  }
}

@media (max-width: 700px) {
  .layout3__listing {
    width: 100%;
  }
}

.layout3__listing a {
  background-color: transparent;
  border-radius: 5px;
  border: 1px solid;
  margin-bottom: 2px;
  text-decoration: underline;
  cursor: pointer;
  padding: 10px 25px;
  margin: 5px;
}

/* Layout 3 Styles End */

/* Layout 4 Styles Start */

.layout4__listing {
  display: flex;
  margin: 15px auto;
}

.layout4__listing .img-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.layout4__listing img {
  border-radius: 100px;
  object-fit: cover;
}

.layout4__info {
  display: flex;
  width: 100%;
  margin-left: 30px;
  text-align: center;
  flex-direction: column;
}

.layout4__infowrapper {
  display: flex;
}

.layout4__info--left {
  align-items: center;
  background: #e4e4e4;
  display: flex;
  justify-content: center;
  min-height: 150px;
  padding: 20px;
  width: 50%;
}

.layout4__info--inner {
  width: 100%;
}

.layout4__info--inner p:nth-child(1) {
  font-size: 1.3em;
  font-weight: bold;
}

.layout4__info--inner p:nth-child(2) {
  font-style: italic;
}

.layout4__info--inner hr {
  border-top: 1px solid #000;
}

.layout4__info--right {
  align-items: center;
  border: 1px solid #e4e4e4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  width: 50%;
}

.layout4__info--right a,
.layout4__info--right button {
  background-color: #fed413;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3);
  color: #000;
  cursor: pointer;
  display: inline-block;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
  margin: 0.5rem 0;
  min-width: 170px;
  padding: 1.1rem 1.5rem;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
}

.layout4__info--right a:hover,
.layout4__info--right button:hover {
  background-color: #e7be01;
}

#bioBtn {
  position: relative;
}

#bioBtn .fa {
  position: absolute;
  right: 20px;
  margin: 3px auto;
  opacity: 0.7;
  font-size: 13px;
}

.layout4__bio {
  display: none;
  background: #e4e4e4;
  border: 1px solid #e4e4e4;
  font-size: 16px;
  margin: 0px;
  padding: 30px 40px 45px 40px;
  position: relative;
}

@media (max-width: 700px) {
  .layout4__listing {
    flex-direction: column;
    max-width: 400px;
  }

  .layout4__info {
    flex-direction: column;
    margin: 0;
  }

  .layout4__infowrapper {
    flex-direction: column;
  }

  .layout4__info--left,
  .layout4__info--right {
    width: 100%;
  }

  .layout4__listing .img-wrapper {
    background: #e4e4e4;
    padding-top: 20px;
  }
}

/* Layout 4 Styles End */
/* Loading Animation Styles Start */

.loading-layout1__wrapper {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-layout1__wrapper-cell {
  display: flex;
  margin-bottom: 30px;
  width: 100%;
}

.loading-layout1__image {
  height: 110px;
  width: 110px;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
  position: relative;
}

.loading-layout1__text-wrapper {
  width: 85%;
  display: flex;
  justify-content: space-between;
}

.loading-layout1__text {
  margin-left: 20px;
  width: 30%;
}

.loading-layout1__text-line {
  height: 22.25px;
  width: 80%;
  margin: 4px 0;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
  position: relative;
}

@media (max-width: 600px) {
  .loading-layout1__text-wrapper {
    flex-direction: column;
    width: 70%;
  }

  .loading-layout1__text {
    width: 100%;
    margin-bottom: 10px;
  }
}

.loading-layout2__wrapper {
  background: #fff;
  display: flex;
  flex-wrap: wrap;
}

.loading-layout2__wrapper-cell {
  width: 33.3%;
  margin-bottom: 2rem;
}

.loading-layout2__image-wrapper {
  display: flex;
  justify-content: center;
}

.loading-layout2__image {
  height: 110px;
  width: 110px;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
  border-radius: 100px;
  position: relative;
}

.loading-layout2__text-wrapper {
  padding: 15px 20%;
}

.loading-layout2__button-wrapper {
  padding: 0 35%;
}

.loading-layout2__text-line {
  height: 22.25px;
  width: 100%;
  margin: 4px 0;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
  position: relative;
}

@media (max-width: 700px) {
  .loading-layout2__wrapper-cell {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .loading-layout2__wrapper-cell {
    width: 100%;
  }
}

.loading-layout3__wrapper {
  background: #fff;
  display: flex;
  flex-wrap: wrap;
}

.loading-layout3__wrapper-cell {
  width: 33.3%;
  margin-bottom: 2rem;
}

.loading-layout3__image-wrapper {
  display: flex;
  justify-content: center;
}

.loading-layout3__image {
  height: 110px;
  width: 110px;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
  border-radius: 100px;
  position: relative;
}

.loading-layout3__text-wrapper {
  padding: 15px 30% 0;
}

.loading-layout3__button-wrapper {
  display: flex;
  justify-content: center;
  padding: 0 10%;
}

.loading-layout3__button {
  height: 40px;
  width: 30%;
  margin: 4px;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
  position: relative;
}

.loading-layout3__text-line {
  height: 22.25px;
  width: 100%;
  margin: 4px 0;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
  position: relative;
}

@media (max-width: 700px) {
  .loading-layout3__wrapper-cell {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .loading-layout3__wrapper-cell {
    width: 100%;
  }
}

.wrapper {
  background: #fff;
}

.loading-layout4__wrapper-cell {
  display: flex;
  margin: 15px auto;
  width: 100%;
}

.loading-layout4__img-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.loading-layout4__info-wrapper {
  display: flex;
  width: 100%;
  margin-left: 30px;
  text-align: center;
}

.loading-layout4__image {
  height: 150px;
  width: 150px;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
  /* border-radius: 100px; */
  position: relative;
}

.loading-layout4__info-left {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 150px;
  padding: 20px;
  width: 50%;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
}

.loading-layout4__info-right {
  align-items: center;
  border: 1px solid #e4e4e4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  width: 50%;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  border: 1px solid #f6f6f6;
  border: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
}

.loading-layout4__button {
  height: 40px;
  width: 30%;
  margin: 4px;
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #f6f6f6;
  background: linear-gradient(to right, #f6f6f6 8%, #f0f0f0 18%, #f6f6f6 33%);
  background-size: 800px 104px;
  position: relative;
}

@media (max-width: 700px) {
  .loading-layout4__wrapper-cell {
    flex-direction: column;
    max-width: 400px;
  }

  .loading-layout4__img-wrapper {
    padding-top: 20px;
  }

  .loading-layout4__info-wrapper {
    flex-direction: column;
    margin: 0 30px;
  }

  .loading-layout4__info-left,
  .loading-layout4__info-right {
    width: 100%;
  }
}

@keyframes placeHolderShimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

/* Loading Animation Styles End */

.no-image {
  visibility: hidden;
}

@media (max-width: 700px) {
  .no-image {
    display: none;
  }
}
