/*! HTML5 Boilerplate v5.3.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;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/*
 * 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
   ========================================================================== */

















/* ==========================================================================
   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,
    *:first-letter,
    *:first-line {
        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;
    }
}

.navbar-default {
  background-color: #dbdcde;
}

.nav {
  padding-right: 15px;
}

/* FONT */
body {
  font-family: 'Asap', sans-serif;
}

.bsa {
  font-family: 'Slabo 13px', sans-serif;
  font-size: larger;
}

.bsa.top {
  line-height: 1em;
  font-size: large;
}

.bsa.bottom {
  line-height: 1.5em;
}

.white {
  color: white;
}

h1 {
  font-size: 4em;
  font-weight: bold;
}

p.white {
  font-size: 2em;
  text-align: center;
}

/* Logo Stylings */
img.logo {
  max-width: 80%;
}

.pad5 {
  padding: 5px;
}

.pad0 {
  padding: 0px;
}

.bsa.logo {
  padding-right: 5px;
  margin: 3px 0px 3px 0px;
  border-right: 1px solid black;
}

.iblock {
  display: inline-block;
}

.large-icon {
  font-size: 4em;
}

/* Flexbox helpers*/
.flex {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.flex1 {
  -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */         /* OLD - Firefox 19- */
  /*width: 20%;               /* For old syntax, otherwise collapses. */
  -webkit-flex: 1;          /* Chrome */
  -ms-flex: 1;              /* IE 10 */
  flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.flex2 {
  -webkit-box-flex: 2;      /* OLD - iOS 6-, Safari 3.1-6 */         /* OLD - Firefox 19- */
  /*width: 40%;               /* For old syntax, otherwise collapses. */
  -webkit-flex: 2;          /* Chrome */
  -ms-flex: 2;              /* IE 10 */
  flex: 2;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.flex3 {
  -webkit-box-flex: 3;      /* OLD - iOS 6-, Safari 3.1-6 */         /* OLD - Firefox 19- */
  /*width: 60%;               /* For old syntax, otherwise collapses. */
  -webkit-flex: 3;          /* Chrome */
  -ms-flex: 3;              /* IE 10 */
  flex: 3;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.flex5 {
  -webkit-box-flex: 5;      /* OLD - iOS 6-, Safari 3.1-6 */         /* OLD - Firefox 19- */
  /*width: 20%;               /* For old syntax, otherwise collapses. */
  -webkit-flex: 5;          /* Chrome */
  -ms-flex: 5;              /* IE 10 */
  flex: 5;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

.flex-row {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
}

.bottom {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.flex-center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
              -ms-grid-row-align: center;
          align-items: center;
  text-align: center;
}

.flex-end {
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
              -ms-grid-row-align: flex-end;
          align-items: flex-end;
}
.flex-start {
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
              -ms-grid-row-align: flex-start;
          align-items: flex-start;
}

/* Full Page Image screens*/
.overlay {
  background: rgba(0, 0, 0, 0.6);
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
  width: 100%;
  height: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

div.screen {
  margin-top: 55px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: table-cell;
  vertical-align: middle;
}

.tabled {
  display: table;
}

div.firebuild {
  display: table;
  width: 100%;
  height: 100%;
  background: url(../img/fire_building.jpg) no-repeat center center fixed;
  background-size: cover;
}

div.scouts {
  display: table;
  width: 100%;
  height: 100%;
  background-image: url(../img/scouts.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

div.rafting {
  width: 100%;
  height: 100%;
  background-image: url(../img/rafting.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

/* Flex Gallery Activities */
.activity-container {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
          justify-content: space-around;
  -webkit-align-content: space-around;
      -ms-flex-line-pack: distribute;
          align-content: space-around;
}

.activity-item {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
  -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */         /* OLD - Firefox 19- */
  /*width: 20%;               /* For old syntax, otherwise collapses. */
  -webkit-flex: 1;          /* Chrome */
  -ms-flex: 1;              /* IE 10 */
  flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
  min-width: 200px;
  height: 200px;
  border: 1px solid white;
  margin: 15px;
}

.activities {

}
.activity {

}

.activity img {
  width: 200px;
  height: 200px;
  border: 1px solid white;
  border-radius: 5px;
  margin: 0 auto;
}
.activity-label {
  font-size: 2em;
  /*font-weight: bold;*/
  padding: 10px;
}

.icon-img {
  width: 34px;
}

.fb-body {
  vertical-align: middle;
  /*padding: 15px;*/
}

.mail-body {
  vertical-align: middle;
  /*padding-left: 10px;*/
}

a, a:hover, a:focus {
  color: white;
}

.btn-join {
  background-color: rgba(19, 36, 17, 0.3);
  border: 2px solid;
  border-color: #737773;
  font-size: 2em;
  font-weight: bold;
  border-radius: 7px;
  padding: 6px 30px;
}

.btn-join:hover, .btn-join:focus, .btn-join:active {
  background-color: rgb(19, 36, 17);
  border-color: #737773;
}

.map-bg {
  display: table;
  width: 100%;
  height: 100%;
  background-image: url(../img/map.png);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: 50% 45%;
  position: relative;
}

.map-header {
  position: absolute;
  width: 100%;
  left: 0px;
  top: 13%;
}

.map {
  position: relative;
}

.map-address {
  position: absolute;
  left: 50%;
  bottom: 15px;
}

.map-address-inner {
  position: relative;
  left: -50%;
}

.media {
  /*min-height: 70px;*/
}

.smaller-text {
  font-size: 1em;
}

.navbar-nav>li {
  font-size: 1.25em;
  padding-top: 5px;
}

.iframe-scroll-helper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.logo-link {
  padding: 9px !important;
  margin-right: 25px;
}