/* Layout */
body {
    background: #ddd;
}
body,
html {
    height: 100%;
}
#container {
    position: relative;
    min-height: 100%;
	max-width: 1648px;
}
#content {
    padding-bottom: 350px;
}


/* Misc */
.encapsulated {
	padding-left: 40px;
	padding-right: 40px;
}
@media only screen and (max-width: 767px) {
	.encapsulated {
		padding-left: 25px;
		padding-right: 25px;
	}
}
#loading {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(255, 255, 255, 0.8);
	background-image: url('../img/loading.gif');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 71px;
	z-index: 100000;
}


/* Auth */
#auth .columns {
    padding: 0 20px;
}
@media only screen and (max-width: 767px) {
	#auth .columns {
	    padding: 10px;
	}
}

/* Columns geometry */
.column {
	width: 19.95%;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.column > .wrapper {
    margin: 0 7.5px;
    padding-right: 20px;
}
.column h4 {
    display: block;
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
    font-family: "regular-black";
    margin-bottom: 10px;
}
.column article.item {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 15px;
    float: none;
}
.column article.item > .wrapper {
    margin: 0;
}
article.item,
.related.single .item {
    width: 19.95%;
}
#footer nav ul li {
    width: 19.95%;
}
section .header > .wrapper,
article.theme .wrapper {
    max-width: calc(4 * 19.95% - 15px);
}
@media only screen and (min-width: 1601px) {
    .column {
        width: 16.64%;
    }
    article.item,
	.related.single .item {
        width: 16.64%;
    }
	#footer nav ul li {
	    width: 16.64%;
	}
	
	/* Exhibitions & workshops */
	section > .header > .wrapper,
	article.theme .wrapper {
		max-width: calc(5 * 16.64% - 15px);
	}
	#workshops .results .week header,
	#workshops .results .month header {
	    margin: 0;
	    width: 16.64%;
	}
}
@media only screen and (min-width: 1921px) {
    .column {
        width: 14.27%;
    }
    article.item,
	.related.single .item {
        width: 14.27%;
    }
	#footer nav ul li {
	    width: 14.27%;
	}
	
	/* Exhibitions & workshops */
	section > .header > .wrapper,
	article.theme .wrapper {
        max-width: calc(4 * 14.27% - 15px);
    }
}
@media only screen and (max-width: 1279px) {
    .column {
        width: 24.95%;
    }
	article.item,
	.related.single .item {
        width: 24.95%;
    }
	
	/* Exhibitions & workshops */
  	article.theme .wrapper,
	section > .header > .wrapper {
        max-width: calc(3 * 24.95% - 15px);
    }
}
@media only screen and (max-width: 1023px) {
    article.item,
	.related.single .item {
        width: 33.3%;
    }
    .column {
        width: 33.3%;
    }
	section .header > .wrapper {
        max-width: calc(3 * 33.3% - 15px);
    }
	article.theme .wrapper {
        max-width: calc(3 * 33.3%);
    }
}
@media only screen and (max-width: 767px) {
    .vgrid {
        margin: 0 18.5px;
    }
    article.item,
	.related.single .item {
        width: 100%;
        height: auto !important;
		min-height: auto !important;
    }
    .column {
        width: 100%;
    }
	.column > .wrapper {
	    margin: 0 7.5px;
	    padding-right: 0;
	}
}


/*404 */
#error {
	padding: 100px 40px 40px 40px;
}


/* Links */
.description a {
	text-decoration: underline;
	font-family: 'regular-medium';
}


/* Videos */
.videos li {
    margin-top: 40px;
}
.videos li .video_container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 10px;
}
.videos li .video_container.podcast {
    padding-bottom: 12.25%;
}
.videos iframe,
.videos object,
.videos embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media only screen and (max-width: 1279px) {
    .videos iframe {
        min-height: 300px;
    }
}
@media only screen and (max-width: 1023px) {
    .videos iframe {
        min-height: 180px;
    }
}


