/*
 Theme Name:   Tommys Express Custom Theme
 Description:  Working theme for the Tommys Express website
 Author:       Caleb Eckman
 Version:      1.0.0
*/



@font-face {
    font-family: Avenir;
    src:url('assets/fonts/AvenirNext-Regular.woff2') format('woff2'),
        url('assets/fonts/AvenirNext-Regular.ttf') format('truetype');
    font-display: fallback;
}

@font-face {
    font-family: AvenirMedium;
    src:url('assets/fonts/AvenirNext-Medium.woff2') format('woff2'),
        url('assets/fonts/AvenirNext-Medium.ttf') format('truetype');
    /*src: url('AvenirNext-Heavy.ttf');*/
    font-display: fallback;
}

@font-face {
    font-family: AvenirHeavy;
    src: url('assets/fonts/AvenirNext-Heavy.woff2') format('woff2'),
        url('assets/fonts/AvenirNext-Heavy.ttf') format('truetype');
    /*src: url('AvenirNext-Heavy.ttf');*/
    font-display: fallback;
}

:root {
    /* --variables go here */
    --header-height: 86px;
    --top-offset: 0px;
    --tommy-red: #be1f24;
    --tommy-red-faded: #ebbbbd;
    --tommy-red-faded-more: #f1dede;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Avenir',Arial,sans-serif;
    background-color: #fcfcfc;
}

a:focus, button:focus {
    outline: 1px solid white;
}

body .wrap {
    max-width: 1200px;
    margin: 0 auto;
}

body .wrap.narrow {
    max-width: 900px;
}

:not(.fl-builder-edit) body.logged-in {
    --top-offset: 32px;    
}

@media screen and (max-width: 782px) {
    :not(.fl-builder-edit) body.logged-in {
        --top-offset: 46px;    
    }
}

html.fl-builder-is-showing-toolbar body {
    --top-offset: 45px;
}

/*Navigation ---------------------------------------------------*/

header {
    width: 100%;
    background-color: black;
    height: var(--header-height);
    padding: 0 1em;
    box-sizing: border-box;
    position: fixed;
    top: var(--top-offset);
    z-index: 10;
}

header.flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.custom-logo-link {
    display: inline-block;
    font-size: 1.1em;
    color: white;
    text-decoration: none;
    font-family: 'AvenirHeavy', Arial Black, sans-serif;
    text-transform: uppercase;
    vertical-align: middle;
}

.custom-logo {
    height: var(--header-height);
    width: auto;
    vertical-align: middle;
    box-sizing: border-box;
    padding: .75em .5em .75em 0;
}

nav.main #search-button {
    height: 30px;
    width: auto;
    cursor: pointer;
    vertical-align: middle;
    background: none;
    border: none;
    padding: 2px 0;
    margin: 0 .5em;
}

nav.main #search-button svg {
    height: 26px;
    width: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav > ul > li {
    display: inline-block;
    position: relative;
    transition: .3s all;
}

nav li a > span {
    opacity: .7;
}

nav.main li:hover, nav.main li a:focus {
    background-color: rgba(255,255,255,.15);
}

nav.main > ul > li:last-child:hover {
    background-color: rgba(255,255,255,0);
}

nav.main > ul > li:nth-last-child(2)::before {
    display: inline-block;
    position: absolute;
    content: '';
    width: 1px;
    height: 40px;
    top: calc(((var(--header-height) - 40px)/2));
    background-color: white;
    margin-left: -2px;
}

nav.main > ul > li {
    vertical-align: top;
    height: var(--header-height);
    line-height: calc(var(--header-height) - 2px);
}

nav.main .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-left: 1px solid white;
    border-top: 1px solid white;
    border-right: 1px solid rgba(0,0,0,0);
    border-bottom: 1px solid rgba(0,0,0,0);
    transform: rotateZ(225deg) translateX(2px) translateY(3px);
    margin-top: -3px;
    margin-left: 6px;
}

nav a, nav a:visited {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 0 .4em;
}

