/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'), url(font_light_1.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'), url(font_light_2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(font_regular_1.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(font_regular_2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}



body {
    margin: 0;
    background-color: #222222;
    color: #aaaaaa;

    font-family: 'Lato', Helvetica, Avenir, Arial, sans-serif;
    font-weight: 300;
}

a {
    color: #aaaaaa;
    text-decoration: none;

    -webkit-transition: color .4s ease-out;
    -moz-transition: color .4s ease-out;
    -o-transition: color .4s ease-out;
    -ms-transition: color .4s ease-out;
    transition: color .4s ease-out;
}

a:hover {
    color: #f4f4f4;
}

a img {
    border: none;
}

img, object, embed {
    -ms-interpolation-mode: bicubic;
    max-width: 100%;
}

header, section.content, footer {
    position: absolute;
    right: 0;
    left: 0;
}

body.relative > header, body.relative > section.content, body.relative > footer {
    position: relative !important;
}

header {
    height: 80px;
    top: 0;
}

header .wrapper {
    margin: 12px auto;

    border-color: #555555;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

header h1 {
    float: left;
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
}

section.content {
    top: 80px;
    bottom: 20px;
}

body.relative > section.content {
    top: auto !important;
}

footer {
    height: 20px;
    bottom: 0;
    width: 100%;
}

footer .wrapper {
    margin: 0 auto;

    border-color: #555555;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

footer .copyright {
    display: inline-block;
    float: right;
    /*padding-right: 10px;*/
}

footer .contact {
    display: inline-block;
    float: left;
    /*padding-left: 10px;*/
    padding-top: 2px;
}

footer .contact img {
		opacity: 0.999;
		
		-webkit-transition: opacity .4s ease-out;
    -moz-transition: opacity .4s ease-out;
    -o-transition: opacity .4s ease-out;
    -ms-transition: opacity .4s ease-out;
    transition: opacity .4s ease-out;
}

footer .contact a:hover img {
    opacity: 0.7;
}

@media only screen and (min-width: 320px) {
    header {
        height: 30px;
    }

    header .wrapper {
        min-height: 24px;
        margin: 0 auto;
    }

    header h1 {
        font-size: 8px;
        margin: 2px 10px;
    }

    #header-img {
        height: 20px;
    }

    section.content {
        top: 30px;
        bottom: 0;
    }

    footer {
        display: none;
    }

    footer.show {
        display: inherit;
    }

    footer.show .wrapper {
        padding: 0 10px;
    }

}

@media only screen and (min-width: 1224px) {
    header {
        height: 80px;
    }

    header .wrapper {
        max-width: 1078px;
        min-height: 50px;
        margin: 12px auto;
    }

    header h1 {
        font-size: inherit;
        margin: 0;
    }

    #header-img {
        height: 37px;
    }

    section.content {
        top: 80px;
        bottom: 20px;
    }

    footer {
        display: inherit;
    }

    footer .wrapper {
        max-width: 1078px;
    }

    footer.show .wrapper {
        padding: 0 0;
    }
}


/**
 * Navigation styles
 */
nav {
    float: right;
    margin-top: 0;
    text-transform: uppercase;
}

nav a {
    font-weight: 400;
}

nav ul.nav {
    overflow: hidden;
    list-style: none;
    text-align: right;
    margin: 2px 0 0 0;
    padding-left: 0;
}

nav ul li {
    white-space: nowrap;
    display: inline-block;
    margin-left: 1.5em;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a.active {
    /*text-decoration: underline;*/
}

@media only screen and (min-width: 320px) {
    nav ul.nav {
        padding-right: 10px;
    }
}


/**
 * Juicebox styles
 */
.juicebox-container {
    margin: 24px auto;
}



.content-center {
    margin: 5px auto;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    max-width: 1078px;
}


/**
 * Gallery index module
 */
.thumbs {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.thumbs:before, .thumbs:after {
    /* Micro clearfix */
    content: " ";
    display: table;
}

.thumbs:after {
    clear: both;
}

.ie7 .thumbs {
    *zoom: 1;
}

.thumbs figure {
    text-align: center;
}

.thumbs figcaption {
    margin: 0.5em 0 0.5em;
    text-align: center;
    line-height: 1.25;
    overflow: hidden;
    height: 3.75em;
}

.thumbs figcaption a {
    border-bottom: none;
}

.thumbs .thumb-image {
    opacity: 0.999;
    /* hack for 1 px white line over drop shadows in FF Mac */
    
    -webkit-transition: opacity .4s ease-out;
    -moz-transition: opacity .4s ease-out;
    -o-transition: opacity .4s ease-out;
    -ms-transition: opacity .4s ease-out;
    transition: opacity .4s ease-out;
}

.thumbs a:hover .thumb-image {
    opacity: 0.7;
}

.thumbs .image-wrap {
    /* Intrinsic ratios image sizing */
    position: relative;
    height: 0;
}

.thumbs .image-wrap img {
    position: absolute;
    left: 0;
    top: 0;
}

.thumbs-item {
    margin-top: 0;
    margin-bottom: 0.5em;
    zoom: 1;
    margin-left: auto;
    margin-right: auto;
    width: 98.75%;
    /* Left margin collapses into parent */
}

@media only screen and (min-width: 320px) {
    /* all layouts gallery thumbs switch to 2 columns */
    .thumbs-item {
        float: left;
        margin-left: 1.25%;
        margin-right: 1.25%;
        width: 47.5%;
    }

    .ie7 .thumbs .thumbs-item {
        width: 47.25%;
        /* ie7 rounding correction */
    }
}

/* Gallery index page breakpoints */
/* 3 column layout 3 column breakpoint */
@media only screen and (min-width: 768px) {
    .index-3-col .thumbs-item {
        width: 30.83333%;
    }

    .ie7 .index-3-col .thumbs-item {
        margin-left: 1.1849%;
        margin-right: 1.1849%;
        width: 30.76823%;
    }
}

@media only screen and (min-width: 320px) {
    /* thumbs switch to 1 column */
    .index-2-col .thumbs-item {
        float: none;
        margin: 0 auto;
        width: 97.5%;
    }

    .ie7 .thumbs .thumbs-item {
        width: 97.25%;
        /* ie7 rounding correction */
    }
}

/* Gallery index page breakpoints */
/* 2 column layout 2 column breakpoint */
@media only screen and (min-width: 768px) {
    .index-2-col .thumbs-item {
        float: left;
        width: 50%;
    }

    .ie7 .index-2-col .thumbs-item {
        margin-left: 2.5%;
        margin-right: 2.5%;
        width: 45%;
    }
}


/**
 * No-Script styles
 */
noscript {
    text-align: center;
}

noscript img {
    width: 80%;
    max-width: 800px;
    height: auto;

    border: 0;
    -ms-interpolation-mode: bicubic;
}

