/*
Theme Name: Aesthetic Family Dental
Theme URI: http://getflexsite.com
Description: Custom child theme created for the FlexSite network
Author: Avelient
Version: 1.0.0
Template: t5
Text Domain: t5-child
*/

/*==============================================================================
  @Base Styles
==============================================================================*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&family=Poppins:wght@300;500;700&display=swap');

body {
  background: #fff;
  font-family: 'Nunito', sans-serif;
}

.header {
  background: #fff;
}

.nav {
  background: #074f93;
}

.action-menu {
  background: #074f93;
}

.main {
  background: #efefef;
}

.footer-copyright {
  background: #074f93;
}

@media (min-width: 760px) {
  .action-menu {
    background: none;
  }
}

/**
 * Custom Work
 */

@media (min-width: 760px) {
  .banner-full .banner-content {
    max-width: 800px;
  }
}

@media (max-width: 759px) {
  .banner-images {
    display: unset;
  }
}

.logo img {
  margin: 0 0;
}

.banner-full::before {
  opacity: .4;
  background: #fff;
}

.banner.text-light h1 {
  color: #212121 !important;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, .75);
  font-weight: 500;
}

.banner.text-light .text-lead,
.banner.text-light .banner-action .phone,
.banner.text-light .banner-action .phone a {
  color: #212121 !important;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, .75);
  font-weight: bold;
}

.banner-full .banner-images img {
  object-position: 50% 70%;
}

.banner-full {
  background: #fff;
}

h1,
h2,
h1+h2,
h1+p+h2,
h1+.partner+h2,
h3,
h4,
h5,
h6 {
  color: #074f93;
  font-family: 'Poppins', sans-serif;
}

.footer .footer-copyright a:hover {
  color: rgba(255, 255, 255, .75);
}

/**
 * COMPLIANCE UPDATES
 **/

.featured-blog .timestamp,
.post-action .timestamp {
  color: #6B6B6B;
}

.footer-copyright .sep {
  color: rgba(255, 255, 255, .7);
}

/**
 * Links
 */
a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.h1 a,
.h2 a,
.h3 a,
.h4 a,
.h5 a,
.h6 a {
  color: #137590;
}

a:hover,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
.h1 a:hover,
.h2 a:hover,
.h3 a:hover,
.h4 a:hover,
.h5 a:hover,
.h6 a:hover {
  color: #0E586C;
}

/**
 * Stars
 */
ol.stars .icon-star {
  color: #0E586C;
}

/*==============================================================================
  @Header
==============================================================================*/

/**
* Custom Logo Styles
* Rename #header-child.php & remove comment from this css to activate.
*

.header {
  padding: 0.5em 0;
}

.logo img {
  margin: 0rem 0 !important;
  padding: 0 !important;
  border-radius: 0px !important;
}
*/

.nav-menu>li>a {
  color: #fff;
}

.nav-menu>li:hover>a,
.nav-menu>li>a:focus,
.nav-menu>li>a:hover,
.nav-menu>li.current_page_ancestor>a,
.nav-menu>li.current_page_item>a,
.nav-menu>li.current_page_parent>a {
  color: rgba(255, 255, 255, .7);
}

@media (min-width: 760px) {
  .action-menu .button {
    background-color: #074f93;
  }

  .action-menu .button:focus,
  .action-menu .button:hover {
    background-color: #07437b;
  }

  .action-menu .button.text {
    color: #404040;
  }

  .action-menu .button.text:hover {
    color: #0E586C
  }
}

/*==============================================================================
  @Buttons
==============================================================================*/

.button.primary,
.widget .button,
.main .gform_wrapper .gform_footer input.button,
.main .gform_wrapper .gform_footer input[type=submit],
.main .gform_wrapper .gform_page_footer input.button,
.main .gform_wrapper .gform_page_footer input[type=submit] {
  background-color: #15809E;
}

.button.primary:hover,
.widget .button:hover,
.main .gform_wrapper .gform_footer input.button:hover,
.main .gform_wrapper .gform_footer input[type=submit]:hover,
.main .gform_wrapper .gform_page_footer input.button:hover,
.main .gform_wrapper .gform_page_footer input[type=submit]:hover,
.button.primary:focus,
.widget .button:focus,
.main .gform_wrapper .gform_footer input.button:focus,
.main .gform_wrapper .gform_footer input[type=submit]:focus,
.main .gform_wrapper .gform_page_footer input.button:focus,
.main .gform_wrapper .gform_page_footer input[type=submit]:focus {
  background-color: #136b83;
}

/**
 * Outline Buttons
 */
.button.outline,
.nav-posts a {
  border-color: rgba(0, 0, 0, 0.1);
}

.button.outline:hover,
.nav-posts a:hover,
.button.outline:focus,
.nav-posts a:focus {
  border-color: #0E586C;
}

/*==============================================================================
  @Navigation
==============================================================================*/

.nav-menu ul>li.current_page_item>a,
.nav-menu ul>li.current_page_parent>a,
.nav-menu ul>li.current_page_ancestor>a {
  color: #137590;
}

.oc-nav a:hover {
  color: #137590;
}

/*==============================================================================
  @Featured Action
==============================================================================*/

.featured-action {
  background: #fff;
}

.featured-action a {
  background-color: rgba(0, 0, 0, 0);
}

.featured-action a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/*==============================================================================
  @Widgets
==============================================================================*/

/**
 * Global
 */
.widget h2 a:hover,
.widget h3 a:hover,
.widget .soften-text:hover {
  color: #0E586C;
}

/**
 * Sub Navigation
 */
.widget-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 1);
  color: #0E586C;
}

.widget-nav ul>li.current_page_ancestor>a,
.widget-nav ul>li.current_page_item>a,
.widget-nav ul>li.current_page_parent>a {
  color: #137590;
}

/**
 * Featured
 */
.widget-featured ul a:hover .text {
  color: #0E586C;
}

/*==============================================================================
  @Listing Subpages
==============================================================================*/

.listing-subpages a {
  color: #404040;
}

.listing-subpages a h3 {
  color: #404040;
}

.listing-subpages a .icon {
  color: #137590;
}

.listing-subpages a:hover {
  border-color: #0E586C;
}

.listing-subpages a:hover h3 {
  color: #0E586C;
}

/*==============================================================================
  @Footer
==============================================================================*/

.footer a:hover,
.footer-list li a:hover {
  color: #0E586C;
}