/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    background-color: white;
    font-family: 'Muli', sans-serif;
}

.container {
    background-color: white;
    padding: 0;
    box-shadow: 0px 8px 10px gray,
        -10px 8px 15px gray, 10px 8px 15px gray;
    margin-bottom: 25px;
}

.container-fluid {
    padding: 0;
    background-color: white;
}

.contact {
    text-align: center;
    margin-top: 45px;
}

.contact h2 {
    font-size: 1.8em;
}

#contact-h4 {
    font-size: 1.1em;
}

nav.full-width {
    background-color: #83C161;
    padding-top: 2px;
    height: 25px;
}

nav ul {
    list-style: none;
    text-align: center;

}

nav ul li {
    float: left;
    height: 25px;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

nav ul:first-child {
    margin-left: -50px !important;
    padding-left: 0 !important;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    /*font-family: 'Muli', sans-serif;*/
    text-transform: uppercase;
}

nav ul li a:hover {
    text-decoration: none;
    color: #898585;
}

.current {
  color: #898585;
}

span.bl {
    color: #2378B5;
}

span.gr {
    color: #83C161;
}

aside {
    text-align: center;
}

div.button {
    background-color: #2378B5;
    margin: 10px 0;
    padding: 5px 15px;
    color: white;
    /*font-family: 'Muli', sans-serif;*/
    font-size: 1.2em;
    cursor: pointer;
}

div.button2 {
    background-color: #2378B5;
    margin: 10px 0;
    border-radius: 4px;
    padding: 5px 15px;
    color: white;
    /*font-family: 'Muli', sans-serif;*/
    font-size: 1.2em;
    cursor: pointer;
}

.button2 a {
  text-decoration: none;
  color: white;
}

.button a {
  text-decoration: none;
  color: white;
}

.mission {
    font-weight: bold;
    font-size: 1.5em;
    text-align: left;
    margin: 5px;
}

#mission {
    font-size: 1.3em;
    text-align: left;
    margin-bottom: 20px;
}

div.divider {
    height: 20px;
    background-color: #898585;

}

div.third {
    text-align: center;
    font-size: 1.3em;
}

p.notice {
    text-align: left;
}

.content {
  margin-top: 25px;
  text-align: center;
}

.bio1 {
  text-align: left;
  float: left;
  overflow: hidden;
}

#bio2 {
  text-align: left;
  float: left;
}

.services-div {
  margin-top: 40px;
  margin-bottom: 40px;
}

.services {
  text-align: left;
  font-size: 1.5em;
  font-weight: 600;
  font-family: 'Calibri', sans-serif;
}

#davito, #erhardt, #sherrock, #simmons, #bernabe, #vaclaw, #conn, #holdman {
  display: none;
}

#faq {
  text-align: left;
  font-size: 1.2em;
}

#faq ol li {
  margin-bottom: 15px;
}

.tt {
  margin:8px;
	padding:8px;
  color: #2378B5;
  font-size: 1.2em;
  border: 1px solid #2378B5;
  border-radius: 4px;
  background-color: white;
	position: absolute;
	z-index: 2;
  max-width: 260px;
}

.tt1 {
  margin:8px;
	padding:8px;
  color: #2378B5;
  font-size: 1.2em;
  border: 1px solid #2378B5;
  border-radius: 4px;
  background-color: white;
	position: absolute;
	z-index: 2;
  max-width: 520px;
}

button.dl {
  padding: 10px 10px;
  background-color: #2378b5 !important;
  font-size: 1.5em;
}

.btn-default {
  background-color: #2378b5 !important;
}

button a{
  text-decoration: none;
  color: white;
}

#formContent {
  margin-bottom: 50px;
}

#formContent a {
    color: white;
}

.services-div ul li {
  text-align: left;
  font-size: 1.2em;
}

.service-div ul {
  margin-bottom: 25px;
}

.col-centered {
  float: none;
  display: inline-block;
}

.centered {
  text-align: center;
}

.modal-body {
  padding: 0;
}

.forms {
  font-size: 1.3em;
  font-weight: bold;
}

/*-------------Modal CSS-------------*/
#jf {
  width: 100%;

}

#newHours {
  width: 100%;
}

.modal-dialog {}

/*---------End of Modal CSS---------*/

.bot-25 {
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    nav ul li {
        padding: 0 4px !important;
    }
    
    nav ul li a {
        font-size: .8em;
    }

    nav.full-width {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    nav ul:first-child {
        margin-left: -10px !important;
    }

    #faq {
        font-size: 1em;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
