/*
Theme Name: StanleyWP
Theme URI: http://gentsthemes.com
Description: Responsive WordPress theme with all the Twitter Bootstrap elements and features.

Author: Brad Williams & Carlos Alvarez & Carlos Alvarez
Author URI: http://gentsthemes.com
Version: 3.0.3
Tags: white, black, gray, light, custom-menu, custom-header, custom-background, one-column, two-columns, left-sidebar, right-sidebar, flexible-width, theme-options, threaded-comments, full-width-template, sticky-post, translation-ready, bootstrap, twitter

Copyright (C) 2011-2014 Gents Themes
License: GNU General Public License, version 3 (GPLv3)
License URI: license.txt
	
CREATE CHILD THEME.
See: http://codex.wordpress.org/Child_Themes
	
CSS Rules: Sorted alphabetically for better organization.
*/

:root {
  --spacing-content: 60px;
}

body {
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  background-color: #e8f2f6;
  /* Changed background from #000000 to #e0e0e0 */
  color: #555;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 400;
}

/* TT April 9, 2025 #wrapper{background:white;} */
#wrapper {
  background: #e8f2f6;
}


/* Titles */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #32AFE1;
  font-family: 'Lora', serif;
  font-weight: 700;
}

h1 {
  font-size: 35px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.author-avatar img {
  -webkit-border-radius: 95px;
  -moz-border-radius: 95px;
  border-radius: 95px;
}


/* Paragraph & Typographic */
p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 25px;
}

.centered {
  text-align: center;
}

/* Links */
a {
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  color: #32AFE1;
  transition: color 0.1s ease-in, background 0.1s ease-in;
  word-wrap: break-word;
}

a:hover,
a:focus {
  color: #7b7b7b;
  outline: 0;
  text-decoration: none;
}

a:before,
a:after {
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
}


.navbar {
  margin-bottom: 0px;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
}

.navbar-inverse {
  padding-bottom: 30px;
  padding-top: 35px;
  padding-left: 60px;
  padding-right: 60px;
}

/* TT April 4, 2025 .navbar-inverse { background-color: black; border-color: white; border-bottom-width: 2px; } */
/* Top bar */
.navbar-inverse {
  background-color: #1c1717 !important;
  border-color: #1c1717 !important;
}


.navbar-inverse .navbar-nav>li>a {
  color: white;
}

.navbar-inverse .navbar-nav>li>a:hover {
  color: #32AFE1;
}

.navbar-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.navbar-inverse .navbar-brand {
  color: white;
}

.navbar-inverse .navbar-toggle {
  border-color: transparent;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover {
  background-color: transparent;
  color: #32AFE1;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus {
  background-color: transparent;
  color: #32AFE1;
}

.progress-bar-theme {
  background-color: #1abc9c;
}

.navbar-nav {
  padding-top: 35px;
}


/* Helpers */

.mt {
  margin-bottom: 40px;
  margin-top: 40px;
  background: white;
}

.pt {
  padding-bottom: 50px;
  padding-top: 50px;
  background: white;
}


/* +++++ WRAP SECTIONS +++++ */

/*#ww { background-color: #f2f2f2; padding-bottom: 70px; padding-top: 70px; }*/
/*#ww-homepage { background-color: white; padding-bottom: 0px; padding-top: 10px; }*/
#ww {
  background-color: #e8f2f6;
  padding-bottom: 70px;
  padding-top: 70px;
}

#ww-homepage {
  background-color: #e8f2f6;
  padding-bottom: 0px;
}

#ww-dentists,
#ww-three-column,
#ww-fullpage {

  /* background: url(images/black-pattern-gradient.png) no-repeat center center fixed black; */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: #e8f2f6;

  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/all-teeth.png', sizingMethod='scale');
  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/all-teeth.png', sizingMethod='scale')";
}

#ww-dentists {
  padding-top: 0px;
}

#footer {
  background-color: black;
  padding-bottom: 10px;
  padding-top: 20px;
  border-top: solid 1px grey;
}


#footer p {
  color: white;
  text-align: center;
}

#footer h4 {
  color: white;
  padding-bottom: 20px;
  text-transform: uppercase;
}


/* +++++ Color Wraps / Blog Page +++++ */

