html, body, input, button {
    -webkit-font-smoothing: antialiased;
    font-family:'Avenir LT W01 65 Medium';
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6, strong, em {
    font-family:'Avenir LT W01 85 Heavy';
}

p {
  margin: 0 0 15px;
}

.main-content {
    font-family:'Avenir LT W01 65 Medium';
    font-size: 14px;
}

.page-wrap .container-fluid {
}

.nav {
    padding: 23px 0;
    margin-bottom: 10px;
    list-style: none;
    min-height: 85px;
    z-index: 9999;
    background: white;
    box-shadow: 0 3px 3px rgba(0,0,0,.1);
    border-bottom: 1px solid rgba(0,0,0,.2);
}

#nav-link {
    position: absolute;
    top: 45px;
    right: 15px;
    display: inline-block;
    background: url(/images/menu-button.png) no-repeat;
    width: 39px;
    height: 30px;
    text-indent: -999em;
}

.logo {
    text-align: center;
}

.container {
    max-width:990px;
}

.main-content h1 {
    color: #9e9e9e;
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 20px;
    margin-top: 0;
}

.main-content a {
    color: #000000;
    font-weight: 200;
}

.title h1 {
    font-size: 24px;
    margin: 0 0 30px;
}

.primary {
    padding-bottom: 50px;
}

.newsletter {
    text-align: center;
    padding: 20px 40px 19px;
    background: black;
    color: white;
    min-height: 75px;
}

.newsletter label {
  margin-right: 10px;
  display: block;
}

.newsletter input[type="email"] {
  border: 0;
  background: #fff;
  padding: 8px 10px;
  margin-right: -5px;
  min-width: 220px;
}

.newsletter button {
  background: #00a272;
  border: 0;
  padding: 8px 20px;
  color: #fff;
}

/* Navigation */

.heading nav {
    position: absolute;
    top:-130%;
    width:100%;
    z-index: 10000;
    background: #fff;
    text-align: center;
    overflow: hidden;
    transition: top ease-in-out .5s;
    text-transform: uppercase;
    font-weight: 700;
    padding-top: 150px;
}

.heading nav.open {
    top: 0;
    left: 0;
    height: 100%;
}

.heading nav a {
    color: #9e9e9e;
    font-family: 'Avenir LT W01 85 Heavy';
}

.heading nav a:hover {
    color: #000;
    text-decoration: none;
    opacity: .6;
}


.heading .logo img {
    width: 180px;
    margin-top: 6px;
}

.heading .social {
    position: absolute;
    right: 10px;
    top: 22px;
    margin-top: 10px;
}

.heading .social a {
    display: inline-block;
    width: 20px;
    height: 19px;
    text-indent: -999em;
    margin: 0 2px;
    background: url(../images/social-sprite.png) no-repeat;
    background-size: 110px;
    transition: all .1s ease-in;
}

.heading .social a:hover {
    opacity: 0.5;
}

.heading .social a.facebook {
    background-position: -12px -5px;
}
.heading .social a.twitter {
    background-position: -38px -5px;
}
.heading .social a.instagram {
    background-position: -63px -5px;
}
.heading .social a.youtube {
    background-position: -88px -5px;
}

.heading nav .author,
.heading nav .author a {
    color: #a09d9d;
    font-family:'Brandon Grot W01 Bold';
    font-size: 18px;
}

.heading nav .author a {
    text-decoration: underline;
}

.heading nav .selected a {
    color: #ff94f9;
}

body.occluded {
    height: 100%;
    overflow: hidden;
}


body.occluded .primary {
    display: none;
}

.heading nav ul {
    list-style: none;
    padding: 0;
}

a.close-menu-btn {
    position: absolute;
    top: 10px;
    right: 40px;
    font-size: 50px;
    text-decoration: none;
}

/* Home page */

.slides-pagination,
.slides-navigation {
    display: none;
}

html,
body.index,
.index .primary {
    width: 100%;
    height: 100%;
}

.index .nav {
    position: absolute;
    top: 0;
    width: 100%;
}

.index .primary {
    margin: 0;
    padding: 0;
}

.index #footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 9999;
}

.index .caption {
    position: relative;
    top: 34%;
    left: 25%;
    width: 50%;
    text-align: center;
    font-size: 40px;
    font-weight: normal;
    line-height: 40px;
    color: #fff;
    font-family: 'Avenir LT W01 85 Heavy';
    display: block;
}

.index .caption p {
    margin-bottom: 5px;
    text-shadow: 0 2px 2px rgba(0,0,0,0.4);
}

.index .caption a {
    color: #fff;
}

.index .caption a:hover {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
}

.index .caption strong {
    color: #ff94f9;
    font-weight: normal;
}

.index .caption strong em {
    font-family:'TimesNewRomanW04-BoldIt';
    font-style: normal;
    font-size: 90px;
    line-height: 80px;
    position: relative;
    top: 10px;
}

.slides-navigation a {
    display: block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 26px;
    margin: 0 25px;
    text-shadow: 0 1px 1px #000;
    text-align: center;
    height: 48px;
    width: 30px;
    top: -48px;
    padding: 1px;
    text-indent: -999em;
    background: url(../images/arrow-sprite.png) no-repeat;
    opacity: 0.75;
}

.slides a:hover {
    opacity: 1;
}

.slides-navigation a.next {
    background-position: -30px 0;
    right: 20px;
}

.slides-navigation a.prev {
    left: 20px;
}

.slides ul,
.slides li {
    border: none;
    padding: 0;
    margin: 0;
}

/* Inner pages */


.inner .image img {
    display: block;
    margin-bottom: 20px;
    width: 100%;
}

