/****
Responsive Stylesheet, Grey Gallery. By Social Ink.
****/

/* wp logged in override */
html {
    margin-top: 0 !important
}

html #wpadminbar {
    display: none;
    height: 0;
}

/* global wrappers */

.onepage,
#footer {
    max-width: 100%;
    padding: 0 3%;
    width: 100%;
}

.centering_box:not('#container') {
    max-width: 95% !important;
}

/* header */

#header {
    padding: .25em 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.desktop_only {
    display: none;
}

.mobile_only {
    display: block;
}

.header_inner {
    margin-top: 0;
}

.header_inner.mobile_only .mobile-header-inner {
    background: #fff;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    max-width: 100%;
    padding: 0 .5em 0 .5em;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.header_inner input[type="checkbox"] {
    width: 0;
}

.header_inner nav,
.header_inner div {}

.header_inner nav.menu_nav {
    /*	width: 15%;*/
    padding-top: 0;
}

.header_inner nav.searcher {
    /*width: 15%;*/
    padding-top: 0;

}

.logo {
    width: 70%;
}

.logo img {
    height: auto;
    max-width: none;
    width: 100%;
}

.text_assist {
    font-size: .35em;
    margin-top: 10px;
    display: block;
}

.mobile_expansion:checked+label .text_assist {
    margin-top: 20px;
    margin-top: 20px;
    margin-left: -9px;
}

.mobile_expand {
    background: #5d0c8b none repeat scroll 0 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    position: absolute;
    top: 53px;
    left: 0;
    width: 100%;
    z-index: 50;
    border-bottom: 10px solid black;
}

.mobile_expand.right {
    right: 0;
    left: inherit;
}

.mobile_expand input {
    padding: 1em;
    width: 100%;
    border: 0;
    border-top: 2px solid #111;
}

.mobile_expand ul {
    margin-bottom: 0;
}

.mobile_expand li {
    list-style: outside none none;
}

.mobile_expand li a {
    color: #fff;
}

.mobile_expand .sink_dropdown_container .dropdown_triangle {
    margin-left: 7px;
    position: relative;
    top: 27%;
    border: none;
}

.mobile_expand .sink_dropdown_container .dropdown_triangle:after {
    content: '+';
}

.mobile_expand .sink_dropdown_container .sub-menu {
    border-left: 14px solid #fff;
    padding-left: 10px;
}

.site-banner .inner {
	display: inherit;
}
.site-banner .inner > .alert_header_text,
.site-banner .inner > div {
	width: 100%;
	margin-bottom: 1em;
}

.site-banner .inner > .alert_header_text h1 {

}

.close-banner {
    margin-left: inherit;
    justify-content: flex-end;
    margin-top: 1em;
}

/* flexbox redirect */

.flexible,
.topmenu ul,
.topmenu li,
.content article.archive_post {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

/* full width and margin bottom only (useful for flex items) */

.flexible,
.topmenu li,
.flexible.twocol>div,
.archive_post .featimg,
.archive_post.thumb_exists .mainpost {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1em;
    min-width: 0;
}

/* clear floats  */

.sidebar,
.content,
.topmenu ul,
.topmenu ul li,
.footermenu .col,
.sitecredits,
.sinkcredits,
.menu_indicator,
.footer_inner .socialmedia,
.tagline,
.search_container,
.post-type-archive-publications .publication_buylink {
    display: block;
    clear: both;
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

nav {
    float: none;
}

/* center text */

.logo,
.menu_indicator,
.search_container {
    text-align: center;
}

/* center block level items */

.logo {
    margin: auto;
    width: 50%;
}

/* margin adjustments */



/* padding adjustments */

.content {
    padding: 1%;
}

/* width adjustments */

.search_container input {
    width: 80%;
}

/* increase font size */

.mobile_friendly {
    font-size: 1.5em;
}

/* unconstrain height */

.slideshow img {
    height: auto;
}


/* bg position */

.herospot {
    background-position: center center;
    min-height: 200px;
}

/* other, more specific rules */

.search_container {
    display: none;
}

.visit_hours .onehour {
    width: 7.7%;
    font-size: .65em;
}

.visit_hours .onehour:first-child {
    width: 8%;
}

.home .contentsection {
    padding: 1em;
    margin-left: -1em;
    margin-right: -1em;
    margin-bottom: 1em;
}

.footer_inner .socialmedia ul {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    width: 100%;

}

.sitecredits {
    background: rgba(0, 0, 0, 0) url("../../images/logo_nyu.png") no-repeat scroll left top;
}

.sinkcredits {
    font-size: .8em;
}

.global_footer p {
    margin-bottom: 0;
    padding-top: 3em;
}

.readmore>a {
    margin-top: 0;
}

.herospot h1 {
    font-size: 1.5em;
    margin-bottom: .5em;
}

.subnav {
    padding: 0;
}

.subnav.menu_horizontal ul li {
    margin: auto;
    border-bottom: 1px solid #A586A7;
    width: 100%;
    text-align: center;
}

.subnav li a {
    padding-bottom: .5em;
    margin-bottom: 0;
    display: block;
    padding: 1em;
    border: none;
}

.subnav li a:hover {
    border: none;
}

.subnav li.last_item a {
    margin-bottom: 0;
}

.subnav li[class*="current"] a,
.subnav li:hover a {
    background: none repeat scroll 0 0 #5D0C89;
    border: none;
}

.single .gridview>a,
.single .gridview>div {
    width: 100%;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    height: auto;
}

.gridview .item {
    padding-top: 100%;
}

.fancybox-opened .fancybox-skin {
    min-width: 0;
    max-width: 100%;
}

.page-id-1721 .gridview>a,
.page-id-1721 .gridview>div,
.page-id-41 .gridview>a,
.page-id-41 .gridview>div {
    min-height: 325px;
    height: auto;
    width: 100%;
    display: block;
}

.gridview>a {
    min-height: 325px;
    height: auto;
    width: 100%;
    display: block;
    overflow: visible;
}


.past_exhibitions .gridview .item {
    /*padding-top: 250px;*/
    display: block;
    min-height: 325px;
}

.news .icon-cancel {
    position: absolute;
    right: .9em;
    top: 2em;
    display: block;
}

.news.flexible {
    position: relative;
}

.gridview.flexible {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;

    display: block;

}