/* =========================================
   1. VARIABLES & HELPERS
   ========================================= */
:root {
  --fent-purple: #960396;
  --fent-purple-dark: #772dfa;
  --fent-green-light: #61a831;
  --fent-green: #508a28;
  --fent-green-dark: #3b6e1a;
  --fent-green-darker: #1b3d0e;
  --fent-whitish: #f4f9f0;
  --fent-black: #000000;
  --fent-black-light: #232825;
  --fent-black-dark: #121212;
  --fent-blue: #305de6;
  --fent-blue-dark: #0000bd;
}

.fent-green-dark { color: var(--fent-green-dark) !important; }
.fent-green-darker { color: var(--fent-green-darker) !important; }
.fent-black-light { color: var(--fent-black-light) !important; }
.fent-black-dark { color: var(--fent-black-dark) !important; }
.fent-green { color: var(--fent-green) !important; }
.fent-blue { color: var(--fent-blue) !important; }

/* =========================================
   2. GLOBAL RESET & TYPOGRAPHY
   ========================================= */
html { height: 100%; }

body {
  font-family: 'Raleway', "lucida sans", arial, sans-serif;
  padding: 0px;
  margin: 0px;
  font-size: .78em;
  background: #FFF no-repeat;
  color: #635B53;
}

p {
  margin: 0px;
  padding: 0px 0px 16px 0px;
  line-height: 1.7em;
}

p2 {
  margin: 0px;
  padding: 0px 0px 16px 0px;
  line-height: 1.7em;
  color: #990000;
}

p3 {
  margin: 0px;
  padding: 0px 0px 16px 0px;
  line-height: 1.7em;
  color: #990000;
  text-decoration: underline;
}

p4 {
  margin: 0px;
  padding: 0px 0px 16px 0px;
  line-height: 1.7em;
  color: #FFFFFF;
}

h1, h2, h3, h4 {
  font-size: 170%;
  padding: 7px 0px 5px 0px;
  margin: 0px 0px 12px 0px;
  font-weight: bold;
  color: #666;
  font-family: 'Raleway', sans-serif;
}

h1, h3 {
  text-transform: none;
  margin: 10px 0px 20px 0px;
  padding: 15px 20px 5px 0px;
}

a {
  color: blue;
  text-decoration: underline;
}

a:hover, .link-hover:hover {
  color: var(--fent-blue-dark);
  text-decoration: underline;
}

a:not(.btn):not(.site-footer a):not(.hero-section a):not(.nav-link):not(.dropdown-item):visited {
  color: var(--fent-purple);
  text-decoration: underline;
}

a.btn:hover {
  text-decoration: none !important;
}

img {
  border: 0px;
  margin: 0px;
  padding: 0px;
  max-width: 100%;
  height: auto;
}

a { outline: none; }
form { padding: 0; margin: 0; }

blockquote {
  margin: 0px 0px 10px 0px;
  padding: 10px 20px 10px 20px;
  border: 1px solid #E5E5DB;
  background: #FFF;
}

ul { margin: 2px 0px 2px 16px; padding: 0px; }
ul li { list-style-type: circle; margin: 0px 0px 6px 0px; padding: 0px; }
ol { margin: 8px 0px 0px 24px; padding: 0px; }
ol li { margin: 0px 0px 11px 0px; padding: 0px; }

/* =========================================
   3. LAYOUT UTILITIES
   ========================================= */
.left { float: left; margin-right: 10px; }
.right { float: right; margin-left: 10px; }
.center { display: block; text-align: center; margin: 0 auto; }
.center-text { text-align: center; }
.pull-right { float: right; }
.pull-left { float: left; }
div.clearfix { clear: both; }
img.middle { vertical-align: middle; }
div.spacer { height: 24px; }
div.amazon-tall { padding: 12px 12px 12px 12px; }
div.googlead { min-width: 140px; }

/* =========================================
   4. SITE STRUCTURE
   ========================================= */
#main, #site_content {
  margin-left: auto;
  margin-right: auto;
}

#site_content {
  width: 979px;
  margin-top: 10px;
  overflow: hidden;
}

/* Logo */
#logo {
  width: 220px;
  height: 85px;
  background: url(/style/logohover-off.png) no-repeat left center;
  background-size: contain;
  display: block;
}

#logo:hover {
  background-image: url(/style/logohover-on.png);
  background-size: contain;
}

#logoha {
  width: 220px;
  height: 85px;
  background: url(/style/logo3.png) no-repeat left center;
  background-size: contain;
  display: block;
}

#logoha:hover {
  background-image: url(/style/logohover-on.png);
  background-size: contain;
}

