/*! HTML5 Boilerplate v6.0.1 | 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 {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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;
}

/* ==========================================================================
   My custom styles
   ========================================================================== */
/*Color pallet: Dark Red #660000 Medium Red #990000 Dark Grey #4D4D4D Light Grey #7C7C7C*/

* {
  box-sizing: border-box;
}
html {
    font-family: 'Roboto', sans-serif;
    color: #1A1A1A;
}
#bigcontainer {
    max-width: 1280px;
    margin: 0px auto;
}
html { 
        background: url(../img/bg_600.jpg) no-repeat center center fixed; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
}

/*-------------Header-----------*/
/*
#headwrapper {
    position: fixed;
    top: 0;
    left: 0;
    margin: auto;
    width: 100%;
}
*/
#prime-head {
    margin: 8px 0px;
    display: flex;
    flex: 0 1 auto;
    justify-content: flex-start;
}
#prime-head>div {
    flex-grow: 1;
    flex-basis: 0;
}
#cta-tour img {
    height: 50px;
    margin: 0px 3px 20px 10px;
}

#mt-logo {
    text-align: center;
}
#mt-logo img{
    height: 135px;
}
#mtspoke-info, #cta-tour {/*turn off for mobile*/
    display: none;
}

/*-------------Nav-----------*/
nav button{
    position:absolute;
    top:0;
    right:0;
}

#prime-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.prime-nav-list li{
   display: none; /*turns off nav menu*/
}

/*now toggle vis if responsive off */
@media only screen and (max-width: 37.5em) {
    .prime-nav-list.responsive li{
        display:list-item;/*toggles display*/
    }   
}

#prime-nav li:first-child, #prime-nav li:last-child {
    background-color: #660000;
}
#prime-nav li:nth-child(2), #prime-nav li:nth-last-child(2){
    background-color: #990000;
}
#prime-nav li:nth-child(3), #prime-nav li:nth-last-child(3){
    background-color: #7C7C7C;
}
#prime-nav ul li {
    margin: 5px;
}
.prime-nav a {
    padding: 0.5rem 0.5rem;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    color: #fff;
}

.prime-nav a:hover, .prime-nav a:focus {
  background: #fff;
  color: #660000;
}

.prime-nav a:hover svg, .prime-nav a:focus svg {
  fill: #660000;
}

.prime-nav a:hover span, .prime-nav a:focus span {
  color: #660000;
}

.prime-nav span {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  color: #fff;
  margin: 0.25rem 0 0 0;
}

.prime-nav .icon {
    width: 40px;
    height: 40px;
    float: left;
/*    margin-left: 75px;*/
    margin-right: 1rem;
    fill: #fff;
}

/*-------------main-----------*/

#main {
    /*display: flex;
    flex-wrap: nowrap;*/
/*    display: none;*/
    padding: 0px 7px 7px 7px;
    background-color: rgba(255, 255, 255, 0.3);
}

#panobanner {
    width: 100%;
}

#centerstage h1 {
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 0px;
}

#centerstage h2 {
    margin-top: 0px;
    font-weight: 900;
    font-size: 1.2rem;
}
#poi, #testimonials {
    width: 20%;
    margin: 120px auto 5px;
    padding: 15px;
    float: right;
    border: solid 1px #4D4D4D;
    background-color: rgba(255, 255, 255, 0.6);
}

#poi, #testimonials {
/*    turn off for mobile*/
        display: none;
}
#poi a, #testimonials a {
    text-decoration: none;
    color: #660000;
    font-weight: 600;
}
#poi a:visited, #testimonials a:visited {
    color: #660000;
}
#panobanner {
    padding-right: 7px;
}

#testimonials .right {
    margin-top:-15px;
}
/*-------------accordian container-----------*/
.accordian-wrapper, .content-wrapper {
    width: 80%;
    margin: 0px auto;
    border: solid 1px #4D4D4D;
    background-color: rgba(255, 255, 255, 0.6);
}
.shoptable {
    width: 80%;
    margin: 0px auto;
    padding: 1em;
    text-align: left;
}
div.accordianbox {
/*    background-color: #fff;*/
    padding: 10px;
}
.accordianbox {
    margin-top:30px;
}
.accordian-container {
    width:100%;
    border:1px solid #d3d3d3;
}
.accordian-container div {
    width:100%;
}
.accordian-container .accordian-header {
    background-color:#d3d3d3;
    padding: 2px;
    cursor: pointer;
    font-weight: bold;
}
.accordian-container .accordian-content {
    display: none;
    padding : 5px;
}
.accordian-header span {
    color: #660000;
}
.accordian-content span {
/*    background-color:#7C7C7C;*/
/*    color: #fff;*/
}
.accordian-wrapper > div {
    margin-top: 30px;
}
/*-------------tours container-----------*/

.beginner {
    color: green;
}
.intermediate {
    color: blue;
}
/*-------------forms-----------*/
form.spokeform {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 1em;
    margin: .5em;
}

.spokeform fieldset {
    background-color: #7C7C7C;
    margin: 0px 1.5em;
    border: #660000 solid 2px;
    padding: 0px 1rem;
}
.spokeform legend {
    color: white;
    padding: .4em;
    background-color: #990000;
    border-radius: .3em;
    
}
.spokeform radio {
    display: inline;
}
.spokeform label {
    display: block;
    margin: .5em;
}
.spokeform label span {
    display: block;
    padding-top: .8em;
    padding-bottom: .3em;
    color: #000;
    font-weight: 600;
}
input.spokeform, select {
    margin-left: .5em;
    width: 215px;
}
.spokeform textarea {
    min-height: 120px;
    width: 100%;
}

input.submitBtn {
    color: #D1E3D2;
    border-color: #990000;
    background-color: #660000;
    padding: .5em;
    background: #660000;
    margin-left: 2.5em;
    width: 55%;
    box-shadow: 4px 4px 10px #666;
    cursor: pointer;
}
input.submitBtn:hover {
    background-color: #990000;

}

.smallp {
    margin: 0px;
}
/*-------------map-----------*/
#map {
    width: 100%;
    height: 400px;
    background-color: grey;
}

/*-------------bikes-----------*/
.accordian-content li {
    list-style: none;
}
#mtspoke-info a {
    font-size: .5rem;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.right {
    text-align: right;
}
/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * 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;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * 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;
}

.accordian-content img {
    width: 80%;
   
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@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 {
        white-space: pre-wrap !important;
    }
    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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