/* Slideshow video */
.slides .video .wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (min-aspect-ratio: 16/9) {
  .slides .video .wrapper video{
    height: 300%;
    top: -100%;
  }
}
@media (max-aspect-ratio: 16/9) {
  .slides .video .wrapper video {
    width: 300%;
    left: -100%;
  }
}


/* Back to top */
#backtop {
	position: fixed;
	z-index: 10000;
	right: 20px;
	bottom: 20px;
	opacity: 0;
	display: none;
	transition: 0.5s;
}
#backtop a {
	font-size: 0;
	display: block;
	width: 24px;
	height: 22px;
	background: url('../img/backtop.svg') no-repeat;
	background-size: 100%;
}
body.scrolling #backtop {
	opacity: 1;
	display: block;
	transition: 0.5s;
}


/* Cookies popup */
#cookies_popup {
	display: none;
	text-align: center;
	position: fixed;
	z-index: 5000;
	bottom: 0;
	left: 0;
	right: 0;
	line-height: 15px;
	padding: 25px 0;
	background: #eee;
	color: #000;
	font-size: 15px;
}
#cookies_popup .close {
	text-decoration: underline;
	padding-left: 10px;
	cursor: pointer;
}
#cookies_popup a {
	text-decoration: underline;
}


/* Covid popup */
#covid_popup {
	z-index: 100000;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(200,200,200, 0.8);
	display: none;
    overflow-y: auto;
}
#covid_popup .wrapper {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	background: #fff;
	padding: 50px;
	font-size: 15px;
    line-height: 20px;
	font-family: 'regular-regular';
	text-transform: uppercase;
	letter-spacing: 1px;
	width: 90%;
    max-width: 1000px;
    box-sizing: border-box;
}
#covid_popup .wrapper .more {
    font-size: 10px;
}
#covid_popup .wrapper a {
    display: block;
}
#covid_popup .wrapper a:hover {
    opacity: 0.5;
}
#covid_popup .wrapper .en {
	font-family: 'regular-extrabold';
    margin-top: 20px;
}
#covid_popup .wrapper h1 {
	margin-bottom: 0px;
	line-height: 40px;
}
#covid_popup .wrapper .close {
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	width: 20px;
	height: 20px;
	background: url('../img/close.svg') no-repeat;
	background-size: 100%;
	font-size: 0;
}
@media only screen and (max-width: 767px) {
    #covid_popup .wrapper {
    	width: 100%;
        position: absolute;
        transform: translate(0,0);
        top: 0;
        left : 0;
        bottom: 0;
        overflow-y: scroll;
		box-sizing: border-box;
		font-size: 15px;
		line-height: 18px;
		padding: 20px;
    }
}


/* Path */
#path {
    padding: 30px 40px 20px 40px;
    text-transform: uppercase;
}
#path,
#path * {
    font-family: 'regular-semibold';
    font-size: 10px;
    color: #808080;
    /*background: #fff;*/
}
body.places.view #path,
body.curators.view #path,
body.artists.view #path,
body.exhibitions.view #path {
    background: #fff;
}
@media only screen and (max-width: 1023px) {
    #path {
        padding: 10px 40px 20px 40px;
    }
}
@media only screen and (max-width: 767px) {
    #path {
        display: none;
        padding: 20px 30px;
    }
}


/* Vgrid */
.row,
.vgrid {
    margin: 0 32.5px;
}
@media only screen and (max-width: 767px) {
	.row,
	.vgrid {
	    margin: 0 17.5px;
	}
}


/* Section title */
section > .title {
	margin: 0 0 30px 40px;
}
section > .title hr {
    width: 90px;
    border-top: 14px solid #000;
    margin-bottom: 10px;
}
section > .title h1 {
    text-transform: uppercase;
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 2px;
    font-family: 'regular-black';
}
@media only screen and (max-width: 767px) {
    section > .title {
        display: block;
		margin: 20px 0 20px 25px;
    }
}


