@import url('normalize.css');
@import url('base.css');
@import url('header.css');
@import url('nav.css');
@import url('breadcrumbs.css');
@import url('footer.css');
@import url('searchbar.css');
@import url('searchresults.css');
@import url('forms.css');
@import url('associations.css');
@import url('rssfeed.css');
@import url('background.css');

body {
    height: 100%;
}

#SidebarBlock {
    display: none;
}

#template_metadata {
    display: none;
}

#pagemenu {
    display: none;
}

#inner-wrapper {
    overflow: hidden;
}

#inner-wrapper #pagepictures {
    float: right;
    margin: 1rem 1rem 1rem 3rem;
}

#content {
    margin-top: 40px;
}

#inner-wrapper #pagepictures .image {
    margin-bottom: 2rem;
}

.socialmedia_wrapper {
    margin-bottom: 2rem;
}

.socialmedia {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
}

.facebook_like {
    display: none;
}
.fb-share-button {
    margin-bottom: 5px;
}

/**** VIDEO CONTENT WITHIN PAGECOPY ****/
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#pagecopy,
#associated_products {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1rem;
}

#pageTitle {
    margin-bottom: 32px;
    padding-bottom: 10px;
    border-bottom: 4px solid #e0ddd4;
}

/* Masks */
div.mask {
    background: rgba(0, 0, 0, 0.9);
    display: none;
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: opacity 0.3s;
}

div.mask.ready { display: block; }
div.mask.active { opacity: 1; }

/* Modals */
.modal {
    background: #fff;
    box-sizing: border-box;
    display: none;
    left: 0;
    max-height: 100%;
    min-height: 200px;
    opacity: 0;
    overflow: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 101;
    transition: opacity 0.2s;
    -webkit-overflow-scrolling: touch;
}

#lightboxModal {
    max-width: none;
}

.modal.ready {
    display: block;
}

.modal.active {
    opacity: 1;
}

.modal #outer-wrapper {
    padding: 1em;
}

.closeBtn {
    box-sizing: border-box;
    color: #444;
    cursor: pointer;
    font-size: 24px;
    height: 48px;
    padding: 8px 0 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 48px;
}

@media (min-width:560px) {
    .modal {
        border: 1px solid #111;
        left: 1em;
        top: 1em;
        width: calc(100% - 2em);
    }

    #content {
        margin-top: 0;
    }

}

@media (min-width:768px) {
    .modal {
        left: 2em;
        top: 2em;
        width: calc(100% - 4em);
    }

}

@media (min-width:1024px) {
    .modal {
        left: calc(50% - 480px);
        max-width: 960px;
    }

    .modal #outer-wrapper {
        padding: 2em;
    }

    #nav {
        left: 260px;
        position: absolute;
        top: 0;
        z-index: 10;
        margin-top: 36px;
        overflow: visible;
    }

    #nav label {
        display: none;
    }

    #nav ul {
        height: auto !important;
        max-height: none;
        width: auto;
        position: static;
        background-color: transparent;
    }

    #nav li {
        border: 0;
    }

    #nav > ul > li {
        float: left;
    }

    #nav > ul > li > a {
        padding: 10px 16px;
        /* line-height: 108px; */
        /* line-height: 105px; */
    }

    #nav ul ul {
        background: none;
        display: block;
        left: 0;
        padding: 4em 0 2em;
        position: absolute;
        top: 44px;
        width: 992px;
        visibility: hidden;
        opacity: 0;
        z-index: 100;
        -webkit-transition: opacity 0.2s;
        transition: opacity 0.2s;
    }

    #nav ul .P5 ul:before {
        content: '';
        display: block;
        width: 30%;
        height: 16px;
        position: absolute;
        left: 24%;
        top: -16px;
    }

}