#grey {
  background-color: #e8f2f6;
  padding-bottom: 60px;
  padding-top: 60px;
}

#white {
  background-color: #ffffff;
  padding-bottom: 60px;
  padding-top: 60px;
}



/* Blog Date*/
bd {
  color: #d2d2d2;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Blog Author*/
ba {
  font-size: 12px;
  padding-left: 5px;
  text-transform: uppercase;
}

/* Blog Quote */
.bq {
  font-size: 22px;
  padding-top: 30px;
}

/* Blog Tags */
bt {
  font-size: 12px;
}

/* ================== PORTFOLIO IMAGES HOVER EFFECT ================== */
/* Effects also are controled by hover.zoom.js */
.zoom {
  display: block;
  position: relative;
  overflow: hidden;
  background: transparent url(images/loader.gif) no-repeat center;
}


.zoomOverlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
  background-image: url(images/zoom.png);
  background-repeat: no-repeat;
  background-position: center;
}

.zoom2 {
  opacity: 1;
}

.zoom2:hover {
  opacity: 0.5;
}

/* glyphicon Configuration */

.glyphicon {
  color: #1abc9c;
  font-size: 40px;
}

/* WP User Avatar */

.wp-user-avatar {
  margin: 0;
}

.homeboxes {
  border-top: solid 2px #32AFE1;
  background: url(images/all-teeth.png) no-repeat center center fixed black;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;

  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/all-teeth.png', sizingMethod='scale');
  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/all-teeth.png', sizingMethod='scale')";

}

.homebox {
  padding-top: 60px;

}

.homebox p {
  text-align: center;
}

.homebox h3 {
  text-align: center;
  color: #32AFE1;

}

.homebox img {
  margin: 0px;
}

/* TT April 9, 2025 changing font default to white to darker */
.outer-boxes {
  color: #222 !important;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.7;
}

/* Paragraphs inside .outer-boxes */
.outer-boxes p {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #222 !important;
}

/* Keep blue color for headings, but apply heavier styling */
.outer-boxes h2,
.outer-boxes h3 {
  font-weight: 700;
  /* No color override = it will inherit #32AFE1 from global h2/h3 rules */
}

/* TT April 9, 2025 changing font default to white to darker */

.drleft {
  text-align: center;

}

.drleft img {
  margin: 0px;
}

.drleft p {
  text-align: center;
  padding: 4%;

}

.drleft h3 {
  color: #32AFE1;
  text-align: center;

}

.drright img {
  margin: 0px;
}

.drright p {
  text-align: center;
  padding: 4%;

}

.drright h3 {
  color: #32AFE1;
  text-align: center;

}

.page-title {
  text-align: center;
  color: white;
}

.page-title-smile {
  border-bottom: solid 4px black;
  background: url(images/smile-pattern.png) no-repeat center center fixed #27ABDF;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;

  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/toothbrush-pattern.png', sizingMethod='scale');
  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/toothbrush-pattern.png', sizingMethod='scale')";


}

.page-title-brushes {
  border-bottom: solid 4px black;
  /* TT April 9, 2025	background: url(images/toothbrush-pattern.png) no-repeat center center fixed #27ABDF; */
  background: #33afdd !important;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  /* TT April 9, 2025
    color:white;
	
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/toothbrush-pattern.png', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/toothbrush-pattern.png', sizingMethod='scale')";
*/

}

.page-title-brushes .page-title,
.page-title {
	color: #1c1717;
  font-family: 'Lora', serif;
}

.btn-primary {
  background: #32AFE1 !important;
  color: black !important;
  font-weight: 600 !important;
}

.btn {
  margin-bottom: 0px;
}

.navbar-nav {
  padding-top: 15px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #5ec0e8 !important;
}

#custom_html-2 {
  padding-bottom: 0px !important;
}

#footer {
  padding-bottom: 0px;
}

/* TT overriding black background pic with white-ish */
#ww-dentists,
#ww-three-column,
#ww-fullpage {
  background-image: none !important;
  background-color: #cecacc !important;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  padding: 10px;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.horizontal-scroll-gallery {
  display: flex;
  overflow-x: auto;
  gap: -30px;
  /* negative gap for overlap */
  padding: 20px 0;
  scroll-behavior: smooth;
  padding-left: 20px;
}