/* Sidebar */
.sidebar { float: left; width: 175px; }
.sidebar ul { width: 178px; padding-top: 4px; margin: 4px 0px 20px 0px; }
.sidebar li { list-style: none; padding: 0px 0px 2px 0px; }
.sidebar li a, .sidebar li a:hover {
  text-decoration: none;
  padding: 4px 0px 4px 25px;
  display: block;
  background: transparent url(/style/arrow.png) no-repeat left center;
  color: #555;
  border: none;
}
.sidebar li.selected a, .sidebar li a.selected {
  color: #990000;
  background-image: url(/style/arrow_over.png);
  font-weight: bold;
}
.sidebar li a:hover, .sidebar li a.selected:hover {
  color: #990000;
  background-image: url(/style/arrow_over.png);
}

/* Content Area */
#content {
  text-align: left;
  padding: 0 0 0 20px;
  overflow: hidden;
}

.separator {
  width: 100%;
  height: 0;
  border-top: 1px solid #D9D5CF;
  border-bottom: 1px solid #FFF;
  margin: 0 0 20px 0;
}

table { margin: 0 0 0 0; border: 1; background-color: transparent; }
table tr th, table tr td { background-color: transparent; color: #FFF; text-align: left; }
table tr td { background-color: transparent; color: #47433F; border-top: 1px solid #FFF; }

.read-more-button {
  background: none repeat scroll 0 0 #EAF5E5;
  box-shadow: -3px 0 4px #ccc;
  border: 3px solid #93abbc;
  border-radius: 5px;
  color: #326891;
  cursor: pointer;
  font-size: 120%;
  font-weight: bold;
  padding: 8px 5px;
  text-align: center;
  width: 250px;
  margin: 0 auto;
  display: block;
}

/* =========================================
   5. BOOTSTRAP OVERRIDES & COMPONENTS
   ========================================= */

/* Navbar */
.navbar {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 3px solid var(--fent-green);
}
.navbar-nav, .navbar-nav .nav-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item.search-item {
  margin-left: .5rem;
}

.navbar-brand, .navbar-brand:hover {
  padding: 0;
  border-bottom: none !important;
}

.navbar .nav-link {
  color: var(--fent-black-dark);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.75rem 0.75rem !important;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
  white-space: nowrap;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--fent-green) !important;
  border-color: var(--fent-green) !important;
  text-decoration: none;
}
.nav-link.search-trigger:hover {
  color: #FFFFFF !important;
}

.navbar ul.dropdown-menu li {
  list-style: none;
}
.navbar .dropdown-item {
    color: var(--fent-black-dark) !important;
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    color: var(--fent-green) !important;
    background-color: transparent !important;
    text-decoration: none;
}
  /* Search Icon Style */
.search-trigger {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: var(--fent-black-light) !important;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef !important;
}

.search-trigger:hover {
  transition: ease-in 0.3s;
  background-color: var(--fent-green);
  color: #fff !important;
  border-color: var(--fent-green) !important;
  transform: rotate(15deg);
}
.navbar .nav-link.active {
  color: var(--fent-green) !important;
  border-color: var(--fent-green) !important;
  font-weight: 700;
}

/* FENT Buttons */
.btn-fent {
  background-color: var(--fent-green);
  border-color: var(--fent-green);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  border-bottom: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-fent:hover,
.btn-fent:focus {
  background-color: var(--fent-green-dark);
  border-color: var(--fent-green-dark);
  color: #fff !important;
  border-bottom: none !important;
}
.btn-big {
  padding: 1rem 4rem;
  font-size: 1.5rem;
}

.btn-purple {
  background-color: var(--fent-purple);
  border-color: var(--fent-purple);
}

.btn-purple:hover {
  background-color: var(--fent-purple-dark) !important;
  border-color: var(--fent-purple-dark) !important;
}

.smooth-animation:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Content Buttons */
#buttonforms a {
  letter-spacing: 0.1em;
  font-family: 'Raleway', sans-serif;
  font-size: 130%;
  display: block;
  margin: auto;
  height: 50px;
  width: 250px;
  text-decoration: none;
  padding: 12px 15px 5px 15px;
  text-align: center;
  color: #FFFFFF;
  font-weight: bold;
  background: linear-gradient(var(--fent-green), var(--fent-green-dark));
  border-radius: 10px;
  border-bottom: none;
}

#buttonforms a:hover {
  background: var(--fent-green-dark);
  border-bottom: 3px solid var(--fent-green-darker);
  color: #FFFFFF;
}

/* Footer */
.site-footer {
  background: var(--fent-black-light) !important;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
}

.site-footer ul, .site-footer ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer h5, .section-heading {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--fent-green);
  display: inline-block;
}
.section-heading {
  color: var(--fent-black);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #FFF !important;
  border-bottom: none;
  text-decoration: underline;
}

