/* YUI 3.8.1 (build 5795) Copyright 2013 Yahoo! Inc. */
html {
    color: #000;
    background: #FFF;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    border: 0;
    font-variant: normal;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

input,
textarea,
select {
    *font-size: 100%;
}

legend {
    color: #000;
}

#yui3-css-stamp.cssreset {
    display: none;
}

html {
    height: 100%;
    overflow-y: scroll;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1) inset;
    min-height: 100%;
    padding: 0;
    background: url('') 50% 50% fixed no-repeat;
    background-size: cover;
    -webkit-background-size: 100% 100%;
    -webkit-animation: 8s bg forwards ease;
    background-color: #6699CC;
}

@-webkit-keyframes bg {
    0% {
        background-size: 120% 120%;
    }
    100% {
        background-size: 100% 100%;
    }
}

@font-face {
    font-family: 'Romanesco';
    font-style: normal;
    font-weight: 400;
    src: local('Romanesco'), local('Romanesco-Regular'),
        url(/fonts/romanesco.woff) format('woff');
}

@font-face {
    font-family: 'Cuprum';
    font-style: normal;
    font-weight: 400;
    src: local('Cuprum'), local('Cuprum-Regular'),
        url(/fonts/cuprum.woff) format('woff');
}

@font-face {
    font-family: 'GreatVibes';
    font-style: normal;
    font-weight: 400;
    src: local('GreatVibes'), local('GreatVibes-Regular'),
        url(/fonts/GreatVibes-Regular.otf) format('opentype');
}

/* caveat-regular - latin-ext_latin_cyrillic-ext_cyrillic */
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 400;
    src: local(''),
        url('/fonts/caveat-v15-latin-ext_latin_cyrillic-ext_cyrillic-regular.woff2') format('woff2'),
        url('/fonts/caveat-v15-latin-ext_latin_cyrillic-ext_cyrillic-regular.ttf') format('truetype'),
        url('/fonts/caveat-v15-latin-ext_latin_cyrillic-ext_cyrillic-regular.svg#Caveat') format('svg');
}

@font-face {
    font-family: 'PlaypenSans';
    font-style: italic;
    font-weight: 400;
    src: local('PlaypenSans'), local('PlaypenSans-Regular'),
        url(/fonts/PlaypenSans-VariableFont_wght.ttf) format('truetype');
}

a {
    text-decoration: none;
}

.btn {
    display: inline-block;
    box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.3),
        0 -30px 30px -15px #00329B inset,
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    background: #0088CC;
    background-repeat: repeat-x;
    color: #FFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    padding: 14px 24px;
    transition: 0.15s;
}

.btn:hover {
    background: #0068BA;
}

.btn:active {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3),
        0 -30px 30px -15px #00329B inset,
        0 0 6px #00243F inset;
}

#wrap {
    overflow: hidden;
    padding: 3%;
}

#pbOverlay.show ~ #wrap {
    filter: blur(2px) grayscale(.4);
    -webkit-filter: blur(2px) grayscale(.4);
}

.main {
    float: left;
    font-size: 1.1em;
    width: 26%;
    color: #FFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
    font-family: 'Cuprum';
}

.main h1 {
    line-height: 0.75;
    font-size: 4.8em;
    margin: 0;
    text-indent: 1%;
    font-family: 'Caveat';
}

.main small {
    color: inherit;
}

.main h2 {
    font-size: 3em;
    color: #000;
    line-height: 1.2;
    margin: 0;
    font-family: 'Caveat';
}

.main h3 {
    font-size: 1.5em;
    line-height: 1.2;
    margin: 0;
    font-family: 'Caveat';
}

.main p {
    margin: 15px 0;
}

.main ul li {
    padding-left: 25px;
    position: relative;
    margin: 0.2em 0;
}

.main ul li:before {
    content: '●';
    color: #FFF;
    position: absolute;
    left: 0;
    top: -2px;
    opacity: 0.5;
    transition: opacity 0.3s, text-shadow 0.3s;
}

.main ul li:hover:before {
    opacity: 1;
    text-shadow: 0 0 4px #FFF;
}

.main footer {
    margin-top: 50px;
    text-shadow: none;
    font-size: 0.9em;
}

.main footer .copy {
    font-family: Tahoma;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 3px;
    opacity: 0.35;
}

.main footer a {
    margin-left: 10px;
    color: #D8FF16;
    border-radius: 4px;
    position: relative;
    transition: color 0.2s;
}

.main footer a:hover {
    text-decoration: none;
    color: #FFF;
}

.main footer a::after {
    content: '\203A';
    font-size: 2em;
    line-height: 0.8;
    margin-left: -10px;
    display: inline-block;
    vertical-align: top;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-out, margin-left 0.15s ease-out;
}

.main footer a:hover::after {
    opacity: 1;
    margin-left: 5px;
}

#map-canvas,
#gallery {
    float: right;
    width: 70%;
    margin: 0;
    padding: 0;
}

#map-canvas {
    height: 300px;
    display: none;
}

/* Gallery Styles */
#gallery li {
    list-style: none;
    perspective: 100px;
    -webkit-perspective: 100px;
    margin: 0;
    float: left;
    position: relative;
    transition: transform 0.05s;
}

#gallery a {
    display: block;
    height: 80px;
    width: auto;
    vertical-align: bottom;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
    transform: rotateX(90deg) translate(-50px, -50%);
    transition: transform 0.05s ease-out;
    -webkit-transform: rotateX(90deg) translate(-50px, -50%);
}

#gallery a:active,
#gallery a:focus {
    outline: none;
}

#gallery a img {
    height: 100%;
    width: auto;
    display: block;
    transition: transform 0.05s ease-out;
}

#gallery .loaded a {
    transform: rotateX(0deg) translate(0, 0);
    -webkit-transform: rotateX(0deg) translate(0, 0);
}

#gallery li.video::before {
    content: '\25BA';
    color: #FFF;
    font-size: 20px;
    height: 20px;
    width: 20px;
    line-height: 0.9;
    position: absolute;
    bottom: 3px;
    left: 4px;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.4);
    border-radius: 0 3px 0 0;
    pointer-events: none;
    opacity: 0;
    transition: .5s 0.2s;
}
#gallery li.loaded.video::before {
    opacity: 1;
}

#gallery li.loaded:hover {
    z-index: 2;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
}

#gallery li.loaded a:hover {
    box-shadow: 0 0 0 2px #FFF, 0 0 20px 5px #000;
}

#gallery li.loaded:hover img {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
}

/* Highlight classes */
.photo_highlight_a {
    box-shadow: 0 0 0 2px #FFF, 0 0 20px 5px #000;
    transition: 0.1s;
}

.photo_highlight_img {
    z-index: 10;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
}

.photo_highlight_li {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
}

/* Media Queries */
@media all and (max-width: 700px) {
    body {
        background-position: 0 0;
        background-attachment: inherit;
        box-shadow: none;
    }

    .main,
    #gallery {
        float: none;
        width: auto;
        font-size: 0.9em;
    }

    .main h1 {
        font-size: 5.2em;
    }

    .main h2 {
        font-size: 1.5em;
    }

    .btn {
        position: absolute;
        right: 10px;
        top: 26px;
    }

    #gallery li {
        margin: 0;
    }

    #gallery a {
        width: 55px;
        height: 50px;
    }

    #gallery li.loaded:hover img,
    #gallery li.loaded:hover {
        transform: none;
        -webkit-transform: none;
    }

    .main footer {
        margin: 10px 0;
    }
}
