/*
Theme Name: Attentive Eye Care Optometry
Theme URI: http://getflexsite.com
Description: Custom child theme created for the FlexSite network
Author: Avelient
Version: 1.0.0
Template: vs5
Text Domain: vs5-child
*/

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

body {
  background: #231f20;
  color: #595959;
}
.header {
  background: #acffd2 url(img/pattern.png);
}
.nav {
  background: linear-gradient(to bottom, #acffd2, #acffd2, #58eb9c);
}
.action-menu {
  background: linear-gradient(to bottom, #acffd2, #acffd2, #58eb9c);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.main,
.featured-blog {
  background: #fff;
}
.footer-copyright {
  background: #231f20 url("img/footer.png");
}

.footer {
  background: #58eb9c url("img/pattern.png");
}

@media (min-width: 760px) {
  .action-menu {
    background: none;
  }
  .header {
    padding: 1em 0;
  }
  .action-menu {
    border: none;
  }
}

.logo img {
  margin: 0 0;
}

/**
 * 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,
.featured-blog a {
  color: #d41118;
}

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,
.featured-blog a:hover {
  color: #bd161c;
}

h1 {
  color: #1f5438;
}

h2,
h1 + h2,
h1 + p + h2,
h1 + .partner + h2 {
  color: rgba(31, 84, 56, 0.75);
}

h3 {
  color: #1f5438;
  font-weight: bold;
}

h4,
h5,
h6 {
  color: #1f5438;
}

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

/*==============================================================================
  @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: #231f20;
}
.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: #777777;
}

.action-menu .button {
  color: #231f20;
}
.action-menu .button:hover {
  color: #777777;
}

@media (min-width: 760px) {
  .action-menu .button {
    background-color: #d41118;
    color: #fff;
  }
  .action-menu .button:focus,
  .action-menu .button:hover {
    background-color: #bd161c;
    color: #fff;
  }
  .action-menu .button.text {
    color: #231f20;
  }
  .action-menu .button.text:hover {
    color: #231f20;
  }
}

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

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

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

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

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

.featured-action {
  background: #58eb9c url("img/pattern.png");
}
.featured-action a {
  background-color: rgba(0, 0, 0, 0);
}
.featured-action a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.featured-action a h2,
.featured-action a .icon {
  color: #231f20;
}

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

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

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

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

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

.listing-subpages a {
  color: #404040;
}
.listing-subpages a h3 {
  color: #404040;
}
.listing-subpages a .icon {
  color: #d41118;
}
.listing-subpages a:hover {
  border-color: #bd161c;
}
.listing-subpages a:hover h3,
.listing-subpages a:hover .icon {
  color: #bd161c;
}

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

.footer a {
  color: #595959;
}

.footer-copyright a,
.footer-copyright a:visited {
  color: #fff !important;
}

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

.footer h3 {
  color: #595959;
}