.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  border-bottom: none;
}

.site-footer .social-links a:hover {
  background-color: var(--fent-green) !important;
  color: #fff !important;
  transform: translateY(-2px);
  border-bottom: none;
  text-decoration: none;
}

.site-footer hr { border-color: rgba(255,255,255,0.3); }

.site-footer .footer-bottom {
  font-size: 0.82rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-bottom p {
  padding: 0px;
}
.site-footer .footer-bottom a { color: #fff; }
.site-footer .footer-bottom a:hover { color: #ccc; }

/* =========================================
   6. MISC COMPONENTS
   ========================================= */
li.social img, .mobileonly img { width: 30px; }

.youtube-iframe-wrapper {
  max-width: 680px;
  margin: 20px auto;
  padding: 20px 20px 0px;
}

.youtube {
  background-color: #000;
  margin-bottom: 30px;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}

.youtube img {
  width: 100%;
  top: -16.82%;
  left: 0;
  opacity: 0.7;
}

.youtube .play-button {
  width: 90px;
  height: 60px;
  background-color: #333;
  box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
  z-index: 1;
  opacity: 0.8;
  border-radius: 6px;
}

.youtube .play-button:before {
  content: "";
  border-style: solid;
  border-width: 15px 0 15px 26.0px;
  border-color: transparent transparent transparent #fff;
}

.youtube img, .youtube .play-button { cursor: pointer; }
.youtube img, .youtube iframe, .youtube .play-button, .youtube .play-button:before { position: absolute; }
.youtube .play-button, .youtube .play-button:before {
  top: 50%;
  left: 50%;
  transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe { height: 100%; width: 100%; top: 0; left: 0; }

/* =========================================
   7. MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
  .mobileonly { display: block; }
  #logo {
    width: 150px !important;
  }
  .nav-item.search-item {
    margin-top: 1rem;
  }
}

@media (min-width: 768px) {
  .mobileonly { display: none; }
}
/* Tablet */
@media (min-width: 768px) and (max-width: 979px) {
  #site_content { width: 98%; padding: 0 1%; display: inline-block; }
  #main, #site_content { margin-left: auto; margin-right: auto; }

  .sidebar ul { width: 178px; padding-top: 4px; margin: 4px 0px 20px 0px; }
  .sidebar li { list-style: none; padding: 0px 0px 2px 0px; }
  .sidebar li a, .sidebar li a:hover {
    text-decoration: none;
    padding: 4px 0px 4px 25px;
    display: block;
    background: transparent url(/style/arrow.png) no-repeat left center;
    color: #555;
    border: none;
  }
  .sidebar li.selected a, .sidebar li a.selected {
    color: #990000;
    background-image: url(/style/arrow_over.png);
    font-weight: bold;
  }
  .sidebar li a:hover, .sidebar li a.selected:hover {
    color: #990000;
    background-image: url(/style/arrow_over.png);
  }

  #content { text-align: left; padding: 0 0 0 20px; overflow: hidden; }
  
  .separator {
    width: 100%;
    height: 0;
    border-top: 1px solid #D9D5CF;
    border-bottom: 1px solid #FFF;
    margin: 0 0 20px 0;
  }

  table { margin: 0 0 0 0; border: 0; background-color: transparent; }
  table tr th, table tr td { background-color: transparent; color: #FFF; text-align: left; }
  table tr td { background-color: transparent; color: #47433F; border-top: 1px solid #FFF; }

  img.middle { vertical-align: middle; }
  div.clearfix { clear: both; }
  .pull-right { float: right; }
  .pull-left { float: left; }
  .center-text { text-align: center; }
  div.spacer { height: 24px; }
  div.amazon-tall { padding: 12px 12px 12px 12px; }
  div.googlead { min-width: 140px; }

  #wrap { float: left; width: 100%; }
  .hide > table img { width: 100% !important; }
  .hide .center-text img { width: auto !important; }
  .links table tr td { vertical-align: top !important; width: 50% !important; }
}

/* Print */
.PrintOnly { display: none; }
@media print {
  .PrintOnly { display: block; }
  #menubar { display: none; }
  #logo {
    display: list-item;
    list-style-image: url("/style/logo.png");
    list-style-position: inside;
  }
  .sidebar { display: none; }
}

/* Responsive Table */
.table_responsive { overflow-x: auto; }
@media screen and (max-width: 1280px) {
  .table_responsive { width: 99%; border: 1px solid #ccc; }
}
@media screen and (max-width: 767px) {
  .table_responsive { width: 98%; }
}
@media screen and (max-width: 480px) {
  .table_responsive { width: 95%; }
}