nav.main a {
    padding: 0 1em;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0);
}

nav.main a:focus {
    background-color: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,1) !important;
    outline: none;
}

nav.main .sub-menu {
    position: absolute;
    background-color: black;
    overflow: hidden;
    padding: 0;
    height: 0;
    min-width: 200px;
}
nav.main .sub-menu li {
    display: block;
    height: auto;
    line-height: initial;
    box-sizing: border-box;
    padding: 0;
}
nav.main .sub-menu a {
    padding: 1em;
    width: 100%;
}
nav.main li:hover > .sub-menu, nav.main li:focus-within > .sub-menu {
    height: auto;
}

button.mobile {
    display: none;
    width: 25px;
    height: 25px;
    position: relative;
    background: none;
    border: none;
    margin-top: calc((var(--header-height) - 26px)/2);
    padding: 0;
    margin-right: 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

button.mobile span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: white;
    border-radius: 4px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

button.mobile span:nth-child(1) {
    top: 0px;
  }

  button.mobile span:nth-child(2),button.mobile span:nth-child(3) {
    top: 10px;
  }

  button.mobile span:nth-child(4) {
    top: 20px;
  }

  button.mobile.open span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
  }

  button.mobile.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  button.mobile.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  button.mobile.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
  }

/*

YEXT STUFF

*/

.search-container {
    display: inline-block;
    vertical-align: top;
    color: white;
    height: var(--header-height);
    line-height: normal !important;
}

.search-container #search-button, .search-container #close-search-button {
    height: 30px;
    width: auto;
    cursor: pointer;
    vertical-align: middle;
}

.search_form {
    display: inline-block;
    width: 0;
    margin: 1em 0;
    vertical-align: middle;
    box-sizing: border-box;
    height: 48px;
}

#close-search-button, #search-button {
    background: none;
    border: none;
    padding: 4px 0;
    margin: 0 .5em;
}

#search-button {
    padding: 2px 0;
}

#close-search-button {
    display: none;
    margin: 0 .5em 0 1em;
}

#close-search-button svg, #search-button svg {
    height: 22px;
    width: auto;
}

#search-button svg {
    height: 26px;
}

.yxt-SearchBar {
    display: none;
    vertical-align: middle;
}

/* Border and Radius */
 .search_form .yxt-SearchBar-container {
    border: none;
    border-radius: 5px;
    margin-top: 5px;
    color: black !important;
  }
  
  /* Background Color */
  .search_form .yxt-SearchBar-button,
  .search_form .yxt-SearchBar-clear,
  .search_form .yxt-SearchBar-form,
  .search_form .yxt-AutoComplete-wrapper {
    background-color: white;
  }
  
  /* Text Color */
   .search_form .yxt-AutoComplete-option,
  .search_form .yxt-SearchBar-input {
    color: black !important;
    padding: .5em 1em !important;
  }

  .yxt-AutoComplete-option:hover, .search_form .yxt-AutoComplete-option.yxt-selected {
      background-color: #f0f0f0 !important;
  }
  
  /* Seperator bewteen autocomplete and search bar */
   .search_form .yxt-AutoComplete:before {
    background-color:white;
  }
  
  /* Hover / Selected State */
   .search_form .yxt-AutoComplete-option.yxt-selected,
  .search_form .yxt-AutoComplete-option:hover {
    background-color: var(--tommy-red);
    color: black;
  }
  
  /* Changing the icon color */
   .search_form .yxt-SearchBar-clear,
  .search_form svg {
    color: black !important;
    fill: black;
  }
  
   .search_form path {
    stroke: black;
  }
    .yxt-SearchBar-container input {
        font-size: 1.1em;
    }
  
/* End Yext stuff */

/*General theme CSS -----------------------------------------*/

main .hero.compact {
    width: 100%;
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
    color: white;
}

