/*
Theme Name: EWS Child
Description: EWS Child Theme
Author: Effective Web Solutions
Author URI: https://www.effectivewebsolutions.biz/
Template: EWS-Theme
Version: 1.3.6 "Griffin"
Text Domain: EWS-Child
*/
/* Custom styles go here */

/* CSS VARIABLES */

:root {
  --line-height-set: 1.7;
  --theme-font-main: Roboto;
  --theme-font-secondary: Roboto;
  /* --theme-font-headings: 'Domine', serif; */
  --theme-font-headings: 'Roboto Serif', serif;
  --theme-font-menu: Arial;
  --button-font: Arial;
  --button-bg: #151593;
  --button-color: #fff;
  --button-shadow: none;
  --button-shadow-hover: none;
  --footer-anchor-color: #151593;
  --menu-toggle-shadow-color: #a7dcff;
  --menu-toggle-bg: rgba(215, 215, 215, 0.5);
  --themed-bg-color: #2991d6;
  --themed-bg-secondary: rgba(41, 145, 214, 0.8);
  --themed-bg-tertiary: rgba(41, 145, 214, 0.6);
  --header-margin-bottom: 18px;
  --fixed-width: 1400px;
  --themed-bg-color: #a0b3c0;
  --themed-bg-secondary: #2991d6;
  --themed-bg-tertiary: #2991d6;
}

