/*
Theme Name: Dr. Allan Hynes Periodontist Inc.
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
==============================================================================*/

body {
  background: #2a4661;
}

.header {
  background: #fff url("img/header-pattern.png");
}

.nav {
  background: #294661
}

.action-menu {
  background: #294661;
}

.main {
  background: #efefef;
}

.footer-copyright {
  background: #294661 url("img/pattern.png");
}

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

  .logo {
    width: 270px
  }
}

.logo .custom-logo-text {
  font-size: 2em;
  line-height: 1em;
  font-weight: bold;
  font-variant: small-caps;
  color: #294661;
  text-decoration: underline;
  text-decoration-color: #294661;
  text-shadow: 1px 1px #b0b0b0
}

@media (max-width: 759px) {
  .logo {
    margin: .5em 0 2em 0;
  }
}

@media (max-width: 760px) {
  .logo {
    width: auto
  }
}

@media (min-width: 930px) {
  .logo {
    width: auto
  }
}

.home .featured-blog {
  display: none;
}


/**
 * 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: #B28335;
}

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: #66430A;
}

h1 {
  color: #294661
}

h2,
h1+h2,
h1+p+h2,
h1+.partner+h2 {
  color: rgba(41, 70, 97, .75)
}

h3 {
  color: #294661;
  font-weight: bold;
}

h4,
h5,
h6 {
  color: #294661
}

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

/*==============================================================================
  @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: #B28335
}

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

  .action-menu .button:focus,
  .action-menu .button:hover {
    background-color: #66430A;
  }

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

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

/*==============================================================================
  @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],
.main .gform_wrapper .gform_footer .gform_button,
.main .gform_wrapper .gform_page_footer .gform_button {
  background-color: #B28335;
}

.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,
.main .gform_wrapper .gform_footer .gform_button:hover,
.main .gform_wrapper .gform_page_footer .gform_button:hover,
.main .gform_wrapper .gform_footer .gform_button:focus,
.main .gform_wrapper .gform_page_footer .gform_button:focus {
  background-color: #66430A;
}

/**
 * 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: #66430A;
  color: #66430A
}

/*==============================================================================
  @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: #B28335;
}

.oc-nav a:hover {
  color: #B28335
}

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

.featured-action {
  background: #294661 url("img/pattern.png");
}

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

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

.featured-action a h2,
.featured-action a .icon {
  color: #fff
}

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

/**
 * Global
 */
.widget h2 a,
.widget h3 a {
  color: #B28335
}

.widget h2 a:hover,
.widget h3 a:hover,
.widget .soften-text:hover {
  color: #66430A;
}

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

.widget-nav ul>li.current_page_item>a:hover {
  color: #66430A
}

.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: #B28335;
}

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

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

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

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

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

.listing-subpages a:hover {
  border-color: #66430A;
}

.listing-subpages a:hover h3 {
  color: #66430A;
}

/*==============================================================================
  @Footer
==============================================================================*/
.footer a,
.footer a:visited {
  color: #B28335
}

.footer a:hover,
.footer-list li a:hover {
  color: #66430A
}

.footer .footer-copyright a:hover {
  color: #a6a6a6
}