.bg-red-thatched, .bg-red-thatched > .fl-row-content-wrap {
    background-color: #9c1116;
    background: repeating-linear-gradient(121deg, #9c1116, #9c1116 8px, #8a0c11 8px, #8a0c11 9px);
    box-shadow: inset 0px 0px 20px rgba(0,0,0,.3)
}

.bg-grey-thatched, .bg-grey-thatched > .fl-row-content-wrap {
    background-color: #ddd;
    background: repeating-linear-gradient(121deg, #ddd, #ddd 8px, #d4d4d4 8px, #d4d4d4 9px);
    box-shadow: inset 0px 0px 20px rgba(0,0,0,.3)
}

main > .hero.compact > h1 {
    width: 100%;
    text-shadow: 0px 5px 10px rgb(0, 0, 0, .2);
}

.wrap a, .wrap a:visited, .wrap a:hover {
    text-decoration: none;
    color: inherit;
}

.flex {
    display: flex;
}

.flex.sidebar {
    padding: 3em 1.5em;
}

.flex.sidebar > * {
    width: 100%;
    box-sizing: border-box;
}

.flex.sidebar > *:first-child {
    flex-grow: 1;
    max-width: 840px;
    width: 70%;
}
.flex .excerpt:not(:last-child) {
    border-bottom: 1px solid #ddd;
    padding-bottom: 2em;
    margin-bottom: 2em;
}
article .entry-title {
    font-size: 2.3em;
    margin: 0;
}
.flex .excerpt .tx-button {
    font-size: 1.1em;
    margin-left: 0;
}
.blog article > p, .blog .content > p, aside li {
    font-size: 1.1rem;
    line-height: 1.6rem;
}
.flex.sidebar aside {
    width: 360px;
    padding-left: 1.5em;
}

.flex.sidebar aside ul {
    list-style: none;
    padding-left: 0;
}

.flex.sidebar aside ul li a {
    display: block;
    box-sizing: border-box;
    padding: .75em 1em;
    border-left: 2px solid var(--tommy-red-faded);
    transition: .1s all ease-in;
}

.flex.sidebar aside .wp-block-categories-list ul > li > a {
    border-left: 2px solid var(--tommy-red-faded-more);
}

.flex.sidebar aside ul li a:hover {
    box-shadow: 0px 3px 10px rgba(0,0,0,.1);
    background-color: white;
    border-left: 4px solid var(--tommy-red);
}

.flex.sidebar aside h3 {
    font-size: 1.7em;
    margin: 0 0 1rem 0;
}

main {
    margin-top: var(--header-height);
    padding: 0.05px 0;
}

nav.footer {
    display: inline-block;
}

nav.footer a:hover {
    text-decoration: underline;
}

.centered {
    text-align: center;
}

.inline {
    display: inline-block;
}

.blog .content {
    margin-top: 2em;
}

.blog .posts, .blog > article {
    padding-right: 1.5em;
}

.blog a:not(.tx-button):focus {
    outline: 1px solid black;
    border-radius: 3px;
}

.blog > article .content a, .blog > article .content a:visited {
    text-decoration: underline;
    color: #be1f24;
}

.blog > article .content a:hover {
    color: red;
}

.blog > article .content a:focus {
    color: red;
}

.meta-info > span {
    display: inline-block;
    padding-right: 1.2rem;
}

.meta-info i, .tags-links i {
    display: inline-block;
    margin: -4px 4px 0 0;
    color: var(--tommy-red);
    vertical-align: middle;
}

.meta-info a, .meta-info a:visited, .meta-info a:hover, .tags-links a, .tags-links a:visited, .tags-links a:hover {
    text-decoration: none;
    color: black;
    transition: .2s all ease;
}

.meta-info a:hover, .tags-links a:hover {
    text-decoration: underline;
}

.blog .pagination .nav-links > .current, .blog .pagination .nav-links > a {
    display: inline-block;
    padding: .6em 1em;
    border-radius: 3em;
    border: 1px solid var(--tommy-red);
    color: var(--tommy-red);
    margin-right: .2em;
    transition: .2s all ease;
}

.blog .pagination .nav-links > .current, .blog .pagination .nav-links > a:hover {
    border: 1px solid var(--tommy-red);
    background-color: var(--tommy-red);
    color: white;

}

.blog .post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ddd;
}

.blog .post-navigation .nav-links > div {
    width: 50%;
    flex-basis: 50%;
}

.blog .breadcrumb-nav {
    margin: 0 0 1em 0;
    font-size: 1.2rem;
}

.blog .post-navigation .nav-links a {
    font-size: 1.1rem;
    display: block;
    margin-top: 1px;
    padding: 1em 0;
    vertical-align: middle;
}

.blog .breadcrumb-nav span {
    font-weight: bold;
}

.blog .post-navigation .nav-links a > span {
    display: inline-block;
    width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    margin-top: -3px;
}

.blog .post-navigation .nav-links a > .mobile {
    display: none;
}

.blog .post-navigation .nav-links a i, .blog .breadcrumb-nav a i {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    text-align: center;
    line-height: 32px;
    vertical-align: middle;
    margin-top: -2px;
    margin-right: 5px;
    transition: .3s all ease;
}

.blog .post-navigation .nav-links .nav-next {
    margin-left: auto;
    text-align: right;
}

.blog .post-navigation .nav-links .nav-next i {
    margin-right: 0px;
    margin-left: 5px;
}

.blog .post-navigation .nav-links a:hover > span, .blog .breadcrumb-nav a:hover {
    text-decoration: underline;
}

.blog .post-navigation .nav-links a:hover i, .blog .breadcrumb-nav a:hover i {
    background-color: rgba(0,0,0,.1);
    text-decoration: none;
}

.socials a {
    display: inline-block;
    text-decoration: none;
    box-sizing: border-box;
    padding-top: 1px;
    padding-left: 1px;
    color: white;
    width: 50px;
    height: 50px;
    line-height: 51px;
    text-align: center;
    font-size: 1.5em;
    border-radius: 50px;
    margin-left: 15px;
    background-color: #222222;
    transition: .5s all ease;
}
.socials a:hover {
    background-color: var(--tommy-red);
}

.photo img {
    width: 90%;
    max-width: 500px !important;
    margin: 0 auto;
    box-sizing: border-box;
    border: 12px solid white;
    box-shadow: 0px 3px 10px rgba(0,0,0,.2);
}

.photo.angled-right img {
    -ms-transform: rotate(4deg);
    -webkit-transform: rotate(4deg);
    transform: rotate(4deg);
    -webkit-transition: .3s all;
    transition: .3s all;
}

.photo.angled-left img {
    -ms-transform: rotate(-4deg);
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
    -webkit-transition: .3s all;
    transition: .3s all;
}

.checks-list .fl-rich-text ul, .tx-custom .checks-list ul {
    margin: 0;
    padding-left: 5px;
    list-style: none;
}
.checks-list .fl-rich-text li, .tx-custom .checks-list li {
    font-size: 1.1em;
    line-height: 1.8em;
    vertical-align: middle;
}
.checks-list .fl-rich-text li:before, .tx-custom .checks-list li:before {
    display: inline-block;
    content: "";
    width: 8px;
    height: 18px;
    border-bottom: 2px solid var(--tommy-red);
    border-right: 2px solid var(--tommy-red);
    margin-right: .8em;
    transform: rotateZ(45deg);
}

.fl-module-rich-text h2,.fl-module-rich-text h3,.fl-module-rich-text h4,.fl-module-rich-text h5, h2.fl-heading, h3.fl-heading, h4.fl-heading, h5.fl-heading {
    margin: 0 0 .5rem 0;
}

.fl-module-rich-text h2, h2.fl-heading, .tx-custom h2 {
    font-size: 2.8rem;
}

.fl-module-rich-text h3, h3.fl-heading, .tx-custom h3 {
    font-size: 2.3rem;
}

.fl-module-rich-text h4, h4.fl-heading, .tx-custom h4 {
    font-size: 2rem;
}

.fl-module-rich-text h5, h5.fl-heading, .tx-custom h5 {
    font-size: 1.7rem;
}

.fl-module-rich-text p, .tx-custom p, .fl-module-rich-text li {
    font-size: 1.2rem;
    line-height: 1.5em;
}

.tommy-password {
    margin: 3em auto;
    max-width: 500px;
    box-shadow: 0px 5px 10px rgba(0,0,0,.1);
    font-size: 1.2em;
    padding: 2em;
}

.tommy-password input, .tommy-password button {
    font-family: 'Avenir';
    font-size: 1em;
    width: 100%;
    padding: .75em;
    border-radius: 5px;
    box-sizing: border-box;
}

.tommy-password input {
    border: 1px solid rgb(204, 204, 204);
    margin-bottom: .75em;
}

.tommy-password label {
    display: block;
    margin-bottom: .5em;
}

.tommy-password button {
    border: none;
    background-color: #be1f24;
    color: white;
    cursor: pointer;
}

.tommy-password i {
    font-size: 3em;
    color: #be1f24;
    display: block;
    text-align: center;
    margin-bottom: .75em;
}

/* Custom CSS --------------------------------------------*/

.tommy-custom.flex, .tommy-custom .flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tommy-custom .col {
    width: 100%;
    padding: 0;
    flex-basis: auto;
}

.tommy-custom .col.half {
    width: 47%;
    margin: 0 1.5%;
}
.tommy-custom .col.third {
    width: 30%;
    margin: 0 1.5%;
}
.tommy-custom .col.quarter {
    width: 22%;
    margin: 0 1.5%;
}

/*Custom Module Classes ------------------------------------------------*/

.hero .fl-row-content-wrap {
    width: 100%;
    min-height: 70vh !important;
    display: flex;
    align-items: center;
    background-color: #ddd;
    position: relative;
}

.hero.compact .fl-row-content-wrap {
    min-height: 40vh !important;
}

.hero h1, .hero.compact h1 {
    font-family: 'AvenirHeavy',Arial Black, sans-serif;
    font-size: 4.2em;
}

.tx-button {
    display: inline-block;
    font-family: 'Avenir';
    font-weight: bold;
    font-size: 1.3em;
    padding: 0.7em 1.2em;
    color: white !important;
    margin: 0.5em 0.5em 0 0.5em;
    cursor: pointer;
    background-color: var(--tommy-red);
    border-radius: 2em;
    text-decoration: none;
    box-shadow:  0px 5px 10px rgb(0 0 0 / 20%);
    transition: .4s all ease;
}

.tx-beaver-button.square a {
    border-radius: 5px !important;
}

.tx-beaver-button.full-width {
    margin: 1em 0;
}

.tx-beaver-button.full-width a {
    width: 100%;
}

.tx-beaver-button .fl-button-wrap a, .tx-button {
    transition: .3s all ease !important;
}

.tx-beaver-button .fl-button-group-buttons > * {
    margin-bottom: .75em;
}

.tx-beaver-button .fl-button-wrap a:hover {
    background: initial;
    filter: brightness(1.4) saturate(.8);
}

.tx-button:hover {
    filter: brightness(1.4) saturate(.8);
}

.tx-beaver-button.bouncy .fl-button-wrap a, .tx-button.bouncy {
    transform: scale(1) translateY(0) translateZ(0);
    box-shadow: 0px 5px 10px rgb(0 0 0 / 20%) !important;
    transition: .3s all cubic-bezier(0.25, 0.1, 0.1, 1.78) !important;
}

.tx-beaver-button.bouncy .fl-button-wrap a:hover, .tx-button.bouncy:hover {
    transform: scale(1.11) translateY(-3px) translateZ(0);
    box-shadow: 0px 10px 15px rgb(0 0 0 / 20%) !important;
    transition: .3s all cubic-bezier(0.25, 0.1, 0.1, 1.78) !important;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    background: rgba(200,200,200,.5) !important;
}

.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: rgba(200,200,200,1) !important;
}

