@charset "utf-8";

/**********************************************************************************************************************/
/*@media screen and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    section.module.parallax {
        height: 800px;
        background-attachment: scroll;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        -webkit-background-size: 100vw auto;
        -moz-background-size: 100vw auto;
        -o-background-size: 100vw auto;
        background-size: 100vw auto;
    }
}*/
@media screen and (max-width: 959px) {
    section.module.parallax {
        height: 180px;
        background-attachment: scroll;
        background-position: 50% 50%;
        background-repeat: no-repeat;
        -webkit-background-size: 100vw auto;
        -moz-background-size: 100vw auto;
        -o-background-size: 100vw auto;
        background-size: 100vw auto;
    }

    section.module.parallax:first-of-type {
        margin-top: 4.5em;
    }

    section.module.parallax h1 {
        font-size: 1.5em;
        line-height: 180px;
    }

    section.module.parallax h1:first-child {
        font-size: 1.5em;
        line-height: 100px;
    }

    .fixed-header-bar {
        height: 3em;
    }

    .fixed-header-bar .logo {
        max-width: 64em;
        height: 2.5em;
        margin: 0 auto;
    }

    .fixed-header-bar .logo .image{
        margin: 0.25em;
        width: 186px;
        height: 40px;
    }

    .fixed-header-bar .logo a {
        font-size: 100%;
        bottom: 0.25rem;
    }

    .fixed-header-bar .logo a:nth-of-type(2) {
        font-size: 100%;
        bottom: 0.25rem;
        top: 1.5rem!important;
    }



    .banner{
        width: 120px;
        height: 60px;
    }
    .icon {
        margin-top: 0;
        margin-right: 0.25em;
        width: 32px;
        height: 32px;
    }

    .column img {
        margin: 1rem 1rem 1rem 1rem;
        max-width: 90%;
        height: auto;
        display: block;
        -webkit-box-shadow: 8px 8px 6px -6px #999;
        -moz-box-shadow: 8px 8px 6px -6px #999;
        box-shadow: 8px 8px 6px -6px #999;
        clear: both;
    }

    .column h3 {

        font-weight: bold;
        font-size: 0.8em!important;

    }

    .column h4.right-float {
        font-size: 0.75rem!important;
    }

    .column h4.right-float.handywrite {

        font-size: 1.25rem!important;

    }

    .column ol {
        font-size: 0.75rem!important;
    }

}

/**********************************************************************************************************************/
/*MOBILE*/
.mobile-menu-icon {
    color: #af9c5f;
    padding-top: 0;
    padding-left: 1rem;
    display: none;
    cursor: pointer;
}

.mobile-menu {
    width: 50%;
    margin: 0 0 0 1rem;
}

.mobile-menu a {
    text-align: center;
    font-size: 0.8em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
}

.mobile-menu li {
    background: #af9c5f;
    background: rgba(175, 156, 95,0.9);
    padding-left: 1.5em;
    padding-right: 1.5em;
    position: relative;
    width: 100%;
    display: inline-block;
    float: left;
    clear: both;
}

.mobile-menu .main {
    text-transform: uppercase;
    font-weight: bold;
}

.mobile-menu .sub {
    text-indent: 1rem;
}

/**********************************************************************************************************************/

