/*
  Theme Name: Alabama Oral Surgery
*/

/* ---------------------------------- */
/* ------ Site Specific Styles ------ */
/* ---------------------------------- */

/* Fonts */

@font-face {
    font-family: 'campground';
    src: url('CampgroundFreeDemo-regular.woff2') format('woff2'),
        url('CampgroundFreeDemo-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Variables */

:root {
  --light-blue: #ABC8E9;
  --light-trans-blue: rgba(171,200,233,0.47);
  --blue: #519BEF;
  --dark-blue: #35506F;
  --trans-blue: rgba(81,155,239,0.54);
  --trans-dark-blue: rgba(53,80,111,0.54);
  --sand: #FFF6E3;
  --copy: #47596F;
  --black: #2f2e2d;
  --gold: #6f634f;
}

/* Resets */

html * {
  font-family: "proxima-nova", sans-serif;
  box-sizing: border-box;
}

a, a:hover, a:visited, a:active {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

/* Elements */

body {
  background: #F5F5F5;
}

hero {
  position: relative;
  display: block;
  aspect-ratio: 14/6;
  width: 100%;
  min-height: 515px;
  background: black;
}

hero.interior {
  height: 515px;
}

main {
  background: white;
}

/* Text Classes */

html * {
  font-family: "museo-sans", sans-serif;
}

p,
ul,
ol {
  font-size: 1.25rem;
  color: var(--copy);
  line-height: 1.5;
  font-weight: 300;
}

p.center {
  text-align: center;
}

h2 {
  font-family: 'garamond-premier-pro-caption';
  font-size: 2rem;
  font-weight: 300;
  color: var(--dark-blue);
}

h2 em {
  font-family: 'garamond-premier-pro-caption';
}

.learn-more {
  display: block;
  color: var(--gold) !important;
  font-size: 1.25rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 500px) {
  p {
    font-size: 1rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {

  }
}

/* Wrappers */

.site-wrapper {
  max-width: 1440px;
  margin: 0 auto;
}

.block-wrapper {
  padding: clamp(4rem, 9vw, 9rem) clamp(2rem, 9vw, 9rem) 0 clamp(2rem, 9vw, 9rem);
}

.block-wrapper--reverse {
  padding: 0 clamp(2rem, 9vw, 9rem) clamp(4rem, 9vw, 9rem) clamp(2rem, 9vw, 9rem);
}

.block-wrapper--full {
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 9vw, 9rem);
}

.block-wrapper--thin {
  padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 9vw, 9rem);
}

.block-wrapper--thinner {
  padding: 2rem clamp(2rem, 9vw, 9rem);
}

.block-wrapper--micro {
  padding: 1rem clamp(2rem, 4vw, 4rem);
}

.block-wrapper--inner {
  padding: 4rem;
}

.block-wrapper--horizontal {
  padding: 0 clamp(2rem, 9vw, 9rem) 0 clamp(2rem, 9vw, 9rem);
}

.block-wrapper--vertical {
  padding: clamp(4rem, 9vw, 9rem) 0 clamp(4rem, 9vw, 9rem) 0;
}

/* Stacks */

.stack-xtra-small > * + * {
  margin-block-start: 0.5rem;
}

.stack-small > * + * {
  margin-block-start: 1rem;
}

.stack > * + * {
  margin-block-start: 2rem;
}

.stack-medium > * + * {
  margin-block-start: 3rem;
}

.stack-large > * + * {
  margin-block-start: 4rem;
}

.stack-xtra-large > * + * {
  margin-block-start: 6rem;
}

.stack-xtra-xtra-large > * + * {
  margin-block-start: 8rem;
}

/* Max Width */

.max-1440 {
  display: block;
  margin: 0 auto;
  max-width: 1440px;
}

.max-1280 {
  display: block;
  margin: 0 auto;
  max-width: 1280px;
}

.max-1080 {
  display: block;
  margin: 0 auto;
  max-width: 1080px;
}

.max-800 {
  display: block;
  margin: 0 auto;
  max-width: 800px;
}

.max-450 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 450px;
}

/* Utility Classes */

.bg-image {
  background-position: center;
  background-size: cover;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.vertical-center {
  display: flex;
  align-items: center;
}

.position-relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.self-centered {
  margin-left: auto;
  margin-right: auto;
}

.margin-fix {
  margin-block-start: 3.5rem;
}

/* Buttons */

.button {
  display: grid;
  place-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  width: 215px;
  max-width: 100%;
  font-size: 1.25rem;
  color: white !important;
  text-align: center;
  text-decoration: none;
  cursor: pointer !important;
}

.button.blue {
  background-color: var(--blue);
}

.button.dark-blue {
  background-color: var(--dark-blue);
}

.button.gold {
  background-color: var(--gold);
}

/* Flexbox */

.flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 3rem;
  row-gap: 3rem;
}

.flex-item {
  flex: 1 0 320px;
  max-width: 100%;
}

/* Colors */

.bg-sand {
  background-color: var(--sand);
}

/* Aux Classes */

.text-center {
  text-align: center;
}

.position-relative {
  position: relative;
}

/* --------------------------------- */
/* ------ Reusable Components ------ */
/* --------------------------------- */



hero {
  overflow-x: clip;
}

hero .logo img {
  position: absolute;
  z-index: 100;
  top: 0;
  transform: translateY(-51px);
  height: 175px;
}

.hero-menu {
  position: relative;
  top: -95px;
  margin-bottom: -95px;
  padding: 1.5rem;
  background-color: var(--black);
}

.hero-menu .flex-wrapper {
  column-gap: 0;
}

.hero-menu .flex-item {
  text-align: center;
}

.hero-menu .flex-item:nth-of-type(1) {
  border-right: 1px solid white;
}

.hero-menu .flex-item:nth-of-type(2) {
  border-right: 1px solid white;
}

.hero-menu p {
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.main-menu {
  background-color: var(--trans-dark-blue);
  height: 85px;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.hero-menu .flex-wrapper.some-wrapped .flex-item:nth-of-type(2) {
  border-right: none;
}

.hero-menu .flex-wrapper.all-wrapped {
  padding-left: 2vw;
  padding-right: 2vw;
  row-gap: 1rem;
}

.hero-menu .flex-wrapper.all-wrapped :where(.flex-item:nth-of-type(1), .flex-item:nth-of-type(2)) {
  border-right: none;
  border-bottom: 1px solid white;
  padding-bottom: 1rem;
}

.hero-menu .flex-wrapper.all-wrapped .flex-item {
}

.hero-menu .flex-wrapper.all-wrapped .flex-item img {
  height: 25px;
}

.hero-menu .flex-wrapper.all-wrapped .flex-item p {
  font-size: 14px;
}

.main-menu .flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.main-menu .flex-item {
  flex: none;
}

.main-menu a {
  font-family: 'garamond-premier-pro-caption';
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-right: 3rem;
}

.main-menu a:last-of-type {
  margin-right: 0rem;
}

.main-menu.no-hero {

}

.two-button-row {
  display: flex;
  column-gap: 2rem;
  row-gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-block-start: 3rem;
}

.top-bar {
  background-color: var(--dark-blue);
}

.top-bar .links-container {
  color: white;
  font-weight: 700;
  text-align: right;
}

/* WP Menu Reset */

#menu-container {
  display: flex;
}

#menu-main-menu {
  display: flex;
  align-items: center;
  width: max-content;
  column-gap: 2.5rem;
  transform: translateY(-5px);
}

#menu-main-menu li {
  list-style: none;
}

