/*
@font-face {
    font-family: 'Baskerville';
    src: url('/fonts/BaskervilleBT.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Baskerville Bold';
    src: url('/fonts/BaskervilleBoldBT.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Hoefler';
    src: url('/fonts/hoefler-text.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Hoefler Bold';
    src: url('/fonts/hoefler-text-black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*/
@font-face {
    font-family: 'Libre Caslon';
    src: url('/fonts/librecaslontext-regular.otf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Libre Caslon Bold';
    src: url('/fonts/librecaslontext-bold.otf');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border: none;
    color: #4d4d4d;
}

html,
body {
    height: 100%;
}

body {
    background: url('siteImages/pgBkgrnd.png');
    font-family: "Libre Caslon", serif;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    font-family: "Libre Caslon Bold", sans-serif;
}

.logo {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    text-decoration: none;
    padding-left: 140px;
}
.mobile-header{
    display: none;
}

#filter {
    display: none;
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 98;
    background-color: rgba(0, 0, 0, 0.5);
}

#filter.menu-open {
    display: block;
}

#mobile-menu {
    position: fixed;
    height: 100vh;
    width: 350px;
    -webkit-box-shadow: 3px 0 8px rgba(0, 0, 0, 0.2);
            box-shadow: 3px 0 8px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateX(-350px);
        -ms-transform: translateX(-350px);
            transform: translateX(-350px);
    opacity: 0;
    -webkit-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
    background-color: #ecebe6;
    z-index: 100;
}

#mobile-menu a {
    display: block;
    border-bottom: 1px solid #ddd;
    padding: 15px 10px;
    text-decoration: none;
    font-family: "Libre Caslon", sans-serif;
    font-size: .9em;

}

#mobile-menu.menu-open {
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

#mobile-menu-icon {
    display: none;
    cursor: pointer;
    position: relative;
}

#mobile-menu-icon > div {
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #ecebe6;
    border-radius: 5px;
    left: 0;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
            transform: rotate(0deg);
}

#x-1 {
    top: 0;
}

#x-2 {
    top: 8px;
}

#x-3 {
    top: 16px;
}

#x-1.animateX {
    -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
            transform: rotate(135deg);
    top: 8px;
}

#x-2.animateX {
    opacity: 0;
}

#x-3.animateX {
    top: 8px;
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg);
}

.site-container {
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#site-main {
    width: 100%;
}

.site-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 20px 0;
}

.primary-nav {
    margin-right: 40px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100px;
            flex: 0 0 100px;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
}

.primary-nav li {
    padding: 20px 0;
    line-height: 1.5em;
    font-weight: 700;
    font-size: .9em;
    font-family: 'Libre Caslon Bold', sans-serif;
}

.primary-nav li:first-child {
    padding-top: 0;
}

.primary-nav li a {
    text-decoration: none;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

.primary-nav li a:hover,
.primary-nav li a.active {
    text-shadow: 0 0 8px rgba(0, 0, 0, .4);
}

.page-content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 2px 5px rgba(0, 0, 0, 0.3);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 20px;
    overflow-y: auto;
    height: 450px;
}

.page-content .top-flex {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.page-content .top-flex-image {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 210px;
            flex: 0 0 210px;
    margin-right: 30px;
    margin-bottom: 1rem;
}

.top-flex-image img {
    display: block;
    width: 100%;
}

.page-content h2 {
    font-size: 1.1em;
    padding-bottom: 15px;
}

.page-content p {
    font-size: .9rem;
    padding-bottom: 1rem;
    line-height: 1.5em;
}

.page-content ul,
ol {
    margin: 0 0 1em 1.5em;
}
.page-content a{
    cursor: pointer;
}
@media screen and (min-width: 769px){
    footer .contact li a,
    .page-content a{
        -webkit-transition: .2s;
        -o-transition: .2s;
        transition: .2s;
    }
    footer .contact li a:hover,
    .page-content a:hover{
        color: #777;
    }
}

.page-content li {
    font-size: .9rem;
    padding-bottom: .5rem;
    line-height: 1.5em;
}

.page-content .quote,
.page-content .author {
    padding: 0 20px;
}

.page-content .quote {
    padding-bottom: 10px;
    text-align: center;
}

.page-content .author {
    font-weight: 700;
    padding-bottom: 1rem;
    text-align: center;
}

#scrollImage {
    float: left;
    margin-right: 15px;
}

