/*!
Theme Name:    West Seattle Smile Co. Child Theme
Author:        Thrive
Author URI:    https://thrive.design
Description:   Custom Child Theme for West Seattle Smile Co.
Version:       1.0.0
License:       GNU General Public License v3 or later
License URI:   https://www.gnu.org/licenses/gpl-3.0.html
Template:      page-builder-framework
Text Domain:   page-builder-framework-child
*/

/* GENERAL */

p {
  margin-bottom: 25px;
}

.no-margin p {
  margin-bottom: 0;
}



/* PRE HEADER */

.pre-header-icon,
.pre-header-icon-right {
  margin-right: 5px;
}

.pre-header-icon-right {
  margin-left: 20px;
}



/* MENU */

.wpbf-sub-menu>.menu-item-has-children>a:after {
  font-size: 14px;
  vertical-align: text-bottom;
  margin-left: 6px;
}

.contact-btn a {
  font-size: 16px;
  background-color: #1A5490;
  color: #ffffff !important;
  border-radius: 4px;
  padding: 10px 25px;
  margin-left: 15px;
}

.contact-btn a:hover,
.contact-btn .wpbf-navigation .wpbf-menu > .current-menu-item > a,
.contact-btn .wpbf-mobile-menu > .current-menu-item > a {
  color: #ffffff !important;
}



/* SUB MENU */

.wpbf-mega-menu>.sub-menu {
  padding: 20px 10px;
}

.wpbf-mega-menu.wpbf-mega-menu-4>.sub-menu {
  width: 58%;
}

.wpbf-mega-menu>.sub-menu>.menu-item a {
  margin-bottom: 15px;
}

.wpbf-menu .sub-menu a {
  color: #545454;
  line-height: 1.2;
}

.wpbf-mega-menu>.sub-menu>.menu-item a[href="#"] {
  font-size: 18px;
  color: #1A5490;
}



/* HOME */

.home-hero {
  background-image: url(/wp-content/uploads/home-hero-bg.jpg), url(/wp-content/uploads/smile2.png);
  background-position: center center, top right;
  background-repeat: no-repeat;
}

.home-icons {
  padding: 15px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 30px 100px 0 rgba(221, 224, 231, 0.5);
  max-width: 125px;
  text-align: center;
  margin: auto;
}


/* SERVICE ARCHIVE */

.services-menu .fl-menu .fl-has-submenu-container a {
  margin-top: 22px;
}

.services-menu .sub-menu > li > a {
  font-size: 17px;
  padding: 7px 7px 7px 22px;
}



/* SERVICES CATEGORY ARCHIVE */

.services-col {
  border: 0;
}

.services-col .fl-post-grid-image {
  height: 249px;
  overflow: hidden;
}

.services-col h2.fl-post-grid-title {
  margin-bottom: 0;
}



/* STAFF ARCHIVE */

.fl-post-grid-post {
  border: none;
}

.staff-name {
  font-size: 28px;
  font-family: futura-pt;
  font-weight: 500;
  text-align: center;
  line-height: 1;
  margin-top: 20px;
}

.staff-position {
  font-size: 20px;
  text-align: center;
  color: #1a5490;
}


/* REVIEW ARCHIVE */

.review-stars {
  text-align: center;
  margin-bottom: 5px;
}

.review-stars .checked {
  color: #FFA500;
}

.review-content p::before {
  font-family: 'Sanchez', serif;
  content: '\201C';
  font-size: 20px;
  color: #3ba9d2;
  padding-right: 4px;
}

.review-content p::after {
  font-family: 'Sanchez', serif;
  content: '\201D';
  font-size: 20px;
  color: #3ba9d2;
  padding-left: 4px;
}

.review-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

h2.review-title {
  font-size: 26px;
  color: #3ba9d2;
}


/* FAQ */

.fl-accordion-small .fl-accordion-button {
  padding: 15px 20px;
}

.fl-accordion-small .fl-accordion-content {
  padding: 20px 20px 0 20px;
}


/* CONTACT PAGE */

body #gform_wrapper_1 .top_label input.large {
  padding: 15px 20px;
  line-height: 1.5;
}

body #gform_wrapper_1 textarea {
  padding: 15px 20px;
}

body #gform_wrapper_1 .gform_footer input[type=submit] {
  font-size: 15px;
  background-color: #1a5490;
  color: #ffffff;
  border-radius: 4px;
  padding: 18px 34px;
}

/* BEFORE AND AFTER */
.before-after-photos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 20px;
}
.before-after-content-row {
  padding-top: 60px;
}

/* VIRTUAL CONSULTATION PAGE */
#gform_2{
	 background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
#gform_2 .gfield_label{
	 display: block;
  color: #003366;
  font-weight: 500;
  margin-bottom: 6px;
}
#gform_wrapper_2 .gfield_label {
    color:#1a5490;
    font-weight: bold;
    font-size: 16px;
}
#gform_2 input[type="text"],
#gform_2 input[type="email"],
#gform_2 input[type="tel"],
#gform_2 textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #ffffff;
  transition: border 0.3s ease;
}

#gform_2 input:focus,
#gform_2 textarea:focus {
  border-color: #6699cc;
  outline: none;
}

/* SUBHEADINGS & TEXT */
.page-id-1104 h1 {
  color: #003366; /* Deep blue */
  font-weight: 600;
  margin-bottom: 1rem;
}

/* === BUTTON STYLING === */
#gform_2 button,
#gform_2 input[type="submit"] {
  background-color: #003366;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#gform_2 button:hover,
#gform_2 input[type="submit"]:hover {
  background-color: #0055a5;
}

#geoff-headshot img,
  #niki-headshot img{
  display: block;
  margin: 0 auto;
  width: 75%;  /* instead of 50% */
  max-width: 300px;  /* ensures it doesn't get too large */
  height: auto;
}

#geoff-headshot h3, #niki-headshot h3 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 10px;
}
#geoff-headshot-mobile img,
  #niki-headshot-mobile img{
  display: block;
  margin: 0 auto;
  width: 50%;  /* instead of 50% */
  max-width: 200px;  /* ensures it doesn't get too large */
  height: auto;
}

#geoff-headshot-mobile,
#niki-headshot-mobile {
  display: none;
}

/* === MOBILE ADJUSTMENTS === */
@media (max-width: 768px) {
  .page-id-1104 h1 {
    font-size: 2.2rem;
  }

  .page-id-1104 h2 {
    font-size: 1.5rem;
  }

  #gform_2 {
    padding: 20px;
  }
	
	#geoff-headshot,
  #niki-headshot {
    display:none;
  }

  #geoff-headshot-mobile,
  #niki-headshot-mobile {
    display: block;
  }
  
}