#menu-main-menu li a {
  font-weight: 600;
  color: white;
  text-decoration: none;
}

/* Burger Line */

nav .burger-icon {
  position: relative;
  width: 40px;
}

nav .burger-icon:hover {
  cursor: pointer;
}

nav .burger-patty {
  margin-bottom: 5px;
  width: 30px;
  height: 3px;
  background: white;
  opacity: 1;
}

nav .burger-patty:last-of-type {
  margin-bottom: 0px;
}

nav .burger-patty:nth-of-type(3) {
  position: absolute;
  bottom: 3px;
}

nav .burger-icon.open :where(.burger-patty:first-of-type, .burger-patty:last-of-type) {
  opacity: 0;
}

nav .burger-icon.open .burger-patty:nth-of-type(2) {
  transform: rotate(45deg);
}

nav .burger-icon.open .burger-patty:nth-of-type(3) {
  transform: rotate(-45deg);
}

/* Mobile Menu */

nav .mobile-menu {
  display: none;
  position: absolute;
  z-index: 1;
  top: 85px;
  left: 0;
  width: 100%;
  justify-content: center;
  text-align: center;
  background-color: black;
}

nav .mobile-menu.open {
  display: flex;
}

nav .mobile-menu ul {
  padding-left: 0rem;
}

nav .mobile-menu li {
  list-style: none;
  margin-bottom: 2rem;
}

nav .mobile-menu li:last-of-type {
  margin-bottom: 0rem;
}

nav .mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

/* Flexslider Styles */

.flex-direction-nav a {
  opacity: 1 !important;
}

.flex-direction-nav a.flex-prev:before {
  content: url('assets/caret-left.svg') !important;
}

.flex-direction-nav a.flex-next:before {
  content: url('assets/caret-right.svg') !important;
}

.flex-direction-nav .flex-prev {
  left: -50px !important;
  filter: invert(1);
  opacity: 0.25 !important;
}

.flex-direction-nav .flex-next {
  right: -50px !important;
  filter: invert(1);
  opacity: 0.25 !important;
}