/* Section header & Edito */
section > .header,
section > form > .header {
    margin: 0 32.5px 20px 32.5px;
}
section > .header > .wrapper {
    margin: 0 7.5px;
    max-width: calc(4 * 19.95% - 15px);
}
@media only screen and (max-width: 767px) {
	section > form > .header,
	section > .header {
	    margin: 0 25px 20px 25px;
	}
}
.edito {
    background-color: white;
    padding-bottom: 10px;
}
.edito hr {
    width: 90px;
    border-top: 14px solid #000;
    margin-bottom: 10px;
}
.edito .title {
    font-family: 'regular-black';
    text-transform: uppercase;
    font-size: 14px;
    line-height: 14px;
}
.edito .wrap {
    background-color: white;
    max-width: 75%;
	margin-top: 30px;
}
.edito .description {
    font-size: 16px;
    line-height: 22px;
}
.edito .description h2 {
    font-size: 26px;
    line-height: 26px;
}
.edito .description h3 {
    font-family: "regular-regular";
    font-size: 22px;
    line-height: 22px;
}


/* Pager */
.pager {
    line-height: 11px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}
.pager .next {
    display: inline-block;
    width: 11px;
    height: 11px;
    background: url('../img/button_arrow_thin.png') no-repeat;
    background-size: 100%;
    text-indent: -10000px;
    margin-left: 5px;
}
.pager .prev {
    display: inline-block;
    width: 11px;
    height: 11px;
    background: url('../img/button_arrow_left_thin.png') no-repeat;
    background-size: 100%;
    text-indent: -10000px;
    margin-right: 5px;
}


/* Related pages */
.related_pages {
	padding: 0 0 40px 40px;
}
.related_pages ul {
	margin-top: 15px;
}
.related_pages ul li {
	display: inline-block;
	margin-right: 40px;
	margin-bottom: 30px;
	width: 120px;
	vertical-align: top;
}
.related_pages ul li hr {
    width: 33px;
    border-top: 6px solid #000;
	margin-bottom: 5px;
}
.related_pages ul li a {
    font-size: 12px;
	text-transform: uppercase;
	font-family: 'regular-medium';
}
@media only screen and (max-width: 767px) {
	.related_pages {
		padding: 0 0 40px 25px;
	}
}


/* Html */
body.contact,
body.html {
    background: #fff;
}
body.html.education #header {
    background: yellow;
}
body.contact #footer,
body.html #footer {
    background: #e5e5e5;
}


/* Press */
#press_auth form {
	padding: 40px;
}
#press_auth form p {
	margin-bottom: 10px;
}
#press_auth form {
	margin-top: 20px;
}
#press_auth form label {
	display: block;
	font-family: "regular-bold";
}
#press_auth form input {
	background: #fff;
	height: 20px;
	line-height: 20px;
	padding: 2px;
	border: 0;
	width: 150px;
	box-sizing: border-box;
	font-size: 12px;
}
#press_auth form button {
	padding: 0;
	margin-top: 20px;
}
#press_files .item .thumbnail {
	margin-bottom: 15px;
}
#press_files .item .wrapper {
	padding-bottom: 15px;
}


/* Texts */
body.texts {
    background: #fff;
}
body.texts #footer {
    background: #e5e5e5;
}
#texts article {
    width: 49.9%;
    margin-bottom: 40px;
}
#texts article hr {
    width: 40px;
    border-top: 8px solid #000;
}
#texts article .title {
    font-size: 30px;
    line-height: 32px;
    margin-bottom: 20px;
}
#texts article .description {
    font-family: 'regular-medium';
    font-size: 16px;
    line-height: 19px;
}
@media only screen and (max-width: 767px) {
    /* Texts */
    #texts {
        padding: 30px 0;
    }
    #texts article {
        width: 100%;
    }
}


/* Search */
#search {
    /*padding: 0 32.5px;*/
}
#search h1 {
    font-size: 25px;
    height: 40px;
    line-height: 40px;
    background: url('../img/search.png') no-repeat 0 5px;
    padding-left: 32.5px;
    background-size: 25px;
    margin-left: 32.5px;
}
#search .column>.wrapper>hr {
    width: 43px;
    border-top: 8px solid #000;
    margin-bottom: 10px;
}
#search .column>.wrapper>h2 {
    margin-bottom: 30px;
    font-size: 12px;
    font-family: 'regular-black';
}
#search .column {
    margin-top: 30px;
}
#search .column .wrapper .item {
    height: auto !important;
    margin-bottom: 15px !important;
}
@media only screen and (max-width: 1023px) {
    #search h1 {
        background: url('../img/search.png') no-repeat 0 7px;
        background-size: 25px;
    }
}
@media only screen and (max-width: 767px) {
    #search {
        padding: 20px 0px;
    }
    #search h1 {
        padding-left: 18.5px;
        background: url('../img/search.png') no-repeat 0 11px;
        background-size: 18px;
    }
}