@media only screen and (min-width: 1px) {

  .hdr-areas-served,
  .banner-bar>*:nth-child(3),
  #menu-social-navigation {
    display: none;
  }

  #header {
    background-color: #fff9
  }

  #subhead {
    background: transparent;
    border: none;
    max-width: var(--fixed-width);
    padding: 0;
    margin: 2vh auto;
    height: 1vh;
  }

  .wp-block-button a.wp-block-button__link {
    line-height: 1.2em;
    font-family: 'Fjalla One', sans-serif;
  }

  h1.page-title {
    width: 375px;
    margin: 0;
    text-align: center;
  }

  .home h1 {
    font-size: 1em;
    font-weight: regular;
  }

  #Logo {
    padding: 0;
  }

  footer {
    background-color: var(--themed-bg-color);
    color: #000;
  }

  footer,
  #footer,
  .ftr-serving-title {
    /* font-size: 14px;
		line-height: 1.4; */
    /* text-align: left; */
  }

  footer a,
  #footer a {
    text-decoration: none;
    font-weight: bold;
    /* color: var(--footer-anchor-color); */
    color: #203442;
  }

  #footer a:hover {
    color: #000;
  }

  #footer a.wp-block-button__link {
    color: #FFF;
    background-color: #203442;
    font-weight: normal;
  }

  #footer a.wp-block-button__link:hover {
    background-color: #425968;
  }

  footer .fauxthree,
  footer .fauxfour {
    color: var(--button-bg);
    color: #203442;
    font-weight: bold;
  }

  h3.ftr-serving-title {
    color: #000;
  }

  h3.ftr-serving-title span.ps-sub-title {
    color: #000;
  }

  .ps-sub-title {
    display: block;
    font-size: 0.9em;
    margin-top: 4px;
  }

  aside.footer-widgets {
    /* display: block; */
  }

  .service-blocks p {
    font-family: 'Fjalla One', sans-serif;
    text-shadow: -2px 2px 4px rgba(0, 0, 0, 0.7);
  }

  .logo-wrapper {
    margin: 0 auto 10px auto;
    width: auto;
  }

  .sidebar-title {
    color: var(--button-bg);
  }

  .header-cta-highlights {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-areas: "left right";
    grid-column-gap: 20px;
  }

  #social-bar-navgation,
  .banner-bar {
    padding-right: 0;
  }

  .banner-cta {
    padding-left: 0;
  }

  .banner-cta .button {
    text-align: center;
  }

  .button:not(.wp-block-button):not(#menubutton),
  .button:not(.wp-block-button):not(#menubutton):hover {
    border: none;
  }

  ul {
    margin-left: 1.1em;
    list-style-position: outside;
  }

  .flex-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .flex-box ul {
    text-align: center;
    text-wrap: balance;
    list-style-type: none;
    list-style: none;
  }

  .flex-box li {
    margin: 2em 0
  }

  .home-hero-inner {
    line-height: 1em;
    color: #fff;
    font-weight: 900;
    text-shadow: -2px 2px 4px rgba(0, 0, 0, 0.7);
  }

  .home-hero-heading {
    font-family: 'Fjalla One', sans-serif;
  }

  .home-hero-inner p {
    line-height: 1em;
  }

  .home-hero-inner p a {
    color: #fff;
    text-decoration: none;
  }

  .border {
    border: 1px solid var(--themed-bg-color);
    width: calc(100% - 200px);
    margin: 50px;
    padding: 50px;
    box-sizing: content-box;
  }

  .svc-sctn {
    display: none;
  }

  .home-hero .spacer {
    height: calc(20vh);
  }

  .home-hero-inner {
    max-height: 65vh;
  }

  .home-hero {
    box-sizing: content-box;
    background: rgba(0, 0, 0, 0.6)
  }

  #Logo, #Logo img {
    height: 160px;
  }



















  body>video,
  .head-section>video {
    position: absolute;
    top: 0;
    /* top: var(--wp-admin--admin-bar--height, 0px); */
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
  }

  .before-services {
    background: transparent;
  }

  .banner-cta,
  .banner-cta .button.button:not(.wp-block-button):not(#menubutton) {
    font-family: 'Fjalla One', sans-serif;
    font-size: 24px;
    color: var(--button-color);
  }

  .banner-cta .button.button:not(.wp-block-button):not(#menubutton) {
    background: var(--button-bg);
  }

  .banner-phn .button.button:not(.wp-block-button):not(#menubutton) {
    background: transparent;
  }

  .banner-phn .button:not(.wp-block-button):not(#menubutton):link {
    color: var(--button-bg);
    font-size: 24px;
    font-family: 'Fjalla One', sans-serif;
  }










  h1,
  .fauxone,
  h2,
  .fauxtwo,
  h3,
  .fauxthree,
  h4,
  .fauxfour,
  h5,
  .fauxfive,
  h6,
  .fauxsix {
    /* color: #4282b7; */
    color: var(--button-bg);
  }

  h1,
  .fauxone,
  h2,
  .fauxtwo,
  .fauxthree {
    font-weight: 700;
  }

  .fauxtwo,
  h3,
  .fauxthree,
  h4,
  .fauxfour,
  h5,
  .fauxfive,
  h6,
  .fauxsix {
    font-weight: 500;
  }

  .ews-inline-heading h2,
  .ews-inline-heading .fauxtwo,
  .ews-inline-heading .fauxthree {
    Display: inline;
  }

  .ews-inline-heading p {
    display: inline;
  }

  .head-section {
    grid-row-gap: 8px;
  }

  #menu-social-navigation li a,
  .banner-bar {
    color: #717171;
  }

  ul#menu-social-navigation-1 {
    display: flex;
    flex-wrap: wrap;
  }

  /* li#menu-item-2040 a {
        background-color: #5da0d7;
        color: #fff;
    } */

  .banner-bar {
    grid-template-areas: "lspc phn cta rspc";
  }

  #menu-social-navigation.menu {
    padding-right: 10px;
  }

  span.hdr-areas-served {
    margin-bottom: 0;
  }

  .before-services {
    /* background-image: url(../../uploads/2019/11/main-hero-bg-2-m.jpg);
        background-size: cover;
        background-position: center; */
    padding: 10% 2% 6%;
  }

  .before-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 800px;
  }

  .bs-content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bs-content-block .fauxone {
    text-shadow: -1px 1px 2px #fff;
    color: var(--button-bg);
    font-size: 1.3em;
    font-weight: 500;
    font-family: 'Pattaya', sans-serif;
  }

  .bs-content-block .fauxone.larger {
    font-size: 1.8em;
  }

  .bs-content-block .fauxone:not(.larger) {
    font-family: 'Boogaloo', cursive;
    max-width: 630px;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-buttons .button.button:not(.wp-block-button):not(#menubutton) {
    margin: 5px 15px 0;
    padding: 12px 0;
    width: 260px;
    font-family: 'Fjalla One', sans-serif;
    text-transform: uppercase;
  }

  a.button.button:not(.wp-block-button):not(#menubutton).schedule {
    background-color: #009d39;
  }

  .before-section .clearfix {
    display: none;
  }

  .bfr-svc-frm {
    background-color: #fff;
    box-shadow: 0 0 0 4px #3b79ad, 0 0 14px 6px rgba(0, 0, 0, 0.6);
  }

  .bfr-svc-frm div.wpcf7 {
    width: 360px;
  }

  .bfr-svc-frm form {
    margin-bottom: 0;
  }

  .bfr-svc-frm div.wpcf7 form div input:not([type="submit"]),
  .bfr-svc-frm div.wpcf7 form div textarea,
  .bfr-svc-frm div.wpcf7 form div select {
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
  }

  .bfr-svc-frm div.wpcf7 form input[type="submit"],
  #sidebar form.wpcf7-form input[type="submit"] {
    width: 100%;
    margin: 0;
  }

  #sidebar form,
  p.sidebar-title {
    margin: 0 auto 15px auto;
    max-width: 360px;
  }

  .banner-bar .button.button:not(.wp-block-button):not(#menubutton) {
    border-radius: 3px;
  }

  .button.button:not(.wp-block-button):not(#menubutton),
  input[type="submit"] {
    background: #5da0d7;
    border-radius: 3px;
    font-family: Roboto;
    font-weight: normal;
  }

  input[type="submit"] {
    text-transform: uppercase;
    padding: 10px 20px;
  }

  .banner-bar span.hdr-areas-served a.button.button:not(.wp-block-button):not(#menubutton) {
    background-color: #b90202;
    text-align: center;
    border-radius: 12px;
    padding: 4px 30px 8px;
  }

  .banner-bar span.hdr-areas-served a.button span:first-of-type {
    font-size: 0.75em;
  }

  .banner-bar span.hdr-areas-served a.button span:last-of-type {
    font-size: 1.1em;
    display: inline-block;
    margin-top: 6px;
    text-decoration: underline;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8), 0px 0px 15px rgba(255, 255, 255, 0.1);
  }

  iframe {
    max-width: 100%;
  }

  .first-time-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #content ul.list_buttons li:not(.fa) {
    padding-left: 55px;
    max-width: 200px;
  }

  #content ul.list_buttons li:not(.fa):before,
  #content ul.list_wing li:not(.fa):before {
    margin-left: -40px;
    content: '';
    background-image: url(../../uploads/2019/11/wing-bg.png);
    width: 12px;
    height: 21px;
    display: inline-block;
  }

  #content ul.list_wing li:not(.fa),
  div.block-text-wrapper ul.list_wing li:not(.fa) {
    margin: 12px 0;
  }

  .list_wing li {
    line-height: 1.2;
  }

  ul.list_wing li::marker {
    display: none;
  }

  .list_buttons li {
    padding: 18px;
    background-color: #5da0d7;
    font-weight: 500;
    color: #fff;
    font-size: 21px;
    border-radius: 3px;
  }

  .list_buttons li a {
    color: #fff;
    text-decoration: none;
  }

  .resource-cont {
    padding: 30px;
    margin: 10px 0;
    background-color: #c4dbee;
    line-height: 1.5;
    font-size: 16px;
    color: #3e3e3e;
    border-radius: 3px;
  }

  .resource-cont h3,
  .services-boxes h3 {
    color: #335d6a;
    font-size: 20px;
    text-transform: uppercase;
    display: block;
    font-weight: bold;
  }

  .resource-cont a {
    color: #094eb7;
  }

  ul.list_check {
    display: inline-block;
    text-align: left;
  }

  ul.list_check li {
    background: url(../../uploads/2019/10/check.png) no-repeat;
  }

  .services-boxes-cont {
    display: flex;
    flex-wrap: wrap;
  }

  .services-boxes {
    margin: 15px;
    padding: 30px;
    background-color: #c4dbee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    transition: 0.4s;
  }

  .services-boxes:hover {
    background-color: #daeeff;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
  }

  .services-boxes a {
    color: #636363;
    text-decoration: none;
    display: block;
  }

  .services-boxes strong {
    color: #4c88e8;
    font-size: 14px;
  }

  #content .services-boxes ul.list_check li:not(.fa) {
    margin: 5px 0 20px;
    font-size: 14px;
    line-height: 18px;
  }

  .team-bio {
    background-color: #09252d;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 0 0 1px #013d50;
  }

  .team-bio a {
    color: #5da0d7;
  }

  .team-bio>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .team-bio>div:first-of-type>div:first-of-type {
    margin-top: 30px;
  }

  .team-bio>div:first-of-type>div:last-of-type {
    padding: 30px;
  }

  .team-bio>div:last-of-type {
    padding: 0 30px;
    justify-content: center;
  }

  .team-bio>div:last-of-type>div ul {
    padding: 15px;
    line-height: 1.4;
  }

  .team-bio h4 {
    color: #78bdf7;
  }

  .team-bio>div:last-of-type h4 {
    width: 100%;
    text-align: center;
  }

  .cbox {
    background-color: #335d6a;
  }

  .cbox i {
    color: #cef4ff;
  }

  .cbox h4 {
    color: #bee1ff;
  }

  .scheduler-button {
    display: block;
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 248px;
  }

  .scheduler-button.ismobile {
    bottom: 45px;
  }

  .home .scheduler-button {
    bottom: -48px;
    transition: bottom 1.1s ease-out;
  }

  .home .scheduler-button.active {
    bottom: 0;
  }

  .home .scheduler-button.ismobile.active {
    bottom: 45px;
  }

  .scheduler-button img {
    filter: hue-rotate(285deg);
  }

  .page-id-757 div#post-757 form.wpcf7-form {
    max-width: 380px;
    margin: 15px auto 0;
  }

  .first-time-page h4 {
    margin: 30px 0 10px;
  }

  .scheduler-space-holder {
    min-height: 180px;
  }

  .strong-form label,
  .contactformlabel label {
    font-family: var(--theme-font-headings);
    font-weight: 700;
    color: #616161;
  }

  /* .sidebar-title {
        color: #4a91cc;
    } */

  #menu-social-navigation li {
    margin: 0 10px;
  }

  .home-service-wrapper {
    padding: 23px 0 20px;
  }

  .home-service-box {
    box-shadow: 0 0 0 1px rgba(0, 80, 146, 0.8);
    padding: 0px;
  }

  a.serviceboxlink {
    position: relative;
  }

  .home-service-box img {
    width: 100%;
    margin-bottom: 0;
  }

  .home-service-box h2 {
    position: absolute;
    top: 10px;
    padding: 0 4px;
    color: #5da0d7;
    text-shadow: -1px 1px 1px rgba(0, 0, 0, 0.7);
  }

  .home-service-box .home-service-description {
    position: absolute;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
    transition: 0.4s padding ease-out;
  }

  .home-service-box:hover .home-service-description {
    padding: 6px 5% 40px;
  }

  .home-service-box .home-service-description .button {
    color: #fff;
  }

  .home-service-box .home-service-description ul {
    margin: 0 0 10px;
    padding: 6px;
  }

  .home-service-box .home-service-description ul.list_check li {
    margin: 0;
    padding: 2px 0px 2px 25px;
    font-family: 'Fjalla One', sans-serif;
    text-transform: uppercase;
    color: #005092;
  }

  .home .home-header-wrapper h1 {
    color: #5da0d7;
  }

  .after-services {
    background-color: #dadada;
  }

  .asbefore .after-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .asbefore .after-section .fauxthree {
    text-align: left;
    margin-bottom: 32px;
  }

  .asbefore .after-section ul.list_check {
    margin-bottom: 0;
  }

  .asbefore .after-section ul.list_check li:last-of-type {
    margin: 0;
  }

  .specialize-box {
    padding: 16px;
    margin-bottom: 30px;
    background-color: #ebf5fd;
    background-image: url(../../uploads/2019/11/zbg-light.png);
    background-size: 100% auto;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px #d3dfe8;
  }

  .specialize-box .fauxfour {
    text-align: center;
  }

  .specialize-box .one_half {
    margin: 0;
  }

  .specialize-box .one_half ul {
    margin: 0 auto;
    color: #005092;
    width: 230px;
    font-family: 'Fjalla One', sans-serif;
  }

  #content .specialize-box ul.list_wing li:not(.fa) {
    margin: 20px 0;
  }

  #content .specialize-box ul.list_wing li:not(.fa):before {
    margin-left: -26px;
    margin-right: 10px;
  }

  /* footer {
        background-color: #08252c;
    } */

  /* #footer .fauxthree {
        color: #88c7fb;
    } */

  div#hcard-Yoder-Chiropractic-Center div#Vancouver-Location>h4 {
    margin-top: -5px;
  }

  .hours-of-operation tr {
    line-height: 1.3;
  }

  h3.ftr-serving-title {
    /* color: #fff; */
    line-height: 0.9;
  }

  h3.ftr-serving-title span.ps-sub-title {
    /* color: #c5c5c5; */
  }

  div#custom_html-6 a.button {
    display: block;
    width: calc(100% - 42px);
    max-width: 300px;
    color: #fff;
    margin: 25px auto 0;
    box-shadow: 0 0 0 1px #92bcde;
    text-shadow: -1px 1px 1px rgba(0, 0, 0, 0.5);
  }

  .sub-ftr {
    padding: 15px 4% 60px;
  }

  .share-bar {
    background-color: #eef4f9;
  }

  .review-link-text {
    margin-top: 30px;
    color: #00335d;
  }

  .review-link-text span {
    color: gold;
    text-shadow: -1px 1px 1px #000, -1px 1px 1px rgba(0, 0, 0, 0.45), -1px -1px 1px rgba(0, 0, 0, 0.45), 1px 1px 1px rgba(0, 0, 0, 0.45), 1px -1px 1px rgba(0, 0, 0, 0.45);
  }

  a.g-review-link {
    display: block;
    margin-top: 10px;
    color: #007ce2;
  }

  nav.main-navigation .nav-menu ul.menu.toggled-on {
    z-index: 2;
  }

  .menu-toggle.button {
    color: initial;
    font-size: 1.5em;
    cursor: pointer;

  }

}