#hrLine {
    clear: both;
    margin: 0 auto 20px;
    text-align: center;
}

footer {
    padding-left: 140px;
    padding-top: 5px;
    font-family: "Libre Caslon Bold", sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
}

.footer-left{
    padding-right: 30px;
}
.social-nav{
    margin: 0;
    list-style: none;
    display: flex;
}
.social-nav li:first-child{
    margin-right: 10px;
}
.social-nav i{
    font-size: 1.7rem;
    transition: .2s;
}
@media screen and (min-width: 769px){
    .social-nav a:hover i{
        color: #777;
    }
}

.service-area {
    font-size: .7rem;
    letter-spacing: 2px;
    padding-bottom: 10px;
}

.contact,
.credits {
    list-style: none;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-bottom: 10px;
}

.credits {
    padding-bottom: 0;
}

.contact li {
    font-size: 1rem;
    padding-right: 10px;
    color: #555;
}

.credits li {
    padding-right: 10px;
    color: #aaa;
    letter-spacing: 2px;
    font-size: .7rem;
}

.contact a,
.credits a {
    text-decoration: none;
    color: #555;
}

.credits a {
    color: #aaa;
}

@media screen and (max-width: 768px) {
    .mobile-header{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #424242;
        z-index: 99;
        -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
                box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    .mobile-header-inner{
        padding: 20px;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-align-items: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
    .logo{
        font-size: 1rem;
        line-height: normal;
        text-align: left;
        color: #ecebe6;
        font-weight: 400;
        padding-left: 0;
    }
    .desktop-header{
        display: none;
    }
    #mobile-menu-icon {
        display: block;
        width: 28px;
        height: 19px;
        border-radius: 3px;
    }

    .primary-nav {
        display: none;
    }

    footer {
        padding: 20px 0;
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
        border-top: 1px solid #ccc;
        flex-direction: column;
    }
    .footer-left{
        order: 1;
        padding: 0;
    }
    .footer-right{
        order: 0;
        padding: 0 0 15px;
    }
    .social-nav i{
        font-size: 1.5rem;
    }

    footer ul {
        -ms-align-items: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    .site-container {
        display: block;
        padding: 0;
    }

    .page-content {
        height: auto;
        -webkit-box-shadow: none;
                box-shadow: none;
        padding: 70px 30px 0px 30px;
    }
}
@media screen and (max-width: 576px){
    .mobile-header-inner{
        padding: 10px 20px;
    }
    .logo{
        max-width: 150px;
        font-size: .8rem;
    }
    #mobile-menu{
        width: 256px;
    }
    .page-content .top-flex{
        display: block;
    }
    #scrollImage,
    .page-content .top-flex-image{
        float: right;
        margin: 0 0 10px 15px;
        max-width: 40%;
    }
    .page-content ul{
        margin-left: 20px;
    }
    .page-content p,
    .page-content li{
        font-size: .8rem;
    }
    #scrollImage.about-photo{
        max-width: 50%;
    }
    #scrollImage img{
        display: block;
        width: 100%;
    }
    .page-content{
        padding: 60px 15px 0px;
    }
    .page-content h2{
        padding-bottom: 10px;
        font-size: 1rem;
    }
    .page-content .quote{
        padding: 0 10px 10px;
    }
    footer .service-area{
        padding-bottom: 10px;
        font-size: .8rem;
    }
    footer .contact{
        display: block;
        padding-bottom: 15px;
    }
    footer .contact li{
        padding: 5px 0;
        font-size: .9rem;
    
    }
    footer .contact li:nth-child(2n){
        display: none;
    }
}