/**
 * Place for paragraph-doctor styles here.

MAIN

*/
 
/* MAIN */
.page-doctor-info {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 2em;
}



/* PREVIEW */
.view-specialist__item,
.view-specialist__item .paragraph--type--doctor {
  height: 100%;
}
.paragraph-doctor {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: 100px auto;
  row-gap: 0;
  column-gap: 1em;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
}

.paragraph-doctor__photo {
  grid-column: 1;
  grid-row: 1/3;
  height: fit-content;
}

.paragraph-doctor__photo img {
  border-radius: 10px;
}

.paragraph-doctor__content {
  grid-column: 1/3;
  grid-row: 1/3;
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: 55px auto auto 6fr 16fr auto;
  column-gap: 20px;
  row-gap: 5px;
}

.paragraph-doctor__specialization {
  font-size: 14px;
  color: #828EA5;
  grid-column: 2;
  grid-row: 1;
  line-height: 1.2;
}

.paragraph-doctor__specialization span:after {
  content: ',';
  display: inline-block;
}

.paragraph-doctor__specialization span:last-child:after {
  display: none;
}

.paragraph-doctor__name a,
.paragraph-doctor__name {
  font-size: 16px;
  color: #26364B;
  font-weight: bold;
  line-height: 1.3;
}

.paragraph-doctor__name {
  grid-column: 1/3;
  grid-row: 3;
  display: flex;
  align-items: flex-start;
  margin-top: 7px;
}

.paragraph-doctor__name a {
  
}

.paragraph-doctor__name a:hover {
  text-decoration: underline;
}

.paragraph-doctor__experience {
  font-size: 15px;
  color: #26364B;
  line-height: normal;
  grid-column: 1/3;
  grid-row: 4;
  margin-top: 10px;
}

.paragraph-doctor__experience p {
  margin: 0;
}

.paragraph-doctor__appointment {
  font-size: 13px;
  color: #828EA5;
  margin-top: 10px;
  grid-column: 1/3;
  grid-row: 4;
}

.paragraph-doctor__commerce {
  font-size: 14px;
  color: #26364B;
  display: flex;
  flex-direction: column;
  column-gap: 10px;
  grid-column: 1/3;
  grid-row: 5;
  border-radius: 10px;
  border: 1px solid #DE7EE3;
  padding: 5px 15px;
  height: 84%;
}

.paragraph-doctor__clinic {
  font-size: 15px;
  color: #26364B;
  display: flex;
  align-items: center;
  column-gap: 10px;
  line-height: normal;
}

.paragraph-doctor__clinic p {
  margin: 7px 0 10px;
}

.paragraph-doctor__price-description {
  font-size: 12px;
  color: #26364B;
  font-weight: normal;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}

.paragraph-doctor__price {
  font-size: 16px;
  color: #26364B;
  font-weight: bold;
  margin-top: 7px;
  margin-bottom: 7px;
}

.paragraph-doctor__webform {
  grid-column: 1/3;
  grid-row: 6;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.paragraph-doctor__webform-button {
  border: none;
  background-color: #DE7EE3;
  color: #fff;
  padding: 8px 20px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-block;
}


.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n+1) .paragraph-doctor__webform-button {
  background-color: #DE7EE3;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n-1) .paragraph-doctor__webform-button {
  background-color: #7865DF;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n) .paragraph-doctor__webform-button {
  background-color: #FF0D65;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n+1) .paragraph-doctor__commerce {
  /*! border: 1px solid #DE7EE3; */
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n-1) .paragraph-doctor__commerce {
  border: 1px solid #7865DF;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n) .paragraph-doctor__commerce {
  border: 1px solid #FF0D65;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row .paragraph-doctor {
  border: 1px solid transparent;
  transition: all .2s ease;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n+1) .paragraph-doctor:hover {
  border: 1px solid #DE7EE3;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n-1) .paragraph-doctor:hover {
  border: 1px solid #7865DF;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n) .paragraph-doctor:hover {
  border: 1px solid #FF0D65;
}







/* PAGE */
.paragraph-doctor-page {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 30px;
}

.page-reviews {
  background: #DCDDFF;
  padding-bottom: 7em;
  padding-top: 2em;
  margin-bottom: 0;
}

.paragraph-doctor-page__content {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  margin-top: 20px;
  max-width: 35vw;
}

.paragraph-doctor-page__name {
  color: #212529;
  font-size: 32px;
  font-weight: normal;
  margin: 0;
}

.paragraph-doctor-page__specialization {
  text-transform: lowercase;
}

.paragraph-doctor-page__specialization span:first-child {
  text-transform: none;
}

.paragraph-doctor-page__specialization span:after {
  content: ',';
  display: inline-block;
}

.paragraph-doctor-page__specialization span:last-child:after {
  display: none;
}