@media only screen and (min-width: 400px) {

  .bfr-svc-frm div.wpcf7 form div:nth-of-type(2) {
    width: calc(96% - 110px);
  }

  .bfr-svc-frm div.wpcf7 form div:nth-of-type(3) {
    width: 110px;
  }

  .hero-buttons .button {
    width: 290px;
  }

}

@media only screen and (min-width: 550px) {

  /* .head-section {
        background-image: url(../../uploads/2019/10/header.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    } */

  .bs-content-block .fauxone {
    font-size: 1.7em;
  }

  .bs-content-block .fauxone.larger {
    font-size: 2.9em;
  }

}

@media only screen and (min-width: 768px) {

  /* .before-services {
        background-image: url(../../uploads/2019/11/main-hero-bg-4.jpg);
    } */

  .before-section {
    align-items: center;
    width: calc(92% - 80px);
  }

  .bfr-svc-frm {
    margin: -15px 10px -15px 0;
  }

  .bfr-svc-frm div.wpcf7 form div:nth-of-type(2),
  .bfr-svc-frm div.wpcf7 form div:nth-of-type(3),
  .bfr-svc-frm div.wpcf7 form div {
    margin: 20px 1%;
  }

  .review-link-text span {
    text-shadow: -1px 1px 1px #000, -1px 1px 2px rgba(0, 0, 0, 0.5), -1px -1px 2px rgba(0, 0, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.5), 1px -1px 2px rgba(0, 0, 0, 0.5);
  }

  /* li#menu-item-2040 a {
        background-color: #5da0d7;
        color: #fff;
    } */

}

