/* =====================================================================
   FILE: kcbme/styles2.css — KCBME site stylesheet (wrapper version).
   Grid only, no flexbox. Fonts (Oswald, Raleway) are loaded by <link> tags in each page's <head>:
   an @import in the middle of a stylesheet is ignored by browsers.
   ===================================================================== */

/* MAIN STYLES */
html, body {
  height: 100%;  font-size: 10px; /* Easy to calculate rem sizes. */
}
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}
body { background-color: #fff; }

/* Page wrapper: one grid column; minmax(0,1fr) stops wide content from stretching the page. */
.page-div1 { display: grid; grid-template-columns: minmax(0, 1fr); }

.headline {
    color: #5f8fdd;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 6rem;
    text-shadow:
        -2px -2px 0 #fff,
         2px -2px 0 #fff,
        -2px  2px 0 #fff,
         2px  2px 0 #fff,
         4px  4px 8px rgba(0, 0, 0, 0.3); /* Soft shadow */
}
.headline2 {
    color: #5f8fdd;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 4.6rem;
    text-shadow:
        -1px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
         4px  4px 8px rgba(0, 0, 0, 0.3); /* Soft shadow */
}

hr.hr { border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(190,190,190, 1), rgba(0, 0, 0, 0)); }

li { color: #d3bda7; padding-bottom: 15px; font-size: 1.5rem; line-height: 1.7; }
.innerwrap ul li { color: #4b5788; padding-top: 0; font-size: 1.6rem; line-height: 1; margin-left: 40px; }
.anchor { scroll-margin-top: 80px; } /* set to your header's height */
/* ELEMENTS */
.bluebar  { color: #fff; text-align: center; padding: 40px 0; }
.bluebar2 { background-color: #192955; color: #fff; text-align: center; padding: 40px 0; }
.bluebar3 { color: #fff; text-align: center; padding: 40px 0; }
.whitebar { background-color: #fff; color: #777; text-align: center; padding: 0; }
.darkbar  { background-color: #333; text-align: center; padding: 40px 0; }
.darkbar p { color: #dbdbdb; text-align: center; }
.darkbargrid p { color: #dbdbdb; text-align: left; }
.timegrid .phead { margin-top: -10px; border-bottom: dotted 2px #78B1F4; color: #78B1F4; text-align: left; }
.faque { background-color: #526f8c; color: #fff; text-align: center; padding: 40px 0; background-image: url('pics/faqback.png'); }
.faq {
    background-color: #526f8c;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    background-image: url('pics/faqback2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.faqblu {
    color: #fff;
    text-align: center;
    padding: 40px 0;
    background-image: url('pics/faqback2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: inline;
}
.dblue {
    background-color: #E4E1E3;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    background-image: url('pics/faqback.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}
.dblueb {
    background-color: #514eaa;
    color: #999;
    text-align: center;
    padding: 40px 0;
    margin-top: -12px !important;
}
.pinstripes {
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 -4px 10px rgba(0, 0, 0, 0.2);
  background-image: repeating-linear-gradient(405deg, #5F8FDD, #5F8FDD 39px, #639fe8 39px, #639fe8 40px);
}
.pinstripesb {
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 -4px 10px rgba(0, 0, 0, 0.2);
  background-image: repeating-linear-gradient(405deg, #637aa5, #637aa5 39px, #7087b2 39px, #7087b2 40px);
}

.faded { width: 100%; border: none; height: 1px; margin: 30px auto; background: linear-gradient(to right, transparent, transparent 1%, #999 50%, transparent 99%, transparent 100%); }

button { margin-top: 10px; padding: 2px 20px; border: solid 2px #999; border-radius: 4px; background-color: #f4dd8b; }
button:hover { padding: 6px 32px; border: solid 2px #fff; border-radius: 4px; background: #3998d3; color: #fff; }
.probutton {
    display: inline-block; background-color: #4b85dd; border: 2px solid #fff; padding: 6px 32px; text-align: center;
    text-decoration: none; font-size: 1.6rem; border-radius: 8px; color: #fff; cursor: pointer; margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 -4px 10px rgba(0, 0, 0, 0.2);
}
.probutton:hover { border: 2px solid #fff; padding: 6px 32px; text-align: center; text-decoration: none; font-size: 1.6rem; border-radius: 8px; }
.probutton-gold {
    display: inline-block; background-color: #fff; border: 2px solid #f7e7b7; padding: 6px 32px; text-align: center;
    text-decoration: none; font-size: 1.6rem; border-radius: 8px; color: #fff; cursor: pointer; margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 -4px 10px rgba(0, 0, 0, 0.2);
}
.probutton-gold:hover { border: 2px solid #fff; background-color: #e8ce68; color: #777; padding: 6px 32px; text-align: center; text-decoration: none; font-size: 1.6rem; border-radius: 8px; }
.listbutton:hover { background-color: #07b3f7; color: #fff; padding: 2px 6px; }
.listbutton a:hover { color: #fff; }
.listbutton { color: #fff; border: solid 1px #999; padding: 2px 6px; }

.number-icon {
  text-align: center;
  width: 40px;
  height: 40px;
  border: 3px dotted #61d8a5;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  background-color: #4f74a3;
  line-height: 40px;
  display: inline-block;
  vertical-align: middle;
}

.opaque { opacity: 0.7; }
.opaque:hover { opacity: 1; }
a { color: #FFCC99; text-decoration: none; }
a:hover { color: #FFF; text-decoration: none !important; }

.image-hover { transition: opacity 0.3s; cursor: pointer; }
.image-hover:hover { opacity: 0.7; }

.btn-header {
    display: inline-grid; place-items: center; background-color: rgba(220,160,120, 0.8); border: 2px solid #fff;
    padding: 10px 30px; text-align: center; text-decoration: none; font-size: 130%; color: #fff;
    text-transform: uppercase; cursor: pointer; margin: 30px 2px 0;
}
.btn-header:hover { background-color: rgba(244,244,244,0.7); color: #12130F; padding: 10px 30px; }

.firm { margin-top: 10px; font-size: 1.3rem; padding: 3px 26px 5px; border: solid 2px #d3bda7; border-radius: 4px; background: none; color: #d3bda7; }
.firm:hover { border: solid 2px #fff; padding: 3px 26px 5px; border-radius: 4px; background: #3998d3; color: #fff; }

.callme { margin-top: 10px; font-size: 1.3rem; padding: 5px 26px 6px; border: solid 2px #d6c59e; border-radius: 4px; background: #bfad80; color: #fff; margin-bottom: 10px; }
.callme:hover { border: solid 2px #fff; padding: 5px 26px 6px; border-radius: 4px; background: #86AAE0; color: #fff; }

.specialty { margin-top: 10px; font-size: 1.1rem; padding: 1px 14px 2px; border: solid 1px #777; border-radius: 4px; background: #444; color: #d3bda7; }
.specialty:hover { border: solid 1px #fff; padding: 1px 14px 2px; border-radius: 4px; background: #757775; color: #fff; }
.specialty-div { margin-top: -10px; }

.watch {
    padding: 10px 30px; border: solid 2px #fff; border-radius: 4px; background: #10bfef; color: #fff; text-align: center;
    text-decoration: none; font-size: 140%; text-transform: uppercase; cursor: pointer; margin: 30px 2px 0;
}
.watch:hover { padding: 9.5px 40px; border: solid 2px #fff; border-radius: 4px; background: #3998d3; color: #fff; font-size: 150%; }

.float_right { float: right; }
.fullwide { width: 100%; }
.separator {
    position: relative; margin-top: -40px; z-index: 1; height: 50px; width: 100%;
    background-image: url('pics/diamond.png'); background-repeat: repeat; display: inline-block; vertical-align: middle;
}
.sepgold {
    position: relative; margin-top: -100px; z-index: 1; height: 100px; width: 100%;
    background-image: url('pics/0wave2.png'); background-size: 100% 100px; display: inline-block; vertical-align: middle;
}
.sepdb {
    position: relative; margin-top: -100px; z-index: 1; height: 100px; width: 100%;
    background-image: url('pics/0wave2.png'); background-size: 100% 100px; display: inline-block; vertical-align: middle;
}
.sepdb2 {
    position: relative; margin-top: -90px; z-index: 1; height: 120px; width: 100%;
    background-image: url('pics/0wave0.png'); background-size: 100% 100px;
}
.stats {width:80%!important; margin-left:10%;}
@media (max-width: 770px) {
    .sepdb2 { margin-top: -40px; }
	.stats {width:96%!important; margin-left:auto; margin-right:auto;}
}

/* FONTS */
h1 { font-size: 4.0rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 3.2rem; }
h4 { font-size: 2.8rem; }
h5 { font-size: 2.4rem; }
h6 { font-size: 2.2rem; }
p  { font-size: 2rem; padding-top: 20px; padding-bottom: 20px; }

h1, h2, h3, .oswald500 { font-family: 'Oswald', sans-serif; font-weight: 500; }
h4, h5, h6, .oswald300 { font-family: 'Oswald', sans-serif; font-weight: 300; }
body, p, li, .raleway  { font-family: 'Raleway', sans-serif; font-weight: 300; }
em, i { font-family: 'Raleway', sans-serif; font-style: italic; }

.writ { font-size: 4rem; }
.writname { font-family: "Raleway"; font-weight: 300; font-size: 1.6rem; }
.erase { font-family: "Erase"; } /* Use to clear fonts */

@media (max-width: 900px) { .signature, .writ { font-size: 6rem; } }
@media (max-width: 495px) { .signature, .writ { font-size: 4rem; } }

/* COLORS */
.white  { color: #fff; }
.golden { color: #FFCC99; }
.dusk   { color: #7f6b57; }
.icon { width: 35px; height: 35px; margin: 5px; opacity: 0.8; }
.icon:hover { opacity: 1.0; }

.container { width: 100%; margin-right: auto; margin-left: auto; }
.innerwrap { width: 70%; margin-right: auto; margin-left: auto; }
.innerwrap p { font-size: 1.8rem; line-height: 1.5; }
.gallery_container { width: 80%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }

/* ALIGNMENT */
.text-center { text-align: center !important; }

/* === LOGO === */
.logo { display: block; }
.logo_head {
  z-index: 990;
  width: 100%;
  max-width: 240px;
  min-width: 10%;
  height: auto;
  margin: 0;
  display: block;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}
.logo-small { display: none; }
@media (max-width: 600px) {
  .logo-large { display: none; }
  .logo-small { display: inline; }
}

/* === MENU === */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: grid;
  align-items: center;
  height: 60px;
  padding: 0.5em 1em;
  font-size: 1.6rem;
  background-color: transparent;
  transition: background-color 0.4s ease;
}
.top-nav.scrolled {
  background-color: rgba(52, 53, 53, 0.3);
  border-bottom: 2px solid rgba(200, 200, 200, 0.3);
}
.menu {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: start;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 991;
  position: absolute;
  top: 0;
  right: 10%;
}
.menu > li {
  display: block;
  text-align: center;
  font-size: 1.7rem;
  margin: -2px 5px;
  padding: 5px 20px 10px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid #d3c57e;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.menu > li a { color: #f2c79d; text-decoration: none; }
.menu > li a:hover { color: #fff; }

/* === HAMBURGER MENU === */
.menu-button-container {
  display: none; /* shown only on small screens via media query */
  position: absolute;
  top: 10px;
  right: 10%;
  height: 40px;
  width: 40px;
  cursor: pointer;
  place-items: center;
  z-index: 1000;
}
#menu-toggle { display: none; }

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  position: absolute;
  height: 3px;
  width: 28px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
.menu-button::before,
.menu-button::after { content: ""; margin-top: -8px; }

#menu-toggle:checked + .menu-button-container .menu-button { background: transparent; }
#menu-toggle:checked + .menu-button-container .menu-button::before { margin-top: 0; transform: rotate(405deg); }
#menu-toggle:checked + .menu-button-container .menu-button::after { margin-top: -18px; transform: rotate(-405deg); }

/* === DROPDOWN === */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
  display: none;
  position: absolute;
  min-width: 220px;
  margin-top: 40px;
  margin-left: -50px;
  list-style: none;
  border-radius: 5px;
  background-color: rgba(61, 84, 91, 0.3);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.dropdown-content li { padding: 4px 8px; font-size: 1.5rem; background-color: rgba(0, 0, 0, 0.61); }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { color: #333; display: block; text-decoration: none; }
.dropdown-content a:hover { color: #3b82f6; }

/* === RESPONSIVE MENU === */
@media (max-width: 800px) {
  .menu-button-container { display: grid; }

  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    width: 100%;
    justify-items: center;
    margin-top: 0;
    background-color: rgba(0, 0, 0, 0.85);
  }

  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    visibility: hidden;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 400ms;
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: auto;
    width: 101%;
    padding: 0.5em;
    visibility: visible;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s;
  }

  .dropdown-content {
    margin: 10px 0 0 0;
    padding-right: 0;
    padding-left: 0;
    position: relative;
    z-index: 998;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: #777;
    color: #CCCCCC;
  }
  .menu > li.dropdown { display: block; text-align: center; }
}

/* Prevent overflow on ultra-small viewports */
@media (max-width: 320px) {
  .top-nav { padding: 0.5em 0.5em; }
  .menu-button-container { top: 10px; right: 40%; height: 40px; width: 40px; }
  .menu-button, .menu-button::before, .menu-button::after { width: 22px; }
}

/* === DROPDOWN FIX (append at the end of styles2.css) ===
   Pins each dropdown to the bottom of its tab and bridges the small visual gap so the hover never breaks. */
.dropdown-content {
    top: 100%;
    margin-top: 2px;
}
.dropdown-content::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}
/* Opens for keyboard users and for taps on touch screens too */
.dropdown:focus-within .dropdown-content { display: block; }

/* Small screens: the dropdown flows inside the open hamburger menu, so no pinning or bridge is needed */
@media (max-width: 800px) {
    .dropdown-content {
        top: auto;
        margin: 10px 0 0 0;
    }
    .dropdown-content::before { display: none; }
}
/* / NAV */

/* === FOOTER === */
.tiled-background3 { width: 100%; height: auto; min-height: 300px; background-color: #222; padding-bottom: 40px; }
.footer-inner { width: 70%; margin: 40px auto 30px; color: #ad9f91; }
.footer-inner .faded { width: 50%; margin: 40px auto 30px; }
.footer-inner h6 { margin: 30px auto 30px; color: #ad9f91; }
.footer-legal { padding-top: 0; padding-bottom: 14px; font-size: 1.1rem; line-height: 1.5; }
.footer-legal strong { color: #d7c299; }