.horizontal-scroll-gallery img {
  height: 200px;
  width: auto;
  flex-shrink: 0;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 4px solid white;
  margin-right: -60px;
  /* overlap */
  background: white;
  z-index: 1;
}

.horizontal-scroll-gallery img:hover {
  transform: scale(1.08);
  z-index: 10;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.contact-form-wrapper {
    padding: 0 120px;
}
.contact-form-wrapper > div {
    width: 100%;
}

@media (max-width: 768px) {
  .horizontal-scroll-gallery img {
    margin-right: -30px;
    height: 150px;
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 16px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.04);
}

.card {
  position: relative;
  /* this controls the overlap */
  margin-left: -110px;
  flex: auto;
  z-index: 1;
  transition: transform 0.3s ease, z-index 0.3s ease;
}

.card:first-child {
  margin-left: 0;
}

.card img {
  height: 300px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 4px solid white;
  transition: transform 0.3s ease;
}

.card span {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.card:hover {
  transform: scale(1.08);
  z-index: 10;
}

.card:hover span {
  opacity: 1;
}



.card span {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.card:hover {
  transform: scale(1.08);
  z-index: 10;
}

.card:hover span {
  opacity: 1;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.card:first-child {
  margin-left: 0;
  /* no negative margin on the first card */
}

/* Ensure images within cards maintain an aspect ratio of 2:3
   (for example, 200px wide by 300px tall) without stretching.
   The image will fully fill the card’s width, and its height scales automatically.
*/
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

/* Hover label (name/title) overlay on each card */
.card span {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.card:hover {
  transform: scale(1.08);
  z-index: 10;
}

.card:hover span {
  opacity: 1;
}

/* --- 1. Hide the clickable theme credit (typically linking to gentsthemes.com) --- */
a[href*="gentsthemes.com"] {
  display: none !important;
}

/* --- 3. Make backgrounds transparent --- */
/* Remove any background from the card containers */
.card {
  background: transparent !important;
  border: none !important;
}

/* Remove white border and background from card images */
.card img {
  border: transparent;
  background: transparent;
}

.learn-more-btn {
  background-color: #0074cc;
  /* or your brand color */
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  float: right;
}

.learn-more-btn:hover {
  background-color: #005fa3;
}

.hidden-content {
  display: none;
  /* initially hidden */
  margin-top: 10px;
}

.hidden-content.open {
  display: block;
  /* show when toggled */
}

.homebox p {
  color: black;
}

#ww-dentists .container,
#ww-our-team .container,
#ww-fullpage .container {
  padding: 0;
  margin-top: var(--spacing-content);
  margin-bottom: var(--spacing-content);
}

.page-container {
  margin-top: var(--spacing-content);
  margin-bottom: 35px;
}

.about-container {
  padding: 0 80px;
}

#ww-fullpage .team-copy p:last-of-type {
  margin: 0;
}

#photo-accordion {
  margin-top: 35px;
  justify-items: center;
}

.card-deck-gallery {
  display: flex;
}

.about-intro #metaslider-id-43 {
  margin-top: -24px !important;
}

.home-wrap .container {
  justify-items: center;
}

/* Contact page */
body {
  margin: 0;
  padding: 0;
  background-color: #f0f4f8;
}

.info-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: var(--spacing-content) 25px;
  gap: 30px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.info-container .column {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  flex: 1 1 1;
  padding: 30px 25px;
  transition: transform 0.2s ease;
  min-width: 280px;
  justify-items: center;
}

.info-container .column h3 {
  margin-top: 0;
  color: #33afdd;
  font-size: 20px;
  border-bottom: 2px solid #ebf4ff;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.info-container .column p {
  margin: 10px 0;
  font-size: 17px;
  color: #4a5568;
}

.info-container h3 {
  justify-self: center;
}

.info-container a {
  color: #3182ce;
  text-decoration: none;
}

.info-container a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .info-container .column {
    flex: 1 1 1;
  }
}

#wpcf7-f10-p24-o1 form {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  margin-left: 0;
  margin-right: 0;
  padding: 45px 45px 5px 45px;
}

#wpcf7-f10-p24-o1 form p:last-of-type {
  margin-bottom: 0;
}