.mobile-preselection-menu {
    position: relative;
    margin: 0;
    border: 0;
    padding: 0;
    width: 100%;
    height: auto;
    list-style: none;
}
.mobile-preselection-menu li {
    margin: 1%;
    border: 0;
    padding: 0;
    display: block;
    width: 98%;
    height: auto;
    float: left;
    clear: both;
    text-align: center;
}
.mobile-preselection-menu li a {
    display: block;
    opacity: 0.7;
    -webkit-animation: release 0.3s normal forwards;
    -moz-animation: release 0.3s normal forwards;
    -o-animation: release 0.3s normal forwards;
    animation: release 0.3s normal forwards;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    line-height: 0em;
}
.mobile-preselection-menu li a:hover {
    opacity: 1;
    -webkit-animation: push 0.3s normal forwards;
    -moz-animation: push 0.3s normal forwards;
    -o-animation: push 0.3s normal forwards;
    animation: push 0.3s normal forwards;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.3);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.mobile-preselection-menu li a img {
    margin: 0;
    width: 100%;
    height: auto;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.mobile-preselection-menu li a h1 {
    position: absolute;
    top:11rem;
    left: 0;
    width: 100%;
    background: rgba(64,224,208,0.8);
    color:  white;
    padding: 1rem 0;
    text-align: center;
}

/**********************************************************************************************************************/
/*MOBILE TOGGLE*/
@media screen and (min-width: 960px) {

    .menu {
        display: block;
    }

    .mobile-menu {

        display: none;
    }

    .preselection-menu {
        display: block;
    }

    .mobile-preselection-menu {
        display: none;
    }
}

@media screen and (max-width: 959px) {

    h1, h2, h3, p {
        font-size: 80%;
    }

    section.top {

        margin-top: 5rem;

    }

    section.module h2{
        margin-bottom: 1em;
        font-size: 1em !important;
        line-height: 1.5em;
        font-weight: bold;
        color: turquoise;
    }

    .column h4 {
        font-size: 1em !important;
    }

    .column p {
        font-size: 80% !important;
    }

    footer h2 {
        font-size: 0.625rem !important;

    }

    footer a {
        font-size: 0.625rem !important;

    }

    footer.module.content .datafield {
        height: 2em;
    }

    button {
        font-size: 0.5rem !important;
    }

    .fixed-nav-bar {
        position: absolute;
        z-index: 99999;
        top: 3em;
        height: 1.5em;
    }

    .fixed-nav-bar li, .fixed-nav-bar a {
        height: 1.5em;
        line-height: 1.5em;
    }

    .menu {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .preselection-menu {
        display: none;
    }

    .mobile-preselection-menu {
        display: block;
    }

    .content-wrapper {
        position: relative;
        margin: 0 auto 0;
        width: 100%;
        height: auto;
    }

    .content {
        box-sizing: border-box;
        position: relative;
        background: #ffffff;
        overflow: hidden;
        border: 0;
        width: 100%;
        margin: 1rem auto 1rem;
        padding: 0 1rem;
    }

    .content h1 {
        position: absolute;
        margin: 5rem auto 1rem;
        padding: 0 1rem;
        text-transform: uppercase;
        width: 50%;
        color: white;
        background: rgba(64,224,208,0.8);
        z-index: 10001;
        font-size: 0.75rem;
        line-height: 1.5rem;
    }

    .content h2 {
        margin: 1rem 0;
        font-weight: normal;
        text-transform: uppercase;
        line-height: 2rem;
        font-size: 0.8em;
        color: #b1953a;
    }

    .content h3 {
        margin: 0;
        font-weight: bold;
        line-height: 1.5rem;
        font-size: 0.75em;
        color: #b1953a;
    }

    .content h4 {
        margin: 0;
        font-weight: bold;
        line-height: 1.5rem;
        font-size: 0.675em;
        color: #b1953a;
    }
    .content p {
        margin-bottom: 0.25em;
        font-size: 0.75rem;
        line-height: 1.5em;
        color: #b1953a;
    }

    .content ol {
        margin: 2rem;
        list-style-type: decimal;
        font-size: 1rem;
    }

    .content ol li {
        line-height: 1.5rem;
        color: #b1953a;
    }
    .content a {
        margin-bottom: 0.25em;
        line-height: 1.5em;
        color: #b1953a;
        text-decoration: underline;
    }
    .content a:hover {
        color: turquoise;
    }

    .content p > img {
        margin: 1rem 1rem 1rem 1rem;
        max-width: 33%;
        height: auto;
        float: left;
        -webkit-box-shadow: 8px 8px 6px -6px #999;
        -moz-box-shadow: 8px 8px 6px -6px #999;
        box-shadow: 8px 8px 6px -6px #999;
    }

    .content img {
        margin: 1rem 0;
        max-width: 100%;
        height: auto;
        float: left;
    }

    .content img[alt="blog"] {
        margin: 1rem 0;
        max-width: 100%;
        height: auto;
        float: left;
        -webkit-box-shadow: 8px 8px 6px -6px #999;
        -moz-box-shadow: 8px 8px 6px -6px #999;
        box-shadow: 8px 8px 6px -6px #999;
    }

    .content hr {
        border: 0;
        height: 1px;
        background-image: -webkit-linear-gradient(left, #f0f0f0, #b1953a, #f0f0f0);
        background-image: -moz-linear-gradient(left, #f0f0f0, #b1953a, #f0f0f0);
        background-image: -ms-linear-gradient(left, #f0f0f0, #b1953a, #f0f0f0);
        background-image: -o-linear-gradient(left, #f0f0f0, #b1953a, #f0f0f0);
    }


    .owl-carousel img {
        margin: 0;
        max-width: 100%!important;
        height: auto;
        float: none!important;
    }

    /* same as content h1 */
    .owl-carousel .item h1 {
        position: absolute;
        margin: 6rem auto 1rem;
        padding: 0 1rem;
        text-transform: uppercase;
        width: 50%;
        color: white;
        background: rgba(64,224,208,0.8);
        z-index: 10001;
        font-size: 0.75rem;
        line-height: 1.5rem;
    }

    .owl-prev {
        position: absolute;
        display: inline-block;
        color: #b1953a;
        padding-right: 0.5em;
        top: 30%;
        left: 1rem;
        text-shadow: none;
    }
    .owl-next {
        position: absolute;
        display: inline-block;
        color: #b1953a;
        padding-left: 0.5em;
        top: 30%;
        right: 1rem;
        text-shadow: none;
    }


}