/*
Theme Name: Markham Orthodontic Specialty v2
Theme URI: http://getflexsite.com
Description: Custom child theme created for the FlexSite network
Author: Avelient
Version: 1.0.0
Template: t4
Text Domain: t4-child
*/

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

body {
  background: #efefef;
}
.header {
  background: #FFF;
  border-bottom: 1px solid #E0E0E0;
}
.nav,
.action-menu {
  background: #3E788F;
}
.banner {
  background: #40809A;
}
.main {
  background: #fff;
}
.widget {
  background: #efefef;
}
.footer {
  background: #4285A0;
}

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

.logo img {
  margin: .5em 0 0 0;
}

.banner .container {
  padding-top: 1.5em;
}

.banner.text-light .banner-action .phone .number a {
  color: #fff;
}

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

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

h1 {
  color: #275432;
}

h2, h1+h2 {
  color: #688F54;
}

h3 {
  color: #688F54;
}

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

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

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

.action-menu .button {
  color: #fff;
}
.action-menu .button:focus,
.action-menu .button:hover {
  color: #B8C96A;
}

@media (min-width: 760px) {
  .action-menu .button {
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.25);
  }
  .action-menu .button:focus,
  .action-menu .button:hover {
    color: #000;
    border-color: rgba(0, 0, 0, 0.75);
  }
  .action-menu .button.text {
    color: #000;
  }
  .action-menu .button.text:hover {
    color: #000;
  }
}

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

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

.button.primary,
.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: #A8B75D;
}
.button.primary: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,
.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: #688F54;
}

.widget .button {
  background-color: #A8B75D;
}
.widget .button:hover,
.widget .button:focus {
  background-color: #688F54;
}

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

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

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

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

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

.featured-action ul li a:hover {
  background: #5E804B;
}

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

/**
 * Global
 */
.widget h3 a {
  color: #B8C96A;
}

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

/**
 * Sub Navigation
 */
.widget-nav ul li a:hover {
  background-color: rgba(255,255,255, 0.5);
  color: #5C6D84;
}
.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: #B8C96A;
}

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

.widget-locations {
  padding: .5em 1em;
  border: 1px solid rgba(255,255,255, .5)
}

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

.listing-subpages a {
  color: #303030;
}
.listing-subpages a h3 {
  color: #303030;
}
.listing-subpages a .icon {
  color: #B8C96A;
}
.listing-subpages a:hover {
  border-color: #B8C96A;
}
.listing-subpages a:hover h3 {
  color: #303030;
}

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

.footer a:hover, .footer a:hover:visited {
  color: #A3C2D0;
}

.footer-list li a:hover {
  color: #fff !important;
}

.footer a, .footer a:visited {
  color: #fff
}
.footer-logo .vs-logo-sec {
  background-color: #efefef;
}

.footer h3 {
  color: #B9CA69;
}

.footer-list .timestamp {
  color: #9CBDCC;
}

.footer-list a:hover .timestamp {
  color: #000;
}

.footer p {
  color: #fff;
}
