/*
Theme Name: Oxford Eye Clinic
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: #fff;
}

.header {
  background: #fff;
}

.nav {
  background: #0D2557;
}

.action-menu {
  background: #0D2557;
}

.main {
  background: #efefef;
}

.footer-copyright {
  background: #0D2557;
}

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

/** 
 * Custom Work
 */

.logo img {
  margin: 0 0;
}

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

@media (min-width: 760px) {

  .banner.text-light h1,
  .banner.text-light .text-lead,
  .banner.text-light .banner-action .phone,
  .banner.text-light .banner-action .phone .number a {
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, .6);
  }
}

h2,
h1+h2,
h1+p+h2,
h1+.partner+h2 {
  color: #646A90;
}

.featured-blog .timestamp,
.post-action .timestamp,
.widget-cta .action em {
  color: #6E6E6E;
}

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

.sidebar .widget-testimonials p {
  font-weight: bold;
  font-size: 1rem;
}

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

}

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

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

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

/*==============================================================================
  @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, .75);
}

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

  .action-menu .button:focus,
  .action-menu .button:hover {
    background-color: #0D2557;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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