@media only screen and (min-width: 900px) {






  body>video, .head-section>video { height: 33vh; }
  .banner-bar {
    grid-row-gap: 10px;
    grid-template-columns: .5fr 1.5fr 1.5fr .5fr;
    grid-template-areas: "lspc phn cta rspc";
  }







  body>video {
    height: 100vh;
  }

  .banner-cta {
    grid-area: cta;
  }

  .banner-phn {
    grid-area: phn;
  }

  #Logo {
    display: flex;
    align-items: flex-end;
  }

  .logo-wrapper {
    height: 120px;
    margin-bottom: 20px;
  }

  /* #Logo,
  #header {
    height: 160px;
  } */

  /* #Logo, #Logo img {
    height: auto;
  } */

  #subhead {
    height: 1vh;
  }

  .home-hero {
    height: calc(100vh - 160px);
    display: flex;
    align-items: flex-end;
    justify-content: right;
  }

  .home-hero-inner {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: right;
  }

  .anchor {
    height: 50px;
  }

  #Vancouver-Location .fauxfour {
    display: none;
  }














  .services-boxes-cont {
    background-image: url(../../uploads/2019/10/zbg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .services-boxes {
    max-width: calc(50% - 90px);
    background-color: rgba(157, 195, 226, 0.6);
    text-decoration: none;
  }

  .team-bio>div:first-of-type>div:first-of-type {
    width: 210px;
    margin-top: 0;
  }

  .team-bio>div:first-of-type>div:last-of-type {
    width: calc(100% - 270px);
  }

  .team-bio>div:last-of-type>div {
    width: 50%;
  }

  #menu-social-navigation {
    margin: 10px 0 0 auto;
  }

  #menu-social-navigation li {
    margin: 0;
  }

  .home-service-box h2 {
    font-size: 0.8em;
  }

  .home-service-box .home-service-description ul,
  .home-service-box .home-service-description .button {
    font-size: 14px;
  }

  .sub-ftr {
    padding: 20px 4% 15px;
  }

  .copy-ftr {
    margin: 0 15px 0 210px;
  }

  .scheduler-button {
    left: 5px;
    right: auto;
  }

}

