/*********************
General
*********************/

a {
    text-decoration: none;
}

#logo, #wrapper {
    max-width: 75vw;
    margin: 0 auto;
    padding: 0 5%;
}

#logo img, #wrapper img {
    max-width: 100%;
    height: auto;
}

html, body {
    min-height: 100%;
}

body {
    background: #333;
    background-image: linear-gradient(#333, #141416);
    background-image: -webkit-linear-gradient(#333, #141416);
    background-image: -moz-linear-gradient(#333, #141416);
    background-image: -o-linear-gradient(#333, #141416);
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

h3, .label {
    margin: 0 0 1em 0;
    font-family: 'Slabo 27px', sans-serif;
    font-size: 1.4em;
    font-weight: 800;
    color: #eee;
    background-image: linear-gradient(#444, #333);
    background-image: -webkit-linear-gradient(#444, #333);
    background-image: -moz-linear-gradient(#444, #333);
    background-image: -o-linear-gradient(#444, #333);
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    padding: 10px;
    text-shadow: 0 1px rgba(0, 0, 0, .8);
}

ul {
    list-style: none;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
    color: #eee;
    font-size: 1em;
    line-height: 1.25em;
}

.cell img {
    max-width: 100%;
    display: block;
    margin: 20px 0;
    box-shadow: 0 0 5px #3879D9;
}

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    display: none;
    top: 0;
    left: 0;
}

.lightbox-img {
    max-height: 80vh;
    max-width: 90vw;
    align-self: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 8px #3879D9;
}

.btt {
    color: black;
    display: none;
}

.btt:hover, .btt.selected {
    color: black;
    text-shadow: 0 .75px rgba(0, 0, 0, .8);
    box-shadow: inset 0 0 2px 2px #888;
    border-radius: 2.5%;
}

.btt:visited {
    color: black;
}

.enableJS {
    margin: 50px auto;
    font-size: 2em;
    text-align: center;
    display: block;
    font-style: italic;
    color: rgba(255, 255, 255, .5);
}


/*********************
Header
*********************/

h1 {
    margin-top: 0;
    padding-top: 20px;
}

h1 img {
    display: block;
    margin: 0 auto;
}

header {
    background: white;
    background-image: linear-gradient(135deg, silver, transparent, silver);
    background-image: -webkit-linear-gradient(135deg, silver, transparent, silver);
    background-image: -moz-linear-gradient(135deg, silver, transparent, silver);
    background-image: -o-linear-gradient(135deg, silver, transparent, silver);
    border-bottom: 6px solid #444;
    margin: 0 0 40px 0;
    padding-top: 0;
    width: 100%;
    padding-bottom: 5px;
}

nav {
    text-align: center;
    background: none;
    padding-bottom: 10px;
}

nav a {
    font-family: 'Slabo 27px', sans-serif;
    font-size: 1em;
    font-weight: 800;
    margin: 5px 0 5px 0;
    padding: 2.5px 5px;
    color: #003263;
    text-shadow: 0 .5px rgba(0, 0, 0, .8);
}

nav a:visited {
    color: #003263;
}

nav a:hover, nav a.selected {
    color: #576C11;
    text-shadow: 0 .75px rgba(0, 0, 0, .8);
    box-shadow: inset 0 0 2px 2px #888;
    border-radius: 2.5%;
}

nav a:active {
    text-shadow: none;
}

nav ul {
    list-style: none;
    margin: 0 10px;
    padding: 0;
}

nav li {
    display: inline-block;
}


/*********************
Footer
*********************/

footer {
    text-align: center;
    background: transparent;
    margin: 30px 0 0 0;
    padding: 20px 0 0 0;
    clear: both;
}

footer p {
    color: #888;
    margin: 0;
    padding: 10px 0 20px 0;
    font-size: 0.75em;
}

#social_links {
    padding-top: 25px;
}

#social_links img {
    align-content: center;
    width: 25px;
    height: auto;
    margin: 0;
    padding: 5px 20px 0 20px;
}

#created-by {
    text-align: center;
}


/*********************
PAGE: Portfolio
*********************/

#wrapper {
    color: #eee;
}

#intro h3 {
    margin-bottom: 20px;
    text-align: center;
}

#intro p {
    text-align: center;
}

#intro p:nth-of-type(3) {
    padding-bottom: 20px;
}

#gallery, #gallery-vert {
    padding-left: 0;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-direction: row;
    -ms-flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.portfolio-cell {
    flex: 1 20%;
    margin: 5px 10px;
}

#gallery img, #gallery-vert img {
    box-shadow: 0 0 8px #3879D9;
    max-width: 100%;
    margin: 0 auto;
}

