/*! 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;*/
    font-size: 18px;
}

/*
 * 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 {
    border-top: 7px solid #c95e23;
    font-family: equity-text, serif;
    color: #141412;
    }
.wrapper {
    width: 90%;
    margin: 20px auto;
    }

p, blockquote {
	margin: 0 0 1em 0;
	line-height: 1.5em;
    }
h2 {
    font-size: 130%;
    }
input {
    font-family: concourse-c4, sans-serif;
    text-transform: lowercase;
    padding: 10px;
    }
input[type="email"] {
    border: 2px solid #939393;
    }
input[type="submit"] {
    background-color: #404040;
    border: 2px solid #404040;
    color: #fff;
    }
#mobileMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
    }
#mobileMenu ul {
    margin: 0;
    padding: 0;
    }
#mobileMenu ul li {
    display:block;
    background-color: #c95e23;
    padding: 12px 0;
    font-family: concourse-c4, sans-serif;
    font-size: 130%;
    letter-spacing: 0.1em;
    text-align: center;
    }
#mobileMenu ul li a {
    color: #EDA28C;
    text-decoration: none;
    }
#mobileMenu ul li a:hover {
    color: #f6f6f6;
    }
.toggleMobile {
    display: none;
    }
header h1 {
    font-family: concourse-c4, sans-serif;
    font-weight: normal;
    display: inline-block;
	}
nav {
    font-family: concourse-c4, sans-serif;
    }
nav ul {
    list-style: outside none none;
    padding-left: 0;
    }
header nav li {
    display: inline-block;
    }

header nav li:nth-of-type(1n + 2) {
    padding-left: 15px;
    }

div.article-top {
    padding: 4em 0;
    }
article h1 {
    font-size: 1.5em;
    }
article.home {
    }
article.home h1,
article.home h2 {
    font-family: concourse-c4, sans-serif;
    font-weight: normal;
    }
.signup {
    padding-top: 20px;
    }
.center {
    text-align: center;
    }
.bigger {
    font-size: 1.2em;
    }
p.note {
    border-top: 1px solid #d6d0c1;
    font-size: 90%;
    line-height: 1.2em;
    padding: 5px 0 0 0;
    }

footer {
    padding-top: 5em;
    }
footer h1 {
    font-family: concourse-c3, sans-serif;
    font-weight: normal;
    font-size: 100%;
    }
section.footer-nav nav ul {
    margin: 0;
    padding: 0;
    }

footer p {
    }
/*
 * RESPONSIVE SLIDES
 */
.rslides_container {
    position: relative;
    }

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides ul li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides ul li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }

ol.circled {
    list-style: none;
    counter-reset: li;
    }
ol.circled > li::before {
    border: 1px solid #000000;
    border-radius: 50%;
    content: counter(li);
    counter-increment: li;
    font-size: 80%;
    height: 1.2em;
    left: -1.33em;
    line-height: 1.2;
    position: absolute;
    text-align: center;
    top: 0.2em;
    width: 1.2em;
    }
ol.circled > li {
    padding-left: 1em;
    position: relative;
    }
.centered-btns_nav {
  z-index: 3;
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  bottom: 0;
  left: 0;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("../img/themes.gif") no-repeat left top;
  }

.centered-btns_nav:active {
  opacity: 1.0;
  }

.centered-btns_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }
.centered-btns_nav:focus,
.transparent-btns_nav:focus,
.large-btns_nav:focus {
  outline: none;
  }

.centered-btns_tabs,
.transparent-btns_tabs,
.large-btns_tabs {
  margin-top: 10px;
  text-align: center;
  }

.centered-btns_tabs li,
.transparent-btns_tabs li,
.large-btns_tabs li {
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin-right: 5px;
  }

.centered-btns_tabs a,
.transparent-btns_tabs a,
.large-btns_tabs a {
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  _display: block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
  }

.centered-btns_here a,
.transparent-btns_here a,
.large-btns_here a {
  background: #222;
  background: rgba(0,0,0, .8);
  }

.copyright {
    font-family: concourse-c2, sans-serif;
    text-align: center;
    }

/* ==========================================================================
   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:990px) {
    .logo-and-title h1 {
        vertical-align: top;
        margin-left: -10px;
        padding-top: 5px;
        }
    header nav {text-align: right;}
    header nav ul {margin-top: 2.5em;}
}
@media only screen and (min-width:768px) and (max-width:989px) {
    html {
        font-size: 16px;
        }
    .logo-and-title img {
        width: 120px;
        height: 56px;
        }
    .logo-and-title {
        text-align: center;
        }
    .logo-and-title h1 {
        vertical-align: top;
        margin-bottom: 0;
        margin-left: -10px;
        }
    header nav {
        text-align: center;
        }
}
@media only screen and (max-width:767px) {
    html {font-size: 15px;}
    .logo-and-title img {
        width: 120px;
        height: 56px;
        }
    .logo-and-title {
        text-align: center;
        }
    .logo-and-title h1 {
        vertical-align: top;
        margin: 0;
        }
    header nav {text-align: center;}
    #mobileMenu {
        display: block;
        z-index: 99;
        }
    .toggleMobile {
        position: fixed;
        top: 20px;
        left: 10px;
        display: block;
        width: 32px;
        height: 36px;
        cursor: pointer;
        z-index: 999;
        }
    .toggleMobile span.menu1, .toggleMobile span.menu2, .toggleMobile span.menu3 {
        display: block;
        position: absolute;
        width: 32px;
        height: 5px;
        left: 0;
        background: #EDA28C;
        -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }
    .toggleMobile span.menu1 {top: 0;}
    .toggleMobile span.menu2 {top: 12px;}
    .toggleMobile span.menu3 {top: 24px;}
    .toggleMobile.active span.menu1 {
        top: 12px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }
        .toggleMobile.active span.menu2
        {
                -webkit-transform: rotate(-45deg);
                -moz-transform: rotate(-45deg);
                -o-transform: rotate(-45deg);
                -ms-transform: rotate(-45deg);
                transform: rotate(-45deg);
                -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
                transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }
        .toggleMobile.active span.menu3
        {
                opacity: 0;
                -webkit-transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
                transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }
    .header-navigation {display:none;}
    #ta-slideshow div.caption {
    height: 350px;
    overflow: auto;
    }


}

@media (max-width: 500px) {

}

@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;
    }
}
