/* Copyright © Carecode Oy. All rights reserved. */
/* vim: set si ai et sw=4 ft=css ff=unix: */

@import url('buttons.css?7964de4');

#hero-background {
  height: 15rem !important;
}

.grid-container {
  grid-template-rows: [row-1] 64px [row-2] 1.2rem [row-3] auto [row-4] 13rem [row-5] !important;
}

#provider-profile {
  grid-column-start: line-2;
  grid-column-end: line-3;
  grid-row-start: row-3;
  grid-row-end: row-4;
  display: block;
  margin: 1.5rem auto 1.5rem auto;
  max-width: 50rem;
}

#provider-profile > div,
img#profile-picture {
  display: block;
  width: min-content;
  margin: auto auto;
}

img#profile-picture {
  height: 15rem;
  width: 15rem;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

div#name {
  min-width: 25rem;
  text-align: center;
  margin-bottom: 2rem;
}

#name h1 {
  margin-bottom: 0;
  font-size: 2rem;
}

#name p,
.subject {
  color: var(--text-light);
  margin-bottom: 0;
}

div#meta {
  width: 100%;
  display: grid;
  grid-template-columns: [line-1] 1fr [line-2] 1fr [line-3] 1fr [line-4];
  grid-template-rows: [row-1] min-content [row-2];
  padding-bottom: 1rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

div#meta .subject + * {
  margin-top: 0;
}

@media (max-width: 767px) {
  div#meta {
    display: flex;
    flex-wrap: wrap;
  }
  div#meta > div {
    flex: 0 0 100%;
  }
}

#meta > div {
  width: min-content;
  white-space: nowrap;
}

div#link-container {
  width: max-content;
  height: max-content;
  margin: 0 auto 2rem auto;
}

.link-button {
  display: inline-block;
  font-size: 1.2rem;
  padding: 0.5rem 1.2rem 0.5rem 1.2rem;
}

div#pricelist {
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  margin: initial;
}

#pricelist ul,
#pricelist ol {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0rem;
}

#pricelist ul li,
#pricelist ol li {
  margin: 0 1rem 0.5rem 1.3rem;
}

div#services {
  width: 100%;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

#services span {
  border: 1px solid var(--border-light);
  border-radius: 2rem;
  padding: 4px 14px;
  display: inline-block;
  margin: 0 0.5rem 0.5rem 0;
}

div#description {
  width: 100%;
  white-space: pre-line;
  line-height: 1.75em;
}

div#description .subject {
  display: inline;
  line-height: 1;
}

hr {
  border-bottom: 1px var(--border-light);
  border-style: solid;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}