.paragraph-doctor-page__directions-title {
  font-weight: bold;
}

.paragraph-doctor-page__directions a {
  color: #666;
}

.paragraph-doctor-page__directions span {
  /* text-transform: lowercase; */
}

.paragraph-doctor-page__directions span:nth-child(2) {
  text-transform: none;
}

.paragraph-doctor-page__directions span:after {
  content: ',';
  display: inline-block;
}

.paragraph-doctor-page__directions span:last-child:after {
  display: none;
}

.paragraph-doctor-page__experience-title {
  font-weight: bold;
}

.paragraph-doctor-page__duraction-reception-title {
  font-weight: bold;
}

.paragraph-doctor-page__commerce-title {
  font-weight: bold;
}

.paragraph-doctor-page__clinic p {
  margin-top: 0;
}

.paragraph-doctor-page__direction-specialist {
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 15px;
}

.paragraph-doctor-page__direction-specialist a {
  color: #666;
}

.paragraph-doctor-page__direction-specialist span {
  display: flex;
  align-items: center;
}

.paragraph-doctor-page__direction-specialist span:before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border: 1px solid #55BCE9;
  border-radius: 50%;
  margin-right: 5px;
}

.page-doctor-info__widget {
  background: linear-gradient(90deg, #3B0DCC 0%, #6F58DE 51.23%);
  color: #fff;
  text-align: center;
  padding: 0 15px;
  width: 200px;
  height: 414px;
  display: flex!important;
  align-items: center;
  row-gap: 2em;
}

.page-doctor-info__widget > div {
  padding: 0 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-doctor-info__widget-phone {
  background-color: #fff;
  color: #0D6EFD;
  padding: 5px 0;
  width: 100%;
  display: block;
  margin-top: 5px;
}

.page-doctor-info__widget-button {
  background-color: #fff;
  color: #0D6EFD;
  padding: 5px 0;
  width: 100%;
  font-size: 16px;
  display: block;
  border: none;
  margin-top: 5px;
  cursor: pointer;
  font-family: 'Gilroy Regular', sans-serif;
}





/* Schedule */
.page-doctor-schedule__schedule > div > div:nth-child(1) {
  font-size: 24px;
  color: #212529;
  margin-bottom: 15px;
}

.page-doctor-schedule h2 {
  margin-bottom: 30px;
}

.paragraph-service-schedule {
  display: flex;
  justify-content: space-between;
  color: #212529;
  box-shadow: 1px 3px 5px 0 rgb(0,0,0,0.1);
}

.paragraph-service-schedule__day {
  border: 1px solid #DEE2E6;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.paragraph-service-schedule__empty {
  background-color: rgb(220, 53, 69,0.10);
  width: 100%;
  height: 40px;
  border: 1px solid #DEE2E6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paragraph-service-schedule__day-title {
  height: 40px;
  display: flex;
  align-items: center;
  font-weight: 600;
  column-gap: 5px;
  text-transform: uppercase;
}

.paragraph-service-schedule__time {
  display: flex;
  align-items: center;
  column-gap: 5px;
  height: 40px;
  width: 100%;
  background-color: rgb(40, 167, 69, 0.1);
  justify-content: center;
  border: 1px solid #DEE2E6;
}

.paragraph-doctor__prices > div {
  display: flex;
  flex-direction: column;
  font-size: 15px;
}

.paragraph-service-main {
  display: grid;
  grid-template-columns: auto 80px;
}

.paragraph-service-main__title {
  grid-column: 1;
  grid-row: 1;
}

.paragraph-service-main__price {
  display: flex;
  column-gap: 5px;
  color: #333;
  font-weight: bold;
  text-align: right;
  justify-content: end;
  grid-column: 2;
  grid-row: 1;
}

.paragraph-service-main__price.price-free {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n+1) .paragraph-service-main__price.price-free {
  text-decoration-color: #DE7EE3;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n-1) .paragraph-service-main__price.price-free {
  text-decoration-color: #7865DF;
}

.view-specialist .views-infinite-scroll-content-wrapper .views-row:nth-child(3n) .paragraph-service-main__price.price-free {
  text-decoration-color: #FF0D65;
}

.paragraph-service-main__date {
  color: #DE7EE3;
}

.paragraph-service-main__spec {
  visibility: hidden;
  grid-column: 1/3;
  grid-row: 1;
}






/* ABOUT */
.page-doctor-about__about h2 {
  border: 1px solid rgb(0, 0, 0, 0.1);
  width: fit-content;
  padding: 12px 20px;
}

.page-doctor-about__about > div:nth-child(2) {
  border: 1px solid rgb(0, 0, 0, 0.1);
  width: fit-content;
  padding: 0 20px 12px;
  border-top: 10px solid #DCDDFF;
}






/* SERVICE */
.page-doctor-services__service > div > div:nth-child(1) {
  font-size: 24px;
  color: #212529;
  margin-bottom: 15px;
}

.page-doctor-services {
  color: #212529;
  margin-bottom: 15px;
  box-shadow: 1px 3px 5px 0 rgb(0,0,0,0.1);
}

.page-doctor-services h2 {
  margin-bottom: 30px;
}

.paragraph-service {
  display: grid;
  grid-template-columns: auto 100px 150px;
  border: 1px solid #DEE2E6;
  padding: 8px 20px;
  align-items: center;
}

.paragraph-service__title {
  display: flex;
  align-items: center;
  grid-row: 1;
}

.paragraph-service__price {
  display: flex;
  column-gap: 5px;
  align-items: center;
  grid-row: 1/3;
}

.paragraph-service__button {
  background-color: #DE7EE3;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 5px;
  cursor: pointer;
  height: fit-content;
  grid-row: 1/3;
}

.paragraph-service__name {
  font-size: 13px;
  color: #999;
  grid-row: 2;
}




/* CERTIFICATES */
.page-doctor-certificates h2 {
  color: #323232;
  margin-bottom: 15px;
  text-align: center;
}




/* DIRECTONS */
.page-doctor-directions__directions h2 {
  color: #212529;
  margin-bottom: 15px;
  text-align: center;
}

.view-specialist-directions {
  display: flex;
  justify-content: space-evenly;
  column-gap: 10px;
  row-gap: 2em;
  margin-top: 3em;
  flex-wrap: wrap;
  margin-bottom: 4em;
}

.view-specialist-directions header {
  flex-basis: 100%;
}

.view-specialist-directions__direction {
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-specialist-directions__direction a {
  color: #666;
}

.view-specialist-directions__direction::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border: 1px solid #55BCE9;
  border-radius: 50%;
  margin-right: 7px;
}





/* SPECIALIZATION */
.view-specialization-for-price {
  
}




/* DIRECTION */
.view-direction-for-price {
  
}

.view-direction-for-price .paragraph-service-main {
  
}

.view-direction-for-price .pager__item {
  display: flex;
  margin-top: 3em;
}

.view-direction-for-price a.button {
  color: #323232;
  font-size: 16px;
  padding: 11px 40px 12px 40px;
  border-radius: 10px;
  border: 1px solid #7865DF;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}












/* ADAPTIVE */
@media (min-width: 1920px) {

}

@media (max-width: 1920px) {

}

@media (max-width: 1919px) {
}

@media (max-width: 1820px) {
  .paragraph-doctor__content {
    /* grid-template-rows: 55px 45px 6fr 16fr auto; */
  }
  .paragraph-doctor__specialization {
    font-size: 13px;
  }
}

@media (max-width: 1700px) {
  .paragraph-doctor__content {
    grid-template-rows: 55px auto auto 5fr 16fr auto;
  }
  .paragraph-doctor__experience {
    /* grid-column: 1/3;
    grid-row: 3; */
  }
}

@media (max-width: 1600px) {
  .paragraph-doctor__content {
    /* grid-template-rows: 60px 40px 4fr 13fr auto; */
  }
  .paragraph-doctor__specialization {
    font-size: 13px;
  }
  .paragraph-doctor__webform {
    margin-top: 5px;
  }
}

@media (max-width: 1500px) {

}

@media (max-width: 1440px) {
  .paragraph-doctor {
    grid-template-columns: 80px 1fr;
    grid-template-rows: 80px auto;
    column-gap: 1em;
  }
  .paragraph-doctor__content {
    /* grid-template-rows: 55px auto auto 4fr 16fr auto; */
  }
  .paragraph-doctor__specialization {
    font-size: 14px;
  }
  .paragraph-doctor__name {
    grid-column: 1/3;
    grid-row: 3;
    margin-top: 10px;
  }
  .paragraph-doctor__experience {
    grid-column: 1/3;
    grid-row: 4;
    margin-top: 0;
  }
  .paragraph-doctor__commerce {
    grid-row: 5;
  }
  .paragraph-doctor__webform {
    grid-row: 6;
  }
}

@media (max-width: 1366px) {
  .paragraph-doctor__content {
  }
}

@media (max-width: 1280px) {
  .paragraph-doctor__webform {
    margin-top: 0;
  }
}

@media (max-width: 1150px) {
  .paragraph-doctor-page {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 30px;
  }
  .paragraph-doctor-page__content {
    max-width: none;
  }
  .paragraph-doctor__experience > div {
    display: inline-block;
  }
  .paragraph-doctor__content {
    /* grid-template-rows: 50px 50px 4fr 13fr auto; */
  }
  .paragraph-doctor__name {
    /* grid-column: 2;
    grid-row: 2; */
  }
  .paragraph-doctor__experience {
    /* grid-column: 1/3;
    grid-row: 3; */
    margin-top: 10px;
  }
  .paragraph-doctor__commerce {
    /* grid-row: 4; */
  }
  .paragraph-doctor__webform {
    /* grid-row: 5; */
  }
}

@media (max-width: 1024px) {

}

@media (max-width: 991px) {
  .paragraph-service-schedule {
    flex-wrap: wrap;
    row-gap: 15px;
    column-gap: 15px;
    justify-content: left;
  }
  .paragraph-service-schedule__day {
    width: 130px;
  }
  .paragraph-service-schedule {
    box-shadow: none;
  }
  .paragraph-service {
    column-gap: 1em;
  }
}

@media (max-width: 900px) {
  .paragraph-doctor__content {
    grid-template-rows: auto auto auto 5fr 16fr auto;
  }
  .paragraph-doctor__name {
    grid-column: 1/3;
    grid-row: 3;
    margin-top: 10px;
  }
  .paragraph-doctor__experience {
    grid-column: 1/3;
    grid-row: 4;
    margin-top: 0;
  }
  .paragraph-doctor__commerce {
    grid-row: 5;
  }
  .paragraph-doctor__webform {
    grid-row: 6;
  }
}

@media (max-width: 834px) {
  .paragraph-doctor__content {
    row-gap: 5px;
  }
  .paragraph-doctor__webform {
    margin-top: 1.5em;
  }
  .paragraph-doctor__commerce {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .page-doctor-info {
    display: flex;
    flex-direction: column;
    row-gap: 2em;
  }
  .paragraph-doctor__content {
    /* grid-template-rows: 55px auto auto 5fr 16fr auto; */
  }
  .paragraph-doctor__name {
    /* grid-column: 2;
    grid-row: 2; */
  }
  .paragraph-doctor__experience {
    /* grid-column: 1/3;
    grid-row: 3; */
    margin-top: 10px;
  }
  .paragraph-doctor__commerce {
    /* grid-row: 4; */
    height: 100%;
  }
  .paragraph-doctor__webform {
    /* grid-row: 5; */
    margin-top: 2em;
  }
}

@media (max-width: 650px) {
  .paragraph-doctor-page__name {
    font-size: 28px;
  }
  .paragraph-service {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }
  .paragraph-service__button {
    padding-left: 15px;
    padding-right: 15px;
  }
  .paragraph-doctor-services {
    text-align: center;
  }
  .view-specialist-directions {
    column-gap: 2em;
  }
}

@media (max-width: 550px) {
  .paragraph-doctor__content {
    /* grid-template-rows: 40px 60px auto auto auto; */
  }
}

@media (max-width: 480px) {
  .view-specialist .views-infinite-scroll-content-wrapper .paragraph-doctor__commerce {
    border: none!important;
  }
  .paragraph-doctor__commerce {
    padding: 0;
  }
  .paragraph-doctor__specialization {
    font-size: 13px;
    line-height: normal;
  }
  .paragraph-doctor__name a,
  .paragraph-doctor__name {
    font-size: 15px;
    line-height: normal;
  }
  .paragraph-doctor__experience {
    font-size: 14px;
    line-height: normal;
  }
  .paragraph-doctor__clinic {
    font-size: 14px;
    line-height: normal;
  }
  .paragraph-doctor__prices > div {
    font-size: 14px;
    line-height: normal;
    row-gap: 5px;
  }
}

@media (max-width: 450px) {
  .paragraph-doctor__content {
    /* grid-template-rows: 45px 55px auto auto auto; */
  }
  .paragraph-doctor__name {
    /* grid-column: 2;
    grid-row: 2; */
  }
  .paragraph-doctor__experience {
    /* grid-column: 1/3;
    grid-row: 3; */
    margin-top: 10px;
  }
  .paragraph-doctor__commerce {
    /* grid-row: 4; */
  }
  .paragraph-doctor__webform {
    margin-top: 10px;
  }
  
  .paragraph-doctor-page__name {
    font-size: 26px;
  }
  .paragraph-doctor__photo {
    grid-row: 1/3;
  }
  .paragraph-doctor__name {
    align-items: start;
  }
  .paragraph-doctor__experience {
    grid-column: 1/3;
  }
}

@media (max-width: 400px) {
  .paragraph-doctor {
    height: auto;
  }
  .view-specialist .views-infinite-scroll-content-wrapper {
    row-gap: 30px!important;
  }
  .paragraph-doctor__content {
    row-gap: 10px;
  }
}

@media (max-width: 380px) {
  .paragraph-doctor {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 350px) {
   .paragraph-doctor__content {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }
  .paragraph-service-schedule__day {
    width: 100%;
  }
}
