
*,                        /* This selector targets all elements. */
*::before, *::after {     /* ::before and *::after selectors target all ::before and ::after pseudo-elements of all elements. */
  margin: 0;              /* This rules reset the default margins to zero for all elements, ensuring a clean slate for styling. */
  padding: 0;             /* This rules reset the default paddings to zero for all elements, ensuring a clean slate for styling. */
  box-sizing: border-box;  /* Include padding and border in width and height. This helps prevent unexpected layout issues */
}

/* Typography */

/* Font sizes for large desktops */
@media (min-width: 1200px) {
  :root {
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
  }
}

/* Font sizes for tablets */
@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --font-size-sm: 0.8125rem;
    --font-size-base:1rem /* 0.9375rem; */
    --font-size-lg: 1.0625rem;
    --font-size-xl: 1.1875rem;
    --font-size-2xl: 1.4375rem;
    --font-size-3xl: 1.875rem;
  }
}

/* Font sizes for mobile phones */
@media (max-width: 767px) {
  :root {
    --font-size-sm: 0.75rem;
    --font-size-base: 0.875rem;
    --font-size-lg: 1rem;
    --font-size-xl: 1.125rem;
    --font-size-2xl: 1.375rem;
    --font-size-3xl: 1.75rem;
  }
}


:root{

  --debug-border-size: 0px;

  /* Colors */
  --primary-color: #2563eb;
  --text-color: #1f2937;
  --border-color: #e5e7eb;
  --secondary-color: #1e40af;

  /*
  --light-gray: #f3f4f6;
  */


/* Spacing */
--spacing-sm: 0.5rem;
--spacing-base: 1rem;
/*
--spacing-lg: 1.5rem;
--spacing-xl: 2rem;
*/

/* Version 3.5 and earli - start */

.circle-border { /* a picture appearings in the top */
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid; /* You can change the border thickness and color */
  border-color: var(--photo_border_color);
}

.circle-border img {
  display: block;
  width: 100%;
  height: auto;
}


.note { /* Above an Appointment Request button message */
    background-color: #f9f9f9;
    border-left: 6px solid #2196F3;
    padding: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: var(--font-size-sm);
    color: #333;
}

.note-title {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Version 3.5 and earli - end */


/* Version 3.6 */


  font-size: var(--font-size-xl); /* roor parent font size */


/* Top part of the page: containes outer, inner, A, B - START */


.container-outer {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',  Noto, Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family:Noto;
  width: auto%;
  flex: 0.0 0.0 100%;
  height: auto;
  border: calc(var(--debug-border-size) * 5) solid red;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 0.2rem;
  line-height: 1.4;
  background-color:var(--grey_light_4);
  padding-bottom: 40px;
}


.container-inner {
  /*
  Understanding flex: flex-grow flex-shrink flex-basis
  flex-grow (0): Prevents the container from growing to fill the available space.
  flex-shrink (0): Prevents the container from shrinking when there’s not enough space.
  flex-basis (65%): Sets the initial size of the element, and this overrides the width property in Flexbox layouts.
  flex: 0 0 - to keep container inner not taking the container-outer full width

  When setting both width and flex-basis, the latter takes
  precedence in Flexbox layouts.
  Here is flex-basis=auto if both flex-basis and width are needed
  flex: 0 1 75%;
  */
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;

  min-width: 1200px; /*  Set minimum width to avoid wrapping */
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  align-items: flex-start;

  height: auto;
  border: var(--debug-border-size) solid blue;
  padding: 0.1rem;
  margin-top:50px;
}



@media (min-width: 576px) {
.container-inner {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
.container-inner {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
.container-inner {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
.container-inner {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
.container-inner {
    max-width: 1320px;
  }
}

.container-A {
  flex: 1 1 65%;
  width:auto;
  min-width: 300px;
  height: auto;
  border: var(--debug-border-size) solid red;
  padding: 0.1rem;
  text-align: left;
  padding-bottom: 40px;
  background-color: #fff;
}

.container-B {
  width:auto;
  min-width: 300px;
  flex: 1 1 33%;
  height: auto;
  margin-top: 1rem;
  margin-left:2%;
  border: var(--debug-border-size) solid red;
  padding: 0rem;
  text-align: left;
  background-color: #fff;

}

.container-A2 {
  width: 100%;
  height: auto;
  margin-top: 0px;
  border: var(--debug-border-size) solid green;
  border-top: 1px solid var(--border-color);
  padding: 0px;
  text-align:left;
}

.row-containers {
  display: flex;
  flex-wrap: wrap;
}

.container-A1-1 {
  flex: 1 1 50%;
  border: var(--debug-border-size) solid green;
  margin-bottom: 1rem;
  min-width:300px;
  height: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.container-A1-1-centered-content
{
  /* this is for centering figure */
  display: flex; /* Add flexbox */
  justify-content: center; /* Horizontally center child elements */
  padding-top:40px;
  /* align-items: center;  Vertically center child elements, if needed */
}

.container-A1-2 {
  flex: 1 1 50%;
  border: var(--debug-border-size) solid green;
  margin-bottom: 1rem;
  min-width:300px;
  height: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media screen and (max-width: 1200px) {

  .container-inner {
    width: 90%;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    min-width: auto;
  }

  .container-A1-1 {
    width: 100%;
    flex: 0 0 auto;
    padding-bottom: 10px;
  }

  .container-A1-2 {
    width: 100%;
    flex: 0 0 auto;
    order:1;
    padding-top: 10px;
    margin: 0 auto; /* Center horizontally on screens <= 1200px */
    text-align: center; /* Center text inside, if needed */
  }

  .note {
    text-align: left; /* Center text inside, if needed */
  }

}

@media screen and (max-width: 1000px) { /* 768 */
  .container-A {
    width: 100%;
    flex: 0.0 0.0 100%;
    margin-left: 0;
    margin-top: 1rem;
  }

  .container-B {
    width: 100%;
    flex: 0.0 0.0 100%;
    margin-left: 0;
    margin-top: 1rem;
    order:2;
  }

}

/* Top part of the page: containes outer, inner, A, B - END */

.dentist_name_display {
    margin:0px;
    padding:0px;
    font-weight: 570;
    border: var(--debug-border-size) solid #2196F3;
    color: var(--primary-color);

    line-height: 1;
    white-space: normal;
    vertical-align: top;
}

/* Profile elements start */

.extra-text {
    display: none;
    margin-top: 0px; /* Adds spacing between lines */
}

/* When the checkbox is checked, show the extra text */
.toggle:checked + .learn-more + .extra-text {
    display: block;
}

.learn-more {
    cursor: pointer;
    text-decoration: underline;
    margin-left:10px;
    font-size: var(--font-size-base);
}

.learn-more:hover {
    color: darkblue;
}

.dentist-profile {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-base);
  background: white;
  color: var(--text-color);
}

.section {
  margin-bottom: var(--spacing-base);
  padding: 5px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.section-header {
  font-size: var(--font-size-lg);
  font-weight: 500;
  padding:4px;
  margin-bottom: 0px; /* var(--spacing-sm); */
  margin-top: 0px;
  color: red; /* var(--primary-color); */
  border: var(--debug-border-size) solid red;
}

.section-content {
  font-size: var(--font-size-base);
  color: var(--grey_dark);
  padding-left:35px;
}

.border-color-grey {
  border-left: 2px solid var(--grey_dark_html);
}

.source-content {
  font-size: var(--font-size-sm);
  font-size: var(--font-size-base);

  font-style: italic;
  padding-top:3px;
  padding-left:2px;
  padding-left:35px;

}

.two-columns {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  grid-template-columns: 1fr;
  gap: var(--spacing-base);
}

.subsection {
  margin-bottom: var(--spacing-sm);
  padding: 5px;
  margin-top: 0px;
  border: var(--debug-border-size) dotted red;
}

.subsection-header {
  font-size: var(--font-size-base);
  font-weight: 500;
  padding: 5px;
  color: #1E73BE;

  display: inline-block;
  border: var(--debug-border-size) solid black;
}

.dentist_name_display {
    margin-bottom: 5px; /* Remove bottom margin */
    line-height: 1.2; /* Reduce line height */
    font-weight: 570;
    border: var(--debug-border-size) solid #2196F3;
    color: var(--primary-color);
}

/* photo start */
figure {
   margin: 0 auto;
   max-width: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
}


.profile-picture {
    width: 320px;
    height: 340px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* or left, right, bottom */
}

/*
.circle-border {
  border-radius: 50%;
  overflow: hidden;
}
*/
.blur-photo {
  -webkit-filter: blur({{blurPhoto}}px);
  filter: blur({{blurPhoto}}px);
}
/* photo end */


/* Media Queries for Responsive Design */
@media (max-width: 600px) {
  .doctor_image {
    max-height: 300px; /* Adjust the height for smaller screens */
    width: 100%;
  }

}

@media (max-width: 400px) {
  .doctor_image {
    max-height: 200px; /* Further adjust the height for even smaller screens */
    width: 100%;
  }
}

/* photo end */

.office_title {
   background-color: var(--grey_medium_1);
   color: black;
   font-weight: 580;
   font-size: var(--font-size-xl);
   width: 100%;
   height: 50px;
   border: var(--debug-border-size) dotted red;
   display: flex; /* flex is used primarily to center vertically */
   justify-content: center;
   align-items: center;
}

.office-header {
  color:var(--black);
  font-weight: 598;
  font-size:var(--font-size-base);
  padding-top:25px;"
}

.office_url_link {
   text-decoration:underline;
   color:var(--blue_prime);
   word-wrap: break-word; /* Ensures long words break to fit the container */
   overflow-wrap: break-word; /* Modern equivalent of word-wrap */
}


@media (max-width: 768px) {
  .two-columns {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .dentist-profile {
    padding: var(--spacing-base);
  }
}



/* Profile elements end */



/* NOT USED START COMMENTED OUT*/

--block1-color: var(--primary-color); /* var(--red_prime); */
--block2-color: var(--primary-color);
--block3-color: #918151; /* dark tan */
--block2-color-subsection: var(--primary-color); /* #195905; */


.divider-container {
  display: flex;
  align-items: center;
  margin: 30px 0;
}

.divider-circle {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: red;
  border-radius: 50%;
}

.divider-line {
  display: inline-block;
  width: 10%;
  height: 2px;
  background-color: green;
  vertical-align: middle;
}

.divider {
    border: none;
    height: 4px;
    background-color:red;
    width: 30%;
}