.fl-video-poster img {
    display: block;
    margin: 0 auto;
}

.fl-video-lightbox-wrap .mfp-iframe-scaler iframe {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

article .wp-block-video.vertical video, .wp-block-post-content .wp-block-video.vertical video {
    display: block;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

.bg-white {
    box-sizing: border-box;
    background-color: white;
    padding: 1em;
}

.red-gradient {
    background: linear-gradient(90deg,#E31314,#be271f);
}

.shadowed, .shadowed img {
    box-shadow:  0px 5px 10px rgb(0 0 0 / 20%);
}

h1.shadowed, h2.shadowed, h3.shadowed, h4.shadowed, h5.shadowed, p.shadowed, li.shadowed {
    box-shadow: none;
    text-shadow: 0px 5px 10px rgb(0 0 0 / 20%);
}

.shadowed.rounded {
    box-shadow: none;
}

.rounded-small {
    border-radius: 5px;
}

.rounded-small img {
    border-radius: 5px;
}

.rounded-small.shadowed {
    box-shadow: none;
}

.rounded img {
    border-radius: 50%;
}

/* Footer CSS --------------------------------------------------------------*/

footer.tommy-footer {
    background-color: black;
    /*background: linear-gradient(160deg, #242424, black, #242424);*/
    vertical-align: middle;
    color: white;
    padding: 2em 1em 1em 1em;
}

footer.tommy-footer .icons {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1em;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

footer.tommy-footer .icons > div:last-child {
    text-align: right;
}

footer.tommy-footer .icons .socials {
    margin-bottom: 1em;
}

.downloads img {
    height: 60px;
    width: auto;
    margin: 15px 8px 0 8px;
}

footer .downloads img {
    height: 40px;
    margin-top: 0;
}

footer .downloads a:last-of-type img {
    margin-right: 0;
}

footer.tommy-footer nav {
    display: block;
    margin: 2em 0;
}

footer.tommy-footer nav a, footer.tommy-footer p a {
    padding: .15em;
    border-radius: 2px;
}

footer.tommy-footer #menu-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

footer.tommy-footer #menu-footer > li {
    font-size: 1.2em;
    font-weight: bold;
}

footer.tommy-footer #menu-footer > li > a:hover {
    text-decoration: none;
    cursor: initial;
}

footer.tommy-footer #menu-footer > li > .sub-menu {
    font-weight: normal;
}

footer.tommy-footer .icons > div:first-child img {
    width: 175px;
    height: auto;
    margin-bottom: .5rem;
}

footer.tommy-footer .visionquest {
    font-size: .78em;
    opacity: .8;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 2px;
}

footer.tommy-footer .wrap p:last-of-type {
    opacity: .8;
}

footer.tommy-footer p a {
    color: white;
}

@media screen and (max-width: 1000px) {
    .fl-module-rich-text h2 {
        font-size: 2.6rem;
    }
    
    .fl-module-rich-text h3 {
        font-size: 2.2rem;
    }
    article .entry-title {
        font-size: 1.8em;
    }
}

@media screen and (max-width: 1300px) {
    button.mobile {
        display: block;
    }
    #menu-main, #menu-franchise-page {
        display: flex;
        flex-direction: column;
        position: fixed;
        width: 250px;
        height: 100vh;
        left: -250px;
        top: calc(var(--top-offset) + var(--header-height) - 1px);
        background-color: black;
        overflow-y: scroll;
        z-index: 7;
        transition: .3s all ease;
    }
    #menu-main::-webkit-scrollbar-track, #menu-franchise-page::-webkit-scrollbar-track {
        background-color: black;
    }
    #menu-main::-webkit-scrollbar, #menu-franchise-page::-webkit-scrollbar {
        width: 5px;
        background-color: rgb(29, 29, 29);
    }
    #menu-main::-webkit-scrollbar-thumb, #menu-franchise-page::-webkit-scrollbar-thumb {
        background-color: rgb(29, 29, 29);
    }
    nav.main .menu-item-has-children > a::after {
        display: none;
    }
    nav.main > ul > li:nth-last-child(2)::before {
        display: none;
    }
    #menu-main.open, #menu-franchise-page.open {
        left: 0;
    }
    #menu-main li, #menu-franchise-page li {
        display: block;
        line-height: 1em;
        order: 2;
        height: auto;
    }
    #menu-main li a, #menu-franchise-page li a {
        font-size: 1.1em;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,.15);
        padding: 1em;
    }
    #menu-main .sub-menu, #menu-franchise-page .sub-menu {
        min-width: 100%;
        height: auto;
        position: relative;
    }
    #search-button {
        display: none;
    }
    .search-container {
        width: 100% !important;
        order: 1 !important;
    }
    .search_form {
        width: 100% !important;
        height: auto;
        margin: 0;
        padding: 0;
    }
    .search_form .yxt-SearchBar {
        display: block !important;
        height: auto;
    }
    .search_form .yxt-SearchBar-container {
      border: none;
      border-radius: 0;
      margin-top: 0;
      box-shadow: none;
      line-height: 40px;
    }
    .search_form .yxt-SearchBar-button,
    .search_form .yxt-SearchBar-clear,
    .search_form .yxt-SearchBar-form,
    .search_form .yxt-AutoComplete-wrapper {
      background-color: #141414;
    }
    /* Text Color */
    .search_form .yxt-AutoComplete-option,
    .search_form .yxt-SearchBar-input {
      color: white !important;
    }
    /* Changing the icon color */
    .search_form .yxt-SearchBar-clear,
    .search_form svg {
      color: white !important;
      fill: white;
    }
    .search_form path {
      stroke: white;
    }
    .search_form .yxt-AutoComplete-option {
        border: none !important;
    }
    .search_form .yxt-AutoComplete-option:hover {
      background-color: #1f1f1f !important;
  }
}