.contact-page .row {
  justify-items: center;
}

#ww-dentists button,
.contact-page button {
  background-color: #32AFE1;
  color: #fff;
  padding: .5em 1.2em;
  border: none;
  border-radius: 4px;
}

#ww-dentists button {
  margin-bottom: 15px;
}

#ww-dentists button:hover,
.contact-page button:hover {
  background-color: #2687ae;
}

#contact-form-container {
  width: 100%;
}

#ww-dentists .row {
  display: flex;
  align-items: stretch;
}

.modal-backdrop {
  opacity: 0.3;
}
#ww-dentists button {
  width: auto;
}
#ww-dentists .mt-auto {
  align-self: center;
}
.modal-dialog .modal-content {
  text-align: center;
  background-color: #e8f2f6;
}

.modal-content .modal-body {
  padding: 0 60px;
}

.modal-content img {
  max-width: 400px;
  border: 4px solid #32AFE0 !important;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.home-wrap .container {
  width: 100%;
}

.menu-row {
  width: 100%;
  place-self: center;
}

#ww-homepage .row .container {
  padding: 0 30px;
}

.menu-section .navbar-toggle {
  scale: 2;
  margin-top: 30px;
}

@media (max-width: 1200px) {
  #logo a img {
    scale: 0.55;
  }
  #ww-our-team .container {
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
  }
  .info-container .column {
    min-width: 250px;
  }
  .contact-form-wrapper {
      padding: 0 50px;
  }
} /* end 1200px */

.menu-section {
  display: grid;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: repeat(2, auto);
}
.menu-section .portal-section {
  grid-column: 3;
  grid-row: 1;
  width: fit-content;
  justify-self: right;
}
.menu-section .logo-section {
  width: min-content;
  grid-row: 2;
  grid-column: 1;
}
.menu-section .desktop-menu {
  grid-row: 2;
  grid-column: 3;
}

.modal img {
  width: 100%;
}
#ww-dentists .mt-auto {
  width: 100%;
}
#ww-fullpage .map-wrapper {
  width: 96%;
}
/*
@media (max-width: 1200px) {
  .menu-section .portal-section {
    grid-column-end: none;
    justify-self: center;
    grid-row: 2;
    grid-column-start: 1;
  }
  .menu-section .logo-section {
    grid-row: 1;
  }
  .menu-section .desktop-menu {
    grid-row: 1;
  }
  .header-container {
    padding: 15px;
  }
}
*/
@media (max-width: 825px) {
  .header-container {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .menu-section {
    grid-template-columns: 1fr;
  }

  .menu-section .logo-section {
    grid-row: 1;
  }

  .menu-section .portal-section {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row: 2;
    display: flex;
    justify-self: center;
  }

  .menu-section .hamburger {
    margin: 0;
    grid-row: 1;
    grid-column: 1;
    width: fit-content;
    justify-self: right;
    margin-right: 25px;
  }

  .about-container {
    padding: 0 40px;
  }

  #ww-dentists .row {
    flex-direction: column;
    padding: 0 35px;
  }
  #ww-dentists .bio-and-button {
    justify-items: center;
    padding: 0 15px;
  }
  #ww-dentists .dentist-photo {
    width: 90%;
  }

  .card-deck-gallery {
    flex-direction: column;
    width: 95%;
    gap: 35px;
  }
  .card {
    width: 100%;
    margin: 0;
  }
  .card-deck-gallery .card span {
    opacity: 1;
  }
  #ww-dentists .mt-auto {
    width: auto;
  }

  .info-container {
    margin-left: 40px;
    margin-right: 40px;
  }
  #ww-fullpage .map-wrapper {
    width: 88%;
  }
  #ww-fullpage .container {
    padding: 0 40px;
  }
  .menu-section .navbar-collapse {
    grid-area: 2 / 1;
    width: 100%;
    justify-items: center;
    background: rgb(28, 23, 23);
  }
} /* end 768px */

#contact-form-container .wpcf7-form {
  padding-bottom: 60px;
}

@media (max-width: 1000px) {
  .info-container {
    flex-direction: column;
    gap: 35px;
  }
}
.bio-and-button {
  display: contents;
}
.page-template .container-fluid .container .row {
  max-width: 1445px;
}