/* Experts */
#experts .filters .options,
#experts .filters .dropdown {
	background: #04ABAF;
}
#expert .details > div {
    margin-bottom: 10px;
}
body.experts.view #path {
    background: #fff;
}
#expert .url a {
	font-family: 'regular-bold';
}
#experts .download a {
	display: inline-block;
	font-size: 11px;
	line-height: 12px;
	background: none;
	background: url('../img/download.svg') no-repeat;
	padding-left: 20px;
	background-size: 15px;
    font-weight: normal;
    font-family: 'regular-black';
    text-transform: uppercase;
}
#experts .item .details {
	padding: 15px 0;
}


/* Contact */
body.contact aside h1 {
    font-size: 34px;
    line-height: 35px;
    text-transform: uppercase;
    font-family: "regular-black";
    margin-bottom: 10px;
}
#contact_form p {
    margin-bottom: 10px;
}
#contact_form label {
    display: block;
    font-family: "regular-black";
    text-transform: uppercase;
}
#contact_form input[type=text],
#contact_form textarea {
    width: 470px;
}
@media only screen and (max-width: 1023px) {
    #contact_form input[type=text],
    #contact_form textarea {
        width: 275px;
    }
}


/* My selection */
body.exhibitions.selection article.item .remove {
    display: block;
}
#selection .tools {
	padding-left: 7.5px;
}
#selection .print {
    position: relative;
    display: inline-block;
    width: 145px;
    height: 30px;
    margin-bottom: 20px;
	margin-right: 15px;
}
#selection .print {
    font-weight: normal;
    font-family: 'regular-black';
    text-transform: uppercase;
    font-size: 20px;
    line-height: 15px;
}
#selection article.item h5 {
    width: calc(100% - 20px);
}
@media only screen and (max-width: 767px) {
	#selection .tools {
		padding-left: 0;
	}
}


/* Partners page */
section#html.partners_view .content > .details {
	width: 100%;
	max-width: 1200px;
}
section#html.partners_view .content > .details .description {
	width: 80%;
}
#html .partners .category {
    float: left;
    padding-bottom: 40px;
    margin-right: 40px;
}
#html .partners strong {
    display: block;
    margin-bottom: 20px;
}
#html .partners ul li {
    float: left;
    margin-right: 40px;
    min-height: 50px;
}
#html .partners ul li img {
    max-width: 200px;
    max-height: 200px;
}
@media only screen and (max-width: 1023px) {
	section#html.partners_view .content > .details .description {
		width: 100%;
	}
}


/* Newsletter */
#html.newsletter .description {
    margin-bottom: 20px;
}
#html.newsletter form input[type=text] {
    width: 250px;
}
#html.newsletter form .submit {
    margin-top: 15px;
}
#html.newsletter label.error {
    padding-left: 15px;
}



/* Sitemap */
body.sitemap #path {
    background: #fff !important;
}
.sitemap .folder > a {
    padding-left: 17px;
    background: url('../img/dropdown_arrow_down.png') no-repeat left center;
    background-size: 10px;
    font-family: 'regular-bold';
}
.sitemap .folder.is_closed > a {
    background: url('../img/dropdown_arrow.png') no-repeat left center !important;
    background-size: 6px !important;
}
.sitemap .folder {
    margin-bottom: 10px;
}
.sitemap .children {
    margin-top: 10px;
}
.sitemap .depth1 {
    padding-left: 30px;
}
.sitemap .depth2 {
    padding-left: 30px;
}
.sitemap .depth3 {
    padding-left: 30px;
}