/* Prevent hovers on iPad or lower */
@media (min-width:1024px) {
    .socialmedia_wrapper {
        margin-bottom: 0;
    }

    #nav ul > li > ul,
    #nav ul ul.active {
        left: -264px;
    }

    #nav ul .P5 ul:after {
        border-top: 16px solid #fff;
        border-left: 16px solid transparent;
        content: '';
        height: 0;
        left: calc(50% - 125px);
        position: absolute;
        top: -7px;
        width: 0;
        -webkit-transform: rotateZ(-45deg);
        transform: rotateZ(-45deg);
    }

    .noTouch #nav ul > li:hover > ul,
    #nav ul > li.selected > ul {
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
        visibility: visible;
        opacity: 1;
        overflow: visible;
    }

    #nav > ul ul li {
        border-bottom: 1px solid #eee;
        float: left;
        margin-left: 1.25em;
        width: 22.5%;
    }

    #nav > ul ul li:nth-child(1),
    #nav > ul ul li:nth-child(2),
    #nav > ul ul li:nth-child(3) {
        border-top: 1px solid #eee;
    }

    #nav > ul ul li a {
        font-size: 18px;
        padding: 0.5em 0;
    }

    #nav > ul ul li:nth-child(3n + 1) {
        clear: left;
    }

    #nav > ul ul li.P23 {
        background: url('default/camp-icon.jpg');
        border: 0;
        height: 64px;
        position: absolute;
        right: 16px;
        top: 64px;
        width: 23%;
    }

    #nav > ul ul li.P23 a {
        background: none;
        text-align: center;
        text-indent: 0;
        text-transform: uppercase;
        margin-top: 15px;
        font-weight: 500;
    }

    #nav > ul ul li.P31 {
        background: url('default/travel-icon.jpg');
        border: 0;
        height: 64px;
        position: absolute;
        right: 16px;
        top: 129px;
        width: 23%;
    }

    #nav > ul ul li.P31 a {
        background: none;
        text-align: center;
        text-indent: 0;
        text-transform: uppercase;
        margin-top: 15px;
        font-weight: 500;
    }

    #nav > ul ul li.P32 {
        background: url('default/hike-icon.jpg');
        border: 0;
        height: 64px;
        position: absolute;
        right: 16px;
        top: 195px;
        width: 23%;
    }

    #nav > ul ul li.P32 a {
        background: none;
        text-align: center;
        text-indent: 0;
        text-transform: uppercase;
        margin-top: 15px;
        font-weight: 500;
    }

    #nav > ul ul li.P23:hover,
    #nav > ul ul li.P31:hover,
    #nav > ul ul li.P32:hover {
        opacity: 0.75;
        transition: all 0.1s ease-in;
    }

    #nav a {
        color: #eee;
    }

    #nav ul ul a {
        color: #222;
    }

    #nav ul ul li.P23 a,
    #nav ul ul li.P31 a,
    #nav ul ul li.P32 a {
        color: #eee;
    }

    #nav > ul > li.haschildren > a:after {
        border-color: #eee;
        margin-left: 8px;
        position: relative;
        top: -2px;
        -webkit-transform: rotateZ(135deg);
        transform: rotateZ(135deg);
    }

}

@media (min-width:1280px) {
    .modal {
        left: calc(50% - 600px);
        max-width: 1200px;
    }

    .modal #outer-wrapper { padding: 3em; }

    #nav { left: calc(50% - 360px); }

    #pagecopy {
        margin: 0 auto;
        padding: 0;
    }
}

/* Sticky test
body { position: relative; }
#stickTest {
    background: rgba(255, 0, 0, 0.5);
    bottom: 128px;
    height: 1em;
    left: 0;
    overflow: hidden;
    position: absolute;
    text-indent: -99px;
    width: 2em;
    z-index: 99;
}
#stickTest.sticky {
    background: rgba(0, 255, 0, 0.5);
    bottom: 0;
    position: fixed;
} */

.image_left {
    padding: 30px 30px 30px 0;
    width: 40%;
    max-width: 440px;
    float: left;
    min-width: 290px;
}

.image_right {
    padding: 30px 0 30px 30px;
    width: 40%;
    max-width: 440px;
    float: right;
    min-width: 290px;
}

.tmplPRODUCTMETADATA #pagecopy {
    overflow: hidden;
}