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

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

.header {
  background: #fff;
}

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

/**
 * Uncomment for inversed header colors
 *
.header {
  background: #fff;
}

.logo {
  color: #404040;
}
.logo:visited {
  color: #404040;
}
.logo:hover,
.logo:focus {
  color: #404040;
}

.logo .member {
  color: #aaa;
}
.logo .sep {
  background: rgba(0,0,0, 0.1);
}

.logo .vs-logo-sec {
  background-image: url('/fs-shared/dist/img/vs-logo-sec-dark.svg');
}

@media (min-width: 760px) {
  .action-menu .button {
    color: #404040;
  }
  .action-menu .button:hover {
    color: #404040;
  }
  .action-menu .button:not(.text) {
    background: rgba(0,0,0, 0.05);
  }
  .action-menu .button:hover:not(.text) {
    background: rgba(0,0,0, 0.1);
  }
}
*/

/**
 * Custom Work
 */

.main {
  background: #f3f6f7 !important;
}

.footer {
  background: #012b41;
}

.logo img {
  margin: 0 0;
}

@media (max-width: 759px) {
  .banner-full .banner-images img {
    object-position: 80% 55% !important;
  }
  .banner-full::before {
    background: linear-gradient(to bottom, #cbd8dd 60%, #b4ccd8) !important;
    opacity: 1 !important;
  }
  .banner.text-light h1,
  .banner.text-light .text-lead,
  .banner.text-light .banner-action .phone,
  .banner.text-light .banner-action .phone a {
    color: #212121 !important;
  }
}

@media (min-width: 760px) {
  .action-menu .button {
    background: #e7ecee;
    color: #485157;
  }
  .action-menu .button:hover {
    background: #dbe3e6;
    color: #485157;
  }
  .header .action-menu a[href^="tel"] {
    color: #485157;
  }
  .banner.text-light h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    font-weight: bold;
  }
  .banner.text-light .text-lead,
  .banner.text-light .banner-action .phone,
  .banner.text-light .banner-action .phone a {
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);
    font-weight: bold;
  }
}

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

.banner-full::before {
  opacity: 0.15;
  background: #00303d;
}

h2,
h1 + h2,
h1 + p + h2,
h1 + .partner + h2 {
  color: #685c0e;
}

.alert-banner {
  background: #003d4e !important;
}

.featured-action a .icon,
.featured-action a h2 {
  color: #003d4e;
}

.featured-action a p {
  color: #5e5e5e;
}

.footer-list .timestamp,
.footer-copyright .sep {
  color: rgba(255, 255, 255, 0.75);
}

.footer {
  color: #fff;
}

.footer h3 {
  color: #e2e8e9;
}

.footer a {
  color: #fff;
}

.footer-list li a:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.1);
}

.widget-cta .action em,
.post-action .timestamp {
  color: #707070;
}

.nav-menu ul li.current_page_parent a,
.nav-menu ul li.current_page_ancestor a {
  color: inherit;
}

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

body {
  background: #012b41;
}
.nav,
.action-menu {
  background: #012b41;
}
.main {
  background: #efefef;
}

@media (min-width: 760px) {
  .action-menu {
    background: 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: #1a648b;
}

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

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

/*==============================================================================
  @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: #655a0b;
  color: #fff;
}
.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: #cac259;
  color: #212121;
}

/**
 * Outline Buttons
 */
.button.outline,
.nav-posts a,
.widget .button {
  border-color: rgba(0, 0, 0, 0.1);
}
.button.outline:hover,
.nav-posts a:hover,
.widget .button:hover,
.button.outline:focus,
.nav-posts a:focus,
.widget .button:focus {
  border-color: #35617f;
}

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

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

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

.featured-action a {
  background-color: #cedade;
}
.featured-action a:hover {
  background-color: #dae3e7;
}

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

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

/**
 * Sub Navigation
 */
.widget-nav ul li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #35617f;
}
.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: #0072bf;
}

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

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

.listing-subpages a {
  color: #404040;
}
.listing-subpages a h3 {
  color: #404040;
}
.listing-subpages a .icon {
  color: #aba44c;
}
.listing-subpages a:hover {
  border-color: #485157;
}
.listing-subpages a:hover h3 {
  color: #556e76;
}

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

.footer a:hover {
  color: rgba(255, 255, 255, 0.75);
}