.slide-img {
	display: block;
	height: 225px;
	background-position: center;
  background-size: cover;
}

.image-slider li {
  margin-right: 10px !important;
}

/* Member Sliders */

.flexslider {
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

#member-slider .flex-item:first-of-type {
  flex: 0 0 360px;
}

#member-slider .flex-item:last-of-type {
  flex: 1 0 360px;
}

#member-slider .headshot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 350px;
  height: 350px;
  background-color: #B5B3B3;
}

#member-slider .flex-item.bio {
  display: flex;
  align-items: center;
}

#member-slider .flex-viewport {
  overflow-y: visible !important;
  overflow-x: clip !important;
}

/* #member-slider .slides .flex-wrapper.all-wrapped .headshot {
  position: static;
  transform: translateY(0);
  border-radius: 0px !important;
  width: 100%;
}

#member-slider .slides .flex-wrapper.all-wrapped .flex-item:first-of-type {
  flex-grow: 1;
} */

.services-wrapper li {
  margin-bottom: 1rem;
}

.services-wrapper li:last-of-type {
  margin-bottom: 0rem;
}

.services-wrapper li span {
  font-weight: 300 !important;
  color: var(--copy);
}


.testimonials p {
  font-family: 'garamond-premier-pro-caption';
  font-size: 2.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--blue);
  text-align: center;
}

.testimonials.reverse-color {
  background-color: #f6f6f4;
}

.testimonials.reverse-color p {
  color: var(--gold);
}

.testimonials.gold p {
  color: var(--gold);
}

.full-width .flex-wrapper {
  column-gap: 0;
}

.flex-wrapper--inner {
  display: flex;
  flex-wrap: wrap;
  row-gap: 3rem;
}

.flex-wrapper--inner .flex-item--inner {
  flex: 1 0 50%;
}

#contact-information .flex-item:first-of-type {
  min-height: 350px;
}

#contact-information .flex-wrapper {
  row-gap: 0;
}

footer {
  background-color: var(--dark-blue);
}

footer .flex-wrapper {
  justify-content: space-between;
}

footer .flex-item {
  flex: none;
}

footer .logo {
  font-size: 30px;
  font-weight: 100;
  color: white;
}

footer .logo-menu {
  font-size: 20px;
  color: var(--light-blue);
}

footer .side-menu a {
  font-family: 'garamond-premier-pro', serif;
  font-size: 1.5rem;
  font-weight: 400;
  display: block;
  color: white;
}

footer .flex-wrapper.all-wrapped {
  justify-content: center;
}

footer .flex-wrapper.all-wrapped .side-menu {
  text-align: center;
}

footer .flex-wrapper.all-wrapped .logo {
  text-align: center;
}

/* Gravity Forms */

.gform_wrapper .gsection {
  margin-bottom: 3rem !important;
}

.gform_wrapper input {
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 1px solid #707070;
  margin-bottom: 3rem !important;
}

.gform_wrapper input.gform_next_button {
  background-color: var(--dark-blue);
  border: none;
  color: white;
  font-weight: 600;
}

@media only screen and (max-width: 1250px) {
  hero .logo img {
    transform: translateY(0px);
    height: 100px;
  }
}

@media only screen and (max-width: 1080px) {
  #member-slider .slides .flex-wrapper.all-wrapped .headshot {
    position: static;
    transform: translateY(0);
    border-radius: 0px !important;
    width: 100%;
  }
  #member-slider .slides .flex-wrapper.all-wrapped .flex-item:first-of-type {
    flex-grow: 1;
  }
  .desktop-menu {
    display: none;
  }
  .burger-icon {
    display: block !important;
  }
  .top-bar {
    display: none !important;
  }
}

@media only screen and (max-width: 800px) {
  .flex-direction-nav .flex-prev {
    left: -25px !important;
  }
  .flex-direction-nav .flex-next {
    right: -25px !important;
  }
}

@media only screen and (max-width: 767px) {
  .testimonials p {
    font-size: 1.85rem;
  }
}

@media only screen and (max-width: 500px) {
  .testimonials p {
    font-size: 1.5rem;
  }
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 0.25rem;
  justify-content: center;
}

.gallery .gallery-item {
  flex: 0 0 362px;
  max-width: 100%;
}

.gallery img {
  border: none !important;
  width: 100%;
  height: auto;
}

.gallery br {
  display: none !important;
}

section.other-procedures {
  background-color: var(--light-trans-blue);
}

#insurance-providers .flex-wrapper {
  row-gap: 3rem;
}

.insurance-provider-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  background-color: #eee;
  border-radius: 1rem;
  padding: 2rem;
}

.insurance-provider-logo img {
  max-height: 100%;
}

ul li ul {
  margin-block-start: 2rem;
}