.inner .primary {
    min-height: 1000px;
    max-width: 100%;
}

/* About page */
.about .exhibition {
}

.about .primary img {
    max-width: 460px;
    display: block;
    margin-bottom: 20px;
}

/* Galleries page */

#map_wrapper {
/*
    position: relative;
    padding-bottom: 75%; // This is the aspect ratio
    height: 0;
    overflow: hidden;
*/
    height: 460px;
}

#map_wrapper iframe {
/*
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
*/
}

#map_canvas {
    width: 100%;
    height: 100%;
}

.gallery .name p {
    margin-bottom: 0;
}

.gallery:after {
  display: block;
  clear: both;
  content: "";
}

.gallery {
    margin-bottom: 40px;
}

.gallery .name {
    font-family:'Avenir LT W01 85 Heavy';
    font-size: 24px;
    line-height: 28px;
    color: #9e9e9e;
    margin-bottom: 25px;
}

.gallery .description {
  font-size: 14px;
  margin-bottom: 30px;
}

.gallery .plan a {
    background: #9e9e9e;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    display: inline-block;
}

/* Clients page */

.clients em {
  display: block;
  text-align: right;
  font-style: normal;
  color: #111;
  margin-bottom: 50px;
}

.clients .note {
    margin: 10px 0 30px;
}

.clients .sidebar {
    font-family:'Avenir LT W01 85 Heavy';
    font-size: 28px;
    line-height: 36px;
    color: #9e9e9e;
}

.clients .sidebar a {
    color: #9e9e9e;
    text-decoration: none;
}

.clients .sidebar a:hover {
    color: #ff94f9;
}

/* Exhibitions page */

.exhibitions.inner .image img {
  display: block;
  margin-bottom: 30px;
  width: 100%;
}

.exhibitions .exhibition {
    padding-bottom: 10px;
}

.exhibitions .exhibition:before {
    content: "";
    display: block;
    clear: both;
    padding-top: 30px;
    margin: 10px 15px 0;
    border-top: 1px dotted #111;
}

.exhibitions .exhibition:first-child:before {
    padding-top: 0;
    margin: 0 15px 0;
    border-top: 0;
}

.exhibitions .exhibition .details {
    font-size: 12px;
}

.exhibitions .exhibition .details p {
  margin-bottom: 5px;
}

.exhibitions .exhibition .details h1 {
    font-size: 16px;
    margin-top: 0;
}

.exhibitions .exhibition .details a {
  color: #ff00cc;
}

/* News page */

.news-page.inner .image img {
  display: block;
  margin-bottom: 30px;
  width: auto;
  max-width: 100%;
}

.news {
    padding-bottom: 10px;
}

.news .video {
    max-width: 100%;
    overflow: hidden;
}


.news .video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.news .video iframe,
.news .video object,
.news .video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.news:before {
    content: "";
    display: block;
    clear: both;
    padding-top: 30px;
    margin: 10px 15px 0;
    border-top: 1px dotted #111;
}

.news:first-child:before {
    padding-top: 0;
    margin: 0 15px 0;
    border-top: 0;
}

.news .details {
    font-size: 12px;
    padding-bottom: 20px;
}

.news .details p {
  margin-bottom: 5px;
  word-wrap: break-word;
}

.news .details h1 {
    font-size: 16px;
    margin-top: 0;
}

.news .details a {
    color: #ff00cc;
}

.contact-link a {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    line-height: 35px;
    text-decoration: underline;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .slides-navigation a.prev {
        left: 10px;
    }
    .slides-navigation a.next {
        right: 10px;
    }
    .newsletter {
        text-align: center;
    }
    .newsletter input {
        border-radius: 0;
        margin: 0 !important;
    }
    .newsletter button {
        min-width: 220px;
        padding: 8px 10px;
    }
    .logo {
        text-align: right;
    }
    .heading .logo img {
        width: 50%;
        margin-right: 10px;
        margin-top: -5px;
    }
    .heading .social {
        top: 40px;
        right: 20px;
    }
    #nav-link {
    }
    .index .caption {
        top: 24%;
        z-index: 99999;
    }
    .index .caption img {
        backface-visibility: visible !important;
        -webkit-backface-visibility: visible !important;
    }
    .heading nav {
        padding-top: 30px;
    }
    .slider-wrapper { position: relative; }
    .slides .caption,
    .slides .caption strong,
    .slides .caption strong em {
        font-size: 20px;
        line-height: 20px;
    }
    div.col-md-4.col-sm-12 {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 320px) {
    .logo a img {
        width: 60%;
        margin-top: 7px;
    }
}

@media (min-width: 683px) {

    .index .caption {
        font-size: 50px;
        line-height: 50px;
    }

    #newsletter-footer .contact-link {
        float: left;
    }

    .slides-navigation a.next {
        right: 100px;
    }

    .slides-navigation a.prev {
        left: 100px;
    }


    .heading .logo img {
        width: 301px;
        margin-top: 0;
    }

    .heading .social {
        display: block;
        right: 40px;
        margin-top: 0;
    }

    .heading .social a {
        width: 35px;
        height: 31px;
        margin: 0 5px;
        background-size: 198px;
    }

    .heading .social a.facebook {
        background-position: -21px -11px;
    }
    .heading .social a.twitter {
        background-position: -67px -11px;
    }
    .heading .social a.instagram {
        background-position: -115px -11px;
    }
    .heading .social a.youtube {
        background-position: -160px -11px;
    }

}

@media (min-width: 724px) {
    #nav-link {
    }
    .newsletter label {
        display: inline-block;
    }
    .newsletter {
        text-align: right;
    }
}
