/** GLOBAL **/
* {
    margin: 0;
}

html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: roboto-slab, serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
    font-size: 12px;
    line-height: 18px;
    -webkit-font-smoothing: antialiased;
}

body{
    min-width: 320px;
}

h1,
h2,
h3,
h4,
h5,
h5,
h6 {
    font-family: ivyjournal, sans-serif;
    font-weight: 700;
    font-style: normal;
}

h1 {
    font-family: roboto-slab, serif;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
    line-height: 28px;
    text-transform: uppercase;
    padding-bottom: 5px;
}


h2 {
    font-family: ivyjournal, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 27px;
    line-height: 34px;
    margin: 0 auto;
}

h3 {
    font-family: roboto-slab, serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
}

h4 {
    font-size: 24px;
    line-height: 24px;
    font-family: ivyjournal, sans-serif;
    font-weight: 600;
    font-style: italic;
    text-align: center;
    margin: 0;
    padding: 20px 0 50px;
    text-transform: uppercase;
}

h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

ul {
    list-style: none;
    padding: 0px;
}
  
a:hover {
    text-decoration: none;
}
  
img {
    max-width: 100%;
}
  
strong {
    font-weight: 600;
}

p {
    font-size: 12px;
    line-height: 20px;
}


/** Header **/
header{
    background-color: #09323e;
    min-width: 320px;
}

header #mobile-nav-button{
    display: none;
}

header #logo-wrapper{
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    padding: 30px 0 45px;
    clear: both;
}

nav{
    padding-bottom: 20px;
}

nav > ul{
    display: flex;
    justify-content: center;
}

nav li {
    border-right: 1px solid #f7c892;
}

nav li:last-child{
    border: 0;
}

nav li > a{
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #f7c892;
    font-size: 15px;
    padding: 2px 30px;
    text-transform: uppercase;
}

nav a:hover, nav a:active, nav a:focus{
    color: #fff;
    text-decoration: none;
}

@media all and (max-width: 700px) {

    header #logo-wrapper{
        padding: 30px 20px 10px 20px;
    }

    nav{
        padding-bottom: 0;
    }

    nav > ul{
        flex-wrap: wrap;
        margin-bottom:  0;
    }

    nav li {
        flex-basis: 100%;
        border: 0;
        border-bottom: #f7c892 solid 1px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    nav li:last-child{
        margin-bottom: 0;
    }
    
    header #mobile-nav-button{
        display: block;
        color: #fff;
        margin-right: 15px;
        clear: both;
        overflow: visible;
        min-height: 40px;
    }
    header #mobile-nav-button .icon{
        display: flex;
        float: right;
    }

    header ul{
        display: none;
    }

    header ul.mobile-nav-open{
        display: flex
    }

    header .glyphicon {
        font-size: 25px;
    }
}

/** Footer **/

footer{
    background-color: #09323e;
    min-width: 320px;
    padding: 82px 0 ;
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #f7c892;
}

footer p{
    text-align: center;
    color: #fff;
}

footer > ul{
    display: flex;
    justify-content: center;
}

footer li {
    border-right: 1px solid #f7c892;
    font-size: 14px;
}

footer li:last-child{
    border: 0;
}

footer li{
    padding: 2px 30px;
}

footer li > a{
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #f7c892;
    font-weight: 15px;
}

@media all and (max-width: 600px) {
    footer > ul{
        flex-wrap: wrap;
    }

    footer li {
        flex-basis: 100%;
        border: 0;
    }
}

/** Body **/

.page-home section{
    max-width: 720px;
    margin: 0 auto;
}

.page-home h1{
    font-family: ivyjournal, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 34px;
    line-height: 40px;
    padding: 20px 0;
    color: #000;
    margin: 0;
    margin-top: 60px;
    text-align: center;
    padding-bottom: 0;
}

.page-home h2{
    text-align: center;
    padding-bottom: 20px;
    padding-top: 2px;
}

section{
    max-width: 620px;
    margin: 0 auto;
    padding: 0 5px 15px;
}

section ul li{
    padding: 2px 0 4px 20px;
}

section  ul li ul li{
    padding-left: 40px;
}

.inline-image{
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.inline-gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.inline-gallery .image img{
    max-width: 182px;
    max-height: 182px;
    width: auto;
    height: auto;
}

.inline-gallery .image{
    display: flex;
    background-color: #01676e;
    width: 182px;
    height: 182px;
    text-align: center;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    margin: 10px;
}

#works-gallery{
    display: flex;
    justify-content: center;
    align-items: center; /* align vertical */
    background-color: #01676e;
    height: 300px;
    width: auto;
    margin-bottom: 20px;
}

#works-gallery-thumbnails{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* align vertical */
}

#works-gallery-thumbnails .thumb{
    display: flex;
    background-color: #01676e;
    width: 60px;
    height: 60px;
    text-align: center;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    margin: 8px;
}

#works-gallery img{
    max-width: 610px;
    max-height: 300px;
    width: auto;
    height: 100%;
}

#works-gallery-thumbnails .thumb img{
    max-height: 60px;
    width: auto;
}