.slick-frame {
    visibility: hidden;
}

.slick-frame.slick-initialized {
    visibility: visible;
}


/*********************
PAGE: About
*********************/

.profile-photo {
    display: block;
    max-width: 150px;
    margin: 0 auto 30px;
    border-radius: 100%;
    box-shadow: 0 0 5px #3879D9;
}

#about p {
    margin-bottom: 1.5em;
}

#about .flexbox {
    margin-top: 10px;
}


/*********************
PAGE: Contact
*********************/

.hours {
    text-align: center;
}

.contact-info {
    margin: 0;
    padding: 0;
}

.contact-info a {
    color: #eee;
    display: block;
    background-repeat: no-repeat;
    padding: 0 0 0 30px;
    margin: 0 0 10px;
    min-height: 20px;
    background-size: 20px 20px;
}

.contact-info li {
    font-family: 'Source Sans Pro', sans-serif;
    margin-top: 10px;
}

.contact-info li.phone a {
    background-image: url('../social_icons/phone_light.png');
}

.contact-info li.email a {
    background-image: url('../social_icons/mail_light.png');
}

.contact-info label {
    font-size: .8em;
}

.clear {
    clear: both;
}


/*********************
PAGE: Services
*********************/

#our-promise {
    margin: 0 auto;
    max-width: 100%
}

#our-promise h3 {
    text-align: center;
}

#promises {
    float: left;
    list-style: disc;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 30px;
}

#services-photos {
    display: none;
}

#services img {
    margin-bottom: 10px;
    box-shadow: 0 0 5px #3879D9;
}

.service-paragraph {
    margin-bottom: 3em;
}

#services h3 {
    clear: both;
}


/*********************
Responsive
*********************/

@media screen and (min-width: 480px) {
    /*********************
    General
    *********************/
    nav a {
        font-size: 1.125em;
        margin: 5px;
    }
    header {
        border-bottom: 7.5px solid #444;
    }
    #container {
        min-height: calc(100vh - 141.467px);
    }
    footer {
        margin-top: 20;
        padding-top: 0;
    }
    /*********************
    Two Column Design
    *********************/
    .primary {
        width: 50%;
        float: left;
    }
    .secondary {
        width: 40%;
        float: right;
    }
    #contact {
        border-left: 3px solid #888;
        padding-left: 20px;
    }
    /*********************
    PAGE: About
    *********************/
    .profile-photo {
        float: left;
        display: block;
        margin: 0 5% 40px 0;
    }
    #about-header {
        margin-bottom: 30px;
    }
    #about-h3 {
        display: inline-block;
        margin-bottom: 0;
    }
    .flexbox {
        display: flex;
        flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
    }
    .cell {
        max-width: 30%;
    }
    .first {
        flex-flow: -1;
    }
    /*********************
    PAGE: Services
    *********************/
    #services h3 {
        background-image: linear-gradient(#444, #333);
        background-image: -moz-linear-gradient(#444, #333);
        background-image: -o-linear-gradient(#444, #333);
        background-image: -webkit-linear-gradient(#444, #333);
        background-repeat: no-repeat;
        background-size: cover;
        box-sizing: border-box;
        padding: 10px;
    }
    #services-photos {
        display: initial;
    }
    #services-photos img {
        margin-bottom: 5px;
        box-shadow: 0 0 5px #3879D9;
    }
    #services-photos img {
        margin-left: 5px;
    }
    #services img {
        display: none;
    }
    .shy {
        display: none;
    }
    /*********************
    PAGE: Contact
    *********************/
    .clear {
        justify-content: space-between;
    }
    .contact-cell {
        min-width: 30%;
        max-width: 40%;
    }
}

@media screen and (min-width: 660px) {
    /*********************
    General
    *********************/
    nav a {
        font-size: 1.25em;
        margin: 10px 30px;
    }
    header {
        border-bottom: 9px solid #444;
    }
    footer {
        margin-top: 0;
        padding-top: 0;
    }
    /*********************
    PAGE: Portfolio
    *********************/
    .portfolio-cell {
        flex-basis: 15%;
    }
    /*********************
    PAGE: About
    *********************/
    #about-header {
        margin-bottom: 50px;
    }
    .profile-photo {
        margin-right: 80px;
        margin-bottom: 60px;
    }
    /*********************
    PAGE: Services
    *********************/
    #our-promise {
        max-width: 40%;
    }
    .shy660 {
        display: none;
    }
}

@media screen and (min-width: 740px) {
    #services-photos img {
        max-width: 47.5%;
        height: auto;
    }
    #services-photos img:nth-child(even) {
        float: right;
    }
    .shy, .shy660 {
        display: initial;
    }
}