/*Font adjustments*/

@font-face {
    font-family: "Helvetica Neue";
    src: url("fonts/HelveticaNeue.ttf");
    src: local("☺"), url("fonts/HelveticaNeue.ttf") format("truetype");
}

@font-face {
    font-family: "OpenSans Regular";
    src: url("fonts/OpenSans-Regular.ttf");
    src: local("☺"), url("fonts/OpenSans-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "OpenSans Light";
    src: url("fonts/OpenSans-Light.ttf");
    src: local("☺"), url("fonts/OpenSans-Light.ttf") format("truetype");
}

.slide-title {
    font-size: 28px;
}

.slide-title,
.slide-description * {
    font-family: "OpenSans Regular", Arial;
    font-weight: 400;
}

.exhibition-title, .exhibition-description,
.exhibition-caption, .works-detail-container .exhibition-caption {
    font-family: "Helvetica Neue", Arial;
}

.list-item-text {
    font-family: "Helvetica Neue", Arial;
    font-weight: 400;
    color: #333;
}

.page-artists .list-item-text {
    font-family: Arial;
}

.viewer-caption * {
    font-family: "Helvetica Neue", Arial;
    color: #333;
}

#page-level-2 .news-title {
    color: #666;
}

.page-header,
.main-heading {
    color: #333333;
    font-family: "OpenSans Regular", Arial;
    font-size: 19px;
}

h1, h2, h3, h4, h5, h6 {
    color: #767676;
    font-family: "Helvetica Neue", Arial;
    font-weight: 300;
}

p {
    font-family: "Helvetica Neue", Arial;
}

.works-detail-horizontal .page-header {
    font-family: "OpenSans Regular", Arial;
    font-size: 19px;
    color: #666666;
}

#page-area-gallery-map h3 {
    font-weight: 300;
}

/*Header and logo adjustments*/

#header > .wrapper::before {
    padding-top: 25px;
}

#header {
    border-bottom: 1px solid #999;
    padding-bottom: 0;
}

@media (min-width: 980px) {
    #header {
        margin: 0 24px;
    }

    #nav-level-2 .nav-main {
        margin-right: -8px;
    }
}

#logo-container {
    width: 260px;
}

@media (max-width: 760px) {
    #logo-container {
        width: 230px;
    }
    #logo img {
        padding: 8px 0 8px;
    }
}


/* dropdown menu*/
@media (min-width: 980px) {

    #nav-level-2 .dropdown-sub-container {
        top: 50px;
    }

    #logo-container {
        padding-bottom: 10px!important;
    }

    #nav-level-2 .nav-main .nav-item, #nav-level-2 .nav-main .nav-link {
        padding-bottom: 10px;
        font-family: "OpenSans Regular", Arial;
        color: #333333;
        letter-spacing: 0.12em;
        font-size: 13px;
    }

}


/* Page Heading */

@media (max-width: 980px) {
    .works-detail-horizontal .page-header {
        padding-top: 10px;
        padding-bottom: 15px;
    }
}

.works-page-nav {
    margin-bottom: none!important;
}

#page-level-2 {
    padding-top: 25px;
}

@media (min-width: 980px) {
    #page-level-2 {
        padding-top: 35px;
    }
    .works-detail-horizontal, .artist-detail-horizontal {
        padding-top: 35px!important;
    }
}

/*DotDotDot*/

.dotdotdot.list-item-text {
    height: 4rem;
    max-height: 4rem;
}

/* fix for header and nav affecting links in safari */

@media (min-width: 980px) {
    #header > .wrapper {
        width: 100%;
        max-height: 100% !important;
        display: block;
    }

    #logo-container {
        float:left;
    }

    #nav-level-2 {
        float: right;
        display: block;
    }

    #header > .wrapper::after {
        clear: both;
        content: "";
        width: 100%;
    }
}