@media (max-width: 768px) {
    .hero h1, .hero.compact h1 {
        font-size: 3em !important;
    }
    .fl-col-small:not(.fl-col-small-full-width) {
        max-width: 100% !important;
    }
    main .flex {
        flex-direction: column;
    }
    main .blog > article, main .blog > .posts {
        padding-right: 0;
    }
    .flex.sidebar {
        padding: 1.5em;
    }
    .flex.sidebar > * {
        width: 100% !important;
        padding-left: 0 !important;
        margin-top: 1em;
    }
    .blog .post-navigation .nav-links a > span {
        width: 70%;
    }
    .blog .post-navigation .nav-links a > .title {
        display: none;
    }
    .blog .post-navigation .nav-links a > .mobile {
        display: inline-block;
    }
}

@media screen and (max-width: 600px) {
    footer.tommy-footer .icons {
        display: block;
    }
    footer.tommy-footer .icons > div {
        text-align: center !important;
    }
    footer.tommy-footer .visionquest {
        margin-bottom: 1em;
    }
    footer .downloads a:last-of-type img {
        margin-right: 8px;
    }
    footer.tommy-footer #menu-footer {
        flex-wrap: wrap;
    }
    footer.tommy-footer #menu-footer > li {
        flex-basis: 50%;
    }
    footer.tommy-footer #menu-footer > li:first-child, footer.tommy-footer #menu-footer > li:nth-child(2) {
        margin-bottom: 1em;
    }
    .tommy-password {
        margin: 0 auto;
        box-shadow: none;
        padding: 2em 1em;
    }
}

@media screen and (max-width: 350px) {
    :root {
        --header-height: 70px;
    }
    .hero h1, .hero.compact h1 {
        font-size: 2.7em !important;
    }
    header {
        padding: 0 .5em;
    }
    .custom-logo-link {
        font-size: .9em;
    }
    footer.tommy-footer #menu-footer > li {
        flex-basis: 100%;
    }
    footer.tommy-footer #menu-footer > li:nth-child(3) {
        margin-bottom: 1em;
    }
}