/* 704 */
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #666;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

.page.maco #exhibition-description { margin-top: 0; }
.page.maco .main-contents { padding-top: 0; }
.page.maco .exhibition-header { padding: 20px 0 5px; }

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{
	font-family:"Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-weight:200;
}
h1,h2,h3,h4{
	font-weight:200;
/*	text-transform:uppercase;*/
}

a {
	color:#697D86;
	text-decoration:none;
}
a:hover{
	color: #048DA3;
}
strong{
/*	color:#222; */
	font-weight:500;
}
#main{
	width:40%;
	max-width:1024px;
	margin:0 auto;
	padding-top:0px;
}

.logo img{
	display:block;
	width:70%;
	min-width:300px;
	margin:20% auto 10% auto;
}

.description{
	text-align:center;
}
.description img{
	display:block;
	width:90%;
	min-width:300px;
	margin:0 auto 30px auto;
}


.contact{
	margin-top:30px;
	text-align:center;
	margin-bottom:40px;
}
.address{
	clear:both;
	border-top:1px solid #DDD;
	padding-top:10px;
	margin-top:100px;
	text-align:center;
}

.contents h1{
	font-weight:200;
	color:#000;
}



.page #main{
	width:95%;
}


.page .logo img{
	width:200px;
	min-width:200px;
	height:auto;
	margin:20px 0 0 0;
}
.nav{
	margin-top:20px;
	font-size:20px;
	font-weight:400;
	color:#222;
	padding-bottom:40px;
	border-bottom:1px solid #DDD;
	position:relative;
	width:100%;
}

.nav a{
		color:#7f949d !important;
		text-transform:uppercase;
		font-weight:200;
}
.nav a.active{
		color:#444 !important;
}
.nav a:hover{
	color:#666 !important;
}
.nav a.event-link{
	float:right;
	display:inline-block;
}

.contents{
	width:65%;
	float:left;
}
.aside{
	float:left;
	width:30%;
	margin-left:5%;
	padding-top:65px;
}
.aside h3{
	text-transform:uppercase;
	font-size:0.8em;
	margin-top:2em;
	font-weight: 500;
	color:#333;
}


.exhibition-header{
	padding:20px 0;
}

.page .featured-artists{
	width:30%;
	float:left;
}
.page .main-contents{
	padding-top:15px;
}
.page .main-contents img{
	width:100%;
	height:auto;
	display:block;
	margin:10px 0;
}
.page .main-contents p {
	margin-top:0;
}
#exhibition-description{
	margin:60px 0 60px 0;
}

.art-work-item{
	width:100%;
	margin-bottom:30px;
	font-size:0.8em;
}
.art-work-item.full-width {
	width: 100%;
}
body.artists .art-work-item{
	width:75%;
	transition: all 0.5s ease;
}
body.artists .art-work-item:hover{
/*	width:100%; */
}

.art-work-item strong{
	font-weight:200;
	text-transform:uppercase;
}

#press-list{
	list-style:none;
	margin:0;
	padding:0;
}
#press-list li{
	margin-bottom:20px;
}
#press-list li em{
	font-size:0.8em;
	line-height:1em;
	color:#999;
}

.press-item{
	width:75%;
	margin-bottom:25px;
}

#mc_embed_signup{
	background:#fff; 
	clear:left; 
	font:14px "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-weight:200;
	width:100%; 
}
#mc_embed_signup .button{
	font:14px "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}
#mc_embed_signup input.email{
	width:250px;
	font:14px "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-weight:200;
}
@media (max-width: 768px){
  #mc_embed_signup input.email {
  	width: 100%;
  }
}


body.home {
  background: url(../exhibition/physics-fiction/images/santiago.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
@media (max-width: 700px) {
body.home {
  background: url(../img/home6.jpg) no-repeat center center fixed;
}
}
body.home #home-navi{
	width:260px;
	margin:10% 0 0 0;
}
body.home #home-navi .logo{
	width:200px;
	background:#FFF;
	padding:30px;
}
body.home #home-navi .logo img{
	min-width:0;
	width:200px;
	margin:0;

}
body.home .nav{
	display:none;
	width:200px;
	margin:0;
	background:#FFF;
	padding:0 30px 30px 30px;
	border:none;
}

body.home .nav + .nav {
	margin-top: 2rem;
	padding: 15px 30px;
}

body.home #message {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: #FFF;
	color: #000;
	text-align: center;
	padding: 50px;
}

/* ARTISTS */
#artists-content-container{
	padding:30px 0 0 0;
}
#artists-content-container .grid{
	padding-left:0;
}
.artist-list ul{
	margin:0;
	padding:0;
	list-style:none;
}
.artist-list ul.main-artists-list{
	font-size:18px;
	margin-bottom:30px;
}
.artist-list ul.second-list{
	font-size:14px;
}
.artist-list ul a.active{
	color: #444;
	cursor:default;
}

#works-available {
	position: relative;
}

#works-available-text {
	display: none;
	position: absolute;
    top: -21px;
	font-size: 10px;
	font-style:italic;
}

#main-artists {
	position: relative;
}

#main-artists-text {
	display: none;
	position: absolute;
    top: -21px;
	font-size: 14px;
	font-style:italic;
}

#information-box{
	width:160px;
	float:right;
}
#information-box h3{
	margin-bottom:0;
}

.artist-description{
  max-width: 560px;
}

body.desiree #information-box{
  margin: 0 0 121px 58px;
}

.work-title {
  font-style: italic;
}


/* GRID */
.grid{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding:0 2%;
	float:left;
	text-align:left;
	position:relative;
}
.grid3{
	width:25%
}
.grid4{
	width:33%
}
.grid6{
	width:50%;
}
.grid8{
	width:66%;
}
.grid9{
	width:75%;
}
.grid-right{
	text-align:right;
}
@media only screen and (max-width : 480px){
.grid3, .grid4, .grid6, .grid8, .grid9{
	width:100%;
	float:none;
	padding-bottom:40px;
}
.grid-right{
	text-align:center;
}
}

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

.holiday {
    margin-left: auto;
    margin-right: auto;
    width: 52%;
    margin-bottom: 0;
    font-size: 17px;
    font-weight: 100;
}

.holiday a {
    text-transform: initial;
}


@media screen and (max-width : 767px) {

#main{
	padding:10px 20px;
}
.contents{
	width:100%;
}

.aside{
	float:none;
	width:100%;
	margin-left:0%;
	padding-top:20px;
	padding-left:0;
	padding-right:0;
}
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