@media only screen and (min-width: 970px) {}

@media only screen and (min-width: 1240px) {

  .home-service-box h2 {
    font-size: 1.55em;
    padding: 0 4px;
  }

  .home-service-box .home-service-description ul {
    font-size: 18px;
  }

  .home-service-box .home-service-description .button {
    font-size: 17px;
  }

  .asbefore .after-section {
    justify-content: space-between;
  }

  .specialize-box {
    background-size: 60% auto;
  }

}

@media only screen and (min-width: 1420px) {

  .head-section {
    -ms-grid-columns: 1fr 375px 1025px 1fr;
    grid-template-columns: 1fr 375px 1025px 1fr;









    grid-template-areas:
      "logo logo social-navigation social-navigation"
      "logo logo banner-bar banner-bar"
      "logo logo site-navigation site-navigation";












  }

}

@media only screen and (min-width: 1600px) {}


/*                                                                                                                    */
/*                                                                                                                    */
/* CHANGE THIS TO SHIFT THE POINT WHERE THE MOBILE MENU CHANGES TO DESKTOP */
/*                                                                                                                    */
/*                                                                                                                    */
@media only screen and (min-width: 1325px) {







  .main-navigation li a {
    border-bottom: 0;
    color: #2a2a2a;
    white-space: nowrap;
  }



















  /* MENU */
  .menu-toggle {
    display: none;
  }

  .sub-menu {
    display: inherit;
    transition: 0s;
  }

  .main-navigation {
    display: block;
    line-height: 0;
    z-index: 5;
  }

  div.nav-menu {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  nav.main-navigation .nav-menu ul.menu,
  nav.main-navigation .nav-menu ul.menu.toggled-on {
    background: inherit;
    position: relative;
    top: inherit;
    left: inherit;
    right: inherit;
    display: block;
    padding: 0;
    float: none;
    width: 1400px;
    border: 0;
    margin: 0 2%;
    max-width: 92%;
    box-shadow: none;
  }

  ul.sub-menu {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
  }

  ul.sub-menu ul.sub-menu {
    margin-top: -1px;
  }

  ul.sub-menu li#menu-item-1454 ul.sub-menu {
    margin-top: -217px;
  }

  nav.main-navigation .nav-menu ul.menu li {
    width: auto;
    background-color: transparent;
  }

  nav.main-navigation .nav-menu ul.menu li a {
    display: flex;
    padding: 20px 25px;
    line-height: 1;
    text-shadow: none;
    justify-content: space-between;
  }

  nav.main-navigation .nav-menu ul.menu li ul.sub-menu li a {
    padding: 10px 25px;
  }

  .main-navigation .sub-menu>li:first-of-type {
    border-top: none;
  }

  ul.submenu li.menu-item-has-children a:after {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid rgba(0, 0, 0, 0.5);
  }

  .main-navigation ul.menu,
  .main-navigation div.nav-menu>ul {
    /*border-bottom: 1px solid #ededed;
        border-top: 1px solid #ededed;*/
    display: inline-block !important;
    text-align: left;
    width: 100%;
  }

  .main-navigation ul {
    margin: 0;
    text-indent: 0;
  }

  .main-navigation ul.menu {
    border: none;
  }

  .main-navigation li a,
  .main-navigation li {
    display: inline-block;
    text-decoration: none;
  }

  .main-navigation li a {
    border-bottom: 0;
    /* color: #6a6a6a; */
    white-space: nowrap;
  }

  .main-navigation li a:hover,
  .main-navigation li a:focus {
    color: #000;
  }

  .main-navigation li {
    margin: 0;
    position: relative;
    border-bottom: none;
    background: transparent;
    font-size: 15px;
    font-weight: normal;
    box-shadow: none;
  }

  .main-navigation li.menu-item-has-children a:after {
    margin-top: 4px;
    margin-left: 10px;
  }

  .main-navigation ul.sub-menu li.menu-item-has-children a:after {
    margin-top: 4px;
    margin-left: 10px;
    border-top: 5px solid transparent;
    border-left: 7px solid rgba(0, 0, 0, 0.5);
    border-bottom: 5px solid transparent;
  }

  .main-navigation li ul {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    z-index: 1;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
  }

  .main-navigation li ul ul {
    top: 0;
    left: 100%;
  }

  .main-navigation ul li:hover>ul,
  .main-navigation ul li:focus>ul,
  .main-navigation .focus>ul {
    border-left: 0;
    clip: inherit;
    overflow: inherit;
    height: inherit;
    width: inherit;
  }

  .main-navigation li ul li a {
    background: #f4f7fb;
    border-bottom: 1px solid #ededed;
    display: block;
    font-size: 11px;
    font-size: 1em;
    padding: 8px 10px;
    width: 180px;
    white-space: normal;
    color: #484848;
  }

  .main-navigation li#menu-item-1454 ul li a {
    background: #fbfcff;
  }

  .main-navigation li ul li a:hover,
  .main-navigation li ul li a:focus {
    background: #fdfdfd;
    color: #444;
  }

  .main-navigation .current-menu-item>a,
  .main-navigation .current-menu-ancestor>a,
  .main-navigation .current_page_item>a,
  .main-navigation .current_page_ancestor>a {
    color: #000000;
    font-weight: bold;
  }

  nav.main-navigation .nav-menu ul.menu>li>ul {
    margin-left: -1px;
  }

  nav.main-navigation .nav-menu ul.menu li ul li {
    border-left: 1px solid rgba(0, 0, 0, 0.15);
  }

  nav.main-navigation .nav-menu ul.menu li ul li ul {
    width: 100%;
  }

  nav.main-navigation .nav-menu ul.menu li ul li ul li {
    float: none;
    display: flex;
    width: calc(100% - 2px);
  }

  .sub-menu li a {
    width: 100%;
    margin-left: 0;
  }

  .sub-menu .menu-item-has-children {
    border-top: 0;
  }

  .sub-menu li .sub-menu li a {
    width: 100%;
    margin-left: 0;
  }

  nav.main-navigation .nav-menu ul.menu li {
    border-right: 1px solid rgba(0, 0, 0, 0.15);
  }

  nav.main-navigation .nav-menu ul.menu>li:last-child {
    border-right: 0;
  }

  /*   ****  These styles are for the Logo in Menu option  ****   */

  div#Logo.in-nav {
    display: none;
  }

  .main-navigation.has-logo ul.menu,
  .main-navigation.has-logo div.nav-menu>ul {
    display: flex !important;
    justify-content: flex-end;
  }

  nav.main-navigation.has-logo .nav-menu ul.menu,
  nav.main-navigation.has-logo .nav-menu ul.menu.toggled-on {
    margin: 0 auto;
  }

  .main-navigation.has-logo ul.menu>li,
  .main-navigation.has-logo div.nav-menu>ul.menu>li {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .main-navigation li.nav-image {
    margin-right: auto;
  }

  .main-navigation.has-logo ul.menu .sub-menu {
    display: block;
  }
}